manifest.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. {
  2. "name" : "商城",
  3. "appid" : "",
  4. "description" : "应用描述",
  5. "versionName" : "1.0.10",
  6. "versionCode" : "1010",
  7. "transformPx" : true,
  8. /* 5+App特有相关 */
  9. "app-plus" : {
  10. "usingComponents" : true,
  11. "nvueCompiler" : "uni-app",
  12. "compilerVersion" : 3,
  13. "nvueLaunchMode" : "fast",
  14. "splashscreen" : {
  15. "alwaysShowBeforeRender" : true,
  16. "waiting" : true,
  17. "autoclose" : true,
  18. "delay" : 0
  19. },
  20. "modules" : {
  21. "OAuth" : {},
  22. "Payment" : {},
  23. "Push" : {},
  24. "Share" : {},
  25. "Speech" : {},
  26. "VideoPlayer" : {}
  27. },
  28. /* 应用发布信息 */
  29. "distribute" : {
  30. /* android打包配置 */
  31. "android" : {
  32. "permissions" : [ "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>" ]
  33. },
  34. /* ios打包配置 */
  35. "ios" : {
  36. "UIBackgroundModes" : [ "audio" ],
  37. "urlschemewhitelist" : [ "baidumap", "iosamap" ],
  38. "privacyDescription" : {
  39. "NSPhotoLibraryUsageDescription" : "该应用需要读取您的相册,以便支持您修改头像、门店图片或花材图片",
  40. "NSPhotoLibraryAddUsageDescription" : "该应用需要读取您的相册,以便支持您修改头像、门店图片或花材图片",
  41. "NSCameraUsageDescription" : "该应用需要获取您的摄像头权限,以便支持您直接拍照上传头像、门店图片或花材图片"
  42. },
  43. "idfa" : false
  44. },
  45. /* SDK配置 */
  46. "sdkConfigs" : {
  47. "speech" : {
  48. "ifly" : {}
  49. }
  50. },
  51. "orientation" : [ "portrait-primary" ]
  52. }
  53. },
  54. /* 快应用特有相关 */
  55. "quickapp" : {},
  56. /* 小程序特有相关 线上(花卉宝) wx99a1dfc4171efb42 开发(中花卉) wxe41bd5816affd0ba */
  57. "mp-weixin" : {
  58. "appid" : "wxe41bd5816affd0ba",
  59. "setting" : {
  60. "urlCheck" : false
  61. },
  62. "usingComponents" : true,
  63. "permission" : {
  64. "scope.userLocation" : {
  65. "desc" : "获取位置信息后为您提供个性化推荐"
  66. }
  67. },
  68. "optimization" : {
  69. "subPackages" : true
  70. },
  71. "lazyCodeLoading":"requiredComponents"
  72. },
  73. "mp-alipay" : {
  74. "usingComponents" : true
  75. },
  76. "mp-baidu" : {
  77. "usingComponents" : true
  78. },
  79. "mp-toutiao" : {
  80. "usingComponents" : true
  81. },
  82. "h5" : {
  83. "template" : "template.h5.html",
  84. "router" : {
  85. // "mode" : "history",
  86. "base" : "/"
  87. },
  88. "async": {
  89. "timeout": 200000
  90. },
  91. "optimization": {
  92. "treeShaking": {
  93. "enable": true
  94. }
  95. },
  96. "devServer": {
  97. "port": 81,
  98. "proxy": {
  99. "/api": {
  100. "target": "https://api.mall.huaml.com",
  101. "secure": false,
  102. "changeOrigin": true,
  103. "pathRewrite": {
  104. "^/api": ""
  105. }
  106. }
  107. }
  108. },
  109. "sdkConfigs" : {
  110. "maps" : {
  111. "qqmap" : {
  112. "key" : ""
  113. }
  114. }
  115. },
  116. "async" : {
  117. "timeout" : 20000
  118. }
  119. }
  120. }