diff --git a/bundle/pages/user_spread/user_spread.vue b/bundle/pages/user_spread/user_spread.vue
index d1db446..a9b960e 100644
--- a/bundle/pages/user_spread/user_spread.vue
+++ b/bundle/pages/user_spread/user_spread.vue
@@ -7,7 +7,7 @@
-
+
我的粉丝 {{distributionInfo.fans}}
@@ -232,6 +232,7 @@
veryfiyDistribute
} from "@/api/user";
import area from '@/utils/area'
+ import {mapGetters} from 'vuex';
import {
copy
} from '@/utils/tools'
@@ -243,7 +244,6 @@
showLoading: true,
// 弹窗展示
showPop: false,
- inviteCode: '',
mobile: '',
realName: '',
id_card: '',
@@ -340,8 +340,12 @@
this.cityId = region[1].value;
this.districtId = region[2].value
},
+
+ formClick() {
+ uni.$u.throttle(this.formSubmit, 500)
+ },
- async formSubmit() {
+ async formSubmit() {
let {
provinceId,
cityId,
@@ -392,11 +396,16 @@
this.$toast({
title: msg
});
- this.applyDetailFun();
+ setTimeout(() => {
+ uni.switchTab({
+ url: '/pages/user/user'
+ });
+ }, 500)
+ // this.applyDetailFun();
}
},
-
-
+
+
// 填写邀请码
bindSuperiorFun() {
bindSuperior({
@@ -411,6 +420,21 @@
}
});
},
+
+ // 原版本 填写邀请码
+ // bindSuperiorFun() {
+ // bindSuperior({
+ // invite_code: this.inviteCode
+ // }).then(res => {
+ // this.$toast({
+ // title: res.msg
+ // })
+ // if (res.code == 1) {
+ // this.showPop = false
+ // this.getSuperiorInfoFun();
+ // }
+ // });
+ // },
showInvitePop() {
this.showPop = true;
@@ -436,9 +460,13 @@
onShareAppMessage() {
return {
title: '分销推广',
+ imageUrl: 'https://dlh.hainings.com/uploads/images/20230707152122b9d182544.jpg',
path: '/pages/index/index?invite_code=' + this.userInfo.procurement.distribution_code
}
}
+ },
+ computed: {
+ ...mapGetters(['appConfig']),
}
};