index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659
  1. <template>
  2. <div class="hybw">
  3. <div class="topBg">
  4. <!-- 页面头部 -->
  5. <HomePageHead></HomePageHead>
  6. <!-- 页面导航 -->
  7. <HomePageNavigation></HomePageNavigation>
  8. </div>
  9. <!-- 面包屑导航 -->
  10. <div class="breadcrumb">
  11. <div class="inner">
  12. <span class="location">当前位置:</span>
  13. <el-breadcrumb :separator-icon="ArrowRight">
  14. <el-breadcrumb-item>
  15. <NuxtLink to="/">首页</NuxtLink>
  16. </el-breadcrumb-item>
  17. <el-breadcrumb-item>
  18. <NuxtLink to="/">法治调研中心-行业百网</NuxtLink>
  19. </el-breadcrumb-item>
  20. </el-breadcrumb>
  21. </div>
  22. </div>
  23. <!-- 网站列表 -->
  24. <div class="webSite">
  25. <table border="1" cellspacing="0" cellpadding="0">
  26. <tr>
  27. <th>网站名称</th>
  28. <th class="hide">网站URL</th>
  29. <th class="hide">二维码(点击放大)</th>
  30. <th>操作</th>
  31. </tr>
  32. <tr>
  33. <td>
  34. <a href="">人大法治网</a>
  35. </td>
  36. <td class="hide">
  37. <a href="">http://rdfzl.org.cn/</a>
  38. </td>
  39. <td class="hide"><img src="" alt=""></td>
  40. <td>
  41. <a href="#">首页</a>
  42. <span>|</span>
  43. <a href="#">登录</a>
  44. <span>|</span>
  45. <a href="#">简介</a>
  46. <span>|</span>
  47. <a href="#">联系</a>
  48. <span>|</span>
  49. <a href="#">服务</a>
  50. <span>|</span>
  51. <a href="#">地图</a>
  52. </td>
  53. </tr>
  54. <tr>
  55. <td>
  56. <a href="">人大法治网</a>
  57. </td>
  58. <td class="hide">
  59. <a href="">http://rdfzl.org.cn/</a>
  60. </td>
  61. <td class="hide"><img src="" alt=""></td>
  62. <td>
  63. <a href="#">首页</a>
  64. <span>|</span>
  65. <a href="#">登录</a>
  66. <span>|</span>
  67. <a href="#">简介</a>
  68. <span>|</span>
  69. <a href="#">联系</a>
  70. <span>|</span>
  71. <a href="#">服务</a>
  72. <span>|</span>
  73. <a href="#">地图</a>
  74. </td>
  75. </tr>
  76. </table>
  77. </div>
  78. <!-- 分页器 -->
  79. <div class="pagination">
  80. <el-pagination size="small" background layout="total, prev, pager, next" :total="total" class="mt-4"
  81. :page-size="pageSize" :current-page="pageNum" prev-text="上一页" next-text="下一页"
  82. @current-change="changePage" />
  83. </div>
  84. <!-- 页面底部 -->
  85. <HomeFoot></HomeFoot>
  86. </div>
  87. </template>
  88. <script setup>
  89. import { ref, onMounted } from 'vue'
  90. import { ElBreadcrumb, ElBreadcrumbItem, ElPagination } from 'element-plus'
  91. import { ArrowRight } from '@element-plus/icons-vue'
  92. // 分页器
  93. let pageNum = ref(1);
  94. let total = ref(1);
  95. let pageSize = ref(10);
  96. // 分页器切换页码
  97. const changePage = (val) => {
  98. pageNum.value = val;
  99. }
  100. </script>
  101. <style lang="less" scoped>
  102. @media screen and (min-width: 1401px) {
  103. .hybw {
  104. font-family: '微软雅黑', Microsoft YaHei;
  105. //导航条
  106. .breadcrumb {
  107. width: 100%;
  108. height: 30PX;
  109. line-height: 30PX;
  110. margin-top: 20PX;
  111. margin-bottom: 20PX;
  112. .inner {
  113. width: 1400PX;
  114. border: 1PX solid #ccc;
  115. color: #000;
  116. font-size: 16PX;
  117. margin: 0 auto;
  118. .location {
  119. margin-right: 20PX;
  120. width: 100PX;
  121. height: 22PX;
  122. font-family: Microsoft YaHei, Microsoft YaHei;
  123. font-weight: 400;
  124. font-size: 16PX;
  125. color: #000;
  126. line-height: 23PX;
  127. text-align: left;
  128. font-style: normal;
  129. text-transform: none;
  130. }
  131. }
  132. :deep(.el-breadcrumb__separator) {
  133. color: #000;
  134. font-weight: bold;
  135. margin: 0 9PX;
  136. }
  137. :deep(.el-breadcrumb) {
  138. display: inline-block;
  139. vertical-align: -4PX;
  140. }
  141. :deep(.el-breadcrumb__inner a),
  142. :deep(.el-breadcrumb__inner.is-link) {
  143. color: #000;
  144. font-weight: 400;
  145. text-decoration: none;
  146. transition: var(--el-transition-color);
  147. }
  148. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner),
  149. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a),
  150. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover),
  151. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover) {
  152. color: #000;
  153. }
  154. span {
  155. font-weight: 400;
  156. font-size: 16PX;
  157. color: #000;
  158. line-height: 23PX;
  159. text-align: left;
  160. font-style: normal;
  161. text-transform: none;
  162. }
  163. }
  164. //网站列表
  165. .webSite {
  166. width: 1400PX;
  167. overflow: hidden;
  168. margin: 20PX auto;
  169. table {
  170. width: 100%;
  171. height: auto;
  172. border-spacing: 0;
  173. border-collapse: collapse;
  174. tr {
  175. width: 100%;
  176. height: auto;
  177. overflow: hidden;
  178. &:first-child {
  179. height: 50PX;
  180. line-height: 50PX;
  181. }
  182. th {
  183. font-size: 16PX;
  184. font-weight: 400;
  185. }
  186. td {
  187. height: auto;
  188. overflow: hidden;
  189. text-align: center;
  190. font-size: 16PX;
  191. a {
  192. font-size: 16PX;
  193. color: #2b96f1;
  194. }
  195. &:nth-child(1) {
  196. width: 15%;
  197. }
  198. &:nth-child(2) {
  199. width: 20%;
  200. }
  201. &:nth-child(3) {
  202. width: 20%;
  203. padding-top: 3PX;
  204. img {
  205. width: 80PX;
  206. height: 80PX;
  207. }
  208. }
  209. &:nth-child(4) {
  210. width: 30%;
  211. text-align: center;
  212. span {
  213. display: inline-block;
  214. font-size: 12PX;
  215. padding: 0 10PX;
  216. }
  217. }
  218. }
  219. }
  220. }
  221. }
  222. // 分页器
  223. .pagination {
  224. width: 100%;
  225. height: 34PX;
  226. margin-left: 141PX;
  227. display: flex;
  228. justify-content: center;
  229. margin: 20PX 0;
  230. padding: 10PX 0;
  231. // 鼠标移入后字体颜色
  232. .el-pagination::v-deep :hover {
  233. color: #1aa0f7;
  234. }
  235. .el-pagination.is-background::v-deep .btn-next,
  236. .el-pagination.is-background::v-deep .btn-prev {
  237. width: 70PX;
  238. height: 34PX;
  239. margin: 0PX 10PX;
  240. border-radius: 4PX;
  241. }
  242. .el-pagination.is-background::v-deep .el-pager li {
  243. margin: 0PX 10PX;
  244. width: 38PX;
  245. height: 34PX;
  246. border-radius: 4PX;
  247. }
  248. .el-pagination.is-background::v-deep .btn-next.is-active,
  249. .el-pagination.is-background::v-deep .btn-prev.is-active,
  250. .el-pagination.is-background::v-deep .el-pager li.is-active {
  251. background-color: #1aa0f7;
  252. color: #fff;
  253. }
  254. }
  255. }
  256. }
  257. @media screen and (min-width: 801px) and (max-width: 1400px) {
  258. .hybw {
  259. font-family: '微软雅黑', Microsoft YaHei;
  260. //导航条
  261. .breadcrumb {
  262. width: 100%;
  263. height: 30PX;
  264. line-height: 30PX;
  265. margin-top: 20PX;
  266. margin-bottom: 20PX;
  267. .inner {
  268. width: 100%;
  269. border: 1PX solid #ccc;
  270. color: #000;
  271. font-size: 16PX;
  272. margin: 0 auto;
  273. .location {
  274. margin-right: 20PX;
  275. width: 100PX;
  276. height: 22PX;
  277. font-family: Microsoft YaHei, Microsoft YaHei;
  278. font-weight: 400;
  279. font-size: 16PX;
  280. color: #000;
  281. line-height: 23PX;
  282. text-align: left;
  283. font-style: normal;
  284. text-transform: none;
  285. }
  286. }
  287. :deep(.el-breadcrumb__separator) {
  288. color: #000;
  289. font-weight: bold;
  290. margin: 0 9PX;
  291. }
  292. :deep(.el-breadcrumb) {
  293. display: inline-block;
  294. vertical-align: -4PX;
  295. }
  296. :deep(.el-breadcrumb__inner a),
  297. :deep(.el-breadcrumb__inner.is-link) {
  298. color: #000;
  299. font-weight: 400;
  300. text-decoration: none;
  301. transition: var(--el-transition-color);
  302. }
  303. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner),
  304. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a),
  305. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover),
  306. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover) {
  307. color: #000;
  308. }
  309. span {
  310. font-weight: 400;
  311. font-size: 16PX;
  312. color: #000;
  313. line-height: 23PX;
  314. text-align: left;
  315. font-style: normal;
  316. text-transform: none;
  317. }
  318. }
  319. //网站列表
  320. .webSite {
  321. width: 100%;
  322. overflow: hidden;
  323. margin: 20PX auto;
  324. table {
  325. width: 100%;
  326. height: auto;
  327. border-spacing: 0;
  328. border-collapse: collapse;
  329. tr {
  330. width: 100%;
  331. height: auto;
  332. overflow: hidden;
  333. &:first-child {
  334. height: 50PX;
  335. line-height: 50PX;
  336. }
  337. th {
  338. font-size: 16PX;
  339. font-weight: 400;
  340. }
  341. td {
  342. height: auto;
  343. overflow: hidden;
  344. text-align: center;
  345. font-size: 16PX;
  346. a {
  347. font-size: 16PX;
  348. color: #2b96f1;
  349. }
  350. &:nth-child(1) {
  351. width: 15%;
  352. }
  353. &:nth-child(2) {
  354. width: 20%;
  355. }
  356. &:nth-child(3) {
  357. width: 20%;
  358. padding-top: 3PX;
  359. img {
  360. width: 80PX;
  361. height: 80PX;
  362. }
  363. }
  364. &:nth-child(4) {
  365. width: 30%;
  366. text-align: center;
  367. span {
  368. display: inline-block;
  369. font-size: 12PX;
  370. padding: 0 10PX;
  371. }
  372. }
  373. }
  374. }
  375. }
  376. }
  377. // 分页器
  378. .pagination {
  379. width: 100%;
  380. height: 34PX;
  381. margin-left: 141PX;
  382. display: flex;
  383. justify-content: center;
  384. margin: 20PX 0;
  385. padding: 10PX 0;
  386. // 鼠标移入后字体颜色
  387. .el-pagination::v-deep :hover {
  388. color: #1aa0f7;
  389. }
  390. .el-pagination.is-background::v-deep .btn-next,
  391. .el-pagination.is-background::v-deep .btn-prev {
  392. width: 70PX;
  393. height: 34PX;
  394. margin: 0PX 10PX;
  395. border-radius: 4PX;
  396. }
  397. .el-pagination.is-background::v-deep .el-pager li {
  398. margin: 0PX 10PX;
  399. width: 38PX;
  400. height: 34PX;
  401. border-radius: 4PX;
  402. }
  403. .el-pagination.is-background::v-deep .btn-next.is-active,
  404. .el-pagination.is-background::v-deep .btn-prev.is-active,
  405. .el-pagination.is-background::v-deep .el-pager li.is-active {
  406. background-color: #1aa0f7;
  407. color: #fff;
  408. }
  409. }
  410. }
  411. }
  412. @media screen and (max-width: 800px) {
  413. .hybw {
  414. font-family: '微软雅黑', Microsoft YaHei;
  415. //导航条
  416. .breadcrumb {
  417. width: 100%;
  418. height: 60px;
  419. line-height: 60px;
  420. margin-top: 40px;
  421. margin-bottom: 40px;
  422. .inner {
  423. width: 100%;
  424. border: 2px solid #ccc;
  425. color: #000;
  426. font-size: 32px;
  427. .location {
  428. margin-right: 40px;
  429. width: 100px;
  430. height: 44px;
  431. font-family: Microsoft YaHei, Microsoft YaHei;
  432. font-weight: 400;
  433. font-size: 32px;
  434. color: #000;
  435. line-height: 46px;
  436. text-align: left;
  437. font-style: normal;
  438. text-transform: none;
  439. }
  440. }
  441. :deep(.el-breadcrumb__separator) {
  442. color: #000;
  443. font-weight: bold;
  444. margin: 0 18px;
  445. }
  446. :deep(.el-breadcrumb) {
  447. display: inline-block;
  448. vertical-align: -10px;
  449. }
  450. :deep(.el-breadcrumb__inner a),
  451. :deep(.el-breadcrumb__inner.is-link) {
  452. color: #000;
  453. font-weight: 400;
  454. text-decoration: none;
  455. transition: var(--el-transition-color);
  456. }
  457. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner),
  458. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a),
  459. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover),
  460. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover) {
  461. color: #000;
  462. }
  463. span {
  464. font-weight: 400;
  465. font-size: 32px;
  466. color: #000;
  467. line-height: 46px;
  468. text-align: left;
  469. font-style: normal;
  470. text-transform: none;
  471. }
  472. }
  473. //网站列表
  474. .webSite {
  475. width: 100%;
  476. overflow: hidden;
  477. margin: 20px auto;
  478. .hide {
  479. display: none;
  480. }
  481. table {
  482. width: 100%;
  483. height: auto;
  484. border-spacing: 0;
  485. border-collapse: collapse;
  486. tr {
  487. width: 100%;
  488. height: auto;
  489. overflow: hidden;
  490. &:first-child {
  491. height: 100px;
  492. line-height: 100px;
  493. }
  494. th {
  495. font-size: 30px;
  496. font-weight: 400;
  497. }
  498. td {
  499. height: auto;
  500. overflow: hidden;
  501. text-align: center;
  502. font-size: 30px;
  503. a {
  504. font-size: 30px;
  505. color: #2b96f1;
  506. }
  507. &:nth-child(1) {
  508. width: 15%;
  509. }
  510. &:nth-child(2) {
  511. width: 20%;
  512. }
  513. &:nth-child(3) {
  514. width: 20%;
  515. padding-top: 3px;
  516. img {
  517. width: 80px;
  518. height: 80px;
  519. }
  520. }
  521. &:nth-child(4) {
  522. width: 30%;
  523. text-align: center;
  524. span {
  525. display: inline-block;
  526. font-size: 24px;
  527. padding: 0 10px;
  528. }
  529. }
  530. }
  531. }
  532. }
  533. }
  534. // 分页器
  535. .pagination {
  536. width: 100%;
  537. height: 34px;
  538. margin-left: 141px;
  539. display: flex;
  540. justify-content: center;
  541. margin: 20px 0;
  542. padding: 10px 0;
  543. // 鼠标移入后字体颜色
  544. .el-pagination::v-deep :hover {
  545. color: #1aa0f7;
  546. }
  547. .el-pagination.is-background::v-deep .btn-next,
  548. .el-pagination.is-background::v-deep .btn-prev {
  549. width: 70px;
  550. height: 34px;
  551. margin: 0px 10px;
  552. border-radius: 4px;
  553. }
  554. .el-pagination.is-background::v-deep .el-pager li {
  555. margin: 0px 10px;
  556. width: 38px;
  557. height: 34px;
  558. border-radius: 4px;
  559. }
  560. .el-pagination.is-background::v-deep .btn-next.is-active,
  561. .el-pagination.is-background::v-deep .btn-prev.is-active,
  562. .el-pagination.is-background::v-deep .el-pager li.is-active {
  563. background-color: #1aa0f7;
  564. color: #fff;
  565. }
  566. }
  567. }
  568. }
  569. </style>