|
@@ -34,8 +34,9 @@
|
|
|
<view class="text_left">
|
|
|
|
|
|
<view class="pic-number">赠送请客金:{{ item.give_money }} 元</view>
|
|
|
- <view class="pic-number">赠送股权:{{ item.reward_share }} 股</view>
|
|
|
+ <view class="pic-number">消费分红股:{{ item.reward_share }} 股</view>
|
|
|
<view class="pic-number">会员等级:{{ item.level_up }}</view>
|
|
|
+ <view class="pic-number">折扣:{{ item.zk }}折</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="pic-box pic-box-color acea-row row-center-wrapper"
|
|
@@ -292,7 +293,10 @@
|
|
|
getRecharge() {
|
|
|
getRechargeApi()
|
|
|
.then(res => {
|
|
|
- this.picList = res.data.recharge_quota;
|
|
|
+ this.picList = res.data.recharge_quota.map((re)=>{
|
|
|
+ re.zk = +(re.discount/10).toFixed(1)
|
|
|
+ return re
|
|
|
+ });
|
|
|
if (this.picList[0]) {
|
|
|
this.rechar_id = this.picList[0].id;
|
|
|
this.numberPic = this.picList[0].price;
|