gdbh.vue 21 KB

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