shish 4 years ago
parent
commit
00600d45a9
2 changed files with 78 additions and 24 deletions
  1. 77 23
      线上/hdApp/src/manifest.json
  2. 1 1
      线上/hdApp/src/static/iconfont/iconfont.css

+ 77 - 23
线上/hdApp/src/manifest.json

@@ -3,7 +3,7 @@
     "appid" : "__UNI__4079DC1",
     "appid" : "__UNI__4079DC1",
     "description" : "花店管家婆",
     "description" : "花店管家婆",
     "versionName" : "1.0.2",
     "versionName" : "1.0.2",
-    "versionCode" : "102",
+    "versionCode" : 102,
     "transformPx" : true,
     "transformPx" : true,
     /* 5+App特有相关 */
     /* 5+App特有相关 */
     "app-plus" : {
     "app-plus" : {
@@ -26,13 +26,15 @@
             "Push" : {},
             "Push" : {},
             "Share" : {},
             "Share" : {},
             "Speech" : {},
             "Speech" : {},
-            "VideoPlayer" : {}
+            "VideoPlayer" : {},
+            "Bluetooth" : {},
+            "Contacts" : {}
         },
         },
         /* 应用发布信息 */
         /* 应用发布信息 */
         "distribute" : {
         "distribute" : {
             /* android打包配置 */
             /* android打包配置 */
             "android" : {
             "android" : {
-																"UIBackgroundModes" : [ "audio" ],
+                "UIBackgroundModes" : [ "audio" ],
                 "permissions" : [
                 "permissions" : [
                     "<uses-feature android:name=\"android.hardware.camera\"/>",
                     "<uses-feature android:name=\"android.hardware.camera\"/>",
                     "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
                     "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
@@ -78,9 +80,64 @@
             "sdkConfigs" : {
             "sdkConfigs" : {
                 "speech" : {
                 "speech" : {
                     "ifly" : {}
                     "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" : "请点击确定"
                 "desc" : "请点击确定"
             }
             }
         },
         },
-        "optimization": {  
-            "subPackages": true  
+        "optimization" : {
+            "subPackages" : true
         }
         }
     },
     },
     "mp-alipay" : {
     "mp-alipay" : {
@@ -116,23 +173,23 @@
             // "mode" : "history",
             // "mode" : "history",
             "base" : "/"
             "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" : ""
                     "key" : ""
                 }
                 }
             }
             }
-        },
-        "async" : {
-            "timeout" : 20000
         }
         }
     }
     }
 }
 }

+ 1 - 1
线上/hdApp/src/static/iconfont/iconfont.css

@@ -10,7 +10,7 @@
 
 
 .iconfont {
 .iconfont {
   font-family: "iconfont" !important;
   font-family: "iconfont" !important;
-  font-size: 16px;
+  font-size: 16upx;
   font-style: normal;
   font-style: normal;
   -webkit-font-smoothing: antialiased;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   -moz-osx-font-smoothing: grayscale;