pageHead.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617
  1. <template>
  2. <div>
  3. <!-- 手机端 -->
  4. <div class="headTitle">
  5. <div class="left">
  6. <a href="#">欢迎来到全国法制舆情监测中心!</a>
  7. </div>
  8. <div class="right" @click="isShowNav = !isShowNav">
  9. <span>首页</span>
  10. <img src="../../public/index/btn.png" alt="">
  11. </div>
  12. </div>
  13. <div class="phoneNavList" v-show="isShowNav">
  14. <div class="login">
  15. <a href="#">用户登录</a>
  16. </div>
  17. <div class="navlist1">
  18. <a href="/sannongzixunzhifuxinxi/list-1.html">法制资讯</a>
  19. <a href="#">各地动态</a>
  20. <a href="#">特别关注</a>
  21. <a href="#">媒体视点</a>
  22. <a href="#">法纪通报</a>
  23. <a href="#">今日说法</a>
  24. <a href="#">政策法规</a>
  25. <a href="#">政策解读</a>
  26. <a href="#">政务公开</a>
  27. <a href="#">内参纪要</a>
  28. <a href="#">执法在线</a>
  29. <a href="#">法制监察</a>
  30. <a href="#">监督调查</a>
  31. <a href="#">社会调研</a>
  32. <a href="#">典型案例</a>
  33. <a href="#">廉政时讯</a>
  34. <a href="#">法制时评</a>
  35. <a href="#">法制宣传</a>
  36. <a href="#">百姓话题</a>
  37. <a href="#">举报投诉</a>
  38. <a href="#">经济与法</a>
  39. <a href="#">法制建设</a>
  40. </div>
  41. <div class="navlist1">
  42. <a href="#">领导信箱</a>
  43. <a href="#">投诉举报</a>
  44. <a href="#">网上政务</a>
  45. <a href="#">志愿服务</a>
  46. <a href="#">公益活动</a>
  47. <a href="#">在线服务</a>
  48. <a href="#">网民留言</a>
  49. <a href="#">法制知识</a>
  50. <a href="#">法律咨询</a>
  51. <a href="#">通知公告</a>
  52. <a href="#">官网导航</a>
  53. </div>
  54. <div class="navlist1">
  55. <a href="#">人员查询</a>
  56. <a href="#">车辆查询</a>
  57. <a href="#">地市中心</a>
  58. <a href="#">调研选题</a>
  59. <a href="#">介绍信查询</a>
  60. <a href="#">核心网站</a>
  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="close" @click="isShowNav = false">
  68. <img src="../../public/index/no.png" alt="">
  69. </div>
  70. </div>
  71. <!-- PC端 -->
  72. <div class="pageHead">
  73. <div class="head">
  74. <div class="inner">
  75. <div class="left">
  76. <a href="#">欢迎来到全国法制舆情监测中心!</a>
  77. </div>
  78. <div class="right">
  79. <a href="#">收藏</a>
  80. <span>|</span>
  81. <a href="/renyuanchaxun">人员查询</a>
  82. <span>|</span>
  83. <a href="/cheliangchaxun">车辆查询</a>
  84. <span>|</span>
  85. <a href="#">用户登录</a>
  86. </div>
  87. </div>
  88. </div>
  89. <div class="content">
  90. <div class="topTitle">
  91. <a href="#">公安部</a>
  92. <a href="#">最高人民法院</a>
  93. <a href="#">最高人民检察院</a>
  94. <a href="#">司法部</a>
  95. <a href="#">中央纪委国家监委</a>
  96. </div>
  97. <div class="bottomContent">
  98. <div class="leftLogo">
  99. <img src="../../public/index/logo.png" alt="">
  100. </div>
  101. <div class="contentRight">
  102. <h1 class="title">
  103. <a href="#">全国法制舆情监测中心 官网</a>
  104. </h1>
  105. <div class="subtitle">
  106. <a href="#">全国政务信息一体化应用平台</a>
  107. <a href="#">fazyqjczx.org.cn</a>
  108. </div>
  109. </div>
  110. </div>
  111. </div>
  112. <div class="cxBtn">
  113. <div class="cxBtnItem">
  114. <a href="/renyuanchaxun">人员查询</a>
  115. </div>
  116. <div class="cxBtnItem">
  117. <a href="/cheliangchaxun">车辆查询</a>
  118. </div>
  119. <div class="cxBtnItem">
  120. <a href="/dishizhongxin">地市中心</a>
  121. </div>
  122. <div class="cxBtnItem">
  123. <a href="/diaoyanxuanti">调研选题</a>
  124. </div>
  125. <div class="cxBtnItem">
  126. <a href="/jieshaoxinchaxun">介绍信查询</a>
  127. </div>
  128. </div>
  129. </div>
  130. </div>
  131. </template>
  132. <script setup>
  133. import { ref } from 'vue'
  134. const isShowNav = ref(false)
  135. </script>
  136. <style scoped lang="less">
  137. // PC端 >1400px
  138. @media screen and (min-width: 1401px) {
  139. .headTitle {
  140. display: none;
  141. }
  142. .phoneNavList {
  143. display: none;
  144. }
  145. .pageHead {
  146. width: 100%;
  147. height: 315PX;
  148. .head {
  149. width: 100%;
  150. background-color: rgba(255, 255, 255, .7);
  151. margin-bottom: 20PX;
  152. .inner {
  153. width: 1400PX;
  154. margin: 0 auto;
  155. line-height: 38PX;
  156. font-family: "微软雅黑", "microsoft yahei";
  157. display: flex;
  158. justify-content: space-between;
  159. .left {
  160. a {
  161. color: #000;
  162. font-size: 18PX;
  163. }
  164. }
  165. .right {
  166. a {
  167. color: #000;
  168. font-size: 18PX;
  169. padding: 0 10PX;
  170. box-sizing: border-box;
  171. }
  172. span {
  173. font-size: 14PX;
  174. color: #333;
  175. }
  176. }
  177. }
  178. }
  179. .content {
  180. width: 100%;
  181. height: 190PX;
  182. width: 1300PX;
  183. margin: 0 auto;
  184. .topTitle {
  185. display: flex;
  186. justify-content: flex-end;
  187. a {
  188. font-size: 22PX;
  189. color: #FF0024;
  190. font-weight: bold;
  191. padding-left: 2%;
  192. text-shadow: 1PX 0 0 #fff, 0 1PX 0 #fff, 0 -1PX 0 #fff, -1PX 0 0 #fff, 1PX 0 1PX #fff, 0 1PX 1PX #fff, 0 -1PX 1PX #fff, -1PX 0 1PX #fff;
  193. }
  194. }
  195. .bottomContent {
  196. font-family: "微软雅黑", "microsoft yahei";
  197. display: flex;
  198. justify-content: space-between;
  199. .leftLogo {
  200. img {
  201. width: 180PX;
  202. height: 145PX;
  203. margin-top: 10PX;
  204. }
  205. }
  206. .contentRight {
  207. .title {
  208. height: 120PX;
  209. line-height: 120PX;
  210. a {
  211. font-size: 81PX;
  212. color: #FF0024;
  213. font-weight: bold;
  214. -webkit-text-stroke: 1px #fff;
  215. }
  216. }
  217. .subtitle {
  218. height: 40PX;
  219. line-height: 40PX;
  220. display: flex;
  221. justify-content: space-between;
  222. a {
  223. font-size: 22PX;
  224. color: #ff0024;
  225. font-weight: bold;
  226. text-shadow: 1PX 0 0 #fff, 0 1PX 0 #fff, 0 -1PX 0 #fff, -1PX 0 0 #fff, 1PX 0 1PX #fff, 0 1PX 1PX #fff, 0 -1PX 1PX #fff, -1PX 0 1PX #fff;
  227. }
  228. }
  229. }
  230. }
  231. }
  232. .cxBtn {
  233. width: 1300PX;
  234. margin: 0 auto;
  235. height: 40PX;
  236. line-height: 40PX;
  237. display: flex;
  238. justify-content: center;
  239. .cxBtnItem {
  240. width: 100PX;
  241. margin: 0 10PX;
  242. display: inline-block;
  243. line-height: 30PX;
  244. background: #ff0024;
  245. text-align: center;
  246. a {
  247. font-size: 18PX;
  248. color: #fff;
  249. }
  250. }
  251. }
  252. }
  253. }
  254. // 801px -- 1400px
  255. @media screen and (min-width: 801px) and (max-width: 1400px) {
  256. .headTitle {
  257. display: none;
  258. }
  259. .phoneNavList {
  260. display: none;
  261. }
  262. .pageHead {
  263. width: 100%;
  264. height: 310PX;
  265. .head {
  266. font-size: 14px;
  267. width: 100%;
  268. background-color: rgba(255, 255, 255, .7);
  269. // border-bottom: 2px solid #ccc;
  270. margin-bottom: 20PX;
  271. padding: 0 1%;
  272. box-sizing: border-box;
  273. .inner {
  274. width: 100%;
  275. margin: 0 auto;
  276. line-height: 30px;
  277. font-family: "微软雅黑", "microsoft yahei";
  278. display: flex;
  279. justify-content: space-between;
  280. .left {
  281. a {
  282. color: #000;
  283. }
  284. }
  285. .right {
  286. a {
  287. color: #000;
  288. padding: 0 10px;
  289. box-sizing: border-box;
  290. }
  291. span {
  292. color: #333;
  293. }
  294. }
  295. }
  296. }
  297. .content {
  298. width: 100%;
  299. padding: 0 1%;
  300. box-sizing: border-box;
  301. .topTitle {
  302. display: flex;
  303. justify-content: flex-end;
  304. a {
  305. font-size: 18px;
  306. color: #ff0024;
  307. font-weight: bold;
  308. padding-left: 2%;
  309. -webkit-text-stroke: 1px #fff;
  310. }
  311. }
  312. .bottomContent {
  313. font-family: "微软雅黑", "microsoft yahei";
  314. .leftLogo {
  315. width: 20%;
  316. float: left;
  317. img {
  318. width: 85px;
  319. height: 66px;
  320. margin-top: 10PX;
  321. margin-right: 20PX;
  322. }
  323. }
  324. .contentRight {
  325. width: 80%;
  326. float: left;
  327. .title {
  328. width: 100%;
  329. height: 100PX;
  330. line-height: 110PX;
  331. text-align: center;
  332. a {
  333. font-size: 27px;
  334. color: #ff0024;
  335. font-weight: bold;
  336. letter-spacing: 10px;
  337. text-shadow: 2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, -2px 0 0 #fff, 2px 0 2px #fff, 0 2px 2px #fff, 0 -2px 2px #fff, -2px 0 2px #fff;
  338. }
  339. }
  340. .subtitle {
  341. width: 100%;
  342. height: 40PX;
  343. line-height: 40PX;
  344. display: flex;
  345. justify-content: space-between;
  346. a {
  347. font-size: 20PX;
  348. color: #ff0024;
  349. font-weight: bold;
  350. text-shadow: 1px 0 0 #fff, 0 1px 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff, 1px 0 1px #fff, 0 1px 1px #fff, 0 -1px 1px #fff, -1px 0 1px #fff;
  351. }
  352. }
  353. }
  354. }
  355. }
  356. .cxBtn {
  357. width: 100%;
  358. margin: 0 auto;
  359. height: 40PX;
  360. padding-top: 10PX;
  361. display: flex;
  362. justify-content: center;
  363. .cxBtnItem {
  364. width: 100PX;
  365. margin: 0 10PX;
  366. display: inline-block;
  367. line-height: 40PX;
  368. background: #ff0024;
  369. text-align: center;
  370. a {
  371. font-size: 18PX;
  372. color: #fff;
  373. font-family: "微软雅黑", "microsoft yahei";
  374. }
  375. }
  376. }
  377. }
  378. }
  379. // 手机端 <= 800px
  380. @media screen and (max-width: 800px) {
  381. .headTitle {
  382. position: fixed;
  383. top: 0;
  384. left: 0;
  385. z-index: 9999999;
  386. font-family: "微软雅黑", "microsoft yahei";
  387. width: 100%;
  388. height: 90px;
  389. line-height: 90px;
  390. font-size: 30px;
  391. background-color: #f1f1f1;
  392. padding: 0 20px;
  393. box-sizing: border-box;
  394. overflow: hidden;
  395. .left {
  396. a {
  397. font-size: 30px;
  398. color: #000;
  399. }
  400. }
  401. .right {
  402. span {
  403. display: inline-block;
  404. margin-right: 20px;
  405. }
  406. img {
  407. width: 34px;
  408. height: 34px;
  409. vertical-align: -3px;
  410. }
  411. }
  412. }
  413. .phoneNavList {
  414. position: fixed;
  415. top: 90px;
  416. left: 0;
  417. z-index: 9999999;
  418. width: 100%;
  419. padding: 40px;
  420. box-sizing: border-box;
  421. background-color: #eeeeee;
  422. .login {
  423. width: 100%;
  424. height: 100px;
  425. line-height: 100px;
  426. border-bottom: 1px solid #c1c1c1;
  427. padding: 0 20px;
  428. a {
  429. font-size: 37px;
  430. color: #333;
  431. padding: 10px 0;
  432. }
  433. }
  434. .navlist1 {
  435. width: 100%;
  436. display: flex;
  437. flex-wrap: wrap;
  438. justify-content: flex-start;
  439. border-bottom: 1px solid #c1c1c1;
  440. padding: 14px 0;
  441. a {
  442. font-size: 37px;
  443. color: #333;
  444. padding: 6px 20px;
  445. }
  446. }
  447. .close {
  448. width: 68px;
  449. height: 68px;
  450. line-height: 68px;
  451. text-align: center;
  452. background-color: #333;
  453. border-radius: 100%;
  454. margin: 30px auto 5px;
  455. img {
  456. width: 36px;
  457. height: 36px;
  458. padding: 15px;
  459. }
  460. }
  461. }
  462. .pageHead {
  463. margin-top: 90px;
  464. font-family: "微软雅黑", "microsoft yahei";
  465. position: relative;
  466. width: 100%;
  467. height: 300px;
  468. background: url(../../public/index/banner.jpg) no-repeat center top;
  469. background-size: 100% 100%;
  470. overflow: hidden;
  471. .head {
  472. display: none;
  473. }
  474. .content {
  475. width: 100%;
  476. margin: 0 auto;
  477. .topTitle {
  478. display: none;
  479. }
  480. .bottomContent {
  481. width: 100%;
  482. height: auto;
  483. overflow: hidden;
  484. padding: 40px 20px;
  485. box-sizing: border-box;
  486. .leftLogo {
  487. width: 20%;
  488. float: left;
  489. margin-top: 0;
  490. img {
  491. width: 100%;
  492. }
  493. }
  494. .contentRight {
  495. width: 78%;
  496. float: right;
  497. overflow: hidden;
  498. height: auto;
  499. margin-top: 10px;
  500. .title {
  501. width: 100%;
  502. text-align: center;
  503. a {
  504. font-size: 40px;
  505. letter-spacing: 4px;
  506. color: #ff0024;
  507. font-weight: bold;
  508. text-shadow: 2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, -2px 0 0 #fff, 2px 0 2px #fff, 0 2px 2px #fff, 0 -2px 2px #fff, -2px 0 2px #fff;
  509. }
  510. }
  511. .subtitle {
  512. width: 100%;
  513. margin-top: 26px;
  514. display: flex;
  515. justify-content: space-between;
  516. a {
  517. font-size: 24px;
  518. color: #ff0024;
  519. font-weight: bold;
  520. text-shadow: 1px 0 0 #fff, 0 1px 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff, 1px 0 1px #fff, 0 1px 1px #fff, 0 -1px 1px #fff, -1px 0 1px #fff;
  521. }
  522. }
  523. }
  524. }
  525. }
  526. .cxBtn {
  527. width: 100%;
  528. margin: 0 auto;
  529. display: flex;
  530. justify-content: center;
  531. .cxBtnItem {
  532. width: 19%;
  533. margin: 0 10px;
  534. display: inline-block;
  535. height: 60px;
  536. line-height: 60px;
  537. background-color: #ff0024;
  538. // background: linear-gradient(to bottom, #52dcfb, #187ef1);
  539. text-align: center;
  540. a {
  541. font-size: 26px;
  542. color: #fff;
  543. }
  544. }
  545. }
  546. }
  547. }
  548. </style>