order-detail.less 4.1 KB

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