学习?学个屁 3 hete
szülő
commit
566685729c
4 módosított fájl, 4 hozzáadás és 4 törlés
  1. 1 1
      manifest.config.ts
  2. 1 1
      src/composables/useTheme.ts
  3. 1 1
      src/manifest.json
  4. 1 1
      src/pages/index/index.vue

+ 1 - 1
manifest.config.ts

@@ -52,7 +52,7 @@ export default defineManifestConfig({
   quickapp: {},
   /* 小程序特有相关 */
   "mp-weixin": {
-    appid: "wxe70e6c132e5b4c28",
+    appid: "wx6260718c6fd46efb",
     setting: {
       urlCheck: false,
     },

+ 1 - 1
src/composables/useTheme.ts

@@ -21,7 +21,7 @@ export const themeColorOptions: ThemeColorOption[] = [
 const useThemeStore = defineStore('theme', {
   state: () => ({
     theme: 'light' as 'light' | 'dark',
-    followSystem: false, // 是否跟随系统主题
+    followSystem: true, // 是否跟随系统主题
     hasUserSet: false, // 用户是否手动设置过主题
     currentThemeColor: themeColorOptions[0] as ThemeColorOption,
     showThemeColorSheet: false,

+ 1 - 1
src/manifest.json

@@ -42,7 +42,7 @@
   },
   "quickapp": {},
   "mp-weixin": {
-    "appid": "wxe70e6c132e5b4c28",
+    "appid": "wx6260718c6fd46efb",
     "setting": {
       "urlCheck": false
     },

+ 1 - 1
src/pages/index/index.vue

@@ -150,7 +150,7 @@ function getItemClass(path: string) {
           <view class="flex items-center justify-center flex-col" @click="handleCommenPath(item.route)"
             v-for="item in StoreMenu" :key="item.id">
             <image :src="getIcon(item.route)" class="w-52rpx h-52rpx"></image>
-            <view class="text-24rpx mt-3">{{
+            <view class="text-24rpx text-[rgb(0,0,0,0.6)] mt-3">{{
               item.name
             }}</view>
           </view>