fix: 调整海报文案

pull/16/head
TianYu 2023-05-24 19:01:59 +08:00
parent 4aed73b1d5
commit 7a2b8e64a3
1 changed files with 11 additions and 2 deletions

View File

@ -11,7 +11,7 @@
<view class="text">可享一年返回<span>{{item.refundAmount}}</span>话费</view> <view class="text">可享一年返回<span>{{item.refundAmount}}</span>话费</view>
</view> </view>
<view class="tips"> <view class="tips">
三个活动可同时参与每个手机号仅限一次最高可<span>1920</span>话费 三个活动可同时参与每个手机号仅限一次最高可<span>{{total}}</span>话费
</view> </view>
<view class="service-phone">{{tenantInfo.serviceMobile}}</view> <view class="service-phone">{{tenantInfo.serviceMobile}}</view>
<view class="tenant-info-wrap"> <view class="tenant-info-wrap">
@ -55,7 +55,16 @@
isHideBtn: false isHideBtn: false
}; };
}, },
computed: mapGetters(['isLogin', 'uid', 'userInfo', 'tenantId', 'tenantInfo']), computed:{
...mapGetters(['isLogin', 'uid', 'userInfo', 'tenantId', 'tenantInfo']),
total: function(){
let _total = 0
for (let active of this.activityList) {
_total+= parseInt(active.refundAmount)
}
return _total
},
},
onLoad() { onLoad() {
if (!this.isLogin) { if (!this.isLogin) {
toLogin() toLogin()