order-result.less 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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. padding-bottom: 24rpx;
  16. image {
  17. width: 48rpx;
  18. height: 48rpx;
  19. margin-right: 16rpx;
  20. }
  21. text {
  22. font-weight: 600;
  23. font-size: 36rpx;
  24. color: #131415;
  25. line-height: 48rpx;
  26. }
  27. }
  28. .tips {
  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. }
  146. }
  147. }
  148. .order-btn {
  149. position: fixed;
  150. bottom: 0;
  151. left: 0;
  152. width: 100%;
  153. background-color: #FFFFFF;
  154. padding: 20rpx 32rpx 58rpx 40rpx;
  155. display: flex;
  156. justify-content: space-between;
  157. box-sizing: border-box;
  158. .price {
  159. display: flex;
  160. align-items: center;
  161. .desc {
  162. font-weight: 500;
  163. font-size: 28rpx;
  164. color: #131415;
  165. line-height: 40rpx;
  166. }
  167. .currentPrice {
  168. font-weight: bold;
  169. color: #FE2451;
  170. font-family: DINAlternate, DINAlternate;
  171. .stuff {
  172. font-size: 32rpx;
  173. }
  174. .priceZ {
  175. font-size: 56rpx;
  176. }
  177. .priceF {
  178. font-size: 32rpx;
  179. }
  180. }
  181. }
  182. button {
  183. margin: 0;
  184. width: 100%;
  185. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  186. border-radius: 78rpx;
  187. padding: 22rpx 84rpx;
  188. font-weight: 500;
  189. font-size: 32rpx;
  190. color: #FFFFFF;
  191. line-height: 44rpx;
  192. }
  193. }