pageHead.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. <template>
  2. <header>
  3. <div class="headerContainer">
  4. <div class="headerBox">
  5. <div class="headerMain">
  6. <div class="headerBox_left">欢迎来到全国法制资讯发布中心!</div>
  7. <div class="headerBox_right">
  8. <NuxtLink to="#">收藏</NuxtLink>
  9. <span>|</span>
  10. <NuxtLink to="/">人员查询</NuxtLink>
  11. <span>|</span>
  12. <NuxtLink to="/">车辆查询</NuxtLink>
  13. <span>|</span>
  14. <NuxtLink to="/" @click="phone_close_fun">用户登录</NuxtLink>
  15. </div>
  16. </div>
  17. </div>
  18. <div class="logoBox">
  19. <div class="logoBox_left">
  20. <NuxtLink to="/">
  21. <img src="../../public/header/logo.png" alt="logo">
  22. </NuxtLink>
  23. </div>
  24. <div class="logoBox_right">
  25. <div class="logoBox_right_top">
  26. <NuxtLink to="http://www.mps.gov.cn/">公安部</NuxtLink>
  27. <NuxtLink to="http://www.court.gov.cn/">最高人民法院</NuxtLink>
  28. <NuxtLink to="http://www.spp.gov.cn/">最高人民检察院</NuxtLink>
  29. <NuxtLink to="http://www.moj.gov.cn/">司法部</NuxtLink>
  30. <NuxtLink to="http://www.ccdi.gov.cn/">中央纪委国家监委</NuxtLink>
  31. </div>
  32. <div class="logoBox_right_center">
  33. <h2>
  34. <NuxtLink to="/">全国法制资讯发布中心 官网</NuxtLink>
  35. </h2>
  36. </div>
  37. <div class="logoBox_right_bottom">
  38. <h4 class="g_text">
  39. <NuxtLink to="/">全国政务信息一体化应用平台</NuxtLink>
  40. </h4>
  41. <h4>
  42. <NuxtLink to="/">fzxfb.org.cn</NuxtLink>
  43. </h4>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. </header>
  49. <!-- <header>
  50. <nav class="headerNav">
  51. <div class="inner">
  52. <div class="left">
  53. <span>
  54. <a href="http://znxyw.org.cn/" target="_blank">中农兴业网团</NuxtLink>
  55. </span>
  56. <span>旗下网站:<span>农业百强网站(政府类30强)</span></span>
  57. <div class="phone_head_btn" @click="togglePanel"></div>
  58. </div>
  59. <div class="right ">
  60. <div class="menu">
  61. <button class="reg" @click="goTopic">
  62. <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/head/topicon1.png" alt="商圈">商圈
  63. </button>
  64. <button class="reg" @click="goAdvertising">
  65. <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/head/topicon2.png" alt="广告服务">广告服务
  66. </button>
  67. <button class="reg" @click="goLogin" v-show="!showToken">
  68. <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/head/topicon3.png" alt="登录">登录
  69. </button>
  70. <button class="reg" @click="goRegister" v-show="!showToken">
  71. <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/head/topicon4.png" alt="注册">注册
  72. </button>
  73. <button class="reg" @click="userCenter" v-if="showToken">
  74. <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/head/topicon3.png" alt="用户信息">
  75. {{ username }}
  76. </button>
  77. <button class="reg" @click="goSearch">
  78. <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/head/searchicon.png" alt="搜索">搜索
  79. </button>
  80. </div>
  81. <ul class="userInfo11" v-if="isShow">
  82. <li @click="gotosystem">个人中心</li>
  83. <li @click="exit">退出</li>
  84. </ul>
  85. </div>
  86. </div>
  87. </nav>
  88. <div class="headerLogo">
  89. <div class="inner">
  90. <img :src="logo" :alt="webSiteName" class="left" @click="backHome">
  91. <div class="titlead" v-if="adImg">
  92. <a href="http://sannongdy.org.cn/" v-if="adImg.image_url == null" target="_blank"
  93. :title="adImg.introduce">
  94. <img :src="adImg.thumb" :alt="adImg.introduce" data-tag="imgurl.ad_tag" :id="adImg.ad_tag">
  95. </NuxtLink>
  96. <a :href="adImg.image_url" v-else :title="adImg.introduce">
  97. <img :src="adImg.image_src" :alt="adImg.introduce" data-tag="imgurl.ad_tag" :id="adImg.ad_tag">
  98. </NuxtLink>
  99. </div>
  100. <div class="logo_right_box">
  101. <div class="logo_right_btn" @click="goTopic">
  102. <img class="logo_right_btn_img" src="../../public/image/4.png" alt="商圈">
  103. <span class="logo_right_btn_text" >商圈</span>
  104. </div>
  105. <div class="logo_right_btn" @click="user_fun">
  106. <img class="logo_right_btn_img" src="../../public/image/6.png" alt="用户">
  107. <span class="logo_right_btn_text" >用户</span>
  108. </div>
  109. <div class="logo_right_btn" @click="goSearch">
  110. <img class="logo_right_btn_img" src="../../public/image/7.png" alt="搜索">
  111. <span class="logo_right_btn_text" >搜索</span>
  112. </div>
  113. </div>
  114. </div>
  115. </div>
  116. <El-dialog v-model="dialogTableVisible" width="800">
  117. <div class="tips">
  118. <p>
  119. <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/tips.png"> 提示:注册请联系管理员操作!
  120. </p>
  121. <p>联系电话:010-56019387</p>
  122. <p>QQ : 2909421493 、213552413</p>
  123. </div>
  124. </El-dialog>
  125. <El-dialog v-model="dialogTableVisible_phone" width="800">
  126. <div class="tips">
  127. <p>
  128. <img src="http://img.bjzxtw.org.cn/master/bjzxtw/public/topic/tips.png"> 注册请联系管理员操作!
  129. </p>
  130. <p>联系电话:010-56019387</p>
  131. <p>QQ : 2909421493 、213552413</p>
  132. <div class="dialog_load_btn" @click="phone_close_fun">登录</div>
  133. </div>
  134. </El-dialog>
  135. <section class="HomePanel_out" v-show="panelVisible">
  136. <HomePanel></HomePanel>
  137. </section>
  138. </header> -->
  139. </template>
  140. <script setup>
  141. // 引入全局状态-HomePanel_out
  142. const panelVisible = useState('panelVisible')
  143. //1.加载基本依赖 start ---------------------------------------->
  144. import { ref, watch, onMounted } from 'vue'
  145. import { ElDialog, ElMessage } from 'element-plus'
  146. import { getToken, setToken, removeToken } from '@/store/useCookieStore'
  147. import { setTicket, removeTicket } from '@/store/useticketStore'
  148. //网站地址
  149. const { $webUrl, $CwebUrl, $BwebUrl, $LoginWebUrl } = useNuxtApp()
  150. //1.加载基本依赖 end ---------------------------------------->
  151. //1.登录逻辑 start ---------------------------------------->
  152. let ticket = ref('')
  153. let token = ref('')
  154. let route = useRoute()
  155. //页面每次刷新先判断一下用户状态是否已经过期了
  156. //如果没有过期再储存token
  157. ticket.value = route.query.ticket
  158. token.value = route.query.admintoken
  159. if (ticket.value) {
  160. setTicket(ticket.value)
  161. }
  162. if (token.value) {
  163. setToken(token.value)
  164. }
  165. //搜索框
  166. let keyword = useState('keyword', () => '')
  167. //用户名
  168. let username = useState('username', () => '用户中心')
  169. //是否删除
  170. let isDel = useState('isDel', () => 1)
  171. //是否显示用户中心
  172. let isShow = useState('isShow', () => false)
  173. let token1 = useState("token1", () => '')
  174. let showToken = useState("showToken", () => '')
  175. token1.value = getToken()
  176. //检测登录状态
  177. let tokenStatus = ref('');
  178. tokenStatus.value = getToken()
  179. if (tokenStatus.value == undefined) {
  180. console.log("-------------------------------------未获取到用户token")
  181. } else {
  182. console.log("--------------------------------已获取到用户token")
  183. }
  184. //点击登录按钮
  185. let goLogin = () => {
  186. //开启线上登录模式 start---------------------------------------->
  187. isDel.value = 0
  188. token1.value = getToken()
  189. window.open($BwebUrl + "/#/login?backurl=" + $CwebUrl, '_blank');
  190. //开启线上登录模式 end---------------------------------------->
  191. //开启本地登录模式 start---------------------------------------->
  192. // window.location.href = $BwebUrl + "/auth/login.php?backurl=" + $CwebUrl;
  193. //"http://adminpre.bjzxtw.org.cn/auth/login.php?backurl=http://nwpre.bjzxtw.org.cn";
  194. //开启本地登录模式 end---------------------------------------->
  195. }
  196. let dialogTableVisible = ref(false)
  197. let dialogTableVisible_phone = ref(false)
  198. //点击注册按钮
  199. let goRegister = () => {
  200. dialogTableVisible.value = true
  201. }
  202. //点击用户中心
  203. let userCenter = () => {
  204. if (isShow.value) {
  205. isShow.value = false
  206. return
  207. } else {
  208. isShow.value = true
  209. return
  210. }
  211. }
  212. // 添加点击事件处理函数
  213. const handleClickOutside = (event) => {
  214. // 获取用户信息菜单元素
  215. const userInfoMenu = document.querySelector('.userInfo11');
  216. // 获取用户按钮元素
  217. const userButton = document.querySelector('.reg img[alt="用户信息"]')?.parentElement;
  218. // 如果点击的不是菜单本身且不是用户按钮,则隐藏菜单
  219. if (userInfoMenu &&
  220. !userInfoMenu.contains(event.target) &&
  221. !userButton?.contains(event.target)) {
  222. isShow.value = false;
  223. }
  224. }
  225. //2.登录逻辑 end ---------------------------------------->
  226. //3.跳转菜单逻辑 start ---------------------------------------->
  227. let gotosystem = () => {
  228. let url = $BwebUrl + '/#/login?userurl=' + $CwebUrl;
  229. isShow.value = false;
  230. //window.location.href = url;
  231. window.open(url, '_blank');
  232. }
  233. //点击退出按钮
  234. let exit = () => {
  235. window.location.href = $CwebUrl;
  236. isDel.value = 1
  237. token1.value = getToken()
  238. isShow.value = false;
  239. let tokendata = getToken()
  240. let url = $LoginWebUrl + '/api/logout?backurl=' + $CwebUrl + '&admintoken=' + tokendata;
  241. window.location.href = url;
  242. removeToken()
  243. removeTicket()
  244. }
  245. //点击返回首页
  246. let backHome = () => {
  247. window.location.href = $CwebUrl;
  248. }
  249. //点击搜索按钮
  250. let goSearch = () => {
  251. const route = `/search/search?keyword=${keyword.value}`;
  252. window.location.href = route;
  253. }
  254. // 点击广告服务
  255. let goAdvertising = () => {
  256. // window.open('/advertising?activeName=1', '_blank');//测试
  257. //本地启动广告服务
  258. //线上启动
  259. if (getToken()) {
  260. window.open($CwebUrl + '/advertising?activeName=1', '_blank');
  261. } else {
  262. goLogin()
  263. }
  264. }
  265. //点击商圈
  266. let goTopic = () => {
  267. if (getToken()) {
  268. window.open($CwebUrl + '/topic', '_blank');
  269. } else {
  270. goLogin()
  271. }
  272. }
  273. //点击用户==手机版11
  274. let user_fun = () => {
  275. if (getToken()) {
  276. //已经登录
  277. goLogin()
  278. } else {
  279. //没有登录
  280. dialogTableVisible_phone.value = true
  281. return
  282. }
  283. }
  284. // 添加关闭对话框处理函数
  285. const phone_close_fun = () => {
  286. // 在这里可以添加关闭对话框前需要执行的逻辑
  287. dialogTableVisible_phone.value = false;
  288. // 确保对话框关闭
  289. goLogin()
  290. }
  291. // 监听token状态
  292. watch(token1, (newval, oldval) => {
  293. showToken.value = newval
  294. }, {
  295. deep: true,
  296. immediate: true,
  297. })
  298. // 获得网站logo
  299. const logo = ref("")
  300. const webSiteName = ref("")
  301. let getLogo = async () => {
  302. const responseStatus = await requestDataPromise('/web/getWebsiteHead', {
  303. method: 'GET',
  304. query: {},
  305. });
  306. if (responseStatus.code == 200) {
  307. logo.value = responseStatus.data.logo;
  308. webSiteName.value = responseStatus.data.website_name;
  309. } else if (responseStatus.code == 0) {
  310. window.location.href = $CwebUrl + '/404';
  311. }
  312. }
  313. getLogo();
  314. //3.跳转菜单逻辑 end ---------------------------------------->
  315. //4.获取广告 start ---------------------------------------->
  316. let adImg = ref({})
  317. //4.获取广告 end ---------------------------------------->
  318. //5.获取登录状态 start ---------------------------------------->
  319. // 在组件卸载时移除事件监听
  320. onUnmounted(() => {
  321. document.removeEventListener('click', handleClickOutside);
  322. })
  323. onMounted(async () => {
  324. //添加监听关闭个人中心菜单
  325. document.addEventListener('click', handleClickOutside);
  326. //从客户端获取登录状态
  327. //从客户端阶段开始 持续查询登录状态
  328. let getLoginStatus = async () => {
  329. //获得token
  330. const token = getToken();
  331. const { $webUrl, $CwebUrl } = useNuxtApp();
  332. if (token == undefined) {
  333. //如果没有获取到token 不访问后端获取在线状态
  334. console.log("没有获取到token!无需查询登录状态!")
  335. showToken.value = false;
  336. } else {
  337. //如果获取到了token 访问后端查询状态
  338. console.log("已获取到用户token,开始查询登录状态!")
  339. const queryParams = new URLSearchParams({
  340. token: getToken()
  341. });
  342. let url = `${$webUrl}/api/loginStatus?${queryParams.toString()}`
  343. const responseStatus = await fetch(url, {
  344. method: 'GET',
  345. headers: {
  346. 'Content-Type': 'application/json',
  347. 'Userurl': $CwebUrl,
  348. //'token': getToken(),
  349. 'Origin': $CwebUrl
  350. }
  351. });
  352. const result = await responseStatus.json();
  353. console.log(result)
  354. if (result.code == 200) {
  355. console.log("用户已经登录!");
  356. showToken.value = true;
  357. }
  358. if (result.code == -1) {
  359. isShow.value = false;
  360. showToken.value = false;
  361. removeToken();
  362. removeTicket();
  363. ElMessage.error('您没有权限登录该网站!')
  364. }
  365. if (result.code == -2) {
  366. isShow.value = false;
  367. showToken.value = false;
  368. removeToken();
  369. removeTicket();
  370. ElMessage.error('您已退出登录!')
  371. }
  372. }
  373. }
  374. getLoginStatus();
  375. setInterval(getLoginStatus, 3000);
  376. //从客户端获取广告
  377. //从客户端获取行政职能部门 加快打开速度
  378. const { $webUrl, $CwebUrl } = useNuxtApp();
  379. //广告1
  380. let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=snzxw_top`
  381. const responseAd1 = await fetch(url, {
  382. headers: {
  383. 'Content-Type': 'application/json',
  384. 'Userurl': $CwebUrl,
  385. 'Origin': $CwebUrl
  386. }
  387. });
  388. const resultAd1 = await responseAd1.json();
  389. adImg.value = resultAd1.data[0];
  390. //从客户端获取用户名
  391. let userInfoUrl = `${$webUrl}/user/getUserInfo`
  392. const userInfoResponse = await fetch(userInfoUrl, {
  393. headers: {
  394. 'Content-Type': 'application/json',
  395. 'Userurl': $CwebUrl,
  396. 'Origin': $CwebUrl
  397. }
  398. });
  399. const userInfo = await userInfoResponse.json();
  400. if (userInfo.code == 200) {
  401. username.value = userInfo.data.nickname
  402. }
  403. })
  404. //5.获取登录状态 end ---------------------------------------->
  405. //点击手机
  406. // 添加全局状态
  407. // const panelVisible = useState('panelVisible', () => false)
  408. const togglePanel = () => {
  409. panelVisible.value = true
  410. }
  411. </script>
  412. <style lang="less" scoped>
  413. //自适应 start ---------------------------------------->
  414. //大于1400px
  415. @media screen and (min-width: 1401px) {
  416. .headerContainer {
  417. width: 100%;
  418. }
  419. .headerBox {
  420. width: 100%;
  421. height: 40PX !important;
  422. margin-bottom: 20PX !important;
  423. display: flex;
  424. align-items: center;
  425. justify-content: center;
  426. background: rgba(255, 255, 255, .6);
  427. .headerMain {
  428. display: flex;
  429. align-items: center;
  430. justify-content: space-between;
  431. width: 1400PX !important;
  432. .headerBox_left {
  433. font-size: 18PX !important;
  434. color:#0f50d5;
  435. }
  436. .headerBox_right {
  437. display: flex;
  438. align-items: center;
  439. justify-content: flex-end;
  440. a {
  441. font-size: 18PX !important;
  442. color:#0f50d5;
  443. margin-left: 6PX !important;
  444. }
  445. span {
  446. font-size: 14PX !important;
  447. margin-left: 6PX !important;
  448. }
  449. }
  450. }
  451. }
  452. .logoBox {
  453. width: 1300PX !important;
  454. height: 190PX !important;
  455. margin: 0 auto;
  456. display: flex;
  457. align-items: center;
  458. justify-content: space-between;
  459. .logoBox_left {
  460. width: 180PX !important;
  461. img {
  462. width: 180PX !important;
  463. height: 145PX !important;
  464. margin-top: 40PX !important;
  465. }
  466. }
  467. .logoBox_right {
  468. width: 1000PX !important;
  469. height: 215PX !important;
  470. .logoBox_right_top {
  471. text-align: right;
  472. a {
  473. font-size: 22PX !important;
  474. color: #0828bb;
  475. font-weight: bold;
  476. padding-left: 2%;
  477. -webkit-text-stroke: 1PX #FFF !important;
  478. }
  479. }
  480. .logoBox_right_center {
  481. h2 {
  482. width: 100%;
  483. height: 120PX !important;
  484. line-height: 120PX !important;
  485. }
  486. a {
  487. font-size: 81PX !important;
  488. color: #0828bb;
  489. font-weight: bold;
  490. -webkit-text-stroke: 3PX #FFF !important;
  491. }
  492. }
  493. .logoBox_right_bottom {
  494. display: flex;
  495. align-items: center;
  496. justify-content: space-between;
  497. h4 {
  498. height: 40PX !important;
  499. line-height: 40PX !important;
  500. a {
  501. font-size: 22PX !important;
  502. color: #0828bb;
  503. font-weight: bold;
  504. -webkit-text-stroke: .5px #FFF !important;
  505. }
  506. }
  507. }
  508. }
  509. }
  510. }
  511. //大于800px小于等于1400px
  512. @media screen and (min-width: 801px) and (max-width: 1400px) {
  513. .headerContainer {
  514. width: 100%;
  515. }
  516. .headerBox {
  517. width: 100%;
  518. //height: 40px;
  519. margin-bottom: 20px;
  520. display: flex;
  521. align-items: center;
  522. justify-content: center;
  523. background: rgba(255, 255, 255, .6);
  524. box-sizing: border-box;
  525. padding: 10px;
  526. .headerMain {
  527. display: flex;
  528. align-items: center;
  529. justify-content: space-between;
  530. width: 100%;
  531. .headerBox_left {
  532. font-size: 18PX;
  533. color:#0f50d5;
  534. }
  535. .headerBox_right {
  536. display: flex;
  537. align-items: center;
  538. justify-content: flex-end;
  539. a {
  540. font-size: 18PX;
  541. color:#0f50d5;
  542. margin-left: 6px;
  543. }
  544. span {
  545. font-size: 14PX;
  546. margin-left: 6px;
  547. }
  548. }
  549. }
  550. }
  551. .logoBox {
  552. width: 100%;
  553. height: 190PX;
  554. margin: 0 auto;
  555. display: flex;
  556. align-items: center;
  557. justify-content: space-between;
  558. box-sizing: border-box;
  559. padding: 0 20px;
  560. .logoBox_left {
  561. width: 20%;
  562. img {
  563. width: 80%;
  564. height: 100%;
  565. //margin-top: 40px;
  566. }
  567. }
  568. .logoBox_right {
  569. width: 80%;
  570. //height: 190px;
  571. .logoBox_right_top {
  572. text-align: right;
  573. a {
  574. font-size: 14px;
  575. color: #0828bb;
  576. font-weight: bold;
  577. padding-left: 2%;
  578. -webkit-text-stroke: 1PX #FFF;
  579. }
  580. }
  581. .logoBox_right_center {
  582. h2 {
  583. width: 100%;
  584. height: 60px;
  585. line-height: 60px;
  586. white-space: nowrap;
  587. text-align: right;
  588. overflow: hidden;
  589. }
  590. a {
  591. font-size: 40px;
  592. color: #0828bb;
  593. font-weight: bold;
  594. -webkit-text-stroke: 3PX #FFF;
  595. }
  596. }
  597. .logoBox_right_bottom {
  598. display: flex;
  599. align-items: center;
  600. justify-content: space-between;
  601. h4 {
  602. height: 35px;
  603. line-height: 35px;
  604. a {
  605. font-size: 18px;
  606. color: #0828bb;
  607. font-weight: bold;
  608. -webkit-text-stroke: .5px #FFF;
  609. }
  610. }
  611. }
  612. }
  613. }
  614. }
  615. //小于等于800px
  616. @media screen and (max-width: 800px) {
  617. .headerContainer {
  618. width: 100%;
  619. margin-top: 80px;
  620. }
  621. .headerBox {
  622. width: 100%;
  623. height: 40px;
  624. margin-bottom: 20px;
  625. display: flex;
  626. align-items: center;
  627. justify-content: center;
  628. background: rgba(255, 255, 255, .6);
  629. display: none;
  630. .headerMain {
  631. display: flex;
  632. align-items: center;
  633. justify-content: space-between;
  634. width: 100%;
  635. .headerBox_left {
  636. font-size: 18px;
  637. color:#0f50d5;
  638. }
  639. .headerBox_right {
  640. display: flex;
  641. align-items: center;
  642. justify-content: flex-end;
  643. a {
  644. font-size: 18px;
  645. color:#0f50d5;
  646. margin-left: 6px;
  647. }
  648. span {
  649. margin-left: 6px;
  650. }
  651. }
  652. }
  653. }
  654. .logoBox {
  655. width: 100%;
  656. padding: 20PX 10PX;
  657. margin: 0 auto;
  658. display: flex;
  659. align-items: center;
  660. justify-content: space-between;
  661. box-sizing: border-box;
  662. .logoBox_left {
  663. width: 20%;
  664. img {
  665. width: 100%;
  666. display: block;
  667. height: auto;
  668. }
  669. }
  670. .logoBox_right {
  671. width: 78%;
  672. .logoBox_right_top {
  673. display: none;
  674. text-align: right;
  675. a {
  676. font-size: 22px;
  677. color: #0828bb;
  678. font-weight: bold;
  679. padding-left: 2%;
  680. -webkit-text-stroke: 1px #FFF;
  681. }
  682. }
  683. .logoBox_right_center {
  684. h2 {
  685. width: 100%;
  686. height: 80px;
  687. line-height: 80px;
  688. }
  689. a {
  690. font-size: 45px;
  691. color: #0828bb;
  692. font-weight: bold;
  693. -webkit-text-stroke: 1px #FFF;
  694. }
  695. }
  696. .logoBox_right_bottom {
  697. display: flex;
  698. align-items: center;
  699. justify-content: space-between;
  700. h4 {
  701. a {
  702. font-size: 22px;
  703. color: #0828bb;
  704. font-weight: bold;
  705. -webkit-text-stroke: .1px #FFF;
  706. }
  707. }
  708. }
  709. }
  710. }
  711. }
  712. //自适应 end ---------------------------------------->
  713. </style>