diff --git a/pages/product/goods.vue b/pages/product/goods.vue index 3647eb3..3447387 100644 --- a/pages/product/goods.vue +++ b/pages/product/goods.vue @@ -144,12 +144,8 @@ - - {{ pointDetail.points }} - 积分 - - - + + ¥{{ $options.filters.goodsFormatPrice(wholesaleList[wholesaleList.length-1].price)[0] }}.{{ $options.filters.goodsFormatPrice(wholesaleList[wholesaleList.length-1].price)[1] }} ~ @@ -668,10 +664,7 @@ export default { if (item.indexOf("PINTUAN") == 0) { this.isGroup = true; } - // 积分 - if (item.indexOf("POINTS_GOODS") == 0) { - this.pointDetail = this.PromotionList[item]; - } + // 秒杀 if (item.indexOf("SECKILL") == 0) { this.isSeckill = true diff --git a/pages/product/product/promotion/-promotion-details.vue b/pages/product/product/promotion/-promotion-details.vue index d9a52e1..69acdb7 100644 --- a/pages/product/product/promotion/-promotion-details.vue +++ b/pages/product/product/promotion/-promotion-details.vue @@ -42,6 +42,13 @@ 限时抢购 + + +
+ + 当前商品参与积分活动。点击此处参与活动 +
+
暂无促销活动 @@ -77,7 +84,20 @@ export default { }, }, mounted() {}, - methods: {}, + methods: { + // 跳转到参与商品活动的详情列表中 + handClickToJoinPromotion(val,type){ + + const promotion = { + "POINTS_GOODS": `/pages/promotion/point/detail?id=${this.res[val].id}` + } + + uni.navigateTo({ + url:promotion[type] + }) + + } + }, }; diff --git a/pages/product/product/promotion/-promotion.vue b/pages/product/product/promotion/-promotion.vue index 6444563..0a1fe77 100644 --- a/pages/product/product/promotion/-promotion.vue +++ b/pages/product/product/promotion/-promotion.vue @@ -32,6 +32,18 @@
{{ res[item].promotionName }}
+
+ +
+ {{ promotionItem.title }} +
{{ res[item].promotionName }}
+
+
- +