feat: 更新默认头像和logo为favicon图标

将用户默认头像和登录页面logo从原来的logo.png替换为favicon.ico,保持图标一致性
This commit is contained in:
dzq 2025-11-04 16:34:57 +08:00
parent 0cd0264daf
commit 022e1e825e
4 changed files with 4 additions and 3 deletions

View File

@ -14,7 +14,8 @@
"Bash(ls -la 'E:\\\\code\\\\智柜宝\\\\wx\\\\static')", "Bash(ls -la 'E:\\\\code\\\\智柜宝\\\\wx\\\\static')",
"Bash(ls -la 'E:\\\\code\\\\智柜宝\\\\wx\\\\src\\\\static')", "Bash(ls -la 'E:\\\\code\\\\智柜宝\\\\wx\\\\src\\\\static')",
"Bash(tree -L 3 -I 'node_modules|dist' /E/code/智柜宝/wx)", "Bash(tree -L 3 -I 'node_modules|dist' /E/code/智柜宝/wx)",
"Bash(tree 'E:\\code\\智柜宝\\wx\\src\\pages\\order' -L 3)" "Bash(tree 'E:\\code\\智柜宝\\wx\\src\\pages\\order' -L 3)",
"Bash(pnpm type-check)"
], ],
"deny": [], "deny": [],
"ask": [] "ask": []

View File

@ -101,7 +101,7 @@ const toPact = () => {
<view class="login"> <view class="login">
<view class="page"> <view class="page">
<view class="title"> <view class="title">
<view><image src="/static/logo.png" style="width: 70px; height: 70px; margin-bottom: 10px"></image></view> <view><image src="/static/favicon.ico" style="width: 70px; height: 70px; margin-bottom: 10px"></image></view>
<view>广店通</view> <view>广店通</view>
</view> </view>
<view class="form"> <view class="form">

View File

@ -21,7 +21,7 @@ const name = computed(() => {
return userName.value || qyName.value || '未知用户' return userName.value || qyName.value || '未知用户'
}) })
const userAvatar = computed(() => face_img.value ? toHttpsUrl(face_img.value) : '/static/logo.png') const userAvatar = computed(() => face_img.value ? toHttpsUrl(face_img.value) : '/static/favicon.ico')
const ab98BalanceInYuan = computed(() => { const ab98BalanceInYuan = computed(() => {
if (ab98User.value && ab98User.value.ab98Balance !== undefined) { if (ab98User.value && ab98User.value.ab98Balance !== undefined) {

BIN
src/static/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB