您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

index.less 7.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. //pc端样式
  2. .main {
  3. width: 100%;
  4. max-width: 1920px;
  5. margin: 0 auto;
  6. padding-top: 71px;
  7. &>.title{
  8. font-size: 60px;
  9. text-align: center;
  10. padding-top: 110px;
  11. }
  12. }
  13. .list{
  14. width: 100%;
  15. text-align: center;
  16. padding-top: 43px;
  17. max-width: 1300px;
  18. margin: 0 auto;
  19. .newsType{
  20. width: 100%;
  21. padding-bottom: 83px;
  22. .newsLi{
  23. width: 100%;
  24. display: flex;
  25. justify-content: space-between;
  26. padding-bottom: 37px;
  27. border-bottom: 1px dotted #acacac5e;
  28. padding-top: 37px;
  29. transition: all 0.3s ease-in-out;
  30. &:last-child{
  31. border-bottom: 0px dotted #ACACAC;
  32. }
  33. .timer{
  34. width: 65px;
  35. height: 66px;
  36. border-radius: 8px;
  37. border: 1px solid #A7A5A5;
  38. text-align: center;
  39. font-size: 12px;
  40. padding: 0px 12px 0;
  41. box-sizing: border-box;
  42. .timerData{
  43. font-size: 26px;
  44. color: #b81c25;
  45. border-bottom: 1px solid #b81c25;
  46. padding-bottom: 3px;
  47. margin-bottom: 3px;
  48. line-height: 30px;
  49. padding-top: 4px;
  50. }
  51. }
  52. .newsLiCon{
  53. width: calc(100% - 80px);
  54. font-size: 18px;
  55. text-align: left;
  56. &>div{
  57. overflow: hidden;
  58. white-space: nowrap;
  59. width: 100%;
  60. height: 24px;
  61. text-overflow: ellipsis;
  62. }
  63. .liTitle{
  64. color: #231F20;
  65. font-weight: 500;
  66. margin-bottom: 8px;
  67. padding-top: 6px;
  68. transition: all 0.3s ease-in-out;
  69. }
  70. .licon{
  71. font-weight: 400;
  72. color: #999999;
  73. font-size: 16px;
  74. }
  75. }
  76. &:hover{
  77. background: #EFEFEF;
  78. .newsLiCon{
  79. .liTitle{
  80. color: #B81C25;
  81. }
  82. }
  83. }
  84. }
  85. }
  86. }
  87. .pages {
  88. margin: 0px 0 120px;
  89. display: table;
  90. margin-left: auto;
  91. margin-right: auto;
  92. color: #fff;
  93. .item {
  94. width: 40px;
  95. height: 40px;
  96. line-height: 40px;
  97. float: left;
  98. text-align: center;
  99. box-sizing: border-box;
  100. color: #000;
  101. border: 1px solid #DDE2E6;
  102. border-radius: 2px;
  103. transition: all 0.3s ease-in-out;
  104. }
  105. .prev {
  106. margin-right: 15px;
  107. border: 1px solid #000000;
  108. border-radius: 4px;
  109. transform: rotate(-90deg);
  110. font-size: 20px;
  111. }
  112. .next {
  113. margin-left: 15px;
  114. border-radius: 4px;
  115. border: 1px solid #000000;
  116. transform: rotate(90deg);
  117. font-size: 20px;
  118. }
  119. .prev:hover,
  120. .next:hover {
  121. border-color: #B81C25;
  122. background-color: #B81C25;
  123. color: #fff;
  124. }
  125. .disableBtn {
  126. opacity: 0.5;
  127. cursor: default;
  128. }
  129. .disableBtn:hover {
  130. border-color: #000000;
  131. background-color: transparent;
  132. color: #000;
  133. }
  134. .first {
  135. float: left;
  136. }
  137. .space {
  138. color: #999999;
  139. float: left;
  140. letter-spacing: 1px;
  141. line-height: 30px;
  142. margin-left: 5px;
  143. margin-right: 5px;
  144. }
  145. .last{
  146. margin-left: 5px;
  147. }
  148. .pageList {
  149. float: left;
  150. }
  151. .pageItem {
  152. float: left;
  153. margin-left: 5px;
  154. margin-right: 5px;
  155. }
  156. .curPageItem,
  157. .pageItem:hover,
  158. .first:hover,
  159. .last:hover {
  160. color: #fff;
  161. background-color: #B81C25;
  162. float: left;
  163. }
  164. .curPageItem {
  165. cursor: default;
  166. }
  167. }
  168. .partContent h2 {
  169. color: white;
  170. border-bottom: 1px solid #fff;
  171. font-size: 60px;
  172. }
  173. .news_paging{
  174. width: 100%;
  175. display: flex;
  176. align-items: center;
  177. justify-content: center;
  178. padding: 0px 0 120px;
  179. box-sizing: border-box;
  180. .previousPage{
  181. width: 40px;
  182. height: 40px;
  183. color: #041954;
  184. display: flex;
  185. align-items: center;
  186. justify-content: center;
  187. border: 1px solid #041954;
  188. margin-right: 20px;
  189. cursor: pointer;
  190. transition: all 0.2s;
  191. span{
  192. font-size: 26px;
  193. transform: rotate(-90deg);
  194. }
  195. &:hover{
  196. background: #B81C25;
  197. border: 1px solid #B81C25;
  198. color: #fff;
  199. }
  200. }
  201. .nextPage{
  202. width: 40px;
  203. height: 40px;
  204. color: #041954;
  205. display: flex;
  206. align-items: center;
  207. justify-content: center;
  208. border: 1px solid #041954;
  209. margin-left: 20px;
  210. cursor: pointer;
  211. transition: all 0.2s;
  212. span{
  213. font-size: 26px;
  214. transform: rotate(90deg);
  215. }
  216. &:hover{
  217. background: #B81C25;
  218. border: 1px solid #B81C25;
  219. color: #fff;
  220. }
  221. }
  222. .pageNum{
  223. min-width: 40px;
  224. height: 40px;
  225. line-height: 40px;
  226. font-size: 18px;
  227. color: #000;
  228. transition: all 0.2s;
  229. padding: 0 5px;
  230. box-sizing: border-box;
  231. cursor: pointer;
  232. text-align: center;
  233. border: 1px solid #DDE2E6;
  234. border-radius: 2px;
  235. &:hover{
  236. background: #B81C25;
  237. border: 1px solid #B81C25;
  238. color: #fff;
  239. }
  240. }
  241. .pageNumActive{
  242. color: #fff;
  243. background: #B81C25;
  244. }
  245. .pageNums{
  246. pointer-events: none;
  247. }
  248. .pageNum+.pageNum{
  249. margin-left: 10px;
  250. }
  251. .ellipsis{
  252. font-weight: bold;
  253. font-size: 22px;
  254. padding: 10px 15px;
  255. color: #333333;
  256. // cursor: pointer;
  257. transition: all 0.2s;
  258. // &:hover{
  259. // color:#48A038
  260. // }
  261. }
  262. }
  263. @media screen and (min-width: 801px) and (max-width: 1400px) {
  264. }
  265. @media screen and (min-width:800px){
  266. }
  267. .mTxt{
  268. display: none;
  269. }
  270. //移动端样式
  271. @media screen and (max-width:800px) {
  272. .pcTxt{
  273. display: none;
  274. }
  275. .mTxt{
  276. display: block;
  277. }
  278. .main{
  279. padding-top: 61px;
  280. &>.title{
  281. padding-top: 40px;
  282. box-sizing: border-box;
  283. font-size: 32px;
  284. line-height: normal;
  285. }
  286. .news_paging{
  287. // padding-top: 16vw;
  288. padding-bottom: 60px;
  289. .previousPage{
  290. width: 40px;
  291. height: 40px;
  292. margin-right: 20px;
  293. box-sizing: border-box;
  294. }
  295. .nextPage{
  296. width: 40px;
  297. height: 40px;
  298. margin-left: 3.25vw;
  299. transition: all 0.2s;
  300. box-sizing: border-box;
  301. }
  302. .pageNum{
  303. font-size: 3.5vw;
  304. }
  305. .ellipsis{
  306. font-size: 3.5vw;
  307. padding: 1.875vw 2.5vw;
  308. // &:hover{
  309. // color:#48A038
  310. // }
  311. }
  312. }
  313. }
  314. .list {
  315. width: 100%;
  316. box-sizing: border-box;
  317. padding: 0px 15px;
  318. .newsType {
  319. padding-top: 20px;
  320. padding-bottom: 20px;
  321. .newsLi{
  322. padding-bottom: 20px;
  323. padding-top: 20px;
  324. .newsLiCon{
  325. font-size: 14px;
  326. .licon{
  327. font-size: 12px;
  328. }
  329. }
  330. }
  331. }
  332. }
  333. .pages{
  334. display: none;
  335. }
  336. .pageNext{
  337. color: #B81C25;
  338. width: 120px;
  339. margin: 0px auto;
  340. text-align: center;
  341. font-size: 12px;
  342. margin-bottom: 60px;
  343. .iconfont{
  344. transform: rotate(180deg);
  345. display: inline-block;
  346. font-size: 16px;
  347. position: relative;
  348. top: 2px;
  349. }
  350. }
  351. }