manifest.json 5.5 KB

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