manifest.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. {
  2. "name" : "宁夏新能源考培系统",
  3. "appid" : "__UNI__56502D8",
  4. "description" : "宁夏新能源在线学习考试系统",
  5. "versionName" : "1.0.0",
  6. "versionCode" : "100",
  7. "transformPx" : false,
  8. "networkTimeout" : {
  9. "uploadFile" : 120000,
  10. "request" : 30000
  11. },
  12. /* 5+App特有相关 */
  13. "app-plus" : {
  14. "compatible" : {
  15. "ignoreVersion" : true
  16. },
  17. "usingComponents" : true,
  18. "nvueCompiler" : "uni-app",
  19. "compilerVersion" : 3,
  20. "splashscreen" : {
  21. "alwaysShowBeforeRender" : true,
  22. "waiting" : true,
  23. "autoclose" : true,
  24. "delay" : 0
  25. },
  26. /* 模块配置 */
  27. "modules" : {
  28. "VideoPlayer" : {}
  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.ACCESS_NETWORK_STATE\"/>",
  38. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  39. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  40. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  41. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  42. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  43. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  44. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
  45. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  46. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  47. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  48. "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
  49. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  50. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  51. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  52. ],
  53. "autoSdkPermissions" : false
  54. },
  55. /* ios打包配置 */
  56. "ios" : {
  57. "dSYMs" : false
  58. },
  59. /* SDK配置 */
  60. "sdkConfigs" : {
  61. "ad" : {}
  62. },
  63. "icons" : {
  64. "android" : {
  65. "hdpi" : "unpackage/res/icons/72x72.png",
  66. "xhdpi" : "unpackage/res/icons/96x96.png",
  67. "xxhdpi" : "unpackage/res/icons/144x144.png",
  68. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  69. },
  70. "ios" : {
  71. "appstore" : "unpackage/res/icons/1024x1024.png",
  72. "ipad" : {
  73. "app" : "unpackage/res/icons/76x76.png",
  74. "app@2x" : "unpackage/res/icons/152x152.png",
  75. "notification" : "unpackage/res/icons/20x20.png",
  76. "notification@2x" : "unpackage/res/icons/40x40.png",
  77. "proapp@2x" : "unpackage/res/icons/167x167.png",
  78. "settings" : "unpackage/res/icons/29x29.png",
  79. "settings@2x" : "unpackage/res/icons/58x58.png",
  80. "spotlight" : "unpackage/res/icons/40x40.png",
  81. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  82. },
  83. "iphone" : {
  84. "app@2x" : "unpackage/res/icons/120x120.png",
  85. "app@3x" : "unpackage/res/icons/180x180.png",
  86. "notification@2x" : "unpackage/res/icons/40x40.png",
  87. "notification@3x" : "unpackage/res/icons/60x60.png",
  88. "settings@2x" : "unpackage/res/icons/58x58.png",
  89. "settings@3x" : "unpackage/res/icons/87x87.png",
  90. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  91. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  92. }
  93. }
  94. }
  95. }
  96. },
  97. /* 快应用特有相关 */
  98. "quickapp" : {},
  99. /* 小程序特有相关 */
  100. "mp-weixin" : {
  101. "appid" : "wx2560748c99c94d8c",
  102. "setting" : {
  103. "urlCheck" : false,
  104. "es6" : false,
  105. "minified" : true
  106. },
  107. "usingComponents" : true,
  108. "lazyCodeLoading" : "requiredComponents"
  109. },
  110. "mp-alipay" : {
  111. "usingComponents" : true
  112. },
  113. "mp-baidu" : {
  114. "usingComponents" : true,
  115. "appid" : "25270539"
  116. },
  117. "mp-toutiao" : {
  118. "usingComponents" : true
  119. },
  120. "uniStatistics" : {
  121. "enable" : false
  122. },
  123. "h5" : {
  124. "publicPath" : "./",
  125. "router" : {
  126. "base" : "./"
  127. },
  128. "title" : "在线学习考试系统",
  129. "domain" : "https://exam.yfhl.net",
  130. "devServer" : {
  131. "port" : 8080,
  132. "disableHostCheck" : true,
  133. "proxy" : {
  134. "/" : {
  135. "target" : "http://localhost:8101",
  136. "changeOrigin" : true,
  137. "secure" : false
  138. }
  139. }
  140. }
  141. }
  142. }