order-detail.wxss 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495
  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;
  106. background: #F9F9F9;
  107. min-height: 100vh;
  108. color: #222;
  109. }
  110. .order-detail .box{
  111. background: #FFFFFF;
  112. border-radius: 16rpx 16rpx 16rpx 16rpx;
  113. margin-bottom: 20rpx;
  114. }
  115. .order-detail .oprate-box{
  116. display: flex;
  117. padding: 24rpx;
  118. }
  119. .order-detail .oprate-box .item{
  120. width: 25%;
  121. text-align: center;
  122. margin: 0;
  123. border: none;
  124. background-color: #fff !important;
  125. padding: 0;
  126. display: block!important;
  127. -webkit-tap-highlight-color: transparent;
  128. outline: none;
  129. line-height: normal;
  130. }
  131. .order-detail wx-button:after {
  132. border: none;
  133. }
  134. .order-detail .oprate-box .item .icon{
  135. width: 40rpx;
  136. height: 40rpx;
  137. }
  138. .order-detail .oprate-box .item .label{
  139. font-size: 28rpx;
  140. color: #222222;
  141. margin-top: 20rpx;
  142. }
  143. .order-detail .delivery-addr {
  144. padding: 20rpx 30rpx;
  145. background: #fff;
  146. }
  147. .order-detail .delivery-addr .user-info {
  148. line-height: 48rpx;
  149. word-wrap: break-word;
  150. word-break: break-all;
  151. overflow: hidden;
  152. text-overflow: ellipsis;
  153. display: -webkit-box;
  154. -webkit-line-clamp: 1;
  155. -webkit-box-orient: vertical;
  156. }
  157. .order-detail .delivery-addr .user-info .item {
  158. font-size: 28rpx;
  159. margin-right: 30rpx;
  160. vertical-align: top;
  161. display: inline-block;
  162. }
  163. .order-detail .delivery-addr .addr {
  164. font-size: 28rpx;
  165. line-height: 36rpx;
  166. color: #777777;
  167. }
  168. /* 商品列表 */
  169. .prod-item {
  170. background-color: #fff;
  171. margin-top: 15rpx;
  172. font-size: 28rpx;
  173. }
  174. /* 拼团icon */
  175. /* .group-text {
  176. font-size: 23rpx;
  177. color: #fff;
  178. background: #fe4443;
  179. padding: 5rpx 10rpx;
  180. border-radius: 8rpx;
  181. position: absolute;
  182. top: 40rpx;
  183. left: 40rpx;
  184. } */
  185. .prod-item .item-cont .prod-pic image {
  186. width: 180rpx;
  187. height: 180rpx;
  188. }
  189. .prod-item .item-cont {
  190. position: relative;
  191. display: flex;
  192. align-items: center;
  193. padding: 20rpx 30rpx;
  194. border-top: 2rpx solid #f1f1f1;
  195. }
  196. .prod-item .item-cont .prod-pic {
  197. font-size: 0;
  198. display: block;
  199. width: 160rpx;
  200. height: 160rpx;
  201. overflow: hidden;
  202. background: #fff;
  203. margin-right: 16rpx;
  204. }
  205. .prod-item .item-cont .prod-pic image {
  206. width: 100%;
  207. height: 100%;
  208. }
  209. .prod-item .item-cont .prod-info {
  210. margin-left: 10rpx;
  211. font-size: 28rpx;
  212. width: 100%;
  213. position: relative;
  214. -webkit-flex: 1;
  215. -ms-flex: 1;
  216. -webkit-box-flex: 1;
  217. -moz-box-flex: 1;
  218. flex: 1;
  219. }
  220. /* 申请退款按钮 */
  221. .apply-refund-btn {
  222. position: absolute;
  223. right: 20rpx;
  224. bottom: 25rpx;
  225. font-size: 23rpx;
  226. padding: 7rpx 15rpx;
  227. color: #e43130;
  228. border: 1rpx solid #e43130;
  229. border-radius: 30rpx;
  230. }
  231. .prod-item .item-cont .prod-info .prodname {
  232. font-size: 28rpx;
  233. line-height: 40rpx;
  234. max-height: 86rpx;
  235. overflow: hidden;
  236. display: -webkit-box;
  237. -webkit-line-clamp: 2;
  238. -webkit-box-orient: vertical;
  239. text-overflow: ellipsis;
  240. word-break: break-all;
  241. }
  242. .prod-item .item-cont .prod-info .prod-info-cont {
  243. position: relative;
  244. color: #888888;
  245. margin-top: 20rpx;
  246. font-size: 28rpx;
  247. overflow: hidden;
  248. text-overflow: ellipsis;
  249. display: -webkit-box;
  250. -webkit-line-clamp: 2;
  251. flex-direction: column
  252. }
  253. .prod-item .item-cont .prod-info .prod-info-cont .info-item {
  254. color: #999;
  255. height: 28rpx;
  256. margin-top: 10rpx;
  257. font-size: 24rpx;
  258. overflow: hidden;
  259. display: -webkit-box;
  260. -webkit-line-clamp: 1;
  261. -webkit-box-orient: vertical;
  262. text-overflow: ellipsis;
  263. word-break: break-all;
  264. width: 75%;
  265. }
  266. .spell-group-icon {
  267. display: inline-block;
  268. vertical-align: middle;
  269. margin-right: 5rpx;
  270. }
  271. .group-text {
  272. display: block;
  273. font-size: 23rpx;
  274. color: #fff;
  275. background: #e43130;
  276. padding: 6rpx 10rpx;
  277. }
  278. .prod-item .item-cont .prod-info .prod-info-cont .number {
  279. display: inline-block;
  280. margin-right: 20rpx;
  281. vertical-align: middle;
  282. overflow: hidden;
  283. display: -webkit-box;
  284. -webkit-line-clamp: 1;
  285. -webkit-box-orient: vertical;
  286. text-overflow: ellipsis;
  287. word-break: break-all;
  288. }
  289. .prod-item .price-nums {
  290. margin-top: 20rpx;
  291. }
  292. .prod-item .price-nums .prodprice {
  293. color: #e43130;
  294. height: 50rpx;
  295. line-height: 50rpx;
  296. font-size: 24rpx;
  297. float: left;
  298. }
  299. .prod-item .price-nums .btn-box {
  300. float: right;
  301. text-align: right;
  302. }
  303. .prod-item .price-nums .btn-box .btn {
  304. padding: 6rpx 30rpx;
  305. line-height: 36rpx;
  306. margin-left: 20rpx;
  307. font-size: 24rpx;
  308. display: inline-block;
  309. border: 2rpx solid #e4e4e4;
  310. border-radius: 50rpx;
  311. }
  312. /*
  313. 订单信息 */
  314. .order-msg {
  315. background: #fff;
  316. margin-top: 15rpx;
  317. font-size: 30rpx;
  318. }
  319. .order-msg .msg-item {
  320. padding: 20rpx;
  321. border-top: 2rpx solid #f1f1f1;
  322. }
  323. .order-msg .msg-item:first-child {
  324. border: 0;
  325. }
  326. .order-msg .msg-item .item {
  327. display: flex;
  328. padding: 10rpx 0;
  329. align-items: center;
  330. }
  331. .order-msg .msg-item .item.payment {
  332. border-top: 2rpx solid #f1f1f1;
  333. color: #e43130;
  334. padding-top: 30rpx;
  335. }
  336. .order-msg .msg-item .item .item-tit {
  337. font-size: 28rpx;
  338. color: #222222;
  339. line-height: 48rpx;
  340. }
  341. .order-msg .msg-item .item .item-txt {
  342. flex: 1;
  343. line-height: 48rpx;
  344. }
  345. .order-msg .msg-item .item .copy-btn {
  346. display: block;
  347. margin-left: 20rpx;
  348. border: 2rpx solid #bbb;
  349. padding: 6rpx 24rpx;
  350. padding-top: 10rpx;
  351. border-radius: 50rpx;
  352. font-size: 26rpx;
  353. line-height: 28rpx;
  354. }
  355. .order-msg .msg-item .item .item-txt.price {
  356. text-align: right;
  357. }
  358. /* 底部栏 */
  359. .order-detail-footer {
  360. position: fixed;
  361. bottom: 0;
  362. left: -24rpx;
  363. width: 100%;
  364. max-width: 750rpx;
  365. background: #fff;
  366. margin: auto;
  367. display: -webkit-flex;
  368. display: -webkit-box;
  369. display: -moz-box;
  370. display: -ms-flexbox;
  371. display: flex;
  372. padding: 24rpx 0;
  373. font-size: 30rpx;
  374. box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  375. }
  376. .order-detail-footer .dele-order {
  377. margin-left: 20rpx;
  378. line-height: 60rpx;
  379. display: block;
  380. margin-right: 20rpx;
  381. width: 150rpx;
  382. text-align: center;
  383. }
  384. .order-detail-footer .footer-box {
  385. flex: 1;
  386. text-align: right;
  387. line-height: 60rpx;
  388. }
  389. .order-detail-footer .footer-box .buy-again {
  390. font-size: 26rpx;
  391. color: #fff;
  392. background: #e43130;
  393. border-radius: 50rpx;
  394. padding: 10rpx 20rpx;
  395. margin-right: 20rpx;
  396. }
  397. .order-detail-footer .footer-box .apply-service {
  398. display: inline-block;
  399. font-size: 26rpx;
  400. border-radius: 50rpx;
  401. border: 1px solid #bbb;
  402. margin-right: 20rpx;
  403. background: #fff;
  404. color: #555;
  405. line-height: 1em;
  406. padding: 15rpx 25rpx;
  407. vertical-align: middle;
  408. }
  409. .order-detail-footer .footer-box .apply-service::after{
  410. border:0;
  411. }
  412. .clearfix:after {
  413. content: " ";
  414. display: table;
  415. clear: both;
  416. }
  417. /* 底部整单退款 */
  418. .refund-full{
  419. position: relative;
  420. bottom: 0;
  421. font-size: 26rpx;
  422. padding: 12rpx 25rpx;
  423. }
  424. /* 根据状态显示不同的颜色 */
  425. .order-state {
  426. padding: 20rpx;
  427. /* margin-right: 20rpx; */
  428. }
  429. /* 店铺 */
  430. .shop-box {
  431. display: inline-block;
  432. }
  433. .shop-icon {
  434. display: inline-block;
  435. width: 35rpx;
  436. height: 35rpx;
  437. margin-right: 15rpx;
  438. vertical-align: middle;
  439. }
  440. .shop-icon > image {
  441. width: 100%;
  442. height: 100%;
  443. }
  444. .shop-name {
  445. display: inline-block;
  446. vertical-align: middle;
  447. font-weight: bold;
  448. font-size: 28rpx;
  449. color: #222222;
  450. }
  451. .order-sts{
  452. font-weight: bold;
  453. font-size: 36rpx;
  454. color: #222222;
  455. margin-bottom: 20rpx;
  456. }
  457. .order-state .order-sts.gray {
  458. color: #777777;
  459. height: 32rpx;
  460. line-height: 32rpx;
  461. }
  462. .order-state .order-sts.normal {
  463. color: #333;
  464. }