order-result.less 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. /* pages/orders/order-detail.wxss */
  2. .container {
  3. position: relative;
  4. height: 100vh;
  5. display: flex;
  6. flex-direction: column;
  7. background: #F5F6F7;
  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. width: 100%;
  16. height: 489rpx;
  17. background: url("https://oss.dayaedu.com/ktyq/1739529857509.png") no-repeat;
  18. background-size: 100% 100%;
  19. }
  20. .topTitle {
  21. font-weight: 400;
  22. font-size: 24rpx;
  23. color: rgba(0, 0, 0, 0.5);
  24. line-height: 34rpx;
  25. text-align: center;
  26. z-index: 122;
  27. }
  28. .record-list {
  29. padding-top: 24rpx;
  30. flex-grow: 1;
  31. overflow: hidden;
  32. &.waitList {
  33. padding-bottom: 200rpx;
  34. }
  35. }
  36. }
  37. .order-status {
  38. margin: 0 24rpx 32rpx 50rpx;
  39. // background-color: #FFFFFF;
  40. border-radius: 20rpx;
  41. //padding: 24rpx 32rpx;
  42. .status {
  43. display: flex;
  44. align-items: center;
  45. image {
  46. width: 48rpx;
  47. height: 48rpx;
  48. margin-right: 16rpx;
  49. }
  50. text {
  51. font-weight: 600;
  52. font-size: 40rpx;
  53. color: #000000;
  54. line-height: 48rpx;
  55. }
  56. }
  57. .tips {
  58. margin-top: 20rpx;
  59. font-weight: 400;
  60. font-size: 26rpx;
  61. color: rgba(0, 0, 0, 0.5);
  62. line-height: 36rpx;
  63. }
  64. }
  65. .order-content {
  66. margin: 20rpx 26rpx 0;
  67. border-radius: 20rpx;
  68. padding: 24rpx 24rpx 32rpx;
  69. display: flex;
  70. flex-direction: column;
  71. background-color: #FFFFFF;
  72. &:first-child {
  73. margin-top: 0;
  74. }
  75. }
  76. .bottomBlock {
  77. width: 100%;
  78. height: 60rpx;
  79. }
  80. .titTip {
  81. font-weight: 600;
  82. font-size: 28rpx;
  83. color: #131415;
  84. line-height: 40rpx;
  85. margin-bottom: 32rpx;
  86. position: relative;
  87. &.priceTip{
  88. margin-bottom: 0;
  89. }
  90. }
  91. .item-content {
  92. margin-top: 40rpx;
  93. display: flex;
  94. width: 100%;
  95. &.first-item-content {
  96. margin-top: 0;
  97. }
  98. .goods-icon {
  99. width: 120rpx;
  100. height: 120rpx;
  101. margin-right: 24rpx;
  102. flex-shrink: 0;
  103. border-radius: 6px;
  104. overflow: hidden;
  105. }
  106. .goods-desc {
  107. flex: 1 auto;
  108. display: flex;
  109. flex-direction: column;
  110. overflow: hidden;
  111. }
  112. .goodsInfo {
  113. display: flex;
  114. justify-content: space-between;
  115. margin-top: 8rpx;
  116. .goods-name {
  117. flex: 1 auto;
  118. white-space: nowrap;
  119. overflow: hidden;
  120. text-overflow: ellipsis;
  121. margin-right: 20rpx;
  122. font-weight: 600;
  123. font-size: 28rpx;
  124. color: #131415;
  125. line-height: 48rpx;
  126. }
  127. .goods-price {
  128. flex-shrink: 0;
  129. font-family: DINAlternate, DINAlternate;
  130. font-weight: bold;
  131. font-size: 28rpx;
  132. color: #131415;
  133. line-height: 48rpx;
  134. display: flex;
  135. .stuff {
  136. margin-right: 6rpx;
  137. font-size: 28rpx;
  138. }
  139. .priceZ {
  140. font-size: 32rpx;
  141. }
  142. }
  143. }
  144. .goods-type {
  145. display: flex;
  146. justify-content: space-between;
  147. align-items: center;
  148. padding-top: 12rpx;
  149. .goods-card {
  150. font-weight: 400;
  151. font-size: 24rpx;
  152. color: #777777;
  153. line-height: 36rpx;
  154. }
  155. .goods-num {
  156. font-weight: 400;
  157. font-size: 24rpx;
  158. color: #AAAAAA;
  159. line-height: 36rpx;
  160. }
  161. }
  162. }
  163. .priceDetails {
  164. display: flex;
  165. justify-content: space-between;
  166. align-items: center;
  167. margin-top: 28rpx;
  168. &.sumTip {
  169. padding-top: 24rpx;
  170. border-top: 2rpx solid #F2F2F2;
  171. .titPic {
  172. font-weight: 400;
  173. font-size: 24rpx;
  174. color: #777777;
  175. }
  176. }
  177. .priceLeft {
  178. >text {
  179. &:nth-child(1) {
  180. font-weight: 400;
  181. font-size: 26rpx;
  182. color: #777777;
  183. line-height: 36rpx;
  184. }
  185. &:nth-child(2) {
  186. margin-left: 16rpx;
  187. font-weight: 400;
  188. font-size: 24rpx;
  189. color: #AAAAAA;
  190. line-height: 34rpx;
  191. }
  192. }
  193. }
  194. .priceRight {
  195. display: flex;
  196. justify-content: flex-end;
  197. align-items: flex-end;
  198. font-weight: bold;
  199. font-size: 28rpx;
  200. color: #000000;
  201. line-height: 44rpx;
  202. &.discountTip {
  203. color: #FD4502;
  204. }
  205. .stuff {
  206. margin-right: 4rpx;
  207. }
  208. .numberDisplay--integer {
  209. line-height: 1;
  210. font-size: 32rpx;
  211. }
  212. .numberDisplay--decimal {
  213. font-size: 24rpx;
  214. }
  215. }
  216. }
  217. .memberInfo {
  218. display: flex;
  219. justify-content: space-between;
  220. margin-bottom: 32rpx;
  221. &:last-child {
  222. margin-bottom: 0;
  223. }
  224. .orderInfoRight {
  225. display: flex;
  226. align-items: center;
  227. font-weight: 400;
  228. font-size: 28rpx;
  229. color: #000000;
  230. line-height: 40rpx;
  231. .copy {
  232. border-left: 2rpx solid #D2D2D2;
  233. margin-left: 12rpx;
  234. padding-left: 12rpx;
  235. font-weight: 400;
  236. font-size: 28rpx;
  237. line-height: 40rpx;
  238. }
  239. }
  240. >text {
  241. &:nth-child(1) {
  242. flex-shrink: 0;
  243. font-weight: 400;
  244. font-size: 28rpx;
  245. color: #666666;
  246. line-height: 40rpx;
  247. }
  248. &:nth-child(2) {
  249. margin-left: 30rpx;
  250. word-break: break-all;
  251. text-align: right;
  252. font-weight: 400;
  253. font-size: 28rpx;
  254. color: #000000;
  255. line-height: 40rpx;
  256. }
  257. }
  258. }
  259. .order-time {
  260. margin: 24rpx 26rpx 0;
  261. border-radius: 20rpx;
  262. padding: 36rpx 24rpx;
  263. background-color: #FFFFFF;
  264. .order-item {
  265. display: flex;
  266. justify-content: space-between;
  267. padding-bottom: 36rpx;
  268. &:last-child {
  269. padding-bottom: 0;
  270. }
  271. .title {
  272. font-size: 28rpx;
  273. color: #131415;
  274. line-height: 40rpx;
  275. }
  276. .value {
  277. font-size: 28rpx;
  278. color: #777777;
  279. line-height: 40rpx;
  280. }
  281. }
  282. }
  283. .order-btn {
  284. position: fixed;
  285. bottom: 0;
  286. left: 0;
  287. width: 100%;
  288. background-color: #FFFFFF;
  289. border-radius: 32rpx 32rpx 0rpx 0rpx;
  290. padding: 32rpx 40rpx 56rpx 48rpx;
  291. display: flex;
  292. justify-content: flex-end;
  293. align-items: center;
  294. box-sizing: border-box;
  295. .orders {
  296. display: flex;
  297. flex-direction: column;
  298. margin-right: 40rpx;
  299. image {
  300. width: 48rpx;
  301. height: 48rpx;
  302. }
  303. text {
  304. font-weight: 500;
  305. font-size: 22rpx;
  306. color: #131415;
  307. line-height: 32rpx;
  308. text-align: center;
  309. }
  310. }
  311. .more {
  312. display: flex;
  313. }
  314. .priceCon {
  315. margin-right: 32rpx;
  316. }
  317. .price {
  318. display: flex;
  319. align-items: flex-end;
  320. font-weight: bold;
  321. font-size: 32rpx;
  322. color: #FE462E;
  323. line-height: 56rpx;
  324. .goodsNum {
  325. margin-right: 10rpx;
  326. font-weight: 600;
  327. font-size: 24rpx;
  328. color: #777777;
  329. }
  330. .desc {
  331. font-weight: 600;
  332. font-size: 24rpx;
  333. color: #777777;
  334. }
  335. .stuff {
  336. margin-right: 6rpx;
  337. }
  338. .numberDisplay--integer {
  339. line-height: 1;
  340. font-size: 52rpx;
  341. }
  342. .numberDisplay--decimal {
  343. font-size: 32rpx;
  344. }
  345. }
  346. button {
  347. margin: 0;
  348. width: 220rpx;
  349. height: 84rpx;
  350. background: url("https://oss.dayaedu.com/ktyq/1739864864169.png") no-repeat;
  351. background-size: 100% 100%;
  352. border-radius: 78rpx;
  353. font-weight: 600;
  354. font-size: 32rpx;
  355. color: #FFFFFF;
  356. line-height: 84rpx;
  357. }
  358. }