修改显示逻辑
parent
0b694ee052
commit
94adb20493
|
|
@ -210,7 +210,7 @@
|
|||
footer_height_value: 0,
|
||||
};
|
||||
},
|
||||
created() {
|
||||
created() {
|
||||
// 初始化配置
|
||||
this.init_config();
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<hotWordList v-if="is_click" :propValue="form.content.hot_word_list" :prophotWordsColor="form.style.hot_words_color" :propIsPageSettings="true" @search_hot_close="search_hot_close"></hotWordList>
|
||||
<hotWordList v-if="is_click && form.content.hot_word_list.length > 0" :propValue="form.content.hot_word_list" :prophotWordsColor="form.style.hot_words_color" :propIsPageSettings="true" @search_hot_close="search_hot_close"></hotWordList>
|
||||
</view>
|
||||
<block v-if="!is_immersion_model">
|
||||
<view v-if="!is_positon_realative" class="nav-seat" :style="top_content_style">
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
required: true,
|
||||
},
|
||||
propSourceList: {
|
||||
type: Object,
|
||||
type: [ Object, Array ],
|
||||
default: () => {
|
||||
return {};
|
||||
},
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
required: true,
|
||||
},
|
||||
propSourceList: {
|
||||
type: Object,
|
||||
type: [ Object, Array ],
|
||||
default: () => {
|
||||
return {};
|
||||
},
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
required: true,
|
||||
},
|
||||
propSourceList: {
|
||||
type: Object,
|
||||
type: [ Object, Array ],
|
||||
default: () => {
|
||||
return {};
|
||||
},
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
</view>
|
||||
</template>
|
||||
</view>
|
||||
<hotWordList v-if="is_click && !propIsPageSettings" :propValue="form.hot_word_list" :prophotWordsColor="new_style.hot_words_color" @search_hot_close="search_hot_close"></hotWordList>
|
||||
<hotWordList v-if="is_click && !propIsPageSettings && form.content.hot_word_list.length > 0" :propValue="form.hot_word_list" :prophotWordsColor="new_style.hot_words_color" @search_hot_close="search_hot_close"></hotWordList>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -180,9 +180,11 @@
|
|||
})
|
||||
},
|
||||
search_icon_tap() {
|
||||
if (!isEmpty(this.form.icon_src)) {
|
||||
app.globalData.url_open(this.form.icon_src.page);
|
||||
if (isEmpty(this.form.icon_src)) {
|
||||
this.search_tap();
|
||||
return;
|
||||
}
|
||||
app.globalData.url_open(this.form.icon_src.page);
|
||||
},
|
||||
url_event() {
|
||||
if (!isEmpty(this.search_content)) {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<view :class="(plugins_mourning_data_is_app ? ' grayscale' : '') + (is_single_page == 1 ? ' single-page-top' : '')">
|
||||
<!-- diy模式 -->
|
||||
<block v-if="data_mode == 3">
|
||||
<block v-if="data_list !== null">
|
||||
<block v-if="data_list !== null && hackReset">
|
||||
<componentDiy :propValue="data_list.config" :propDataId="data_list.id">
|
||||
<template slot="diy-bottom">
|
||||
<!-- 结尾 -->
|
||||
|
|
@ -402,6 +402,8 @@
|
|||
plugins_binding_data: null,
|
||||
// 魔方插件
|
||||
plugins_magic_data: null,
|
||||
// 更新组件
|
||||
hackReset: true,
|
||||
};
|
||||
},
|
||||
|
||||
|
|
@ -437,7 +439,14 @@
|
|||
onShow() {
|
||||
// 调用公共事件方法
|
||||
app.globalData.page_event_onshow_handle();
|
||||
|
||||
this.setData({
|
||||
hackReset: false,
|
||||
});
|
||||
this.$nextTick(() => {
|
||||
this.setData({
|
||||
hackReset: true,
|
||||
});
|
||||
});
|
||||
// 数据加载
|
||||
this.init();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue