充值活动相关增加
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,
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
<!-- 充值免单 -->
|
||||
<!-- <rechargeFree ref="rechargeFree" :shopUserInfo="amountVIP" @changeFree="changeFree"></rechargeFree> -->
|
||||
<!-- 充值活动 -->
|
||||
<!-- <topUpActivity ref="topUpActivity" :shopUserInfo="amountVIP" ></topUpActivity> -->
|
||||
<topUpActivity ref="topUpActivity" :shopUserInfo="amountVIP" ></topUpActivity>
|
||||
<!-- 支付方式 -->
|
||||
<paymentMethod ref="paymentMethod" :amountVIP="amountVIP" v-if="storeInfo.registerType == 'munchies'" @groupChange="groupChange"></paymentMethod>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user