cmy 10 months ago
parent
commit
5dc830825b
1 changed files with 6 additions and 2 deletions
  1. 6 2
      pages/users/user_payment/index.vue

+ 6 - 2
pages/users/user_payment/index.vue

@@ -34,8 +34,9 @@
 						<view class="text_left">
 						<view class="text_left">
 							
 							
 						<view class="pic-number">赠送请客金:{{ item.give_money }} 元</view>
 						<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.level_up }}</view>
+						<view class="pic-number">折扣:{{ item.zk }}折</view>
 						</view>
 						</view>
 					</view>
 					</view>
 					<view class="pic-box pic-box-color acea-row row-center-wrapper"
 					<view class="pic-box pic-box-color acea-row row-center-wrapper"
@@ -292,7 +293,10 @@
 			getRecharge() {
 			getRecharge() {
 				getRechargeApi()
 				getRechargeApi()
 					.then(res => {
 					.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]) {
 						if (this.picList[0]) {
 							this.rechar_id = this.picList[0].id;
 							this.rechar_id = this.picList[0].id;
 							this.numberPic = this.picList[0].price;
 							this.numberPic = this.picList[0].price;