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. 5
      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 {
// background-color: $panel-4 !important;
background-color: $black !important;
background-color: $panel-4 !important;
// background-color: $black !important;
}
.uni-picker-view-mask {
// background: var(--picker-mask);
background: rgba(0, 0, 0, .1);
background: var(--picker-mask);
// background: rgba(0, 0, 0, .1);
background-position: top, bottom;
background-size: 100% 102px;
background-repeat: no-repeat;

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

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

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

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

39
layout/vCode.vue

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

6
pages/base/index.vue

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

5
pages/reg/index.vue

@ -212,7 +212,7 @@ export default {
this.form.country_code = this.country_code || 86;
Member.register(this.form).then((res) => {
if(res.code != 200){
this.$toast(res.message);
this.reGetGraphChe();
@ -258,6 +258,7 @@ export default {
// .catch(error => {
// console.log(error);
// });
this.hideImg = true;
this.gett_gc_code();
},
@ -267,7 +268,7 @@ export default {
if(res.code==200){
this.hideImg = false;
}
console.log("gc",res.data.img)
// console.log("gc",res.data.img)
this.Graph_che = res.data.img;
this.gc_key= res.data.key;
});

6
pages/safe/forget-password.vue

@ -4,9 +4,9 @@
<main class="layout-main m-t-md">
<view class="m-md bg-panel-3 rounded-sm overflow-hidden">
<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">
<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 class="form-item border-b p-md">
@ -121,7 +121,7 @@ export default {
},
submit() {
if(this.form.account==''){
this.$toast(this.$t('safe.b2')+'/'+this.$t('safe.a3'))
this.$toast(this.$t('safe.a4'))
return
}
if(this.form.password==''){

Loading…
Cancel
Save