manifest.json 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. {
  2. "name" : "病理全流程",
  3. "appid" : "__UNI__9F2011E",
  4. "description" : "",
  5. "versionName" : "1.0",
  6. "versionCode" : 10,
  7. "transformPx" : false,
  8. /* 5+App特有相关 */
  9. "app-plus" : {
  10. "usingComponents" : true,
  11. "nvueCompiler" : "uni-app",
  12. "compilerVersion" : 3,
  13. "splashscreen" : {
  14. "alwaysShowBeforeRender" : true,
  15. "waiting" : true,
  16. "autoclose" : true,
  17. "delay" : 0
  18. },
  19. /* 模块配置 */
  20. "modules" : {
  21. "Push" : {},
  22. "Barcode" : {},
  23. "Camera" : {}
  24. },
  25. /* 应用发布信息 */
  26. "distribute" : {
  27. /* android打包配置 */
  28. "android" : {
  29. "permissions" : [
  30. "<uses-feature android:name=\"android.hardware.camera\"/>",
  31. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  32. "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
  33. "<uses-permission android:name=\"android.permission.CAMERA\"/>"
  34. ],
  35. "autoSdkPermissions" : true,
  36. "abiFilters" : [ "armeabi-v7a", "arm64-v8a" ]
  37. },
  38. /* ios打包配置 */
  39. "ios" : {},
  40. /* SDK配置 */
  41. "sdkConfigs" : {
  42. "ad" : {},
  43. "push" : {
  44. "unipush" : {}
  45. }
  46. },
  47. "splashscreen" : {
  48. "androidStyle" : "common"
  49. },
  50. "icons" : {
  51. "android" : {
  52. "hdpi" : "unpackage/res/icons/72x72.png",
  53. "xhdpi" : "unpackage/res/icons/96x96.png",
  54. "xxhdpi" : "unpackage/res/icons/144x144.png",
  55. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  56. },
  57. "ios" : {
  58. "appstore" : "unpackage/res/icons/1024x1024.png",
  59. "ipad" : {
  60. "app" : "unpackage/res/icons/76x76.png",
  61. "app@2x" : "unpackage/res/icons/152x152.png",
  62. "notification" : "unpackage/res/icons/20x20.png",
  63. "notification@2x" : "unpackage/res/icons/40x40.png",
  64. "proapp@2x" : "unpackage/res/icons/167x167.png",
  65. "settings" : "unpackage/res/icons/29x29.png",
  66. "settings@2x" : "unpackage/res/icons/58x58.png",
  67. "spotlight" : "unpackage/res/icons/40x40.png",
  68. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  69. },
  70. "iphone" : {
  71. "app@2x" : "unpackage/res/icons/120x120.png",
  72. "app@3x" : "unpackage/res/icons/180x180.png",
  73. "notification@2x" : "unpackage/res/icons/40x40.png",
  74. "notification@3x" : "unpackage/res/icons/60x60.png",
  75. "settings@2x" : "unpackage/res/icons/58x58.png",
  76. "settings@3x" : "unpackage/res/icons/87x87.png",
  77. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  78. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  79. }
  80. }
  81. }
  82. }
  83. },
  84. /* 快应用特有相关 */
  85. "quickapp" : {},
  86. /* 小程序特有相关 */
  87. "mp-weixin" : {
  88. "appid" : "",
  89. "setting" : {
  90. "urlCheck" : false
  91. },
  92. "usingComponents" : true
  93. },
  94. "mp-alipay" : {
  95. "usingComponents" : true
  96. },
  97. "mp-baidu" : {
  98. "usingComponents" : true
  99. },
  100. "mp-toutiao" : {
  101. "usingComponents" : true
  102. },
  103. "uniStatistics" : {
  104. "enable" : false
  105. },
  106. "h5" : {
  107. "title" : "",
  108. "domain" : "",
  109. "router" : {
  110. // 正常打包目录
  111. // "base" : "/app/",
  112. "base" : "/dstechbh/app/"
  113. },
  114. // 宜昌打包目录
  115. // "base" : "/dstechbh/app/"
  116. "optimization" : {
  117. "treeShaking" : {
  118. "enable" : true
  119. }
  120. },
  121. "devServer" : {
  122. "disableHostCheck" : true,
  123. "proxy" : {
  124. "/service" : {
  125. "target" : "http://zzzx.njszyy.cn:50000", //请求的目标域名
  126. // "target" : "http://192.168.4.163", //宋程玉本地
  127. "changeOrigin" : true, //是否跨域
  128. "secure" : false
  129. }
  130. },
  131. "port" : 8081 //当前项目的端口号
  132. }
  133. },
  134. "locale" : "zh-Hans",
  135. "fallbackLocale" : "zh-Hans"
  136. }