manifest.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {
  2. "name" : "商城",
  3. "appid" : "__UNI__19572D0",
  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. }
  48. },
  49. "orientation" : [ "portrait-primary" ]
  50. }
  51. },
  52. /* 快应用特有相关 */
  53. "quickapp" : {},
  54. /* 小程序特有相关 线上(花卉宝) wx99a1dfc4171efb42 开发(中花卉) wxe41bd5816affd0ba */
  55. "mp-weixin" : {
  56. "appid" : "wxe41bd5816affd0ba",
  57. "setting" : {
  58. "urlCheck" : false
  59. },
  60. "optimization" : {
  61. "subPackages" : true
  62. },
  63. "usingComponents" : true,
  64. "permission" : {
  65. },
  66. "lazyCodeLoading":"requiredComponents"
  67. },
  68. "mp-alipay" : {
  69. "usingComponents" : true
  70. },
  71. "mp-baidu" : {
  72. "usingComponents" : true
  73. },
  74. "mp-toutiao" : {
  75. "usingComponents" : true
  76. },
  77. "h5" : {
  78. "template" : "template.h5.html",
  79. "router" : {
  80. // "mode" : "history",
  81. "base" : "/"
  82. },
  83. "async": {
  84. "timeout": 200000
  85. },
  86. "optimization": {
  87. "treeShaking": {
  88. "enable": true
  89. }
  90. },
  91. "devServer": {
  92. "port": 81,
  93. "proxy": {
  94. "/api": {
  95. "target": "https://api.mall.huaml.com",
  96. "secure": false,
  97. "changeOrigin": true,
  98. "pathRewrite": {
  99. "^/api": ""
  100. }
  101. }
  102. }
  103. },
  104. "sdkConfigs" : {
  105. "maps" : {
  106. "qqmap" : {
  107. "key" : ""
  108. }
  109. }
  110. },
  111. "async" : {
  112. "timeout" : 20000
  113. }
  114. }
  115. }