订单,提现功能调整

This commit is contained in:
唐明明
2023-01-12 16:15:29 +08:00
parent 9fbfcf3273
commit da7b903547
21 changed files with 624 additions and 61 deletions

View File

@@ -7,13 +7,15 @@
<label>+86</label>
<input type="number" v-model="username" maxlength="11" placeholder="输入手机号码">
</view>
<view class="from-inpus">
<view class="from-inpus from-password">
<label>新密码</label>
<input type="safe-password" password v-model="password" placeholder="设置新的登录密码">
<input type="safe-password" :password="eyesShow[0]" v-model="password" placeholder="须包含大小写最少8位">
<image class="from-password-eyes" mode="widthFix" :src="require(eyesShow[0] ? '@/static/icons/eyes_hide.png': '@/static/icons/eyes_open.png')" @click="onEyes(0)"></image>
</view>
<view class="from-inpus">
<view class="from-inpus from-password">
<label>确认密码</label>
<input type="safe-password" password v-model="confirmation" placeholder="请确认登录密码">
<input type="safe-password" :password="eyesShow[1]" v-model="confirmation" placeholder="须包含大小写最少8位">
<image class="from-password-eyes" mode="widthFix" :src="require(eyesShow[1] ? '@/static/icons/eyes_hide.png': '@/static/icons/eyes_open.png')" @click="onEyes(1)"></image>
</view>
<view class="from-inpus from-input-code">
<label>验证码</label>
@@ -56,7 +58,8 @@
captcha : '',
captchaImg : '',
captchaKey : '',
captchaShow : false
captchaShow : false,
eyesShow : [ true, true ]
};
},
created() {
@@ -68,6 +71,10 @@
}
},
methods: {
// 密码显示隐藏
onEyes(index){
this.$set(this.eyesShow, index, !this.eyesShow[index])
},
// 提交修改信息
onRegistered(){
uni.showLoading({
@@ -241,6 +248,18 @@
font-size: 32rpx;
}
}
.from-password{
.from-password-eyes{
width: 38rpx;
height: 38rpx;
}
input{
width: calc(100% - 260rpx);
height: 100rpx;
line-height: 100rpx;
font-size: 32rpx;
}
}
.from-input-phoen{
label{
line-height: 60rpx;