order-result.less 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  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: 164rpx;
  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: 36rpx;
  192. }
  193. }
  194. }
  195. .priceRight {
  196. display: flex;
  197. justify-content: flex-end;
  198. align-items: baseline;
  199. font-weight: bold;
  200. font-size: 28rpx;
  201. color: #000000;
  202. &.discountTip {
  203. color: #FD4502;
  204. }
  205. .stuff {
  206. margin-right: 4rpx;
  207. }
  208. .numberDisplay--integer {
  209. font-size: 32rpx;
  210. }
  211. .numberDisplay--decimal {
  212. font-size: 24rpx;
  213. }
  214. }
  215. }
  216. .memberInfo {
  217. display: flex;
  218. justify-content: space-between;
  219. margin-bottom: 32rpx;
  220. &:last-child {
  221. margin-bottom: 0;
  222. }
  223. &.orderNoCode {
  224. padding-top: 32rpx;
  225. border-top: 2rpx solid #F2F2F2;
  226. }
  227. .orderInfoRight {
  228. display: flex;
  229. align-items: center;
  230. font-weight: 400;
  231. font-size: 28rpx;
  232. color: #000000;
  233. line-height: 40rpx;
  234. .copy {
  235. margin-left: 12rpx;
  236. padding-left: 12rpx;
  237. font-weight: 400;
  238. font-size: 28rpx;
  239. line-height: 40rpx;
  240. position: relative;
  241. &::after {
  242. content: "";
  243. position: absolute;
  244. left: -2rpx;
  245. top: 50%;
  246. transform: translateY(-50%);
  247. width: 2rpx;
  248. height: 24rpx;
  249. background: #D2D2D2;
  250. }
  251. }
  252. }
  253. >text {
  254. &:nth-child(1) {
  255. flex-shrink: 0;
  256. font-weight: 400;
  257. font-size: 28rpx;
  258. color: #666666;
  259. line-height: 40rpx;
  260. }
  261. &:nth-child(2) {
  262. margin-left: 30rpx;
  263. word-break: break-all;
  264. text-align: right;
  265. font-weight: 400;
  266. font-size: 28rpx;
  267. color: #000000;
  268. line-height: 40rpx;
  269. }
  270. }
  271. }
  272. .order-time {
  273. margin: 24rpx 26rpx 0;
  274. border-radius: 20rpx;
  275. padding: 36rpx 24rpx;
  276. background-color: #FFFFFF;
  277. .order-item {
  278. display: flex;
  279. justify-content: space-between;
  280. padding-bottom: 36rpx;
  281. &:last-child {
  282. padding-bottom: 0;
  283. }
  284. .title {
  285. font-size: 28rpx;
  286. color: #131415;
  287. line-height: 40rpx;
  288. }
  289. .value {
  290. font-size: 28rpx;
  291. color: #777777;
  292. line-height: 40rpx;
  293. }
  294. }
  295. }
  296. .order-btn {
  297. position: fixed;
  298. bottom: 0;
  299. left: 0;
  300. width: 100%;
  301. background-color: #FFFFFF;
  302. border-radius: 32rpx 32rpx 0rpx 0rpx;
  303. padding: 32rpx 40rpx 56rpx 48rpx;
  304. display: flex;
  305. justify-content: flex-end;
  306. align-items: center;
  307. box-sizing: border-box;
  308. box-shadow: 0rpx -2rpx 0rpx 0rpx rgba(0,0,0,0.04);
  309. .orders {
  310. display: flex;
  311. flex-direction: column;
  312. margin-right: 40rpx;
  313. image {
  314. width: 48rpx;
  315. height: 48rpx;
  316. }
  317. text {
  318. font-weight: 500;
  319. font-size: 22rpx;
  320. color: #131415;
  321. line-height: 32rpx;
  322. text-align: center;
  323. }
  324. }
  325. .more {
  326. display: flex;
  327. }
  328. .priceCon {
  329. margin-right: 32rpx;
  330. }
  331. .price {
  332. display: flex;
  333. align-items: baseline;
  334. font-weight: bold;
  335. font-size: 32rpx;
  336. color: #FE462E;
  337. .goodsNum {
  338. font-weight: 400;
  339. margin-right: 10rpx;
  340. font-size: 24rpx;
  341. color: #777777;
  342. }
  343. .desc {
  344. font-weight: 400;
  345. font-size: 24rpx;
  346. color: #777777;
  347. }
  348. .stuff {
  349. margin-right: 6rpx;
  350. }
  351. .numberDisplay--integer {
  352. font-size: 52rpx;
  353. }
  354. .numberDisplay--decimal {
  355. font-size: 32rpx;
  356. }
  357. }
  358. button {
  359. margin: 0;
  360. width: 220rpx;
  361. height: 84rpx;
  362. background: url("https://oss.dayaedu.com/ktyq/1739864864169.png") no-repeat;
  363. background-size: 100% 100%;
  364. border-radius: 78rpx;
  365. font-weight: 600;
  366. font-size: 32rpx;
  367. color: #FFFFFF;
  368. line-height: 84rpx;
  369. }
  370. }