ApplyRecord.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937
  1. <template>
  2. <div class="page">
  3. <div class="step">
  4. <div v-for="item in stepList" :key="item.id" :class="step >= item.id ? 'step-item step-active' : 'step-item'">
  5. <div v-t="$t(item.name)" class="step-item-content"></div>
  6. </div>
  7. </div>
  8. <div class="form-box">
  9. <div v-if="step == 1" class="status-box">
  10. <div class="status">
  11. <template v-if="cardInfo.tradeType == '1'">
  12. <span v-if="cardInfo.tradeStatus == '2'" v-t="'card.Info.t8'"></span>
  13. <span v-else-if="cardInfo.tradeStatus == '3'" v-t="'card.Info.t9'"></span>
  14. <span v-else v-t="'card.Info.t5'"></span>
  15. </template>
  16. <template v-if="cardInfo.tradeType == '2'">
  17. <span v-if="cardInfo.tradeStatus == '2'" v-t="'card.Info.t12'"></span>
  18. <span v-else-if="cardInfo.tradeStatus == '3'" v-t="'card.Info.t13'"></span>
  19. <span v-else v-t="'card.Info.t11'"></span>
  20. </template>
  21. </div>
  22. <template v-if="cardInfo.tradeType == '1'">
  23. <template v-if="cardInfo.tradeStatus == '1'">
  24. <p v-t="'card.Info.s31'"></p>
  25. <img src="@/assets/images/card/img1.png" alt="" srcset="">
  26. </template>
  27. <template v-if="cardInfo.tradeStatus == '3'">
  28. <p v-t="'card.Info.s32'"></p>
  29. <img src="@/assets/images/card/img4.png" alt="" srcset="">
  30. </template>
  31. </template>
  32. <template v-if="cardInfo.tradeType == '2'">
  33. <template v-if="cardInfo.tradeStatus == '1'">
  34. <p v-t="'card.Info.s32'"></p>
  35. <img src="@/assets/images/card/img1.png" alt="" srcset="">
  36. </template>
  37. <template v-if="cardInfo.tradeStatus == '2'">
  38. <p v-t="'card.Info.s33'"></p>
  39. <img src="@/assets/images/card/img3.png" alt="" srcset="">
  40. </template>
  41. </template>
  42. </div>
  43. <div v-if="step == 2" class="status-box">
  44. <div class="status">
  45. <span v-if="cardInfo.approveStatus == '2'" v-t="'card.Info.t2'"></span>
  46. <span v-else-if="cardInfo.approveStatus == '3'" v-t="'card.Info.t3'"></span>
  47. <span v-else v-t="'card.Info.t1'"></span>
  48. </div>
  49. <template v-if="cardInfo.approveStatus == '1'">
  50. <p v-t="'card.Info.s34'"></p>
  51. <img src="@/assets/images/card/img1.png" alt="" srcset="">
  52. </template>
  53. <template v-if="cardInfo.approveStatus == '3'">
  54. <p v-t="'card.Info.s35'"></p>
  55. <img src="@/assets/images/card/img4.png" alt="" srcset="">
  56. </template>
  57. </div>
  58. <div v-if="step == 3" class="status-box">
  59. <div class="status">
  60. <span v-if="cardInfo.status === 'success'" v-t="'card.Info.t6'"></span>
  61. <span v-else-if="cardInfo.status === 'fail'" v-t="'card.Info.t7'"></span>
  62. <span v-else-if="cardInfo.status === 'processing'" v-t="'card.Info.t5'"></span>
  63. <span v-else v-t="'card.Info.t10'"></span>
  64. </div>
  65. <template v-if="cardInfo.status == 'success'">
  66. <p v-t="'card.Info.s36'"></p>
  67. <img src="@/assets/images/card/img5.png" alt="" srcset="">
  68. <div class="step-box">
  69. <div class="step-item">
  70. <div class="ids">1</div>
  71. <p v-t="'card.Info.s22'" class="k"></p>
  72. <p v-t="'card.Info.s23'" class="v"></p>
  73. </div>
  74. <div class="step-item">
  75. <div class="ids">2</div>
  76. <p v-t="'card.Info.s24'" class="k"></p>
  77. <p v-t="'card.Info.s25'" class="v"></p>
  78. </div>
  79. <div class="step-item">
  80. <div class="ids">3</div>
  81. <p v-t="'card.Info.s26'" class="k"></p>
  82. <p v-t="'card.Info.s27'" class="v"></p>
  83. </div>
  84. <div class="step-item">
  85. <div class="ids">4</div>
  86. <p v-t="'card.Info.s28'" class="k"></p>
  87. <p v-t="'card.Info.s29'" class="v"></p>
  88. <p v-t="'card.Info.s30'" class="v"></p>
  89. </div>
  90. </div>
  91. <div v-t="'card.Info.s21'" class="f"></div>
  92. </template>
  93. <template v-else-if="cardInfo.status == 'fail'">
  94. <p v-t="'card.Info.s37'"></p>
  95. <img src="@/assets/images/card/img4.png" alt="" srcset="">
  96. </template>
  97. <template v-else>
  98. <p v-t="'card.Info.s38'"></p>
  99. <img src="@/assets/images/card/img1.png" alt="" srcset="">
  100. </template>
  101. </div>
  102. </div>
  103. <div v-if="cardInfo.cardName && !props.type" class="card-info1">
  104. <div class="card-title">{{ cardInfo.cardName }}</div>
  105. <div class="card-content">{{ cardInfo.cardDesc }}</div>
  106. <ul class="card-list">
  107. <li>
  108. <span class="label">{{ t(`card.New1.d13`) }}</span>
  109. <span>{{ cardInfo.mailingAreaCode }} {{ cardInfo.mailingMobile }}</span>
  110. </li>
  111. <li>
  112. <span class="label">{{ t('card.New1.d8') }}</span>
  113. <span>{{ cardInfo.mailingCountry || '--' }}</span>
  114. </li>
  115. <li>
  116. <span class="label">{{ t('card.New1.d9') }}</span>
  117. <span>{{ cardInfo.mailingTown }}</span>
  118. </li>
  119. <li>
  120. <span class="label">{{ t('card.New1.d10') }}</span>
  121. <span>{{ cardInfo.mailingAddressCn }}</span>
  122. </li>
  123. <li>
  124. <span class="label">{{ t('card.New1.d11') }}</span>
  125. <span>{{ cardInfo.mailingAddress }}</span>
  126. </li>
  127. <li>
  128. <span class="label">{{ t('card.New1.d12') }}</span>
  129. <span>{{ cardInfo.mailingPostCode }}</span>
  130. </li>
  131. <li class="one" :class="statusClass(cardInfo.status)">
  132. <span class="label">{{ t('apply-record-detail.p7') }}</span>
  133. <span>{{ statusMap[cardInfo.status] || t('apply-record-detail.p8') }}</span>
  134. </li>
  135. </ul>
  136. </div>
  137. <div
  138. v-if="(cardInfo.tradeStatus == '3' || (cardInfo.tradeStatus == '2' && cardInfo.tradeType == '2')) && cardInfo.applyStatus == 'fail'"
  139. class="fixed-btn"
  140. >
  141. <div class="cwg-button">
  142. <van-button type="primary" block @click="handleApply(3, cardInfo)">{{ t('cards.p7') }}</van-button>
  143. </div>
  144. </div>
  145. </div>
  146. </template>
  147. <script setup lang="ts">
  148. import { useI18n } from 'vue-i18n'
  149. import useUserStore from '@/stores/use-user-store'
  150. const props = defineProps({
  151. id: String,
  152. type: String,
  153. })
  154. const userStore = useUserStore()
  155. const applyList = computed(() => userStore.applyCard)
  156. const { t } = useI18n()
  157. const cardInfo = ref({})
  158. const showCardNo = ref<{ [key: string]: boolean }>({})
  159. const isFlipping = ref<{ [key: string]: boolean }>({})
  160. const isShowBtn = ref(false)
  161. const dateRange = ref<[string, string] | undefined>(undefined)
  162. dateRange.value = ['', '']
  163. const stepList = [
  164. { id: 1, name: 'card.Info.s39', status: 'finish' },
  165. { id: 2, name: 'card.Info.s40', status: 'process' },
  166. { id: 3, name: 'card.Info.s41', status: 'wait' },
  167. ]
  168. const step = ref(1)
  169. async function getKycList() {
  170. const b = applyList.value.filter((i) => {
  171. return i.kycStatus == null
  172. })
  173. if (b.length != 0) {
  174. isShowBtn.value = true
  175. }
  176. else {
  177. isShowBtn.value = false
  178. }
  179. const filtered = applyList.value
  180. if (props.id) {
  181. let a = {
  182. status: 'success',
  183. tradeStatus: 2,
  184. approveStatus: 2,
  185. tradeType: 1,
  186. }
  187. a = applyList.value.filter(item => item.id == props.id)[0]
  188. if (a?.tradeStatus == 1)
  189. step.value = 1
  190. if (a?.tradeStatus == 2 && a.tradeType == 1)
  191. step.value = 2
  192. if (a?.approveStatus == 2)
  193. step.value = 3
  194. cardInfo.value = a
  195. }
  196. console.log(props, cardInfo.value, applyList.value, props.id, filtered[0], 198)
  197. }
  198. const statusMap: Record<string, string> = {
  199. success: t('apply-record-detail.p6'),
  200. fail: t('apply-record-detail.p9'),
  201. processing: t('apply-record-detail.p8'),
  202. wait_process: t('apply-record-detail.p8'),
  203. cancel: t('apply-record-detail.p8'),
  204. }
  205. function statusClass(status: string) {
  206. switch (status) {
  207. case 'success':
  208. return 'one'
  209. case 'fail':
  210. return 'error'
  211. case 'cancel':
  212. return 'error'
  213. default:
  214. return 'default'
  215. }
  216. }
  217. function toggleCardNo(cardId: string, event: MouseEvent) {
  218. event.stopPropagation()
  219. isFlipping.value[cardId] = !isFlipping.value[cardId]
  220. showCardNo.value[cardId] = !showCardNo.value[cardId]
  221. }
  222. onMounted(async () => {
  223. applyList.value.forEach((card) => {
  224. showCardNo.value[card.id] = false
  225. isFlipping.value[card.id] = false
  226. })
  227. getKycList()
  228. })
  229. </script>
  230. <style scoped lang="scss">
  231. .page {
  232. padding: 16px 16px 150px 16px;
  233. box-sizing: border-box;
  234. min-height: 100vh;
  235. background: var(--main-bg);
  236. }
  237. .page1 {
  238. padding: 16px;
  239. }
  240. .card-wrapper {
  241. position: absolute;
  242. width: 100%;
  243. height: 100%;
  244. transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  245. will-change: transform;
  246. }
  247. .card-info {
  248. background: url(/src/assets/images/visa.png) no-repeat center center;
  249. background-size: cover;
  250. border-radius: 0.426667rem;
  251. padding: 0.64rem 0.533333rem 0 0.533333rem;
  252. color: var(--main-yellow);
  253. box-shadow: 0 0.106667rem 0.533333rem rgba(214, 255, 0, 0.1);
  254. border: 1px solid rgba(214, 255, 0, 0.2);
  255. width: 100%;
  256. height: 100%;
  257. display: flex;
  258. justify-content: flex-start;
  259. align-items: baseline;
  260. flex-wrap: wrap;
  261. transform-style: preserve-3d;
  262. transition: transform 0.6s ease;
  263. flex-direction: column;
  264. &.flipping {
  265. transform: rotateY(180deg);
  266. }
  267. .card-b {
  268. display: flex;
  269. flex-wrap: wrap;
  270. justify-content: center;
  271. align-items: center;
  272. span {
  273. display: block;
  274. }
  275. .valid {
  276. font-size: var(--font-size-14);
  277. font-weight: 500;
  278. color: var(--black);
  279. text-shadow: 0 0 8px rgba(214, 255, 0, 0.2);
  280. gap: 8px;
  281. padding-right: 30px;
  282. line-height: 20px;
  283. }
  284. .lable {
  285. font-size: var(--font-size-10);
  286. font-weight: 400;
  287. }
  288. }
  289. }
  290. .card-front,
  291. .card-back {
  292. position: absolute;
  293. top: 0;
  294. left: 0;
  295. width: 100%;
  296. height: 100%;
  297. padding: 24px 20px 16px 20px;
  298. backface-visibility: hidden;
  299. -webkit-backface-visibility: hidden;
  300. }
  301. .card-back {
  302. transform: rotateY(180deg);
  303. }
  304. .owner {
  305. font-size: var(--font-size-14);
  306. line-height: 2;
  307. margin-bottom: 8px;
  308. text-shadow: 0 0 10px rgba(214, 255, 0, 0.3);
  309. display: flex;
  310. align-items: center;
  311. gap: 8px;
  312. i {
  313. font-size: var(--font-size-18);
  314. color: var(--main-yellow);
  315. }
  316. }
  317. .number {
  318. color: var(--black);
  319. font-size: var(--font-size-18);
  320. font-weight: 500;
  321. line-height: 3;
  322. letter-spacing: 2px;
  323. margin: 24px 0;
  324. text-shadow: 0 0 15px rgba(214, 255, 0, 0.4);
  325. display: flex;
  326. align-items: center;
  327. gap: 8px;
  328. }
  329. .actions {
  330. display: flex;
  331. justify-content: space-between;
  332. margin: 20px 0 16px 0;
  333. }
  334. .action-btn {
  335. color: var(--white);
  336. border: none;
  337. border-radius: 12px;
  338. padding: 10px 2px;
  339. font-size: var(--font-size-14);
  340. cursor: pointer;
  341. display: flex;
  342. flex-direction: column;
  343. align-items: center;
  344. gap: 4px;
  345. transition: all 0.3s ease;
  346. text-align: center;
  347. color: #1a1a1a;
  348. .btn-icon {
  349. width: 46px;
  350. height: 46px;
  351. border-radius: 50%;
  352. background: #ff4766;
  353. display: flex;
  354. justify-content: center;
  355. align-items: center;
  356. }
  357. i {
  358. display: inline-block;
  359. line-height: 46px;
  360. width: 22px;
  361. height: 22px;
  362. color: var(--black);
  363. margin-bottom: 4px;
  364. }
  365. }
  366. .balance-wrap {
  367. display: flex;
  368. align-items: center;
  369. justify-content: space-between;
  370. margin: 30px 0;
  371. font-size: var(--font-size-14);
  372. }
  373. .balance-content {
  374. font-size: var(--font-size-20);
  375. color: var(--white);
  376. font-weight: bold;
  377. margin-bottom: 24px;
  378. }
  379. .balance-title {
  380. font-size: var(--font-size-12);
  381. color: var(--white);
  382. }
  383. .currency {
  384. display: flex;
  385. align-items: center;
  386. font-size: var(--font-size-14);
  387. margin-right: 12px;
  388. color: var(--white);
  389. }
  390. .flag {
  391. width: 24px;
  392. height: 24px;
  393. border-radius: 50%;
  394. margin-right: 6px;
  395. }
  396. .balance {
  397. font-size: var(--font-size-14);
  398. font-weight: bold;
  399. color: var(--white);
  400. }
  401. .transactions {
  402. border-radius: 16px;
  403. margin-bottom: 16px;
  404. padding: 16px 0;
  405. }
  406. .trans-icon {
  407. width: 40px;
  408. height: 40px;
  409. display: flex;
  410. background: var(--main-bg);
  411. box-shadow: 0 4px 12px rgba(214, 255, 0, 0.1);
  412. border-radius: 8px;
  413. margin-right: 12px;
  414. align-items: center;
  415. justify-content: center;
  416. .trans-icon-inner {
  417. width: 36px;
  418. height: 36px;
  419. background: rgba(212, 206, 206, 0.24);
  420. border-radius: 50%;
  421. display: flex;
  422. align-items: center;
  423. justify-content: center;
  424. }
  425. i {
  426. color: #000;
  427. width: 18px;
  428. height: 18px;
  429. font-size: var(--font-size-16);
  430. border-radius: 50%;
  431. }
  432. }
  433. .trans-header {
  434. display: flex;
  435. justify-content: space-between;
  436. align-items: center;
  437. margin-bottom: 10px;
  438. color: var(--white);
  439. i {
  440. font-size: var(--font-size-20);
  441. cursor: pointer;
  442. }
  443. }
  444. ::v-deep .van-calendar {
  445. background: var(--action-bg);
  446. }
  447. ::v-deep .van-calendar__month-mark {
  448. display: none;
  449. }
  450. ::v-deep .van-calendar__header-subtitle {
  451. color: var(--white);
  452. }
  453. ::v-deep .van-calendar__header-title {
  454. color: var(--white);
  455. }
  456. ::v-deep .van-calendar__month-title {
  457. color: var(--main-yellow);
  458. }
  459. .trans-title {
  460. font-size: var(--font-size-20);
  461. color: var(--white);
  462. font-weight: bold;
  463. }
  464. .date-field {
  465. width: 200px;
  466. :deep(.van-field__control) {
  467. color: var(--white);
  468. }
  469. :deep(.van-field__placeholder) {
  470. color: var(--gray);
  471. }
  472. }
  473. :deep(.van-popup) {
  474. background: var(--action-bg);
  475. }
  476. :deep(.van-picker__toolbar) {
  477. background: var(--action-bg);
  478. border-bottom: 1px solid var(--border);
  479. }
  480. :deep(.van-picker__title) {
  481. color: var(--white);
  482. }
  483. :deep(.van-picker__confirm) {
  484. color: var(--main-yellow);
  485. }
  486. :deep(.van-picker__cancel) {
  487. color: var(--gray);
  488. }
  489. :deep(.van-picker-column) {
  490. color: var(--white);
  491. }
  492. :deep(.van-picker-column__item) {
  493. color: var(--white);
  494. }
  495. :deep(.van-picker-column__item--selected) {
  496. color: var(--main-yellow);
  497. }
  498. .transaction {
  499. display: flex;
  500. align-items: center;
  501. justify-content: space-between;
  502. padding: 10px 0;
  503. /* border-bottom: 1px solid var(--border); */
  504. font-size: var(--font-size-16);
  505. }
  506. .transaction:last-child {
  507. border-bottom: none;
  508. }
  509. .trans-left {
  510. width: 200px;
  511. }
  512. .trans-right {
  513. width: 100px;
  514. div {
  515. text-align: right;
  516. }
  517. }
  518. .trans-type {
  519. color: var(--white);
  520. font-size: var(--font-size-14);
  521. line-height: 2;
  522. }
  523. .trans-desc {
  524. font-size: var(--font-size-12);
  525. color: var(--gray);
  526. }
  527. .trans-amount {
  528. font-size: var(--font-size-14);
  529. color: var(--white);
  530. line-height: 2;
  531. }
  532. .trans-date {
  533. color: var(--gray);
  534. font-size: var(--font-size-12);
  535. }
  536. .card-swiper {
  537. position: relative;
  538. overflow: hidden;
  539. margin-bottom: 20px;
  540. padding-bottom: 5px;
  541. }
  542. .swiper-container {
  543. position: relative;
  544. width: 100%;
  545. height: 209px;
  546. touch-action: pan-y pinch-zoom;
  547. user-select: none;
  548. }
  549. .card-info {
  550. position: absolute;
  551. width: 100%;
  552. height: 100%;
  553. transition: transform 0.3s ease;
  554. will-change: transform;
  555. }
  556. .swiper-controls {
  557. display: flex;
  558. align-items: center;
  559. justify-content: center;
  560. margin-top: 16px;
  561. gap: 16px;
  562. }
  563. .swiper-btn {
  564. background: var(--action-bg);
  565. border: none;
  566. border-radius: 50%;
  567. width: 32px;
  568. height: 32px;
  569. display: flex;
  570. align-items: center;
  571. justify-content: center;
  572. cursor: pointer;
  573. color: var(--main-yellow);
  574. &:disabled {
  575. opacity: 0.5;
  576. cursor: not-allowed;
  577. }
  578. i {
  579. font-size: var(--font-size-20);
  580. }
  581. }
  582. .swiper-dots {
  583. display: flex;
  584. gap: 8px;
  585. }
  586. .dot {
  587. width: 8px;
  588. height: 8px;
  589. border-radius: 50%;
  590. background: var(--action-bg);
  591. cursor: pointer;
  592. transition: all 0.3s ease;
  593. &.active {
  594. background: var(--main-yellow);
  595. transform: scale(1.2);
  596. }
  597. }
  598. .swiper-indicators {
  599. display: flex;
  600. justify-content: center;
  601. margin-top: 16px;
  602. gap: 8px;
  603. }
  604. .indicator-dot {
  605. width: 8px;
  606. height: 8px;
  607. border-radius: 50%;
  608. background: var(--action-bg);
  609. cursor: pointer;
  610. transition: all 0.3s ease;
  611. &.active {
  612. background: var(--main-yellow);
  613. transform: scale(1.2);
  614. }
  615. }
  616. .flags {
  617. width: 20px;
  618. height: 20px;
  619. cursor: pointer;
  620. position: absolute;
  621. top: 10px;
  622. right: 10px;
  623. }
  624. .cwg-btn {
  625. margin: 36px 0 80px 0;
  626. }
  627. .card-info1 {
  628. width: 100%;
  629. }
  630. .card-chip {
  631. position: absolute;
  632. right: 12px;
  633. top: 16px;
  634. width: 18px;
  635. height: 12px;
  636. background: linear-gradient(145deg, #f5f5f5, #eaeaea);
  637. border-radius: 3px;
  638. border: 1px solid #bbb;
  639. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  640. }
  641. .card-title {
  642. margin: 24px 0 12px 0;
  643. font-weight: 600;
  644. font-size: 22px;
  645. line-height: 28px;
  646. text-align: left;
  647. color: #1a1a1a;
  648. }
  649. .card-list {
  650. list-style: none;
  651. padding: 12px 0;
  652. margin: 0;
  653. width: 100%;
  654. flex: 1;
  655. overflow-y: auto;
  656. box-shadow: 0 4px 20px rgba(140, 145, 143, 0.194);
  657. border-radius: 10px;
  658. }
  659. .card-list li {
  660. display: flex;
  661. justify-content: space-between;
  662. font-size: var(--font-size-12);
  663. color: #1a1a1a;
  664. padding: 12px 24px;
  665. transition: all 0.3s ease;
  666. position: relative;
  667. font-family: 'Roboto';
  668. font-style: normal;
  669. font-weight: 600;
  670. font-size: 14px;
  671. line-height: 20px;
  672. }
  673. .label {
  674. display: inline-block;
  675. font-weight: 600;
  676. font-size: 14px;
  677. line-height: 20px;
  678. color: #8e8a8a;
  679. width: 100px;
  680. white-space: nowrap;
  681. overflow: hidden;
  682. text-overflow: ellipsis;
  683. padding-right: 10px;
  684. }
  685. .card-list li:hover {
  686. background: rgba(73, 247, 166, 0.1);
  687. border-radius: 6px;
  688. }
  689. .card-list li:last-child {
  690. margin-bottom: 0;
  691. }
  692. .card-list li span:first-child {
  693. color: #bbb;
  694. }
  695. .card-content {
  696. font-size: var(--font-size-16);
  697. color: #474747;
  698. margin: 0 0 26px 0;
  699. text-align: left;
  700. line-height: 24px;
  701. }
  702. .a1 {
  703. flex: 1;
  704. }
  705. .card-list {
  706. .one {
  707. margin: 12px 24px;
  708. padding: 12px 0;
  709. border-top: 1px dashed #beb6b6;
  710. color: #329644;
  711. font-family: Roboto;
  712. font-size: 28px;
  713. font-style: normal;
  714. font-weight: 700;
  715. line-height: 36px;
  716. align-items: flex-end;
  717. .label {
  718. color: #343434;
  719. font-family: Roboto;
  720. font-size: 16px;
  721. font-style: normal;
  722. font-weight: 600;
  723. line-height: 24px;
  724. }
  725. }
  726. .error {
  727. color: #d32f2f;
  728. }
  729. .default {
  730. color: #009deb;
  731. }
  732. }
  733. .step {
  734. display: flex;
  735. align-items: center;
  736. padding: 20px 0;
  737. color: #000;
  738. .step-item {
  739. width: 315px;
  740. position: relative;
  741. text-align: center;
  742. margin-right: 20px;
  743. text-align: left;
  744. font-size: 16px;
  745. padding-top: 20px;
  746. &::after {
  747. content: '';
  748. position: absolute;
  749. top: 0;
  750. right: 0;
  751. width: 100%;
  752. z-index: 1;
  753. height: 5px;
  754. position: absolute;
  755. background: #f1f1f1;
  756. }
  757. }
  758. .step-active {
  759. font-weight: bold;
  760. &::after {
  761. background: #eb3f57;
  762. }
  763. }
  764. }
  765. .status-box {
  766. width: 100%;
  767. display: flex;
  768. align-items: flex-start;
  769. justify-content: flex-start;
  770. flex-wrap: wrap;
  771. padding: 20px 0;
  772. .status {
  773. font-weight: 600;
  774. font-size: 22px;
  775. line-height: 28px;
  776. text-align: left;
  777. color: #1a1a1a;
  778. }
  779. p {
  780. width: 100%;
  781. text-align: start;
  782. color: #6f6f6f;
  783. font-size: 18px;
  784. font-weight: 400;
  785. word-wrap: break-word;
  786. line-height: 32px;
  787. padding: 20px 20px 20px 0;
  788. }
  789. .a-title {
  790. color: #333333;
  791. font-size: 18px;
  792. font-weight: 500;
  793. word-wrap: break-word;
  794. margin-top: 44px;
  795. }
  796. .step-box {
  797. width: 100%;
  798. display: flex;
  799. flex-wrap: wrap;
  800. justify-content: space-between;
  801. margin-top: 20px;
  802. .step-item {
  803. width: 100%;
  804. padding-left: 60px;
  805. text-align: center;
  806. position: relative;
  807. &::after {
  808. content: '';
  809. position: absolute;
  810. top: 0;
  811. left: 15px;
  812. width: 0;
  813. height: 100%;
  814. border-left: 1px dashed #ccc;
  815. z-index: 1;
  816. }
  817. &:last-child {
  818. &::after {
  819. display: none;
  820. }
  821. }
  822. .ids {
  823. position: absolute;
  824. left: 0;
  825. top: 0;
  826. width: 30px;
  827. height: 30px;
  828. position: absolute;
  829. color: #000;
  830. line-height: 30px;
  831. background-color: #fff;
  832. text-align: center;
  833. border-radius: 9999px;
  834. border: 1px #ccc dashed;
  835. z-index: 12;
  836. }
  837. .k {
  838. font-size: 14px;
  839. color: #333333;
  840. font-weight: bold;
  841. padding: 0;
  842. }
  843. .v {
  844. font-size: 14px;
  845. color: #6f6f6f;
  846. padding: 0;
  847. }
  848. }
  849. }
  850. .f {
  851. margin: 20px 0 0 60px;
  852. color: #333333;
  853. font-size: 14px;
  854. font-family: PingFang SC;
  855. font-weight: 500;
  856. word-wrap: break-word;
  857. }
  858. }
  859. </style>