ccj 3 years ago
parent
commit
639649f3e0
1 changed files with 1 additions and 29 deletions
  1. 1 29
      pages/sale/information.vue

+ 1 - 29
pages/sale/information.vue

@@ -111,6 +111,7 @@
 
 
 			</view>
 			</view>
 		</view>
 		</view>
+		<u-back-top :scroll-top="scrollTop" mode="circle" icon="arrow-upward"></u-back-top>
 	</view>
 	</view>
 </template>
 </template>
 
 
@@ -394,20 +395,6 @@
 				this.pages = 1
 				this.pages = 1
 				this.loadData()
 				this.loadData()
 			},
 			},
-			//回到顶部
-			goTop(e) { // 一键回到顶部
-				console.log(e)
-				if (wx.pageScrollTo) {
-					wx.pageScrollTo({
-						scrollTop: 0
-					})
-				} else {
-					wx.showModal({
-						title: '提示',
-						content: '当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。'
-					})
-				}
-			},
 			async loadData() {
 			async loadData() {
 				console.log("sale loadData pages " + this.pages)
 				console.log("sale loadData pages " + this.pages)
 				const that = this
 				const that = this
@@ -663,21 +650,6 @@
 	.cu-tag.radius[class*="line"]::after {
 	.cu-tag.radius[class*="line"]::after {
 		border-radius: 66rpx;
 		border-radius: 66rpx;
 	}
 	}
-
-	.goTop {
-		height: 32px;
-		width: 32px;
-		position: fixed;
-		bottom: 200rpx;
-		right: 30rpx;
-		border-radius: 50%;
-	}
-
-	.goTop image {
-		width: 32px;
-		height: 32px;
-	}
-
 	.flex {
 	.flex {
 		display: flex;
 		display: flex;
 	}
 	}