manifest.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. {
  2. "name" : "能联全球",
  3. "appid" : "__UNI__E1538E0", // 自行更换uniapp appid 可登录查看uniapp提供的用户统计 https://tongji.dcloud.net.cn/
  4. "description" : "发展合作平台",
  5. "versionName" : "1.3.0",
  6. "versionCode" : 133,
  7. "transformPx" : false,
  8. "networkTimeout" : {
  9. "request" : 12000, // 自定义配置request请求超时时间为12秒
  10. "connectSocket" : 60000, // 官方默认60秒
  11. "uploadFile" : 60000, // 官方默认60秒
  12. "downloadFile" : 60000 // 官方默认60秒
  13. },
  14. "app-plus" : {
  15. /* 5+App特有相关 */
  16. "usingComponents" : true,
  17. "splashscreen" : {
  18. "alwaysShowBeforeRender" : true,
  19. "waiting" : true,
  20. "autoclose" : true,
  21. "delay" : 0
  22. },
  23. "modules" : {
  24. "Share" : {},
  25. "Push" : {},
  26. "Camera" : {}
  27. },
  28. "compatible" : {
  29. "ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
  30. },
  31. "privacy" : {
  32. "prompt" : "template",
  33. "template" : {
  34. //prompt取值为template时有效,用于配置模板提示框上显示的内容
  35. "title" : "服务协议和隐私政策",
  36. "message" : "尊敬的用户,欢迎您注册为此应用程序的用户。在注册前请您仔细阅读<a href='https://8.8.20.112:19001/#/pages/profile/profileSetUp/appUser/userAgreementZH'>用户协议</a>和<a href='https://8.8.20.112:19001/#/pages/profile/profileSetUp/appUser/privacyPolicyZH'>隐私政策</a>,了解我们的应用程序使用规则,您个人信息的处理以及应用程序权限。<br/>经您确认后,此用户协议和隐私政策即在您和应用程序之间具有法律效力。请务必在注册前认真阅读全部服务协议内容。如有任何疑问,可向本应用客服咨询。",
  37. "buttonAccept" : "同意", //继续下一步
  38. "buttonRefuse" : "暂不使用" //退出下载
  39. }
  40. },
  41. /* 模块配置 */
  42. "distribute" : {
  43. /* 应用发布信息 */
  44. "android" : {
  45. /* android打包配置 */
  46. "permissions" : [
  47. "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>"
  48. ],
  49. "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
  50. "autoSdkPermissions" : false
  51. },
  52. "ios" : {
  53. "privacyDescription" : {
  54. "NSPhotoLibraryUsageDescription" : "请点击\"好\",以允许访问,若不允许,你将无法使用保存图片到相册等功能",
  55. "NSPhotoLibraryAddUsageDescription" : "请点击\"好\",以允许访问,若不允许,你将无法使用保存图片到相册等功能",
  56. "NSCameraUsageDescription" : "",
  57. "NSMicrophoneUsageDescription" : ""
  58. },
  59. "idfa" : false,
  60. "dSYMs" : false
  61. },
  62. /* ios打包配置 */
  63. "sdkConfigs" : {
  64. "ad" : {},
  65. "payment" : {},
  66. "push" : {},
  67. "share" : {
  68. "weixin" : {
  69. "appid" : "wxdef433f92edcb388",
  70. "UniversalLinks" : "https://geidcp.com/ulink/"
  71. }
  72. },
  73. "oauth" : {}
  74. },
  75. "icons" : {
  76. "android" : {
  77. "hdpi" : "unpackage/res/icons/72x72.png",
  78. "xhdpi" : "unpackage/res/icons/96x96.png",
  79. "xxhdpi" : "unpackage/res/icons/144x144.png",
  80. "xxxhdpi" : "unpackage/res/icons/192x192.png"
  81. },
  82. "ios" : {
  83. "appstore" : "unpackage/res/icons/1024x1024.png",
  84. "ipad" : {
  85. "app" : "unpackage/res/icons/76x76.png",
  86. "app@2x" : "unpackage/res/icons/152x152.png",
  87. "notification" : "unpackage/res/icons/20x20.png",
  88. "notification@2x" : "unpackage/res/icons/40x40.png",
  89. "proapp@2x" : "unpackage/res/icons/167x167.png",
  90. "settings" : "unpackage/res/icons/29x29.png",
  91. "settings@2x" : "unpackage/res/icons/58x58.png",
  92. "spotlight" : "unpackage/res/icons/40x40.png",
  93. "spotlight@2x" : "unpackage/res/icons/80x80.png"
  94. },
  95. "iphone" : {
  96. "app@2x" : "unpackage/res/icons/120x120.png",
  97. "app@3x" : "unpackage/res/icons/180x180.png",
  98. "notification@2x" : "unpackage/res/icons/40x40.png",
  99. "notification@3x" : "unpackage/res/icons/60x60.png",
  100. "settings@2x" : "unpackage/res/icons/58x58.png",
  101. "settings@3x" : "unpackage/res/icons/87x87.png",
  102. "spotlight@2x" : "unpackage/res/icons/80x80.png",
  103. "spotlight@3x" : "unpackage/res/icons/120x120.png"
  104. }
  105. }
  106. },
  107. "splashscreen" : {
  108. "android" : {
  109. "hdpi" : "C:/Users/Administrator/Desktop/安卓启动页/用所选项目新建的文件夹/480_762.png",
  110. "xhdpi" : "C:/Users/Administrator/Desktop/安卓启动页/用所选项目新建的文件夹/720_1242.png",
  111. "xxhdpi" : "C:/Users/Administrator/Desktop/安卓启动页/用所选项目新建的文件夹/1080_1882.png"
  112. },
  113. "ios" : {
  114. "iphone" : {
  115. "portrait-896h@3x" : "",
  116. "landscape-896h@3x" : "",
  117. "portrait-896h@2x" : "",
  118. "landscape-896h@2x" : "",
  119. "iphonex" : "",
  120. "iphonexl" : "",
  121. "retina55" : "",
  122. "retina55l" : "",
  123. "retina47" : "",
  124. "retina47l" : "",
  125. "retina40l" : "",
  126. "retina40" : "",
  127. "retina35" : ""
  128. },
  129. "ipad" : {
  130. "portrait-1366h@2x" : "",
  131. "landscape-1366h@2x" : "",
  132. "portrait-1194h@2" : "/Users/stav/Downloads/开屏图/ipad.png",
  133. "landscape-1194h@2x" : "",
  134. "portrait-1112h@2x" : "",
  135. "landscape-1112h@2x" : "",
  136. "portrait-retina7" : "",
  137. "landscape-retina7" : "",
  138. "portrait7" : "",
  139. "landscape7" : "",
  140. "portrait-1194h@2x" : ""
  141. }
  142. },
  143. "androidStyle" : "default",
  144. "iosStyle" : "common"
  145. }
  146. },
  147. "uniStatistics" : {
  148. "enable" : true
  149. },
  150. "locales" : {
  151. "en" : {
  152. "name" : "WEI-GEIDCO",
  153. "description" : "World of Energy Interconnection",
  154. "android" : {},
  155. "ios" : {}
  156. },
  157. "zh" : {
  158. "name" : "能联全球",
  159. "description" : "发展合作平台",
  160. "android" : {},
  161. "ios" : {}
  162. }
  163. }
  164. },
  165. // "nvueCompiler": "uni-app"
  166. // "nvue": {
  167. // "flex-direction": "row"
  168. // }
  169. "uni-app" : {
  170. "scripts" : {
  171. "h5-weixin" : {
  172. "title" : "微信服务号",
  173. "BROWSER" : "Chrome",
  174. "env" : {
  175. "UNI_PLATFORM" : "h5"
  176. },
  177. "define" : {
  178. "H5-WEIXIN" : true
  179. }
  180. }
  181. }
  182. },
  183. /* SDK配置 */
  184. "quickapp" : {},
  185. /* 快应用特有相关 */
  186. "mp-weixin" : {
  187. /* 小程序特有相关 */
  188. "usingComponents" : true,
  189. "appid" : "",
  190. // 这里添加微信小程序appid
  191. "setting" : {
  192. "urlCheck" : true,
  193. "minified" : true,
  194. "postcss" : true,
  195. "es6" : true
  196. },
  197. "permission" : {},
  198. "plugins" : {},
  199. // 根据具体情况填写version(版本号)和provider(插件APPID)
  200. // "live-player-plugin" : {
  201. // "version" : "1.0.16",
  202. // "provider" : "wx2b03c6e691cd7370"
  203. // }
  204. "uniStatistics" : {
  205. "enable" : true
  206. }
  207. },
  208. //页面js加载超时时间(超时后展示 error 对应的组件)
  209. "mp-qq" : {
  210. "setting" : {
  211. "minified" : false,
  212. "urlCheck" : false
  213. },
  214. "appid" : "", // 这里添加QQ小程序 appid
  215. "uniStatistics" : {
  216. "enable" : true
  217. }
  218. },
  219. "uniStatistics" : {
  220. "enable" : true
  221. },
  222. "mp-alipay" : {
  223. "uniStatistics" : {
  224. "enable" : true
  225. }
  226. },
  227. "mp-baidu" : {
  228. "uniStatistics" : {
  229. "enable" : true
  230. }
  231. },
  232. "mp-toutiao" : {
  233. "uniStatistics" : {
  234. "enable" : true
  235. }
  236. },
  237. "h5" : {
  238. "router" : {
  239. "mode" : "hash",
  240. "base" : ""
  241. },
  242. "title" : "全球能源互联网",
  243. "devServer" : {
  244. //关闭ip检查 (用于会议签到机接口调用)
  245. "disableHostCheck" : true,
  246. // 设置代理
  247. "hot" : true, //热加载
  248. "host" : "0.0.0.0", //ip地址
  249. "port" : 8080, //端口
  250. "https" : false, //false关闭https,true为开启
  251. "open" : true, //自动打开浏览器
  252. "proxy" : {
  253. "/api" : {
  254. "target" : "http://m.geidcp.com/", //手机调试
  255. // "target" : "http://172.16.1.159:7000/", //手机调试
  256. "changeOrigin" : true,
  257. "pathRewrite" : {
  258. "^/api" : "/" //这里理解成用‘/api’代替target里面的地址,后面组件中我们掉接口时直接用api代替 比如我要调用'http://40.00.100.100:3002/user/add',直接写‘/api/user/add’即可
  259. }
  260. }
  261. }
  262. },
  263. "optimization" : {
  264. "treeShaking" : {
  265. "enable" : false
  266. }
  267. },
  268. "domain" : "8.8.20.112:19001"
  269. }
  270. }
  271. // "domain" : "10.0.1.159:9110"
  272. /* SDK配置 */