index.vue 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528
  1. <template>
  2. <div class="hxwz">
  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. <div class="webSiteList">
  24. <div class="webSiteText">
  25. <a href="#">登录</a>
  26. <a href="#">本网概况</a>
  27. <a href="#">联系我们</a>
  28. <a href="#">会员服务</a>
  29. <a href="#">网站地图</a>
  30. </div>
  31. <div class="webSiteImg">
  32. <a href="#">
  33. <img src="../../public/index/fznc.jpg" alt="">
  34. <!-- </a>
  35. <a href="#"> -->
  36. <span>法治内参</span>
  37. </a>
  38. </div>
  39. </div>
  40. <div class="webSiteList">
  41. <div class="webSiteImg">
  42. <a href="#">
  43. <img src="../../public/index/fznc.jpg" alt="">
  44. </a>
  45. <a href="#">
  46. <span>法治内参</span>
  47. </a>
  48. </div>
  49. <div class="webSiteText">
  50. <a href="#">登录</a>
  51. <a href="#">本网概况</a>
  52. <a href="#">联系我们</a>
  53. <a href="#">会员服务</a>
  54. <a href="#">网站地图</a>
  55. </div>
  56. </div>
  57. <div class="webSiteList">
  58. <div class="webSiteText">
  59. <a href="#">登录</a>
  60. <a href="#">本网概况</a>
  61. <a href="#">联系我们</a>
  62. <a href="#">会员服务</a>
  63. <a href="#">网站地图</a>
  64. </div>
  65. <div class="webSiteImg">
  66. <a href="#">
  67. <img src="../../public/index/fznc.jpg" alt="">
  68. </a>
  69. <a href="#">
  70. <span>法治内参</span>
  71. </a>
  72. </div>
  73. </div>
  74. <div class="webSiteList">
  75. <div class="webSiteImg">
  76. <a href="#">
  77. <img src="../../public/index/fznc.jpg" alt="">
  78. </a>
  79. <a href="#">
  80. <span>法治内参</span>
  81. </a>
  82. </div>
  83. <div class="webSiteText">
  84. <a href="#">登录</a>
  85. <a href="#">本网概况</a>
  86. <a href="#">联系我们</a>
  87. <a href="#">会员服务</a>
  88. <a href="#">网站地图</a>
  89. </div>
  90. </div>
  91. </div>
  92. <!-- 页面底部 -->
  93. <HomeFoot></HomeFoot>
  94. </div>
  95. </template>
  96. <script setup>
  97. import { ref, onMounted } from 'vue'
  98. import { ElBreadcrumb, ElBreadcrumbItem } from 'element-plus'
  99. import { ArrowRight } from '@element-plus/icons-vue'
  100. </script>
  101. <style lang="less" scoped>
  102. @media screen and (min-width: 1401px) {
  103. .hxwz {
  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. box-sizing: border-box;
  113. .inner {
  114. width: 1400PX;
  115. border: 1PX solid #ccc;
  116. color: #000;
  117. font-size: 16PX;
  118. margin: 0 auto;
  119. .location {
  120. margin-right: 20PX;
  121. width: 100PX;
  122. height: 22PX;
  123. font-family: Microsoft YaHei, Microsoft YaHei;
  124. font-weight: 400;
  125. font-size: 16PX;
  126. color: #000;
  127. line-height: 23PX;
  128. text-align: left;
  129. font-style: normal;
  130. text-transform: none;
  131. }
  132. }
  133. :deep(.el-breadcrumb__separator) {
  134. color: #000;
  135. font-weight: bold;
  136. margin: 0 9PX;
  137. }
  138. :deep(.el-breadcrumb) {
  139. display: inline-block;
  140. vertical-align: -4PX;
  141. }
  142. :deep(.el-breadcrumb__inner a),
  143. :deep(.el-breadcrumb__inner.is-link) {
  144. color: #000;
  145. font-weight: 400;
  146. text-decoration: none;
  147. transition: var(--el-transition-color);
  148. }
  149. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner),
  150. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a),
  151. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover),
  152. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover) {
  153. color: #000;
  154. }
  155. span {
  156. font-weight: 400;
  157. font-size: 16PX;
  158. color: #000;
  159. line-height: 23PX;
  160. text-align: left;
  161. font-style: normal;
  162. text-transform: none;
  163. }
  164. }
  165. //网站列表
  166. .webSite {
  167. width: 1400PX;
  168. overflow: hidden;
  169. margin: 20PX auto;
  170. .webSiteList {
  171. width: 50%;
  172. height: auto;
  173. float: left;
  174. padding: 20PX 80PX;
  175. border-bottom: 1PX dashed #ccc;
  176. box-sizing: border-box;
  177. .webSiteText {
  178. float: left;
  179. width: 50%;
  180. height: auto;
  181. padding: 10PX 0;
  182. box-sizing: border-box;
  183. a {
  184. display: block;
  185. float: left;
  186. width: 50%;
  187. height: 40PX;
  188. line-height: 40PX;
  189. font-size: 16PX;
  190. color: #333;
  191. text-align: center;
  192. &:first-child {
  193. width: 100%;
  194. }
  195. }
  196. }
  197. .webSiteImg {
  198. width: 50%;
  199. height: auto;
  200. float: left;
  201. a {
  202. width: 100%;
  203. text-align: center;
  204. img {
  205. display: block;
  206. width: 220PX;
  207. height: 150PX;
  208. }
  209. span {
  210. display: block;
  211. width: 100%;
  212. height: 30PX;
  213. line-height: 30PX;
  214. text-align: center;
  215. font-size: 16PX;
  216. color: #333;
  217. }
  218. }
  219. }
  220. }
  221. }
  222. }
  223. }
  224. @media screen and (min-width: 801px) and (max-width: 1400px) {
  225. .hxwz {
  226. font-family: '微软雅黑', Microsoft YaHei;
  227. //导航条
  228. .breadcrumb {
  229. width: 100%;
  230. height: 30PX;
  231. line-height: 30PX;
  232. margin-top: 20PX;
  233. margin-bottom: 20PX;
  234. box-sizing: border-box;
  235. .inner {
  236. width: 100%;
  237. border: 1PX solid #ccc;
  238. color: #000;
  239. font-size: 16PX;
  240. margin: 0 auto;
  241. .location {
  242. margin-right: 20PX;
  243. width: 100PX;
  244. height: 22PX;
  245. font-family: Microsoft YaHei, Microsoft YaHei;
  246. font-weight: 400;
  247. font-size: 16PX;
  248. color: #000;
  249. line-height: 23PX;
  250. text-align: left;
  251. font-style: normal;
  252. text-transform: none;
  253. }
  254. }
  255. :deep(.el-breadcrumb__separator) {
  256. color: #000;
  257. font-weight: bold;
  258. margin: 0 9PX;
  259. }
  260. :deep(.el-breadcrumb) {
  261. display: inline-block;
  262. vertical-align: -4PX;
  263. }
  264. :deep(.el-breadcrumb__inner a),
  265. :deep(.el-breadcrumb__inner.is-link) {
  266. color: #000;
  267. font-weight: 400;
  268. text-decoration: none;
  269. transition: var(--el-transition-color);
  270. }
  271. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner),
  272. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a),
  273. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover),
  274. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover) {
  275. color: #000;
  276. }
  277. span {
  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. //网站列表
  288. .webSite {
  289. width: 100%;
  290. overflow: hidden;
  291. margin: 20PX auto;
  292. display: flex;
  293. flex-wrap: wrap;
  294. justify-content: space-between;
  295. .webSiteList {
  296. width: 50%;
  297. height: auto;
  298. // float: left;
  299. // padding: 20px 80px;
  300. padding: 20PX 0;
  301. border-bottom: 1PX dashed #ccc;
  302. box-sizing: border-box;
  303. overflow: hidden;
  304. .webSiteText {
  305. float: left;
  306. width: 50%;
  307. height: auto;
  308. padding: 10PX 0;
  309. box-sizing: border-box;
  310. a {
  311. display: block;
  312. float: left;
  313. width: 50%;
  314. height: 40PX;
  315. line-height: 40PX;
  316. font-size: 16PX;
  317. color: #333;
  318. text-align: center;
  319. &:first-child {
  320. width: 100%;
  321. }
  322. }
  323. }
  324. .webSiteImg {
  325. width: 50%;
  326. height: auto;
  327. float: left;
  328. a {
  329. width: 220PX;
  330. img {
  331. display: block;
  332. width: 220PX;
  333. height: 150PX;
  334. }
  335. span {
  336. display: block;
  337. height: 30PX;
  338. line-height: 30PX;
  339. text-align: center;
  340. font-size: 16PX;
  341. color: #333;
  342. }
  343. }
  344. }
  345. }
  346. }
  347. }
  348. }
  349. @media screen and (max-width: 800px) {
  350. .hxwz {
  351. font-family: '微软雅黑', Microsoft YaHei;
  352. //导航条
  353. .breadcrumb {
  354. width: 100%;
  355. height: 60px;
  356. line-height: 60px;
  357. margin-top: 40px;
  358. margin-bottom: 40px;
  359. .inner {
  360. width: 100%;
  361. border: 1px solid #ccc;
  362. color: #000;
  363. font-size: 32px;
  364. margin: 0 auto;
  365. .location {
  366. margin-right: 40px;
  367. width: 200px;
  368. height: 44px;
  369. font-family: Microsoft YaHei, Microsoft YaHei;
  370. font-weight: 400;
  371. font-size: 32px;
  372. color: #000;
  373. line-height: 46px;
  374. text-align: left;
  375. font-style: normal;
  376. text-transform: none;
  377. }
  378. }
  379. :deep(.el-breadcrumb__separator) {
  380. color: #000;
  381. font-weight: bold;
  382. margin: 0 18px;
  383. }
  384. :deep(.el-breadcrumb) {
  385. display: inline-block;
  386. vertical-align: -10px;
  387. }
  388. :deep(.el-breadcrumb__inner a),
  389. :deep(.el-breadcrumb__inner.is-link) {
  390. color: #000;
  391. font-weight: 400;
  392. text-decoration: none;
  393. transition: var(--el-transition-color);
  394. }
  395. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner),
  396. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a),
  397. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover),
  398. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover) {
  399. color: #000;
  400. }
  401. span {
  402. font-weight: 400;
  403. font-size: 32px;
  404. color: #000;
  405. line-height: 46px;
  406. text-align: left;
  407. font-style: normal;
  408. text-transform: none;
  409. }
  410. }
  411. //网站列表
  412. .webSite {
  413. width: 100%;
  414. overflow: hidden;
  415. margin: 20px auto;
  416. .webSiteList {
  417. width: 100%;
  418. height: auto;
  419. float: left;
  420. padding: 20px 60px;
  421. border-bottom: 1px dashed #ccc;
  422. box-sizing: border-box;
  423. .webSiteText {
  424. float: right;
  425. width: 50%;
  426. height: auto;
  427. a {
  428. display: block;
  429. float: left;
  430. width: 100%;
  431. height: 50px;
  432. line-height: 50px;
  433. font-size: 30px;
  434. color: #333;
  435. text-align: center;
  436. &:first-child {
  437. width: 100%;
  438. }
  439. }
  440. }
  441. .webSiteImg {
  442. width: 50%;
  443. height: auto;
  444. float: left;
  445. a {
  446. width: 100%;
  447. text-align: center;
  448. img {
  449. display: block;
  450. width: 100%;
  451. }
  452. span {
  453. display: block;
  454. width: 100%;
  455. height: 60px;
  456. line-height: 60px;
  457. text-align: center;
  458. font-size: 32px;
  459. color: #333;
  460. }
  461. }
  462. }
  463. }
  464. }
  465. }
  466. }
  467. </style>