order.wxss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. page {
  2. height: 100%;
  3. width: 100%;
  4. background: #f4f4f4;
  5. }
  6. .orders-switch {
  7. width: 100%;
  8. background: #fff;
  9. height: 84rpx;
  10. /* border-bottom: 1px solid rgba(0,0,0,.15); */
  11. }
  12. .orders-switch .item {
  13. display: inline-block;
  14. height: 82rpx;
  15. width: 18%;
  16. padding: 0 15rpx;
  17. text-align: center;
  18. }
  19. .orders-switch .item .txt {
  20. display: inline-block;
  21. height: 82rpx;
  22. padding: 0 20rpx;
  23. line-height: 82rpx;
  24. color: #9a9ba1;
  25. font-size: 30rpx;
  26. width: 170rpx;
  27. }
  28. .orders-switch .item.active .txt {
  29. color: #ab956d;
  30. border-bottom: 4rpx solid #ab956d;
  31. }
  32. .no-order {
  33. width: 100%;
  34. height: auto;
  35. margin: 0 auto;
  36. }
  37. .no-order .c {
  38. width: 100%;
  39. height: auto;
  40. margin-top: 400rpx;
  41. }
  42. .no-order .c text {
  43. margin: 0 auto;
  44. display: block;
  45. width: 258rpx;
  46. height: 29rpx;
  47. line-height: 29rpx;
  48. text-align: center;
  49. font-size: 29rpx;
  50. color: #999;
  51. }
  52. .orders {
  53. height: auto;
  54. width: 100%;
  55. overflow: hidden;
  56. }
  57. .order {
  58. margin-top: 20rpx;
  59. background: #fff;
  60. }
  61. .order .h {
  62. height: 83.3rpx;
  63. line-height: 83.3rpx;
  64. margin-left: 31.25rpx;
  65. padding-right: 31.25rpx;
  66. border-bottom: 1px solid #f4f4f4;
  67. font-size: 30rpx;
  68. color: #333;
  69. }
  70. .order .h .l {
  71. float: left;
  72. }
  73. .order .h .r {
  74. float: right;
  75. color: #b4282d;
  76. font-size: 24rpx;
  77. }
  78. .order .goods {
  79. display: flex;
  80. align-items: center;
  81. height: 199rpx;
  82. margin-left: 31.25rpx;
  83. }
  84. .order .goods .img {
  85. height: 145.83rpx;
  86. width: 145.83rpx;
  87. background: #f4f4f4;
  88. }
  89. .order .goods .img image {
  90. height: 145.83rpx;
  91. width: 145.83rpx;
  92. }
  93. .order .goods .info {
  94. height: 145.83rpx;
  95. flex: 1;
  96. padding-left: 20rpx;
  97. }
  98. .order .goods .name {
  99. margin-top: 30rpx;
  100. display: block;
  101. height: 44rpx;
  102. line-height: 44rpx;
  103. color: #333;
  104. font-size: 30rpx;
  105. }
  106. .order .goods .number {
  107. display: block;
  108. height: 37rpx;
  109. line-height: 37rpx;
  110. color: #666;
  111. font-size: 25rpx;
  112. }
  113. .order .goods .status {
  114. width: 105rpx;
  115. color: #b4282d;
  116. font-size: 25rpx;
  117. }
  118. .order .b {
  119. height: 103rpx;
  120. line-height: 103rpx;
  121. margin-left: 31.25rpx;
  122. padding-right: 31.25rpx;
  123. border-top: 1px solid #f4f4f4;
  124. font-size: 30rpx;
  125. color: #333;
  126. }
  127. .order .b .l {
  128. float: left;
  129. }
  130. .order .b .r {
  131. float: right;
  132. }
  133. .order .b .btn {
  134. margin-top: 19rpx;
  135. height: 64.5rpx;
  136. line-height: 64.5rpx;
  137. text-align: center;
  138. padding: 0 20rpx;
  139. border-radius: 5rpx;
  140. font-size: 28rpx;
  141. color: #fff;
  142. background: #b4282d;
  143. }