manifest.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. {
  2. "name" : "智慧工厂",
  3. "appid" : "__UNI__45B3907",
  4. "description" : "",
  5. "versionName" : "V1.0.3.30",
  6. "versionCode" : "100",
  7. "transformPx" : false,
  8. "h5" : {
  9. "devServer" : {
  10. "proxy" : {
  11. "/api" : {
  12. // "target" : "http://192.168.1.110:18086/",
  13. // "target" : "http://192.168.1.125:18086/",
  14. // "target" : "http://192.168.1.251:18086/",
  15. // "target": "http://192.168.1.251:18186",
  16. // "target": "http://116.63.185.248:80/api",
  17. "target" : "http://192.168.1.251:18186/",
  18. "changeOrigin" : true,
  19. "secure" : false,
  20. "pathRewrite" : {
  21. "^/api" : ""
  22. } //如需去掉前缀则加上此配置
  23. }
  24. },
  25. "https" : false
  26. },
  27. "domain" : "http://127.0.0.1:8601"
  28. },
  29. /* 5+App特有相关 */
  30. "app-plus" : {
  31. "usingComponents" : true,
  32. "nvueStyleCompiler" : "uni-app",
  33. "compilerVersion" : 3,
  34. "splashscreen" : {
  35. "alwaysShowBeforeRender" : false,
  36. "waiting" : true,
  37. "autoclose" : true,
  38. "delay" : 0
  39. },
  40. /* 模块配置 */
  41. "modules" : {
  42. "Camera" : {},
  43. "Barcode" : {}
  44. },
  45. /* 应用发布信息 */
  46. "distribute" : {
  47. /* android打包配置 */
  48. "android" : {
  49. "permissions" : [
  50. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  51. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  52. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  53. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  54. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  55. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  56. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  57. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  58. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  59. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  60. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  61. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  62. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  63. "<uses-feature android:name=\"android.hardware.camera\"/>",
  64. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
  65. "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>"
  66. ],
  67. "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ]
  68. },
  69. /* ios打包配置 */
  70. "ios" : {
  71. "dSYMs" : false
  72. },
  73. /* SDK配置 */
  74. "sdkConfigs" : {
  75. "ad" : {}
  76. },
  77. "icons" : {
  78. "android" : {
  79. "hdpi" : "unpackage/res/icons/72x72.png",
  80. "xhdpi" : "unpackage/res/icons/96x96.png",
  81. "xxhdpi" : "unpackage/res/icons/144x144.png",
  82. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  83. },
  84. "ios" : {
  85. "appstore" : "unpackage/res/icons/1024x1024.png",
  86. "ipad" : {
  87. "app" : "unpackage/res/icons/76x76.png",
  88. "app@2x" : "unpackage/res/icons/152x152.png",
  89. "notification" : "unpackage/res/icons/20x20.png",
  90. "notification@2x" : "unpackage/res/icons/40x40.png",
  91. "proapp@2x" : "unpackage/res/icons/167x167.png",
  92. "settings" : "unpackage/res/icons/29x29.png",
  93. "settings@2x" : "unpackage/res/icons/58x58.png",
  94. "spotlight" : "unpackage/res/icons/40x40.png",
  95. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  96. },
  97. "iphone" : {
  98. "app@2x" : "unpackage/res/icons/120x120.png",
  99. "app@3x" : "unpackage/res/icons/180x180.png",
  100. "notification@2x" : "unpackage/res/icons/40x40.png",
  101. "notification@3x" : "unpackage/res/icons/60x60.png",
  102. "settings@2x" : "unpackage/res/icons/58x58.png",
  103. "settings@3x" : "unpackage/res/icons/87x87.png",
  104. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  105. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  106. }
  107. }
  108. }
  109. }
  110. },
  111. /* 快应用特有相关 */
  112. "quickapp" : {},
  113. // /* 小程序特有相关 */
  114. "mp-weixin" : {
  115. "appid" : "",
  116. "setting" : {
  117. "urlCheck" : false
  118. },
  119. "usingComponents" : true
  120. },
  121. "mp-alipay" : {
  122. "usingComponents" : true
  123. },
  124. "mp-baidu" : {
  125. "usingComponents" : true
  126. },
  127. "mp-toutiao" : {
  128. "usingComponents" : true
  129. },
  130. "uniStatistics" : {
  131. "enable" : false
  132. },
  133. "vueVersion" : "2",
  134. "fallbackLocale" : "zh-Hans",
  135. "sassImplementationName" : "node-sass"
  136. }