trade-detail.module.less 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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. .goodsItem {
  76. :global {
  77. .van-cell__title {
  78. flex-basis: 40%;
  79. }
  80. .van-cell__value {
  81. flex-basis: 20%;
  82. }
  83. }
  84. }
  85. .tradeLogo {
  86. flex-shrink: 0;
  87. width: 35px;
  88. height: 35px;
  89. // margin-bottom: 10px;
  90. margin-right: 10px;
  91. overflow: hidden;
  92. :global {
  93. img {
  94. border-radius: 50%;
  95. }
  96. }
  97. }
  98. .title,
  99. .content {
  100. padding-top: 1px;
  101. display: flex;
  102. justify-content: space-between;
  103. flex-direction: column;
  104. line-height: 18px;
  105. color: #333333;
  106. font-size: 14px;
  107. }
  108. .price {
  109. font-weight: bold;
  110. }
  111. .desc,
  112. .num {
  113. padding-top: 3px;
  114. font-size: 13px;
  115. color: #999999;
  116. }
  117. .optionRow {
  118. line-height: 26px;
  119. display: flex;
  120. position: relative;
  121. padding-bottom: 15px;
  122. box-sizing: border-box;
  123. color: #333333;
  124. font-size: 14px;
  125. :global {
  126. .van-col {
  127. display: flex;
  128. line-height: 1.5;
  129. }
  130. .van-col--8 {
  131. color: #999999;
  132. justify-content: flex-start;
  133. }
  134. .van-col--14 {
  135. justify-content: flex-end;
  136. word-break: break-word;
  137. /* 文本行的任意字内断开 */
  138. word-wrap: break-word;
  139. /* IE */
  140. white-space: -moz-pre-wrap;
  141. /* Mozilla */
  142. white-space: -hp-pre-wrap;
  143. /* HP printers */
  144. white-space: -o-pre-wrap;
  145. /* Opera 7 */
  146. white-space: -pre-wrap;
  147. /* Opera 4-6 */
  148. white-space: pre;
  149. /* CSS2 */
  150. white-space: pre-wrap;
  151. /* CSS 2.1 */
  152. white-space: pre-line;
  153. /* CSS 3 (and 2.1 as well, actually) */
  154. }
  155. }
  156. }
  157. }