From f66eee1d038afc05f1a727db256ba5c6818f6fb4 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 27 Jan 2026 15:35:51 +0800
Subject: [PATCH] 1
---
src/views/my/index.vue | 112 ++++++++++++++++++++++++++++++--------------------------
1 files changed, 60 insertions(+), 52 deletions(-)
diff --git a/src/views/my/index.vue b/src/views/my/index.vue
index 9eccb10..d643daf 100644
--- a/src/views/my/index.vue
+++ b/src/views/my/index.vue
@@ -20,10 +20,10 @@
<p class="w-full flex mt-4 gap-x-4" v-if="!(userStore.userInfo && userStore.userInfo.token)">
<van-button class="flex-1" @click="onRoute('/register')">{{
$t("register")
- }}</van-button>
+ }}</van-button>
<van-button class="flex-1" type="primary" @click="onRoute('/login')">{{
$t("login")
- }}</van-button>
+ }}</van-button>
</p>
<div class="mt-4 flex" v-else>
<img class="w-24 h-24" src="@/assets/image/avatar.png" alt="avatar" />
@@ -64,16 +64,16 @@
yellow: status == 1,
green: status == 2,
}">{{
- status == 0
- ? $t("notCertified")
- : status == 1
- ? $t("reviewing")
- : status == 2
- ? $t("verified")
- : status == 3
- ? $t("noPassView")
- : ""
-}}</span>
+ status == 0
+ ? $t("notCertified")
+ : status == 1
+ ? $t("reviewing")
+ : status == 2
+ ? $t("verified")
+ : status == 3
+ ? $t("noPassView")
+ : ""
+ }}</span>
</div>
<div v-if="_item.path === '/advancedCtf' && _item.show === true">
<span :class="{
@@ -81,16 +81,16 @@
yellow: kycHighStatus == 1,
green: kycHighStatus == 2,
}">{{
- kycHighStatus == 0
- ? $t("notCertified")
- : kycHighStatus == 1
- ? $t("reviewing")
- : kycHighStatus == 2
- ? $t("verified")
- : kycHighStatus == 3
- ? $t("noPassView")
- : ""
-}}</span>
+ kycHighStatus == 0
+ ? $t("notCertified")
+ : kycHighStatus == 1
+ ? $t("reviewing")
+ : kycHighStatus == 2
+ ? $t("verified")
+ : kycHighStatus == 3
+ ? $t("noPassView")
+ : ""
+ }}</span>
</div>
</van-cell>
</van-cell-group>
@@ -99,7 +99,7 @@
<p class="w-full flex mt-4 gap-x-4">
<van-button type="primary" class="flex-1" @click="loginOut">{{
$t("loginOut")
- }}</van-button>
+ }}</van-button>
</p>
</div>
<!-- <button style="height: 200px;" @click="changeTheme">哈哈</button> -->
@@ -129,33 +129,33 @@
const status = ref(null);
const kycHighStatus = ref(null);
const unreadMsg = ref('');
-const state = reactive({
- cellList: [
- {
- title: t("safe"),
- list: [
- { icon: "shield-o", title: t("safe"), path: "/safety" },
- { icon: "setting-o", title: t("changePassword"), path: "/changePassword" },
- { icon: addBankIcon, title: t("AddPaymentMethod"), path: "/payMentMethod/list" },
- ],
- },
- {
- title: t("universal"),
- list: [
- { icon: "font-o", title: t("language"), path: "/language" },
- { icon: "service-o", title: t("onLineService"), path: "/customerService" },
- {
- icon: "idcard",
- title: t("authVerify"),
- path: "/certificationCenter",
- show: true,
- },
- { icon: "todo-list-o", title: t("账变记录"), path: "/cryptos/accountChange" },
- { icon: "gold-coin-o", title: t("计价方式"), path: "/cryptos/exchangeRate" },
- ],
- },
- ],
-});
+// const state = reactive({
+// cellList: [
+// {
+// title: t("safe"),
+// list: [
+// { icon: "shield-o", title: t("safe"), path: "/safety" },
+// { icon: "setting-o", title: t("changePassword"), path: "/changePassword" },
+// { icon: addBankIcon, title: t("AddPaymentMethod"), path: "/payMentMethod/list" },
+// ],
+// },
+// {
+// title: t("universal"),
+// list: [
+// { icon: "font-o", title: t("language"), path: "/language" },
+// { icon: "service-o", title: t("onLineService"), path: "/customerService" },
+// {
+// icon: "idcard",
+// title: t("authVerify"),
+// path: "/certificationCenter",
+// show: true,
+// },
+// { icon: "todo-list-o", title: t("账变记录"), path: "/cryptos/accountChange" },
+// { icon: "gold-coin-o", title: t("计价方式"), path: "/cryptos/exchangeRate" },
+// ],
+// },
+// ],
+// });
const quickList = reactive([
{
name: "安全",
@@ -274,6 +274,14 @@
),
title: t("AddPaymentMethod"),
path: "/payMentMethod/list",
+ },
+ {
+ icon: new URL(
+ "../../assets/theme/dark/image/footer/optional.png",
+ import.meta.url
+ ),
+ title: t("Optional"),
+ path: "/optional",
},
],
},
@@ -419,8 +427,8 @@
}
.my-index {
- padding-bottom: calc(80px + constant(safe-area-inset-bottom)) !important;
- padding-bottom: calc(80px + env(safe-area-inset-bottom)) !important;
+ padding-bottom: calc(80px + constant(safe-area-inset-bottom)) !important;
+ padding-bottom: calc(80px + env(safe-area-inset-bottom)) !important;
}
h1.title {
--
Gitblit v1.9.3