order-detail.less 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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. background-color: #FFFFFF;
  40. }
  41. .item-content {
  42. display: flex;
  43. width: 100%;
  44. .goods-icon {
  45. width: 160rpx;
  46. height: 160rpx;
  47. margin-right: 24rpx;
  48. flex-shrink: 0;
  49. border-radius: 6px;
  50. overflow: hidden;
  51. }
  52. .goods-desc {
  53. flex: 1 auto;
  54. display: flex;
  55. flex-direction: column;
  56. }
  57. .goodsInfo {
  58. display: flex;
  59. justify-content: space-between;
  60. padding-top: 4rpx;
  61. .goods-name {
  62. flex: 1 auto;
  63. white-space: nowrap;
  64. overflow: hidden;
  65. font-weight: 600;
  66. font-size: 30rpx;
  67. color: #131415;
  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. color: #131415;
  76. line-height: 48rpx;
  77. .stuff {
  78. font-size: 28rpx;
  79. }
  80. .priceZ {
  81. font-size: 40rpx;
  82. }
  83. .priceF {
  84. font-size: 32rpx;
  85. }
  86. }
  87. }
  88. .goods-type {
  89. display: flex;
  90. justify-content: space-between;
  91. align-items: center;
  92. padding-top: 12rpx;
  93. .goods-card {
  94. height: 40rpx;
  95. background: #FDF2E2;
  96. border-radius: 6rpx;
  97. font-size: 26rpx;
  98. color: #502F00;
  99. line-height: 40rpx;
  100. padding: 0 12rpx;
  101. }
  102. .goods-num {
  103. font-size: 28rpx;
  104. color: #777;
  105. line-height: 36rpx;
  106. }
  107. }
  108. }
  109. .order-time {
  110. margin: 24rpx 26rpx 0;
  111. border-radius: 20rpx;
  112. padding: 36rpx 24rpx;
  113. background-color: #FFFFFF;
  114. .order-item {
  115. display: flex;
  116. justify-content: space-between;
  117. padding-bottom: 36rpx;
  118. &:last-child {
  119. padding-bottom: 0;
  120. }
  121. .title {
  122. font-size: 28rpx;
  123. color: #131415;
  124. line-height: 40rpx;
  125. }
  126. .value {
  127. font-size: 28rpx;
  128. color: #777777;
  129. line-height: 40rpx;
  130. }
  131. }
  132. }
  133. .order-btn {
  134. position: fixed;
  135. bottom: 0;
  136. left: 0;
  137. width: 100%;
  138. background-color: #FFFFFF;
  139. padding: 20rpx 32rpx 58rpx 40rpx;
  140. display: flex;
  141. justify-content: space-between;
  142. box-sizing: border-box;
  143. .orders {
  144. display: flex;
  145. flex-direction: column;
  146. margin-right: 40rpx;
  147. image {
  148. width: 48rpx;
  149. height: 48rpx;
  150. }
  151. text {
  152. font-weight: 500;
  153. font-size: 22rpx;
  154. color: #131415;
  155. line-height: 32rpx;
  156. text-align: center;
  157. }
  158. }
  159. .more {
  160. display: flex;
  161. }
  162. .price {
  163. display: flex;
  164. align-items: center;
  165. .desc {
  166. font-weight: 500;
  167. font-size: 28rpx;
  168. color: #131415;
  169. line-height: 40rpx;
  170. padding-top: 20rpx;
  171. }
  172. .currentPrice {
  173. font-weight: bold;
  174. color: #FF0047;
  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 0 0 12rpx;
  189. width: auto;
  190. background: linear-gradient( 90deg, #544F4A 0%, #302F2B 100%);
  191. border-radius: 44rpx;
  192. padding: 22rpx 84rpx;
  193. font-weight: 500;
  194. font-size: 32rpx;
  195. color: #FBEAC9;
  196. line-height: 44rpx;
  197. }
  198. .btnGroup {
  199. position: relative;
  200. }
  201. .btnInnerFree {
  202. position: absolute;
  203. right: 0;
  204. top: -28rpx;
  205. background: linear-gradient( 180deg, #FF5181 0%, #FF0047 100%);
  206. border-radius: 150rpx 200rpx 200rpx 0rpx;
  207. border: 2rpx solid #FFFFFF;
  208. padding: 0 8rpx;
  209. font-size: 24rpx;
  210. color: #FFFFFF;
  211. line-height: 34rpx;
  212. padding-top: 2rpx;
  213. overflow: hidden;
  214. font-weight: bold;
  215. text {
  216. font-weight: bold;
  217. }
  218. }
  219. }