Browse Source

隐藏提币密码

master
liaoxinyu 1 year ago
parent
commit
0030ac29ea
  1. 41
      pages/assets/draw.vue
  2. 14
      pages/reg/index.vue
  3. 4
      pages/safe/index.vue

41
pages/assets/draw.vue

@ -112,14 +112,15 @@
<!-- <span class="color-light">{{ withdrawFee.withdrawal_fee }} {{coin}}</span> -->
</view>
<!-- 密码 -->
<!-- <view class="d-flex align-end p-y-xs justify-between bg-form-panel-3 rounded-xs p-y-sm">
<view class="d-flex align-end p-y-xs justify-between bg-form-panel-3 rounded-xs p-y-sm">
<v-input type="password" v-model="form.password" class="p-x-ms color-light w-max fn-13 rounded-xs" :placeholder="$t('reg.a9')"></v-input>
</view> -->
</view>
<!-- 提币密码 -->
<view class="d-flex align-end p-y-xs justify-between bg-form-panel-3 rounded-xs p-y-sm">
<!-- <view class="d-flex align-end p-y-xs justify-between bg-form-panel-3 rounded-xs p-y-sm">
<v-input type="password" v-model="form.withdrawal_psw" class="p-x-ms color-light w-max fn-13 rounded-xs" :placeholder="$t('common.c14')"></v-input>
</view>
<view class="d-flex align-center p-y-xs m-t-ms justify-between color-light fn-15">
</view> -->
<!-- <view class="d-flex align-center p-y-xs m-t-ms justify-between color-light fn-15">
<span>{{ $t("safe.a5") }}</span>
</view>
<view class="d-flex align-end p-y-xs justify-between bg-form-panel-3 rounded-xs p-sm p-x-ms">
@ -131,7 +132,7 @@
<text v-else>{{ daojishi }}</text>
</view>
</view>
</view>
</view> -->
</view>
<view class="form bg-panel-3 p-x-lg p-y-md">
<ul class="fn-md rounded-md m-y-xs line-height-2">
@ -242,12 +243,12 @@ export default {
form: {
coin_id: "",
amount: "",
withdrawal_psw:"",
// withdrawal_psw:"",
address: "",
addressType: "",
code_type: 1,
code: '',
emailcode: '',
// emailcode: '',
},
withdrawFee: {},
list: [],
@ -330,10 +331,10 @@ export default {
this.$toast(this.$t('assets.c2'))
return
}
if (!this.form.withdrawal_psw) {
this.$toast(this.$t('common.c14'))
return
}
// if (!this.form.withdrawal_psw) {
// this.$toast(this.$t('common.c14'))
// return
// }
if(this.getEmailCodeLock){return};
this.JStime = 300;
this.tiemr = setInterval(()=>{
@ -364,14 +365,14 @@ export default {
this.$toast(this.$t('assets.c2'))
return
}
if (!this.form.emailcode) {
this.$toast(this.$t('safe.a6'))
return
}
if (!this.form.withdrawal_psw) {
this.$toast(this.$t('common.c14'))
return
}
// if (!this.form.emailcode) {
// this.$toast(this.$t('safe.a6'))
// return
// }
// if (!this.form.withdrawal_psw) {
// this.$toast(this.$t('common.c14'))
// return
// }
let data = this.withdrawFee
if (data.withdraw_switch == 1) {
this.secondaryShow = true

14
pages/reg/index.vue

@ -106,10 +106,10 @@
<view class="label m-b-xs black">{{$t('reg.b0')}}</view>
<v-input class="login_box3" v-model="form.password_confirmation" type="password" :placeholder="$t('reg.b1')"></v-input>
</view>
<view class="form-item m-b-md p-b-xs">
<!-- <view class="form-item m-b-md p-b-xs">
<view class="label m-b-xs black">{{$t('common.c13')}}</view>
<v-input class="login_box3" v-model="form.withdrawal_psw" type="password" :placeholder="$t('common.c14')"></v-input>
</view>
</view> -->
<!-- <view class="form-item m-b-md p-b-xs">
<view class="label m-b-xs">{{$t('reg.c6')}}</view>
<v-input class="color-light" v-model="form.invitationCode" type="password" :placeholder="$t('reg.c7')"></v-input>
@ -163,7 +163,7 @@ export default {
account: "",
code: "",
password: "",
withdrawal_psw:"",
// withdrawal_psw:"",
password_confirmation: "",
invite_code: "",
gr_code: "",
@ -214,10 +214,10 @@ export default {
this.$toast(this.$t('reg.c7'));
return;
}
if (!this.form.withdrawal_psw) {
this.$toast(this.$t('common.c14'));
return;
}
// if (!this.form.withdrawal_psw) {
// this.$toast(this.$t('common.c14'));
// return;
// }
this.form.type=this.form.type
this.form.country_code = this.country_code || 86;

4
pages/safe/index.vue

@ -27,7 +27,7 @@
<van-icon name="arrow" />
</v-link>
<!-- ----------提款密码---------- -->
<v-link
<!-- <v-link
tag="li"
to="/pages/safe/withdrawals-pwd"
class="item link-active d-flex p-x-md p-y-md align-center border-b"
@ -36,7 +36,7 @@
<view class="color-light">{{$t('common.c13')}}</view>
</view>
<van-icon name="arrow" />
</v-link>
</v-link> -->
<!-- ----------交易密码---------- -->
<!-- <v-link
tag="li"

Loading…
Cancel
Save