wip: 重构临时提交

This commit is contained in:
ray
2025-08-04 07:48:37 +08:00
parent 2c6fdbd23b
commit d0baa003e1
6 changed files with 12 additions and 41 deletions

View File

@@ -27,6 +27,7 @@ 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",