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