index.vue 19 KB

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