order-detail.less 8.0 KB

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