fix(bar): 🐛 fix bar and some mobile style issues

This commit is contained in:
Dawn
2025-09-19 19:57:00 +08:00
parent b9b8419256
commit 1ddb855c2a
7 changed files with 25 additions and 9 deletions
+1
View File
@@ -1,3 +1,4 @@
xcuserdata/
build/
Externals/
assets/configuration/
+1
View File
@@ -2,3 +2,4 @@ database:
sqlite_file: db.sqlite
backend:
base_url: https://hulaspark.com/api
active_config: local
+8
View File
@@ -2,3 +2,11 @@ database:
sqlite_file: db.sqlite
backend:
base_url: https://hulaspark.com/api
ws_url: wss://hulaspark.com/api/ws/ws
youdao:
app_key: ''
app_secret: ''
tencent:
api_key: ''
secret_id: ''
@@ -2,3 +2,11 @@ database:
sqlite_file: db.sqlite
backend:
base_url: https://hulaspark.com/api
ws_url: wss://hulaspark.com/api/ws/ws
youdao:
app_key: ''
app_secret: ''
tencent:
api_key: ''
secret_id: ''
@@ -8,6 +8,7 @@
<!-- 添加遮罩层 -->
<div
v-if="isSingleChat && !isFriend"
:style="{ height: `${footerHeight}px` }"
class="absolute inset-0 z-997 backdrop-blur-md cursor-default flex-center select-none pointer-events-auto light:bg-[rgba(255,255,255,0.1)] dark:bg-[rgba(33,33,33,0.1)]">
<n-flex align="center" justify="center" class="pb-60px">
<svg class="size-24px"><use href="#cloudError"></use></svg>
+1 -8
View File
@@ -7,7 +7,7 @@
:to="item.path"
:style="{ height: tabHeight }"
class="tab-item flex flex-col flex-1 items-center no-underline relative"
:class="route.path === item.path ? 'color-[--tab-bar-icon-color] is-active' : 'text-#000'">
:class="route.path === item.path ? 'color-[--tab-bar-icon-color]' : 'text-#000'">
<svg class="w-22px h-22px">
<use :href="`#${route.path === item.path ? item.actionIcon : item.icon}`"></use>
</svg>
@@ -97,12 +97,5 @@ const tabHeight = computed(() => customHeight + 'px')
filter 0.3s ease-in-out;
will-change: opacity, filter;
}
&.is-active::after {
@apply opacity-100 rounded-full;
background: rgba(19, 152, 127, 0.46);
filter: blur(12px);
-webkit-filter: blur(12px);
}
}
</style>
+5 -1
View File
@@ -42,7 +42,11 @@ export default defineConfig(({ mode }: ConfigEnv) => {
}
// 无效IP或特殊地址的情况
return config.TAURI_ENV_PLATFORM === 'android' ? '0.0.0.0' : '127.0.0.1'
return config.TAURI_ENV_PLATFORM === 'ios'
? rawIP
: config.TAURI_ENV_PLATFORM === 'android'
? '0.0.0.0'
: '127.0.0.1'
})()
console.log('Host:', host)