|
|
@@ -3,7 +3,7 @@
|
|
|
"appid" : "__UNI__4079DC1",
|
|
|
"description" : "花店管家婆",
|
|
|
"versionName" : "1.0.2",
|
|
|
- "versionCode" : "102",
|
|
|
+ "versionCode" : 102,
|
|
|
"transformPx" : true,
|
|
|
/* 5+App特有相关 */
|
|
|
"app-plus" : {
|
|
|
@@ -26,13 +26,15 @@
|
|
|
"Push" : {},
|
|
|
"Share" : {},
|
|
|
"Speech" : {},
|
|
|
- "VideoPlayer" : {}
|
|
|
+ "VideoPlayer" : {},
|
|
|
+ "Bluetooth" : {},
|
|
|
+ "Contacts" : {}
|
|
|
},
|
|
|
/* 应用发布信息 */
|
|
|
"distribute" : {
|
|
|
/* android打包配置 */
|
|
|
"android" : {
|
|
|
- "UIBackgroundModes" : [ "audio" ],
|
|
|
+ "UIBackgroundModes" : [ "audio" ],
|
|
|
"permissions" : [
|
|
|
"<uses-feature android:name=\"android.hardware.camera\"/>",
|
|
|
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
|
|
|
@@ -78,9 +80,64 @@
|
|
|
"sdkConfigs" : {
|
|
|
"speech" : {
|
|
|
"ifly" : {}
|
|
|
+ },
|
|
|
+ "ad" : {},
|
|
|
+ "oauth" : {
|
|
|
+ "univerify" : {}
|
|
|
+ },
|
|
|
+ "push" : {
|
|
|
+ "unipush" : {}
|
|
|
}
|
|
|
},
|
|
|
- "orientation" : [ "portrait-primary" ]
|
|
|
+ "orientation" : [ "portrait-primary" ],
|
|
|
+ "icons" : {
|
|
|
+ "android" : {
|
|
|
+ "hdpi" : "unpackage/res/icons/72x72.png",
|
|
|
+ "xhdpi" : "unpackage/res/icons/96x96.png",
|
|
|
+ "xxhdpi" : "unpackage/res/icons/144x144.png",
|
|
|
+ "xxxhdpi" : "unpackage/res/icons/192x192.png"
|
|
|
+ },
|
|
|
+ "ios" : {
|
|
|
+ "appstore" : "unpackage/res/icons/1024x1024.png",
|
|
|
+ "ipad" : {
|
|
|
+ "app" : "unpackage/res/icons/76x76.png",
|
|
|
+ "app@2x" : "unpackage/res/icons/152x152.png",
|
|
|
+ "notification" : "unpackage/res/icons/20x20.png",
|
|
|
+ "notification@2x" : "unpackage/res/icons/40x40.png",
|
|
|
+ "proapp@2x" : "unpackage/res/icons/167x167.png",
|
|
|
+ "settings" : "unpackage/res/icons/29x29.png",
|
|
|
+ "settings@2x" : "unpackage/res/icons/58x58.png",
|
|
|
+ "spotlight" : "unpackage/res/icons/40x40.png",
|
|
|
+ "spotlight@2x" : "unpackage/res/icons/80x80.png"
|
|
|
+ },
|
|
|
+ "iphone" : {
|
|
|
+ "app@2x" : "unpackage/res/icons/120x120.png",
|
|
|
+ "app@3x" : "unpackage/res/icons/180x180.png",
|
|
|
+ "notification@2x" : "unpackage/res/icons/40x40.png",
|
|
|
+ "notification@3x" : "unpackage/res/icons/60x60.png",
|
|
|
+ "settings@2x" : "unpackage/res/icons/58x58.png",
|
|
|
+ "settings@3x" : "unpackage/res/icons/87x87.png",
|
|
|
+ "spotlight@2x" : "unpackage/res/icons/80x80.png",
|
|
|
+ "spotlight@3x" : "unpackage/res/icons/120x120.png"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "nativePlugins" : {
|
|
|
+ "CL-Dialog" : {
|
|
|
+ "__plugin_info__" : {
|
|
|
+ "name" : "确认提示框",
|
|
|
+ "description" : "为了统一两个平台的提示(对话框)框的效果,以及对文字颜色内容的可自定义",
|
|
|
+ "platforms" : "Android,iOS",
|
|
|
+ "url" : "https://ext.dcloud.net.cn/plugin?id=1497",
|
|
|
+ "android_package_name" : "zhh.huahuibao.hhb.app",
|
|
|
+ "ios_bundle_id" : "",
|
|
|
+ "isCloud" : true,
|
|
|
+ "bought" : 1,
|
|
|
+ "pid" : "1497",
|
|
|
+ "parameters" : {}
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
/* 快应用特有相关 */
|
|
|
@@ -97,8 +154,8 @@
|
|
|
"desc" : "请点击确定"
|
|
|
}
|
|
|
},
|
|
|
- "optimization": {
|
|
|
- "subPackages": true
|
|
|
+ "optimization" : {
|
|
|
+ "subPackages" : true
|
|
|
}
|
|
|
},
|
|
|
"mp-alipay" : {
|
|
|
@@ -116,23 +173,23 @@
|
|
|
// "mode" : "history",
|
|
|
"base" : "/"
|
|
|
},
|
|
|
- "async": {
|
|
|
- "timeout": 200000
|
|
|
+ "async" : {
|
|
|
+ "timeout" : 20000
|
|
|
},
|
|
|
- "optimization": {
|
|
|
- "treeShaking": {
|
|
|
- "enable": true
|
|
|
+ "optimization" : {
|
|
|
+ "treeShaking" : {
|
|
|
+ "enable" : true
|
|
|
}
|
|
|
},
|
|
|
- "devServer": {
|
|
|
- "port": 81,
|
|
|
- "proxy": {
|
|
|
- "/api": {
|
|
|
- "target": "http://api.shop.huaml.com",
|
|
|
- "secure": false,
|
|
|
- "changeOrigin": true,
|
|
|
- "pathRewrite": {
|
|
|
- "^/api": ""
|
|
|
+ "devServer" : {
|
|
|
+ "port" : 81,
|
|
|
+ "proxy" : {
|
|
|
+ "/api" : {
|
|
|
+ "target" : "http://api.shop.huaml.com",
|
|
|
+ "secure" : false,
|
|
|
+ "changeOrigin" : true,
|
|
|
+ "pathRewrite" : {
|
|
|
+ "^/api" : ""
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -143,9 +200,6 @@
|
|
|
"key" : ""
|
|
|
}
|
|
|
}
|
|
|
- },
|
|
|
- "async" : {
|
|
|
- "timeout" : 20000
|
|
|
}
|
|
|
}
|
|
|
}
|