components_ecologicalBigDataPlatform_vue.html 71 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417
  1. <!--********************************************************************
  2. * Copyright© 2000 - 2021 SuperMap Software Co.Ltd. All rights reserved.
  3. *********************************************************************-->
  4. <!DOCTYPE html>
  5. <html>
  6. <head>
  7. <meta charset="UTF-8" />
  8. <title data-i18n="resources.title_ecologicalBigDataPlatform_Vue"></title>
  9. <script type="text/javascript" include="vue" src="../js/include-web.js"></script>
  10. <script
  11. include="echarts-vue,ant-design-vue,iclient-mapboxgl-vue,mapbox-gl-enhance"
  12. src="../../dist/mapboxgl/include-mapboxgl.js"
  13. ></script>
  14. <style>
  15. #main {
  16. margin: 0 auto;
  17. width: 100%;
  18. height: 100vh;
  19. overflow: hidden;
  20. box-sizing: border-box;
  21. }
  22. @media screen and (max-width: 992px) {
  23. #main {
  24. overflow: auto;
  25. }
  26. }
  27. @media screen and (max-height: 640px) {
  28. #main {
  29. overflow: auto;
  30. }
  31. }
  32. </style>
  33. </head>
  34. <body style="margin: 0; background: #011635ff">
  35. <div id="main">
  36. <sm-layout-header>
  37. <a-row>
  38. <a-col :span="16" :offset="4">
  39. <sm-text title="XX生态大数据平台"></sm-text>
  40. </a-col>
  41. <a-col :span="4">
  42. <sm-time-text time-type="date+second+week"></sm-time-text>
  43. </a-col>
  44. </a-row>
  45. </sm-layout-header>
  46. <a-row style="height: 100%">
  47. <a-col :span="4">
  48. <sm-border type="border1" class="container">
  49. <sm-text
  50. class="container-title"
  51. background="rgba(0,0,0,0)"
  52. text-color="#C5D6E8"
  53. :font-style="{'fontSize': 24,
  54. 'lineHeight': 1.5,
  55. 'fontWeight': 'normal',
  56. 'justifyContent': 'center',
  57. 'textAlign': 'center',
  58. 'textIndent': 0,
  59. 'fontFamily': '微软雅黑'}"
  60. title="地区介绍"
  61. ></sm-text>
  62. <sm-text
  63. class="container-content"
  64. background="rgba(0,0,0,0)"
  65. text-color="#C5D6E8"
  66. :font-style="{'fontSize': 24,
  67. 'lineHeight': 1.5,
  68. 'fontWeight': 'normal',
  69. 'justifyContent': 'center',
  70. 'textAlign': 'center',
  71. 'textIndent': 0,
  72. 'fontFamily': '微软雅黑'}"
  73. title="XX州是XX省的自治州,位于XX省东南部。地处XX与XX交界处。具有大陆性季风气候的特点。全州总面积XX平方米。下辖X县、X市,总人口约为XX万人。"
  74. ></sm-text>
  75. </sm-border>
  76. <sm-border type="border1" class="container">
  77. <sm-text
  78. class="container-title"
  79. background="rgba(0,0,0,0)"
  80. text-color="#C5D6E8"
  81. :font-style="{'fontSize': 24,
  82. 'lineHeight': 1.5,
  83. 'fontWeight': 'normal',
  84. 'justifyContent': 'center',
  85. 'textAlign': 'center',
  86. 'textIndent': 0,
  87. 'fontFamily': '微软雅黑'}"
  88. title="水域概况"
  89. ></sm-text>
  90. <sm-text-list v-bind="textlistPropDatas"></sm-text-list>>
  91. </sm-border>
  92. <sm-border type="border1" class="container">
  93. <sm-text
  94. class="container-title"
  95. background="rgba(0,0,0,0)"
  96. text-color="#C5D6E8"
  97. :font-style="{'fontSize': 24,
  98. 'lineHeight': 1.5,
  99. 'fontWeight': 'normal',
  100. 'justifyContent': 'center',
  101. 'textAlign': 'center',
  102. 'textIndent': 0,
  103. 'fontFamily': '微软雅黑'}"
  104. title="水质信息"
  105. ></sm-text>
  106. <a-row>
  107. <a-col :span="10">
  108. <sm-liquid-fill class="liquid-ball1" v-bind="liquidPropDatas" />
  109. </a-col>
  110. <a-col :span="14">
  111. <sm-text
  112. title="水质达标率80%,水质总体表现较为一般,主要污染原因为PH超标,请个监测站做好监测工作"
  113. ></sm-text>
  114. <a-row>
  115. <a-col :span="8">
  116. <sm-liquid-fill v-bind="liquidPropDatas" />
  117. </a-col>
  118. <a-col :span="14" :offset="2">
  119. <sm-indicator v-bind="indicatorPropDatas"></sm-indicator>
  120. </a-col>
  121. </a-row>
  122. </a-col>
  123. </a-row>
  124. </sm-border>
  125. </a-col>
  126. <a-col :span="4">
  127. <sm-border type="border1" class="container">
  128. <sm-text
  129. class="container-title"
  130. background="rgba(0,0,0,0)"
  131. text-color="#C5D6E8"
  132. :font-style="{'fontSize': 24,
  133. 'lineHeight': 1.5,
  134. 'fontWeight': 'normal',
  135. 'justifyContent': 'center',
  136. 'textAlign': 'center',
  137. 'textIndent': 0,
  138. 'fontFamily': '微软雅黑'}"
  139. title="生态类型与分布"
  140. ></sm-text>
  141. <a-row>
  142. <a-col :span="12">
  143. <sm-chart class="chartXBar" v-bind="chartXBarPropDatas"></sm-chart>
  144. </a-col>
  145. <a-col :span="11" :offset="1">
  146. <sm-chart class="chart-pie" v-bind="chartPiePropDatas"></sm-chart>
  147. </a-col>
  148. </a-row>
  149. </sm-border>
  150. <sm-border type="border1" class="container">
  151. <sm-text
  152. class="container-title"
  153. background="rgba(0,0,0,0)"
  154. text-color="#C5D6E8"
  155. :font-style="{'fontSize': 24,
  156. 'lineHeight': 1.5,
  157. 'fontWeight': 'normal',
  158. 'justifyContent': 'center',
  159. 'textAlign': 'center',
  160. 'textIndent': 0,
  161. 'fontFamily': '微软雅黑'}"
  162. title="检测站点概况"
  163. ></sm-text>
  164. <a-row>
  165. <a-col :span="9">
  166. <sm-text-list class="textlist2" v-bind="textlistPropDatas2"></sm-text-list>
  167. </a-col>
  168. <a-col :span="14" :offset="1">
  169. <a-row class="indicator-box">
  170. <a-col :span="12"
  171. ><sm-indicator v-bind="indicatorPropDatas30"></sm-indicator
  172. ></a-col>
  173. <a-col :span="12" class="indicator-box-right">
  174. <sm-indicator v-bind="indicatorPropDatas28"></sm-indicator>
  175. <sm-indicator v-bind="indicatorPropDatas2"></sm-indicator>
  176. </a-col>
  177. </a-row>
  178. <a-row>
  179. <sm-chart class="chartLine1" v-bind="chartLinePropDatas1"></sm-chart>
  180. </a-row>
  181. </a-col>
  182. </a-row>
  183. </sm-border>
  184. <sm-border type="border1" class="container">
  185. <sm-text
  186. class="container-title"
  187. background="rgba(0,0,0,0)"
  188. text-color="#C5D6E8"
  189. :font-style="{'fontSize': 24,
  190. 'lineHeight': 1.5,
  191. 'fontWeight': 'normal',
  192. 'justifyContent': 'center',
  193. 'textAlign': 'center',
  194. 'textIndent': 0,
  195. 'fontFamily': '微软雅黑'}"
  196. title="储水量"
  197. ></sm-text>
  198. <a-row>
  199. <sm-chart class="chartLineCommon" v-bind="chartLineCommon"></sm-chart>
  200. </a-row>
  201. </sm-border>
  202. </a-col>
  203. <a-col :span="8" class="center-iframe-grid">
  204. <a-row style="height: 100%;">
  205. <a-col style="height: 100%;">
  206. <sm-iframe v-bind="iframePropDatas"></sm-iframe>
  207. </a-col>
  208. </a-row>
  209. </a-col>
  210. <a-col :span="4">
  211. <sm-border type="border1" class="container">
  212. <sm-text
  213. class="container-title"
  214. background="rgba(0,0,0,0)"
  215. text-color="#C5D6E8"
  216. :font-style="{'fontSize': 24,
  217. 'lineHeight': 1.5,
  218. 'fontWeight': 'normal',
  219. 'justifyContent': 'center',
  220. 'textAlign': 'center',
  221. 'textIndent': 0,
  222. 'fontFamily': '微软雅黑'}"
  223. title="全州草蓄平衡压力趋势"
  224. ></sm-text>
  225. <a-row>
  226. <sm-chart class="chartLineCommon" v-bind="chartLineCommon"></sm-chart>
  227. </a-row>
  228. </sm-border>
  229. <sm-border type="border1" class="container">
  230. <sm-text
  231. class="container-title"
  232. background="rgba(0,0,0,0)"
  233. text-color="#C5D6E8"
  234. :font-style="{'fontSize': 24,
  235. 'lineHeight': 1.5,
  236. 'fontWeight': 'normal',
  237. 'justifyContent': 'center',
  238. 'textAlign': 'center',
  239. 'textIndent': 0,
  240. 'fontFamily': '微软雅黑'}"
  241. title="人类扰动趋势"
  242. ></sm-text>
  243. <a-row>
  244. <sm-chart class="chartLineCommon" v-bind="chartLineCommon"></sm-chart>
  245. </a-row>
  246. </sm-border>
  247. <sm-border type="border1" class="container">
  248. <sm-text
  249. class="container-title"
  250. background="rgba(0,0,0,0)"
  251. text-color="#C5D6E8"
  252. :font-style="{'fontSize': 24,
  253. 'lineHeight': 1.5,
  254. 'fontWeight': 'normal',
  255. 'justifyContent': 'center',
  256. 'textAlign': 'center',
  257. 'textIndent': 0,
  258. 'fontFamily': '微软雅黑'}"
  259. title="资金补偿"
  260. ></sm-text>
  261. <a-row>
  262. <sm-chart class="chartGauge" v-bind="chartGaugePropDatas"></sm-chart>
  263. </a-row>
  264. </sm-border>
  265. </a-col>
  266. <a-col :span="4">
  267. <sm-border type="border1" class="container">
  268. <sm-text
  269. class="container-title"
  270. background="rgba(0,0,0,0)"
  271. text-color="#C5D6E8"
  272. :font-style="{'fontSize': 24,
  273. 'lineHeight': 1.5,
  274. 'fontWeight': 'normal',
  275. 'justifyContent': 'center',
  276. 'textAlign': 'center',
  277. 'textIndent': 0,
  278. 'fontFamily': '微软雅黑'}"
  279. title="实时气象"
  280. ></sm-text>
  281. <a-row>
  282. <a-col :span="6" :offset="2">
  283. <sm-image v-bind="imagePropDatas"></sm-image>
  284. </a-col>
  285. <a-col :span="14" :offset="1">
  286. <sm-indicator v-bind="indicatorPropDatas"></sm-indicator>
  287. <sm-indicator v-bind="indicatorPropDatas"></sm-indicator>
  288. </a-col>
  289. <a-row>
  290. <a-col :span="20" :offset="2" class="temperature-text">
  291. <sm-text title="小雨,温度6-30℃,舒适度较高。"></sm-text>
  292. </a-col>
  293. </a-row>
  294. </a-row>
  295. </sm-border>
  296. <sm-border type="border1" class="container">
  297. <sm-text
  298. class="container-title"
  299. background="rgba(0,0,0,0)"
  300. text-color="#C5D6E8"
  301. :font-style="{'fontSize': 24,
  302. 'lineHeight': 1.5,
  303. 'fontWeight': 'normal',
  304. 'justifyContent': 'center',
  305. 'textAlign': 'center',
  306. 'textIndent': 0,
  307. 'fontFamily': '微软雅黑'}"
  308. title="全州月度植被STD/MEAN平均"
  309. ></sm-text>
  310. <a-row>
  311. <sm-chart class="chartLineCommon" v-bind="chartLineCommon"></sm-chart>
  312. </a-row>
  313. </sm-border>
  314. <sm-border type="border1" class="container">
  315. <sm-text
  316. class="container-title"
  317. background="rgba(0,0,0,0)"
  318. text-color="#C5D6E8"
  319. :font-style="{'fontSize': 24,
  320. 'lineHeight': 1.5,
  321. 'fontWeight': 'normal',
  322. 'justifyContent': 'center',
  323. 'textAlign': 'center',
  324. 'textIndent': 0,
  325. 'fontFamily': '微软雅黑'}"
  326. title="全州历年植被变化趋势"
  327. ></sm-text>
  328. <a-row>
  329. <sm-chart class="chartLineCommon" v-bind="chartLineCommon"></sm-chart>
  330. </a-row>
  331. </sm-border>
  332. </a-col>
  333. </a-row>
  334. </div>
  335. <script>
  336. //本示例数据纯属虚构
  337. new Vue({
  338. el: '#main',
  339. data() {
  340. return {
  341. textlistPropDatas: {
  342. autoResize: true,
  343. content: [
  344. { 站台: '漠河', 省份: '黑龙江1', 海拔: '296', 平均最低气温: '-47', 最热七天气温: '29' },
  345. {
  346. 站台: '塔河',
  347. 省份: '黑龙江2',
  348. 海拔: '357.4',
  349. 平均最低气温: '-42',
  350. 最热七天气温: '29'
  351. },
  352. {
  353. 站台: '呼玛',
  354. 省份: '黑龙江3',
  355. 海拔: '177.4',
  356. 平均最低气温: '-42',
  357. 最热七天气温: '30'
  358. },
  359. {
  360. 站台: '额尔古纳右旗',
  361. 省份: '内蒙古1',
  362. 海拔: '581.4',
  363. 平均最低气温: '-42',
  364. 最热七天气温: '29'
  365. },
  366. {
  367. 站台: '图里河',
  368. 省份: '内蒙古2',
  369. 海拔: '732.6',
  370. 平均最低气温: '-46',
  371. 最热七天气温: '27'
  372. },
  373. {
  374. 站台: '黑河',
  375. 省份: '黑龙江4',
  376. 海拔: '166.4',
  377. 平均最低气温: '-37',
  378. 最热七天气温: '30'
  379. },
  380. {
  381. 站台: '满洲里',
  382. 省份: '内蒙古3',
  383. 海拔: '661.7',
  384. 平均最低气温: '-37',
  385. 最热七天气温: '30'
  386. },
  387. {
  388. 站台: '海拉尔',
  389. 省份: '内蒙古4',
  390. 海拔: '610',
  391. 平均最低气温: '-40',
  392. 最热七天气温: '30'
  393. },
  394. {
  395. 站台: '小二沟',
  396. 省份: '内蒙古5',
  397. 海拔: '286',
  398. 平均最低气温: '-42',
  399. 最热七天气温: '30'
  400. },
  401. {
  402. 站台: '嫩江',
  403. 省份: '黑龙江5',
  404. 海拔: '242.2',
  405. 平均最低气温: '-40',
  406. 最热七天气温: '30'
  407. }
  408. ],
  409. dataset: {},
  410. fontSize: 10,
  411. autoRolling: true,
  412. rows: 6,
  413. columns: [
  414. {
  415. header: '站台',
  416. field: '站台',
  417. sort: false,
  418. defaultSortType: 'none',
  419. fixInfo: { prefix: '', suffix: '' },
  420. width: 25
  421. },
  422. {
  423. header: '海拔',
  424. field: '海拔',
  425. sort: false,
  426. defaultSortType: 'none',
  427. fixInfo: { prefix: '', suffix: '' },
  428. width: 25
  429. },
  430. {
  431. header: '平均最低气温',
  432. field: '平均最低气温',
  433. sort: false,
  434. defaultSortType: 'none',
  435. fixInfo: { prefix: '', suffix: '' },
  436. width: 25
  437. },
  438. {
  439. header: '最热七天气温',
  440. field: '最热七天气温',
  441. sort: false,
  442. defaultSortType: 'none',
  443. fixInfo: { prefix: '', suffix: '' },
  444. width: 25
  445. }
  446. ],
  447. background: 'rgba(0,0,0,0)',
  448. textColor: '#fff',
  449. colorGroup: ['#3fb1e3', '#6be6c1', '#626c91', '#a0a7e6', '#c4ebad'],
  450. headerStyle: {
  451. background: 'rgba(63, 177, 227, 0)',
  452. sortBtnSelectColor: '#626c91',
  453. color: '#fff',
  454. sortBtnColor: '#fff',
  455. show: true,
  456. height: 0
  457. },
  458. rowStyle: {
  459. oddStyle: { background: 'rgba(0, 0, 0, 0)' },
  460. evenStyle: { background: 'rgba(63, 177, 227, 0)' },
  461. height: 0
  462. },
  463. highlightColor: '#01ffff',
  464. thresholdsStyle: [
  465. { type: 'background', data: [] },
  466. { type: 'background', data: [] },
  467. { type: 'background', data: [] },
  468. { type: 'background', data: [] }
  469. ]
  470. },
  471. liquidPropDatas: {
  472. dataType: 'static',
  473. background: 'rgba(0,0,0,0)',
  474. value: 0.8,
  475. percentType: 'percentage',
  476. size: 100,
  477. waveCount: 1,
  478. fontSize: 18,
  479. waveColor: '',
  480. borderColor: '',
  481. backgroundColor: '',
  482. insideLabelColor: '',
  483. labelColor: '',
  484. waveAnimation: false,
  485. frequency: 2,
  486. startTiming: false,
  487. url: '',
  488. textColor: '#fff',
  489. colorGroup: ['#3fb1e3', '#6be6c1', '#626c91', '#a0a7e6', '#c4ebad']
  490. },
  491. indicatorPropDatas: {
  492. background: 'rgba(0,0,0,0)',
  493. textColor: '#fff',
  494. dataType: 'static',
  495. title: '水质同比上月▲',
  496. unit: '%',
  497. num: '13',
  498. animated: false,
  499. duration: 1000,
  500. separator: ',',
  501. mode: 'vertical',
  502. indicatorColor: '#11F16A',
  503. fontSize: '26',
  504. fontWeight: 'bolder',
  505. frequency: 2,
  506. startTiming: false,
  507. url: '',
  508. colorGroup: ['#3fb1e3', '#6be6c1', '#626c91', '#a0a7e6', '#c4ebad'],
  509. numSpacing: 0,
  510. showTitleUnit: true,
  511. numBackground: { color: 'rgba(0, 0, 0, 0)', image: '' },
  512. separatorBackground: false,
  513. decimals: -1,
  514. thresholdsStyle: [],
  515. textFontSize: 18,
  516. titleField: 'title',
  517. unitField: 'unit',
  518. numField: 'num'
  519. },
  520. chartXBarPropDatas: {
  521. background: 'rgba(0,0,0,0)',
  522. textColor: '#fff',
  523. frequency: 2,
  524. startTiming: false,
  525. headerName: '',
  526. iconClass: '',
  527. seriesType: 'xBar',
  528. dataset: { maxFeatures: 20, url: '', type: '' },
  529. datasetOptions: [{ seriesType: 'bar' }],
  530. options: {
  531. yAxis: {
  532. show: true,
  533. type: 'category',
  534. name: '',
  535. nameLocation: 'end',
  536. nameGap: 2,
  537. axisTick: { alignWithLabel: true, show: true },
  538. data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
  539. axisLine: { lineStyle: { color: '#fff' }, show: true },
  540. axisLabel: {
  541. rotate: 0,
  542. fontFamily: 'MicrosoftYaHei',
  543. show: true,
  544. color: '#fff',
  545. fontSize: 12,
  546. align: 'right',
  547. margin: 8
  548. },
  549. splitLine: {
  550. lineStyle: { width: 0.3, type: 'solid', color: '#ccc', opacity: 1 },
  551. show: false
  552. },
  553. boundaryGap: true
  554. },
  555. xAxis: {
  556. type: 'value',
  557. name: '',
  558. nameLocation: 'end',
  559. nameGap: 5,
  560. show: true,
  561. scale: false,
  562. axisLine: { lineStyle: { color: '#fff' }, show: false },
  563. axisLabel: {
  564. rotate: 0,
  565. fontFamily: 'MicrosoftYaHei',
  566. show: false,
  567. color: '#fff',
  568. fontSize: 12,
  569. align: 'center',
  570. margin: 8
  571. },
  572. splitLine: {
  573. lineStyle: { type: 'solid', color: '#ccc', opacity: 1, width: 0.3 },
  574. show: false
  575. },
  576. splitArea: { show: false },
  577. nameTextStyle: { padding: [0, 0, 5, 0] },
  578. axisTick: { show: false }
  579. },
  580. grid: { left: 50, right: 0, top: 10, bottom: 10 },
  581. legend: {
  582. type: 'scroll',
  583. data: ['Y2', 'Y1', 'Y3'],
  584. show: false,
  585. top: 'top',
  586. left: 'center',
  587. textStyle: { color: '#fff', fontSize: 12 }
  588. },
  589. series: [
  590. {
  591. data: ['500', '800', '3000', '3617', '3400', '4200', '1842'],
  592. name: 'Y2',
  593. emphasis: { itemStyle: {} },
  594. stack: 0,
  595. type: 'bar',
  596. barWidth: 10,
  597. animationEasing: 'quadraticIn',
  598. animationEasingUpdate: 'quadraticIn',
  599. label: {
  600. normal: {
  601. position: 'top',
  602. show: false,
  603. textStyle: { fontSize: 12 },
  604. smart: false
  605. }
  606. },
  607. itemStyle: { barBorderRadius: [0, 0, 0, 0] }
  608. },
  609. {
  610. data: ['100', '520', '2000', '3340', '3900', '3300', '2500'],
  611. name: 'Y1',
  612. emphasis: { itemStyle: {} },
  613. stack: 0,
  614. type: 'bar',
  615. barWidth: 10,
  616. animationEasing: 'quadraticIn',
  617. animationEasingUpdate: 'quadraticIn',
  618. label: {
  619. normal: {
  620. position: 'top',
  621. show: false,
  622. textStyle: { fontSize: 12 },
  623. smart: false
  624. }
  625. },
  626. itemStyle: { barBorderRadius: [0, 0, 0, 0] }
  627. },
  628. {
  629. data: ['230', '600', '2200', '2500', '3000', '4000', '1000'],
  630. name: 'Y3',
  631. emphasis: { itemStyle: {} },
  632. stack: 0,
  633. type: 'bar',
  634. barWidth: 10,
  635. animationEasing: 'quadraticIn',
  636. animationEasingUpdate: 'quadraticIn',
  637. label: {
  638. normal: {
  639. position: 'top',
  640. show: false,
  641. textStyle: { fontSize: 12 },
  642. smart: false
  643. }
  644. },
  645. itemStyle: { barBorderRadius: [0, 0, 0, 0] }
  646. }
  647. ],
  648. tooltip: {
  649. axisPointer: { shadowStyle: {}, type: 'shadow' },
  650. trigger: 'axis',
  651. textStyle: { align: 'left' }
  652. },
  653. textStyle: { fontFamily: 'Microsoft YaHei Light' },
  654. title: {
  655. padding: [5, 0, 0, 20],
  656. x: 'left',
  657. text: '',
  658. textStyle: { fontFamily: 'Microsoft YaHei Light', fontWeight: '100' }
  659. }
  660. },
  661. colorGroup: ['#3fb1e3', '#6be6c1', '#626c91', '#a0a7e6', '#c4ebad'],
  662. isGradient: false,
  663. animationDelay: true,
  664. highlightColor: '#00eeff',
  665. thresholdConfig: [
  666. { show: false, type: 'data', dataConfig: [], rankConfig: [] },
  667. { show: false, type: 'data', dataConfig: [], rankConfig: [] },
  668. { show: false, type: 'data', dataConfig: [], rankConfig: [] }
  669. ]
  670. },
  671. chartPiePropDatas: {
  672. background: 'rgba(0,0,0,0)',
  673. textColor: '#fff',
  674. frequency: 2,
  675. startTiming: false,
  676. seriesType: 'pie',
  677. headerName: '',
  678. iconClass: '',
  679. dataset: { maxFeatures: 20, url: '', type: '' },
  680. datasetOptions: [{ seriesType: 'pie' }],
  681. options: {
  682. tooltip: { trigger: 'item', formatter: '{a} <br/>{b}: {c} ({d}%)' },
  683. legend: {
  684. type: 'scroll',
  685. orient: 'vertical',
  686. data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
  687. show: false,
  688. top: 'top',
  689. left: 'left',
  690. textStyle: { color: '#fff', fontSize: 12 }
  691. },
  692. series: [
  693. {
  694. name: 'demo',
  695. type: 'pie',
  696. radius: '70%',
  697. avoidLabelOverlap: true,
  698. label: {
  699. normal: {
  700. show: true,
  701. position: 'outside',
  702. textStyle: { fontSize: 12 },
  703. formatter: '{b}: {c}'
  704. },
  705. emphasis: { show: true, textStyle: { fontSize: '30', fontWeight: 'bold' } }
  706. },
  707. labelLine: { show: true },
  708. data: [
  709. { value: 500, name: 'Mon' },
  710. { value: 800, name: 'Tue' },
  711. { value: 3000, name: 'Wed' },
  712. { value: 3617, name: 'Thu' },
  713. { value: 3400, name: 'Fri' },
  714. { value: 4200, name: 'Sat' },
  715. { value: 1842, name: 'Sun' }
  716. ],
  717. clockwise: true,
  718. maxLabels: '',
  719. animationEasing: 'quadraticIn',
  720. animationEasingUpdate: 'quadraticIn',
  721. startAngle: 90,
  722. center: ['50%', '50%']
  723. }
  724. ]
  725. },
  726. colorGroup: ['#3fb1e3', '#6be6c1', '#626c91', '#a0a7e6', '#c4ebad'],
  727. isGradient: false,
  728. autoPlay: false,
  729. animationDelay: true,
  730. highlightColor: '#00eeff',
  731. thresholdConfig: [{ show: false, type: 'data', dataConfig: [], rankConfig: [] }]
  732. },
  733. textlistPropDatas2: {
  734. autoResize: true,
  735. content: [
  736. { 站台: '漠河', 省份: '黑龙江1', 海拔: '296', 平均最低气温: '-47', 最热七天气温: '29' },
  737. {
  738. 站台: '塔河',
  739. 省份: '黑龙江2',
  740. 海拔: '357.4',
  741. 平均最低气温: '-42',
  742. 最热七天气温: '29'
  743. },
  744. {
  745. 站台: '呼玛',
  746. 省份: '黑龙江3',
  747. 海拔: '177.4',
  748. 平均最低气温: '-42',
  749. 最热七天气温: '30'
  750. },
  751. {
  752. 站台: '额尔古纳右旗',
  753. 省份: '内蒙古1',
  754. 海拔: '581.4',
  755. 平均最低气温: '-42',
  756. 最热七天气温: '29'
  757. },
  758. {
  759. 站台: '图里河',
  760. 省份: '内蒙古2',
  761. 海拔: '732.6',
  762. 平均最低气温: '-46',
  763. 最热七天气温: '27'
  764. },
  765. {
  766. 站台: '黑河',
  767. 省份: '黑龙江4',
  768. 海拔: '166.4',
  769. 平均最低气温: '-37',
  770. 最热七天气温: '30'
  771. },
  772. {
  773. 站台: '满洲里',
  774. 省份: '内蒙古3',
  775. 海拔: '661.7',
  776. 平均最低气温: '-37',
  777. 最热七天气温: '30'
  778. },
  779. {
  780. 站台: '海拉尔',
  781. 省份: '内蒙古4',
  782. 海拔: '610',
  783. 平均最低气温: '-40',
  784. 最热七天气温: '30'
  785. },
  786. {
  787. 站台: '小二沟',
  788. 省份: '内蒙古5',
  789. 海拔: '286',
  790. 平均最低气温: '-42',
  791. 最热七天气温: '30'
  792. },
  793. {
  794. 站台: '嫩江',
  795. 省份: '黑龙江5',
  796. 海拔: '242.2',
  797. 平均最低气温: '-40',
  798. 最热七天气温: '30'
  799. }
  800. ],
  801. dataset: {},
  802. fontSize: 11,
  803. autoRolling: true,
  804. rows: 6,
  805. columns: [
  806. {
  807. header: '站台',
  808. field: '站台',
  809. sort: false,
  810. defaultSortType: 'none',
  811. fixInfo: { prefix: '', suffix: '' },
  812. width: 0
  813. },
  814. {
  815. header: '省份',
  816. field: '省份',
  817. sort: false,
  818. defaultSortType: 'none',
  819. fixInfo: { prefix: '', suffix: '' },
  820. width: 0
  821. }
  822. ],
  823. background: 'rgba(0,0,0,0)',
  824. textColor: '#fff',
  825. colorGroup: ['#3fb1e3', '#6be6c1', '#626c91', '#a0a7e6', '#c4ebad'],
  826. headerStyle: {
  827. background: 'rgba(63, 177, 227, 0)',
  828. sortBtnSelectColor: '#626c91',
  829. color: '#fff',
  830. sortBtnColor: '#fff',
  831. show: true,
  832. height: 0
  833. },
  834. rowStyle: {
  835. oddStyle: { background: 'rgba(0, 0, 0, 0.01)' },
  836. evenStyle: { background: 'rgba(63, 177, 227, 0)' },
  837. height: 0
  838. },
  839. highlightColor: '#01ffff',
  840. thresholdsStyle: [
  841. { type: 'background', data: [] },
  842. { type: 'background', data: [] }
  843. ]
  844. },
  845. indicatorPropDatas30: {
  846. background: '#083381',
  847. textColor: '#fff',
  848. dataType: 'static',
  849. title: '水质监测点',
  850. unit: '',
  851. num: '30',
  852. animated: false,
  853. duration: 1000,
  854. separator: ',',
  855. mode: 'vertical',
  856. indicatorColor: '#FFFFFF',
  857. fontSize: '26',
  858. fontWeight: 'bolder',
  859. frequency: 2,
  860. startTiming: false,
  861. url: '',
  862. colorGroup: ['#3fb1e3', '#6be6c1', '#626c91', '#a0a7e6', '#c4ebad'],
  863. numSpacing: 0,
  864. showTitleUnit: true,
  865. numBackground: { color: 'rgba(0, 0, 0, 0)', image: '' },
  866. separatorBackground: false,
  867. decimals: -1,
  868. thresholdsStyle: [],
  869. textFontSize: 18,
  870. titleField: 'title',
  871. unitField: 'unit',
  872. numField: 'num'
  873. },
  874. indicatorPropDatas28: {
  875. background: '#116A66',
  876. textColor: '#fff',
  877. dataType: 'static',
  878. title: '正常',
  879. unit: '',
  880. num: '28',
  881. animated: false,
  882. duration: 1000,
  883. separator: ',',
  884. mode: 'horizontal',
  885. indicatorColor: '#FFFFFF',
  886. fontSize: '26',
  887. fontWeight: 'bolder',
  888. frequency: 2,
  889. startTiming: false,
  890. url: '',
  891. colorGroup: ['#3fb1e3', '#6be6c1', '#626c91', '#a0a7e6', '#c4ebad'],
  892. numSpacing: 0,
  893. showTitleUnit: true,
  894. numBackground: { color: 'rgba(0, 0, 0, 0)', image: '' },
  895. separatorBackground: false,
  896. decimals: -1,
  897. thresholdsStyle: [],
  898. textFontSize: 18,
  899. titleField: 'title',
  900. unitField: 'unit',
  901. numField: 'num'
  902. },
  903. indicatorPropDatas2: {
  904. background: '#741B21',
  905. textColor: '#fff',
  906. dataType: 'static',
  907. title: '异常',
  908. unit: '',
  909. num: '2',
  910. animated: false,
  911. duration: 1000,
  912. separator: ',',
  913. mode: 'horizontal',
  914. indicatorColor: '#FFFFFF',
  915. fontSize: '26',
  916. fontWeight: 'bolder',
  917. frequency: 2,
  918. startTiming: false,
  919. url: '',
  920. colorGroup: ['#3fb1e3', '#6be6c1', '#626c91', '#a0a7e6', '#c4ebad'],
  921. numSpacing: 0,
  922. showTitleUnit: true,
  923. numBackground: { color: 'rgba(0, 0, 0, 0)', image: '' },
  924. separatorBackground: false,
  925. decimals: -1,
  926. thresholdsStyle: [],
  927. textFontSize: 18,
  928. titleField: 'title',
  929. unitField: 'unit',
  930. numField: 'num'
  931. },
  932. chartLinePropDatas1: {
  933. background: 'rgba(0,0,0,0)',
  934. textColor: '#fff',
  935. frequency: 2,
  936. startTiming: false,
  937. iconClass: '',
  938. seriesType: 'line',
  939. headerName: '',
  940. dataset: { maxFeatures: 20, url: '', type: '' },
  941. datasetOptions: [{ seriesType: 'line' }],
  942. options: {
  943. series: [
  944. {
  945. data: ['3900', '3340', '3300', '2500', '2000', '520', '100'],
  946. name: 'Y1',
  947. emphasis: { itemStyle: {} },
  948. stack: 0,
  949. type: 'line',
  950. smooth: false,
  951. animationEasing: 'quadraticIn',
  952. animationEasingUpdate: 'quadraticIn',
  953. label: {
  954. normal: {
  955. position: 'top',
  956. show: false,
  957. textStyle: { fontSize: 12 },
  958. smart: false
  959. }
  960. },
  961. showAllSymbol: 'auto',
  962. symbol: 'emptyCircle',
  963. symbolSize: 8,
  964. itemStyle: { borderWidth: 2 },
  965. lineStyle: { color: '#3fb1e3' }
  966. },
  967. {
  968. data: ['3400', '3617', '4200', '1842', '3000', '800', '500'],
  969. name: 'Y2',
  970. emphasis: { itemStyle: {} },
  971. stack: 0,
  972. type: 'line',
  973. smooth: false,
  974. animationEasing: 'quadraticIn',
  975. animationEasingUpdate: 'quadraticIn',
  976. label: {
  977. normal: {
  978. position: 'top',
  979. show: false,
  980. textStyle: { fontSize: 12 },
  981. smart: false
  982. }
  983. },
  984. showAllSymbol: 'auto',
  985. symbol: 'emptyCircle',
  986. symbolSize: 8,
  987. itemStyle: { borderWidth: 2 },
  988. lineStyle: { color: '#6be6c1' }
  989. }
  990. ],
  991. yAxis: {
  992. axisLabel: {
  993. rotate: 0,
  994. fontFamily: 'MicrosoftYaHei',
  995. show: false,
  996. color: '#fff',
  997. fontSize: 12,
  998. align: 'right',
  999. margin: 8
  1000. },
  1001. axisLine: { lineStyle: { color: '#fff' }, show: false },
  1002. name: '',
  1003. show: true,
  1004. splitLine: {
  1005. lineStyle: { width: 0.3, type: 'solid', color: '#ccc', opacity: 1 },
  1006. show: true
  1007. },
  1008. splitArea: { show: false },
  1009. nameGap: 5,
  1010. nameLocation: 'end',
  1011. type: 'value',
  1012. nameTextStyle: { padding: [0, 0, 5, 0] },
  1013. axisTick: { show: false }
  1014. },
  1015. xAxis: {
  1016. axisLabel: {
  1017. rotate: 0,
  1018. fontFamily: 'MicrosoftYaHei',
  1019. show: true,
  1020. color: '#fff',
  1021. fontSize: 12,
  1022. align: 'center',
  1023. margin: 8
  1024. },
  1025. data: ['Fri', 'Thu', 'Sat', 'Sun', 'Wed', 'Tue', 'Mon'],
  1026. axisLine: { lineStyle: { color: '#fff' }, show: true },
  1027. show: true,
  1028. name: '',
  1029. axisTick: { alignWithLabel: true, show: false },
  1030. splitLine: {
  1031. lineStyle: { type: 'solid', color: '#ccc', opacity: 1, width: 0.3 },
  1032. show: false
  1033. },
  1034. nameGap: 2,
  1035. nameLocation: 'end',
  1036. type: 'category',
  1037. boundaryGap: true
  1038. },
  1039. grid: { top: 10, left: 10, bottom: 35, right: 0 },
  1040. legend: {
  1041. data: ['Y1', 'Y2'],
  1042. show: false,
  1043. textStyle: { color: '#fff', fontSize: 12 },
  1044. type: 'scroll',
  1045. top: 'top',
  1046. left: 'center'
  1047. },
  1048. tooltip: {
  1049. axisPointer: { shadowStyle: {}, type: 'line' },
  1050. trigger: 'axis',
  1051. textStyle: { align: 'left' }
  1052. },
  1053. textStyle: { fontFamily: 'Microsoft YaHei Light' },
  1054. title: {
  1055. padding: [5, 0, 0, 20],
  1056. x: 'left',
  1057. text: '',
  1058. textStyle: { fontFamily: 'Microsoft YaHei Light', fontWeight: '100' }
  1059. }
  1060. },
  1061. colorGroup: ['#3fb1e3', '#6be6c1', '#626c91', '#a0a7e6', '#c4ebad'],
  1062. isGradient: false,
  1063. animationDelay: true,
  1064. highlightColor: '#00eeff',
  1065. thresholdConfig: [
  1066. { show: false, type: 'data', dataConfig: [], rankConfig: [] },
  1067. { show: false, type: 'data', dataConfig: [], rankConfig: [] }
  1068. ]
  1069. },
  1070. chartLineCommon: {
  1071. background: 'rgba(0,0,0,0)',
  1072. textColor: '#fff',
  1073. frequency: 2,
  1074. startTiming: false,
  1075. iconClass: '',
  1076. seriesType: 'line',
  1077. headerName: '',
  1078. dataset: { maxFeatures: 20, url: '', type: '' },
  1079. datasetOptions: [{ seriesType: 'line' }],
  1080. options: {
  1081. series: [
  1082. {
  1083. data: ['3900', '3340', '3300', '2500', '2000', '520', '100'],
  1084. name: 'Y1',
  1085. emphasis: { itemStyle: {} },
  1086. stack: 0,
  1087. type: 'line',
  1088. smooth: true,
  1089. animationEasing: 'quadraticIn',
  1090. animationEasingUpdate: 'quadraticIn',
  1091. label: {
  1092. normal: {
  1093. position: 'top',
  1094. show: false,
  1095. textStyle: { fontSize: 12 },
  1096. smart: false
  1097. }
  1098. },
  1099. showAllSymbol: 'auto',
  1100. symbol: 'circle',
  1101. symbolSize: 8,
  1102. itemStyle: { borderWidth: 2 },
  1103. lineStyle: { color: '#3fb1e3' },
  1104. areaStyle: { opacity: 0.7 }
  1105. },
  1106. {
  1107. data: ['3400', '3617', '4200', '1842', '3000', '800', '500'],
  1108. name: 'Y2',
  1109. emphasis: { itemStyle: {} },
  1110. stack: 0,
  1111. type: 'line',
  1112. smooth: true,
  1113. animationEasing: 'quadraticIn',
  1114. animationEasingUpdate: 'quadraticIn',
  1115. label: {
  1116. normal: {
  1117. position: 'top',
  1118. show: false,
  1119. textStyle: { fontSize: 12 },
  1120. smart: false
  1121. }
  1122. },
  1123. showAllSymbol: 'auto',
  1124. symbol: 'circle',
  1125. symbolSize: 8,
  1126. itemStyle: { borderWidth: 2 },
  1127. lineStyle: { color: '#6be6c1' },
  1128. areaStyle: { opacity: 0.7 }
  1129. }
  1130. ],
  1131. yAxis: {
  1132. axisLabel: {
  1133. rotate: 0,
  1134. fontFamily: 'MicrosoftYaHei',
  1135. show: true,
  1136. color: '#fff',
  1137. fontSize: 12,
  1138. align: 'right',
  1139. margin: 8
  1140. },
  1141. axisLine: { lineStyle: { color: '#fff' }, show: false },
  1142. name: '',
  1143. show: true,
  1144. splitLine: {
  1145. lineStyle: { width: 0.3, type: 'solid', color: '#ccc', opacity: 1 },
  1146. show: true
  1147. },
  1148. splitArea: { show: false },
  1149. nameGap: 5,
  1150. nameLocation: 'end',
  1151. type: 'value',
  1152. nameTextStyle: { padding: [0, 0, 5, 0] },
  1153. axisTick: { show: false }
  1154. },
  1155. xAxis: {
  1156. axisLabel: {
  1157. rotate: 0,
  1158. fontFamily: 'MicrosoftYaHei',
  1159. show: true,
  1160. color: '#fff',
  1161. fontSize: 12,
  1162. align: 'center',
  1163. margin: 8
  1164. },
  1165. data: ['Fri', 'Thu', 'Sat', 'Sun', 'Wed', 'Tue', 'Mon'],
  1166. axisLine: { lineStyle: { color: '#fff' }, show: true },
  1167. show: true,
  1168. name: '',
  1169. axisTick: { alignWithLabel: true, show: false },
  1170. splitLine: {
  1171. lineStyle: { type: 'solid', color: '#ccc', opacity: 1, width: 0.3 },
  1172. show: false
  1173. },
  1174. nameGap: 2,
  1175. nameLocation: 'end',
  1176. type: 'category',
  1177. boundaryGap: true
  1178. },
  1179. grid: { top: 35, left: 50, bottom: 35, right: 20 },
  1180. legend: {
  1181. data: ['Y1', 'Y2'],
  1182. show: false,
  1183. textStyle: { color: '#fff', fontSize: 12 },
  1184. type: 'scroll',
  1185. top: 'top',
  1186. left: 'center'
  1187. },
  1188. tooltip: {
  1189. axisPointer: { shadowStyle: {}, type: 'line' },
  1190. trigger: 'axis',
  1191. textStyle: { align: 'left' }
  1192. },
  1193. textStyle: { fontFamily: 'Microsoft YaHei Light' },
  1194. title: {
  1195. padding: [5, 0, 0, 20],
  1196. x: 'left',
  1197. text: '',
  1198. textStyle: { fontFamily: 'Microsoft YaHei Light', fontWeight: '100' }
  1199. }
  1200. },
  1201. colorGroup: ['#3fb1e3', '#6be6c1', '#626c91', '#a0a7e6', '#c4ebad'],
  1202. isGradient: false,
  1203. animationDelay: true,
  1204. highlightColor: '#00eeff',
  1205. thresholdConfig: [
  1206. { show: false, type: 'data', dataConfig: [], rankConfig: [] },
  1207. { show: false, type: 'data', dataConfig: [], rankConfig: [] }
  1208. ]
  1209. },
  1210. chartGaugePropDatas: {
  1211. dataType: 'static',
  1212. value: 80,
  1213. background: 'rgba(0,0,0,0)',
  1214. textColor: '#fff',
  1215. frequency: 2,
  1216. startTiming: false,
  1217. iconClass: '',
  1218. seriesType: 'gauge',
  1219. headerName: '',
  1220. dataset: { maxFeatures: 20, url: '', type: '', withCredentials: false },
  1221. datasetOptions: [{ seriesType: 'gauge' }],
  1222. options: {
  1223. series: [
  1224. {
  1225. name: '',
  1226. type: 'gauge',
  1227. customType: 'customRingsSeries',
  1228. customOptions: { pointState: 'startPoint', radius: 0.65, color: '' },
  1229. radius: '58%',
  1230. center: ['50%', '50%'],
  1231. startAngle: 90,
  1232. endAngle: -269.9,
  1233. splitNumber: 8,
  1234. hoverAnimation: true,
  1235. axisTick: { show: false },
  1236. splitLine: { length: 20, lineStyle: { width: 5, color: '#2a2e34' } },
  1237. axisLabel: { show: false, distance: 25, fontSize: 14, formatter: '{value}' },
  1238. pointer: { show: false },
  1239. axisLine: { lineStyle: { opacity: 0 } },
  1240. detail: {
  1241. show: true,
  1242. offsetCenter: [0, 0],
  1243. color: '#fff',
  1244. textStyle: { fontSize: 20 }
  1245. },
  1246. data: [{ value: 80, name: '' }],
  1247. animation: false
  1248. },
  1249. {
  1250. name: '吃猪肉频率',
  1251. type: 'pie',
  1252. radius: ['58%', '45%'],
  1253. silent: true,
  1254. clockwise: true,
  1255. startAngle: 90,
  1256. z: 0,
  1257. zlevel: 0,
  1258. label: { normal: { position: 'center' } },
  1259. data: [
  1260. { value: 80, name: '', itemStyle: { normal: {} } },
  1261. {
  1262. value: 46,
  1263. name: '',
  1264. label: { normal: { show: false } },
  1265. itemStyle: { normal: {} }
  1266. }
  1267. ]
  1268. }
  1269. ]
  1270. },
  1271. colorGroup: ['#3fb1e3', '#6be6c1', '#626c91', '#a0a7e6', '#c4ebad']
  1272. },
  1273. imagePropDatas: {
  1274. background: 'rgba(0,0,0,0)',
  1275. src: '../img/background/image7.png',
  1276. repeat: 'center',
  1277. href: '',
  1278. target: '_blank',
  1279. textColor: '#fff',
  1280. colorGroup: ['#3fb1e3', '#6be6c1', '#626c91', '#a0a7e6', '#c4ebad']
  1281. },
  1282. iframePropDatas: {
  1283. src: 'http://support.supermap.com.cn:8090/webgl/examples/webgl/fan.html',
  1284. background: 'rgba(0,0,0,0)',
  1285. textColor: '#fff',
  1286. colorGroup: ['#3fb1e3', '#6be6c1', '#626c91', '#a0a7e6', '#c4ebad']
  1287. }
  1288. };
  1289. },
  1290. mounted() {
  1291. let screenWidth = document.body.clientWidth;
  1292. if (screenWidth <= 540) {
  1293. this.showMap = false;
  1294. }
  1295. }
  1296. });
  1297. </script>
  1298. <style>
  1299. html {
  1300. font-size: 10px;
  1301. }
  1302. .container {
  1303. width: 16vw;
  1304. height: 28vh;
  1305. margin: 20px 8px;
  1306. }
  1307. .container .container-title {
  1308. height: 35px;
  1309. margin-top: -12px;
  1310. font-size: 12px;
  1311. }
  1312. .indicator-box .indicator-box-right .sm-component-indicator {
  1313. width: 100%;
  1314. height: 40px;
  1315. }
  1316. .sm-component-layout-header {
  1317. padding: 0px;
  1318. background: none;
  1319. }
  1320. .sm-component-layout-header .sm-component-text {
  1321. background: none !important;
  1322. display: flex;
  1323. font-size: 22px;
  1324. height: 65px;
  1325. color: #fff !important;
  1326. }
  1327. .chartXBar {
  1328. height: 220px;
  1329. }
  1330. .chartLine1 {
  1331. height: 140px;
  1332. }
  1333. .chartLineCommon {
  1334. height: 220px;
  1335. }
  1336. .chartGauge {
  1337. width: 240px;
  1338. height: 240px;
  1339. margin: 0 auto;
  1340. }
  1341. .center-iframe-grid {
  1342. margin-top: 20px;
  1343. height: calc(100% - 115px);
  1344. }
  1345. .sm-component-text {
  1346. background: none !important;
  1347. color: #fff !important;
  1348. }
  1349. .sm-component-image {
  1350. height: 100px;
  1351. }
  1352. .chart-pie {
  1353. height: 180px;
  1354. }
  1355. .temperature-text {
  1356. margin-top: 40px;
  1357. }
  1358. .sm-component-text-list {
  1359. width: 278px;
  1360. height: 208px;
  1361. }
  1362. .textlist2 {
  1363. width: 120px;
  1364. }
  1365. .liquid-ball1 {
  1366. height: 200px;
  1367. }
  1368. .sm-component-layout-header .sm-component-time-text {
  1369. background: none !important;
  1370. display: flex;
  1371. color: #fff !important;
  1372. }
  1373. .sm-component-layout-header .sm-component-time-text span {
  1374. padding: 1px;
  1375. }
  1376. @media (max-width: 540px) {
  1377. html {
  1378. font-size: 10px;
  1379. }
  1380. .left-container {
  1381. padding-top: 0;
  1382. }
  1383. .map-wrap {
  1384. width: 100vw;
  1385. height: 90vh;
  1386. }
  1387. }
  1388. @media (min-width: 1200px) {
  1389. html {
  1390. font-size: 16px;
  1391. }
  1392. }
  1393. </style>
  1394. </body>
  1395. </html>