dever 3 yıl önce
ebeveyn
işleme
f9b106a95a
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      lib/community/y-Fab/y-Fab.vue

+ 2 - 2
lib/community/y-Fab/y-Fab.vue

@@ -1,6 +1,6 @@
 <template>
 	<view @touchmove.stop.prevent>
-		<view class="yc-fab-box ycFly_o" :class="{'yc-fab-right':!left || (left && right)}" :style="{left:getLeft(),right:getRight(),bottom:bottom+'rpx'}">
+		<view class="yc-fab-box ycFly_o" :class="{'yc-fab-right':!left || (left && right)}" :style="{zIndex: (hidden ? '-1000': '99999'),left:getLeft(),right:getRight(),bottom:bottom+'rpx'}">
 			<view class="yc-fab-btn" :class="{'yc-visible':isOpen,'yc-fab-hidden':hidden}">
 				<view class="yc-fab-item-box" :class="{'yc-fab-item-left':left && !right && item.imgUrl}" v-for="(item,index) in btnList"
 				 :key="index" @tap.stop="handleClick(index)">
@@ -186,7 +186,7 @@
 		justify-content: center;
 		flex-direction: column;
 		position: fixed;
-		z-index: 99997;
+		/*z-index: 99997;*/
 	}
 
 	.yc-fab-right {