Merge remote-tracking branch 'origin/feature/mall_product' into feature/mall_product_new

pull/16/head
perry 2023-05-24 19:06:20 +08:00
commit 61b36bdca3
1 changed files with 11 additions and 2 deletions

View File

@ -11,7 +11,7 @@
<view class="text">可享一年返回<span>{{item.refundAmount}}</span>话费</view>
</view>
<view class="tips">
三个活动可同时参与每个手机号仅限一次最高可<span>1920</span>话费
三个活动可同时参与每个手机号仅限一次最高可<span>{{total}}</span>话费
</view>
<view class="service-phone">{{tenantInfo.serviceMobile}}</view>
<view class="tenant-info-wrap">
@ -55,7 +55,16 @@
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() {
if (!this.isLogin) {
toLogin()