matrixBlock.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935
  1. <template>
  2. <div>
  3. <div
  4. class="box"
  5. style="display: flex; flex-direction: row; flex-wrap: wrap"
  6. >
  7. <div
  8. :class="
  9. item.active
  10. ? 'box-' + item.status
  11. : item.flashing && item.status === 5
  12. ? 'unbox-flashing-' + item.status
  13. : 'unbox-' + item.status
  14. "
  15. :id="item.windturbineId"
  16. v-for="(item, index) in dataList"
  17. :key="index"
  18. @click="onSelectHandler(item)"
  19. @dblclick="sendMsg(item)"
  20. style="margin-right: 8px"
  21. >
  22. <div
  23. :class="item.active ? 'left-' + item.status : 'unleft-' + item.status"
  24. >
  25. <div>{{ getName(item, 'top') }}</div>
  26. <div>{{ getName(item, 'bot') }}</div>
  27. <!-- <div>{{ item.windturbineId.slice(0, 2) }}</div>
  28. <div>{{ item.code }}</div> -->
  29. </div>
  30. <div
  31. :class="
  32. item.active ? 'right-' + item.status : 'unright-' + item.status
  33. "
  34. >
  35. <div class="rightrow">{{ item.windSpeed.toFixed(2) }} m/s</div>
  36. <div class="rightrow">{{ item.power.toFixed(2) }} kw</div>
  37. <div class="rightrow">
  38. {{
  39. item.modelId.indexOf("105") >= 0
  40. ? (item.rollSpeed * 9.55).toFixed(2)
  41. : item.rollSpeed.toFixed(2)
  42. }}
  43. rpm
  44. </div>
  45. </div>
  46. <div class="duration">
  47. <el-popover
  48. placement="bottom-start"
  49. :width="200"
  50. trigger="hover"
  51. class="durationPopover"
  52. :show-arrow="false"
  53. @show="handleDeal(item.ts)"
  54. >
  55. <template #reference>
  56. <img
  57. :class="item.lockValue > 0 ? 'durationImgs' : 'durationImg'"
  58. src="../assets/img/type/duration.png"
  59. alt=""
  60. />
  61. </template>
  62. <input
  63. class="lock_inputs"
  64. type="text"
  65. placeholder=""
  66. :value="showVlaues"
  67. disabled
  68. />
  69. </el-popover>
  70. </div>
  71. <div class="locks" v-if="item.lockValue > 0">
  72. <el-popover
  73. placement="bottom-start"
  74. :width="150"
  75. trigger="hover"
  76. class="popoverBack"
  77. :show-arrow="false"
  78. >
  79. <template #reference>
  80. <img class="lock" src="../assets/img/type/lock.png" alt="" />
  81. </template>
  82. <input
  83. class="lock_input"
  84. type="text"
  85. placeholder=""
  86. :value="
  87. item.lockValue === 9 ? item.lockValues : options[item.lockValue]
  88. "
  89. disabled
  90. />
  91. </el-popover>
  92. </div>
  93. <div class="locks" v-if="item.reasonType">
  94. <img
  95. class="lock"
  96. src="../assets/img/type/electricityRestrictions.png"
  97. alt=""
  98. />
  99. </div>
  100. </div>
  101. </div>
  102. <WindturbineDetailPages
  103. v-model="dialogVisible"
  104. :showSvg="showSvg"
  105. @close="handleClose"
  106. :windturbine="currentWindturbine"
  107. ></WindturbineDetailPages>
  108. </div>
  109. </template>
  110. <script>
  111. import WindturbineDetailPages from "./WindturbineDetailPages.vue";
  112. import api from "api/index";
  113. import dayjs from "dayjs";
  114. export default {
  115. components: {
  116. WindturbineDetailPages,
  117. },
  118. props: {
  119. dataList: {
  120. type: Array,
  121. default: () => {
  122. return [];
  123. },
  124. },
  125. area: String,
  126. },
  127. mounted() {
  128. // this.getWindturbineFdc();
  129. },
  130. updated() {},
  131. methods: {
  132. getName(item, type) {
  133. // debugger
  134. let name = ''
  135. if (type === 'top') {
  136. if (item.windturbineId) {
  137. name = item.windturbineId.slice(0, 2)
  138. }
  139. } else {
  140. if (item.windturbineId) {
  141. name = item.windturbineId.slice(item.windturbineId.indexOf('_')+1)
  142. }
  143. }
  144. return name
  145. },
  146. handleDeal(val) {
  147. let data = dayjs(val).format("YYYY-MM-DD HH:mm:ss");
  148. this.showVlaues = this.timeFn(data);
  149. // return `该状态共持续:`
  150. },
  151. timeFn(d1) {
  152. //di作为一个变量传进来
  153. //如果时间格式是正确的,那下面这一步转化时间格式就可以不用了
  154. var dateBegin = new Date(d1.replace(/-/g, "/")); //将-转化为/,使用new Date
  155. var dateEnd = new Date(); //获取当前时间
  156. var dateDiff = dateEnd.getTime() - dateBegin.getTime(); //时间差的毫秒数
  157. var dayDiff = Math.floor(dateDiff / (24 * 3600 * 1000)); //计算出相差天数
  158. var leave1 = dateDiff % (24 * 3600 * 1000); //计算天数后剩余的毫秒数
  159. var hours = Math.floor(leave1 / (3600 * 1000)); //计算出小时数
  160. //计算相差分钟数
  161. var leave2 = leave1 % (3600 * 1000); //计算小时数后剩余的毫秒数
  162. var minutes = Math.floor(leave2 / (60 * 1000)); //计算相差分钟数
  163. //计算相差秒数
  164. var leave3 = leave2 % (60 * 1000); //计算分钟数后剩余的毫秒数
  165. var seconds = Math.round(leave3 / 1000);
  166. return `持续时长:${dayDiff !== 0 ? dayDiff + "天" : ""}${
  167. hours !== 0 ? hours + "小时" : ""
  168. }${minutes !== 0 ? minutes + "分钟" : ""}${
  169. seconds !== 0 ? seconds + "秒" : ""
  170. }`;
  171. },
  172. // getWindturbineFdc() {
  173. // api.getWindturbineFdc().then((res) => {
  174. // this.station = res.data;
  175. // });
  176. // },
  177. onSelectHandler(values) {
  178. if (this.area === "problem") {
  179. this.$emit("problem-click", values);
  180. } else {
  181. this.$emit("choose-click", values);
  182. }
  183. },
  184. sendMsg: function (itm) {
  185. // this.dialogVisible = true;
  186. this.$emit("on-click", itm);
  187. // this.currentWindturbine = itm;
  188. },
  189. handleClose() {
  190. this.dialogVisible = false;
  191. this.showSvg = false;
  192. },
  193. },
  194. data() {
  195. return {
  196. dialogVisible: false,
  197. showSvg: false,
  198. currentWindturbine: {},
  199. showVlaues: "",
  200. // station: [],
  201. options: {
  202. 8: "检修",
  203. 7: "故障维修",
  204. 2: "场内受累检修",
  205. 3: "场内受累故障",
  206. 4: "场外受累电网",
  207. 5: "场外受累天气",
  208. },
  209. };
  210. },
  211. };
  212. </script>
  213. <style scoped>
  214. .lock {
  215. width: 10px;
  216. height: 10px;
  217. position: relative;
  218. right: 2px;
  219. top: -15px;
  220. }
  221. .durationImg {
  222. width: 15px;
  223. height: 15px;
  224. position: relative;
  225. right: 5px;
  226. top: -15px;
  227. }
  228. .durationImgs {
  229. width: 15px;
  230. height: 15px;
  231. position: relative;
  232. right: 5px;
  233. top: -15px;
  234. }
  235. .lock-on {
  236. width: 0px;
  237. height: 0px;
  238. opacity: 0;
  239. }
  240. .locks:hover .lock-on {
  241. position: fixed;
  242. display: flex;
  243. align-items: center;
  244. width: 80px;
  245. height: 30px;
  246. border: 1px solid #999999;
  247. background-color: #999999;
  248. opacity: 1;
  249. color: #ffffff;
  250. z-index: 999;
  251. }
  252. .duration {
  253. width: 15px;
  254. height: 15px;
  255. position: relative;
  256. visibility: hidden;
  257. }
  258. .unbox-1:hover .duration {
  259. visibility: visible;
  260. }
  261. .unbox-2:hover .duration {
  262. visibility: visible;
  263. }
  264. .unbox-3:hover .duration {
  265. visibility: visible;
  266. }
  267. .unbox-4:hover .duration {
  268. visibility: visible;
  269. }
  270. .unbox-5:hover .duration {
  271. visibility: visible;
  272. }
  273. .unbox-6:hover .duration {
  274. visibility: visible;
  275. }
  276. .unbox-7:hover .duration {
  277. visibility: visible;
  278. }
  279. .lock_input {
  280. width: 140px;
  281. background-color: #292929;
  282. height: 40px;
  283. color: #ffffff;
  284. }
  285. .lock_inputs {
  286. width: 200px;
  287. background-color: #292929;
  288. height: 40px;
  289. color: #ffffff;
  290. }
  291. .box-0 {
  292. width: 135px;
  293. height: 50px;
  294. color: #ffffff;
  295. border: 1px solid rgba(255, 255, 255, 1);
  296. background-color: rgba(255, 255, 255, 0.05);
  297. display: flex;
  298. flex-direction: row;
  299. align-items: center;
  300. margin-right: 5px;
  301. margin-top: 10px;
  302. box-shadow: 0px 0px 6px #ffffff;
  303. }
  304. .unbox-0 {
  305. width: 135px;
  306. height: 50px;
  307. color: #ffffff;
  308. border: 1px solid rgba(255, 255, 255, 1);
  309. background-color: rgba(255, 255, 255, 0.2);
  310. display: flex;
  311. flex-direction: row;
  312. align-items: center;
  313. margin-right: 5px;
  314. margin-top: 10px;
  315. }
  316. .left-0 {
  317. width: 35%;
  318. height: 100%;
  319. font-size: 12px;
  320. color: rgba(255, 255, 255, 1);
  321. font-weight: 600;
  322. line-height: 20px;
  323. display: flex;
  324. flex-direction: column;
  325. justify-content: center;
  326. align-items: center;
  327. }
  328. .unleft-0 {
  329. width: 35%;
  330. height: 100%;
  331. font-size: 12px;
  332. color: rgba(255, 255, 255, 1);
  333. font-weight: 600;
  334. line-height: 20px;
  335. display: flex;
  336. flex-direction: column;
  337. justify-content: center;
  338. align-items: center;
  339. }
  340. .right-0 {
  341. width: 69%;
  342. height: 100%;
  343. font-size: 12px;
  344. color: rgba(255, 255, 255, 1);
  345. line-height: 15px;
  346. display: flex;
  347. flex-direction: column;
  348. justify-content: center;
  349. }
  350. .unright-0 {
  351. width: 69%;
  352. height: 100%;
  353. font-size: 12px;
  354. color: rgba(255, 255, 255, 1);
  355. line-height: 15px;
  356. display: flex;
  357. flex-direction: column;
  358. justify-content: center;
  359. }
  360. .box-1 {
  361. width: 135px;
  362. height: 50px;
  363. color: #ffffff;
  364. border: 1px solid rgba(197, 48, 200, 1);
  365. background-color: rgba(197, 48, 200, 0.05);
  366. display: flex;
  367. flex-direction: row;
  368. align-items: center;
  369. margin-right: 5px;
  370. margin-top: 10px;
  371. box-shadow: 0px 0px 6px #ef3af2;
  372. }
  373. .unbox-1 {
  374. width: 135px;
  375. height: 50px;
  376. color: #ffffff;
  377. border: 1px solid rgba(197, 48, 200, 1);
  378. background-color: rgba(197, 48, 200, 0.2);
  379. display: flex;
  380. flex-direction: row;
  381. align-items: center;
  382. margin-right: 5px;
  383. margin-top: 10px;
  384. }
  385. .left-1 {
  386. width: 35%;
  387. height: 100%;
  388. font-size: 12px;
  389. color: rgba(197, 48, 200, 1);
  390. font-weight: 600;
  391. line-height: 20px;
  392. display: flex;
  393. flex-direction: column;
  394. justify-content: center;
  395. align-items: center;
  396. }
  397. .unleft-1 {
  398. width: 35%;
  399. height: 100%;
  400. font-size: 12px;
  401. color: rgba(197, 48, 200, 1);
  402. font-weight: 600;
  403. line-height: 20px;
  404. display: flex;
  405. flex-direction: column;
  406. justify-content: center;
  407. align-items: center;
  408. }
  409. .right-1 {
  410. width: 69%;
  411. height: 100%;
  412. font-size: 12px;
  413. color: rgba(197, 48, 200, 1);
  414. line-height: 15px;
  415. display: flex;
  416. flex-direction: column;
  417. justify-content: center;
  418. }
  419. .unright-1 {
  420. width: 69%;
  421. height: 100%;
  422. font-size: 12px;
  423. color: rgba(197, 48, 200, 1);
  424. line-height: 15px;
  425. display: flex;
  426. flex-direction: column;
  427. justify-content: center;
  428. }
  429. .box-2 {
  430. width: 135px;
  431. height: 50px;
  432. color: #ffffff;
  433. border: 1px solid rgba(05, 187, 76, 1);
  434. background-color: rgba(05, 187, 76, 0.05);
  435. display: flex;
  436. flex-direction: row;
  437. align-items: center;
  438. margin-right: 5px;
  439. margin-top: 10px;
  440. box-shadow: 0px 0px 6px #09e45e;
  441. }
  442. .unbox-2 {
  443. width: 135px;
  444. height: 50px;
  445. color: #ffffff;
  446. border: 1px solid rgba(05, 187, 76, 1);
  447. background-color: rgba(05, 187, 76, 0.2);
  448. display: flex;
  449. flex-direction: row;
  450. align-items: center;
  451. margin-right: 5px;
  452. margin-top: 10px;
  453. }
  454. .left-2 {
  455. width: 35%;
  456. height: 100%;
  457. font-size: 12px;
  458. color: rgba(05, 187, 76, 1);
  459. font-weight: 600;
  460. line-height: 20px;
  461. display: flex;
  462. flex-direction: column;
  463. justify-content: center;
  464. align-items: center;
  465. }
  466. .unleft-2 {
  467. width: 35%;
  468. height: 100%;
  469. font-size: 12px;
  470. color: rgba(05, 187, 76, 1);
  471. font-weight: 600;
  472. line-height: 20px;
  473. display: flex;
  474. flex-direction: column;
  475. justify-content: center;
  476. align-items: center;
  477. }
  478. .right-2 {
  479. width: 69%;
  480. height: 100%;
  481. font-size: 12px;
  482. color: rgba(05, 187, 76, 1);
  483. line-height: 15px;
  484. display: flex;
  485. flex-direction: column;
  486. justify-content: center;
  487. }
  488. .unright-2 {
  489. width: 69%;
  490. height: 100%;
  491. font-size: 12px;
  492. color: rgba(05, 187, 76, 1);
  493. line-height: 15px;
  494. display: flex;
  495. flex-direction: column;
  496. justify-content: center;
  497. }
  498. .box-3 {
  499. width: 135px;
  500. height: 50px;
  501. color: #ffffff;
  502. border: 1px solid rgba(05, 187, 76, 1);
  503. background-color: rgba(05, 187, 76, 0.05);
  504. display: flex;
  505. flex-direction: row;
  506. align-items: center;
  507. margin-right: 5px;
  508. margin-top: 10px;
  509. box-shadow: 0px 0px 6px #09e45e;
  510. }
  511. .unbox-3 {
  512. width: 135px;
  513. height: 50px;
  514. color: #ffffff;
  515. border: 1px solid rgba(05, 187, 76, 1);
  516. background-color: rgba(05, 187, 76, 0.2);
  517. display: flex;
  518. flex-direction: row;
  519. align-items: center;
  520. margin-right: 5px;
  521. margin-top: 10px;
  522. }
  523. .left-3 {
  524. width: 35%;
  525. height: 100%;
  526. font-size: 12px;
  527. color: rgba(05, 187, 76, 1);
  528. font-weight: 600;
  529. line-height: 20px;
  530. display: flex;
  531. flex-direction: column;
  532. justify-content: center;
  533. align-items: center;
  534. }
  535. .unleft-3 {
  536. width: 35%;
  537. height: 100%;
  538. font-size: 12px;
  539. color: rgba(05, 187, 76, 1);
  540. font-weight: 600;
  541. line-height: 20px;
  542. display: flex;
  543. flex-direction: column;
  544. justify-content: center;
  545. align-items: center;
  546. }
  547. .right-3 {
  548. width: 69%;
  549. height: 100%;
  550. font-size: 12px;
  551. color: rgba(05, 187, 76, 1);
  552. line-height: 15px;
  553. display: flex;
  554. flex-direction: column;
  555. justify-content: center;
  556. }
  557. .unright-3 {
  558. width: 69%;
  559. height: 100%;
  560. font-size: 12px;
  561. color: rgba(05, 187, 76, 1);
  562. line-height: 15px;
  563. display: flex;
  564. flex-direction: column;
  565. justify-content: center;
  566. }
  567. .box-4 {
  568. width: 135px;
  569. height: 50px;
  570. color: #ffffff;
  571. border: 1px solid rgba(75, 85, 174, 1);
  572. background-color: rgba(75, 85, 174, 0.05);
  573. display: flex;
  574. flex-direction: row;
  575. align-items: center;
  576. margin-right: 5px;
  577. margin-top: 10px;
  578. box-shadow: 0px 0px 6px #6876f2;
  579. }
  580. .unbox-4 {
  581. width: 135px;
  582. height: 50px;
  583. color: #ffffff;
  584. border: 1px solid rgba(75, 85, 174, 1);
  585. background-color: rgba(75, 85, 174, 0.2);
  586. display: flex;
  587. flex-direction: row;
  588. align-items: center;
  589. margin-right: 5px;
  590. margin-top: 10px;
  591. }
  592. .left-4 {
  593. width: 35%;
  594. height: 100%;
  595. font-size: 12px;
  596. color: rgba(75, 85, 174, 1);
  597. font-weight: 600;
  598. line-height: 20px;
  599. display: flex;
  600. flex-direction: column;
  601. justify-content: center;
  602. align-items: center;
  603. }
  604. .unleft-4 {
  605. width: 35%;
  606. height: 100%;
  607. font-size: 12px;
  608. color: rgba(75, 85, 174, 1);
  609. font-weight: 600;
  610. line-height: 20px;
  611. display: flex;
  612. flex-direction: column;
  613. justify-content: center;
  614. align-items: center;
  615. }
  616. .right-4 {
  617. width: 69%;
  618. height: 100%;
  619. font-size: 12px;
  620. color: rgba(75, 85, 174, 1);
  621. line-height: 15px;
  622. display: flex;
  623. flex-direction: column;
  624. justify-content: center;
  625. }
  626. .unright-4 {
  627. width: 69%;
  628. height: 100%;
  629. font-size: 12px;
  630. color: rgba(75, 85, 174, 1);
  631. line-height: 15px;
  632. display: flex;
  633. flex-direction: column;
  634. justify-content: center;
  635. }
  636. .box-5 {
  637. width: 135px;
  638. height: 50px;
  639. color: #ffffff;
  640. border: 1px solid rgba(186, 50, 55, 1);
  641. background-color: rgba(186, 50, 55, 0.05);
  642. display: flex;
  643. flex-direction: row;
  644. align-items: center;
  645. margin-right: 5px;
  646. margin-top: 10px;
  647. box-shadow: 0px 0px 6px #ff1313;
  648. }
  649. @keyframes fade {
  650. from {
  651. opacity: 1;
  652. }
  653. 50% {
  654. opacity: 0.6;
  655. }
  656. to {
  657. opacity: 1;
  658. }
  659. }
  660. @-webkit-keyframes fade {
  661. from {
  662. opacity: 1;
  663. }
  664. 50% {
  665. opacity: 0.6;
  666. }
  667. to {
  668. opacity: 1;
  669. }
  670. }
  671. .unbox-flashing-5 {
  672. width: 135px;
  673. height: 50px;
  674. color: #ffffff;
  675. border: 1px solid rgba(186, 50, 55, 1);
  676. background-color: rgba(186, 50, 55, 0.2);
  677. display: flex;
  678. flex-direction: row;
  679. align-items: center;
  680. margin-right: 5px;
  681. margin-top: 10px;
  682. animation: fade 1600ms infinite;
  683. -webkit-animation: fade 1600ms infinite;
  684. }
  685. .unbox-5 {
  686. width: 135px;
  687. height: 50px;
  688. color: #ffffff;
  689. border: 1px solid rgba(186, 50, 55, 1);
  690. background-color: rgba(186, 50, 55, 0.2);
  691. display: flex;
  692. flex-direction: row;
  693. align-items: center;
  694. margin-right: 5px;
  695. margin-top: 10px;
  696. }
  697. .left-5 {
  698. width: 35%;
  699. height: 100%;
  700. font-size: 12px;
  701. color: rgba(186, 50, 55, 1);
  702. font-weight: 600;
  703. line-height: 20px;
  704. display: flex;
  705. flex-direction: column;
  706. justify-content: center;
  707. align-items: center;
  708. }
  709. .unleft-5 {
  710. width: 35%;
  711. height: 100%;
  712. font-size: 12px;
  713. color: rgba(186, 50, 55, 1);
  714. font-weight: 600;
  715. line-height: 20px;
  716. display: flex;
  717. flex-direction: column;
  718. justify-content: center;
  719. align-items: center;
  720. }
  721. .right-5 {
  722. width: 69%;
  723. height: 100%;
  724. font-size: 12px;
  725. color: rgba(186, 50, 55, 1);
  726. line-height: 15px;
  727. display: flex;
  728. flex-direction: column;
  729. justify-content: center;
  730. }
  731. .unright-5 {
  732. width: 69%;
  733. height: 100%;
  734. font-size: 12px;
  735. color: rgba(186, 50, 55, 1);
  736. line-height: 15px;
  737. display: flex;
  738. flex-direction: column;
  739. justify-content: center;
  740. }
  741. .box-6 {
  742. width: 135px;
  743. height: 50px;
  744. color: #ffffff;
  745. border: 1px solid rgba(225, 125, 36, 1);
  746. background-color: rgba(225, 125, 36, 0.05);
  747. display: flex;
  748. flex-direction: row;
  749. align-items: center;
  750. margin-right: 5px;
  751. margin-top: 10px;
  752. box-shadow: 0px 0px 6px #f28627;
  753. }
  754. .unbox-6 {
  755. width: 135px;
  756. height: 50px;
  757. color: #ffffff;
  758. border: 1px solid rgba(225, 125, 36, 1);
  759. background-color: rgba(225, 125, 36, 0.2);
  760. display: flex;
  761. flex-direction: row;
  762. align-items: center;
  763. margin-right: 5px;
  764. margin-top: 10px;
  765. }
  766. .left-6 {
  767. width: 35%;
  768. height: 100%;
  769. font-size: 12px;
  770. color: rgba(225, 125, 36, 1);
  771. font-weight: 600;
  772. line-height: 20px;
  773. display: flex;
  774. flex-direction: column;
  775. justify-content: center;
  776. align-items: center;
  777. }
  778. .unleft-6 {
  779. width: 35%;
  780. height: 100%;
  781. font-size: 12px;
  782. color: rgba(225, 125, 36, 1);
  783. font-weight: 600;
  784. line-height: 20px;
  785. display: flex;
  786. flex-direction: column;
  787. justify-content: center;
  788. align-items: center;
  789. }
  790. .right-6 {
  791. width: 69%;
  792. height: 100%;
  793. font-size: 12px;
  794. color: rgba(225, 125, 36, 1);
  795. line-height: 15px;
  796. display: flex;
  797. flex-direction: column;
  798. justify-content: center;
  799. }
  800. .unright-6 {
  801. width: 69%;
  802. height: 100%;
  803. font-size: 12px;
  804. color: rgba(225, 125, 36, 1);
  805. line-height: 15px;
  806. display: flex;
  807. flex-direction: column;
  808. justify-content: center;
  809. }
  810. .box-7 {
  811. width: 135px;
  812. height: 50px;
  813. color: #ffffff;
  814. border: 1px solid rgba(96, 103, 105, 1);
  815. background-color: rgba(96, 103, 105, 0.05);
  816. display: flex;
  817. flex-direction: row;
  818. align-items: center;
  819. margin-right: 5px;
  820. margin-top: 10px;
  821. box-shadow: 0px 0px 6px #ffffff;
  822. }
  823. .unbox-7 {
  824. width: 135px;
  825. height: 50px;
  826. color: #ffffff;
  827. border: 1px solid rgba(96, 103, 105, 1);
  828. background-color: rgba(96, 103, 105, 0.2);
  829. display: flex;
  830. flex-direction: row;
  831. align-items: center;
  832. margin-right: 5px;
  833. margin-top: 10px;
  834. }
  835. .left-7 {
  836. width: 35%;
  837. height: 100%;
  838. font-size: 12px;
  839. color: rgba(96, 103, 105, 1);
  840. font-weight: 600;
  841. line-height: 20px;
  842. display: flex;
  843. flex-direction: column;
  844. justify-content: center;
  845. align-items: center;
  846. }
  847. .unleft-7 {
  848. width: 35%;
  849. height: 100%;
  850. font-size: 12px;
  851. color: rgba(96, 103, 105, 1);
  852. font-weight: 600;
  853. line-height: 20px;
  854. display: flex;
  855. flex-direction: column;
  856. justify-content: center;
  857. align-items: center;
  858. }
  859. .right-7 {
  860. width: 69%;
  861. height: 100%;
  862. font-size: 12px;
  863. color: rgba(96, 103, 105, 1);
  864. line-height: 15px;
  865. display: flex;
  866. flex-direction: column;
  867. justify-content: center;
  868. }
  869. .unright-7 {
  870. width: 69%;
  871. height: 100%;
  872. font-size: 12px;
  873. color: rgba(96, 103, 105, 1);
  874. line-height: 15px;
  875. display: flex;
  876. flex-direction: column;
  877. justify-content: center;
  878. }
  879. </style>