Browse Source

2022-1-20

cmy 3 years ago
parent
commit
6cae430ddf
1 changed files with 6 additions and 6 deletions
  1. 6 6
      pages/index/classify.vue

+ 6 - 6
pages/index/classify.vue

@@ -24,7 +24,7 @@
 					<text>购买得分</text>
 				</view>
 			</view>
-			<view class="title-box1"  @click="navTo()">
+			<view class="title-box1"  @click="navTo('/pages/user/shareQrCode')">
 					<view class="title-bg">
 						<image src="../../static/img/libao.jpg" mode=""></image>
 					</view>
@@ -49,10 +49,10 @@
 							<text class="otMoney">¥{{ ls.ot_price }}</text>
 							<image src="../../static/icon/in2.png"></image>
 							<!-- <image src="../../static/error/errorImage.jpg"></image> -->
-							<text class="decline">直降{{ ls.ot_price - ls.price}}元</text>
+							<!-- <text class="decline">直降{{ ls.ot_price - ls.price}}元</text> -->
 							<!-- <view class="otMoney-box"> -->
-								<view class="money">¥{{ ls.price }}</view>
-								<!-- <text class="sales">已售{{ ls.sales }}件</text> -->
+							<view class="money">¥{{ ls.price }}</view>
+							<!-- <text class="sales">已售{{ ls.sales }}件</text> -->
 							<!-- </view> -->
 						</view>
 						<view class="button" @click="navTo(ls)">立即购买</view>
@@ -101,9 +101,9 @@ export default {
 				title: title
 			});
 		},
-		navTo: function(ls) {
+		navTo: function(url) {
 			uni.navigateTo({
-				url: '/pages/product/product?id=' + ls.id
+				url
 			});
 		},
 		// 请求载入数据