修复:默认头像改为吴门国际logo;修改密码输入提示修改
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<!-- 头像区域 -->
|
<!-- 头像区域 -->
|
||||||
<view class="avatar-section">
|
<view class="avatar-section">
|
||||||
<image
|
<image
|
||||||
:src="userInfo.avatar || defaultAvatar"
|
:src="userInfo.avatar"
|
||||||
class="avatar"
|
class="avatar"
|
||||||
@click="editAvatar"
|
@click="editAvatar"
|
||||||
/>
|
/>
|
||||||
@@ -148,7 +148,7 @@ const { t } = useI18n()
|
|||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
|
|
||||||
// 默认头像
|
// 默认头像
|
||||||
const defaultAvatar = '/static/home_icon.png'
|
const defaultAvatar = '/static/logo.png'
|
||||||
|
|
||||||
// 字段列表
|
// 字段列表
|
||||||
const fields = computed(() => [
|
const fields = computed(() => [
|
||||||
@@ -200,10 +200,9 @@ const avatarUrl = ref('')
|
|||||||
const userInfo = ref<any>({}) // 用户信息
|
const userInfo = ref<any>({}) // 用户信息
|
||||||
const getData = async () => {
|
const getData = async () => {
|
||||||
const res = await getUserInfo()
|
const res = await getUserInfo()
|
||||||
if (res.result) {
|
userStore.setUserInfo(res.result)
|
||||||
userStore.setUserInfo(res.result)
|
userInfo.value = res.result
|
||||||
userInfo.value = res.result
|
userInfo.value.avatar = res.result.avatar || defaultAvatar
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -109,10 +109,10 @@ uni-textarea {
|
|||||||
|
|
||||||
// popup
|
// popup
|
||||||
.wd-popup {
|
.wd-popup {
|
||||||
z-index: 9999 !important;
|
z-index: 99 !important;
|
||||||
}
|
}
|
||||||
.wd-overlay {
|
.wd-overlay {
|
||||||
z-index: 9998 !important;
|
z-index: 98 !important;
|
||||||
}
|
}
|
||||||
.wd-popup-wrapper {
|
.wd-popup-wrapper {
|
||||||
.wd-popup {
|
.wd-popup {
|
||||||
|
|||||||
Reference in New Issue
Block a user