| | |
| | | <template> |
| | | <section class="my-index"> |
| | | <section class="my-index" > |
| | | <fx-header :title="$t('my')"> |
| | | <template v-slot:right> |
| | | <van-icon name="service-o" size="24" @click="$router.push('/customerService')"></van-icon> |
| | |
| | | <div class="mt-4 flex items-start" v-else> |
| | | <img class="w-24 h-24" src="@/assets/image/avatar.png" alt="avatar" /> |
| | | <div class="ml-5 pt-1 flex flex-col justify-center"> |
| | | <div class="font-bold text-lg name">{{ userStore.userInfo && userStore.userInfo.username }}</div> |
| | | <div class="font-bold text-lg name" style="width: 200px;overflow-wrap: break-word;">{{ userStore.userInfo && userStore.userInfo.username }}</div> |
| | | <div class="text-sm text-gray-400 mt-5 flex items-center id-text"> |
| | | ID:{{ userStore.userInfo && userStore.userInfo.usercode }}<img class="w-8 h-8 ml-4" |
| | | src="@/assets/image/idcopy.png" alt="id" @click="copy" /></div> |
| | |
| | | <div class="label pl-2 pr-2 ml-3" :class="{ 'green': kycHighStatus == 2 }"> |
| | | {{ kycHighStatus == 2 ? $t('高级用户') : $t('普通用户') }} |
| | | </div> |
| | | <div class="pl-2 pr-2 ml-3" style="font-size: 12px;">{{$t('信用分')}} : {{userStore.userInfo.creditScore}}</div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | }) |
| | | const onRoute = (path) => { |
| | | console.log(path) |
| | | // if(path=='/login'){ |
| | | // console.log(status.value); |
| | | // // router.$refs.app.loginButton(); |
| | | // }else{ |
| | | // router.push(path) |
| | | // } |
| | | router.push(path) |
| | | } |
| | | onMounted(() => { |
| | |
| | | } |
| | | |
| | | .label_item { |
| | | width: 25%; |
| | | font-size: 14px; |
| | | |
| | | width: 33%; |
| | | font-size: 12px; |
| | | div{ |
| | | text-align: center; |
| | | } |
| | | img { |
| | | width: 32%; |
| | | margin-bottom: 3px; |