rabin 1 year ago
parent
commit
84dbd04cb1
1 changed files with 3 additions and 3 deletions
  1. 3 3
      lib/dever/components/drawerWindow.vue

+ 3 - 3
lib/dever/components/drawerWindow.vue

@@ -3,7 +3,7 @@
 		<view :class="['DrawerClose_' + direction, show ? 'show' : '']" @tap="hideModal">
 			<text :class="'cuIcon-pull'+direction"></text>
 		</view>
-		<scroll-view scroll-y :class="['DrawerWindow_' + direction, show ? 'show' : '']" :style="{width:width,padding:padding, zIndex:zIndex+1, background:slotBg, height:'auto'}" @tap.stop="stopFun" @touchstart="start" @touchend="end" @scrolltolower="bottomCall">
+		<scroll-view scroll-y="false" :class="['DrawerWindow_' + direction, show ? 'show' : '']" :style="{width:width,padding:padding, zIndex:zIndex+1, background:slotBg}" @tap.stop="stopFun" @touchstart="start" @touchend="end" @scrolltolower="bottomCall">
 			<view class="cu-list menu card-menu margin-top-xl margin-bottom-xl shadow-lg" v-if="show">
 				<slot name="links"></slot>
 			</view>
@@ -100,8 +100,8 @@ export default {
 </script>
 
 <style>
-.uni-scroll-view-content {
-	height:auto;
+uni-scroll-view {
+	overflow: hidden;
 }
 .DrawerWindow_left {
 	position: absolute;