orderList.wxss 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461
  1. /* pages/orderList/orderList.wxss */
  2. page {
  3. background-color: #f4f4f4;
  4. color: #333;
  5. padding-bottom: 200rpx;
  6. }
  7. /* 头部菜单 */
  8. .search-box{
  9. position: fixed;
  10. top: 0;
  11. width: 100%;
  12. height: 168rpx;
  13. background: #fff;
  14. z-index: 999;
  15. padding: 20rpx 24rpx;
  16. box-sizing: border-box;
  17. }
  18. .type-box{
  19. display: flex;
  20. }
  21. .type-box .type-item{
  22. font-size: 32rpx;
  23. color: #AAAAAA;
  24. margin-right: 64rpx;
  25. }
  26. .type-box .type-item.active{
  27. font-weight: bold;
  28. font-size: 32rpx;
  29. color: #222222;
  30. position: relative;
  31. }
  32. .type-box .type-item.active::after{
  33. content: '';
  34. display: block;
  35. width: 40rpx;
  36. height: 8rpx;
  37. background: #006CE8;
  38. border-radius: 4rpx 4rpx 4rpx 4rpx;
  39. position: absolute;
  40. left: 50%;
  41. bottom: -20rpx;
  42. transform: translateX(-20rpx);
  43. }
  44. .order-tit {
  45. display: flex;
  46. /* justify-content: space-around; */
  47. z-index: 999;
  48. width: 100%;
  49. height: 48rpx;
  50. line-height: 48rpx;
  51. background-color: #fff;
  52. margin-top: 38rpx;
  53. }
  54. .order-tit text {
  55. width: 104rpx;
  56. height: 48rpx;
  57. line-height: 48rpx;
  58. text-align: center;
  59. background: #F6F6F6;
  60. border-radius: 24rpx 24rpx 24rpx 24rpx;
  61. font-size: 24rpx;
  62. color: #222222;
  63. margin-right: 16rpx;
  64. }
  65. .order-tit text.on {
  66. background: #006CE8;
  67. color: #FFFFFF;
  68. /* master */
  69. /* border-bottom: 4rpx solid #006CE8;
  70. color: #006CE8;
  71. font-weight: 600; */
  72. }
  73. /* end 头部菜单 */
  74. .main {
  75. margin-top: 188rpx;
  76. }
  77. /* 商品列表 */
  78. .prod-item {
  79. background-color: #fff;
  80. font-size: 28rpx;
  81. margin: 0 24rpx 20rpx;
  82. border-radius: 16rpx 16rpx 16rpx 16rpx;
  83. padding: 0 24rpx;
  84. }
  85. /* 店铺 */
  86. .shop-box {
  87. padding: 20rpx 0;
  88. border-bottom: 2rpx solid #f2f2f2;
  89. display: flex;
  90. align-items: center;
  91. justify-content: space-between;
  92. }
  93. .shop-box .shop-info{
  94. display: flex;
  95. align-items: center;
  96. }
  97. .delivery-info{
  98. background: #F9F9F9;
  99. border-radius: 16rpx 16rpx 16rpx 16rpx;
  100. margin-top: 20rpx;
  101. padding: 24rpx;
  102. margin-bottom: 20rpx;
  103. }
  104. .delivery-info .title-box{
  105. display: flex;
  106. font-weight: bold;
  107. font-size: 28rpx;
  108. color: #222222;
  109. }
  110. .delivery-info .title-box .icon{
  111. width: 36rpx;
  112. height: 36rpx;
  113. margin-right: 20rpx;
  114. }
  115. .delivery-info .desc{
  116. font-size: 24rpx;
  117. color: #AAAAAA;
  118. margin-top: 14rpx;
  119. }
  120. .delivery-info .time{
  121. font-size: 24rpx;
  122. color: #AAAAAA;
  123. margin-top: 14rpx;
  124. }
  125. .shop-icon {
  126. width: 36rpx;
  127. height: 36rpx;
  128. margin-right: 10rpx;
  129. font-size: 0;
  130. }
  131. .shop-icon > image {
  132. width: 100%;
  133. height: 100%;
  134. }
  135. .shop-name {
  136. font-size: 32rpx;
  137. font-weight: 600;
  138. position: relative;
  139. padding-right: 20rpx;
  140. }
  141. /* .shop-name::after {
  142. position: absolute;
  143. right: 0;
  144. top: 16rpx;
  145. display: block;
  146. width: 10rpx;
  147. height: 10rpx;
  148. content: " ";
  149. font-size: 0;
  150. border-top: 4rpx solid #444;
  151. border-right: 4rpx solid #444;
  152. border-radius: 4rpx;
  153. transform: rotate(45deg);
  154. } */
  155. .prod-item .order-num {
  156. padding: 20rpx 0;
  157. font-size: 24rpx;
  158. display: flex;
  159. align-items: center;
  160. }
  161. .order-num > text {
  162. flex: 1;
  163. display: -webkit-box;
  164. -webkit-box-orient: vertical;
  165. -webkit-line-clamp: 1;
  166. overflow: hidden;
  167. text-overflow: ellipsis;
  168. }
  169. .order-state {
  170. color: #999999;
  171. display: flex;
  172. align-items: center;
  173. font-size: 24rpx;
  174. }
  175. .order-state .red {
  176. color: #e43130;
  177. }
  178. .prod-item .order-state .clear-btn {
  179. width: 28rpx;
  180. height: 28rpx;
  181. font-size: 0;
  182. margin-left: 42rpx;
  183. position: relative;
  184. }
  185. .prod-item .order-state .clear-btn::after {
  186. content: " ";
  187. display: block;
  188. position: absolute;
  189. left: -20rpx;
  190. top: 0rpx;
  191. width: 2rpx;
  192. height: 32rpx;
  193. background: #eee;
  194. }
  195. .prod-item .order-state .clear-btn .clear-list-btn {
  196. width: 100%;
  197. height: 100%;
  198. }
  199. .prod-item .item-cont {
  200. display: flex;
  201. align-items: center;
  202. padding: 20rpx;
  203. display: -webkit-flex;
  204. display: -webkit-box;
  205. display: -moz-box;
  206. display: -ms-flexbox;
  207. background: #f7f7f7;
  208. position: relative;
  209. border-radius: 16rpx 16rpx 16rpx 16rpx;
  210. }
  211. .prod-item .item-cont .categories {
  212. white-space: nowrap;
  213. }
  214. .prod-item .item-cont .prod-pic {
  215. position: relative;
  216. display: inline-block;
  217. font-size: 0;
  218. width: 160rpx;
  219. height: 160rpx;
  220. background: #fff;
  221. margin-right: 20rpx;
  222. }
  223. .prod-item .item-cont .prod-pic image {
  224. width: 100%;
  225. height: 100%;
  226. }
  227. .spell-group-order {
  228. position: absolute;
  229. display: block;
  230. top: 0;
  231. left: 0;
  232. width: 60rpx;
  233. height: 30rpx;
  234. }
  235. .prod-item .item-cont .prod-info {
  236. font-size: 24rpx;
  237. position: relative;
  238. height: 160rpx;
  239. -webkit-flex: 1;
  240. -ms-flex: 1;
  241. -webkit-box-flex: 1;
  242. -moz-box-flex: 1;
  243. flex: 1;
  244. }
  245. .prod-item .item-cont .prod-info .prodname {
  246. font-size: 28rpx;
  247. color: #222;
  248. line-height: 34rpx;
  249. max-height: 68rpx;
  250. display: -webkit-box;
  251. -webkit-box-orient: vertical;
  252. -webkit-line-clamp: 2;
  253. overflow: hidden;
  254. text-overflow: ellipsis;
  255. }
  256. .prod-item .item-cont .prod-info .sku-box {
  257. display: flex;
  258. align-items: center;
  259. margin-top: 10rpx;
  260. }
  261. .prod-item .item-cont .prod-info .sku-box .prod-info-cont {
  262. color: #999;
  263. font-size: 24rpx;
  264. flex: 1;
  265. display: -webkit-box;
  266. -webkit-box-orient: vertical;
  267. -webkit-line-clamp: 1;
  268. overflow: hidden;
  269. text-overflow: ellipsis;
  270. }
  271. /* 拼团icon */
  272. .spell-group-icon {
  273. margin-right: 10rpx;
  274. font-size: 20rpx;
  275. color: #fff;
  276. background: #e43130;
  277. padding: 0 6rpx;
  278. border-radius: 4rpx;
  279. display: flex;
  280. align-items: center;
  281. }
  282. /* 拼团icon */
  283. .prod-item .price-nums {
  284. position: absolute;
  285. bottom: 0;
  286. width: 100%;
  287. display: flex;
  288. align-items: center;
  289. line-height: 32rpx;
  290. }
  291. .prod-item .price-nums .prodprice {
  292. flex: 1;
  293. }
  294. .prod-item .symbol,
  295. .prod-item .small-num {
  296. font-size: 32rpx;
  297. color: #FF4D3A;
  298. font-weight: bold;
  299. }
  300. .prod-item .big-num {
  301. font-size: 32rpx;
  302. color: #FF4D3A;
  303. font-weight: bold;
  304. }
  305. .prod-item .price-nums .prodcount {
  306. color: #999;
  307. font-family: verdana;
  308. }
  309. .prod-item .total-num {
  310. display: flex;
  311. justify-content: space-between;
  312. align-items: center;
  313. padding: 20rpx 0;
  314. font-size: 24rpx;
  315. }
  316. .prod-item .total-num .prodprice {
  317. color: #333;
  318. display: flex;
  319. align-items: center;
  320. }
  321. .prod-item .total-num .prodcount {
  322. margin-right: 20rpx;
  323. color: #999;
  324. }
  325. .prod-item .prod-foot {
  326. padding: 20rpx 0;
  327. border-top: 2rpx solid #e6e6e6;
  328. }
  329. .prod-item .prod-foot .total {
  330. font-size: 24rpx;
  331. margin-bottom: 20rpx;
  332. padding-bottom: 20rpx;
  333. border-bottom: 2rpx solid #e9eaec;
  334. }
  335. .other-button-hover {
  336. background-color: blue;
  337. }
  338. .button-hover {
  339. background-color: #e43130;
  340. }
  341. /** 添加自定义button点击态样式类**/
  342. .button-hover {
  343. background-color: blue;
  344. }
  345. .btn {
  346. display: flex;
  347. justify-content: flex-end;
  348. align-items: center;
  349. }
  350. .button {
  351. display: inline-block;
  352. margin-left: 10px;
  353. font-size: 24rpx;
  354. background: #fff;
  355. padding: 10rpx 30rpx;
  356. border-radius: 80rpx;
  357. border: 2rpx solid #bbb;
  358. }
  359. .button.warn {
  360. color: #006CE8;
  361. border-color: #006CE8;
  362. }
  363. /* end 商品列表 */
  364. /* 根据状态显示不同的颜色 */
  365. .order-state .order-sts.red {
  366. color: #e43130;
  367. }
  368. .red .van-count-down{
  369. color: #e43130;
  370. font-size: 24rpx;
  371. height: 30rpx;
  372. }
  373. .order-state .order-sts {
  374. color: #777777;
  375. }
  376. /* 列表为空 */
  377. .empty {
  378. padding-top: 200rpx;
  379. text-align: cneter;
  380. }
  381. .empty-icon {
  382. display: block;
  383. width: 80rpx;
  384. height: 80rpx;
  385. margin: 0 auto;
  386. margin-bottom: 20rpx;
  387. }
  388. .empty-icon > image {
  389. display: block;
  390. width: 100%;
  391. height: 100%;
  392. }
  393. .empty-text {
  394. font-size: 28rpx;
  395. text-align: center;
  396. color: #999;
  397. line-height: 2em;
  398. }