星火官网,前端页面(前台)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

product.css 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. .pro_content{
  2. background-color: white;
  3. }
  4. .pro_header{
  5. width: 100%;
  6. height: 3.9rem;
  7. position: relative;
  8. }
  9. .pro_header img{
  10. width: 100%;
  11. height: 100%;
  12. }
  13. .suspension {
  14. position: absolute;
  15. left: 2rem;
  16. top: 1.3rem;
  17. color: white;
  18. }
  19. .suspension div {
  20. font-weight: bold;
  21. font-size: 0.4rem;
  22. margin-bottom: 0.4rem;
  23. }
  24. .suspension p {
  25. font-size: 0.16rem;
  26. }
  27. .piece {
  28. width: 100%;
  29. }
  30. .piece_color{
  31. background-color: #f5f6f9ff;
  32. }
  33. .piece_item{
  34. width: 13rem;
  35. margin:0 auto;
  36. padding: 1rem 0 0.4rem;
  37. }
  38. .area_title{
  39. color: #000000;
  40. letter-spacing: 0.01rem;
  41. font-size: 0.4rem;
  42. font-weight: bold;
  43. text-align: center;
  44. margin-bottom: 0.4rem;
  45. }
  46. .area_comm p{
  47. color: #000000;
  48. font-size: 0.16rem;
  49. text-align: center;
  50. letter-spacing: 0.02rem;
  51. line-height: 0.3rem;
  52. margin: 0;
  53. }
  54. .area_content{
  55. margin-top: 0.4rem;
  56. }
  57. .area_list{
  58. display: flex;
  59. justify-content: space-between;
  60. }
  61. .area_item{
  62. height: 3.3rem;
  63. border-radius: 0.1rem;
  64. background: #fefeffff;
  65. border: 1px solid #f1f4fc;
  66. padding: 0 0.2rem 0.1rem;
  67. box-sizing: border-box;
  68. background-color: #fefeff;
  69. text-align: center;
  70. }
  71. .area_item img{
  72. width: 0.56rem;
  73. height: 0.56rem;
  74. display: inline-block;
  75. margin: 0;
  76. }
  77. .area_item div{
  78. text-align: center;
  79. font-size: 0.24rem;
  80. font-weight: bold;
  81. letter-spacing: 0.02rem;
  82. color: #000000;
  83. line-height: 0.6rem;
  84. }
  85. .area_item p {
  86. color: #666666;
  87. text-align: left;
  88. line-height: 0.3rem;
  89. font-size: 0.16rem;
  90. letter-spacing: 0.02rem;
  91. }
  92. .three{
  93. width: calc(33% - 0.2rem);
  94. }
  95. .four {
  96. width: calc(25% - 0.2rem);
  97. }
  98. .school_flex{
  99. display: flex;
  100. margin-top: 1rem;
  101. justify-content: center;
  102. }
  103. .school_img{
  104. width: 4.7rem;
  105. height: 4.7rem;
  106. }
  107. .school{
  108. width: 4rem;
  109. text-align: right;
  110. position: relative;
  111. }
  112. .school_item{
  113. width: 2.4rem;
  114. height: 0.4rem;
  115. background-color: white;
  116. border-radius: 0.04rem;
  117. box-shadow: 0 0 0.12rem #0000001a;
  118. display: flex;
  119. align-items: center;
  120. flex-direction: row-reverse;
  121. position: absolute;
  122. right: 0.5rem;
  123. }
  124. .school_itemr {
  125. width: 2.4rem;
  126. height: 0.4rem;
  127. background-color: white;
  128. border-radius: 0.04rem;
  129. box-shadow: 0 0 0.12rem #0000001a;
  130. display: flex;
  131. align-items: center;
  132. position: absolute;
  133. left: 0.5rem;
  134. }
  135. .school span{
  136. color: #2d8cf0;
  137. font-size: 0.16rem;
  138. text-align: center;
  139. }
  140. .school img{
  141. width: 0.54rem;
  142. height: 0.54rem;
  143. margin-right: -0.1rem;
  144. margin-left: 0.2rem;
  145. }
  146. .area_item:hover{
  147. box-shadow: 0 0 0.12rem #0000001a;
  148. transform: translate(0, -4px);
  149. }
  150. .school_itemr img{
  151. margin-left: -0.1rem;
  152. margin-right: 0.2rem;
  153. }
  154. .s1{
  155. top: 0.8rem;
  156. }
  157. .s2{
  158. top:2.4rem;
  159. right: 1rem;
  160. }
  161. .s3 {
  162. top: 4rem;
  163. }
  164. .s4 {
  165. top: 0.8rem;
  166. }
  167. .s5 {
  168. top: 2.4rem;
  169. left: 1rem;
  170. }
  171. .s6 {
  172. top: 4rem;
  173. }
  174. .exam_lbt{
  175. margin-top: 0.4rem;
  176. }
  177. .exam_container{
  178. display: flex;
  179. }
  180. .exam_pagination{
  181. display: inline-block;
  182. width: 3rem;
  183. margin-right: 0.2rem;
  184. }
  185. .exam_item {
  186. height: 1rem;
  187. margin-bottom: 0.2rem;
  188. }
  189. .exam_item img{
  190. width: 100%;
  191. height: 1rem;
  192. }
  193. .exam_content {
  194. width: 100%;
  195. height: 6rem;
  196. position: relative;
  197. overflow: hidden;
  198. }
  199. .show_exam{
  200. width: 100%;
  201. height: 100%;
  202. position: absolute;
  203. top: 0;
  204. left: 0;
  205. }
  206. .exam_slide{
  207. width: 100%;
  208. height: 100%;
  209. }
  210. .exam_content img {
  211. width: 9.8rem;
  212. height: 100%;
  213. object-fit: cover;
  214. }
  215. .exam_slide{
  216. position: relative;
  217. }
  218. .exam_slide span{
  219. position: absolute;
  220. }