优化
This commit is contained in:
@@ -13,7 +13,7 @@ const messages = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// 当前语言,默认中文
|
// 当前语言,默认中文
|
||||||
export const locale = ref<string>(config.locale);
|
export const locale = ref<string>("");
|
||||||
|
|
||||||
// 设置当前语言
|
// 设置当前语言
|
||||||
export const setLocale = (value: string) => {
|
export const setLocale = (value: string) => {
|
||||||
|
|||||||
190
manifest.json
190
manifest.json
@@ -1,96 +1,96 @@
|
|||||||
{
|
{
|
||||||
"name": "cool-unix",
|
"name" : "cool-unix",
|
||||||
"appid": "__UNI__651711F",
|
"appid" : "__UNI__651711F",
|
||||||
"description": "完全开源、永久免费、上手容易、效率极高的开发脚手架",
|
"description" : "完全开源、永久免费、上手容易、效率极高的开发脚手架",
|
||||||
"versionName": "1.0.0",
|
"versionName" : "1.0.0",
|
||||||
"versionCode": "100",
|
"versionCode" : "100",
|
||||||
"uni-app-x": {},
|
"uni-app-x" : {},
|
||||||
/* 快应用特有相关 */
|
/* 快应用特有相关 */
|
||||||
"quickapp": {},
|
"quickapp" : {},
|
||||||
/* 小程序特有相关 */
|
/* 小程序特有相关 */
|
||||||
"mp-weixin": {
|
"mp-weixin" : {
|
||||||
"darkmode": true,
|
"darkmode" : true,
|
||||||
"appid": "wxdebc4de0b5584ca4",
|
"appid" : "wxdebc4de0b5584ca4",
|
||||||
"setting": {
|
"setting" : {
|
||||||
"urlCheck": false,
|
"urlCheck" : false,
|
||||||
"es6": true
|
"es6" : true
|
||||||
},
|
},
|
||||||
"usingComponents": true
|
"usingComponents" : true
|
||||||
},
|
},
|
||||||
"mp-alipay": {
|
"mp-alipay" : {
|
||||||
"usingComponents": true
|
"usingComponents" : true
|
||||||
},
|
},
|
||||||
"mp-baidu": {
|
"mp-baidu" : {
|
||||||
"usingComponents": true
|
"usingComponents" : true
|
||||||
},
|
},
|
||||||
"mp-toutiao": {
|
"mp-toutiao" : {
|
||||||
"usingComponents": true
|
"usingComponents" : true
|
||||||
},
|
},
|
||||||
"uniStatistics": {
|
"uniStatistics" : {
|
||||||
"enable": false
|
"enable" : false
|
||||||
},
|
},
|
||||||
"vueVersion": "3",
|
"vueVersion" : "3",
|
||||||
"app": {
|
"app" : {
|
||||||
"distribute": {
|
"distribute" : {
|
||||||
"icons": {
|
"icons" : {
|
||||||
"android": {
|
"android" : {
|
||||||
"hdpi": "",
|
"hdpi" : "",
|
||||||
"xhdpi": "",
|
"xhdpi" : "",
|
||||||
"xxhdpi": "",
|
"xxhdpi" : "",
|
||||||
"xxxhdpi": ""
|
"xxxhdpi" : ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"web": {
|
"web" : {
|
||||||
"darkmode": true,
|
"darkmode" : true,
|
||||||
"router": {
|
"router" : {
|
||||||
"mode": "",
|
"mode" : "",
|
||||||
"base": "./"
|
"base" : "./"
|
||||||
},
|
},
|
||||||
"title": "cool-unix"
|
"title" : "cool-unix"
|
||||||
},
|
},
|
||||||
"app-harmony": {
|
"app-harmony" : {
|
||||||
"distribute": {
|
"distribute" : {
|
||||||
"bundleName": "com.cool.unix",
|
"bundleName" : "com.cool.unix",
|
||||||
"signingConfigs": {
|
"signingConfigs" : {
|
||||||
"default": {
|
"default" : {
|
||||||
"certpath": "/Users/icssoa/Library/Application Support/HBuilder X/extensions/launcher/agc-certs/1749115146522.cer",
|
"certpath" : "/Users/icssoa/Library/Application Support/HBuilder X/extensions/launcher/agc-certs/1749115146522.cer",
|
||||||
"keyAlias": "debugKey",
|
"keyAlias" : "debugKey",
|
||||||
"keyPassword": "0000001B0CD2170B509D76F6435F878B7ED2FE2E3EA6E7454E26523487B093238D4F7C8B7033D30DE80163",
|
"keyPassword" : "0000001B0CD2170B509D76F6435F878B7ED2FE2E3EA6E7454E26523487B093238D4F7C8B7033D30DE80163",
|
||||||
"profile": "/Users/icssoa/Library/Application Support/HBuilder X/extensions/launcher/agc-certs/1749115146522.p7b",
|
"profile" : "/Users/icssoa/Library/Application Support/HBuilder X/extensions/launcher/agc-certs/1749115146522.p7b",
|
||||||
"signAlg": "SHA256withECDSA",
|
"signAlg" : "SHA256withECDSA",
|
||||||
"storeFile": "/Users/icssoa/Library/Application Support/HBuilder X/extensions/launcher/agc-certs/1749115146522.p12",
|
"storeFile" : "/Users/icssoa/Library/Application Support/HBuilder X/extensions/launcher/agc-certs/1749115146522.p12",
|
||||||
"storePassword": "0000001B0CD2170B509D76F6435F878B7ED2FE2E3EA6E7454E26523487B093238D4F7C8B7033D30DE80163"
|
"storePassword" : "0000001B0CD2170B509D76F6435F878B7ED2FE2E3EA6E7454E26523487B093238D4F7C8B7033D30DE80163"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"icons": {
|
"icons" : {
|
||||||
"foreground": "static/logo2.png",
|
"foreground" : "static/logo2.png",
|
||||||
"background": "static/logo2.png"
|
"background" : "static/logo2.png"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"app-android": {
|
"app-android" : {
|
||||||
"distribute": {
|
"distribute" : {
|
||||||
"modules": {},
|
"modules" : {},
|
||||||
"icons": {
|
"icons" : {
|
||||||
"hdpi": "static/logo2.png",
|
"hdpi" : "static/logo2.png",
|
||||||
"xhdpi": "static/logo2.png",
|
"xhdpi" : "static/logo2.png",
|
||||||
"xxhdpi": "static/logo2.png",
|
"xxhdpi" : "static/logo2.png",
|
||||||
"xxxhdpi": "static/logo2.png"
|
"xxxhdpi" : "static/logo2.png"
|
||||||
},
|
},
|
||||||
"splashScreens": {
|
"splashScreens" : {
|
||||||
"default": {}
|
"default" : {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"app-ios": {
|
"app-ios" : {
|
||||||
"distribute": {
|
"distribute" : {
|
||||||
"modules": {},
|
"modules" : {},
|
||||||
"icons": {
|
"icons" : {
|
||||||
"appstore": "static/logo2.png"
|
"appstore" : "static/logo2.png"
|
||||||
},
|
},
|
||||||
"splashScreens": {}
|
"splashScreens" : {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -380,6 +380,7 @@
|
|||||||
"navigationBarBackgroundColor": "@navBgColor"
|
"navigationBarBackgroundColor": "@navBgColor"
|
||||||
},
|
},
|
||||||
"tabBar": {
|
"tabBar": {
|
||||||
|
"custom": true,
|
||||||
"color": "@tabColor",
|
"color": "@tabColor",
|
||||||
"selectedColor": "@tabSelectedColor",
|
"selectedColor": "@tabSelectedColor",
|
||||||
"backgroundColor": "@tabBgColor",
|
"backgroundColor": "@tabBgColor",
|
||||||
|
|||||||
Reference in New Issue
Block a user