hwb0 3 жил өмнө
parent
commit
3135eb679e

+ 3 - 3
pages/core/index.vue

@@ -67,7 +67,7 @@
 
 
 		<!-- 精选商品部份开始 -->
-		<u-sticky  class="offset-Height" :customNavHeight="navHeight">
+		<u-sticky  class="offset-Height" :customNavHeight="navHeight" @touchmove.prevent.stop>
 			<view class="screen-coin uSticky-toTop">
 				<view class="screen-coin-shopin">精选商品</view>
 
@@ -129,8 +129,8 @@
 		</view>
 		<custom-tab-bar :activeValue="'core'" />
 
-		<u-overlay :show="coinShow" @click="coinShow = false" zIndex="1"></u-overlay>
-		<u-overlay :show="ascShow" @click="ascShow = false" zIndex="1"></u-overlay>
+		<u-overlay :show="coinShow" @click="coinShow = false" zIndex="1" @touchmove.prevent.stop></u-overlay>
+		<u-overlay :show="ascShow" @click="ascShow = false" zIndex="1" @touchmove.prevent.stop></u-overlay>
 		<!-- 精选商品结束 -->
 		<custom-tab-bar :activeValue="'core'" />
 	</view>

+ 4 - 4
pages/coreRange/coreRange.vue

@@ -21,12 +21,12 @@
 					<u-icon name="arrow-down" color="#333" size="18" v-else></u-icon>
 				</view>
 			</view>
-			<view class="screen-coin-list" v-if="ascShow">
+			<view class="screen-coin-list" v-if="ascShow" @touchmove.prevent.stop>
 				<view class="flex screen-coin-list-item" v-for="(item, index) in ascList" :key="index" @click="selectCoinTwo(item, index)">
 					<text :class="{ 'action': ascListIndex == index }">{{ item.text }}</text>
 				</view>
 			</view>
-			<view class="screen-coin-list" v-if="coinShow">
+			<view class="screen-coin-list" v-if="coinShow" @touchmove.prevent.stop>
 				<view class="flex screen-coin-list-item" v-for="(item, index) in coinList" :key="index" @click="selectCoin(item, index)">
 					<text v-if="item.min" :class="{ 'action': actionIndex == index }">{{ item.min }}</text>
 					<text v-if="item.max" :class="{ 'action': actionIndex == index }">-{{ item.max }}</text>
@@ -55,8 +55,8 @@
 		</view>
 		<custom-tab-bar :activeValue="'core'" />
 	
-		<u-overlay :show="coinShow" @click="coinShow = false" zIndex="1"></u-overlay>
-		<u-overlay :show="ascShow" @click="ascShow = false" zIndex="1"></u-overlay>
+		<u-overlay :show="coinShow" @click="coinShow = false" zIndex="1" @touchmove.prevent.stop></u-overlay>
+		<u-overlay :show="ascShow" @click="ascShow = false" zIndex="1" @touchmove.prevent.stop></u-overlay>
 	</view>
 </template>