diff --git a/yudao-ui-app/pages/users/user_spread_code/index.vue b/yudao-ui-app/pages/users/user_spread_code/index.vue
index a9374e9b9..22264c274 100644
--- a/yudao-ui-app/pages/users/user_spread_code/index.vue
+++ b/yudao-ui-app/pages/users/user_spread_code/index.vue
@@ -11,7 +11,7 @@
可享一年返回{{item.refundAmount}}元话费
- 三个活动可同时参与,每个手机号仅限一次,最高可反1920元话费!!!
+ 三个活动可同时参与,每个手机号仅限一次,最高可返{{total}}元话费!!!
{{tenantInfo.serviceMobile}}
@@ -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()