trade-detail.module.less 2.9 KB

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