common.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. html,
  7. body {
  8. width: 100%;
  9. height: 100%;
  10. font-family: PingFang SC-Regular, PingFang SC, Microsoft YaHei;
  11. color: #333;
  12. font-size: 0.16rem;
  13. /* position: relative; */
  14. }
  15. a {
  16. text-decoration: none;
  17. -webkit-tap-highlight-color: transparent;
  18. -webkit-focus-ring-color: transparent
  19. }
  20. img {
  21. vertical-align: middle;
  22. display: block;
  23. outline: none;
  24. }
  25. ul li {
  26. list-style: none;
  27. }
  28. button {
  29. border: none;
  30. outline: none;
  31. margin: 0;
  32. padding: 0;
  33. background-color: transparent;
  34. -webkit-tap-highlight-color: transparent;
  35. -webkit-focus-ring-color: transparent
  36. }
  37. p {
  38. margin-block-start: 0;
  39. margin-block-end: 0;
  40. }
  41. .flexB {
  42. display: flex;
  43. align-items: center;
  44. justify-content: space-between;
  45. }
  46. .flexC {
  47. display: flex;
  48. align-items: center;
  49. justify-content: center;
  50. }
  51. .clearfix::after {
  52. content: '';
  53. display: block;
  54. height: 0;
  55. line-height: 0;
  56. visibility: hidden;
  57. clear: both;
  58. }
  59. .clearfix {
  60. *zoom: 1;
  61. }
  62. .fl {
  63. float: left;
  64. }
  65. .fr {
  66. float: right;
  67. }
  68. .textSpill {
  69. overflow: hidden;
  70. white-space: nowrap;
  71. text-overflow: ellipsis
  72. }
  73. .textSpill2 {
  74. overflow: hidden;
  75. text-overflow: ellipsis;
  76. display: -webkit-box;
  77. -webkit-line-clamp: 2;
  78. -webkit-box-orient: vertical;
  79. }
  80. .textSpill3 {
  81. overflow: hidden;
  82. text-overflow: ellipsis;
  83. display: -webkit-box;
  84. -webkit-line-clamp: 3;
  85. -webkit-box-orient: vertical;
  86. }
  87. header {
  88. width: 100%;
  89. height: 0.88rem;
  90. background: #fff;
  91. position: fixed;
  92. top: 0;
  93. left: 0;
  94. z-index: 1000;
  95. padding: 0 32px;
  96. }
  97. header .logo {
  98. width: 0.76rem;
  99. height: 0.76rem;
  100. }
  101. header .tabbar,
  102. header .tabbar_close {
  103. width: 0.48rem;
  104. height: 0.48rem;
  105. }
  106. footer {
  107. width: 100%;
  108. height: 5.34rem;
  109. background: url('https://cookhome-images-1.oss-cn-hangzhou.aliyuncs.com/guangwangindex/h5/footer.png') no-repeat center;
  110. background-size: cover;
  111. padding: 0.48rem 0.32rem 0.32rem;
  112. color: #fff;
  113. font-size: 0.24rem;
  114. }
  115. footer .top {
  116. margin-bottom: 0.48rem;
  117. }
  118. footer .top .decl {
  119. display: flex;
  120. justify-content: space-between;
  121. align-items: flex-end;
  122. padding-right: 0.18rem;
  123. }
  124. footer .top .decl .wexin img {
  125. width: 1.44rem;
  126. height: 1.18rem;
  127. margin-bottom: 0.54rem;
  128. }
  129. footer .top .decl .wexin .phone {
  130. font-size: 0.24rem;
  131. color: #CCCCCC;
  132. margin-top: 0.1rem;
  133. }
  134. footer .top .decl .wexin .phone span {
  135. font-size: 0.32rem;
  136. }
  137. footer .address {
  138. font-size: 0.24rem;
  139. margin-top: 0.3rem;
  140. }
  141. footer .top .erweima {
  142. font-size: 0.22rem;
  143. }
  144. footer .top .erweima img {
  145. width: 1.8rem;
  146. height: 1.8rem;
  147. margin: 0 auto 0.2rem;
  148. }
  149. footer .bom {
  150. text-align: center;
  151. border-top: 1px solid #909297;
  152. padding-top: 0.22rem;
  153. }
  154. footer .bom p {
  155. margin-bottom: 0.1rem;
  156. }
  157. .tabbar_model {
  158. width: 100%;
  159. height: 100%;
  160. background-color: #fff;
  161. position: fixed;
  162. top: -100rem;
  163. left: 0;
  164. z-index: 2000;
  165. display: none;
  166. }
  167. .tabbar_model ul {
  168. margin-top: 0.84rem;
  169. padding: 0 0.32rem;
  170. }
  171. .tabbar_model ul li {
  172. font-size: 0.28rem;
  173. color: #333333;
  174. font-family: PingFang SC-Regular, PingFang SC;
  175. border-bottom: 1px solid #E0E1E5;
  176. padding: 0.8rem 0 0.34rem;
  177. cursor: pointer;
  178. -webkit-tap-highlight-color: transparent;
  179. -webkit-focus-ring-color: transparent
  180. }
  181. .tabbar_model ul li:first-child {
  182. padding: 0.7rem 0 0.34rem;
  183. }