修改层级显示内容

master
于肖磊 2025-08-07 11:34:48 +08:00
parent a398ff25dd
commit e5364e2e35
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@
</view>
<template v-if="is_tabs_type">
<template v-if="diy_data.length > 0">
<view v-for="(item, index) in diy_data" :key="index" :style="'margin-top:' + (['float-window'].includes(item.key) ? '0rpx;' : item.floating_up + 'z-index:' + (!isEmpty(item.com_data.style.common_style.module_z_index) ? item.com_data.style.common_style.module_z_index : 0))">
<view v-for="(item, index) in diy_data" :key="index" :style="'margin-top:' + (['float-window'].includes(item.key) || isEmpty(item.floating_up) || item.floating_up == 0 ? '0rpx;' : item.floating_up + 'z-index:' + (!isEmpty(item.com_data.style.common_style.module_z_index) ? item.com_data.style.common_style.module_z_index : 0))">
<!-- 基础组件 -->
<template v-if="item.is_enable == '1'">
<component-diy-search v-if="item.key == 'search'" :propIndex="get_prop_index(item)" :propKey="item.id + index" :propValue="item.com_data"></component-diy-search>

View File

@ -321,7 +321,7 @@
swiper_bg_img_style: this.get_swiper_bg_img_style(0),
sliding_fixed_style: this.get_sliding_fixed_style(0),
})
}, 100);
}, 0);
},
// tab
tabs_click_event(tabs_id, is_micro_page, index) {
@ -335,7 +335,7 @@
swiper_bg_img_style: this.get_swiper_bg_img_style(0),
sliding_fixed_style: this.get_sliding_fixed_style(0),
})
}, 100);
}, 0);
this.$emit('onTabsTap', tabs_id, is_micro_page);
},
// tab