2026-04-20 16:42:28 +08:00
|
|
|
import { defineManifestConfig } from '@uni-helper/vite-plugin-uni-manifest'
|
|
|
|
|
|
|
|
|
|
export default defineManifestConfig({
|
2026-04-23 14:57:35 +08:00
|
|
|
'name': '赤眉',
|
|
|
|
|
'appid': 'H5A4E639E',
|
2026-04-20 16:42:28 +08:00
|
|
|
'description': '',
|
|
|
|
|
'versionName': '1.0.0',
|
|
|
|
|
'versionCode': '100',
|
|
|
|
|
'transformPx': false,
|
|
|
|
|
/* 5+App特有相关 */
|
|
|
|
|
'app-plus': {
|
|
|
|
|
usingComponents: true,
|
|
|
|
|
nvueStyleCompiler: 'uni-app',
|
2026-04-23 14:57:35 +08:00
|
|
|
compatible: {
|
|
|
|
|
ignoreVersion: true,
|
|
|
|
|
runtimeVersion: "1.7.0,1.8.0,1.9.0",
|
|
|
|
|
compilerVersion: "4.87"
|
|
|
|
|
},
|
2026-04-20 16:42:28 +08:00
|
|
|
splashscreen: {
|
|
|
|
|
alwaysShowBeforeRender: true,
|
|
|
|
|
waiting: true,
|
|
|
|
|
autoclose: true,
|
|
|
|
|
delay: 0,
|
|
|
|
|
},
|
|
|
|
|
/* 模块配置 */
|
2026-04-23 14:57:35 +08:00
|
|
|
modules: {
|
|
|
|
|
"UniNView": {
|
|
|
|
|
"description": "UniNView原生渲染"
|
|
|
|
|
},
|
|
|
|
|
"Payment": {},
|
|
|
|
|
"UIWebview": {},
|
|
|
|
|
"Camera": {}
|
|
|
|
|
},
|
2026-04-20 16:42:28 +08:00
|
|
|
/* 应用发布信息 */
|
|
|
|
|
distribute: {
|
|
|
|
|
/* android打包配置 */
|
|
|
|
|
android: {
|
|
|
|
|
permissions: [
|
2026-04-23 14:57:35 +08:00
|
|
|
'<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>',
|
2026-04-20 16:42:28 +08:00
|
|
|
'<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>',
|
|
|
|
|
'<uses-feature android:name="android.hardware.camera.autofocus"/>',
|
|
|
|
|
'<uses-permission android:name="android.permission.CAMERA"/>',
|
|
|
|
|
'<uses-feature android:name="android.hardware.camera"/>',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
/* ios打包配置 */
|
2026-04-23 14:57:35 +08:00
|
|
|
"ios": {
|
|
|
|
|
"privacyDescription": {
|
|
|
|
|
"NSLocalNetworkUsageDescription": "需要本地网络进行服务使用",
|
|
|
|
|
"NSPhotoLibraryAddUsageDescription": "需要保存二维码海报"
|
|
|
|
|
}
|
|
|
|
|
},
|
2026-04-20 16:42:28 +08:00
|
|
|
/* SDK配置 */
|
2026-04-23 14:57:35 +08:00
|
|
|
"sdkConfigs": {
|
|
|
|
|
"payment": {
|
|
|
|
|
"alipay": {
|
|
|
|
|
"__platform__": ["ios", "android"]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"icons": {
|
|
|
|
|
"android": {
|
|
|
|
|
"hdpi": "static/icons/72x72.png",
|
|
|
|
|
"xhdpi": "static/icons/96x96.png",
|
|
|
|
|
"xxhdpi": "static/icons/144x144.png",
|
|
|
|
|
"xxxhdpi": "static/icons/192x192.png"
|
|
|
|
|
},
|
|
|
|
|
"ios": {
|
|
|
|
|
"appstore": "static/icons/1024x1024.png",
|
|
|
|
|
"ipad": {
|
|
|
|
|
"app": "static/icons/76x76.png",
|
|
|
|
|
"app@2x": "static/icons/152x152.png",
|
|
|
|
|
"notification": "static/icons/20x20.png",
|
|
|
|
|
"notification@2x": "static/icons/40x40.png",
|
|
|
|
|
"proapp@2x": "static/icons/167x167.png",
|
|
|
|
|
"settings": "static/icons/29x29.png",
|
|
|
|
|
"settings@2x": "static/icons/58x58.png",
|
|
|
|
|
"spotlight": "static/icons/40x40.png",
|
|
|
|
|
"spotlight@2x": "static/icons/80x80.png"
|
|
|
|
|
},
|
|
|
|
|
"iphone": {
|
|
|
|
|
"app@2x": "static/icons/120x120.png",
|
|
|
|
|
"app@3x": "static/icons/180x180.png",
|
|
|
|
|
"notification@2x": "static/icons/40x40.png",
|
|
|
|
|
"notification@3x": "static/icons/60x60.png",
|
|
|
|
|
"settings@2x": "static/icons/58x58.png",
|
|
|
|
|
"settings@3x": "static/icons/87x87.png",
|
|
|
|
|
"spotlight@2x": "static/icons/80x80.png",
|
|
|
|
|
"spotlight@3x": "static/icons/120x120.png"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-04-20 16:42:28 +08:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
// 迁移目标仅 App 端,微信 H5/小程序配置不启用
|
|
|
|
|
'uniStatistics': {
|
|
|
|
|
enable: false,
|
|
|
|
|
},
|
|
|
|
|
'vueVersion': '3',
|
|
|
|
|
})
|