| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659 |
- <template>
- <div class="hybw">
- <div class="topBg">
- <!-- 页面头部 -->
- <HomePageHead></HomePageHead>
- <!-- 页面导航 -->
- <HomePageNavigation></HomePageNavigation>
- </div>
- <!-- 面包屑导航 -->
- <div class="breadcrumb">
- <div class="inner">
- <span class="location">当前位置:</span>
- <el-breadcrumb :separator-icon="ArrowRight">
- <el-breadcrumb-item>
- <NuxtLink to="/">首页</NuxtLink>
- </el-breadcrumb-item>
- <el-breadcrumb-item>
- <NuxtLink to="/">法治调研中心-行业百网</NuxtLink>
- </el-breadcrumb-item>
- </el-breadcrumb>
- </div>
- </div>
- <!-- 网站列表 -->
- <div class="webSite">
- <table border="1" cellspacing="0" cellpadding="0">
- <tr>
- <th>网站名称</th>
- <th class="hide">网站URL</th>
- <th class="hide">二维码(点击放大)</th>
- <th>操作</th>
- </tr>
- <tr>
- <td>
- <a href="">人大法治网</a>
- </td>
- <td class="hide">
- <a href="">http://rdfzl.org.cn/</a>
- </td>
- <td class="hide"><img src="" alt=""></td>
- <td>
- <a href="#">首页</a>
- <span>|</span>
- <a href="#">登录</a>
- <span>|</span>
- <a href="#">简介</a>
- <span>|</span>
- <a href="#">联系</a>
- <span>|</span>
- <a href="#">服务</a>
- <span>|</span>
- <a href="#">地图</a>
- </td>
- </tr>
- <tr>
- <td>
- <a href="">人大法治网</a>
- </td>
- <td class="hide">
- <a href="">http://rdfzl.org.cn/</a>
- </td>
- <td class="hide"><img src="" alt=""></td>
- <td>
- <a href="#">首页</a>
- <span>|</span>
- <a href="#">登录</a>
- <span>|</span>
- <a href="#">简介</a>
- <span>|</span>
- <a href="#">联系</a>
- <span>|</span>
- <a href="#">服务</a>
- <span>|</span>
- <a href="#">地图</a>
- </td>
- </tr>
- </table>
- </div>
- <!-- 分页器 -->
- <div class="pagination">
- <el-pagination size="small" background layout="total, prev, pager, next" :total="total" class="mt-4"
- :page-size="pageSize" :current-page="pageNum" prev-text="上一页" next-text="下一页"
- @current-change="changePage" />
- </div>
- <!-- 页面底部 -->
- <HomeFoot></HomeFoot>
- </div>
- </template>
- <script setup>
- import { ref, onMounted } from 'vue'
- import { ElBreadcrumb, ElBreadcrumbItem, ElPagination } from 'element-plus'
- import { ArrowRight } from '@element-plus/icons-vue'
- // 分页器
- let pageNum = ref(1);
- let total = ref(1);
- let pageSize = ref(10);
- // 分页器切换页码
- const changePage = (val) => {
- pageNum.value = val;
- }
- </script>
- <style lang="less" scoped>
- @media screen and (min-width: 1401px) {
- .hybw {
- font-family: '微软雅黑', Microsoft YaHei;
- //导航条
- .breadcrumb {
- width: 100%;
- height: 30PX;
- line-height: 30PX;
- margin-top: 20PX;
- margin-bottom: 20PX;
- .inner {
- width: 1400PX;
- border: 1PX solid #ccc;
- color: #000;
- font-size: 16PX;
- margin: 0 auto;
- .location {
- margin-right: 20PX;
- width: 100PX;
- height: 22PX;
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-weight: 400;
- font-size: 16PX;
- color: #000;
- line-height: 23PX;
- text-align: left;
- font-style: normal;
- text-transform: none;
- }
- }
- :deep(.el-breadcrumb__separator) {
- color: #000;
- font-weight: bold;
- margin: 0 9PX;
- }
- :deep(.el-breadcrumb) {
- display: inline-block;
- vertical-align: -4PX;
- }
- :deep(.el-breadcrumb__inner a),
- :deep(.el-breadcrumb__inner.is-link) {
- color: #000;
- font-weight: 400;
- text-decoration: none;
- transition: var(--el-transition-color);
- }
- :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner),
- :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a),
- :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover),
- :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover) {
- color: #000;
- }
- span {
- font-weight: 400;
- font-size: 16PX;
- color: #000;
- line-height: 23PX;
- text-align: left;
- font-style: normal;
- text-transform: none;
- }
- }
- //网站列表
- .webSite {
- width: 1400PX;
- overflow: hidden;
- margin: 20PX auto;
- table {
- width: 100%;
- height: auto;
- border-spacing: 0;
- border-collapse: collapse;
- tr {
- width: 100%;
- height: auto;
- overflow: hidden;
- &:first-child {
- height: 50PX;
- line-height: 50PX;
- }
- th {
- font-size: 16PX;
- font-weight: 400;
- }
- td {
- height: auto;
- overflow: hidden;
- text-align: center;
- font-size: 16PX;
- a {
- font-size: 16PX;
- color: #2b96f1;
- }
- &:nth-child(1) {
- width: 15%;
- }
- &:nth-child(2) {
- width: 20%;
- }
- &:nth-child(3) {
- width: 20%;
- padding-top: 3PX;
- img {
- width: 80PX;
- height: 80PX;
- }
- }
- &:nth-child(4) {
- width: 30%;
- text-align: center;
- span {
- display: inline-block;
- font-size: 12PX;
- padding: 0 10PX;
- }
- }
- }
- }
- }
- }
- // 分页器
- .pagination {
- width: 100%;
- height: 34PX;
- margin-left: 141PX;
- display: flex;
- justify-content: center;
- margin: 20PX 0;
- padding: 10PX 0;
- // 鼠标移入后字体颜色
- .el-pagination::v-deep :hover {
- color: #1aa0f7;
- }
- .el-pagination.is-background::v-deep .btn-next,
- .el-pagination.is-background::v-deep .btn-prev {
- width: 70PX;
- height: 34PX;
- margin: 0PX 10PX;
- border-radius: 4PX;
- }
- .el-pagination.is-background::v-deep .el-pager li {
- margin: 0PX 10PX;
- width: 38PX;
- height: 34PX;
- border-radius: 4PX;
- }
- .el-pagination.is-background::v-deep .btn-next.is-active,
- .el-pagination.is-background::v-deep .btn-prev.is-active,
- .el-pagination.is-background::v-deep .el-pager li.is-active {
- background-color: #1aa0f7;
- color: #fff;
- }
- }
- }
- }
- @media screen and (min-width: 801px) and (max-width: 1400px) {
- .hybw {
- font-family: '微软雅黑', Microsoft YaHei;
- //导航条
- .breadcrumb {
- width: 100%;
- height: 30PX;
- line-height: 30PX;
- margin-top: 20PX;
- margin-bottom: 20PX;
- .inner {
- width: 100%;
- border: 1PX solid #ccc;
- color: #000;
- font-size: 16PX;
- margin: 0 auto;
- .location {
- margin-right: 20PX;
- width: 100PX;
- height: 22PX;
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-weight: 400;
- font-size: 16PX;
- color: #000;
- line-height: 23PX;
- text-align: left;
- font-style: normal;
- text-transform: none;
- }
- }
- :deep(.el-breadcrumb__separator) {
- color: #000;
- font-weight: bold;
- margin: 0 9PX;
- }
- :deep(.el-breadcrumb) {
- display: inline-block;
- vertical-align: -4PX;
- }
- :deep(.el-breadcrumb__inner a),
- :deep(.el-breadcrumb__inner.is-link) {
- color: #000;
- font-weight: 400;
- text-decoration: none;
- transition: var(--el-transition-color);
- }
- :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner),
- :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a),
- :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover),
- :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover) {
- color: #000;
- }
- span {
- font-weight: 400;
- font-size: 16PX;
- color: #000;
- line-height: 23PX;
- text-align: left;
- font-style: normal;
- text-transform: none;
- }
- }
- //网站列表
- .webSite {
- width: 100%;
- overflow: hidden;
- margin: 20PX auto;
- table {
- width: 100%;
- height: auto;
- border-spacing: 0;
- border-collapse: collapse;
- tr {
- width: 100%;
- height: auto;
- overflow: hidden;
- &:first-child {
- height: 50PX;
- line-height: 50PX;
- }
- th {
- font-size: 16PX;
- font-weight: 400;
- }
- td {
- height: auto;
- overflow: hidden;
- text-align: center;
- font-size: 16PX;
- a {
- font-size: 16PX;
- color: #2b96f1;
- }
- &:nth-child(1) {
- width: 15%;
- }
- &:nth-child(2) {
- width: 20%;
- }
- &:nth-child(3) {
- width: 20%;
- padding-top: 3PX;
- img {
- width: 80PX;
- height: 80PX;
- }
- }
- &:nth-child(4) {
- width: 30%;
- text-align: center;
- span {
- display: inline-block;
- font-size: 12PX;
- padding: 0 10PX;
- }
- }
- }
- }
- }
- }
- // 分页器
- .pagination {
- width: 100%;
- height: 34PX;
- margin-left: 141PX;
- display: flex;
- justify-content: center;
- margin: 20PX 0;
- padding: 10PX 0;
- // 鼠标移入后字体颜色
- .el-pagination::v-deep :hover {
- color: #1aa0f7;
- }
- .el-pagination.is-background::v-deep .btn-next,
- .el-pagination.is-background::v-deep .btn-prev {
- width: 70PX;
- height: 34PX;
- margin: 0PX 10PX;
- border-radius: 4PX;
- }
- .el-pagination.is-background::v-deep .el-pager li {
- margin: 0PX 10PX;
- width: 38PX;
- height: 34PX;
- border-radius: 4PX;
- }
- .el-pagination.is-background::v-deep .btn-next.is-active,
- .el-pagination.is-background::v-deep .btn-prev.is-active,
- .el-pagination.is-background::v-deep .el-pager li.is-active {
- background-color: #1aa0f7;
- color: #fff;
- }
- }
- }
- }
- @media screen and (max-width: 800px) {
- .hybw {
- font-family: '微软雅黑', Microsoft YaHei;
- //导航条
- .breadcrumb {
- width: 100%;
- height: 60px;
- line-height: 60px;
- margin-top: 40px;
- margin-bottom: 40px;
- .inner {
- width: 100%;
- border: 2px solid #ccc;
- color: #000;
- font-size: 32px;
- .location {
- margin-right: 40px;
- width: 100px;
- height: 44px;
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-weight: 400;
- font-size: 32px;
- color: #000;
- line-height: 46px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- }
- }
- :deep(.el-breadcrumb__separator) {
- color: #000;
- font-weight: bold;
- margin: 0 18px;
- }
- :deep(.el-breadcrumb) {
- display: inline-block;
- vertical-align: -10px;
- }
- :deep(.el-breadcrumb__inner a),
- :deep(.el-breadcrumb__inner.is-link) {
- color: #000;
- font-weight: 400;
- text-decoration: none;
- transition: var(--el-transition-color);
- }
- :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner),
- :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a),
- :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover),
- :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover) {
- color: #000;
- }
- span {
- font-weight: 400;
- font-size: 32px;
- color: #000;
- line-height: 46px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- }
- }
- //网站列表
- .webSite {
- width: 100%;
- overflow: hidden;
- margin: 20px auto;
- .hide {
- display: none;
- }
- table {
- width: 100%;
- height: auto;
- border-spacing: 0;
- border-collapse: collapse;
- tr {
- width: 100%;
- height: auto;
- overflow: hidden;
- &:first-child {
- height: 100px;
- line-height: 100px;
- }
- th {
- font-size: 30px;
- font-weight: 400;
- }
- td {
- height: auto;
- overflow: hidden;
- text-align: center;
- font-size: 30px;
- a {
- font-size: 30px;
- color: #2b96f1;
- }
- &:nth-child(1) {
- width: 15%;
- }
- &:nth-child(2) {
- width: 20%;
- }
- &:nth-child(3) {
- width: 20%;
- padding-top: 3px;
- img {
- width: 80px;
- height: 80px;
- }
- }
- &:nth-child(4) {
- width: 30%;
- text-align: center;
- span {
- display: inline-block;
- font-size: 24px;
- padding: 0 10px;
- }
- }
- }
- }
- }
- }
- // 分页器
- .pagination {
- width: 100%;
- height: 34px;
- margin-left: 141px;
- display: flex;
- justify-content: center;
- margin: 20px 0;
- padding: 10px 0;
- // 鼠标移入后字体颜色
- .el-pagination::v-deep :hover {
- color: #1aa0f7;
- }
- .el-pagination.is-background::v-deep .btn-next,
- .el-pagination.is-background::v-deep .btn-prev {
- width: 70px;
- height: 34px;
- margin: 0px 10px;
- border-radius: 4px;
- }
- .el-pagination.is-background::v-deep .el-pager li {
- margin: 0px 10px;
- width: 38px;
- height: 34px;
- border-radius: 4px;
- }
- .el-pagination.is-background::v-deep .btn-next.is-active,
- .el-pagination.is-background::v-deep .btn-prev.is-active,
- .el-pagination.is-background::v-deep .el-pager li.is-active {
- background-color: #1aa0f7;
- color: #fff;
- }
- }
- }
- }
- </style>
|