Aucune description
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

c11.htm 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. <link rel="stylesheet" href="/template/pc/components/index/style11.css" media="all">
  2. <div class="content-4">
  3. <div class="box-4">
  4. <!--start-->
  5. <div class="layui-col-xs4 qy-10">
  6. <div class="layui-col-xs12 qy-15">
  7. <span class="font-15 font-15-hot">
  8. {eyou:assign name='sitename' value='$route_param.site' /}
  9. {eyou:sql sql="SELECT id,parent_id,name,domain FROM ey_citysite WHERE domain = '$site'" cachetime='3600' id="res2"}
  10. {eyou:assign name='site_pro_id' value='$res2.id' /}
  11. {eyou:assign name='site_pro_name' value='$res2.name' /}
  12. {eyou:if condition='($site == "shandong" && $domain[0] == "www")'}
  13. 当前: <a target="_blank" style="margin-left: 15px;" href="https://www.zc10000.com/shandong">{$res2.name}</a>
  14. {eyou:else /}
  15. 当前: <a target="_blank" style="margin-left: 15px;" href="https://{$res2.domain}.zc10000.com">{$res2.name}</a>
  16. {/eyou:if}
  17. {/eyou:sql}
  18. <?php
  19. //var_dump($site);die;
  20. ?>
  21. </span>
  22. </div>
  23. <div class="qy-11-1">
  24. <div class="layui-col-xs12 qy-12">
  25. <div class="layui-col-xs12">
  26. <span class="font-20 font-20-hot" style="top: 2px;"></span>
  27. <a target="_blank" class="hot-city" style="margin-left: 15px;" href="https://{$res2.domain}.zc10000.com">热门城市</a>
  28. </div>
  29. <div class="layui-col-xs12 qy-13" style="height: auto; overflow: auto;margin: 0;padding: 8px 5px;overflow-x: hidden;margin-top:5px;">
  30. <!--sql调用 所有城市-->
  31. {eyou:sql sql="SELECT id,parent_id,name,domain FROM ey_citysite WHERE parent_id=$site_pro_id and is_hot=1" cachetime='3600' empty='没有数据' id='kp'}
  32. {eyou:if condition='($site == "shandong" && $domain[0] == "www")'}
  33. <span class="font-22 hot-city-a" style="">
  34. <a target="_blank" href="https://www.zc10000.com/{$kp.domain}" title="{$kp.name}">{$kp.name}</a>
  35. {eyou:else /}
  36. <span class="font-22 hot-city-a" style="">
  37. <a target="_blank" href="https://{$site}.zc10000.com/{$kp.domain}" title="{$kp.name}">{$kp.name}</a>
  38. {/eyou:if}
  39. </span>
  40. {/eyou:sql}
  41. <span class="clear"></span>
  42. </div>
  43. </div>
  44. <div class="layui-col-xs12 qy-12">
  45. <div class="layui-col-xs12">
  46. <span class="font-20 font-20-hot-2" style="top: 2px;"></span>
  47. {eyou:if condition='($site == "shandong" && $domain[0] == "www")'}
  48. <a target="_blank" class="hot-city-2" style="margin-left: 15px;" href="https://www.zc10000.com/{$res2.domain}">{$site_pro_name}所有城市</a>
  49. {eyou:else /}
  50. <a target="_blank" class="hot-city-2" style="margin-left: 15px;" href="https://{$res2.domain}.zc10000.com">{$site_pro_name}所有城市</a>
  51. {/eyou:if}
  52. </div>
  53. <div class="layui-col-xs12 qy-13" style="height: auto; overflow: auto;margin: 0;padding: 8px 5px;overflow-x: hidden;margin-top:5px;">
  54. <!--sql调用 所有城市-->
  55. {eyou:sql sql="SELECT id,parent_id,name,domain FROM ey_citysite WHERE parent_id=$site_pro_id" cachetime='3600' empty='没有数据' id='kp'}
  56. {eyou:if condition='($site == "shandong" && $domain[0] == "www")'}
  57. <span class="font-22" style="">
  58. <a target="_blank" href="https://www.zc10000.com/{$kp.domain}" title="{$kp.name}">{$kp.name}</a>
  59. </span>
  60. {eyou:else /}
  61. <span class="font-22" style="">
  62. <a target="_blank" href="https://{$site}.zc10000.com/{$kp.domain}" title="{$kp.name}">{$kp.name}</a>
  63. </span>
  64. {/eyou:if}
  65. {/eyou:sql}
  66. <span class="clear"></span>
  67. </div>
  68. </div>
  69. <div class="layui-col-xs12 qy-12 qy-12-1">
  70. <div class="layui-col-xs12">
  71. <span class="font-20 font-20-hot-2" style="top: 2px;"></span>
  72. {eyou:if condition='($site == "shandong" && $domain[0] == "www")'}
  73. <a target="_blank" class="hot-city-2" style="margin-left: 15px;" href="https://www.zc10000.com/{$res2.domain}">{$site_pro_name}热门职称推荐</a>
  74. {eyou:else /}
  75. <a target="_blank" class="hot-city-2" style="margin-left: 15px;" href="https://{$res2.domain}.zc10000.com">{$site_pro_name}热门职称推荐</a>
  76. {/eyou:if}
  77. </div>
  78. <div class="layui-col-xs12 qy-13" style="height: auto; overflow: auto;margin: 0;padding: 8px 5px;overflow-x: hidden;margin-top:5px;">
  79. <!--sql调用 热门职称-->
  80. <?php
  81. //area_id=$areaid
  82. if($site == 'shandong' && $domain[0] == 'www'){
  83. $site_pro_id = 10000;
  84. }
  85. //and is_hot=1
  86. $where1 = "area_id=$site_pro_id and parent_id=38 and topid=38 and is_del=0 and status=1 and is_hot=1";
  87. ?>
  88. {eyou:sql sql="SELECT id FROM __PREFIX__arctype where $where1 order by add_time asc limit 0,10" cachetime='3600' id='res'}
  89. {eyou:foreach name='$res' item='cat'}
  90. {eyou:type typeid='$cat' empty='暂时没有数据' id='item'}
  91. <span class="font-22 font-22-zc" style="">
  92. <a target="_blank" href="{:get_tid_url_2($item['typeurl'],0,0,0,'产品',$item['topid'],$item['area_id'])}" title="{$kp.name}">{$item.typename}</a>
  93. </span>
  94. {/eyou:type}
  95. {/eyou:foreach}
  96. {/eyou:sql}
  97. <span class="clear"></span>
  98. </div>
  99. </div>
  100. </div>
  101. <div id="sonMenu" style="width: 600px;height:567px;position: absolute;top:0;left:260px;background-color: #fff;z-index:9999;display: none;padding: 20px 10px;">
  102. <div class="" style="display: none;">
  103. {eyou:sql sql="SELECT id FROM ey_arctype WHERE area_id=$site_pro_id and parent_id=38 and topid=38 and is_del=0 and status=1 ORDER BY id" cachetime='3600' empty='没有数据' id='kp'}
  104. {eyou:type typeid="$kp.id" id='field2'}
  105. <span class="font-22">
  106. <a target="_blank" href="{:get_tid_url_2($field2['typeurl'],0,0,0,$field2['type'],$field2['topid'],$field2['area_id'])}" title="{$field2.typename}">{$field2.typename}</a></span>
  107. {/eyou:type}
  108. {/eyou:sql}
  109. </div>
  110. </div>
  111. <script>
  112. layui.use(['jquery'], function(args){
  113. var $ = layui.jquery;
  114. $(".qy-12-1").hover(function(){
  115. //鼠标进入和离开事件
  116. //var index = $(this).index();
  117. var index = 0;
  118. console.log(index);
  119. $("#sonMenu").show();
  120. $('#sonMenu div').hide();
  121. $('#sonMenu div:eq('+index+')').show();
  122. },function() {
  123. //离开就恢复初始样式
  124. });
  125. $("#sonMenu").hover(function(){
  126. },function() {
  127. //离开就恢复初始样式
  128. $("#sonMenu").hide();
  129. $('#sonMenu div').hide();
  130. });
  131. $(".box-4").hover(function(){
  132. },function() {
  133. //离开就恢复初始样式
  134. $("#sonMenu").hide();
  135. $('#sonMenu div').hide();
  136. });
  137. });
  138. </script>
  139. </div>
  140. <div class="layui-col-xs8 qy-11" style="position:relative;z-index:8000;">
  141. <div class="layui-col-xs8 qy-16">
  142. <div class="layui-carousel" id="banner" lay-filter="banner">
  143. <div carousel-item="">
  144. {eyou:adv pid='11'}
  145. <div>
  146. <a target="_blank" href='{$field.links}' ><img alt='{$field.title}' src='{$field.litpic}' style="width:100%;"/></a>
  147. </div>
  148. {/eyou:adv}
  149. </div>
  150. </div>
  151. </div>
  152. <div class="layui-col-xs8 qy-17" style="display: none;">
  153. <div class="layui-col-xs12 qy-20" style="position:relative;">
  154. <div class="layui-col-xs6">
  155. <span class="font-50">
  156. 最新
  157. {eyou:type typeid='115' empty='暂时没有数据'}
  158. <a target="_blank" href="{:get_tid_url_2($field['typeurl'])}">职称政策资讯</a>
  159. {/eyou:type}
  160. </span>
  161. </div>
  162. <div class="layui-col-xs6">
  163. <div class="layui-col-xs10">
  164. <span class="font-51">热门城市: </span>
  165. <!--url生成麻烦-->
  166. {eyou:sql sql='SELECT id,name,domain,parent_id FROM __PREFIX__citysite WHERE is_hot=1 and level=2 and status=1 order by update_time desc limit 0,4' cachetime='3600'}
  167. <span class="font-51">
  168. <a target="_blank" href="{:get_tid_url_2('https://www.zc10000.com/?m=home&site='.$field['domain'].'&sitepid='.$field['parent_id'])}">{$field.name}</a></span>
  169. {/eyou:sql}
  170. </div>
  171. <div class="layui-col-xs2 tr">
  172. <span class="font-52" id="area" style="cursor: pointer;">
  173. 全部 <img src="https://oss.zc10000.com/static/images/050.svg" />
  174. </span>
  175. </div>
  176. </div>
  177. </div>
  178. <!--显示所有城市-->
  179. <div id="citys" style="width: 98%;height:350px;position:absolute;top:40px;left:0%;background: #fff;z-index:9999;padding: 0 1%;overflow-y: scroll;border:1px solid #eee;" class="hide">
  180. {eyou:citysite type="top" loop="50" id="field" currentclass="on"}
  181. <ul style="width:100%;margin-top:10px;"> <a target="_blank" class="{$field.currentclass}" style="font-weight: bold;" href="{$field.siteurl}">{$field.name}</a> </ul>
  182. <ul style="width:100%;">
  183. {eyou:citysite siteid="$field.id" loop="50" type ='son' currentclass="on" id
  184. ="field2"}
  185. <!--{$field2.siteurl}&domain={$field.domain}-->
  186. <li style="float: left;margin: 0 10px;" class="{$field2.currentclass}"><a target="_blank" href="{:get_tid_url_2($field2['siteurl'].'&domain='.$field['domain'])}" >{$field2.name}</a> </li>
  187. {/eyou:citysite}
  188. <div class="clear"></div>
  189. </ul>
  190. {/eyou:citysite}
  191. </div>
  192. <script>
  193. layui.use(['jquery'], function(args){
  194. var $ = layui.jquery;
  195. /*$("#area").on("click", function() {
  196. $("#citys").toggleClass("hide");
  197. })*/
  198. });
  199. </script>
  200. <div class="layui-col-xs12 qy-30">
  201. {eyou:artlist typeid='115' limit='0,8' flag='c' titlelen='30' infolen='160' orderby='add_time'}
  202. <li class="layui-col-xs6 qy-30-li">
  203. <a target="_blank" href="{:get_tid_url_2($field['arcurl'],$field['typeid'],$field['stypeid'])}" class="font-53 font-53-active-{$i}">{$field.title}</a>
  204. </li>
  205. {/eyou:artlist}
  206. </div>
  207. </div>
  208. </div>
  209. <!--end--->
  210. </div>
  211. </div>