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

14
pages/reg/index.vue

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

4
pages/safe/index.vue

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

Loading…
Cancel
Save