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.

c12.htm 9.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <link rel="stylesheet" href="/template/pc/components/index/style12.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">
  8. 职称专业分类对照表
  9. </span>
  10. </div>
  11. <?php
  12. //判断是什么省份
  13. $route_param = request()->route();
  14. //var_dump();
  15. //$route_param['site']
  16. ?>
  17. <div class="qy-11-1">
  18. <div class="layui-col-xs12 qy-12">
  19. <div class="layui-col-xs12">
  20. <span class="font-20" style="top: 2px;"></span>
  21. {eyou:assign name='sitename' value='$route_param.site' /}
  22. {eyou:sql sql="SELECT id,parent_id,name,domain FROM ey_citysite WHERE domain = '$sitename'" cachetime='3600' id="res2"}
  23. {eyou:assign name='siteid' value='$res2.parent_id' /}
  24. {eyou:sql sql="SELECT id,parent_id,name,domain FROM ey_citysite WHERE id = $siteid" cachetime='3600' id="res3"}
  25. {eyou:assign name='site_pro_id' value='$res3.id' /}
  26. {eyou:assign name='site_pro_name' value='$res3.name' /}
  27. <!-- <a target="_blank" style="margin-left: 15px;" href="https://{$res3.domain}.zc10000.com">当前: {$res3.name}</a>-->
  28. <a target="_blank" href="" style="margin-left: 15px;">热门职称推荐</a>
  29. {/eyou:sql}
  30. {/eyou:sql}
  31. </div>
  32. <div class="layui-col-xs12 qy-13" style="height: auto; overflow: auto;margin: 0;padding: 15px 5px 8px 5px;">
  33. <!--sql调用-->
  34. <?php
  35. if($site == "www"){
  36. //调用伪山东
  37. $sql = "SELECT id FROM ey_arctype WHERE area_id=10000 and parent_id=38 and topid=38 and is_del=0 and status=1 ORDER BY id limit 0,25";
  38. }else{
  39. $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 limit 0,25";
  40. }
  41. ?>
  42. {eyou:sql sql="$sql" cachetime='3600' empty='没有数据' id='kp'}
  43. {eyou:type typeid="$kp.id" id='field2'}
  44. <span class="font-22">
  45. <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>
  46. <span class="clear"></span>
  47. {/eyou:type}
  48. {/eyou:sql}
  49. </div>
  50. </div>
  51. </div>
  52. <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;">
  53. <div class="" style="display: none;">
  54. <?php
  55. if($site == "www"){
  56. //调用伪山东
  57. $sql = "SELECT id FROM ey_arctype WHERE area_id=10000 and parent_id=38 and topid=38 and is_del=0 and status=1 ORDER BY id";
  58. }else{
  59. $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";
  60. }
  61. ?>
  62. {eyou:sql sql="$sql" cachetime='3600' empty='没有数据' id='kp'}
  63. {eyou:type typeid="$kp.id" id='field2'}
  64. <span class="font-22">
  65. <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>
  66. {/eyou:type}
  67. {/eyou:sql}
  68. </div>
  69. </div>
  70. <script>
  71. layui.use(['jquery'], function(args){
  72. var $ = layui.jquery;
  73. $(".qy-12").hover(function(){
  74. //鼠标进入和离开事件
  75. //var index = $(this).index();
  76. console.log(index);
  77. var index = 0;
  78. $("#sonMenu").show();
  79. $('#sonMenu div').hide();
  80. $('#sonMenu div:eq('+index+')').show();
  81. },function() {
  82. //离开就恢复初始样式
  83. });
  84. $("#sonMenu").hover(function(){
  85. },function() {
  86. //离开就恢复初始样式
  87. $("#sonMenu").hide();
  88. $('#sonMenu div').hide();
  89. });
  90. $(".box-4").hover(function(){
  91. },function() {
  92. //离开就恢复初始样式
  93. $("#sonMenu").hide();
  94. $('#sonMenu div').hide();
  95. });
  96. });
  97. </script>
  98. </div>
  99. <div class="layui-col-xs8 qy-11" style="position:relative;z-index:8000;">
  100. <div class="layui-col-xs8 qy-16">
  101. <div class="layui-carousel" id="banner" lay-filter="banner">
  102. <div carousel-item="">
  103. {eyou:adv pid='11'}
  104. <div>
  105. <a target="_blank" href='{$field.links}' ><img alt='{$field.title}' src='{$field.litpic}' style="width:100%;"/></a>
  106. </div>
  107. {/eyou:adv}
  108. </div>
  109. </div>
  110. </div>
  111. <div class="layui-col-xs8 qy-17" style="display: none;">
  112. <div class="layui-col-xs12 qy-20" style="position:relative;">
  113. <div class="layui-col-xs6">
  114. <span class="font-50">
  115. 最新
  116. {eyou:type typeid='115' empty='暂时没有数据'}
  117. <a target="_blank" href="{:get_tid_url_2($field['typeurl'])}">职称政策资讯</a>
  118. {/eyou:type}
  119. </span>
  120. </div>
  121. <div class="layui-col-xs6">
  122. <div class="layui-col-xs10">
  123. <span class="font-51">热门城市: </span>
  124. <!--url生成麻烦-->
  125. {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'}
  126. <span class="font-51">
  127. <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>
  128. {/eyou:sql}
  129. </div>
  130. <div class="layui-col-xs2 tr">
  131. <span class="font-52" id="area" style="cursor: pointer;">
  132. 全部 <img src="https://oss.zc10000.com/static/images/050.svg" />
  133. </span>
  134. </div>
  135. </div>
  136. </div>
  137. <!--显示所有城市-->
  138. <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">
  139. {eyou:citysite type="top" loop="50" id="field" currentclass="on"}
  140. <ul style="width:100%;margin-top:10px;"> <a target="_blank" class="{$field.currentclass}" style="font-weight: bold;" href="{$field.siteurl}">{$field.name}</a> </ul>
  141. <ul style="width:100%;">
  142. {eyou:citysite siteid="$field.id" loop="50" type ='son' currentclass="on" id
  143. ="field2"}
  144. <!--{$field2.siteurl}&domain={$field.domain}-->
  145. <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>
  146. {/eyou:citysite}
  147. <div class="clear"></div>
  148. </ul>
  149. {/eyou:citysite}
  150. </div>
  151. <script>
  152. layui.use(['jquery'], function(args){
  153. var $ = layui.jquery;
  154. $("#area").on("click", function() {
  155. $("#citys").toggleClass("hide");
  156. })
  157. });
  158. </script>
  159. <div class="layui-col-xs12 qy-30">
  160. {eyou:artlist typeid='115' limit='0,8' flag='c' titlelen='30' infolen='160' orderby='add_time'}
  161. <li class="layui-col-xs6 qy-30-li">
  162. <a target="_blank" href="{:get_tid_url_2($field['arcurl'],$field['typeid'],$field['stypeid'])}" class="font-53 font-53-active-{$i}">{$field.title}</a>
  163. </li>
  164. {/eyou:artlist}
  165. </div>
  166. </div>
  167. </div>
  168. <!--end--->
  169. </div>
  170. </div>