unitAccess.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152
  1. <template>
  2. <div class="main-data data-terminal-online">
  3. <!-- <div class="title-area">各单位终端数据</div> -->
  4. <div class="dialog-cont">
  5. <div class="dialog-left">
  6. <div class="content-title long">
  7. <span class="title">在建项目数量</span>
  8. </div>
  9. <div class="content-maper">
  10. <div class="content-one">
  11. <div class="photo">
  12. <img src="@/assets/images/engineering/car.png" width="70" />
  13. </div>
  14. <div style="background-color: #00ffff1a;width: 294.15px;height: 70px;display: flex;align-items: center;justify-content: center;position: relative">
  15. <div style="position: absolute;right: 0;height: 100%;width: 10px;border: 1px solid #00FFFF;border-left: none; "></div>
  16. <div style="position: absolute;left: 0;height: 100%;width: 10px;border: 1px solid #00FFFF;border-right: none; "></div>
  17. <div style="width: 294.15px;height: 52.5px;background-image: linear-gradient(270deg, #00ffff00 0%, #00ffff1a 100%);display: flex;justify-content: space-around;align-items: center">
  18. <div style="width: 96px;font-family: DingTalk-JinBuTi;font-weight: JinBuTi;font-size: 24px;color: #00FFFF;letter-spacing: 0;line-height: 32.93px;">在建项目</div>
  19. <div style="font-size: 24px;color: #00FFFF;">5656<span style="font-size: 12px">个</span></div>
  20. </div>
  21. </div>
  22. </div>
  23. </div>
  24. </div>
  25. <div class="dialog-left">
  26. <div class="content-title long">
  27. <span class="title">前期审批数量</span>
  28. </div>
  29. <div class="box-big">
  30. <div class="box-small" v-for="(item, index) in parest" :key="index">
  31. <div class="box-above">
  32. <img src="@/assets/images/engineering/man.png" width="17"/>
  33. <div class="name-white">{{item.name}}</div>
  34. </div>
  35. <div>
  36. <div class="names">{{item.num}}<span class="nums">个</span></div>
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. <div class="dialog-left">
  42. <div class="content-title long">
  43. <span class="title">施工阶段数量</span>
  44. </div>
  45. <div class="box-big">
  46. <div class="box-smalls" v-for="(item, index) in parest1" :key="index">
  47. <div class="box-above">
  48. <img src="@/assets/images/engineering/man.png" width="17"/>
  49. <div class="name-white">{{item.name}}</div>
  50. </div>
  51. <div>
  52. <div class="names">{{item.num}}<span class="nums">个</span></div>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. </template>
  60. <script>
  61. import PieChart from "@/components/Echarts/PieChart";
  62. import BarChart from "@/components/Echarts/BarChart.vue";
  63. import {examine} from "@/api/screen/engineering";
  64. export default {
  65. name: "TerminalData",
  66. components: {
  67. PieChart,
  68. BarChart
  69. },
  70. props: {
  71. appOrg: {
  72. type: String,
  73. default: "0000",
  74. },
  75. },
  76. watch:{
  77. appOrg(newValue,oldValue){
  78. this.resetData();
  79. },
  80. },
  81. data() {
  82. return {
  83. //在线数
  84. pieData: [],
  85. dataList: [],
  86. parest:[
  87. {name:"可研评审",num:0},{name:"初设评审",num:0},
  88. {name:"政府立项备案",num:0},{name:"土地手续",num:0},
  89. {name:"用地规划",num:0},{name:"工程规划",num:0},
  90. {name:"设计招标",num:0},{name:"施工招标",num:0},
  91. {name:"监理招标",num:0},{name:"施工许可",num:0},
  92. ],
  93. parest1:[
  94. {name:"基础施工",num:0},{name:"主体工程",num:0},
  95. {name:"室内外装修",num:0},{name:"室外工程",num:0},
  96. ],
  97. catePieData: [
  98. { value: 40, name: "新能源汽车" },
  99. { value: 20, name: "燃油汽车" },
  100. ],
  101. totalPieData: [
  102. { value: 110, name: "商务车" },
  103. { value: 120, name: "越野车" },
  104. { value: 130, name: "小型客车" },
  105. { value: 140, name: "大型客车" },
  106. { value: 150, name: "小轿车" },
  107. ],
  108. catePieLegend: {
  109. orient: "vertical",
  110. top: 60,
  111. right: 23,
  112. itemWidth: 8, // 设置图例标记的宽度
  113. itemHeight: 8, // 设置图例标记的高度
  114. textStyle: {
  115. color: "#FFF",
  116. },
  117. },
  118. totalPieLegend: {
  119. top: 20,
  120. right: 10,
  121. itemWidth: 8,
  122. itemHeight: 8,
  123. orient: "vertical",
  124. textStyle: {
  125. color: "#FFF",
  126. },
  127. },
  128. pieLegend: {
  129. orient: "vertical",
  130. top: 50,
  131. right: 30,
  132. itemWidth: 8, // 设置图例标记的宽度
  133. itemHeight: 8, // 设置图例标记的高度
  134. textStyle: {
  135. color: "#FFF",
  136. },
  137. },
  138. pieCenter: ["27%", "50%"],
  139. totalCenter: ["30%", "50%"],
  140. catePieCenter: ["27%", "50%"],
  141. pieRadius: ["35%", "50%"],
  142. //各单位终端在线
  143. barData: [],
  144. barAxis: {},
  145. barYAxis: {},
  146. barLegend: {},
  147. personInOutBarData: [
  148. {
  149. name: "员工",
  150. type: "bar",
  151. itemStyle: {
  152. color: "#43DCDB",
  153. //barBorderRadius: [10, 10, 0, 0], // 统一设置四个角的圆角大小
  154. },
  155. barWidth: 10,
  156. data: [110, 120, 130, 140, 150, 160, 155, 145, 135, 125, 115, 15],
  157. },
  158. {
  159. name: "访客",
  160. type: "bar",
  161. itemStyle: {
  162. color: "#FFD296",
  163. //barBorderRadius: [10, 10, 0, 0], // 统一设置四个角的圆角大小
  164. },
  165. barWidth: 10,
  166. data: [10, 20, 30, 40, 50, 60, 55, 45, 35, 25, 15, 5],
  167. },
  168. ],
  169. personInOutBarAxis: {
  170. type: "category",
  171. data: [
  172. "01月",
  173. "02月",
  174. "03月",
  175. "04月",
  176. "05月",
  177. "06月",
  178. "07月",
  179. "08月",
  180. "09月",
  181. "10月",
  182. "11月",
  183. "12月",
  184. ],
  185. axisLabel: {
  186. color: "white", // 设置横坐标轴字体颜色为红色
  187. },
  188. axisLine: {
  189. show: true,
  190. lineStyle: {
  191. color: "#08595B",
  192. },
  193. },
  194. axisTick: {
  195. show: false,
  196. },
  197. splitArea: false,
  198. },
  199. personInOutBarYaxis: {
  200. type: "value",
  201. boundaryGap: [0, 0.01],
  202. name: "人",
  203. nameTextStyle: {
  204. color: "#fff",
  205. },
  206. axisLine: {
  207. show: false,
  208. },
  209. axisLabel: {
  210. color: "white", // 设置横坐标轴字体颜色为红色
  211. },
  212. splitLine: {
  213. show: false,
  214. },
  215. axisTick: {
  216. show: false,
  217. },
  218. splitArea: false,
  219. },
  220. personInOutBarLegend: {
  221. top: 0,
  222. orient: "horizontal",
  223. right: 0,
  224. itemWidth: 17, // 设置图例标记的宽度
  225. itemHeight: 10, // 设置图例标记的高度
  226. textStyle: {
  227. color: "#FFF",
  228. },
  229. },
  230. barGrid: {
  231. top: 30,
  232. left: "2%",
  233. right: "5%",
  234. containLabel: true,
  235. bottom: 0,
  236. },
  237. departmentPersonInOutBarData: [
  238. {
  239. name: "员工",
  240. type: "bar",
  241. itemStyle: {
  242. color: "#43DCDB",
  243. //barBorderRadius: [10, 10, 0, 0], // 统一设置四个角的圆角大小
  244. },
  245. barWidth: 10,
  246. data: [110, 150, 160, 135, 115, 15],
  247. },
  248. {
  249. name: "访客",
  250. type: "bar",
  251. itemStyle: {
  252. color: "#FFD296",
  253. //barBorderRadius: [10, 10, 0, 0], // 统一设置四个角的圆角大小
  254. },
  255. barWidth: 10,
  256. data: [10, 20, 30, 40, 50, 60, 55, 45, 35, 25, 15, 5],
  257. },
  258. ],
  259. departmentPersonInOutBarAxis: {
  260. type: "category",
  261. data: ["财务资产部", "离退休工作部", "后勤保障部", "物资管理部", "数字化工作部", "纪委办公室"],
  262. axisLabel: {
  263. color: "white", // 设置横坐标轴字体颜色为红色
  264. },
  265. axisLine: {
  266. show: true,
  267. lineStyle: {
  268. color: "#08595B",
  269. },
  270. },
  271. axisTick: {
  272. show: false,
  273. },
  274. splitArea: false,
  275. },
  276. departmentPersonInOutBarYaxis: {
  277. type: "value",
  278. boundaryGap: [0, 0.01],
  279. name: "人",
  280. nameTextStyle: {
  281. color: "#fff",
  282. },
  283. axisLine: {
  284. show: false,
  285. },
  286. axisLabel: {
  287. color: "white", // 设置横坐标轴字体颜色为红色
  288. },
  289. splitLine: {
  290. show: false,
  291. },
  292. axisTick: {
  293. show: false,
  294. },
  295. splitArea: false,
  296. },
  297. departmentPersonInOutBarLegend: {
  298. top: 0,
  299. orient: "horizontal",
  300. right: 0,
  301. itemWidth: 17, // 设置图例标记的宽度
  302. itemHeight: 10, // 设置图例标记的高度
  303. textStyle: {
  304. color: "#FFF",
  305. },
  306. },
  307. visitorDataList: [
  308. {
  309. name: "于俊",
  310. time: "2024 / 11 / 15 15:01",
  311. department: "财务资产部",
  312. },
  313. {
  314. name: "于俊",
  315. time: "2024 / 11 / 15 14:58",
  316. department: "财务资产部",
  317. },
  318. {
  319. name: "于俊",
  320. time: "2024 / 11 / 15 14:55",
  321. department: "财务资产部",
  322. },
  323. {
  324. name: "于俊",
  325. time: "2024 / 11 / 15 14:01",
  326. department: "财务资产部",
  327. },
  328. ],
  329. warningList: [
  330. {
  331. name: "国网太原供电公司",
  332. data1: 356,
  333. data2: 100,
  334. data3: 56,
  335. data4: 67,
  336. data5: 133,
  337. },
  338. {
  339. name: "国网临汾供电公司",
  340. data1: 324,
  341. data2: 80,
  342. data3: 95,
  343. data4: 63,
  344. data5: 86,
  345. },
  346. {
  347. name: "国网晋城供电公司",
  348. data1: 286,
  349. data2: 80,
  350. data3: 65,
  351. data4: 46,
  352. data5: 95,
  353. },
  354. {
  355. name: "国网长治供电公司",
  356. data1: 275,
  357. data2: 84,
  358. data3: 72,
  359. data4: 63,
  360. data5: 56,
  361. },
  362. {
  363. name: "国网运城供电公司",
  364. data1: 268,
  365. data2: 70,
  366. data3: 65,
  367. data4: 73,
  368. data5: 60,
  369. },
  370. ],
  371. };
  372. },
  373. created() {
  374. this.handlePie();
  375. this.handleBar();
  376. this.examine();
  377. },
  378. destroyed() {},
  379. beforeDestroy() {},
  380. mounted() {},
  381. methods: {
  382. //前期审批数量
  383. examine() {
  384. examine(this.$props.appOrg).then((res) => {
  385. if (Number(res.code) === 200) {
  386. const fetchedData = res.data;
  387. for (let i = 0; i < fetchedData.length; i++) {
  388. this.parest[fetchedData[i].subdivision-1].num= fetchedData[i].num;
  389. }
  390. }
  391. });
  392. },
  393. //初始化
  394. resetData(){
  395. this.show = false;
  396. setTimeout(()=>{
  397. this.show = true;
  398. },100)
  399. },
  400. //实例化饼图
  401. handlePie() {
  402. this.pieData = [
  403. { value: 100, name: "离线数" },
  404. { value: 200, name: "在线数" },
  405. ];
  406. },
  407. //实例化柱状图
  408. handleBar() {
  409. this.barData = [
  410. {
  411. name: "总数",
  412. type: "bar",
  413. itemStyle: {
  414. color: "#43DCDB",
  415. },
  416. barWidth: 10,
  417. data: [320, 332, 301, 334, 390, 200],
  418. },
  419. {
  420. name: "离线数",
  421. type: "bar",
  422. itemStyle: {
  423. color: "#EAA553",
  424. },
  425. barWidth: 10,
  426. data: [320, 332, 301, 334, 390, 300],
  427. },
  428. {
  429. name: "在线数",
  430. type: "bar",
  431. itemStyle: {
  432. color: "#1B5CBB",
  433. },
  434. barWidth: 10,
  435. data: [320, 332, 301, 334, 390, 300],
  436. },
  437. ];
  438. this.barGrid = {
  439. top: 30,
  440. bottom: 0,
  441. left: "2%",
  442. right: "2%",
  443. containLabel: true,
  444. };
  445. this.barLegend = {
  446. right: 20,
  447. top: 0,
  448. itemWidth: 17, // 设置图例标记的宽度
  449. itemHeight: 10, // 设置图例标记的高度
  450. textStyle: {
  451. color: "#FFF",
  452. },
  453. };
  454. this.barAxis = {
  455. type: "category",
  456. data: [
  457. "公司名称一",
  458. "公司名称一",
  459. "公司名称一",
  460. "公司名称一",
  461. "公司名称一",
  462. ],
  463. axisLabel: {
  464. color: "white", // 设置横坐标轴字体颜色为红色
  465. },
  466. axisLine:{
  467. lineStyle:{
  468. color:"#08595B"
  469. }
  470. },
  471. axisTick: {
  472. show: false,
  473. },
  474. splitArea: false,
  475. };
  476. this.barYAxis = {
  477. name: "数量(个)",
  478. nameTextStyle: {
  479. color: "#fff",
  480. padding: [0,0,0,5],
  481. fontSize: 14,
  482. },
  483. axisLabel: {
  484. formatter: "{value}",
  485. color: "#FFF",
  486. },
  487. axisLine:{
  488. show:false
  489. },
  490. axisTick: {
  491. show: false,
  492. },
  493. splitLine: {
  494. show: false,
  495. },
  496. splitArea: false,
  497. };
  498. },
  499. },
  500. };
  501. </script>
  502. <style scoped lang="scss" >
  503. .data-terminal-online {
  504. overflow: hidden;
  505. height: 447px;
  506. position: relative;
  507. .dialog-title {
  508. display: flex;
  509. flex-direction: row;
  510. align-items: center;
  511. justify-content: center;
  512. position: relative;
  513. margin-bottom: 10px;
  514. img {
  515. width: 331px;
  516. height: 32px;
  517. }
  518. .title {
  519. font-size: 20px;
  520. font-weight: 900;
  521. font-family: "PingFangSC";
  522. width: 100%;
  523. position: absolute;
  524. display: flex;
  525. align-items: center;
  526. justify-content: center;
  527. top: -5px;
  528. color: #fff;
  529. }
  530. }
  531. .dialog-cont {
  532. .dialog-left {
  533. width: 520px;
  534. float: left;
  535. margin-left: 15px;
  536. }
  537. .dialog-right {
  538. width: 520px;
  539. float: right;
  540. }
  541. }
  542. .dialog-list {
  543. width: 100%;
  544. display: flex;
  545. justify-content: space-between !important;
  546. margin-bottom: 0px;
  547. .dialog-item {
  548. width: calc(50% - 20px);
  549. }
  550. .dialog-item-cont {
  551. display: flex;
  552. justify-content: center;
  553. align-items: center;
  554. margin-top: 40px;
  555. }
  556. .wid100 {
  557. width: 100%;
  558. .content-title {
  559. width: 100%;
  560. background: url("../../../assets/images/main/title_pro_long.png")
  561. no-repeat;
  562. }
  563. }
  564. }
  565. .content-title {
  566. width: 230px;
  567. height: 26px;
  568. background: url("../../../assets/images/main/title_pro.png") no-repeat !important;
  569. background-size: 100% 100%;
  570. font-family: "PingFangSC";
  571. font-size: 16px;
  572. font-weight: bold;
  573. color: #00ffff;
  574. padding-left: 20px !important;
  575. .title {
  576. display: block;
  577. position: relative;
  578. top: -5px !important;
  579. }
  580. }
  581. .content-title.long {
  582. width: 100%;
  583. background: url("../../../assets/images/main/title_pro_long.png") no-repeat !important;
  584. }
  585. .content {
  586. .title-format {
  587. width: 150px;
  588. height: 80px;
  589. display: flex;
  590. flex-direction: row;
  591. align-items: center;
  592. .title-info {
  593. display: flex;
  594. flex-direction: column;
  595. font-size: 12px;
  596. color: #ffffff;
  597. .title-en {
  598. font-size: 8px;
  599. color: #ffffff;
  600. opacity: 0.4;
  601. }
  602. }
  603. }
  604. .rate-area {
  605. position: relative;
  606. img {
  607. width: 126.43px;
  608. height: 62px;
  609. }
  610. .rate {
  611. display: flex;
  612. flex-direction: column;
  613. align-items: center;
  614. justify-content: center;
  615. width: 150px;
  616. height: 60px;
  617. position: absolute;
  618. top: 0;
  619. left: 0;
  620. color: #fff;
  621. .rate-data {
  622. display: flex;
  623. flex-direction: row;
  624. align-items: baseline;
  625. color: #ffba44;
  626. .data {
  627. font-family: "electronicFont";
  628. font-size: 30px;
  629. }
  630. .unit {
  631. font-size: 12px;
  632. }
  633. }
  634. .desc {
  635. font-size: 12px;
  636. width: 60px;
  637. text-align: center;
  638. }
  639. }
  640. }
  641. }
  642. .content {
  643. .title-format {
  644. display: flex;
  645. flex-direction: row;
  646. align-items: center;
  647. img {
  648. width: 6px;
  649. height: 24px;
  650. margin-right: 6px;
  651. }
  652. .title-info {
  653. display: flex;
  654. flex-direction: column;
  655. font-size: 12px;
  656. color: #ffffff;
  657. .title-en {
  658. font-size: 8px;
  659. color: #ffffff;
  660. opacity: 0.4;
  661. }
  662. }
  663. }
  664. .total-data {
  665. display: flex;
  666. align-items: baseline;
  667. color: #19fcde;
  668. margin-top: 4px;
  669. .total {
  670. font-size: 35px;
  671. font-family: "electronicFont";
  672. }
  673. .unit {
  674. font-size: 12px;
  675. }
  676. }
  677. .rate-area {
  678. width: 150px;
  679. height: 70px;
  680. position: relative;
  681. img {
  682. width: 150px;
  683. height: 70px;
  684. }
  685. .rate {
  686. display: flex;
  687. flex-direction: column;
  688. align-items: center;
  689. justify-content: center;
  690. width: 100%;
  691. position: absolute;
  692. top: 0;
  693. color: #fff;
  694. .rate-data {
  695. display: flex;
  696. flex-direction: row;
  697. align-items: baseline;
  698. color: #ffba44;
  699. .data {
  700. font-size: 30px;
  701. font-family: "electronicFont";
  702. }
  703. .unit {
  704. font-size: 12px;
  705. }
  706. }
  707. .desc {
  708. font-size: 12px;
  709. text-align: center;
  710. }
  711. }
  712. }
  713. .chart-area {
  714. margin-top: 50px;
  715. }
  716. }
  717. .other-cont {
  718. display: flex;
  719. .icon {
  720. display: block;
  721. width: 70px;
  722. height: auto;
  723. }
  724. .other-info {
  725. padding-left: 2px;
  726. .desc {
  727. font-size: 12px;
  728. color: #ffffff;
  729. font-weight: bold;
  730. }
  731. .num-info {
  732. width: 100%;
  733. padding-top: 2px;
  734. display: flex;
  735. align-items: center;
  736. .num {
  737. font-size: 30px;
  738. color: #19fcde;
  739. font-weight: bold;
  740. font-family: "electronicFont";
  741. }
  742. .unit {
  743. font-size: 12px;
  744. color: #00ffff;
  745. font-weight: 500;
  746. position: relative;
  747. top: 4px;
  748. }
  749. .mar {
  750. margin-left: 20px;
  751. }
  752. }
  753. }
  754. }
  755. .mar {
  756. margin-bottom: 15px;
  757. }
  758. .data-left {
  759. width: auto;
  760. .data-item {
  761. width: auto;
  762. margin-bottom: 23px;
  763. .data-fir {
  764. display: flex;
  765. align-items: center;
  766. .icon {
  767. width: 15px;
  768. height: 15px;
  769. margin-right: 6px;
  770. }
  771. .name {
  772. font-size: 14px;
  773. color: #ffffff;
  774. }
  775. }
  776. .data-snd {
  777. display: flex;
  778. align-items: center;
  779. padding-top: 2px;
  780. .num {
  781. font-size: 32px;
  782. color: #00ffff;
  783. font-family: "electronicFont";
  784. }
  785. .unit {
  786. font-size: 12px;
  787. color: #00ffff;
  788. font-weight: 500;
  789. position: relative;
  790. top: 5px;
  791. left: 2px;
  792. }
  793. }
  794. }
  795. }
  796. .data-right {
  797. padding-top: 3px;
  798. .circle {
  799. width: 100px;
  800. height: 100px;
  801. background: url("../../../assets/images/service_new/circle.png") no-repeat;
  802. background-size: 100% 100%;
  803. display: flex;
  804. justify-content: center;
  805. align-items: flex-start;
  806. .value {
  807. display: flex;
  808. align-items: center;
  809. font-size: 32px;
  810. color: #00ffff;
  811. font-family: "electronicFont";
  812. position: relative;
  813. top: 15px;
  814. }
  815. .unit {
  816. font-size: 12px;
  817. color: #00ffff;
  818. font-weight: 500;
  819. position: relative;
  820. top: 5px;
  821. left: 2px;
  822. }
  823. }
  824. }
  825. .choose-area {
  826. margin: 20px 0;
  827. .choose-item {
  828. width: 104px;
  829. height: 30px;
  830. line-height: 30px;
  831. background: url("../../../assets/images/main/choose_bg.png") no-repeat;
  832. background-size: 100% 100%;
  833. margin-right: 16px;
  834. padding-left: 12px;
  835. color: #00ffff;
  836. cursor: pointer;
  837. }
  838. }
  839. .table-cont {
  840. width: 100%;
  841. .table-top {
  842. width: 100%;
  843. height: 26px;
  844. background: url("../../../assets/images/building_guarantee/img_11.png")
  845. no-repeat;
  846. background-size: 100% 100%;
  847. padding: 0 25px 0 10px;
  848. display: flex;
  849. justify-content: space-between;
  850. align-items: center;
  851. font-size: 12px;
  852. color: #00ffff;
  853. }
  854. .table-bot {
  855. width: 100%;
  856. .table-list {
  857. width: 100%;
  858. height: 38px;
  859. padding: 0 25px 0 10px;
  860. display: flex;
  861. justify-content: space-between;
  862. align-items: center;
  863. font-size: 12px;
  864. color: #ffffff;
  865. font-weight: 500;
  866. }
  867. }
  868. }
  869. .list-area {
  870. display: flex;
  871. flex-direction: column;
  872. padding: 0px 15px 0;
  873. .list-item {
  874. display: flex;
  875. flex-direction: row;
  876. align-items: center;
  877. font-size: 12px;
  878. color: #ffffff;
  879. margin-bottom: 10px;
  880. flex: 1;
  881. .item-1 {
  882. width: 8%;
  883. }
  884. .item-2 {
  885. width: 23%;
  886. text-overflow: ellipsis;
  887. overflow: hidden;
  888. white-space: nowrap;
  889. }
  890. .item-3 {
  891. width: 14%;
  892. }
  893. .item-4,
  894. .item-5 {
  895. width: 13%;
  896. }
  897. .item-6 {
  898. width: 19%;
  899. }
  900. .item-7 {
  901. width: 17%;
  902. }
  903. }
  904. .list-title {
  905. color: #00ffff !important;
  906. padding: 4px 0;
  907. background: url("../../../assets/images/main/title_line.png") no-repeat;
  908. background-size: 100% 100%;
  909. margin-bottom: 10px !important;
  910. }
  911. }
  912. .data-chart {
  913. margin-top: 12px !important;
  914. margin-bottom: 10px !important;
  915. }
  916. ::-webkit-scrollbar {
  917. display: none;
  918. width: 3px;
  919. height: 3px;
  920. }
  921. .content-left{
  922. width: 520px;
  923. height:320px;
  924. float: left;
  925. }
  926. .content-our{
  927. width: 50%;
  928. height: 130px;
  929. display: flex;
  930. padding-top: 40px;
  931. padding-left: 10px;
  932. //align-items: center;
  933. .img-car{
  934. width: 105px;
  935. height: 60px;
  936. }
  937. .content-two{
  938. width: 181.5px;
  939. height: 81px;
  940. display: flex;
  941. justify-content: center;
  942. align-items: center;
  943. }
  944. .names{
  945. font-size: 32px;
  946. color:#00FFFF;
  947. font-family: 'electronicFont';
  948. .nums{
  949. font-size:10px;
  950. color:#00FFFF;
  951. font-weight: 500;
  952. position: relative;
  953. left:2px;
  954. }
  955. }
  956. }
  957. .saddddf{
  958. display: flex;
  959. flex-direction: column;
  960. }
  961. .naw{
  962. color: white;
  963. }
  964. .content-area {
  965. display: flex;
  966. height: 220px;
  967. flex-direction: row;
  968. align-items: flex-start;
  969. justify-content: space-between;
  970. padding: 15px 20px 0 15px;
  971. }
  972. .contentr-left{
  973. width: 520px;
  974. height:240px;
  975. float: left;
  976. .content-one{
  977. display: flex;
  978. padding-top: 5px;
  979. justify-content: center; /* 水平居中 */
  980. align-items: center; /* 垂直居中 */
  981. height: 100%; /* 确保父容器有高度 */
  982. }
  983. }
  984. .content-right{
  985. width: 520px;
  986. height:240px;
  987. float: left;
  988. }
  989. .names{
  990. font-size: 32px;
  991. color:#00FFFF;
  992. font-family: 'electronicFont';
  993. .nums{
  994. font-size:10px;
  995. color:#00FFFF;
  996. font-weight: 500;
  997. position: relative;
  998. left:2px;
  999. }
  1000. }
  1001. .content-maper{
  1002. .content-one{
  1003. display: flex;
  1004. padding-top: 10px;
  1005. padding-bottom: 10px;
  1006. justify-content: center; /* 水平居中 */
  1007. align-items: center; /* 垂直居中 */
  1008. height: 100%; /* 确保父容器有高度 */
  1009. }
  1010. }
  1011. .rate-data{
  1012. display: flex;
  1013. flex-direction: row;
  1014. align-items: baseline;
  1015. }
  1016. .breaker{
  1017. color:#FEC72F ;
  1018. display: flex; /* 使用 Flexbox */
  1019. justify-content: center; /* 水平居中 */
  1020. align-items: center; /* 垂直居中 */
  1021. }
  1022. .said{
  1023. width: 1px;
  1024. height: 13px;
  1025. background-color: #00FFFF;
  1026. }
  1027. .content-ear{
  1028. margin-top: 10px;
  1029. height: 115px;
  1030. }
  1031. .table-roll{
  1032. height: 50px;
  1033. overflow:auto;
  1034. }
  1035. .witeh{
  1036. color: #018989;
  1037. }
  1038. .namer{
  1039. color: white;
  1040. font-size: 10px;
  1041. }
  1042. .photo{
  1043. padding-top: 5px;
  1044. padding-right: 30px;
  1045. }
  1046. .box-big{
  1047. width: 100%;
  1048. height: 160px;
  1049. padding-top: 10px;
  1050. padding-bottom: 20px;
  1051. flex-wrap: wrap;
  1052. display: flex;
  1053. padding-left: 10px;
  1054. .name-white{
  1055. color: white;
  1056. font-family: PingFangSC-Regular;
  1057. font-size: 12px;
  1058. line-height: 19.6px;
  1059. }
  1060. .box-small{
  1061. width: 20%;
  1062. height: 50px;
  1063. .box-above{
  1064. display: flex;
  1065. }
  1066. }
  1067. .box-smalls{
  1068. width: 25%;
  1069. height: 50px;
  1070. .box-above{
  1071. display: flex;
  1072. }
  1073. }
  1074. }
  1075. ::-webkit-scrollbar-thumb {
  1076. //滑块部分
  1077. // border-radius: 5px;
  1078. background-color: #58cbbb;
  1079. }
  1080. ::-webkit-scrollbar-track {
  1081. //轨道部分
  1082. // box-shadow: inset 0 0 5px #ddd;
  1083. background: #ddd;
  1084. // border-radius: 5px;
  1085. }
  1086. }
  1087. </style>