order-detail.wxss 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537
  1. /* pages/order-detail/order-detail.wxss */
  2. .clearfix:after {
  3. content: ".";
  4. display: block;
  5. height: 0;
  6. clear: both;
  7. visibility: hidden;
  8. }
  9. image {
  10. width: 100%;
  11. height: 100%;
  12. }
  13. page {
  14. }
  15. .display {
  16. display: none!important;
  17. }
  18. /* 头部流程-等待商家发货 */
  19. .process {
  20. padding: 20rpx;
  21. font-size: 28rpx;
  22. border-bottom: 1px solid #f2f2f2;
  23. background: #fff;
  24. }
  25. .process-top {
  26. padding: 20rpx 0;
  27. margin-top: 10rpx;
  28. }
  29. .shop-icon {
  30. width: 70rpx;
  31. height: 70rpx;
  32. margin-right: 15rpx;
  33. vertical-align: middle;
  34. }
  35. .wait {
  36. vertical-align: middle;
  37. }
  38. /* 进程 */
  39. .process-list {
  40. position: relative;
  41. padding-top: 30rpx;
  42. padding-bottom: 15rpx;
  43. display: flex;
  44. justify-content: space-between;
  45. }
  46. .process-item {
  47. font-size: 25rpx;
  48. color: #aaa;
  49. text-align: center;
  50. }
  51. .buyers-pay {
  52. text-align: left;
  53. }
  54. .successful {
  55. text-align: right;
  56. }
  57. .current-txt {
  58. color: #17b606;
  59. }
  60. .item-icon {
  61. width: 20rpx;
  62. height: 20rpx;
  63. }
  64. .solid-round {
  65. display: inline-block;
  66. width: 12rpx;
  67. height: 12rpx;
  68. background: #bbb;
  69. border-radius: 50%;
  70. }
  71. /* 进度条 */
  72. .line {
  73. position: absolute;
  74. bottom: 28rpx;
  75. height: 3rpx;
  76. background: #f0f0f0;
  77. }
  78. .line-current {
  79. background: #46b229;
  80. }
  81. .line01 {
  82. left: 33rpx;
  83. width: 42%;
  84. }
  85. .line02 {
  86. right: 33rpx;
  87. width: 42%;
  88. }
  89. .spell-line01 {
  90. width: 25%;
  91. left: 33rpx;
  92. }
  93. .spell-line02 {
  94. width: 25%;
  95. left: 255rpx;
  96. }
  97. .spell-line03 {
  98. width: 25%;
  99. right: 33rpx;
  100. }
  101. /* 地址 */
  102. .order-detail {
  103. margin-bottom: 120rpx;
  104. font-size: 30rpx;
  105. padding: 20rpx 24rpx 200rpx;
  106. background: #F9F9F9;
  107. min-height: 100vh;
  108. color: #222;
  109. }
  110. .sub-title{
  111. font-weight: bold;
  112. font-size: 32rpx;
  113. color: #222222;
  114. padding: 24rpx 0;
  115. }
  116. .pay-btn-box{
  117. display: flex;
  118. justify-content: space-between;
  119. }
  120. .pay-btn-box .cancel-btn{
  121. width: 226rpx;
  122. height: 68rpx;
  123. line-height: 68rpx;
  124. text-align: center;
  125. background: #FFFFFF;
  126. border-radius: 60rpx 60rpx 60rpx 60rpx;
  127. font-weight: bold;
  128. font-size: 28rpx;
  129. color: #AAAAAA;
  130. }
  131. .pay-btn-box .pay-btn{
  132. width: 456rpx;
  133. height: 68rpx;
  134. line-height: 68rpx;
  135. text-align: center;
  136. background: #FF941A;
  137. border-radius: 60rpx 60rpx 60rpx 60rpx;
  138. font-weight: bold;
  139. font-size: 28rpx;
  140. color: #FFFFFF;
  141. }
  142. .order-detail .box{
  143. background: #FFFFFF;
  144. border-radius: 16rpx 16rpx 16rpx 16rpx;
  145. margin-bottom: 20rpx;
  146. }
  147. .order-detail .oprate-box{
  148. display: flex;
  149. padding: 0 24rpx;
  150. }
  151. .order-detail .oprate-box .item{
  152. width: 25%;
  153. text-align: center;
  154. margin: 0;
  155. border: none;
  156. background-color: #fff !important;
  157. padding: 24rpx 0;
  158. display: block!important;
  159. -webkit-tap-highlight-color: transparent;
  160. outline: none;
  161. line-height: normal;
  162. }
  163. .order-detail wx-button:after {
  164. border: none;
  165. }
  166. .order-detail .oprate-box .item .icon{
  167. width: 40rpx;
  168. height: 40rpx;
  169. }
  170. .order-detail .oprate-box .item .label{
  171. font-size: 28rpx;
  172. color: #222222;
  173. margin-top: 20rpx;
  174. }
  175. .order-detail .delivery-addr {
  176. padding: 20rpx 30rpx;
  177. background: #fff;
  178. }
  179. .order-detail .delivery-addr .user-info {
  180. line-height: 48rpx;
  181. word-wrap: break-word;
  182. word-break: break-all;
  183. overflow: hidden;
  184. text-overflow: ellipsis;
  185. display: -webkit-box;
  186. -webkit-line-clamp: 1;
  187. -webkit-box-orient: vertical;
  188. font-weight: bold;
  189. font-size: 32rpx;
  190. color: #222222;
  191. }
  192. .order-detail .delivery-addr .user-info .item {
  193. font-size: 28rpx;
  194. margin-right: 30rpx;
  195. vertical-align: top;
  196. display: inline-block;
  197. }
  198. .order-detail .delivery-addr .addr {
  199. font-size: 28rpx;
  200. line-height: 36rpx;
  201. font-size: 28rpx;
  202. color: #AAAAAA;
  203. margin-top: 20rpx;
  204. }
  205. /* 商品列表 */
  206. .prod-item {
  207. background-color: #fff;
  208. margin-top: 15rpx;
  209. font-size: 28rpx;
  210. }
  211. /* 拼团icon */
  212. /* .group-text {
  213. font-size: 23rpx;
  214. color: #fff;
  215. background: #fe4443;
  216. padding: 5rpx 10rpx;
  217. border-radius: 8rpx;
  218. position: absolute;
  219. top: 40rpx;
  220. left: 40rpx;
  221. } */
  222. .prod-item .item-cont .prod-pic image {
  223. width: 180rpx;
  224. height: 180rpx;
  225. }
  226. .prod-item .item-cont {
  227. position: relative;
  228. display: flex;
  229. align-items: center;
  230. padding: 20rpx 30rpx;
  231. border-top: 2rpx solid #f1f1f1;
  232. }
  233. .prod-item .item-cont .prod-pic {
  234. font-size: 0;
  235. display: block;
  236. width: 160rpx;
  237. height: 160rpx;
  238. overflow: hidden;
  239. background: #fff;
  240. margin-right: 16rpx;
  241. }
  242. .prod-item .item-cont .prod-pic image {
  243. width: 100%;
  244. height: 100%;
  245. }
  246. .prod-item .item-cont .prod-info {
  247. margin-left: 10rpx;
  248. font-size: 28rpx;
  249. width: 100%;
  250. position: relative;
  251. -webkit-flex: 1;
  252. -ms-flex: 1;
  253. -webkit-box-flex: 1;
  254. -moz-box-flex: 1;
  255. flex: 1;
  256. }
  257. /* 申请退款按钮 */
  258. .apply-refund-btn {
  259. position: absolute;
  260. right: 20rpx;
  261. bottom: 25rpx;
  262. font-size: 23rpx;
  263. padding: 7rpx 15rpx;
  264. color: #e43130;
  265. border: 1rpx solid #e43130;
  266. border-radius: 30rpx;
  267. }
  268. .prod-item .item-cont .prod-info .prodname {
  269. font-size: 30rpx;
  270. line-height: 40rpx;
  271. max-height: 86rpx;
  272. overflow: hidden;
  273. display: -webkit-box;
  274. -webkit-line-clamp: 2;
  275. -webkit-box-orient: vertical;
  276. text-overflow: ellipsis;
  277. word-break: break-all;
  278. }
  279. .prod-item .item-cont .prod-info .prod-info-cont {
  280. position: relative;
  281. color: #888888;
  282. margin-top: 20rpx;
  283. font-size: 28rpx;
  284. overflow: hidden;
  285. text-overflow: ellipsis;
  286. display: -webkit-box;
  287. -webkit-line-clamp: 2;
  288. flex-direction: column
  289. }
  290. .prod-item .item-cont .prod-info .prod-info-cont .info-item {
  291. color: #999;
  292. height: 28rpx;
  293. margin-top: 10rpx;
  294. font-size: 24rpx;
  295. overflow: hidden;
  296. display: -webkit-box;
  297. -webkit-line-clamp: 1;
  298. -webkit-box-orient: vertical;
  299. text-overflow: ellipsis;
  300. word-break: break-all;
  301. width: 75%;
  302. }
  303. .spell-group-icon {
  304. display: inline-block;
  305. vertical-align: middle;
  306. margin-right: 5rpx;
  307. }
  308. .group-text {
  309. display: block;
  310. font-size: 23rpx;
  311. color: #fff;
  312. background: #e43130;
  313. padding: 6rpx 10rpx;
  314. }
  315. .prod-item .item-cont .prod-info .prod-info-cont .number {
  316. display: inline-block;
  317. margin-right: 20rpx;
  318. vertical-align: middle;
  319. overflow: hidden;
  320. display: -webkit-box;
  321. -webkit-line-clamp: 1;
  322. -webkit-box-orient: vertical;
  323. text-overflow: ellipsis;
  324. word-break: break-all;
  325. }
  326. .prod-item .price-nums {
  327. margin-top: 20rpx;
  328. }
  329. .prod-item .price-nums .prodprice {
  330. color: #e43130;
  331. height: 50rpx;
  332. line-height: 50rpx;
  333. font-size: 24rpx;
  334. float: left;
  335. }
  336. .prod-item .price-nums .btn-box {
  337. float: right;
  338. text-align: right;
  339. }
  340. .prod-item .price-nums .btn-box .btn {
  341. padding: 6rpx 30rpx;
  342. line-height: 36rpx;
  343. margin-left: 20rpx;
  344. font-size: 24rpx;
  345. display: inline-block;
  346. border: 2rpx solid #e4e4e4;
  347. border-radius: 50rpx;
  348. }
  349. /*
  350. 订单信息 */
  351. .order-msg {
  352. background: #fff;
  353. margin-top: 15rpx;
  354. font-size: 30rpx;
  355. padding: 0 20rpx;
  356. }
  357. .order-msg .msg-item {
  358. /* padding: 20rpx; */
  359. }
  360. .order-msg .msg-item:first-child {
  361. border: 0;
  362. }
  363. .order-msg .msg-item .item {
  364. display: flex;
  365. padding: 10rpx 0;
  366. align-items: center;
  367. justify-content: space-between;
  368. }
  369. .order-msg .msg-item .item.payment {
  370. border-top: 2rpx solid #f1f1f1;
  371. color: #e43130;
  372. padding-top: 30rpx;
  373. }
  374. .order-msg .msg-item .item .item-tit {
  375. font-size: 28rpx;
  376. color: #AAAAAA;
  377. line-height: 48rpx;
  378. }
  379. .order-msg .msg-item .item .item-txt {
  380. flex: 1;
  381. line-height: 48rpx;
  382. font-size: 28rpx;
  383. }
  384. .order-msg .msg-item .item .copy-btn {
  385. display: block;
  386. margin-left: 20rpx;
  387. border: 2rpx solid #bbb;
  388. padding: 6rpx 24rpx;
  389. padding-top: 10rpx;
  390. border-radius: 50rpx;
  391. font-size: 26rpx;
  392. line-height: 28rpx;
  393. }
  394. .order-msg .msg-item .item .item-txt.price {
  395. text-align: right;
  396. }
  397. /* 底部栏 */
  398. .order-detail-footer {
  399. position: fixed;
  400. bottom: 0;
  401. left: -24rpx;
  402. width: 100%;
  403. max-width: 750rpx;
  404. background: #fff;
  405. margin: auto;
  406. display: -webkit-flex;
  407. display: -webkit-box;
  408. display: -moz-box;
  409. display: -ms-flexbox;
  410. display: flex;
  411. padding: 24rpx 0;
  412. font-size: 30rpx;
  413. box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  414. }
  415. .order-detail-footer .dele-order {
  416. margin-left: 20rpx;
  417. line-height: 60rpx;
  418. display: block;
  419. margin-right: 20rpx;
  420. width: 150rpx;
  421. text-align: center;
  422. }
  423. .order-detail-footer .footer-box {
  424. flex: 1;
  425. text-align: right;
  426. line-height: 60rpx;
  427. }
  428. .order-detail-footer .footer-box .buy-again {
  429. font-size: 26rpx;
  430. color: #fff;
  431. background: #e43130;
  432. border-radius: 50rpx;
  433. padding: 10rpx 20rpx;
  434. margin-right: 20rpx;
  435. }
  436. .order-detail-footer .footer-box .apply-service {
  437. display: inline-block;
  438. font-size: 26rpx;
  439. border-radius: 50rpx;
  440. border: 1px solid #bbb;
  441. margin-right: 20rpx;
  442. background: #fff;
  443. color: #555;
  444. line-height: 1em;
  445. padding: 15rpx 25rpx;
  446. vertical-align: middle;
  447. }
  448. .order-detail-footer .footer-box .apply-service::after{
  449. border:0;
  450. }
  451. .clearfix:after {
  452. content: " ";
  453. display: table;
  454. clear: both;
  455. }
  456. /* 底部整单退款 */
  457. .refund-full{
  458. position: relative;
  459. bottom: 0;
  460. font-size: 26rpx;
  461. padding: 12rpx 25rpx;
  462. }
  463. /* 根据状态显示不同的颜色 */
  464. .order-state {
  465. padding: 20rpx;
  466. /* margin-right: 20rpx; */
  467. }
  468. /* 店铺 */
  469. .shop-box {
  470. display: inline-block;
  471. }
  472. .shop-icon {
  473. display: inline-block;
  474. width: 35rpx;
  475. height: 35rpx;
  476. margin-right: 15rpx;
  477. vertical-align: middle;
  478. }
  479. .shop-icon > image {
  480. width: 100%;
  481. height: 100%;
  482. }
  483. .shop-name {
  484. display: inline-block;
  485. vertical-align: middle;
  486. font-weight: bold;
  487. font-size: 28rpx;
  488. color: #222222;
  489. }
  490. .order-sts{
  491. font-weight: bold;
  492. font-size: 36rpx;
  493. color: #222222;
  494. margin-bottom: 20rpx;
  495. }
  496. .order-state .order-sts.gray {
  497. color: #777777;
  498. height: 32rpx;
  499. line-height: 32rpx;
  500. }
  501. .order-state .order-sts.normal {
  502. color: #333;
  503. }