order-result.less 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. /* pages/orders/order-detail.wxss */
  2. page {
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. background: #F5F6F7;
  7. }
  8. .order-status {
  9. margin: 24rpx 26rpx 0;
  10. background-color: #FFFFFF;
  11. border-radius: 20rpx;
  12. padding: 24rpx 32rpx;
  13. .status {
  14. display: flex;
  15. image {
  16. width: 48rpx;
  17. height: 48rpx;
  18. margin-right: 16rpx;
  19. }
  20. text {
  21. font-weight: 600;
  22. font-size: 36rpx;
  23. color: #131415;
  24. line-height: 48rpx;
  25. }
  26. }
  27. .tips {
  28. padding-top: 24rpx;
  29. font-size: 28rpx;
  30. color: #777777;
  31. line-height: 40rpx;
  32. }
  33. }
  34. .order-content {
  35. margin: 24rpx 26rpx 0;
  36. border-radius: 20rpx;
  37. padding: 28rpx 24rpx;
  38. display: flex;
  39. flex-direction: column;
  40. background-color: #FFFFFF;
  41. }
  42. .item-content {
  43. display: flex;
  44. width: 100%;
  45. .goods-icon {
  46. width: 160rpx;
  47. height: 160rpx;
  48. margin-right: 24rpx;
  49. flex-shrink: 0;
  50. border-radius: 6px;
  51. overflow: hidden;
  52. }
  53. .goods-desc {
  54. flex: 1 auto;
  55. display: flex;
  56. flex-direction: column;
  57. }
  58. .goodsInfo {
  59. display: flex;
  60. justify-content: space-between;
  61. padding-top: 4rpx;
  62. .goods-name {
  63. flex: 1 auto;
  64. white-space: nowrap;
  65. overflow: hidden;
  66. font-weight: 600;
  67. font-size: 28rpx;
  68. text-overflow: ellipsis;
  69. max-width: 310rpx;
  70. }
  71. .goods-price {
  72. flex-shrink: 0;
  73. font-family: DINAlternate, DINAlternate;
  74. font-weight: bold;
  75. font-size: 28rpx;
  76. color: #131415;
  77. line-height: 48rpx;
  78. }
  79. }
  80. .goods-type {
  81. display: flex;
  82. justify-content: space-between;
  83. align-items: center;
  84. padding-top: 12rpx;
  85. .goods-card {
  86. background: #FEEDF0;
  87. border-radius: 6rpx;
  88. font-size: 26rpx;
  89. color: #FE2451;
  90. line-height: 40rpx;
  91. padding: 0 12rpx;
  92. }
  93. .goods-num {
  94. font-size: 28rpx;
  95. color: #777777;
  96. line-height: 36rpx;
  97. }
  98. }
  99. }
  100. .qrcode-section {
  101. margin-top: 28rpx;
  102. border-top: 2rpx solid #F0F0F0;
  103. padding-top: 60rpx;
  104. padding-bottom: 32rpx;
  105. text-align: center;
  106. .qrcode-wrap {
  107. margin: 0 auto;
  108. border: 3rpx solid #EDEDED;
  109. padding: 10rpx;
  110. display: inline-block;
  111. }
  112. .my_draw_canvas {
  113. width: 262rpx;
  114. height: 262rpx;
  115. }
  116. .qrcode-text {
  117. padding-top: 32rpx;
  118. font-size: 28rpx;
  119. color: #131415;
  120. line-height: 40rpx;
  121. &.used {
  122. color: #AAAAAA;
  123. }
  124. }
  125. }
  126. .order-time {
  127. margin: 24rpx 26rpx 0;
  128. border-radius: 20rpx;
  129. padding: 36rpx 24rpx;
  130. background-color: #FFFFFF;
  131. .order-item {
  132. display: flex;
  133. justify-content: space-between;
  134. padding-bottom: 36rpx;
  135. &:last-child {
  136. padding-bottom: 0;
  137. }
  138. .title {
  139. font-size: 28rpx;
  140. color: #131415;
  141. line-height: 40rpx;
  142. }
  143. .value {
  144. font-size: 28rpx;
  145. color: #777777;
  146. line-height: 40rpx;
  147. &.red {
  148. color: #FE2451;
  149. }
  150. }
  151. }
  152. }
  153. .order-btn {
  154. position: fixed;
  155. bottom: 0;
  156. left: 0;
  157. width: 100%;
  158. background-color: #FFFFFF;
  159. padding: 20rpx 32rpx 58rpx 40rpx;
  160. display: flex;
  161. justify-content: space-between;
  162. box-sizing: border-box;
  163. .price {
  164. display: flex;
  165. align-items: center;
  166. .desc {
  167. font-weight: 500;
  168. font-size: 28rpx;
  169. color: #131415;
  170. line-height: 40rpx;
  171. }
  172. .currentPrice {
  173. font-weight: bold;
  174. color: #FE2451;
  175. font-family: DINAlternate, DINAlternate;
  176. .stuff {
  177. font-size: 32rpx;
  178. }
  179. .priceZ {
  180. font-size: 56rpx;
  181. }
  182. .priceF {
  183. font-size: 32rpx;
  184. }
  185. }
  186. }
  187. button {
  188. margin: 0;
  189. width: 100%;
  190. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  191. border-radius: 78rpx;
  192. padding: 22rpx 84rpx;
  193. font-weight: 500;
  194. font-size: 32rpx;
  195. color: #FFFFFF;
  196. line-height: 44rpx;
  197. }
  198. }