manifest.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. {
  2. "name" : "商城",
  3. "appid" : "",
  4. "description" : "应用描述",
  5. "versionName" : "1.0.11",
  6. "versionCode" : "1011",
  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. "urlschemewhitelist" : [ "baidumap", "iosamap" ],
  37. "privacyDescription" : {
  38. "NSPhotoLibraryUsageDescription" : "该应用需要读取您的相册,以便支持您修改头像、门店图片或花材图片",
  39. "NSPhotoLibraryAddUsageDescription" : "该应用需要读取您的相册,以便支持您修改头像、门店图片或花材图片",
  40. "NSCameraUsageDescription" : "该应用需要获取您的摄像头权限,以便支持您直接拍照上传头像、门店图片或花材图片"
  41. },
  42. "idfa" : false
  43. },
  44. /* SDK配置 */
  45. "sdkConfigs" : {
  46. "speech" : {
  47. "ifly" : {}
  48. }
  49. },
  50. "orientation" : [ "portrait-primary" ]
  51. }
  52. },
  53. /* 快应用特有相关 */
  54. "quickapp" : {},
  55. /* 小程序特有相关 线上(花卉宝) wx99a1dfc4171efb42 开发(中花卉) wxe41bd5816affd0ba */
  56. "mp-weixin" : {
  57. "appid" : "wxe41bd5816affd0ba",
  58. "setting" : {
  59. "urlCheck" : false
  60. },
  61. "optimization" : {
  62. "subPackages" : true
  63. },
  64. "usingComponents" : true,
  65. "permission" : {
  66. "scope.userLocation" : {
  67. "desc" : "获取位置信息后为您提供个性化推荐"
  68. }
  69. },
  70. "lazyCodeLoading":"requiredComponents"
  71. },
  72. "mp-alipay" : {
  73. "usingComponents" : true
  74. },
  75. "mp-baidu" : {
  76. "usingComponents" : true
  77. },
  78. "mp-toutiao" : {
  79. "usingComponents" : true
  80. },
  81. "h5" : {
  82. "template" : "template.h5.html",
  83. "router" : {
  84. // "mode" : "history",
  85. "base" : "/"
  86. },
  87. "async": {
  88. "timeout": 200000
  89. },
  90. "optimization": {
  91. "treeShaking": {
  92. "enable": true
  93. }
  94. },
  95. "devServer": {
  96. "port": 81,
  97. "proxy": {
  98. "/api": {
  99. "target": "https://api.mall.huaml.com",
  100. "secure": false,
  101. "changeOrigin": true,
  102. "pathRewrite": {
  103. "^/api": ""
  104. }
  105. }
  106. }
  107. },
  108. "sdkConfigs" : {
  109. "maps" : {
  110. "qqmap" : {
  111. "key" : ""
  112. }
  113. }
  114. },
  115. "async" : {
  116. "timeout" : 20000
  117. }
  118. }
  119. }