pageHead.vue 22 KB

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