order-result.less 3.7 KB

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