diff --git a/assets/img/home/commone1.png b/assets/img/home/commone1.png new file mode 100644 index 0000000..e9b7b3f Binary files /dev/null and b/assets/img/home/commone1.png differ diff --git a/pages/accountSettings/accountSettings.vue b/pages/accountSettings/accountSettings.vue index 1797e84..993bc80 100644 --- a/pages/accountSettings/accountSettings.vue +++ b/pages/accountSettings/accountSettings.vue @@ -58,10 +58,11 @@ --> - {{$t('accountSettings.a7')}} diff --git a/pages/assets/draw.vue b/pages/assets/draw.vue index 866ea6e..18d8184 100644 --- a/pages/assets/draw.vue +++ b/pages/assets/draw.vue @@ -230,17 +230,6 @@ {{ $t('common.confirm') }} - - - - {{$t('common.tips')}} - {{$t('common.c8')}} - - {{$t('base.f2')}} - - - - @@ -282,7 +271,6 @@ export default { tiemr: null, Graph_che: '', hideImg: false, - show: false, status:0, lang: uni.getStorageSync('language') }; @@ -414,10 +402,6 @@ export default { this.$toast(this.$t('safe.a6')) return } - if(this.status!=2){ - this.show = true; - return - } let data = this.withdrawFee if (data.withdraw_switch == 1) { this.secondaryShow = true @@ -439,6 +423,9 @@ export default { } }, draw() { + if(this.status!=2){ + this.$toast($t('profile.withdrawal2')); + } this.form.addressType = this.rechargeType; this.form.coin_id = this.activeCoin.coin_id; Wallet.withdraw(this.form, {btn: this.$refs.btn}) diff --git a/pages/base/home.vue b/pages/base/home.vue index cf32fb4..b149733 100644 --- a/pages/base/home.vue +++ b/pages/base/home.vue @@ -623,10 +623,10 @@ {{ $t("base.c4") }} - + {{ $t("first.a1") }} diff --git a/pages/base/mine.vue b/pages/base/mine.vue index 0642f32..c19f201 100644 --- a/pages/base/mine.vue +++ b/pages/base/mine.vue @@ -118,7 +118,7 @@ --> - + diff --git a/pages/safe/email.vue b/pages/safe/email.vue index 1fa0d1a..33d182e 100644 --- a/pages/safe/email.vue +++ b/pages/safe/email.vue @@ -37,7 +37,7 @@ - + {{user.email?$t('safe.a0'):$t('safe.a1')}} diff --git a/pages/safe/index.vue b/pages/safe/index.vue index 462c81a..c97df15 100644 --- a/pages/safe/index.vue +++ b/pages/safe/index.vue @@ -2,7 +2,7 @@ -
+ - -
+
+ + + + + {{$t('common.c9')}} + {{$t('auth.a5')}} + {{$t('common.c10')}} + {{$t('common.c11')}} + + + + + + + + + {{$t('accountSettings.a7')}} + + {{user.email}} + + + + + + + + + + {{$t('base.c5')}} + + + + +
import { mapState ,mapActions} from "vuex"; import switchPage from "./switch"; +import Profile from "@/api/profile"; export default { components: { switchPage, @@ -94,6 +131,7 @@ export default { return { switchShow: false, switchType: 0, + status: 0, }; }, methods: { @@ -104,9 +142,16 @@ export default { this.switchType = idx; this.switchShow = true; }, + getAuthInfo() { + Profile.getAuthInfo().then(res => { + this.status = res.data.status + // this.user_auth_level = res.data.primary_status + }) + }, }, onShow() { this.setUserInfo() + this.getAuthInfo() }, mounted(){