order-detail.less 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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: 30rpx;
  82. color: #131415;
  83. text-overflow: ellipsis;
  84. max-width: 310rpx;
  85. }
  86. .goods-price {
  87. flex-shrink: 0;
  88. font-family: DINAlternate, DINAlternate;
  89. font-weight: bold;
  90. font-size: 28rpx;
  91. color: #131415;
  92. line-height: 48rpx;
  93. .stuff {
  94. font-size: 28rpx;
  95. }
  96. .priceZ {
  97. font-size: 36rpx;
  98. }
  99. .priceF {
  100. font-size: 28rpx;
  101. }
  102. }
  103. }
  104. .goods-type {
  105. display: flex;
  106. justify-content: space-between;
  107. align-items: center;
  108. padding-top: 12rpx;
  109. .goods-card {
  110. height: 40rpx;
  111. font-size: 26rpx;
  112. color: #131415;
  113. line-height: 40rpx;
  114. }
  115. .goods-num {
  116. font-size: 26rpx;
  117. color: #999999;
  118. line-height: 36rpx;
  119. }
  120. }
  121. }
  122. .order-time {
  123. margin: 24rpx 26rpx 0;
  124. border-radius: 20rpx;
  125. padding: 36rpx 24rpx;
  126. background-color: #FFFFFF;
  127. .order-item {
  128. display: flex;
  129. justify-content: space-between;
  130. padding-bottom: 36rpx;
  131. &:last-child {
  132. padding-bottom: 0;
  133. }
  134. .title {
  135. font-size: 28rpx;
  136. color: #131415;
  137. line-height: 40rpx;
  138. }
  139. .value {
  140. font-size: 28rpx;
  141. color: #777777;
  142. line-height: 40rpx;
  143. }
  144. }
  145. }
  146. .order-btn {
  147. position: fixed;
  148. bottom: 0;
  149. left: 0;
  150. width: 100%;
  151. background-color: #FFFFFF;
  152. padding: 20rpx 32rpx 58rpx 40rpx;
  153. display: flex;
  154. justify-content: space-between;
  155. box-sizing: border-box;
  156. .orders {
  157. display: flex;
  158. flex-direction: column;
  159. margin-right: 40rpx;
  160. image {
  161. width: 48rpx;
  162. height: 48rpx;
  163. }
  164. text {
  165. font-weight: 500;
  166. font-size: 22rpx;
  167. color: #131415;
  168. line-height: 32rpx;
  169. text-align: center;
  170. }
  171. }
  172. .more {
  173. display: flex;
  174. }
  175. .price {
  176. display: flex;
  177. align-items: center;
  178. .desc {
  179. font-weight: 500;
  180. font-size: 28rpx;
  181. color: #131415;
  182. line-height: 40rpx;
  183. padding-top: 20rpx;
  184. flex-shrink: 0;
  185. }
  186. .currentPrice {
  187. font-weight: bold;
  188. color: #FF5000;
  189. font-family: DINAlternate, DINAlternate;
  190. .stuff {
  191. font-size: 32rpx;
  192. }
  193. .priceZ {
  194. font-size: 56rpx;
  195. }
  196. .priceF {
  197. font-size: 32rpx;
  198. }
  199. }
  200. }
  201. button {
  202. margin: 0 0 0 12rpx;
  203. width: auto;
  204. background: linear-gradient( 315deg, #FF4A00 0%, #FE8C00 100%);
  205. border-radius: 16rpx;
  206. padding: 22rpx 84rpx;
  207. font-weight: 500;
  208. font-size: 32rpx;
  209. color: #FFFFFF;
  210. line-height: 44rpx;
  211. flex-shrink: 0;
  212. }
  213. }