manifest.json 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. {
  2. "name" : "销花宝",
  3. "appid" : "__UNI__BD781B0",
  4. "description" : "批发进销存及财务管理系统",
  5. "versionName" : "1.0.9",
  6. "versionCode" : 109,
  7. "transformPx" : true,
  8. /* 5+App特有相关 */
  9. "app-plus" : {
  10. "usingComponents" : true,
  11. "nvueCompiler" : "uni-app",
  12. "compilerVersion" : 3,
  13. "nvueLaunchMode" : "fast",
  14. "compatible" : {
  15. "ignoreVersion" : true
  16. },
  17. "splashscreen" : {
  18. "alwaysShowBeforeRender" : true,
  19. "waiting" : true,
  20. "autoclose" : true,
  21. "delay" : 0
  22. },
  23. "orientation" : [ "landscape" ],
  24. "modules" : {
  25. "VideoPlayer" : {},
  26. "Bluetooth" : {},
  27. "Geolocation" : {},
  28. "Push" : {},
  29. "OAuth" : {}
  30. },
  31. /* 应用发布信息 */
  32. "distribute" : {
  33. /* android打包配置 */
  34. "android" : {
  35. "permissions" : [
  36. "<uses-feature android:name=\"android.hardware.camera\"/>",
  37. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  38. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  39. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  40. "<uses-permission android:name=\"android.permission.MEDIA_CONTENT_CONTROL\"/>",
  41. "<uses-permission android:name=\"android.permission.USE_FINGERPRINT\"/>"
  42. ],
  43. "autoSdkPermissions" : false
  44. },
  45. /* ios打包配置 */
  46. "ios" : {
  47. "urlschemewhitelist" : [ "baidumap", "iosamap" ],
  48. "privacyDescription" : {
  49. "NSPhotoLibraryUsageDescription" : "该应用需要读取您的相册,以便支持您修改头像、门店图片或花材图片",
  50. "NSPhotoLibraryAddUsageDescription" : "该应用需要读取您的相册,以便支持您修改头像、门店图片或花材图片",
  51. "NSCameraUsageDescription" : "该应用需要获取您的摄像头权限,以便支持您直接拍照上传头像、门店图片或花材图片"
  52. },
  53. "idfa" : false
  54. },
  55. /* SDK配置 */
  56. "sdkConfigs" : {
  57. "speech" : {
  58. "ifly" : {}
  59. },
  60. "push" : {
  61. "unipush" : {}
  62. },
  63. "share" : {},
  64. "ad" : {},
  65. "geolocation" : {
  66. "system" : {
  67. "__platform__" : [ "ios", "android" ]
  68. }
  69. },
  70. "maps" : {},
  71. "oauth" : {
  72. "univerify" : {}
  73. }
  74. },
  75. "orientation" : [ "portrait-primary" ],
  76. "icons" : {
  77. "android" : {
  78. "hdpi" : "unpackage/res/icons/72x72.png",
  79. "xhdpi" : "unpackage/res/icons/96x96.png",
  80. "xxhdpi" : "unpackage/res/icons/144x144.png",
  81. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  82. },
  83. "ios" : {
  84. "appstore" : "unpackage/res/icons/1024x1024.png",
  85. "ipad" : {
  86. "app" : "unpackage/res/icons/76x76.png",
  87. "app@2x" : "unpackage/res/icons/152x152.png",
  88. "notification" : "unpackage/res/icons/20x20.png",
  89. "notification@2x" : "unpackage/res/icons/40x40.png",
  90. "proapp@2x" : "unpackage/res/icons/167x167.png",
  91. "settings" : "unpackage/res/icons/29x29.png",
  92. "settings@2x" : "unpackage/res/icons/58x58.png",
  93. "spotlight" : "unpackage/res/icons/40x40.png",
  94. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  95. },
  96. "iphone" : {
  97. "app@2x" : "unpackage/res/icons/120x120.png",
  98. "app@3x" : "unpackage/res/icons/180x180.png",
  99. "notification@2x" : "unpackage/res/icons/40x40.png",
  100. "notification@3x" : "unpackage/res/icons/60x60.png",
  101. "settings@2x" : "unpackage/res/icons/58x58.png",
  102. "settings@3x" : "unpackage/res/icons/87x87.png",
  103. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  104. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  105. }
  106. }
  107. }
  108. },
  109. "nativePlugins" : {}
  110. },
  111. /* 快应用特有相关 */
  112. "quickapp" : {},
  113. /* 小程序特有相关 线上(销花宝) wxcf32b3f0684c2433 开发(花掌柜) wx21b7c3ef12082099 */
  114. "mp-weixin" : {
  115. "appid" : "wx21b7c3ef12082099",
  116. "setting" : {
  117. "urlCheck" : false
  118. },
  119. "usingComponents" : true,
  120. "permission" : {
  121. "scope.userLocation" : {
  122. "desc" : "请点击确定"
  123. }
  124. }
  125. },
  126. "mp-alipay" : {
  127. "usingComponents" : true
  128. },
  129. "mp-baidu" : {
  130. "usingComponents" : true
  131. },
  132. "mp-toutiao" : {
  133. "usingComponents" : true
  134. },
  135. "h5" : {
  136. "template" : "template.h5.html",
  137. "router" : {
  138. // "mode" : "history",
  139. "base" : "/"
  140. },
  141. "async" : {
  142. "timeout" : 20000
  143. },
  144. "optimization" : {
  145. "treeShaking" : {
  146. "enable" : true
  147. }
  148. },
  149. "devServer" : {
  150. "port" : 81,
  151. "proxy" : {
  152. "/api" : {
  153. "target" : "http://api.shop.hzghd.com",
  154. "secure" : false,
  155. "changeOrigin" : true,
  156. "pathRewrite" : {
  157. "^/api" : ""
  158. }
  159. }
  160. }
  161. },
  162. "sdkConfigs" : {
  163. "maps" : {
  164. "qqmap" : {
  165. "key" : ""
  166. }
  167. }
  168. }
  169. }
  170. }