Bez popisu

index.css 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. * {
  2. box-sizing: border-box;
  3. font-size: .1rem;
  4. }
  5. html,body {
  6. min-height: 100vh;
  7. }
  8. body {
  9. background: #FF7368;
  10. }
  11. .banner {
  12. height: 1.52rem;
  13. margin-bottom: .12rem;
  14. background-image: url("./img/banner.png");
  15. background-size: 100% 100%;
  16. }
  17. .loading {
  18. position: fixed;
  19. top: 0;
  20. left: 0;
  21. display: none;
  22. width: 100%;
  23. height: 100vh;
  24. z-index: 99;
  25. }
  26. .loading img {
  27. position: absolute;
  28. top: 0;
  29. bottom: 0;
  30. left: 0;
  31. right: 0;
  32. margin: auto;
  33. width: 0.3rem;
  34. height: 0.3rem;
  35. }
  36. .list {
  37. width: 100%;
  38. padding: 0 .08rem;
  39. padding-bottom: .1rem;
  40. }
  41. li {
  42. background: #fff;
  43. margin: auto;
  44. width: 3.59rem;
  45. height: 1.3rem;
  46. padding: .1rem .08rem;
  47. padding-left: 0;
  48. box-sizing: border-box;
  49. margin-top: .1rem;
  50. border-radius: .05rem;
  51. display: flex;
  52. align-items: center;
  53. }
  54. li:first-child {
  55. margin-top: 0;
  56. }
  57. .picture {
  58. padding-left: .08rem;
  59. display: block;
  60. width: 1.1rem;
  61. height: 1.1rem;
  62. margin-right: .05rem;
  63. border-radius: .02rem;
  64. }
  65. .info {
  66. width: 2.35rem;
  67. }
  68. .title {
  69. height: .44rem;
  70. font-size: 0.16rem;
  71. line-height: 0.22rem;
  72. word-break: break-all;
  73. text-overflow: ellipsis;
  74. display: -webkit-box;
  75. -webkit-box-orient: vertical;
  76. -webkit-line-clamp: 2;
  77. overflow: hidden;
  78. font-weight: bold;
  79. color: #000000;
  80. }
  81. .price {
  82. font-size: .14rem;
  83. color: #FA2D36;
  84. }
  85. .volume {
  86. margin-left: .08rem;
  87. font-size: .1rem;
  88. color: #BBB9BB;
  89. vertical-align: bottom;
  90. }
  91. .number {
  92. margin-top: .14rem;
  93. margin-bottom: .16rem;
  94. line-height: .2rem;
  95. }
  96. .cheap {
  97. display: flex;
  98. }
  99. .cheap div {
  100. display: inline-block;
  101. }
  102. .left {
  103. display: inline-block;
  104. font-size: 0;
  105. background: #FFF4DF;
  106. }
  107. .icon {
  108. display: inline-block;
  109. width: .13rem;
  110. height: .16rem;
  111. vertical-align: bottom;
  112. }
  113. .envelopes {
  114. padding-left: .03rem;
  115. padding-right: .08rem;
  116. height: .16rem;
  117. line-height: .16rem;
  118. background: #FFF4DF;
  119. font-size: .1rem;
  120. color: #99520F;
  121. border-radius: .03rem;
  122. }
  123. .quan {
  124. width: .6rem;
  125. height: .16rem;
  126. line-height: .16rem;
  127. color: #FA2D36;
  128. background-image: url("./img/Group@2x.png");
  129. background-size: 100% 100%;
  130. margin-left: .09rem;
  131. }
  132. em {
  133. display: inline-block;
  134. width: 0.2rem;
  135. height: 0.15rem;
  136. text-align: center;
  137. }
  138. .quan span {
  139. display: inline-block;
  140. width: 0.4rem;
  141. height: 0.15rem;
  142. text-align: center;
  143. }
  144. .rebate {
  145. width: .73rem;
  146. height: .16rem;
  147. text-align: center;
  148. font-size: .1rem;
  149. line-height: .16rem;
  150. color: #fff;
  151. background: #FA2D36;
  152. border-radius: .03rem;
  153. margin-left: .09rem;
  154. }