调整实名认证城市,新增个人订单确认流程,调整退款订单状态
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<view class="from">
|
||||
<view class="from-inpus from-input-phoen">
|
||||
<label>+86</label>
|
||||
<input type="number" v-model="username" placeholder="输入手机号码">
|
||||
<input type="number" v-model="username" maxlength="11" placeholder="输入手机号码">
|
||||
</view>
|
||||
<view class="from-inpus">
|
||||
<label>登录密码</label>
|
||||
@@ -15,6 +15,10 @@
|
||||
<label>确认密码</label>
|
||||
<input type="safe-password" password v-model="confirmation" placeholder="请确认登录密码">
|
||||
</view>
|
||||
<view class="from-inpus">
|
||||
<label>邀请码</label>
|
||||
<input type="text" v-model="parentId" placeholder="请输入邀请码" :disabled="isDisabled">
|
||||
</view>
|
||||
<view class="from-inpus from-input-code">
|
||||
<label>验证码</label>
|
||||
<input type="number" v-model="code" maxlength="4" placeholder="短信验证码">
|
||||
@@ -55,9 +59,22 @@
|
||||
captcha : '',
|
||||
captchaImg : '',
|
||||
captchaKey : '',
|
||||
captchaShow : false
|
||||
captchaShow : false,
|
||||
parentId : '',
|
||||
isDisabled : false,
|
||||
};
|
||||
},
|
||||
created() {
|
||||
uni.getClipboardData({
|
||||
success: res => {
|
||||
let code = res.data
|
||||
if(code.substring(0,11) === '~dOo0T0^5$*'){
|
||||
this.parentId = code.substring(11)
|
||||
this.isDisabled = true
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
// 提交注册信息
|
||||
onRegistered(){
|
||||
@@ -69,7 +86,8 @@
|
||||
username : this.username,
|
||||
password : this.password,
|
||||
password_confirmation : this.confirmation,
|
||||
code : this.code
|
||||
code : this.code,
|
||||
parent_id : this.parentId
|
||||
}).then(res => {
|
||||
// 重置验证码与计时器
|
||||
this.getSms = false;
|
||||
|
||||
Reference in New Issue
Block a user