order-result.less 8.5 KB

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