Browse Source

隐藏提币密码

master
liaoxinyu 1 year ago
parent
commit
305e980a3a
  1. 1
      src/views/contract/index.vue
  2. 10
      src/views/setting/index.vue
  3. 30
      src/views/signUp/index.vue
  4. 43
      src/views/wallet/exchange-assets.vue

1
src/views/contract/index.vue

@ -272,6 +272,7 @@ export default {
// console.log(data, '11--------------------')
if( data.symbol=='BTC' )(data.price).toFixed(1)
this.contractList = data;
console.log(this.contractList);
this.Listes();
}else if (cmd == "ping") {
this.ws.send({

10
src/views/setting/index.vue

@ -16,7 +16,7 @@
</div>
</div>
<!-- 提款密码 -->
<div class="col-md-6 d-flex">
<!-- <div class="col-md-6 d-flex">
<div class="panel-box bg-panel shadow-sm mb-4 w-100 d-flex flex-column">
<div class="heading">{{$t('common.c13')}}</div>
<div class="tab-content flex-fill d-flex align-items-center">
@ -24,7 +24,7 @@
<button class="btn btn-primary btn-sm" @click="WithdrawalsShow=true">{{$t('common.c15')}}</button>
</div>
</div>
</div>
</div> -->
<!-- 交易密码 -->
<!-- <div class="col-md-6 d-flex">
<div class="panel-box bg-panel shadow-sm mb-4 w-100 d-flex flex-column">
@ -128,9 +128,9 @@
<login-pwd @close="loginShow=false" @change="getUserInfo" :detail="detail" id="loginPwd" />
</v-box>
<!-- 提款密码 -->
<v-box v-model="WithdrawalsShow" :title="$t('common.c13')">
<!-- <v-box v-model="WithdrawalsShow" :title="$t('common.c13')">
<withdrawals-pwd @close="WithdrawalsShow=false" @change="getUserInfo" :detail="detail" id="" />
</v-box>
</v-box> -->
<!-- 校验开关 -->
<v-box v-model="verification" :title="`${changeVerificationObj.status?$t('setting.open'):$t('setting.close')}${changeVerificationObj.name}`">
@ -168,7 +168,7 @@ export default {
emailShow: false,
googleShow: false,
verification: false,
WithdrawalsShow: false,
// WithdrawalsShow: false,
//
changeVerificationObj: {
status: '',

30
src/views/signUp/index.vue

@ -63,12 +63,12 @@
<input :type="repwdType" id="repassword" v-model="user.repassword" required :placeholder="$t('login.confirm-password')" class="form-control" />
<label @click="showType('repwdType')"></label>
</div>
<div style="margin-top: 30px;">{{$t('common.c13')}}</div>
<!-- 使用data-type指定额外的类型验证 -->
<!-- <div style="margin-top: 30px;">{{$t('common.c13')}}</div>
<div class="form-group row password">
<!-- 使用data-type指定额外的类型验证 -->
<input :type="repwdType" id="withdrawal_psw" v-model="user.withdrawal_psw" required :placeholder="$t('common.c14')" class="form-control" title="" />
<label @click="showType('repwdType')"></label>
</div>
</div> -->
<div style="margin-top: 30px;">{{$t('homeNewText.ee6')}}</div>
<div class="form-group row password" style="justify-content: space-between;">
@ -206,7 +206,7 @@ export default {
phone: "",
parentCode: "",
gc_code: "",
withdrawal_psw:""
// withdrawal_psw:""
},
isAgree: false,
@ -316,16 +316,16 @@ export default {
);
return;
}
if(this.withdrawal_psw==""){
this.$message(
{
type: "warning",
message: this.$t("common.c14") + "!"
},
1000
);
return;
}
// if(this.withdrawal_psw==""){
// this.$message(
// {
// type: "warning",
// message: this.$t("common.c14") + ""
// },
// 1000
// );
// return;
// }
//
// if (this.user.parentCode) {
// // this.chkRefer(this.user.parentCode, () => {
@ -545,7 +545,7 @@ export default {
password_confirmation: this.user.password,
code: this.codes.join(""),
invite_code: this.user.parentCode,
withdrawal_psw:this.user.withdrawal_psw
// withdrawal_psw:this.user.withdrawal_psw
};
//

43
src/views/wallet/exchange-assets.vue

@ -439,16 +439,17 @@
<label class="d-flex justify-content-between" for="formGroupPWDInput">
<span>{{$t('login.password')}}</span>
</label>
<!-- <div class="input-group input-group-sm">
<div class="input-group input-group-sm">
<input type="password" v-model="withdraw.password"
:placeholder="$t('common.enterPwd')" class="form-control"
id="formGroupPWDInput" />
</div> -->
<div class="input-group input-group-sm">
<input type="password" v-model="withdraw.withdrawal_psw" required :placeholder="$t('common.c13')" class="form-control" />
</div>
<!-- <div class="input-group input-group-sm">
<input type="password" v-model="withdraw.withdrawal_psw" required :placeholder="$t('common.c13')" class="form-control" />
</div> -->
</div>
<div class="form-group mt-2">
<!-- 邮箱验证码 -->
<!-- <div class="form-group mt-2">
<label class="d-flex justify-content-between" for=""
style="align-items: center;">
<span>{{$t('login.email-code')}}</span>
@ -462,7 +463,7 @@
:placeholder="$t('common.enterEmailCode')"
class="form-control" />
</div>
</div>
</div> -->
</form>
</div>
<div class="col-md-6">
@ -545,8 +546,8 @@
addressType: 2, // 1 omni 2 erc20,
code_type: 1,
code: '',
emailcode: '',
withdrawal_psw:''
// emailcode: '',
// withdrawal_psw:''
},
withdrawFee: {
@ -801,23 +802,23 @@
});
return;
}
if(!this.withdraw.withdrawal_psw){
this.$message({
message: this.$t('common.c14'),
// type: "warn",
duration : 2000,
});
return;
}
// if (!this.withdraw.password) {
// if(!this.withdraw.withdrawal_psw){
// this.$message({
// // message: this.$t('login.password'),
// message: this.$t('common.enterPwd'),
// type: "warn",
// duration: 2000,
// message: this.$t('common.c14'),
// // type: "warn",
// duration : 2000,
// });
// return;
// }
if (!this.withdraw.password) {
this.$message({
// message: this.$t('login.password'),
message: this.$t('common.enterPwd'),
type: "warn",
duration: 2000,
});
return;
}
if (this.getEmailCodeLock) {
return
};

Loading…
Cancel
Save