修复:默认头像改为吴门国际logo;修改密码输入提示修改

This commit is contained in:
2025-12-01 16:52:00 +08:00
parent 1049030a46
commit b4585c93a6
2 changed files with 7 additions and 8 deletions

View File

@@ -7,7 +7,7 @@
<!-- 头像区域 -->
<view class="avatar-section">
<image
:src="userInfo.avatar || defaultAvatar"
:src="userInfo.avatar"
class="avatar"
@click="editAvatar"
/>
@@ -148,7 +148,7 @@ const { t } = useI18n()
const userStore = useUserStore()
// 默认头像
const defaultAvatar = '/static/home_icon.png'
const defaultAvatar = '/static/logo.png'
// 字段列表
const fields = computed(() => [
@@ -200,10 +200,9 @@ const avatarUrl = ref('')
const userInfo = ref<any>({}) // 用户信息
const getData = async () => {
const res = await getUserInfo()
if (res.result) {
userStore.setUserInfo(res.result)
userInfo.value = res.result
}
userStore.setUserInfo(res.result)
userInfo.value = res.result
userInfo.value.avatar = res.result.avatar || defaultAvatar
}
/**

View File

@@ -109,10 +109,10 @@ uni-textarea {
// popup
.wd-popup {
z-index: 9999 !important;
z-index: 99 !important;
}
.wd-overlay {
z-index: 9998 !important;
z-index: 98 !important;
}
.wd-popup-wrapper {
.wd-popup {