1.设置顶部导航的默认颜色
parent
bda5fd05ba
commit
fa53abc582
|
|
@ -68,7 +68,7 @@
|
|||
<view v-for="(item, index) in data_list" :key="index" class="item" :style="'background: ' + theme_style.background_inside">
|
||||
<view class="type" :style="'background: ' + theme_style.type_background + ';color:' + theme_style.type_color">
|
||||
<view class="type-before" :style="'background: ' + theme_style.type_background"></view>
|
||||
<text>通用券</text>
|
||||
<text>{{ item.type_name }}</text>
|
||||
<view class="type-after" :style="'background: ' + theme_style.type_background"></view>
|
||||
</view>
|
||||
<view class="price" :style="'color:' + theme_style.price_color">
|
||||
|
|
@ -232,8 +232,8 @@
|
|||
false
|
||||
);
|
||||
this.setData({
|
||||
content_title: new_content.content_title || '',
|
||||
content_desc: new_content.content_desc || '',
|
||||
content_title: new_content.title || '',
|
||||
content_desc: new_content.desc || '',
|
||||
// 判断是自动还是手动
|
||||
data_list: new_content.data_type == '1' ? new_content.data_list : new_content.data_auto_list,
|
||||
theme: temp_theme,
|
||||
|
|
|
|||
|
|
@ -279,10 +279,15 @@
|
|||
page_style: common_styles_computer(this.propValue.header.com_data.style.common_style),
|
||||
page_img_style: common_img_computer(this.propValue.header.com_data.style.common_style),
|
||||
// 判断顶部导航是否置顶
|
||||
is_header_top: this.propValue.header.com_data.style.up_slide_display == '1' ? true : false,
|
||||
is_header_top: parseInt(this.propValue.header.com_data.style.up_slide_display) == 1 ? true : false,
|
||||
temp_sticky_top: this.sticky_top,
|
||||
temp_header_top: this.header_top,
|
||||
});
|
||||
// 设置顶部导航的默认颜色
|
||||
uni.setNavigationBarColor({
|
||||
frontColor: parseInt(this.propValue.header.com_data.style.function_buttons_type) == 0 ? '#000000' : '#ffffff',
|
||||
backgroundColor: 'transparent',
|
||||
});
|
||||
uni.setStorageSync(this.cache_key + this.tabs_home_id, this.propValue.diy_data);
|
||||
},
|
||||
// 顶部导航沉浸模式回调
|
||||
|
|
|
|||
Loading…
Reference in New Issue