星火官网,前端页面(前台)
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. .news_banner {
  2. width: 100%;
  3. height: 3.9rem;
  4. position: relative;
  5. padding-top: 0.8rem;
  6. }
  7. .news_banner img {
  8. width: 100%;
  9. height: 100%;
  10. /* object-fit: cover; */
  11. }
  12. .news_header_info {
  13. position: absolute;
  14. top: 0.8rem;
  15. left: 0;
  16. right: 0;
  17. bottom: 0;
  18. margin: auto;
  19. width: 13rem;
  20. height: 0.84rem;
  21. color: #333;
  22. }
  23. .news_header_title {
  24. font-size: 0.36rem;
  25. font-weight: 700;
  26. }
  27. .news_header_stitle {
  28. padding-top: 0.3rem;
  29. font-size: 0.16rem;
  30. }
  31. .news_info {
  32. padding-top: 0.93rem;
  33. padding-bottom: 0.5rem;
  34. background-color: #fff;
  35. }
  36. .news_main {
  37. position: relative;
  38. margin: 0 auto;
  39. width: 13rem;
  40. }
  41. .news_search {
  42. font-size: 0.14rem;
  43. text-align: right;
  44. }
  45. .header_content_right {
  46. position: relative;
  47. display: inline-block;
  48. width: 2.5rem;
  49. height: 0.3rem;
  50. border: 0.01rem solid #dcdee2;
  51. background-color: #fff;
  52. border-radius: 0.04rem;
  53. overflow: hidden;
  54. }
  55. #search_help {
  56. position: absolute;
  57. top: 0;
  58. bottom: 0;
  59. left: 0;
  60. right: 0.4rem;
  61. line-height: 0.3rem;
  62. padding: 0 0.08rem;
  63. font-size: 0.14rem;
  64. border: none;
  65. color: #333;
  66. background-color: #fff;
  67. background-image: none;
  68. cursor: text;
  69. }
  70. #search_help::-webkit-input-placeholder,
  71. #search_help:-moz-placeholder,
  72. #search_help::-moz-placeholder,
  73. #search_help:-ms-input-placeholder {
  74. color: #c1c6cf;
  75. font-size: 0.14rem;
  76. }
  77. #search_help:focus {
  78. outline: none;
  79. }
  80. .search_box {
  81. position: absolute;
  82. top: 0;
  83. bottom: 0;
  84. right: 0;
  85. padding: 0.05rem 0.1rem;
  86. cursor: pointer;
  87. }
  88. .search_img {
  89. width: 0.14rem;
  90. height: 0.14rem;
  91. }
  92. .news_list {
  93. margin: 0 auto;
  94. font-size: 0.16rem;
  95. background-color: #fff;
  96. }
  97. .news_list_box {
  98. margin: 0 auto;
  99. width: 13rem;
  100. min-height: 3rem;
  101. }
  102. .news_list_item {
  103. margin-right: 0.27rem;
  104. margin-bottom: 0.3rem;
  105. display: inline-block;
  106. width: 4.1rem;
  107. background-color: #f8f8f8;
  108. box-shadow: 0 0 0.12rem 0 #0000001a;
  109. cursor: pointer;
  110. overflow: hidden;
  111. }
  112. .news_list_item:nth-child(3n) {
  113. margin-right: 0;
  114. }
  115. .news_list_item .news_item_img {
  116. width: 100%;
  117. height: 2.7rem;
  118. object-fit: cover;
  119. transition: all .3s ease-out;
  120. -webkit-transition: all .3s ease-out;
  121. }
  122. .news_list_item:hover .news_item_img {
  123. margin-left: -5%;
  124. width: 110%;
  125. height: 2.7rem;
  126. object-fit: cover;
  127. transition: all .3s ease-out;
  128. -webkit-transition: all .3s ease-out;
  129. }
  130. .news_list_item .news_item_title {
  131. margin: 0.1rem 0.16rem;
  132. height: 0.52rem;
  133. font-size: 0.18rem;
  134. font-weight: 700;
  135. line-height: 0.26rem;
  136. color: #333;
  137. text-overflow: -o-ellipsis-lastline;
  138. overflow: hidden;
  139. text-overflow: ellipsis;
  140. display: -webkit-box;
  141. -webkit-line-clamp: 2;
  142. -webkit-box-orient: vertical;
  143. }
  144. .news_list_item .news_item_stitle {
  145. margin: 0.1rem 0.16rem;
  146. font-size: 0.16rem;
  147. line-height: 0.32rem;
  148. color: #666;
  149. }
  150. .news_page_box {
  151. display: flex;
  152. justify-content: center;
  153. align-items: center;
  154. padding: 0.2rem 0 0.5rem;
  155. font-size: 0.16rem;
  156. color: #333;
  157. background-color: #fff;
  158. }
  159. .news_page_box .news_page_prev {
  160. margin-left: 0.1rem;
  161. margin-right: 0.1rem;
  162. width: 0.4rem;
  163. height: 0.4rem;
  164. line-height: 0.4rem;
  165. text-align: center;
  166. transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
  167. -webkit-transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
  168. transform: rotateY(0.5turn);
  169. background: #ffffff;
  170. border: 1px solid #dddddd;
  171. cursor: pointer;
  172. }
  173. .news_page_box .news_page_prev.disabled {
  174. cursor: not-allowed;
  175. }
  176. .news_page_box .news_page_num {
  177. margin-left: 0.1rem;
  178. margin-right: 0.1rem;
  179. width: 0.4rem;
  180. height: 0.4rem;
  181. color: #333;
  182. line-height: 0.4rem;
  183. text-align: center;
  184. transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
  185. -webkit-transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
  186. background: #ffffff;
  187. border: 1px solid #dddddd;
  188. cursor: pointer;
  189. }
  190. .news_page_box .news_page_next {
  191. margin-left: 0.1rem;
  192. margin-right: 0.1rem;
  193. width: 0.4rem;
  194. height: 0.4rem;
  195. line-height: 0.4rem;
  196. text-align: center;
  197. transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
  198. -webkit-transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
  199. background: #ffffff;
  200. border: 1px solid #dddddd;
  201. cursor: pointer;
  202. }
  203. .news_page_box .news_page_next.disabled {
  204. cursor: not-allowed;
  205. }
  206. .news_page_box .news_page_prev img,
  207. .news_page_box .news_page_next img {
  208. display: inline-block;
  209. width: 0.2rem;
  210. vertical-align: middle;
  211. }
  212. .news_page_box > div:hover,
  213. .news_page_box .news_page_num.selected {
  214. background-color: #1D70F2;
  215. border: 1px solid #1D70F2;
  216. color: #fff;
  217. }
  218. .news_detail_box {
  219. padding: 0.73rem 0 0.84rem;
  220. background-color: #fff;
  221. }
  222. .news_detail_main {
  223. position: relative;
  224. margin: 0 auto;
  225. width: 13rem;
  226. }
  227. .news_detail_header {
  228. font-size: 0.16rem;
  229. border-bottom: 0.01rem dashed #ccc;
  230. text-align: center;
  231. }
  232. .news_detail_header .detail_title {
  233. font-size: 0.28rem;
  234. line-height: 0.5rem;
  235. color: #333;
  236. font-weight: 700;
  237. }
  238. .news_detail_header .detail_stitle {
  239. padding: 0.17rem 0 0.28rem;
  240. font-size: 0.16rem;
  241. color: #666;
  242. }
  243. .news_detail_content {
  244. padding-top: 0.2rem;
  245. font-size: 0.16rem;
  246. line-height: 0.48rem;
  247. color: #666;
  248. }