manifest.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. },
  69. "mp-alipay" : {
  70. "usingComponents" : true
  71. },
  72. "mp-baidu" : {
  73. "usingComponents" : true
  74. },
  75. "mp-toutiao" : {
  76. "usingComponents" : true
  77. },
  78. "h5" : {
  79. "template" : "template.h5.html",
  80. "router" : {
  81. // "mode" : "history",
  82. "base" : "/"
  83. },
  84. "async": {
  85. "timeout": 200000
  86. },
  87. "optimization": {
  88. "treeShaking": {
  89. "enable": true
  90. }
  91. },
  92. "devServer": {
  93. "port": 81,
  94. "proxy": {
  95. "/api": {
  96. "target": "https://api.mall.huaml.com",
  97. "secure": false,
  98. "changeOrigin": true,
  99. "pathRewrite": {
  100. "^/api": ""
  101. }
  102. }
  103. }
  104. },
  105. "sdkConfigs" : {
  106. "maps" : {
  107. "qqmap" : {
  108. "key" : ""
  109. }
  110. }
  111. },
  112. "async" : {
  113. "timeout" : 20000
  114. }
  115. }
  116. }