罗世杰:fix: TabBar.vue 的遮挡问题修复

This commit is contained in:
LuoShijie
2023-11-05 11:36:46 +08:00
parent 5010fb8538
commit 79d26d70cf

View File

@@ -1,6 +1,8 @@
<template>
<view class="tabbar-container">
<block>
<view class="">
<view class="tabbar-bug"></view>
<view class="tabbar-container">
<block>
<view class="tabbar-item" v-for="(item,index) in tabbarList" :class="[item.centerItem ? ' center-item' : '']"
@click="changeItem(item)">
<view class="item-top">
@@ -12,6 +14,8 @@
</view>
</block>
<publishSlide v-if="slideVisit" @quitSlide="quitSlide"></publishSlide>
</view>
</view>
</template>
@@ -85,6 +89,11 @@
}
</script>
<style scoped>
.tabbar-bug {
position: absolute;
width: 100%;
height: 98rpx;
}
view {
padding: 0;
margin: 0;