order-detail.wxss 7.7 KB

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