trade-detail.module.less 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. .tradeDetail {
  2. .orderType {
  3. padding: 30px 0 72px;
  4. background: var(--van-primary);
  5. text-align: center;
  6. color: #fff;
  7. font-size: 24px;
  8. &>p {
  9. display: flex;
  10. align-items: center;
  11. justify-content: center;
  12. span {
  13. padding-top: 8px;
  14. padding-left: 13px;
  15. }
  16. }
  17. }
  18. .orderImg {
  19. width: 42px;
  20. height: 47px;
  21. }
  22. &.FAILED,
  23. &.CLOSE {
  24. .orderType {
  25. background-color: #bdbdbd;
  26. }
  27. .orderContent::before {
  28. background: url('./images/icon_close_block.png') no-repeat center;
  29. background-size: contain;
  30. }
  31. }
  32. &.ING {
  33. .orderType {
  34. background-color: #ff802c;
  35. }
  36. .orderContent::before {
  37. background: url('./images/icon_paying_block.png') no-repeat center;
  38. background-size: contain;
  39. }
  40. }
  41. .orderContent {
  42. border-radius: 0px 0px 10px 10px;
  43. margin: -30px 16px 0;
  44. position: relative;
  45. &::before {
  46. content: ' ';
  47. position: absolute;
  48. top: -6px;
  49. left: -8px;
  50. right: -8px;
  51. height: 14px;
  52. background: url('./images/icon_success_block.png') no-repeat center;
  53. background-size: contain;
  54. }
  55. &.orderContentTenant {
  56. &::before {
  57. background: url('./images/icon_success_block_tenant.png') no-repeat center;
  58. background-size: contain;
  59. }
  60. }
  61. .payPrice {
  62. color: #333;
  63. font-size: 32px;
  64. text-align: center;
  65. font-weight: 500;
  66. padding: 10px 0 5px;
  67. &>span {
  68. font-size: 12px;
  69. }
  70. }
  71. }
  72. .tradeLogo {
  73. width: 35px;
  74. height: 35px;
  75. border-radius: 50%;
  76. margin-right: 10px;
  77. overflow: hidden;
  78. }
  79. .title,
  80. .content {
  81. padding-top: 1px;
  82. display: flex;
  83. justify-content: space-between;
  84. flex-direction: column;
  85. line-height: 18px;
  86. color: #333333;
  87. font-size: 14px;
  88. }
  89. .desc,
  90. .num {
  91. padding-top: 3px;
  92. font-size: 13px;
  93. color: #999999;
  94. }
  95. .optionRow {
  96. line-height: 26px;
  97. display: flex;
  98. position: relative;
  99. padding-bottom: 15px;
  100. box-sizing: border-box;
  101. color: #333333;
  102. font-size: 14px;
  103. :global {
  104. .van-col {
  105. display: flex;
  106. line-height: 1.5;
  107. }
  108. .van-col--8 {
  109. color: #999999;
  110. justify-content: flex-start;
  111. }
  112. .van-col--14 {
  113. justify-content: flex-end;
  114. word-break: break-word;
  115. /* 文本行的任意字内断开 */
  116. word-wrap: break-word;
  117. /* IE */
  118. white-space: -moz-pre-wrap;
  119. /* Mozilla */
  120. white-space: -hp-pre-wrap;
  121. /* HP printers */
  122. white-space: -o-pre-wrap;
  123. /* Opera 7 */
  124. white-space: -pre-wrap;
  125. /* Opera 4-6 */
  126. white-space: pre;
  127. /* CSS2 */
  128. white-space: pre-wrap;
  129. /* CSS 2.1 */
  130. white-space: pre-line;
  131. /* CSS 3 (and 2.1 as well, actually) */
  132. }
  133. }
  134. }
  135. }