manifest.json 4.7 KB

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