index.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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. display: flex;
  115. /* width: 105rpx; */
  116. color: #b4282d;
  117. font-size: 25rpx;
  118. margin-left: 50rpx;
  119. }
  120. .order .goods .status .btn{
  121. margin-left: 10rpx;
  122. margin-right: 10rpx;
  123. color: blue;
  124. }
  125. .order .b {
  126. height: 103rpx;
  127. line-height: 103rpx;
  128. margin-left: 31.25rpx;
  129. padding-right: 31.25rpx;
  130. border-top: 1px solid #f4f4f4;
  131. font-size: 30rpx;
  132. color: #333;
  133. }
  134. .order .b .l {
  135. float: left;
  136. }
  137. .order .b .r {
  138. float: right;
  139. color: red;
  140. }
  141. .order .b .btn {
  142. margin-top: 19rpx;
  143. height: 64.5rpx;
  144. line-height: 64.5rpx;
  145. text-align: center;
  146. padding: 0 20rpx;
  147. border-radius: 5rpx;
  148. font-size: 28rpx;
  149. color: #fff;
  150. background: #b4282d;
  151. }