index.vue 16 KB

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