| | |
| | | <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" /> |
| | |
| | | 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="{ |
| | |
| | | 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> |
| | |
| | | <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> --> |
| | |
| | | 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: "安全", |
| | |
| | | ), |
| | | title: t("AddPaymentMethod"), |
| | | path: "/payMentMethod/list", |
| | | }, |
| | | { |
| | | icon: new URL( |
| | | "../../assets/theme/dark/image/footer/optional.png", |
| | | import.meta.url |
| | | ), |
| | | title: t("Optional"), |
| | | path: "/optional", |
| | | }, |
| | | ], |
| | | }, |
| | |
| | | } |
| | | |
| | | .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 { |