ck@123911.net 2 ay önce
ebeveyn
işleme
827cdde875
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. 5 1
      pages/index/peopleHome.vue

+ 5 - 1
pages/index/peopleHome.vue

@@ -42,7 +42,7 @@
 
 			</view>
 		</view>
-		<view class="myinfo">
+		<view class="myinfo" @touchstart="handleTouchStart">
 			<view class="line"></view>
 			<view class="tips">3作品</view>
 			<view class="numlist2" style="margin-top: 60rpx;">
@@ -114,6 +114,10 @@
 			this.loadWorksList();
 		},
 		methods: {
+			handleTouchStart(event) {
+				event.preventDefault(); // 防止页面滚动
+				console.log('触摸开始');
+			},
 			onLinqu(item) {
 				uni.navigateTo({
 					url: '/pages/my/wishHelp?id=' + item.myid,