From 33c5c9640bcf26c6d511da26c62baed09d8f66f4 Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Mon, 26 Aug 2024 14:57:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E5=85=A8=E4=B8=AD=E5=BF=83=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=8F=90=E5=B8=81=E5=9C=B0=E5=9D=80=20=E9=82=AE?= =?UTF-8?q?=E7=AE=B1=E7=BB=91=E5=AE=9A=20=E5=AE=9E=E5=90=8D=E8=AE=A4?= =?UTF-8?q?=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/img/home/commone1.png | Bin 0 -> 580 bytes pages/accountSettings/accountSettings.vue | 3 +- pages/assets/draw.vue | 19 ++------ pages/base/home.vue | 4 +- pages/base/mine.vue | 2 +- pages/safe/email.vue | 2 +- pages/safe/index.vue | 51 ++++++++++++++++++++-- 7 files changed, 57 insertions(+), 24 deletions(-) create mode 100644 assets/img/home/commone1.png diff --git a/assets/img/home/commone1.png b/assets/img/home/commone1.png new file mode 100644 index 0000000000000000000000000000000000000000..e9b7b3fa967ef6dcaf9cb065e57e5377de6d11ac GIT binary patch literal 580 zcmV-K0=xZ*P)Px${z*hZR9HvVmpyA0K@^6c_XkLVwT;9s7z<->2xw!Yjbf#hMN&kR2wJFxg5MTe z2!eKMnt<3O5KQj}7{x*(*jR}W#s2kfGJ9E<-Fs*EdhcGR+nqD#JbTW2W@bghLk-7g zxBzVL1Ezt4eag%dup;SI>c5=<+n0cgeF~g+ds$KvZ>t2hCxCYY3Z919BWW!KxCYD* z7~s03b1A?}VE=#tRwYgSR{$%(i;$&5p<8-MTBQt}l=L_o&Grf4Q4a*s02d@(Eed4& zJa7g01e^hW7uY4*Dr)a&fC)+OZI1$rA;4it8@6`?Yb}7|lAe@h!*-F#qX9-G{j|Lo zcpZXFN_t~^1lRzQ^2|&6o`&&*1mI>6Uv~N%@Hz8h2e7MPeH6gmR{c+R%5O^tcUn4_%h-%d`j~6k55Ra; z4Lp-{EL~*#0dOEZFH1U=nR^Nx4bN@OWaeuD%u2eS5nsNS+efPH8Q@+B_zQUZFG{d^ zT-qK3)=SE;Q_|O($9Y!`q|Oro-Y5Y$B5Bd~cHl?FUhE363_JuDIyn9U+y;`XTyi#4 z8C?OYIICkjTmX$<$(p^CcIfpwwT)Tx_q9B;V>S0<5`*0jo8kI5?8g^&^Z5rikpwW( S-rGk20000 --> - {{$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(){