index.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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: 159rpx;
  82. margin-left: 31.25rpx;
  83. }
  84. .order .goods .info {
  85. height: 105.83rpx;
  86. flex: 1;
  87. padding-left: 20rpx;
  88. }
  89. .order .goods .name {
  90. display: block;
  91. height: 44rpx;
  92. line-height: 44rpx;
  93. color: #333;
  94. font-size: 30rpx;
  95. }
  96. .order .goods .number {
  97. display: block;
  98. height: 37rpx;
  99. line-height: 37rpx;
  100. color: #666;
  101. font-size: 25rpx;
  102. }
  103. .order .goods .status {
  104. width: 105rpx;
  105. color: #b4282d;
  106. font-size: 25rpx;
  107. }
  108. .b {
  109. height: 103rpx;
  110. line-height: 53rpx;
  111. padding-left: 31.25rpx;
  112. padding-top: 20rpx;
  113. padding-right: 31.25rpx;
  114. border-top: 1px solid #f4f4f4;
  115. font-size: 30rpx;
  116. background: #fff;
  117. }
  118. .b .l {
  119. float: left;
  120. }
  121. .b .r {
  122. float: right;
  123. color: red;
  124. }
  125. .btn {
  126. height: 64.5rpx;
  127. line-height: 64.5rpx;
  128. text-align: center;
  129. padding: 0 20rpx;
  130. border-radius: 5rpx;
  131. font-size: 28rpx;
  132. color: #fff;
  133. background: #b4282d;
  134. }