search.less 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. //导航条
  2. .breadcrumb {
  3. width: 1200px;
  4. margin: 0 auto;
  5. height: 52px;
  6. margin-bottom: 30px;
  7. font-family: Microsoft YaHei, Microsoft YaHei;
  8. font-weight: 400;
  9. font-size: 20px;
  10. color: #666666;
  11. line-height: 23px;
  12. text-align: left;
  13. font-style: normal;
  14. text-transform: none;
  15. border-bottom: 1px solid #D9D9D9;
  16. :deep(.el-breadcrumb) {
  17. display: inline-block;
  18. vertical-align: -4px;
  19. }
  20. :deep(.el-breadcrumb__inner a),
  21. :deep(.el-breadcrumb__inner.is-link) {
  22. color: #666666;
  23. font-weight: 400;
  24. text-decoration: none;
  25. transition: var(--el-transition-color);
  26. }
  27. span {
  28. font-family: Microsoft YaHei, Microsoft YaHei;
  29. font-weight: 400;
  30. font-size: 20px;
  31. color: #666666;
  32. line-height: 23px;
  33. text-align: left;
  34. font-style: normal;
  35. text-transform: none;
  36. }
  37. span:hover {
  38. color: #666666;
  39. }
  40. .location {
  41. margin-right: 20px;
  42. width: 100px;
  43. height: 22px;
  44. font-family: Microsoft YaHei, Microsoft YaHei;
  45. font-weight: 400;
  46. font-size: 20px;
  47. color: #666666;
  48. line-height: 23px;
  49. text-align: left;
  50. font-style: normal;
  51. text-transform: none;
  52. }
  53. }
  54. .empty {
  55. div {
  56. display: flex;
  57. justify-content: center;
  58. align-items: center;
  59. padding-top: 200px;
  60. }
  61. width: 100%;
  62. height: 600px;
  63. font-size: 26px;
  64. color: #CCCCCC;
  65. img {
  66. display: inline-block;
  67. }
  68. }
  69. //资讯推荐
  70. .searchBox {
  71. text-align: center;
  72. padding-bottom: 40px;
  73. }
  74. .search {
  75. width: 100%;
  76. height: 100px;
  77. // background-color: #f5f5f5;
  78. .inner {
  79. width: 1200px;
  80. padding-top: 10px;
  81. display: flex;
  82. justify-content: center;
  83. align-items: center;
  84. input {
  85. width: 582px;
  86. height: 46px;
  87. outline: none;
  88. border: 1px solid #E6E6E6;
  89. border-radius: 0;
  90. padding-left: 20px;
  91. vertical-align: 0px;
  92. font-size: 16px;
  93. color: #666666
  94. }
  95. button {
  96. width: 120px;
  97. height: 48px;
  98. color: #fff;
  99. border: none;
  100. border-radius: 0;
  101. cursor: pointer;
  102. }
  103. }
  104. }
  105. //皮肤样式1
  106. //搜索样式
  107. .searchStyle1 {
  108. background-color: #1C5468;
  109. }
  110. //列表样式
  111. .newsListStyle1 {
  112. width: 1200px;
  113. margin: 0 auto;
  114. //height: 675px;
  115. margin-bottom: 70px;
  116. .inner {
  117. width: 1200px;
  118. .innerLeft {
  119. width: 100%;
  120. clear: both;
  121. float: none;
  122. .list {
  123. margin-bottom: 70px;
  124. li {
  125. width: 100%;
  126. height: 56px;
  127. white-space: nowrap;
  128. overflow: hidden;
  129. text-overflow: ellipsis;
  130. line-height: 56px;
  131. a {
  132. width: 360px;
  133. height: 26px;
  134. font-family: Microsoft YaHei, Microsoft YaHei;
  135. font-weight: 400;
  136. font-size: 20px;
  137. color: #333333;
  138. line-height: 26px;
  139. text-align: left;
  140. font-style: normal;
  141. text-transform: none;
  142. }
  143. .listText {
  144. display: inline-block;
  145. width: 1000px;
  146. white-space: nowrap;
  147. overflow: hidden;
  148. text-overflow: ellipsis;
  149. }
  150. &:nth-child(1) a span.listText::after,
  151. &:nth-child(2) a span.listText::after {
  152. content: "热";
  153. margin-left: 13px;
  154. background: #DD7D18;
  155. color: #fff;
  156. font-size: 14px;
  157. padding: 0px 2px;
  158. }
  159. .time {
  160. float: right;
  161. font-family: Microsoft YaHei, Microsoft YaHei;
  162. font-weight: 400;
  163. font-size: 18px;
  164. color: #333333;
  165. padding-top: 15px;
  166. }
  167. &:nth-child(1) a ,&:nth-child(6) a,&:nth-child(11) a,&:nth-child(16) a {
  168. font-weight: bold;
  169. }
  170. &:nth-child(6),&:nth-child(11),&:nth-child(16){
  171. margin-top: 20px;
  172. }
  173. }
  174. >li:hover>a {
  175. color: #1C5468;
  176. }
  177. >li:nth-child(5n) {
  178. border-bottom: 1px solid #D9D9D9;
  179. }
  180. }
  181. >.pagination {
  182. width: 100%;
  183. height: 34px;
  184. margin-left: 141px;
  185. display: flex;
  186. justify-content: center;
  187. margin: 0;
  188. // 鼠标移入后字体颜色
  189. .el-pagination::v-deep :hover {
  190. color: #1C5468;
  191. }
  192. .el-pagination.is-background::v-deep .btn-next,
  193. .el-pagination.is-background::v-deep .btn-prev {
  194. width: 70px;
  195. height: 34px;
  196. margin: 0px 10px;
  197. border-radius: 4px;
  198. }
  199. .el-pagination.is-background::v-deep .el-pager li {
  200. margin: 0px 10px;
  201. width: 38px;
  202. height: 34px;
  203. border-radius: 4px;
  204. }
  205. .el-pagination.is-background::v-deep .btn-next.is-active,
  206. .el-pagination.is-background::v-deep .btn-prev.is-active,
  207. .el-pagination.is-background::v-deep .el-pager li.is-active {
  208. background-color: #1C5468;
  209. color: #fff;
  210. }
  211. }
  212. }
  213. }
  214. }
  215. //皮肤样式2
  216. .searchStyle2 {
  217. background-color: #A91B33;
  218. }
  219. //列表样式
  220. .newsListStyle2 {
  221. width: 1200px;
  222. margin: 0 auto;
  223. //height: 675px;
  224. margin-bottom: 70px;
  225. .inner {
  226. width: 1200px;
  227. .innerLeft {
  228. width: 100%;
  229. clear: both;
  230. float: none;
  231. .list {
  232. margin-bottom: 70px;
  233. li {
  234. width: 100%;
  235. height: 56px;
  236. white-space: nowrap;
  237. overflow: hidden;
  238. text-overflow: ellipsis;
  239. line-height: 56px;
  240. a {
  241. width: 360px;
  242. height: 26px;
  243. font-family: Microsoft YaHei, Microsoft YaHei;
  244. font-weight: 400;
  245. font-size: 20px;
  246. color: #333333;
  247. line-height: 26px;
  248. text-align: left;
  249. font-style: normal;
  250. text-transform: none;
  251. }
  252. .listText {
  253. display: inline-block;
  254. width: 1000px;
  255. white-space: nowrap;
  256. overflow: hidden;
  257. text-overflow: ellipsis;
  258. }
  259. &:nth-child(1) a span.listText::after,
  260. &:nth-child(2) a span.listText::after {
  261. content: "热";
  262. margin-left: 13px;
  263. background: #DD7D18;
  264. color: #fff;
  265. font-size: 14px;
  266. padding: 0px 2px;
  267. }
  268. .time {
  269. float: right;
  270. font-family: Microsoft YaHei, Microsoft YaHei;
  271. font-weight: 400;
  272. font-size: 18px;
  273. color: #333333;
  274. padding-top: 15px;
  275. }
  276. &:nth-child(1) a ,&:nth-child(6) a,&:nth-child(11) a,&:nth-child(16) a {
  277. font-weight: bold;
  278. }
  279. &:nth-child(6),&:nth-child(11),&:nth-child(16){
  280. margin-top: 20px;
  281. }
  282. }
  283. >li:hover>a {
  284. color: #A91B33;
  285. }
  286. >li:nth-child(5n) {
  287. border-bottom: 1px solid #D9D9D9;
  288. }
  289. }
  290. >.pagination {
  291. width: 100%;
  292. height: 34px;
  293. margin-left: 141px;
  294. display: flex;
  295. justify-content: center;
  296. margin: 0;
  297. // 鼠标移入后字体颜色
  298. .el-pagination::v-deep :hover {
  299. color: #A91B33;
  300. }
  301. .el-pagination.is-background::v-deep .btn-next,
  302. .el-pagination.is-background::v-deep .btn-prev {
  303. width: 70px;
  304. height: 34px;
  305. margin: 0px 10px;
  306. border-radius: 4px;
  307. }
  308. .el-pagination.is-background::v-deep .el-pager li {
  309. margin: 0px 10px;
  310. width: 38px;
  311. height: 34px;
  312. border-radius: 4px;
  313. }
  314. .el-pagination.is-background::v-deep .btn-next.is-active,
  315. .el-pagination.is-background::v-deep .btn-prev.is-active,
  316. .el-pagination.is-background::v-deep .el-pager li.is-active {
  317. background-color: #A91B33;
  318. color: #fff;
  319. }
  320. }
  321. }
  322. }
  323. }