Ver Fonte

公共筛选

zhaoxiaohai há 3 anos atrás
pai
commit
2377983d08
2 ficheiros alterados com 5 adições e 1 exclusões
  1. 4 0
      components/Yl_filtrate/index.js
  2. 1 1
      components/Yl_filtrate/index.wxml

+ 4 - 0
components/Yl_filtrate/index.js

@@ -3,6 +3,10 @@ Component({
     properties: {
         show: Boolean,
         handle: Function, //按钮回调函数
+        zIndex:{
+            type:String,
+            value:99999,
+        },
     },
     lifetimes: {
         ready() {

+ 1 - 1
components/Yl_filtrate/index.wxml

@@ -1,4 +1,4 @@
-<van-popup show="{{ show }}" position="right" custom-style="width: 660rpx; height:100vh;" bind:close="onClose">
+<van-popup show="{{ show }}" position="right" custom-style="width: 660rpx; height:100vh;" z-index="{{zIndex}}" bind:close="onClose">
     <view class="head" />
     <My_listBox height="{{listHeight}}" pullDown='{{false}}'>
         <slot />