修改层级显示内容
parent
a398ff25dd
commit
e5364e2e35
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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高度
|
||||
|
|
|
|||
Loading…
Reference in New Issue