home.vue 22 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048
  1. <template>
  2. <div style="background-color: #f4f7ff">
  3. <scroll-view class="wrap-box">
  4. <div class="parkingFee" ref="parkingFee">
  5. <div class="parkingFee-top bg">
  6. <div
  7. :class="{
  8. top_menu: true
  9. }"
  10. >
  11. <div class="menu_item" @click="doRouter">
  12. <img
  13. :src="require(`../../static/images/icon-order.png`)"
  14. alt="缴费记录"
  15. />
  16. <span>缴费记录</span>
  17. </div>
  18. <div class="menu_item" @click="doRouter1">
  19. <img
  20. :src="require(`../../static/images/icon-ticket.png`)"
  21. alt="停车开票"
  22. />
  23. <span>停车开票</span>
  24. </div>
  25. <div class="menu_item" @click="doRouter2">
  26. <img
  27. :src="require(`../../static/images/icon-car.png`)"
  28. alt="车辆管理"
  29. />
  30. <span>车辆管理</span>
  31. </div>
  32. </div>
  33. </div>
  34. <div
  35. :class="{
  36. 'parkingFee-bottom': true,
  37. pb65: carList.length < 1,
  38. }"
  39. >
  40. <div class="parkingFee-search">
  41. <div class="search_tip">
  42. <div>车辆类型</div>
  43. <div class="search_tip_pt">
  44. <div
  45. :class="carType == 0 ? 'search_tip_pt_index' : ''"
  46. @click="toggleType(0)"
  47. >
  48. 燃油车牌
  49. </div>
  50. <div
  51. :class="carType == 1 ? 'search_tip_pt_index' : ''"
  52. @click="toggleType(1)"
  53. >
  54. 新能源
  55. </div>
  56. <div
  57. :class="carType == 2 ? 'search_tip_pt_index' : ''"
  58. @click="toggleType(2)"
  59. >
  60. 特殊车牌
  61. </div>
  62. </div>
  63. </div>
  64. <div class="input-box">
  65. <div
  66. class="li"
  67. @click="clickShowKeyboard(0)"
  68. :class="[active === 0 ? 'active' : '']"
  69. >
  70. {{ numArr[0] }}
  71. </div>
  72. <div
  73. class="li"
  74. @click="clickShowKeyboard(1)"
  75. :class="[active === 1 ? 'active' : '']"
  76. >
  77. {{ numArr[1] }}
  78. </div>
  79. <div class="input_box_dian">·</div>
  80. <div
  81. class="li"
  82. @click="clickShowKeyboard(2)"
  83. :class="[active === 2 ? 'active' : '']"
  84. >
  85. {{ numArr[2] }}
  86. </div>
  87. <div
  88. class="li"
  89. @click="clickShowKeyboard(3)"
  90. :class="[active === 3 ? 'active' : '']"
  91. >
  92. {{ numArr[3] }}
  93. </div>
  94. <div
  95. class="li"
  96. @click="clickShowKeyboard(4)"
  97. :class="[active === 4 ? 'active' : '']"
  98. >
  99. {{ numArr[4] }}
  100. </div>
  101. <div
  102. class="li"
  103. @click="clickShowKeyboard(5)"
  104. :class="[active === 5 ? 'active' : '']"
  105. >
  106. {{ numArr[5] }}
  107. </div>
  108. <div
  109. class="li"
  110. @click="clickShowKeyboard(6)"
  111. :class="[active === 6 ? 'active' : '']"
  112. >
  113. {{ numArr[6] }}
  114. </div>
  115. <div
  116. class="li"
  117. @click="clickShowKeyboard(7)"
  118. :class="[active === 7 ? 'active' : '']"
  119. v-if="carType == 1"
  120. >
  121. <span v-if="numArr[7]">{{ numArr[7] }}</span>
  122. </div>
  123. </div>
  124. <button
  125. class="search-btn"
  126. :class="disabledBtn ? 'disabled-btn' : ''"
  127. :disabled="disabledBtn"
  128. @click="preHandleSearch"
  129. >
  130. 查询缴费
  131. </button>
  132. </div>
  133. <div class="vehicleMgt-list">
  134. <div class="vehicleMgt-title">
  135. <div>历史车辆</div>
  136. </div>
  137. <div class="vehicleMgt-content" v-if="carList.length">
  138. <div
  139. class="item"
  140. v-for="(item, index) in carList"
  141. :key="index"
  142. @click="toHandleSearch(item)"
  143. :class="vehicleNumber == item ? 'vehicleMgt-content_cls' : ''"
  144. >
  145. {{ item | formatCarno }}
  146. </div>
  147. </div>
  148. </div>
  149. </div>
  150. <div
  151. :class="{
  152. top_content: true,
  153. }"
  154. >
  155. <div class="title_box">
  156. <span class="title">缴费说明</span>
  157. </div>
  158. <div class="info" :class="!init_ch ? 'info_show' : ''">
  159. <span>{{ description }}</span>
  160. </div>
  161. <div
  162. class="top_down"
  163. @click="top_display"
  164. v-if="
  165. !init_ch &&
  166. description &&
  167. description.length > 60
  168. "
  169. >
  170. <van-icon name="arrow-down" />
  171. </div>
  172. <div class="top_down" @click="top_display" v-else>
  173. <van-icon name="arrow-up" />
  174. </div>
  175. </div>
  176. </div>
  177. </scroll-view>
  178. <plate-number
  179. ref="plateKeyboard"
  180. :carType="carType"
  181. :active="active"
  182. :ind="ind"
  183. :numArr="numArr"
  184. @carnoArr="updateCarno"
  185. ></plate-number>
  186. </div>
  187. </template>
  188. <script>
  189. import homeJs from '../../mixins/home';
  190. export default {
  191. mixins: [homeJs],
  192. name: 'officeBlueCom',
  193. };
  194. </script>
  195. <style lang="less">
  196. page {
  197. background-color: #f4f7ff;
  198. }
  199. .scroll-Y {
  200. width: 100%;
  201. // display: flex;
  202. // flex-direction: column;
  203. height: 100vh;
  204. }
  205. .color-scroll-Y {
  206. background: #e7e9ea;
  207. }
  208. .wrap-box {
  209. display: flex;
  210. flex-direction: column;
  211. width: 100%;
  212. font-size: 14px;
  213. .parkingFee {
  214. display: flex;
  215. flex-direction: column;
  216. .parkingFee-top {
  217. display: flex;
  218. flex-direction: column;
  219. background-size: 100% 30%;
  220. // height: 350px;
  221. margin-bottom: 20px;
  222. background: #fafbff;
  223. border: 1px solid #d8dae0;
  224. border-top: none;
  225. .top_down {
  226. width: 100%;
  227. text-align: center;
  228. color: #b0a9a9;
  229. }
  230. }
  231. .top_menu {
  232. background: #fafbff;
  233. padding: 50px 40px 30px;
  234. box-sizing: border-box;
  235. display: flex;
  236. justify-content: space-between;
  237. width: 100%;
  238. .menu_item {
  239. display: flex;
  240. flex-direction: column;
  241. align-items: center;
  242. width: 33.3%;
  243. img {
  244. width: 100px;
  245. height: 100px;
  246. }
  247. span {
  248. font-size: 30px;
  249. margin-top: 10px;
  250. }
  251. }
  252. }
  253. .color_top_menu(@value) {
  254. @color: 'color-@{value}';
  255. margin-top: 0;
  256. margin-left: 0;
  257. padding-top: 0;
  258. width: 100%;
  259. height: 211px;
  260. color: @@color;
  261. border-radius: 0;
  262. align-items: center;
  263. .menu_item {
  264. width: 33.33333%;
  265. img {
  266. width: 83px;
  267. height: 83px;
  268. }
  269. span {
  270. font-size: 24px;
  271. margin-top: 20px;
  272. }
  273. }
  274. }
  275. .parkingFee-bottom {
  276. width: 100%;
  277. display: flex;
  278. flex-direction: column;
  279. //padding: 14px 25px;
  280. background: #fafbff;
  281. border: 1px solid #d8dae0;
  282. box-sizing: border-box;
  283. // padding-bottom: 65px;
  284. margin-bottom: 24px;
  285. &.pb65 {
  286. padding-bottom: 65px;
  287. }
  288. // 车牌号查询
  289. .parkingFee-search {
  290. width: 100%;
  291. display: flex;
  292. flex-direction: column;
  293. //background: #fff;
  294. //border-radius: 15px;
  295. padding: 26px 25px 20px;
  296. box-sizing: border-box;
  297. .search_tip {
  298. margin-bottom: 10px;
  299. width: 100%;
  300. margin-left: -1px;
  301. font-size: 24px;
  302. display: flex;
  303. justify-content: space-between;
  304. align-items: center;
  305. font-size: 30px;
  306. &:first-child {
  307. font-size: 36px;
  308. font-weight: 500;
  309. color: #333333;
  310. line-height: 50px;
  311. }
  312. .search_tip_pt {
  313. font-size: 24px;
  314. width: 470px;
  315. display: flex;
  316. justify-content: space-around;
  317. align-items: center;
  318. border: 1px solid #999999;
  319. height: 54px;
  320. color: #999999;
  321. overflow: hidden;
  322. border-radius: 50px;
  323. div {
  324. height: 100%;
  325. border-radius: 50px;
  326. line-height: 54px;
  327. text-align: center;
  328. }
  329. div:nth-child(1) {
  330. width: 37%;
  331. }
  332. div:nth-child(2) {
  333. width: 36%;
  334. }
  335. div:nth-child(3) {
  336. width: 37%;
  337. }
  338. .search_tip_pt_index {
  339. color: #fff;
  340. //background-image: linear-gradient(to right, #7e4fa1, #433c7f);
  341. //background-image: linear-gradient(to right, #7e4fa1, #433c7f);
  342. background-color: #064c8a;
  343. }
  344. }
  345. }
  346. // 车牌号 & 虚拟键盘
  347. .input-box {
  348. width: 100%;
  349. height: 100px;
  350. //margin: auto;
  351. background: #f4f7ff;
  352. border-radius: 0.4rem;
  353. margin: 1rem auto;
  354. display: flex;
  355. justify-content: center;
  356. .li {
  357. flex: 1;
  358. border: 1px solid rgba(206, 208, 210, 1);
  359. box-sizing: border-box;
  360. margin: 0 18px;
  361. font-size: 50px;
  362. display: flex;
  363. align-items: center;
  364. justify-content: center;
  365. color: #000000;
  366. img {
  367. width: 80%;
  368. height: 100%;
  369. }
  370. &.active {
  371. border-color: #064c8a;
  372. }
  373. }
  374. .input_box_dian {
  375. display: flex;
  376. justify-content: center;
  377. align-items: center;
  378. font-size: 120px;
  379. color: #000000;
  380. }
  381. }
  382. .search-btn {
  383. color: #fff;
  384. margin: 0 auto;
  385. height: 90px;
  386. width: 98%;
  387. line-height: 50px;
  388. border-radius: 80px;
  389. font-size: 36px;
  390. text-align: center;
  391. //background-image: linear-gradient(to right, #7e4fa1, #433c7f);
  392. background-color: #064c8a;
  393. }
  394. .disabled-btn {
  395. background-color: #c1c1c1 !important;
  396. background-image: none !important;
  397. }
  398. }
  399. .vehicleMgt-list {
  400. display: flex;
  401. flex-direction: column;
  402. margin-bottom: 35px;
  403. margin-top: 20px;
  404. .vehicleMgt-title {
  405. width: 91%;
  406. display: flex;
  407. justify-content: space-between;
  408. margin-left: 4%;
  409. // padding-left: 30px;
  410. padding-top: 30px;
  411. box-sizing: border-box;
  412. border-top: 1px solid #f2f2f2;
  413. font-size: 30px;
  414. .vehicleMgt-title-img {
  415. width: 30px;
  416. height: 30px;
  417. }
  418. }
  419. .vehicleMgt-content {
  420. width: 94%;
  421. margin-left: 3%;
  422. display: flex;
  423. flex-wrap: wrap;
  424. // justify-content: space-around;
  425. border-radius: 15px;
  426. .item {
  427. width: 30%;
  428. height: 60px;
  429. margin-top: 30px;
  430. margin-left: 16px;
  431. text-align: center;
  432. box-sizing: border-box;
  433. border: 2px solid #dcdcdc;
  434. line-height: 60px;
  435. font-size: 28px;
  436. border-radius: 30px;
  437. color: #666666;
  438. background-color: #f4f7ff;
  439. }
  440. .vehicleMgt-content_cls {
  441. // color: #f4f7ff;
  442. border: 2px solid #064c8a;
  443. }
  444. // .item::after {
  445. // content: '';
  446. // display: block;
  447. // height: 1px;
  448. // width: 92%;
  449. // position: absolute;
  450. // background-color: #F2F2F2;
  451. // bottom: 0px;
  452. // left: 4%;
  453. // }
  454. // .item:last-child::after {
  455. // display: none;
  456. // }
  457. }
  458. }
  459. .search-list {
  460. display: flex;
  461. flex-direction: column;
  462. background: #fff;
  463. padding: 0 30px;
  464. box-sizing: border-box;
  465. margin-top: 20px;
  466. border-radius: 15px;
  467. width: 100%;
  468. .list_item {
  469. padding: 38px 0;
  470. box-sizing: border-box;
  471. display: flex;
  472. align-items: center;
  473. justify-content: space-between;
  474. border-bottom: 1px solid #f2f2f2;
  475. span {
  476. font-size: 28px;
  477. }
  478. button {
  479. height: 60px;
  480. line-height: 60px;
  481. margin: 0;
  482. }
  483. }
  484. }
  485. }
  486. .top_content {
  487. padding: 30px 30px;
  488. margin-bottom: constant(safe-area-inset-bottom); // 兼容 IOS<11.2
  489. margin-bottom: env(safe-area-inset-bottom); // 兼容 IOS>=11.2
  490. box-sizing: border-box;
  491. display: flex;
  492. flex-direction: column;
  493. //width: 750px;
  494. //height: 280px;
  495. background: #fafbff;
  496. border: 1px solid #d8dae0;
  497. span {
  498. font-size: 24px;
  499. color: #898989;
  500. text-align: left;
  501. }
  502. .title_box {
  503. display: flex;
  504. align-items: center;
  505. justify-content: space-between;
  506. // margin-bottom: 20px;
  507. .title {
  508. // padding: 0px 14px;
  509. box-sizing: border-box;
  510. border-radius: 20px;
  511. font-size: 36px;
  512. color: #000;
  513. font-weight: 500;
  514. text-align: left;
  515. line-height: 50px;
  516. }
  517. }
  518. .info {
  519. // padding-left: 18px;
  520. white-space: break-spaces;
  521. font-size: 30px;
  522. width: 100%;
  523. color: #999999;
  524. line-height: 45px;
  525. }
  526. .info_show {
  527. word-break: break-all;
  528. text-overflow: ellipsis;
  529. overflow: hidden;
  530. display: -webkit-box;
  531. -webkit-line-clamp: 2;
  532. -webkit-box-orient: vertical;
  533. }
  534. .top_down {
  535. margin-top: 20px;
  536. width: 100%;
  537. // font-size: 20PX;
  538. line-height: 20px;
  539. text-align: center;
  540. color: #999999;
  541. }
  542. }
  543. }
  544. }
  545. // 缴费说明
  546. .payInstruct_wrap {
  547. width: 300px;
  548. margin: 0 auto;
  549. display: flex;
  550. flex-direction: column;
  551. background: #fff;
  552. border-radius: 20px;
  553. .scroll {
  554. height: 600px;
  555. display: flex;
  556. flex-direction: column;
  557. padding: 20px;
  558. box-sizing: border-box;
  559. .payInstruct_title {
  560. font-size: 30px;
  561. text-align: center;
  562. padding: 20px 0;
  563. box-sizing: border-box;
  564. border-bottom: 1px solid #f2f2f2;
  565. }
  566. .payInstruct_con {
  567. display: flex;
  568. width: 100%;
  569. padding: 20px 10px;
  570. box-sizing: border-box;
  571. span {
  572. font-size: 28px;
  573. color: #999;
  574. }
  575. }
  576. }
  577. }
  578. .class-van-button-small {
  579. min-width: 0;
  580. border-radius: 10px;
  581. margin: 10px 3px;
  582. box-shadow: 10px 10px 10px #aaa;
  583. }
  584. .class-plate-box {
  585. width: 100%;
  586. padding: 24px 0;
  587. box-sizing: border-box;
  588. position: relative;
  589. }
  590. .plate_number {
  591. width: 100%;
  592. display: flex;
  593. flex-direction: column;
  594. .plate_number_wrap {
  595. width: 100%;
  596. display: flex;
  597. flex-direction: column;
  598. background: #eaf1f9;
  599. padding: 0 0 10px;
  600. box-sizing: border-box;
  601. .close-box {
  602. width: 100%;
  603. font-size: 24px;
  604. color: #3e67ff;
  605. text-align: right;
  606. margin-right: 1.25rem;
  607. div {
  608. padding: 10px;
  609. }
  610. }
  611. .plate_chinese_box {
  612. width: 100%;
  613. display: flex;
  614. flex-wrap: wrap;
  615. justify-content: center;
  616. button {
  617. width: 9%;
  618. height: 2.5rem;
  619. line-height: 2.5rem;
  620. text-align: center;
  621. padding: 0;
  622. font-size: 28px;
  623. .class-van-button-small;
  624. }
  625. }
  626. }
  627. }
  628. .allBoard {
  629. width: 100%;
  630. display: flex;
  631. flex-direction: column;
  632. .allBoard_wrap {
  633. width: 100%;
  634. display: flex;
  635. flex-direction: column;
  636. background: #eaf1f9;
  637. padding: 0 0 10px;
  638. box-sizing: border-box;
  639. }
  640. .close-box {
  641. padding-top: 22px;
  642. box-sizing: border-box;
  643. font-size: 24px;
  644. color: #3e67ff;
  645. text-align: right;
  646. margin-right: 1.25rem;
  647. }
  648. .plate_number_box {
  649. width: 100%;
  650. display: flex;
  651. flex-wrap: wrap;
  652. justify-content: center;
  653. button {
  654. width: 9%;
  655. height: 2.5rem;
  656. line-height: 2.5rem;
  657. text-align: center;
  658. padding: 0;
  659. font-size: 28px;
  660. .class-van-button-small;
  661. }
  662. }
  663. }
  664. .delBtn {
  665. color: #fff;
  666. height: 38px;
  667. line-height: 38px;
  668. font-size: 20px;
  669. width: 124px;
  670. border-radius: 7px;
  671. text-align: center;
  672. padding: 4px;
  673. background-color: #c69c6d;
  674. }
  675. .payThe {
  676. background-color: #fff;
  677. width: 100%;
  678. .pay_index {
  679. text-align: center;
  680. width: 200px;
  681. padding-top: 10px;
  682. margin: 0 auto;
  683. }
  684. .pay_title {
  685. width: 500px;
  686. display: flex;
  687. align-items: center;
  688. margin-top: 30px;
  689. }
  690. .pay_title1 {
  691. width: 100%;
  692. margin-top: 20px;
  693. display: flex;
  694. align-items: center;
  695. }
  696. .pay_title_yhj {
  697. margin-left: 60px;
  698. font-size: 20px;
  699. }
  700. .pay_title_yhj1 {
  701. margin-left: 35px;
  702. font-size: 20px;
  703. }
  704. .payjf {
  705. font-size: 20px;
  706. margin-left: 30px;
  707. }
  708. .paySelect {
  709. color: rgba(16, 16, 16, 100);
  710. font-size: 20px;
  711. font-family: Arial;
  712. border: 1px solid rgba(187, 187, 187, 100);
  713. border-radius: 10px;
  714. margin-left: 80px;
  715. width: 260px;
  716. height: 80px;
  717. }
  718. .paySelect1 {
  719. color: rgba(16, 16, 16, 100);
  720. font-size: 20px;
  721. font-family: Arial;
  722. border: 1px solid rgba(187, 187, 187, 100);
  723. border-radius: 10px;
  724. margin-left: 80px;
  725. width: 260px;
  726. height: 80px;
  727. display: flex;
  728. align-items: center;
  729. }
  730. .pay-se {
  731. width: 120px;
  732. height: 100%;
  733. background-color: #d8dce6;
  734. .pay-se-l {
  735. height: 48%;
  736. text-align: center;
  737. font-size: 50px;
  738. line-height: 68px;
  739. }
  740. .pay-se-l1 {
  741. border-left: 1px solid rgba(187, 187, 187, 100);
  742. border-bottom: 1px solid rgba(187, 187, 187, 100);
  743. }
  744. .pay-se-l2 {
  745. border-left: 1px solid rgba(187, 187, 187, 100);
  746. }
  747. }
  748. .payjfzk {
  749. font-size: 20px;
  750. color: #8b8c8b;
  751. margin-top: 10px;
  752. margin-left: 210px;
  753. }
  754. .pay_time {
  755. font-size: 28px;
  756. margin-left: 180px;
  757. padding-bottom: 40px;
  758. }
  759. .pay_time1 {
  760. margin-top: 26px;
  761. }
  762. }
  763. .pay_jiaof {
  764. width: 97%;
  765. height: 60px;
  766. line-height: 60px;
  767. margin-left: 10px;
  768. background-color: #c69c6d;
  769. text-align: center;
  770. color: rgba(255, 255, 255, 100);
  771. font-size: 28px;
  772. font-family: Microsoft Yahei;
  773. border-radius: 10px;
  774. margin-top: 20px;
  775. }
  776. .sq_content {
  777. width: 700px;
  778. background-color: #fff;
  779. position: fixed;
  780. bottom: 25px;
  781. left: 25px;
  782. height: 50px;
  783. display: flex;
  784. justify-content: space-between;
  785. align-items: center;
  786. border-radius: 15px;
  787. font-size: 16px;
  788. color: #c69c6d;
  789. padding: 0 30px;
  790. box-sizing: border-box;
  791. }
  792. .sq_content .btn {
  793. width: 180px;
  794. height: 30px;
  795. line-height: 30px;
  796. text-align: center;
  797. color: #fff;
  798. background-color: #c69c6d;
  799. margin-top: -3px;
  800. border-radius: 25px;
  801. }
  802. // 停车券弹窗
  803. .ticketPopup {
  804. display: flex;
  805. flex-direction: column;
  806. background: #fff;
  807. border-radius: 20px 20px 0 0;
  808. z-index: 999;
  809. .popup-title {
  810. display: flex;
  811. justify-content: center;
  812. align-items: center;
  813. padding: 30px 42px;
  814. box-sizing: border-box;
  815. border-bottom: 1px solid #f2f2f2;
  816. position: relative;
  817. span {
  818. color: #999;
  819. font-size: 28px;
  820. }
  821. .useRule-text {
  822. position: absolute;
  823. right: 42px;
  824. color: rgb(58, 130, 248);
  825. }
  826. }
  827. .popup_scroll {
  828. height: 70vh;
  829. background: #f2f2f2;
  830. }
  831. .popup_content {
  832. width: 100%;
  833. height: 100%;
  834. display: flex;
  835. flex-direction: column;
  836. padding: 10px 20px;
  837. box-sizing: border-box;
  838. .item {
  839. display: flex;
  840. background: #fff;
  841. margin-bottom: 20px;
  842. border-radius: 10px;
  843. .item-left {
  844. flex: 1;
  845. display: flex;
  846. align-items: center;
  847. padding: 20px 0;
  848. box-sizing: border-box;
  849. position: relative;
  850. .item-type {
  851. position: absolute;
  852. top: 0;
  853. left: 0;
  854. background: #fff5f1;
  855. border-radius: 10px 0 10px 0;
  856. width: 205px;
  857. display: flex;
  858. justify-content: center;
  859. span {
  860. color: #999;
  861. font-size: 20px;
  862. text-align: center;
  863. line-height: 28px;
  864. }
  865. }
  866. .item-value {
  867. color: #c69c6d;
  868. font-size: 40px;
  869. padding: 10px 30px;
  870. box-sizing: border-box;
  871. width: 205px;
  872. display: flex;
  873. justify-content: center;
  874. .b {
  875. color: #c69c6d;
  876. font-weight: 600;
  877. font-size: 60px;
  878. }
  879. }
  880. .color_disabled {
  881. color: #999 !important;
  882. }
  883. }
  884. .item-right {
  885. display: flex;
  886. align-items: center;
  887. justify-content: center;
  888. border-radius: 0 8px 8px 0;
  889. position: relative;
  890. span {
  891. color: #c69c6d;
  892. font-size: 24px;
  893. padding: 0 20px;
  894. box-sizing: border-box;
  895. }
  896. .color_disabled {
  897. color: #999;
  898. }
  899. // 对勾
  900. .dot {
  901. position: absolute;
  902. top: 0;
  903. right: 0;
  904. width: 2.25rem;
  905. height: 2.375rem;
  906. }
  907. }
  908. }
  909. }
  910. }
  911. // 弹窗按钮
  912. .popup_button {
  913. width: 100%;
  914. display: flex;
  915. align-items: center;
  916. justify-content: space-between;
  917. padding: 10px 20px;
  918. box-sizing: border-box;
  919. span {
  920. height: 110px;
  921. line-height: 110px;
  922. text-align: center;
  923. }
  924. .cancel_btn {
  925. background: #fff;
  926. color: #ed1c24 !important;
  927. }
  928. .ok_btn {
  929. background: #c69c6d;
  930. color: #fff !important;
  931. width: 120px;
  932. height: 40px;
  933. line-height: 40px;
  934. border-radius: 40px;
  935. }
  936. }
  937. </style>