Browse Source

首页新增点击盲豆优惠券跳转详情页

DELL 3 years ago
parent
commit
4b2a949c8e
2 changed files with 11 additions and 1 deletions
  1. 10 0
      pages/index/index.vue
  2. 1 1
      pages/order/detail.vue

+ 10 - 0
pages/index/index.vue

@@ -294,6 +294,16 @@
 						url: `/pages/prizeGoods/detail?id=${ item.refId }`
 					})
 				}
+				if (item.prizeType == "coupon") {
+					uni.navigateTo({
+						url: `/pages/prizeGoods/detail?id=35`
+					})
+				}
+				if (item.prizeType == "coin") {
+					uni.navigateTo({
+						url: `/pages/prizeGoods/detail?id=34`
+					})
+				}
 			},
 
 			// 点击所有盲票

+ 1 - 1
pages/order/detail.vue

@@ -132,7 +132,7 @@
 			</view>
 		</view>
 		
-		<view class="footer-fixed" v-if="status.value == 2 || status.value == 4">
+		<view class="footer-fixed" v-if="status.value == 2">
 			<view class="flex btn">
 				<view class="btn-right">
 					<!-- <text class="logistics" @click="getLogistics">查看物流</text> -->