充值活动相关增加
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
<view class="topUpActivity">
|
||||
<view class="topUpActivity_title">充值更划算</view>
|
||||
<view class="content">
|
||||
<view class="content_item" @click="goTopUp" v-for="(item,index) in list" :key="index">
|
||||
<view class="content_item" @click="goTopUp(item)" v-for="(item,index) in list" :key="index">
|
||||
<view class="fit">首充优惠</view>
|
||||
<view class="amount">{{ item.minNum }}元</view>
|
||||
<view class="zs"><text class="zamount">赠{{ item.handselNum }}元</text><text class="points">50积分</text></view>
|
||||
<view class="amount">{{ item.amount }}元</view>
|
||||
<view class="zs"><text class="zamount">赠{{ item.giftAmount }}元</text><text class="points">50积分</text></view>
|
||||
<view class="coupon">赠送2张优惠券</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -35,10 +35,11 @@
|
||||
/**
|
||||
* 去充值
|
||||
*/
|
||||
goTopUp() {
|
||||
goTopUp( item ) {
|
||||
uni.pro.navigateTo('/pages/member/index', {
|
||||
shopId: uni.cache.get('shopId'),
|
||||
type: "topUpActivity"
|
||||
type: "topUpActivity",
|
||||
amount: item.amount,
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user