Browse Source

修改

master
453530270@qq.com 2 years ago
parent
commit
e55777eadb
  1. 49
      pages/assets/draw.vue
  2. 15
      pages/safe/forget-password.vue

49
pages/assets/draw.vue

@ -106,39 +106,30 @@
</template> </template>
</v-input> </v-input>
</view> </view>
<view class="d-flex align-center p-y-xs m-t-ms justify-between color-light fn-15">
<span>{{ $t("reg.a8") }}</span>
<!-- <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">
<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 class="d-flex align-center p-y-xs m-t-ms justify-between color-light fn-15">
</view> <span>{{ $t("reg.a8") }}</span>
<view class="d-flex align-center p-y-xs m-t-ms justify-between color-light fn-15"> <!-- <span class="color-light">{{ withdrawFee.withdrawal_fee }} {{coin}}</span> -->
<span>{{ $t("reg.a8") }}</span> </view>
<!-- <span class="color-light">{{ withdrawFee.withdrawal_fee }} {{coin}}</span> --> <view class="d-flex align-end p-y-xs justify-between bg-form-panel-3 rounded-xs p-y-sm">
</view>
<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 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>
</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">
<v-input type="text" v-model="form.emailcode" class=" w-8/12 color-light fn-13" <v-input type="text" v-model="form.emailcode" class=" w-8/12 color-light fn-13"
:placeholder="$t('safe.a6')"></v-input> :placeholder="$t('safe.a6')"></v-input>
<view class="d-flex align-end"> <view class="d-flex align-end">
<view class="all color-theme-1 m-l-md flex-shrink" @click="getEmailCode"> <view class="all color-theme-1 m-l-md flex-shrink" @click="getEmailCode">
<text v-if="!getEmailCodeLock">{{ $t("common.getCode") }}</text> <text v-if="!getEmailCodeLock">{{ $t("common.getCode") }}</text>
<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">

15
pages/safe/forget-password.vue

@ -82,7 +82,7 @@ export default {
password: "", password: "",
password_confirmation: "", password_confirmation: "",
show:false, show:false,
gr_code: '' gr_code: ''
}, },
checkData: {}, checkData: {},
Graph_che:'', Graph_che:'',
@ -132,14 +132,14 @@ export default {
Setting.forgetPassword(this.form, { btn: this.$refs.btn }) Setting.forgetPassword(this.form, { btn: this.$refs.btn })
.then((res) => { .then((res) => {
if(res.code==200){ if(res.code==200){
this.$back(); this.$back();
}else{ }else{
this.reGetGraphChe(); this.reGetGraphChe();
} }
}) })
.catch(() => { .catch(() => {
this.reGetGraphChe(); this.reGetGraphChe();
}); });
}, },
// //
reGetGraphChe(){ reGetGraphChe(){
@ -151,7 +151,6 @@ export default {
if(res.code==200){ if(res.code==200){
this.hideImg = false; this.hideImg = false;
} }
console.log("gc",res.data.img)
this.Graph_che = res.data.img; this.Graph_che = res.data.img;
this.gc_key= res.data.key; this.gc_key= res.data.key;
}); });

Loading…
Cancel
Save