From e88c67ddf91ce593785f565912837c9a3ffe3930 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Tue, 12 Aug 2025 15:17:50 +0800
Subject: [PATCH] 1

---
 src/views/my/index.vue |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/src/views/my/index.vue b/src/views/my/index.vue
index a51dafa..f2043b2 100644
--- a/src/views/my/index.vue
+++ b/src/views/my/index.vue
@@ -1,5 +1,5 @@
 <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>
@@ -21,7 +21,7 @@
       <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>
@@ -35,6 +35,7 @@
             <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>
@@ -144,6 +145,12 @@
 })
 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(() => {
@@ -285,9 +292,11 @@
   }
 
   .label_item {
-    width: 25%;
-    font-size: 14px;
-
+    width: 33%;
+    font-size: 12px;
+	div{
+		text-align: center;
+	}
     img {
       width: 32%;
       margin-bottom: 3px;

--
Gitblit v1.9.3