order-detail.less 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492
  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. margin-right: 24rpx;
  85. overflow: hidden;
  86. }
  87. .infoCon {
  88. display: flex;
  89. align-items: center;
  90. font-weight: 600;
  91. font-size: 28rpx;
  92. color: #131415;
  93. line-height: 40rpx;
  94. .tip {
  95. flex-shrink: 0;
  96. width: 44rpx;
  97. height: 44rpx;
  98. }
  99. .name{
  100. margin-left: 16rpx;
  101. white-space: nowrap;
  102. overflow: hidden;
  103. text-overflow: ellipsis;
  104. }
  105. .phone {
  106. flex-shrink: 0;
  107. margin-left: 16rpx;
  108. }
  109. }
  110. .schoolInfoCon {
  111. margin-top: 20rpx;
  112. display: flex;
  113. align-items: center;
  114. .schoolInfo {
  115. margin-right: 8rpx;
  116. border-radius: 4rpx;
  117. border: 1.6rpx solid rgba(243, 131, 9, 0.5);
  118. padding: 0rpx 6rpx;
  119. font-weight: 400;
  120. font-size: 20rpx;
  121. color: #F38309;
  122. line-height: 32rpx;
  123. flex-shrink: 0;
  124. }
  125. .schoolInfoDes {
  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. margin-right: 28rpx;
  313. width: 140rpx;
  314. flex-shrink: 0;
  315. font-weight: 400;
  316. font-size: 28rpx;
  317. color: #666666;
  318. line-height: 40rpx;
  319. }
  320. &:nth-child(2) {
  321. word-break: break-all;
  322. text-align: right;
  323. font-weight: 400;
  324. font-size: 28rpx;
  325. color: #000000;
  326. line-height: 40rpx;
  327. }
  328. }
  329. }
  330. .order-time {
  331. margin: 24rpx 26rpx 0;
  332. border-radius: 20rpx;
  333. padding: 36rpx 24rpx;
  334. background-color: #FFFFFF;
  335. .order-item {
  336. display: flex;
  337. justify-content: space-between;
  338. padding-bottom: 36rpx;
  339. &:last-child {
  340. padding-bottom: 0;
  341. }
  342. .title {
  343. font-size: 28rpx;
  344. color: #131415;
  345. line-height: 40rpx;
  346. }
  347. .value {
  348. font-size: 28rpx;
  349. color: #777777;
  350. line-height: 40rpx;
  351. }
  352. }
  353. }
  354. .order-btn {
  355. position: fixed;
  356. bottom: 0;
  357. left: 0;
  358. width: 100%;
  359. background-color: #FFFFFF;
  360. border-radius: 32rpx 32rpx 0rpx 0rpx;
  361. padding: 32rpx 40rpx 56rpx 48rpx;
  362. display: flex;
  363. justify-content: space-between;
  364. align-items: center;
  365. box-sizing: border-box;
  366. .orders {
  367. display: flex;
  368. flex-direction: column;
  369. margin-right: 40rpx;
  370. image {
  371. width: 48rpx;
  372. height: 48rpx;
  373. }
  374. text {
  375. font-weight: 500;
  376. font-size: 22rpx;
  377. color: #131415;
  378. line-height: 32rpx;
  379. text-align: center;
  380. }
  381. }
  382. .more {
  383. display: flex;
  384. }
  385. .price {
  386. display: flex;
  387. align-items: flex-end;
  388. font-weight: bold;
  389. font-size: 32rpx;
  390. color: #000000;
  391. line-height: 56rpx;
  392. .desc {
  393. font-weight: 600;
  394. font-size: 24rpx;
  395. color: #777777;
  396. }
  397. .stuff {
  398. margin-right: 4rpx;
  399. }
  400. .numberDisplay--integer {
  401. line-height: 1;
  402. font-size: 48rpx;
  403. }
  404. .numberDisplay--decimal {
  405. font-size: 32rpx;
  406. }
  407. }
  408. .discountVal {
  409. font-weight: 600;
  410. font-size: 24rpx;
  411. color: #FD4502;
  412. line-height: 34rpx;
  413. }
  414. button {
  415. margin: 0;
  416. width: 280rpx;
  417. height: 88rpx;
  418. background: url("https://oss.dayaedu.com/ktyq/1739342836131.png") no-repeat;
  419. background-size: 100% 100%;
  420. border-radius: 78rpx;
  421. font-weight: 600;
  422. font-size: 32rpx;
  423. color: #FFFFFF;
  424. line-height: 88rpx;
  425. }
  426. }