Без опису
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <link rel="stylesheet" href="/template/mobile/users/skin/userfont/iconfont.css?v=<?php echo rand(1,100000); ?>" media="all">
  2. <link rel="stylesheet" href="/template/mobile/css/header.css?v=<?php echo rand(1,100000); ?>" media="all">
  3. <?php if(isset($page) && $page == 'document.htm' || isset($page) && $page == 'down'){ ?>
  4. <!--文档列表页和详情页--->
  5. {eyou:include file='/template/mobile/components/banner/style_4.htm' /}
  6. <?php }else{ ?>
  7. <div class="content-2">
  8. <div class="box-2">
  9. <div class="layui-row">
  10. <div class="layui-col-xs2 qy-2-1">
  11. <span class="font-3">
  12. <a target="_blank" href="{eyou:global name='web_basehost' /}" alt="{eyou:global name='web_name' /}LOGO">
  13. <img src="{eyou:global name='web_logo' /}" />
  14. </a>
  15. </span>
  16. </div>
  17. <!--搜索-->
  18. <?php
  19. if($page == 'lunwen-detail' && isset($page) || $page == 'special' && isset($page)){
  20. //不显示
  21. $key = '热门职称论文期刊';
  22. }else if($page === 'provincial'){
  23. //省级显示
  24. $key = '深圳职称网';
  25. }else{
  26. $key = '工程管理职称';
  27. }
  28. ?>
  29. {eyou:include file='/template/mobile/components/search/style_1.htm' /}
  30. <!--选择地区-->
  31. <?php
  32. if($page == 'lunwen-detail' && isset($page) || $page == 'special' && isset($page)){
  33. //不显示
  34. }else{
  35. ?>
  36. {eyou:include file='/template/mobile/components/choose/style_1.htm' /}
  37. <?php } ?>
  38. </div>
  39. </div>
  40. </div>
  41. <?php } ?>
  42. <?php
  43. //判断是什么省份
  44. $route_domain_header = request()->domain();
  45. $domain_header = explode('//',$route_domain_header);
  46. $domain_header = explode('.',$domain_header[1]);
  47. $site_header = $domain_header[0];
  48. //伪山东
  49. $site_1 = $route_param['site']?$route_param['site']:'';
  50. if($site_1 == 'shandong' && $site_header == 'www'){
  51. $site_header = shandong;
  52. }
  53. ?>
  54. <div class="content-3">
  55. <div class="box-3">
  56. <!--导航菜单-->
  57. <div class="top-menu">
  58. <div class="nav">
  59. <span>当前位置: 首页</span>
  60. </div>
  61. <div class="menu">
  62. <span>Menu</span>
  63. </div>
  64. </div>
  65. <div class="layui-col-xs8 qy-6 hide">
  66. {eyou:php}
  67. $catid = $_GET['tid']?$_GET['tid']:0;
  68. if((int)$catid === 56){
  69. $catid = $_GET['catids']?$_GET['catids']:0;
  70. }
  71. {/eyou:php}
  72. {eyou:assign name='rowNum' value='0' /}
  73. {eyou:navigation position_id='1' currentclass='active'}
  74. <?php
  75. $class = '';
  76. //var_dump($page);
  77. if($rowNum == 3 && $page == 'document.htm' || $rowNum == 3 && $page == 'down'){
  78. $class = 'active';
  79. }else if($rowNum == 2 && $page == 'lunwen-detail' || $rowNum == 2 && $page == 'lunwen-list'){
  80. $class = 'active';
  81. }else if($rowNum == 1 && $page == 'zccat' || $rowNum == 1 && $page == 'zccat-detail-list'){
  82. $class = 'active';
  83. }else if($rowNum == 4 && $page == 'article_list' && (int)$route_param['tid'] === 132 || $rowNum == 4 && $page == 'article-detail' && (int)$route_param['tid'] === 132){
  84. $class = 'active';
  85. }else if($rowNum == 0 && $page == 'index'){
  86. $class = 'active';
  87. }else if($rowNum == 5 && $page == 'special'){
  88. $class = 'active';
  89. }
  90. ?>
  91. {eyou:if condition='($rowNum == 0)'}
  92. <li class="qy-6-1">
  93. {eyou:if condition='($site_header != "www" && $site_header != "zc")'}
  94. {eyou:if condition='(!empty($city_domain) && $city_domain != "none")'}
  95. <a target="_blank" class="active" href='https://{$site_header}.zc10000.com/{$city_domain}' {$field.target} {$field.nofollow}>
  96. 城市主页
  97. </a>
  98. {eyou:else /}
  99. {eyou:if condition='($site_header == "zczl")'}
  100. <a target="_blank" class="" href='https://www.zc10000.com/' {$field.target} {$field.nofollow}>
  101. 首页
  102. </a>
  103. {eyou:elseif condition='($site_header == "shandong" && $domain_header[0] == "www")'}
  104. <a target="_blank" class="active" href='https://www.zc10000.com/{$site_header}' {$field.target} {$field.nofollow}>
  105. 省站主页
  106. </a>
  107. {eyou:else /}
  108. <a target="_blank" class="active" href='https://{$site_header}.zc10000.com/' {$field.target} {$field.nofollow}>
  109. 省站主页
  110. </a>
  111. {/eyou:if}
  112. {/eyou:if}
  113. {eyou:else /}
  114. <a target="_blank" class="{$class}" href='{$eyou.global.web_basehost}' {$field.target} {$field.nofollow}>
  115. {$field.en_name}
  116. </a>
  117. {/eyou:if}
  118. <!--城市主页 还得区分 url和name-->
  119. </li>
  120. {eyou:else /}
  121. <li>
  122. <a target="_blank" class="{$class}" href='{:get_tid_url_2($field["nav_url"])}' {$field.target} {$field.nofollow}>
  123. {$field.en_name}
  124. </a>
  125. </li>
  126. {/eyou:if}
  127. {eyou:php}
  128. $rowNum++;
  129. {/eyou:php}
  130. {/eyou:navigation}
  131. </div>
  132. <!--用户状态-->
  133. </div>
  134. </div>
  135. <!--清除float-->
  136. <div class="clear"></div>
  137. <script>
  138. layui.use(['jquery'], function(args){
  139. var $ = layui.jquery;
  140. $(".menu").on("click", function() {
  141. $(".box-3 .qy-6").toggleClass("hide");
  142. //加 这个
  143. return false;
  144. })
  145. $(".citys").hover(function(){
  146. //鼠标进入和离开事件
  147. },function() {
  148. //离开就恢复初始样式
  149. $(".citys").addClass("hide");
  150. });
  151. });
  152. </script>