Bladeren bron

feat: 订单bug

2912631854@qq.com 1 jaar geleden
bovenliggende
commit
d921881b76
1 gewijzigde bestanden met toevoegingen van 2 en 13 verwijderingen
  1. 2 13
      components/Tabbar/index.vue

+ 2 - 13
components/Tabbar/index.vue

@@ -1,9 +1,8 @@
 <template>
 	<view class="page">
 		<u-tabbar :value="tabbarValue" @change="name => tabbarValue = name" :fixed="true" :placeholder="true"
-			:safeAreaInsetBottom="true" :border="false" style="z-index: 99999 !important;">
-			<u-tabbar-item style="z-index: 99999 !important;" :text="item.text" v-for="(item,index) in list"
-				:key="index" @click="changeTabbar">
+			:safeAreaInsetBottom="true" :border="false">
+			<u-tabbar-item :text="item.text" v-for="(item,index) in list" :key="index" @click="changeTabbar">
 				<image class="u-page__item__slot-icon" slot="active-icon" :src="item.activeImg"></image>
 				<image class="u-page__item__slot-icon" slot="inactive-icon" :src="item.inactiveImg"></image>
 			</u-tabbar-item>
@@ -69,16 +68,6 @@
 	}
 </style>
 <style lang="scss">
-	.page {
-		position: relative;
-		z-index: 99999;
-	}
 
-	.u-tabbar__content {
-		z-index: 99999 !important;
-	}
 
-	.u-tabbar__content__item-wrapper {
-		z-index: 99999 !important;
-	}
 </style>