| | |
| | | <div class="flex"> |
| | | <div class="text-10">ID: {{userStore.userInfo.usercode}}</div> |
| | | </div> |
| | | <div class="text-10 block">信用分: 100</div> |
| | | <!-- <div class="text-10 block">信用分: 100</div> --> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- 账户详情部分 --> |
| | | <div class="mt-20 px-17"> |
| | | <div class="text-22 font-medium">帳戶詳情</div> |
| | | <div class="text-22 font-medium">{{ t('账号') }} {{ t('详情') }}</div> |
| | | <div class="mt-15 p-15 rounded-15 bg-#f5f7f9"> |
| | | <div |
| | | v-for="(item, index) in accountItems" |
| | | :key="index" |
| | | class="flex items-center justify-between" |
| | | class="flex items-center justify-between text-16" |
| | | :class="{'mt-15': index > 0}" |
| | | @click="onRoute(item.path)" |
| | | > |
| | | <div class="flex items-center" @click="onRoute(item.path)"> |
| | | <div class="flex items-center"> |
| | | <img :src="`${item.icon}`" class="w-20 h-20"> |
| | | <div class="ml-10">{{ item.title }}</div> |
| | | </div> |
| | | <div v-if="item.status" class="text-gray-400 text-12 py-5"> |
| | | <div v-if="item.status" class="text-gray-400 text-14 py-5"> |
| | | {{ item.status }} |
| | | </div> |
| | | <div v-else class="i-material-symbols:arrow-right-rounded text-20 text-gray-400"> |
| | |
| | | |
| | | <!-- 帮助和支持部分 --> |
| | | <div class="mt-20 px-17"> |
| | | <div class="text-22 font-medium">幫助和支持</div> |
| | | <div class="text-22 font-medium">{{ t('帮助')}}</div> |
| | | <div class="mt-15 p-15 rounded-15 bg-#f5f7f9"> |
| | | <div |
| | | v-for="(item, index) in helpItems" |
| | | :key="index" |
| | | class="flex items-center justify-between" |
| | | class="flex items-center justify-between text-16" |
| | | :class="{'mt-15': index > 0}" |
| | | @click="onRoute(item.path)" |
| | | > |
| | | <div v-if="item.button" class="flex items-center" @click="loginOut"> |
| | | <img :src="`${item.icon}`" class="w-20 h-20"> |
| | | <div class="ml-10">{{ item.title }}</div> |
| | | </div> |
| | | <div v-else class="flex items-center" @click="onRoute(item.path)"> |
| | | <div v-else class="flex items-center"> |
| | | <img :src="`${item.icon}`" class="w-20 h-20"> |
| | | <div class="ml-10">{{ item.title }}</div> |
| | | </div> |
| | |
| | | |
| | | const router = useRouter() |
| | | const userStore = useUserStore() |
| | | const status = ref(null) |
| | | const status = ref([t('未认证'),t("审核中"),t("已认证"),t("审核未通过")]) |
| | | const kycHighStatus = ref(null) |
| | | // kyc_status |
| | | |
| | | // 账户详情选项数据 |
| | | const accountItems = ref([ |
| | | // { icon: 'icon-option.png', title: '貨幣訂單' , path: '/position/index'}, |
| | | { icon: new URL('../../assets/img/icon-option.png', import.meta.url), title: '現貨訂單' , path: '/position/index'}, |
| | | { icon: new URL('../../assets/img/icon-option.png', import.meta.url), title: '帳單' , path:'/cryptos/accountChange'}, |
| | | { icon: new URL('../../assets/img/icon-wallet.png', import.meta.url), title: '錢包', path: '/payMentMethod/list'}, |
| | | { icon: new URL('../../assets/img/icon-real.png', import.meta.url), title: '實名認證', status: '未認證' , path: '/certificationCenter'}, |
| | | { icon: new URL('../../assets/img/icon-small-language.png', import.meta.url), title: '語言', status: '中文繁體', path: '/language' }, |
| | | { icon: new URL('../../assets/img/icon-small-password.png', import.meta.url), title: '修改密碼', path: '/changePassword'}, |
| | | { icon: new URL('../../assets/img/icon-small-password.png', import.meta.url), title: '修改提現密碼', path: '/changeFundsPassword' } |
| | | { icon: new URL('../../assets/img/icon-option.png', import.meta.url), title: t('现货订单') , path: '/position/index'}, |
| | | { icon: new URL('../../assets/img/icon-option.png', import.meta.url), title: t('账变记录') , path:'/cryptos/accountChange'}, |
| | | { icon: new URL('../../assets/img/icon-wallet.png', import.meta.url), title: t('银行卡'), path: '/payMentMethod/list'}, |
| | | { icon: new URL('../../assets/img/icon-real.png', import.meta.url), title: t('实名认证'), status: status.value[userStore.userInfo.kyc_status] , path: '/certificationCenter'}, |
| | | { icon: new URL('../../assets/img/icon-small-language.png', import.meta.url), title: t('语言'), status: JSON.parse(localStorage.getItem('lang_tit')), path: '/language' }, |
| | | { icon: new URL('../../assets/img/icon-small-password.png', import.meta.url), title: t('修改密码'), path: '/changePassword'}, |
| | | { icon: new URL('../../assets/img/icon-small-password.png', import.meta.url), title: t('修改资金密码'), path: '/changeFundsPassword' } |
| | | ]); |
| | | |
| | | // 帮助和支持选项数据 |
| | | const helpItems = ref([ |
| | | // { icon: 'icon-market.png', title: '市場模式' }, |
| | | { icon: new URL('../../assets/img/icon-service.png', import.meta.url), title: '線上客服', path: '/customerService' }, |
| | | // 客服 |
| | | { icon: new URL('../../assets/img/icon-service.png', import.meta.url), title: t('onLineService'), path: '/customerService' }, |
| | | // { icon: 'icon-service.png', title: '專屬客服' }, |
| | | { icon: new URL('../../assets/img/icon-about.png', import.meta.url), title: '關於我們', path: '/aboutUs' }, |
| | | { icon: new URL('../../assets/img/icon-about.png', import.meta.url), title: t('关于我们'), path: '/aboutUs' }, |
| | | // { icon: 'icon-logout.png', title: '下載 APP' }, |
| | | { icon: new URL('../../assets/img/icon-logout.png', import.meta.url), title: '註銷', button: true } |
| | | { icon: new URL('../../assets/img/icon-logout.png', import.meta.url), title: t('退出'), button: true } |
| | | ]); |
| | | |
| | | const state = reactive({ |