修改邀请推广头像展示等内容
This commit is contained in:
parent
6fba51f50b
commit
2c55efc945
@ -7,7 +7,7 @@
|
||||
<view class="header p-t-40 m-b-50">
|
||||
<view class="user-info flex m-l-30">
|
||||
<view class="user-avatar">
|
||||
<u-image width="110rpx" height="110rpx" border-radius="60" :src="userInfo.user.avatar" />
|
||||
<u-image width="110rpx" height="110rpx" border-radius="60" :src="userInfo.procurement.avatar" />
|
||||
</view>
|
||||
<view class="user-message m-l-20 white">
|
||||
<view class="m-b-10">
|
||||
@ -103,7 +103,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view :class="'white m-t-20 br60 apply-btn flex row-center md bg-primary'" @tap="reApply">重新申请
|
||||
<view :class="'white m-t-20 br60 apply-btn flex row-center md bg-primary'" @tap="formClick">重新申请
|
||||
</view>
|
||||
<view class="m-t-20 xxs lighter flex row-center">提交成功后,我们将会在1-2个工作日内给您回复</view>
|
||||
</view>
|
||||
@ -156,12 +156,12 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="mt20 fans-msg-box flex row-between bg-white md">
|
||||
<router-link class="flex-1" to="/bundle/pages/user_spread_store/user_spread_store">
|
||||
<!-- <router-link class="flex-1" to="/bundle/pages/user_spread_store/user_spread_store">
|
||||
<view class="my-fans flex row-center normal">
|
||||
我的推广店铺 <view class="primary m-l-10">{{distributionInfo.store || 0}}</view>
|
||||
<u-icon class="m-l-10" name="arrow-right" size="28rpx" color="#666" />
|
||||
</view>
|
||||
</router-link>
|
||||
</router-link> -->
|
||||
<router-link class="flex-1" to="/bundle/pages/user_fans/user_fans">
|
||||
<view class="my-fans flex row-center normal">
|
||||
我的粉丝 <view class="primary m-l-10">{{distributionInfo.fans}}</view>
|
||||
@ -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']),
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user