order-detail.less 8.2 KB

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