trade-detail.module.less 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. .price {
  93. font-weight: bold;
  94. }
  95. .desc,
  96. .num {
  97. padding-top: 3px;
  98. font-size: 13px;
  99. color: #999999;
  100. }
  101. .optionRow {
  102. line-height: 26px;
  103. display: flex;
  104. position: relative;
  105. padding-bottom: 15px;
  106. box-sizing: border-box;
  107. color: #333333;
  108. font-size: 14px;
  109. :global {
  110. .van-col {
  111. display: flex;
  112. line-height: 1.5;
  113. }
  114. .van-col--8 {
  115. color: #999999;
  116. justify-content: flex-start;
  117. }
  118. .van-col--14 {
  119. justify-content: flex-end;
  120. word-break: break-word;
  121. /* 文本行的任意字内断开 */
  122. word-wrap: break-word;
  123. /* IE */
  124. white-space: -moz-pre-wrap;
  125. /* Mozilla */
  126. white-space: -hp-pre-wrap;
  127. /* HP printers */
  128. white-space: -o-pre-wrap;
  129. /* Opera 7 */
  130. white-space: -pre-wrap;
  131. /* Opera 4-6 */
  132. white-space: pre;
  133. /* CSS2 */
  134. white-space: pre-wrap;
  135. /* CSS 2.1 */
  136. white-space: pre-line;
  137. /* CSS 3 (and 2.1 as well, actually) */
  138. }
  139. }
  140. }
  141. }