猎豆优选小程序

manifest.json 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. {
  2. "name" : "liedou_uniapp",
  3. "appid" : "__UNI__CEBA279",
  4. "description" : "",
  5. "versionName" : "1.0.0",
  6. "versionCode" : "100",
  7. "transformPx" : false,
  8. /* 5+App特有相关 */
  9. "app-plus" : {
  10. "usingComponents" : true,
  11. "nvueStyleCompiler" : "uni-app",
  12. "compilerVersion" : 3,
  13. "splashscreen" : {
  14. "alwaysShowBeforeRender" : true,
  15. "waiting" : true,
  16. "autoclose" : true,
  17. "delay" : 0
  18. },
  19. /* 模块配置 */
  20. "modules" : {},
  21. /* 应用发布信息 */
  22. "distribute" : {
  23. /* android打包配置 */
  24. "android" : {
  25. "permissions" : [
  26. "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  27. "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  28. "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  29. "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  30. "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  31. "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  32. "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  33. "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  34. "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  35. "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  36. "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  37. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  38. "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  39. "<uses-feature android:name=\"android.hardware.camera\"/>",
  40. "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  41. ]
  42. },
  43. /* ios打包配置 */
  44. "ios" : {},
  45. /* SDK配置 */
  46. "sdkConfigs" : {}
  47. }
  48. },
  49. /* 快应用特有相关 */
  50. "quickapp" : {},
  51. /* 小程序特有相关 */
  52. "mp-weixin" : {
  53. "appid" : "wx3f44dabcd35229fa",
  54. "setting" : {
  55. "urlCheck" : false,
  56. "es6" : true,
  57. "postcss" : true,
  58. "minified" : true
  59. },
  60. "usingComponents" : true,
  61. "lazyCodeLoading" : "requiredComponents",
  62. "permission" : {}
  63. },
  64. "mp-alipay" : {
  65. "usingComponents" : true,
  66. "component2" : true
  67. },
  68. "mp-baidu" : {
  69. "usingComponents" : true
  70. },
  71. "mp-toutiao" : {
  72. "usingComponents" : true
  73. },
  74. "uniStatistics" : {
  75. "enable" : false
  76. },
  77. "vueVersion" : "2",
  78. "h5" : {
  79. "title" : "猎豆优选",
  80. "devServer" : {
  81. "https" : false,
  82. "proxy" : {
  83. //配置代理服务器来解决跨域问题,uniapp不适用CORS方案和设置JSONP方案
  84. "/api/" : {
  85. //映射域名
  86. "target" : "https://ld.726p.com",
  87. "changeOrigin" : true,
  88. "secure" : false,
  89. "pathRewrite" : {
  90. "^/api" : ""
  91. }
  92. }
  93. }
  94. },
  95. "optimization" : {
  96. "treeShaking" : {
  97. "enable" : false
  98. }
  99. },
  100. "router" : {
  101. "base" : "/liedou_uniapp/h5/"
  102. }
  103. }
  104. }