Browse Source

修改问题

master
liaoxinyu 2 years ago
parent
commit
1b30386538
  1. 8
      assets/scss/app.scss
  2. 2
      components/lb-picker/style/picker-item.scss
  3. 3
      components/lb-picker/style/picker.scss
  4. 39
      layout/vCode.vue
  5. 6
      pages/base/index.vue
  6. 3
      pages/reg/index.vue
  7. 6
      pages/safe/forget-password.vue

8
assets/scss/app.scss

@ -680,12 +680,12 @@ $i: 1;
} }
} }
.lb-picker-content { .lb-picker-content {
// background-color: $panel-4 !important; background-color: $panel-4 !important;
background-color: $black !important; // background-color: $black !important;
} }
.uni-picker-view-mask { .uni-picker-view-mask {
// background: var(--picker-mask); background: var(--picker-mask);
background: rgba(0, 0, 0, .1); // background: rgba(0, 0, 0, .1);
background-position: top, bottom; background-position: top, bottom;
background-size: 100% 102px; background-size: 100% 102px;
background-repeat: no-repeat; background-repeat: no-repeat;

2
components/lb-picker/style/picker-item.scss

@ -9,7 +9,7 @@
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
background-color: #000; // background-color: #000;
} }

3
components/lb-picker/style/picker.scss

@ -70,7 +70,8 @@
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
flex-wrap: nowrap; flex-wrap: nowrap;
background-color: $black; // background-color: $black;
background-color: $panel-3;
} }
/* #ifndef APP-PLUS */ /* #ifndef APP-PLUS */

39
layout/vCode.vue

@ -72,23 +72,34 @@ export default {
this.$toast(this.$t('reg.a5')) this.$toast(this.$t('reg.a5'))
return return
} }
if(this.data.gc_code==""){
this.$toast(this.$t('common.enter') + this.$t('common.GraphicValidation'));
return
}
if (this.load) return; if (this.load) return;
this.inSend = true; this.inSend = true;
serve.post(this.url, this.data) serve.post(this.url, this.data).then((res) => {
.then((res) => {
// check res.code value // check res.code value
if(res.code=='4001'){ // if(res.code=='4001'){
this.inSend = false // this.inSend = false
this.$toast(res.message); // this.$toast(res.message);
}else{ // }else{
this.inSend = false; // this.inSend = false;
this.load = true; // this.load = true;
this.countDown(); // this.countDown();
this.$toast(this.$t('common.sendSuccess')); // this.$toast(this.$t('common.sendSuccess'));
} // }
if(res.code!=200){//4001|1004
}) this.inSend = false
.catch(() => { //
this.$emit('reGetGraphChe')
}else{
this.inSend = false;
this.load = true;
this.countDown();
this.$toast(this.$t('common.sendSuccess'));
}
}).catch(() => {
this.inSend = false; this.inSend = false;
}); });
}, },

6
pages/base/index.vue

@ -156,8 +156,10 @@ export default {
.footer { .footer {
background-color: #000; background-color: #000;
box-shadow: $tab-nav-shadow; box-shadow: $tab-nav-shadow;
position: relative; // position: relative;
z-index: 5; // z-index: 5;
min-height: 90rpx;
box-sizing: border-box;
} }
.router-link-active { .router-link-active {

3
pages/reg/index.vue

@ -258,6 +258,7 @@ export default {
// .catch(error => { // .catch(error => {
// console.log(error); // console.log(error);
// }); // });
this.hideImg = true; this.hideImg = true;
this.gett_gc_code(); this.gett_gc_code();
}, },
@ -267,7 +268,7 @@ export default {
if(res.code==200){ if(res.code==200){
this.hideImg = false; this.hideImg = false;
} }
console.log("gc",res.data.img) // 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;
}); });

6
pages/safe/forget-password.vue

@ -4,9 +4,9 @@
<main class="layout-main m-t-md"> <main class="layout-main m-t-md">
<view class="m-md bg-panel-3 rounded-sm overflow-hidden"> <view class="m-md bg-panel-3 rounded-sm overflow-hidden">
<view class="form-item border-b p-md"> <view class="form-item border-b p-md">
<view class="label m-b-xs">{{$t('safe.b1')}}</view> <view class="label m-b-xs">{{$t('safe.a3')}}</view>
<view class="input color-light"> <view class="input color-light">
<v-input v-model="form.account" :placeholder="`${$t('safe.b2')}`" @blur="checkAccount"></v-input> <v-input v-model="form.account" :placeholder="$t('safe.a4')" @blur="checkAccount"></v-input>
</view> </view>
</view> </view>
<view class="form-item border-b p-md"> <view class="form-item border-b p-md">
@ -121,7 +121,7 @@ export default {
}, },
submit() { submit() {
if(this.form.account==''){ if(this.form.account==''){
this.$toast(this.$t('safe.b2')+'/'+this.$t('safe.a3')) this.$toast(this.$t('safe.a4'))
return return
} }
if(this.form.password==''){ if(this.form.password==''){

Loading…
Cancel
Save