1.设置顶部导航的默认颜色

master
sws 2024-10-10 18:32:29 +08:00
parent bda5fd05ba
commit fa53abc582
2 changed files with 9 additions and 4 deletions

View File

@ -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,

View File

@ -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);
},
//