index.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. .container{
  2. width: 100%;
  3. background-color: #F2f2f2;
  4. }
  5. .status-box{
  6. width:100%;
  7. height: 88rpx;
  8. line-height: 88rpx;
  9. display: flex;
  10. justify-content: space-between;
  11. align-items: center;
  12. background-color: #fff;
  13. }
  14. .status-box .status-label{
  15. width: 150rpx;
  16. height: 100%;
  17. text-align: center;
  18. font-size:28rpx;
  19. color:#353535;
  20. box-sizing: border-box;
  21. position: relative;
  22. }
  23. .status-box .status-label.active{
  24. color:#e64340;
  25. border-bottom: 6rpx solid #e64340;
  26. }
  27. .status-box .status-label .red-dot{
  28. width: 16rpx;
  29. height: 16rpx;
  30. position: absolute;
  31. left: 116rpx;
  32. top:23rpx;
  33. background-color: #f43530;
  34. border-radius: 50%;
  35. }
  36. .no-order{
  37. width: 100%;
  38. position: absolute;
  39. bottom: 0;
  40. top: 88rpx;
  41. left: 0;
  42. right: 0;
  43. text-align: center;
  44. padding-top: 203rpx;
  45. background-color: #F2f2f2;
  46. }
  47. .no-order-img{
  48. width: 81rpx;
  49. height: 96rpx;
  50. margin-bottom: 31rpx;
  51. }
  52. .no-order .text{
  53. font-size:28rpx;
  54. color:#999999;
  55. text-align: center
  56. }
  57. .order-list{
  58. width: 100%;
  59. }
  60. .order-list .a-order{
  61. width: 100%;
  62. background-color: #fff;
  63. margin-top: 20rpx;
  64. }
  65. .order-list .a-order .order-date{
  66. padding: 0 30rpx;
  67. height: 88rpx;
  68. display: flex;
  69. justify-content: space-between;
  70. font-size:26rpx;
  71. color:#000000;
  72. align-items: center;
  73. }
  74. .order-list .a-order .order-date .red{
  75. font-size:26rpx;
  76. color:#e64340;
  77. }
  78. .a-order .goods-info,
  79. .goods-img-container{
  80. width: 720rpx;
  81. margin-left: 30rpx;
  82. border-top: 1rpx solid #eee;
  83. border-bottom: 1rpx solid #eee;
  84. padding: 30rpx 0;
  85. display: flex;
  86. align-items: center;
  87. }
  88. .goods-info .img-box{
  89. width: 120rpx;
  90. height: 120rpx;
  91. overflow: hidden;
  92. margin-right: 30rpx;
  93. background-color: #f7f7f7;
  94. }
  95. .goods-info .img-box .goods-img,
  96. .goods-img-container .img-box .goods-img{
  97. width: 120rpx;
  98. height: 120rpx;
  99. }
  100. .goods-info .goods-des{
  101. width: 540rpx;
  102. height: 118rpx;
  103. line-height: 39rpx;
  104. font-size:26rpx;
  105. color:#000000;
  106. overflow: hidden;
  107. }
  108. .goods-img-container{
  109. height: 180rpx;
  110. box-sizing: border-box;
  111. white-space: nowrap;
  112. }
  113. .goods-img-container .img-box{
  114. width: 120rpx;
  115. height: 120rpx;
  116. overflow: hidden;
  117. margin-right: 20rpx;
  118. background-color: #f7f7f7;
  119. display: inline-block;
  120. }
  121. .order-list .a-order .price-box{
  122. position: relative;
  123. width: 720rpx;
  124. height: 100rpx;
  125. margin-left: 30rpx;
  126. box-sizing: border-box;
  127. padding: 20rpx 30rpx 20rpx 0;
  128. display: flex;
  129. align-items: center;
  130. justify-content: space-between;
  131. font-size:26rpx;
  132. }
  133. .order-list .a-order .price-box .total-price{
  134. font-size:26rpx;
  135. color:#e64340;
  136. }
  137. .a-order .price-box .btn{
  138. width: 166rpx;
  139. height: 60rpx;
  140. box-sizing: border-box;
  141. text-align: center;
  142. line-height: 60rpx;
  143. border-radius: 6rpx;
  144. margin-left: 20rpx;
  145. }
  146. .a-order .price-box .cancel-btn{
  147. border: 1rpx solid #ccc;
  148. position: absolute;
  149. right: 216rpx;
  150. top:20rpx;
  151. }
  152. .a-order .price-box .topay-btn{
  153. border:1px solid #e64340;
  154. color: #e64340;
  155. }