manifest.json 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. {
  2. "name" : "销花宝",
  3. "appid" : "__UNI__BD781B0",
  4. "description" : "批发进销存及财务管理系统",
  5. "versionName" : "1.0.8",
  6. "versionCode" : 108,
  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. "modules" : {
  24. "VideoPlayer" : {},
  25. "Bluetooth" : {},
  26. "Geolocation" : {},
  27. "Push" : {},
  28. "OAuth" : {}
  29. },
  30. /* 应用发布信息 */
  31. "distribute" : {
  32. /* android打包配置 */
  33. "android" : {
  34. "permissions" : [
  35. "<uses-feature android:name=\"android.hardware.camera\"/>",
  36. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  37. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  38. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  39. "<uses-permission android:name=\"android.permission.MEDIA_CONTENT_CONTROL\"/>",
  40. "<uses-permission android:name=\"android.permission.USE_FINGERPRINT\"/>"
  41. ],
  42. "autoSdkPermissions" : false,
  43. "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
  44. "permissionExternalStorage" : {
  45. "request" : "once",
  46. "prompt" : "保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。"
  47. },
  48. "permissionPhoneState" : {
  49. "request" : "once",
  50. "prompt" : "为保证您正常和安全地使用,需要获取设备识别码(部分手机提示为获取手机号码)使用权限,请允许。"
  51. }
  52. },
  53. /* ios打包配置 */
  54. "ios" : {
  55. "urlschemewhitelist" : [ "baidumap", "iosamap" ],
  56. "privacyDescription" : {
  57. "NSPhotoLibraryUsageDescription" : "该应用需要读取您的相册,以便支持您修改头像、门店图片或花材图片",
  58. "NSPhotoLibraryAddUsageDescription" : "该应用需要读取您的相册,以便支持您修改头像、门店图片或花材图片",
  59. "NSCameraUsageDescription" : "该应用需要获取您的摄像头权限,以便支持您直接拍照上传头像、门店图片或花材图片"
  60. },
  61. "idfa" : false
  62. },
  63. /* SDK配置 */
  64. "sdkConfigs" : {
  65. "speech" : {
  66. "ifly" : {}
  67. },
  68. "push" : {
  69. "unipush" : {}
  70. },
  71. "share" : {},
  72. "ad" : {},
  73. "geolocation" : {
  74. "system" : {
  75. "__platform__" : [ "ios", "android" ]
  76. }
  77. },
  78. "maps" : {},
  79. "oauth" : {
  80. "univerify" : {}
  81. }
  82. },
  83. "orientation" : [ "portrait-primary" ],
  84. "icons" : {
  85. "android" : {
  86. "hdpi" : "unpackage/res/icons/72x72.png",
  87. "xhdpi" : "unpackage/res/icons/96x96.png",
  88. "xxhdpi" : "unpackage/res/icons/144x144.png",
  89. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  90. },
  91. "ios" : {
  92. "appstore" : "unpackage/res/icons/1024.png",
  93. "ipad" : {
  94. "app" : "unpackage/res/icons/76x76.png",
  95. "app@2x" : "unpackage/res/icons/152x152.png",
  96. "notification" : "unpackage/res/icons/20x20.png",
  97. "notification@2x" : "unpackage/res/icons/40x40.png",
  98. "proapp@2x" : "unpackage/res/icons/167x167.png",
  99. "settings" : "unpackage/res/icons/29x29.png",
  100. "settings@2x" : "unpackage/res/icons/58x58.png",
  101. "spotlight" : "unpackage/res/icons/40x40.png",
  102. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  103. },
  104. "iphone" : {
  105. "app@2x" : "unpackage/res/icons/120x120.png",
  106. "app@3x" : "unpackage/res/icons/180x180.png",
  107. "notification@2x" : "unpackage/res/icons/40x40.png",
  108. "notification@3x" : "unpackage/res/icons/60x60.png",
  109. "settings@2x" : "unpackage/res/icons/58x58.png",
  110. "settings@3x" : "unpackage/res/icons/87x87.png",
  111. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  112. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  113. }
  114. }
  115. },
  116. "splashscreen" : {
  117. "useOriginalMsgbox" : true
  118. }
  119. },
  120. "nativePlugins" : {
  121. "CL-Dialog" : {
  122. "__plugin_info__" : {
  123. "name" : "确认提示框",
  124. "description" : "为了统一两个平台的提示(对话框)框的效果,以及对文字颜色内容的可自定义",
  125. "platforms" : "Android,iOS",
  126. "url" : "https://ext.dcloud.net.cn/plugin?id=1497",
  127. "android_package_name" : "zhh.huahuibao.app",
  128. "ios_bundle_id" : "com.zhh.xhb",
  129. "isCloud" : true,
  130. "bought" : 1,
  131. "pid" : "1497",
  132. "parameters" : {}
  133. }
  134. },
  135. "Html5app-Gprinter" : {
  136. "__plugin_info__" : {
  137. "name" : "Android 和 IOS 佳博 蓝牙小票 标签 打印插件",
  138. "description" : "Android / IOS 佳博小票 、标签 打印机插件,QQ交流群:891416757",
  139. "platforms" : "Android,iOS",
  140. "url" : "https://ext.dcloud.net.cn/plugin?id=462",
  141. "android_package_name" : "zhh.huahuibao.app",
  142. "ios_bundle_id" : "com.zhh.xhb",
  143. "isCloud" : true,
  144. "bought" : 1,
  145. "pid" : "462",
  146. "parameters" : {}
  147. }
  148. }
  149. }
  150. },
  151. /* 快应用特有相关 */
  152. "quickapp" : {},
  153. /* 小程序特有相关 线上(销花宝) wxcf32b3f0684c2433 开发(花掌柜) wx21b7c3ef12082099 */
  154. "mp-weixin" : {
  155. "appid" : "wx21b7c3ef12082099",
  156. "setting" : {
  157. "urlCheck" : false
  158. },
  159. "usingComponents" : true,
  160. "permission" : {
  161. "scope.userLocation" : {
  162. "desc" : "请点击确定"
  163. }
  164. }
  165. },
  166. "mp-alipay" : {
  167. "usingComponents" : true
  168. },
  169. "mp-baidu" : {
  170. "usingComponents" : true
  171. },
  172. "mp-toutiao" : {
  173. "usingComponents" : true
  174. },
  175. "h5" : {
  176. "template" : "template.h5.html",
  177. "router" : {
  178. // "mode" : "history",
  179. "base" : "/"
  180. },
  181. "async" : {
  182. "timeout" : 20000
  183. },
  184. "optimization" : {
  185. "treeShaking" : {
  186. "enable" : true
  187. }
  188. },
  189. "devServer" : {
  190. "port" : 81,
  191. "proxy" : {
  192. "/api" : {
  193. "target" : "http://api.shop.hzghd.com",
  194. "secure" : false,
  195. "changeOrigin" : true,
  196. "pathRewrite" : {
  197. "^/api" : ""
  198. }
  199. }
  200. }
  201. },
  202. "sdkConfigs" : {
  203. "maps" : {
  204. "qqmap" : {
  205. "key" : ""
  206. }
  207. }
  208. }
  209. }
  210. }