补充提交内容
parent
0aa9831a62
commit
f7c3c56b53
|
@ -46,7 +46,7 @@
|
||||||
<view v-if="prom.split('-')[0] == 'POINTS_GOODS'">
|
<view v-if="prom.split('-')[0] == 'POINTS_GOODS'">
|
||||||
<div class="res_prom_item">
|
<div class="res_prom_item">
|
||||||
<u-tag text="积分活动" type="error"></u-tag>
|
<u-tag text="积分活动" type="error"></u-tag>
|
||||||
<span class="pro-text">当前商品参与积分活动。<span @click="handClickToJoinPromotion(prom,prom.split('-')[0])" class="href">点击此处参与活动</span></span>
|
<span class="pro-text">当前商品参与积分活动。<span @click="handClickToJoinPromotion(prom)" class="href">点击此处参与活动</span></span>
|
||||||
</div>
|
</div>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -86,14 +86,14 @@ export default {
|
||||||
mounted() {},
|
mounted() {},
|
||||||
methods: {
|
methods: {
|
||||||
// 跳转到参与商品活动的详情列表中
|
// 跳转到参与商品活动的详情列表中
|
||||||
handClickToJoinPromotion(val,type){
|
handClickToJoinPromotion(val){
|
||||||
|
|
||||||
const promotion = {
|
const promotion = {
|
||||||
"POINTS_GOODS": `/pages/promotion/point/detail?id=${this.res[val].id}`
|
"POINTS_GOODS": `/pages/promotion/point/detail?id=${this.res[val].id}`
|
||||||
}
|
}
|
||||||
|
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:promotion[type]
|
url:promotion[val.split('-')[0]]
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue