gdbh.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035
  1. <template>
  2. <borderTemplate titleName="耕地保护" class="gdbh">
  3. <div class="content">
  4. <div class="selectTab">
  5. <el-select v-model="tab" placeholder="请选择" :popper-append-to-body="false" @change="change_model">
  6. <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
  7. </el-option>
  8. </el-select>
  9. </div>
  10. </div>
  11. <div class="content_index">
  12. <div v-show="tab == options[1].value">
  13. <div class="content">
  14. <div class="item_back">
  15. <div class="icon">
  16. <div class="icon_jsyd">
  17. </div>
  18. </div>
  19. <div class="text_back">
  20. <p>建设用地占用耕地</p>
  21. <span>43.94</span>km²
  22. </div>
  23. </div>
  24. <div class="item_back">
  25. <div class="icon">
  26. <div class="icon_bcyd">
  27. </div>
  28. </div>
  29. <div class="text_back">
  30. <p>补充耕地</p>
  31. <span>43.94</span>km²
  32. </div>
  33. </div>
  34. </div>
  35. <div class="info">
  36. <div class="left_info">
  37. <ul>
  38. <li>
  39. <div class="icon"></div>
  40. <span class="zbph_label">其中水田</span>
  41. <br>
  42. <span class="zbph_value_unit">
  43. <span class="zbph_value">32.70</span>
  44. <span class="zbph_unit">km²</span>
  45. </span>
  46. </li>
  47. <li>
  48. <div class="icon"></div>
  49. <span class="zbph_label">损失粮食产能</span>
  50. <br>
  51. <span class="zbph_value_unit">
  52. <span class="zbph_value">623.11</span>
  53. <span class="zbph_unit">吨</span>
  54. </span>
  55. </li>
  56. </ul>
  57. </div>
  58. <div class="right_info">
  59. <ul>
  60. <li>
  61. <div class="icon"></div>
  62. <span class="zbph_label">其中水田</span>
  63. <br>
  64. <span class="zbph_value_unit">
  65. <span class="zbph_value">32.70</span>
  66. <span class="zbph_unit">km²</span>
  67. </span>
  68. </li>
  69. <li>
  70. <div class="icon"></div>
  71. <span class="zbph_label">新增粮食产能</span>
  72. <br>
  73. <span class="zbph_value_unit">
  74. <span class="zbph_value">623.11</span>
  75. <span class="zbph_unit">吨</span>
  76. </span>
  77. </li>
  78. </ul>
  79. </div>
  80. </div>
  81. </div>
  82. <!-- <div v-show="tab == options[1].value">
  83. <div class="content">
  84. <div class="item_back">
  85. <div class="icon">
  86. <div class="icon_jsyd">
  87. </div>
  88. </div>
  89. <div class="text_back">
  90. <p>建设用地占用耕地</p>
  91. <span>673.56</span>km²
  92. </div>
  93. </div>
  94. <div class="item_back">
  95. <div class="icon">
  96. <div class="icon_bcyd">
  97. </div>
  98. </div>
  99. <div class="text_back">
  100. <p>补充耕地</p>
  101. <span>{{ store.state.cockpit_gdbh.zbph.bcgd.jszgm }}</span>km²
  102. </div>
  103. </div>
  104. </div>
  105. <div class="info">
  106. <div class="left_info">
  107. <ul>
  108. <li>
  109. <div class="icon"></div>
  110. <span class="zbph_label">其中水田</span>
  111. <br>
  112. <span class="zbph_value_unit">
  113. <span class="zbph_value">0</span>
  114. <span class="zbph_unit">km²</span>
  115. </span>
  116. </li>
  117. <li>
  118. <div class="icon"></div>
  119. <span class="zbph_label">损失粮食产能</span>
  120. <br>
  121. <span class="zbph_value_unit">
  122. <span class="zbph_value">0</span>
  123. <span class="zbph_unit">吨</span>
  124. </span>
  125. </li>
  126. </ul>
  127. </div>
  128. <div class="right_info">
  129. <ul>
  130. <li>
  131. <div class="icon"></div>
  132. <span class="zbph_label">其中水田</span>
  133. <br>
  134. <span class="zbph_value_unit">
  135. <span class="zbph_value">{{ store.state.cockpit_gdbh.zbph.bcgd.xzstmj }}</span>
  136. <span class="zbph_unit">公顷</span>
  137. </span>
  138. </li>
  139. <li>
  140. <div class="icon"></div>
  141. <span class="zbph_label">损失粮食产能</span>
  142. <br>
  143. <span class="zbph_value_unit">
  144. <span class="zbph_value">{{ store.state.cockpit_gdbh.zbph.bcgd.jszgm }}</span>
  145. <span class="zbph_unit">吨</span>
  146. </span>
  147. </li>
  148. </ul>
  149. </div>
  150. </div>
  151. </div> -->
  152. <div v-show="tab == options[0].value">
  153. <div class="content">
  154. <div class="item">
  155. <div class="icon">
  156. <div class="icon_st">
  157. </div>
  158. </div>
  159. <div class="text">
  160. <p>水田</p>
  161. <span>{{ store.state.cockpit_gdbh.gdxz.title.st_mj }}</span>km²
  162. </div>
  163. </div>
  164. <div class="item">
  165. <div class="icon">
  166. <div class="icon_sjd">
  167. </div>
  168. </div>
  169. <div class="text">
  170. <p>水浇地</p>
  171. <span>{{ store.state.cockpit_gdbh.gdxz.title.sjd_mj }}</span>km²
  172. </div>
  173. </div>
  174. <div class="item">
  175. <div class="icon">
  176. <div class="icon_ht">
  177. </div>
  178. </div>
  179. <div class="text">
  180. <p>旱地</p>
  181. <span>{{ store.state.cockpit_gdbh.gdxz.title.hd_mj }}</span>km²
  182. </div>
  183. </div>
  184. </div>
  185. <div id="gdxz_echart">
  186. </div>
  187. </div>
  188. </div>
  189. </borderTemplate>
  190. </template>
  191. <script>
  192. //这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
  193. import borderTemplate from "./borderTemplate.vue";
  194. // import highPie from "../../components/echartsTemplate/highPie.vue";
  195. import pie3d from "../../components/echartsTemplate/3dPie.vue";
  196. import { QueryOne, QueryList } from "../../api/cockpitNew";
  197. export default {
  198. components: { borderTemplate, pie3d },
  199. data() {
  200. return {
  201. sdata: {},
  202. tab: 'gdxz',
  203. options: [
  204. { value: "gdxz", label: "耕地现状" },
  205. { value: "zbph", label: "占补平衡" },
  206. // { value: "gdlx", label: "耕地流向" },
  207. ],
  208. };
  209. },
  210. //监听属性 类似于data概念
  211. computed: {},
  212. //监控data中的数据变化
  213. watch: {},
  214. //方法集合
  215. methods: {
  216. async init_info(params) {
  217. const that = this;
  218. let obj = {
  219. jscType: 'sc_gdbh_xz_dlbm',
  220. id: params ? params.id : '4602'
  221. };
  222. let data = await QueryOne(obj);
  223. store.state.cockpit_gdbh.gdxz.title = data.data
  224. let obj_list = {
  225. jscType: 'sc_gdbh_xz_gddb',
  226. id: params ? params.id : '4602'
  227. };
  228. let data_list = await QueryList(obj_list);
  229. let yAxis = ['优等地', '高等地', '中等地', '低等地'];
  230. let yData = [];
  231. let echartData = [];
  232. data_list.data.forEach((res) => {
  233. if (res.dj == 1) {
  234. echartData.push(
  235. {
  236. "优等地": res.tbmj,
  237. }
  238. )
  239. }
  240. if (res.dj == 2) {
  241. echartData.push(
  242. {
  243. "高等地": res.tbmj,
  244. }
  245. )
  246. } if (res.dj == 3) {
  247. echartData.push(
  248. {
  249. "中等地": res.tbmj,
  250. }
  251. )
  252. } if (res.dj == 4) {
  253. echartData.push(
  254. {
  255. "低等地": res.tbmj,
  256. }
  257. )
  258. }
  259. })
  260. if (data_list.data.length == 3) {
  261. echartData.push({
  262. "低等地": 0
  263. });
  264. }
  265. if (data_list.data.length == 2) {
  266. echartData.push({
  267. "中等地": 0
  268. });
  269. echartData.push({
  270. "低等地": 0
  271. });
  272. }
  273. if (data_list.data.length == 1) {
  274. echartData.push({
  275. "高等地": 0
  276. });
  277. echartData.push({
  278. "中等地": 0
  279. });
  280. echartData.push({
  281. "低等地": 0
  282. });
  283. }
  284. if (data_list.data.length == 0) {
  285. echartData.push({
  286. "优等地": 0
  287. });
  288. echartData.push({
  289. "高等地": 0
  290. });
  291. echartData.push({
  292. "中等地": 0
  293. });
  294. echartData.push({
  295. "低等地": 0
  296. });
  297. }
  298. yData = echartData.map((res) => {
  299. for (let key in res) {
  300. return res[key]
  301. }
  302. })
  303. yAxis.reverse();
  304. yData.reverse();
  305. store.state.cockpit_gdbh.gdxz.list.yAxis = yAxis;
  306. store.state.cockpit_gdbh.gdxz.list.yData = yData;
  307. this.init_gdxz_echart();
  308. }, async init_zbph(params) {
  309. const that = this;
  310. let obj = {
  311. jscType: 'jsc_gdbh_zbph_gdbc',
  312. id: params ? params.id : '4602'
  313. };
  314. let data = await QueryOne(obj);
  315. store.state.cockpit_gdbh.zbph.bcgd = data.data
  316. },
  317. // setData(datas) {
  318. // this.GetQueryOne_nt(datas);
  319. // this.GetQueryOne_bh(datas);
  320. // this.GetQueryList(datas);
  321. // },
  322. GetQueryOne_nt(datas) {
  323. let params = {
  324. ...datas,
  325. jscType: "jsc_gdbh_ztgh_nt",
  326. };
  327. QueryOne(params).then((res) => {
  328. this.sdata = { ...this.sdata, ...res.data };
  329. });
  330. },
  331. GetQueryOne_bh(datas) {
  332. let params = {
  333. ...datas,
  334. jscType: "jsc_gdbh_ztgh_bc",
  335. };
  336. QueryOne(params).then((res) => {
  337. this.sdata = { ...this.sdata, ...res.data };
  338. });
  339. },
  340. GetQueryList(datas) {
  341. let optionsData = [];
  342. let params = {
  343. ...datas,
  344. jscType: "jsc_gdbh_yelx_nt",
  345. };
  346. QueryList(params).then((res) => {
  347. if (res.data.length) {
  348. res.data.forEach((edata) => {
  349. optionsData.push({ name: edata.dlbmmc, value: edata.yjjbntmj });
  350. });
  351. } else {
  352. optionsData = [
  353. { name: "土地复垦", value: 0 },
  354. { name: "异地购买", value: 0 },
  355. { name: "补充耕地", value: 0 },
  356. { name: "增减挂", value: 0 },
  357. ];
  358. }
  359. this.$nextTick(() => {
  360. this.$refs.gdbh_echart_gdlr.setOptions([
  361. { name: "土地复垦", value: 12 },
  362. { name: "异地购买", value: 21 },
  363. { name: "补充耕地", value: 54 },
  364. { name: "增减挂", value: 22 },
  365. ]);
  366. this.$refs.gdbh_echart_gdlc.setOptions([
  367. { name: "林地", value: 22 },
  368. { name: "草地", value: 5 },
  369. { name: "交通用地", value: 13 },
  370. { name: "其他", value: 43 },
  371. ]);
  372. });
  373. });
  374. },
  375. init_gdxz_echart() {
  376. var dom = document.getElementById("gdxz_echart");
  377. var myChart = window.echarts.init(dom);
  378. let barTopColor = ["#CBB835", "#33C6E2", '#157FFE', '#8F48F0'];
  379. let barBottomColor = ["#D09311", "#279AB0", '#154AD2', '#670BFF'];
  380. let option = {
  381. backgroundColor: 'rgba(0,0,0,0)',
  382. title: {
  383. show: false,
  384. text: '一行动一活动开展情况',
  385. top: 20,
  386. left: 'center',
  387. textStyle: {
  388. color: '#00eaff',
  389. fontSize: 18,
  390. fontWeight: 'normal'
  391. }
  392. },
  393. tooltip: {
  394. show: false,
  395. trigger: 'axis',
  396. formatter: '一行动一活动开展情况<br>{b}:{c}',
  397. backgroundColor: 'rgba(18, 57, 60, .8)', //设置背景颜色
  398. textStyle: {
  399. color: '#fff'
  400. },
  401. borderColor: "rgba(18, 57, 60, .8)",
  402. axisPointer: {
  403. type: 'shadow',
  404. shadowStyle: {
  405. color: 'rgba(0, 11, 34, .4)',
  406. }
  407. }
  408. },
  409. grid: {
  410. top: '14%',
  411. bottom: '1%',
  412. left: '0%',
  413. right: '20%',
  414. containLabel: true
  415. },
  416. xAxis: {
  417. axisTick: {
  418. show: false
  419. },
  420. axisLine: {
  421. show: false,
  422. lineStyle: {
  423. color: '#1C82C5'
  424. }
  425. },
  426. axisLabel: {
  427. show: false,
  428. rotate: 20,
  429. margin: 30,
  430. textStyle: {
  431. fontSize: 14,
  432. color: '#DEEBFF',
  433. align: 'center'
  434. }
  435. },
  436. interval: 0
  437. },
  438. yAxis: {
  439. data: store.state.cockpit_gdbh.gdxz.list.yAxis,
  440. splitLine: {
  441. show: false,
  442. lineStyle: {
  443. color: 'rgba(28, 130, 197, .3)'
  444. }
  445. },
  446. axisTick: {
  447. show: false
  448. },
  449. axisLine: {
  450. show: false,
  451. lineStyle: {
  452. color: '#1C82C5'
  453. }
  454. },
  455. axisLabel: {
  456. show: true,
  457. margin: 10,
  458. textStyle: {
  459. fontSize: 12,
  460. color: '#DEEBFF',
  461. }
  462. },
  463. },
  464. series: [
  465. {
  466. name: '一行动一活动开展情况',
  467. type: 'pictorialBar',
  468. symbolSize: [8, 14],
  469. symbolOffset: [4, 0],
  470. z: 12,
  471. itemStyle: {
  472. normal: {
  473. color: function (params) {
  474. return barBottomColor[params.dataIndex];
  475. }
  476. }
  477. },
  478. label: {
  479. textStyle: {
  480. rich: {
  481. name: {
  482. color: "#fff", //#BCD3E5
  483. fontSize: 14,
  484. },
  485. value: {
  486. color: "#64DAFF",
  487. fontSize: 14,
  488. },
  489. unit: {
  490. color: "#fff", //#BCD3E5
  491. fontSize: 14,
  492. },
  493. },
  494. },
  495. show: true,
  496. position: 'right',
  497. fontSize: 16,
  498. formatter: function (params) {
  499. return `{value|${params.value}} {unit|km²}`;
  500. }
  501. },
  502. symbolPosition: 'end',
  503. data: store.state.cockpit_gdbh.gdxz.list.yData,
  504. }, {
  505. name: '一行动一活动开展情况',
  506. type: 'pictorialBar',
  507. symbolOffset: [-3, 0],
  508. symbolSize: [8, 14],
  509. z: 12,
  510. itemStyle: {
  511. normal: {
  512. color: function (params) {
  513. return barTopColor[params.dataIndex];
  514. }
  515. }
  516. },
  517. data: [22, 23, 18, 14],
  518. }, {
  519. type: 'bar',
  520. itemStyle: {
  521. normal: {
  522. color: function (params) {
  523. return new echarts.graphic.LinearGradient(
  524. 0, 0, 0, 1,
  525. [{
  526. offset: 1,
  527. color: barTopColor[params.dataIndex]
  528. },
  529. {
  530. offset: 0,
  531. color: barBottomColor[params.dataIndex]
  532. }
  533. ]
  534. );
  535. },
  536. opacity: .9
  537. }
  538. },
  539. z: 16,
  540. silent: true,
  541. barWidth: 15,
  542. barCategoryGap: '100%',
  543. data: store.state.cockpit_gdbh.gdxz.list.yData,
  544. }]
  545. };
  546. myChart.setOption(option);
  547. },
  548. },
  549. mounted() {
  550. // const optionsData = [
  551. // { name: "水田", value: 50 },
  552. // { name: "水浇地", value: 20 },
  553. // { name: "旱地", value: 30 },
  554. // ];
  555. // this.$nextTick(() => {
  556. // this.$refs.echartRef.setOptions(optionsData);
  557. // });
  558. this.$nextTick((res) => {
  559. this.init_info();
  560. this.init_gdxz_echart();
  561. this.init_zbph();
  562. })
  563. },
  564. };
  565. </script>
  566. <style lang="scss" scoped>
  567. #gdxz_echart {
  568. width: 25rem;
  569. height: 9.5rem;
  570. margin-top: 5rem;
  571. }
  572. .gdbh {
  573. top: 2rem !important;
  574. .content {
  575. // border: #00FFFF 1px solid;
  576. // position: absolute;
  577. // left: 2%;
  578. // top: 10px;
  579. width: 98%;
  580. height: 100px;
  581. position: absolute;
  582. top: 0rem;
  583. left: 2rem;
  584. }
  585. .item {
  586. width: 32%;
  587. height: 45px;
  588. display: inline-block;
  589. // border: #00FFFF 1px solid;
  590. }
  591. .icon {
  592. width: 45px;
  593. height: 45px;
  594. padding: 2%;
  595. border-radius: 8px;
  596. display: inline-block;
  597. background: no-repeat 50%;
  598. margin-left: 1rem;
  599. margin-bottom: 0.5rem;
  600. }
  601. .icongdbh0 {
  602. background-image: url("/static/images/overview/icongdbh0.png");
  603. }
  604. .icongdbh1 {
  605. background-image: url("/static/images/overview/icongdbh1.png");
  606. }
  607. .icongdbh2 {
  608. background-image: url("/static/images/overview/icongdbh2.png");
  609. }
  610. .icongdbh3 {
  611. background-image: url("/static/images/overview/icongdbh3.png");
  612. }
  613. .text {
  614. display: inline-block;
  615. // border: #00FFFF 1px solid;
  616. width: calc(100% - 50px);
  617. margin-bottom: 4px;
  618. text-align: center;
  619. margin-left: 0.3rem;
  620. p {
  621. // font-kerning: normal;
  622. // font-family: "Arial Negreta", "Arial Normal", "Arial";
  623. // font-weight: bold;
  624. // font-size: 14px;
  625. // color: #bcd3e5;
  626. // line-height: 24px;
  627. font-kerning: normal;
  628. font-family: "Arial Negreta", "Arial Normal", "Arial";
  629. font-weight: 700;
  630. font-style: normal;
  631. font-size: 14px;
  632. color: #ffffff;
  633. }
  634. .sdvalue {
  635. // font-family: "Arial Negreta", "Arial Normal", "Arial";
  636. // font-weight: 700;
  637. // font-style: normal;
  638. // font-size: 18px;
  639. // color: #68F4FB;
  640. // line-height: 16px;
  641. font-family: "Arial Negreta", "Arial Normal", "Arial";
  642. font-weight: 700;
  643. font-style: normal;
  644. color: #68f4fb;
  645. }
  646. .unit {
  647. font-family: "Arial Negreta", "Arial Normal", "Arial";
  648. font-weight: 400;
  649. font-size: 12px;
  650. color: #ecf6ff;
  651. line-height: 12px;
  652. }
  653. }
  654. .value {
  655. display: inline-block;
  656. // border: #00FFFF 1px solid;
  657. width: 50px;
  658. }
  659. #gdbh_echart_gdlr {
  660. width: 17rem;
  661. height: 10rem;
  662. position: fixed;
  663. top: 6rem;
  664. left: 96rem;
  665. }
  666. #gdbh_echart_gdlc {
  667. width: 17rem;
  668. height: 10rem;
  669. position: fixed;
  670. top: 6rem;
  671. left: 108rem;
  672. z-index: -1;
  673. }
  674. }
  675. .legend_gdlx {
  676. margin-top: 9rem;
  677. width: 25rem;
  678. height: 4rem;
  679. .gdbh_echart_gdlr_legend {
  680. height: 4rem;
  681. width: 12rem;
  682. background: no-repeat;
  683. background-image: url("/static/images/overview/gdbh_echart_gdlr_legend.png");
  684. display: inline-block;
  685. }
  686. .gdbh_echart_gdlc_legend {
  687. height: 4rem;
  688. width: 12rem;
  689. background: no-repeat;
  690. background-image: url("/static/images/overview/gdbh_echart_gdlc_legend.png");
  691. display: inline-block;
  692. float: right;
  693. margin-top: 1rem;
  694. }
  695. }
  696. .selectTab {
  697. position: absolute;
  698. right: 22px;
  699. bottom: 111px;
  700. z-index: 1;
  701. /deep/ .el-input__inner {
  702. // padding-right: 30px;
  703. width: 128px !important;
  704. height: 24px !important;
  705. line-height: 24px;
  706. padding-left: 22px;
  707. padding-right: 0px;
  708. font-size: 12px;
  709. color: #bcd3e5;
  710. border: none;
  711. // background: url("/static/images/overview/selectBg.png") no-repeat !important;
  712. background-color: rgba(0, 0, 0, 0) !important;
  713. background-size: 100% 100%;
  714. }
  715. /deep/ .el-input__icon {
  716. line-height: 1;
  717. }
  718. /deep/ .el-input__suffix {
  719. right: -2px;
  720. }
  721. /deep/ .el-select-dropdown__list {
  722. color: #bcd3e5 !important;
  723. background: linear-gradient(180deg,
  724. rgba(3, 115, 177, 0) 11%,
  725. rgba(3, 115, 177, 0.48) 100%);
  726. border-image: linear-gradient(360deg,
  727. rgba(75, 185, 250, 0.2),
  728. rgba(75, 185, 250, 0.05)) 1 1 !important;
  729. border: none;
  730. }
  731. /deep/ .el-select-dropdown__item.hover,
  732. .el-select-dropdown__item:hover {
  733. background-color: rgba(87, 163, 226, 0.5);
  734. }
  735. /deep/ .el-select-dropdown__item {
  736. color: #ecf6ff;
  737. }
  738. }
  739. .content {
  740. position: absolute;
  741. left: 1%;
  742. width: 500px;
  743. top: 18%;
  744. }
  745. .item {
  746. width: 45%;
  747. height: 30%;
  748. display: inline-block;
  749. // border: #00FFFF 1px solid;
  750. }
  751. .icon {
  752. width: 50px;
  753. padding: 1.5%;
  754. border-radius: 8px;
  755. display: inline-block;
  756. height: 50px
  757. }
  758. .icon_st {
  759. background: no-repeat 50%;
  760. background-image: url("/static/images/overview/st.png");
  761. /* border: #00FFFF 1px solid; */
  762. width: 45px;
  763. height: 45px;
  764. display: inline-block;
  765. }
  766. .icon_sjd {
  767. background: no-repeat 50%;
  768. background-image: url("/static/images/overview/sjd.png");
  769. /* border: #00FFFF 1px solid; */
  770. width: 45px;
  771. height: 45px;
  772. display: inline-block;
  773. }
  774. .icon_ht {
  775. background: no-repeat 50%;
  776. background-image: url("/static/images/overview/ht.png");
  777. /* border: #00FFFF 1px solid; */
  778. width: 45px;
  779. height: 45px;
  780. display: inline-block;
  781. }
  782. .icon_jsyd {
  783. background: no-repeat 50%;
  784. background-image: url("/static/images/overview/gdxz_jsyd.png");
  785. /* border: #00FFFF 1px solid; */
  786. width: 45px;
  787. height: 45px;
  788. display: inline-block;
  789. }
  790. .icon_bcyd {
  791. background: no-repeat 50%;
  792. background-image: url("/static/images/overview/gdxz_bcyd.png");
  793. /* border: #00FFFF 1px solid; */
  794. width: 45px;
  795. height: 45px;
  796. display: inline-block;
  797. }
  798. .item_back {
  799. width: 32%;
  800. height: 45px;
  801. display: inline-block;
  802. margin-right: 4rem;
  803. text-align: center;
  804. }
  805. .text_back {
  806. background: no-repeat 100%;
  807. background-image: url("/static/images/overview/zbph_back.png");
  808. width: 161px;
  809. height: 50px;
  810. display: inline-block;
  811. p {
  812. font-kerning: normal;
  813. font-family: 'Arial Negreta', 'Arial Normal', 'Arial';
  814. font-weight: 700;
  815. font-style: normal;
  816. font-size: 14px;
  817. color: #FFFFFF;
  818. }
  819. span {
  820. font-family: 'Arial Negreta', 'Arial Normal', 'Arial';
  821. font-weight: 700;
  822. font-style: normal;
  823. color: #68F4FB;
  824. }
  825. }
  826. .text {
  827. display: inline-block;
  828. // border: #00FFFF 1px solid;
  829. width: 170px;
  830. p {
  831. font-kerning: normal;
  832. font-family: 'Arial Negreta', 'Arial Normal', 'Arial';
  833. font-weight: 700;
  834. font-style: normal;
  835. font-size: 14px;
  836. color: #FFFFFF;
  837. }
  838. span {
  839. font-family: 'Arial Negreta', 'Arial Normal', 'Arial';
  840. font-weight: 700;
  841. font-style: normal;
  842. color: #68F4FB;
  843. }
  844. }
  845. .info {
  846. width: 21rem;
  847. height: 7rem;
  848. position: relative;
  849. top: 8rem;
  850. right: -4rem;
  851. ul {
  852. list-style: none;
  853. .zbph_value_unit {}
  854. .zbph_unit {
  855. position: relative;
  856. left: 48px;
  857. bottom: 12px;
  858. font-size: 12px;
  859. }
  860. .zbph_label {
  861. display: inline-block;
  862. width: 93px;
  863. height: 16px;
  864. font-size: 15px;
  865. position: relative;
  866. top: -9px;
  867. font-weight: 600;
  868. }
  869. .zbph_value {
  870. color: #f9b447;
  871. position: relative;
  872. left: 43px;
  873. top: -10px;
  874. font-weight: 700;
  875. }
  876. }
  877. .icon {
  878. width: 12px;
  879. height: 12px;
  880. background: linear-gradient(180deg, rgba(37, 177, 255, 0.6) 0%, rgba(0, 48, 83, 0.48) 100%);
  881. box-shadow: inset 0px 0 5px 0px #002B6C;
  882. border-radius: 5px 5px 5px 5px;
  883. border: 1px solid rgba(100, 218, 255, 0.5);
  884. }
  885. .left_info {
  886. display: inline-block;
  887. width: 50%;
  888. height: 100%;
  889. }
  890. .right_info {
  891. width: 50%;
  892. height: 100%;
  893. float: right;
  894. }
  895. }</style>