2024年7月24日 新增用户注册来源
This commit is contained in:
parent
59de1c379d
commit
82f985cb47
|
@ -91,13 +91,16 @@
|
|||
weixinPhone: false,
|
||||
sendDataList: {},
|
||||
sessionkey: '',
|
||||
phoneNum: false
|
||||
phoneNum: false,
|
||||
};
|
||||
},
|
||||
onLoad(e) {
|
||||
if (e.inviterCode) {
|
||||
this.$queue.setData('inviterCode', e.inviterCode);
|
||||
}
|
||||
if (e.bindingConsortiaId) {
|
||||
this.$queue.setData('bindingConsortiaId', e.bindingConsortiaId);
|
||||
}
|
||||
this.$Request.get('/app/common/type/237').then(res => {
|
||||
if (res.code == 0) {
|
||||
if (res.data && res.data.value && res.data.value == '是') {
|
||||
|
|
|
@ -33,6 +33,11 @@
|
|||
<input type="" maxlength="6" :value="invitation" placeholder="请填写邀请码(选填)" data-key="invitation"
|
||||
@input="inputChange" @confirm="toLogin" />
|
||||
</view>
|
||||
<view hidden class="cu-form-group" style="border: 2upx solid whitesmoke;margin-bottom: 20px;border-radius: 30px">
|
||||
<text class="title text-black">绑定商家ID</text>
|
||||
<input type="" disabled maxlength="6" :value="bindingConsortiaId" placeholder="绑定商家" data-key="bindingConsortiaId" @input="inputChange" @confirm="toLogin" />
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<button class="confirm-btn" @click="toLogin">立即注册</button>
|
||||
<view class="footer">
|
||||
|
@ -65,10 +70,11 @@
|
|||
invitation: '',
|
||||
platform: '',
|
||||
scanning_channel: '',
|
||||
bindingConsortiaId: '',
|
||||
};
|
||||
},
|
||||
onLoad(e) {
|
||||
|
||||
this.bindingConsortiaId = this.$queue.getData('bindingConsortiaId') ? this.$queue.getData('bindingConsortiaId') : '';
|
||||
this.invitation = this.$queue.getData('inviterCode') ? this.$queue.getData('inviterCode') : '';
|
||||
// #ifdef APP-PLUS
|
||||
this.platform = 'app'
|
||||
|
@ -200,6 +206,7 @@
|
|||
phone: phone,
|
||||
openId: this.$queue.getData('openid') ? this.$queue.getData('openid') : '',
|
||||
inviterCode: this.invitation,
|
||||
bindingConsortiaId: this.bindingConsortiaId,
|
||||
platform: this.platform,
|
||||
msg: code
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue