icssoa 8 місяців тому
батько
коміт
49c9595959
3 змінених файлів з 97 додано та 96 видалено
  1. 1 1
      locale/index.ts
  2. 95 95
      manifest.json
  3. 1 0
      pages.json

+ 1 - 1
locale/index.ts

@@ -13,7 +13,7 @@ const messages = {
 };
 
 // 当前语言,默认中文
-export const locale = ref<string>(config.locale);
+export const locale = ref<string>("");
 
 // 设置当前语言
 export const setLocale = (value: string) => {

+ 95 - 95
manifest.json

@@ -1,96 +1,96 @@
 {
-	"name": "cool-unix",
-	"appid": "__UNI__651711F",
-	"description": "完全开源、永久免费、上手容易、效率极高的开发脚手架",
-	"versionName": "1.0.0",
-	"versionCode": "100",
-	"uni-app-x": {},
-	/* 快应用特有相关 */
-	"quickapp": {},
-	/* 小程序特有相关 */
-	"mp-weixin": {
-		"darkmode": true,
-		"appid": "wxdebc4de0b5584ca4",
-		"setting": {
-			"urlCheck": false,
-			"es6": true
-		},
-		"usingComponents": true
-	},
-	"mp-alipay": {
-		"usingComponents": true
-	},
-	"mp-baidu": {
-		"usingComponents": true
-	},
-	"mp-toutiao": {
-		"usingComponents": true
-	},
-	"uniStatistics": {
-		"enable": false
-	},
-	"vueVersion": "3",
-	"app": {
-		"distribute": {
-			"icons": {
-				"android": {
-					"hdpi": "",
-					"xhdpi": "",
-					"xxhdpi": "",
-					"xxxhdpi": ""
-				}
-			}
-		}
-	},
-	"web": {
-		"darkmode": true,
-		"router": {
-			"mode": "",
-			"base": "./"
-		},
-		"title": "cool-unix"
-	},
-	"app-harmony": {
-		"distribute": {
-			"bundleName": "com.cool.unix",
-			"signingConfigs": {
-				"default": {
-					"certpath": "/Users/icssoa/Library/Application Support/HBuilder X/extensions/launcher/agc-certs/1749115146522.cer",
-					"keyAlias": "debugKey",
-					"keyPassword": "0000001B0CD2170B509D76F6435F878B7ED2FE2E3EA6E7454E26523487B093238D4F7C8B7033D30DE80163",
-					"profile": "/Users/icssoa/Library/Application Support/HBuilder X/extensions/launcher/agc-certs/1749115146522.p7b",
-					"signAlg": "SHA256withECDSA",
-					"storeFile": "/Users/icssoa/Library/Application Support/HBuilder X/extensions/launcher/agc-certs/1749115146522.p12",
-					"storePassword": "0000001B0CD2170B509D76F6435F878B7ED2FE2E3EA6E7454E26523487B093238D4F7C8B7033D30DE80163"
-				}
-			},
-			"icons": {
-				"foreground": "static/logo2.png",
-				"background": "static/logo2.png"
-			}
-		}
-	},
-	"app-android": {
-		"distribute": {
-			"modules": {},
-			"icons": {
-				"hdpi": "static/logo2.png",
-				"xhdpi": "static/logo2.png",
-				"xxhdpi": "static/logo2.png",
-				"xxxhdpi": "static/logo2.png"
-			},
-			"splashScreens": {
-				"default": {}
-			}
-		}
-	},
-	"app-ios": {
-		"distribute": {
-			"modules": {},
-			"icons": {
-				"appstore": "static/logo2.png"
-			},
-			"splashScreens": {}
-		}
-	}
-}
+    "name" : "cool-unix",
+    "appid" : "__UNI__651711F",
+    "description" : "完全开源、永久免费、上手容易、效率极高的开发脚手架",
+    "versionName" : "1.0.0",
+    "versionCode" : "100",
+    "uni-app-x" : {},
+    /* 快应用特有相关 */
+    "quickapp" : {},
+    /* 小程序特有相关 */
+    "mp-weixin" : {
+        "darkmode" : true,
+        "appid" : "wxdebc4de0b5584ca4",
+        "setting" : {
+            "urlCheck" : false,
+            "es6" : true
+        },
+        "usingComponents" : true
+    },
+    "mp-alipay" : {
+        "usingComponents" : true
+    },
+    "mp-baidu" : {
+        "usingComponents" : true
+    },
+    "mp-toutiao" : {
+        "usingComponents" : true
+    },
+    "uniStatistics" : {
+        "enable" : false
+    },
+    "vueVersion" : "3",
+    "app" : {
+        "distribute" : {
+            "icons" : {
+                "android" : {
+                    "hdpi" : "",
+                    "xhdpi" : "",
+                    "xxhdpi" : "",
+                    "xxxhdpi" : ""
+                }
+            }
+        }
+    },
+    "web" : {
+        "darkmode" : true,
+        "router" : {
+            "mode" : "",
+            "base" : "./"
+        },
+        "title" : "cool-unix"
+    },
+    "app-harmony" : {
+        "distribute" : {
+            "bundleName" : "com.cool.unix",
+            "signingConfigs" : {
+                "default" : {
+                    "certpath" : "/Users/icssoa/Library/Application Support/HBuilder X/extensions/launcher/agc-certs/1749115146522.cer",
+                    "keyAlias" : "debugKey",
+                    "keyPassword" : "0000001B0CD2170B509D76F6435F878B7ED2FE2E3EA6E7454E26523487B093238D4F7C8B7033D30DE80163",
+                    "profile" : "/Users/icssoa/Library/Application Support/HBuilder X/extensions/launcher/agc-certs/1749115146522.p7b",
+                    "signAlg" : "SHA256withECDSA",
+                    "storeFile" : "/Users/icssoa/Library/Application Support/HBuilder X/extensions/launcher/agc-certs/1749115146522.p12",
+                    "storePassword" : "0000001B0CD2170B509D76F6435F878B7ED2FE2E3EA6E7454E26523487B093238D4F7C8B7033D30DE80163"
+                }
+            },
+            "icons" : {
+                "foreground" : "static/logo2.png",
+                "background" : "static/logo2.png"
+            }
+        }
+    },
+    "app-android" : {
+        "distribute" : {
+            "modules" : {},
+            "icons" : {
+                "hdpi" : "static/logo2.png",
+                "xhdpi" : "static/logo2.png",
+                "xxhdpi" : "static/logo2.png",
+                "xxxhdpi" : "static/logo2.png"
+            },
+            "splashScreens" : {
+                "default" : {}
+            }
+        }
+    },
+    "app-ios" : {
+        "distribute" : {
+            "modules" : {},
+            "icons" : {
+                "appstore" : "static/logo2.png"
+            },
+            "splashScreens" : {}
+        }
+    }
+}

+ 1 - 0
pages.json

@@ -380,6 +380,7 @@
 		"navigationBarBackgroundColor": "@navBgColor"
 	},
 	"tabBar": {
+		"custom": true,
 		"color": "@tabColor",
 		"selectedColor": "@tabSelectedColor",
 		"backgroundColor": "@tabBgColor",