From f40c2939c6f784fc6721554794154a336d12bc3a Mon Sep 17 00:00:00 2001
From: shinnosuke <tantao@1hoper.com>
Date: 星期三, 12 八月 2026 09:23:49 +0800
Subject: [PATCH] fix(ui): 移除返回图标旋转样式并优化商户页面功能
---
rencaika/pages/profile/profile.uvue | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/rencaika/pages/profile/profile.uvue b/rencaika/pages/profile/profile.uvue
index e859a6b..e583566 100644
--- a/rencaika/pages/profile/profile.uvue
+++ b/rencaika/pages/profile/profile.uvue
@@ -77,7 +77,7 @@
const hasTalentCard = ref(false)
const familyAccessLoading = ref(false)
const userName = ref('')
- const avatarText = ref('人')
+ const avatarText = ref('普')
const cardLevel = ref('')
const cardNo = ref('')
const applicationMessage = ref('请完成认证后开通人才卡。')
@@ -116,7 +116,11 @@
profileLoading.value = false
hasTalentCard.value = data != null && data.hasTalentCard === true && data.card != null
applicationMessage.value = data != null && data.applicationMessage != null ? data.applicationMessage as string : '请完成认证后开通人才卡。'
- if (!hasTalentCard.value) { avatarText.value = '人'; userName.value = '普通游客'; return }
+ if (!hasTalentCard.value) {
+ userName.value = '普通游客'
+ avatarText.value = userName.value.substring(0, 1)
+ return
+ }
const card: any = data.card
userName.value = card.name != null ? card.name as string : '人才用户'
avatarText.value = userName.value.length > 0 ? userName.value.substring(0, 1) : '人'
--
Gitblit v1.7.1