罗世杰:fix: TabBar.vue 的遮挡问题修复
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user