order-result.less 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  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;
  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. display: flex;
  93. width: 100%;
  94. &.last-item-content {
  95. margin-top: 24rpx;
  96. border-top: 2rpx solid #F2F2F2;
  97. padding-top: 24rpx;
  98. }
  99. .goods-icon {
  100. width: 120rpx;
  101. height: 120rpx;
  102. margin-right: 24rpx;
  103. flex-shrink: 0;
  104. border-radius: 6px;
  105. overflow: hidden;
  106. }
  107. .goods-desc {
  108. flex: 1 auto;
  109. display: flex;
  110. flex-direction: column;
  111. overflow: hidden;
  112. }
  113. .goodsInfo {
  114. display: flex;
  115. justify-content: space-between;
  116. margin-top: 8rpx;
  117. .goods-name {
  118. flex: 1 auto;
  119. white-space: nowrap;
  120. overflow: hidden;
  121. text-overflow: ellipsis;
  122. margin-right: 20rpx;
  123. font-weight: 600;
  124. font-size: 28rpx;
  125. color: #131415;
  126. line-height: 48rpx;
  127. }
  128. .goods-price {
  129. flex-shrink: 0;
  130. font-family: DINAlternate, DINAlternate;
  131. font-weight: bold;
  132. font-size: 28rpx;
  133. color: #131415;
  134. line-height: 48rpx;
  135. display: flex;
  136. .stuff {
  137. margin-right: 6rpx;
  138. font-size: 28rpx;
  139. }
  140. .priceZ {
  141. font-size: 32rpx;
  142. }
  143. }
  144. }
  145. .goods-type {
  146. display: flex;
  147. justify-content: space-between;
  148. align-items: center;
  149. padding-top: 12rpx;
  150. .goods-card {
  151. font-weight: 400;
  152. font-size: 24rpx;
  153. color: #777777;
  154. line-height: 36rpx;
  155. }
  156. .goods-num {
  157. font-weight: 400;
  158. font-size: 24rpx;
  159. color: #AAAAAA;
  160. line-height: 36rpx;
  161. }
  162. }
  163. }
  164. .priceDetails {
  165. display: flex;
  166. justify-content: space-between;
  167. align-items: center;
  168. margin-top: 28rpx;
  169. &.sumTip {
  170. padding-top: 24rpx;
  171. border-top: 2rpx solid #F2F2F2;
  172. .titPic {
  173. font-weight: 400;
  174. font-size: 24rpx;
  175. color: #777777;
  176. }
  177. }
  178. .priceLeft {
  179. >text {
  180. &:nth-child(1) {
  181. font-weight: 400;
  182. font-size: 26rpx;
  183. color: #777777;
  184. line-height: 36rpx;
  185. }
  186. &:nth-child(2) {
  187. margin-left: 16rpx;
  188. font-weight: 400;
  189. font-size: 24rpx;
  190. color: #AAAAAA;
  191. line-height: 34rpx;
  192. }
  193. }
  194. }
  195. .priceRight {
  196. display: flex;
  197. justify-content: flex-end;
  198. align-items: flex-end;
  199. font-weight: bold;
  200. font-size: 28rpx;
  201. color: #000000;
  202. line-height: 44rpx;
  203. &.discountTip {
  204. color: #FD4502;
  205. }
  206. .stuff {
  207. line-height: 48rpx;
  208. margin-right: 4rpx;
  209. }
  210. .numberDisplay--integer {
  211. line-height: 1;
  212. font-size: 32rpx;
  213. }
  214. .numberDisplay--decimal {
  215. font-size: 24rpx;
  216. }
  217. }
  218. }
  219. .memberInfo {
  220. display: flex;
  221. justify-content: space-between;
  222. margin-bottom: 32rpx;
  223. &:last-child {
  224. margin-bottom: 0;
  225. }
  226. &.orderNoCode {
  227. padding-top: 32rpx;
  228. border-top: 2rpx solid #F2F2F2;
  229. }
  230. .orderInfoRight {
  231. display: flex;
  232. align-items: center;
  233. font-weight: 400;
  234. font-size: 28rpx;
  235. color: #000000;
  236. line-height: 40rpx;
  237. .copy {
  238. margin-left: 12rpx;
  239. padding-left: 12rpx;
  240. font-weight: 400;
  241. font-size: 28rpx;
  242. line-height: 40rpx;
  243. position: relative;
  244. &::after {
  245. content: "";
  246. position: absolute;
  247. left: -2rpx;
  248. top: 50%;
  249. transform: translateY(-50%);
  250. width: 2rpx;
  251. height: 24rpx;
  252. background: #D2D2D2;
  253. }
  254. }
  255. }
  256. >text {
  257. &:nth-child(1) {
  258. flex-shrink: 0;
  259. font-weight: 400;
  260. font-size: 28rpx;
  261. color: #666666;
  262. line-height: 40rpx;
  263. }
  264. &:nth-child(2) {
  265. margin-left: 30rpx;
  266. word-break: break-all;
  267. text-align: right;
  268. font-weight: 400;
  269. font-size: 28rpx;
  270. color: #000000;
  271. line-height: 40rpx;
  272. }
  273. }
  274. }
  275. .order-time {
  276. margin: 24rpx 26rpx 0;
  277. border-radius: 20rpx;
  278. padding: 36rpx 24rpx;
  279. background-color: #FFFFFF;
  280. .order-item {
  281. display: flex;
  282. justify-content: space-between;
  283. padding-bottom: 36rpx;
  284. &:last-child {
  285. padding-bottom: 0;
  286. }
  287. .title {
  288. font-size: 28rpx;
  289. color: #131415;
  290. line-height: 40rpx;
  291. }
  292. .value {
  293. font-size: 28rpx;
  294. color: #777777;
  295. line-height: 40rpx;
  296. }
  297. }
  298. }
  299. .order-btn {
  300. position: fixed;
  301. bottom: 0;
  302. left: 0;
  303. width: 100%;
  304. background-color: #FFFFFF;
  305. border-radius: 32rpx 32rpx 0rpx 0rpx;
  306. padding: 32rpx 40rpx 56rpx 48rpx;
  307. display: flex;
  308. justify-content: flex-end;
  309. align-items: center;
  310. box-sizing: border-box;
  311. .orders {
  312. display: flex;
  313. flex-direction: column;
  314. margin-right: 40rpx;
  315. image {
  316. width: 48rpx;
  317. height: 48rpx;
  318. }
  319. text {
  320. font-weight: 500;
  321. font-size: 22rpx;
  322. color: #131415;
  323. line-height: 32rpx;
  324. text-align: center;
  325. }
  326. }
  327. .more {
  328. display: flex;
  329. }
  330. .priceCon {
  331. margin-right: 32rpx;
  332. }
  333. .price {
  334. display: flex;
  335. align-items: flex-end;
  336. font-weight: bold;
  337. font-size: 32rpx;
  338. color: #FE462E;
  339. .goodsNum {
  340. font-weight: 400;
  341. margin-right: 10rpx;
  342. font-size: 24rpx;
  343. color: #777777;
  344. }
  345. .desc {
  346. font-weight: 400;
  347. font-size: 24rpx;
  348. color: #777777;
  349. }
  350. .stuff {
  351. margin-right: 6rpx;
  352. }
  353. .numberDisplay--integer {
  354. line-height: 1;
  355. font-size: 52rpx;
  356. }
  357. .numberDisplay--decimal {
  358. font-size: 32rpx;
  359. }
  360. }
  361. button {
  362. margin: 0;
  363. width: 220rpx;
  364. height: 84rpx;
  365. background: url("https://oss.dayaedu.com/ktyq/1739864864169.png") no-repeat;
  366. background-size: 100% 100%;
  367. border-radius: 78rpx;
  368. font-weight: 600;
  369. font-size: 32rpx;
  370. color: #FFFFFF;
  371. line-height: 84rpx;
  372. }
  373. }