search.less 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. //基本样式
  2. //面包屑导航与搜索框
  3. .breadcrumb {
  4. width: 1200px;
  5. margin: 0 auto;
  6. height: 52px;
  7. margin-bottom: 30px;
  8. font-family: Microsoft YaHei, Microsoft YaHei;
  9. font-weight: 400;
  10. font-size: 20px;
  11. color: #666666;
  12. line-height: 23px;
  13. text-align: left;
  14. font-style: normal;
  15. text-transform: none;
  16. border-bottom: 1px solid #D9D9D9;
  17. :deep(.el-breadcrumb) {
  18. display: inline-block;
  19. vertical-align: -4px;
  20. }
  21. :deep(.el-breadcrumb__inner a),
  22. :deep(.el-breadcrumb__inner.is-link) {
  23. color: #666666;
  24. font-weight: 400;
  25. text-decoration: none;
  26. transition: var(--el-transition-color);
  27. }
  28. span {
  29. font-family: Microsoft YaHei, Microsoft YaHei;
  30. font-weight: 400;
  31. font-size: 20px;
  32. color: #666666;
  33. line-height: 23px;
  34. text-align: left;
  35. font-style: normal;
  36. text-transform: none;
  37. }
  38. span:hover {
  39. color: #666666;
  40. }
  41. .location {
  42. margin-right: 20px;
  43. width: 100px;
  44. height: 22px;
  45. font-family: Microsoft YaHei, Microsoft YaHei;
  46. font-weight: 400;
  47. font-size: 20px;
  48. color: #666666;
  49. line-height: 23px;
  50. text-align: left;
  51. font-style: normal;
  52. text-transform: none;
  53. }
  54. }
  55. .empty {
  56. div {
  57. display: flex;
  58. justify-content: center;
  59. align-items: center;
  60. padding-top: 200px;
  61. }
  62. width: 100%;
  63. height: 600px;
  64. font-size: 26px;
  65. color: #CCCCCC;
  66. img {
  67. display: inline-block;
  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. //搜索框样式
  106. //皮肤样式1
  107. .searchStyle1 {
  108. background-color: #1C5468;
  109. }
  110. //皮肤样式2
  111. .searchStyle2 {
  112. background-color: #A91B33;
  113. }
  114. //分页与列表基本样式
  115. .newsList {
  116. width: 1200px;
  117. margin: 0 auto;
  118. margin-bottom: 40px;
  119. .inner {
  120. width: 1200px;
  121. .innerLeft {
  122. width: 100%;
  123. clear: both;
  124. float: none;
  125. >.pagination {
  126. width: 100%;
  127. height: 34px;
  128. margin-left: 141px;
  129. display: flex;
  130. justify-content: center;
  131. margin: 0;
  132. margin-top: 40px;
  133. .el-pagination.is-background::v-deep .btn-next,
  134. .el-pagination.is-background::v-deep .btn-prev {
  135. width: 70px;
  136. height: 34px;
  137. margin: 0px 10px;
  138. border-radius: 4px;
  139. }
  140. .el-pagination.is-background::v-deep .el-pager li {
  141. margin: 0px 10px;
  142. width: 38px;
  143. height: 34px;
  144. border-radius: 4px;
  145. }
  146. .el-pagination.is-background::v-deep .btn-next.is-active,
  147. .el-pagination.is-background::v-deep .btn-prev.is-active,
  148. .el-pagination.is-background::v-deep .el-pager li.is-active {
  149. color: #fff;
  150. }
  151. }
  152. }
  153. }
  154. }
  155. //分页样式1
  156. .newsListStyle1 {
  157. .inner {
  158. .innerLeft {
  159. >.pagination {
  160. .el-pagination::v-deep :hover {
  161. color: #1C5468;
  162. }
  163. .el-pagination.is-background::v-deep .btn-next.is-active,
  164. .el-pagination.is-background::v-deep .btn-prev.is-active,
  165. .el-pagination.is-background::v-deep .el-pager li.is-active {
  166. background-color: #1C5468;
  167. }
  168. }
  169. }
  170. }
  171. }
  172. //分页样式2
  173. .newsListStyle2 {
  174. .inner {
  175. .innerLeft {
  176. >.pagination {
  177. .el-pagination::v-deep :hover {
  178. color: #A91B33;
  179. }
  180. .el-pagination.is-background::v-deep .btn-next.is-active,
  181. .el-pagination.is-background::v-deep .btn-prev.is-active,
  182. .el-pagination.is-background::v-deep .el-pager li.is-active {
  183. background-color: #A91B33;
  184. }
  185. }
  186. }
  187. }
  188. }