feat: 优化代码结构,统一接口命名与类型定义,更新页面样式

This commit is contained in:
Ray.Hao
2026-03-28 12:10:19 +08:00
parent 24d1c3477b
commit 00fb441436
45 changed files with 1315 additions and 1807 deletions

View File

@@ -56,7 +56,6 @@ export const useThemeStore = defineStore("theme", () => {
* 设置导航栏颜色
*/
const setNavigationBarColor = () => {
console.log("设置导航栏颜色", theme.value)
uni.setNavigationBarColor({
frontColor: theme.value === "light" ? "#000000" : "#ffffff",
backgroundColor: theme.value === "light" ? "#ffffff" : "#000000",
@@ -81,7 +80,6 @@ export const useThemeStore = defineStore("theme", () => {
currentThemeColor.value = color
Storage.set(THEME_COLOR_KEY, color)
themeVars.colorTheme = color.primary
console.log("主题色已设置:", color.name)
}
/**