调整实名认证城市,新增个人订单确认流程,调整退款订单状态

This commit is contained in:
唐明明
2023-01-04 15:15:24 +08:00
parent 025a10849a
commit b29f29f005
21 changed files with 1078 additions and 83 deletions

View File

@@ -10,7 +10,7 @@
<view class="hello">欢迎使用抖火法律</view>
<view class="input input-phone">
<label>+86</label>
<input type="number" v-model="phone" placeholder="请输入手机号码">
<input type="number" v-model="phone" maxlength="11" placeholder="请输入手机号码">
</view>
<view class="input">
<input type="safe-password" password v-model="password" placeholder="请输入密码">

View File

@@ -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;

View File

@@ -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>