Açıklama Yok
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

c4.htm 9.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. <link rel="stylesheet" href="/template/pc/components/index/style4.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" style="text-align: center;">
  7. <span class="font-15">
  8. 职称专业分类对照表
  9. </span>
  10. </div>
  11. <div class="qy-11-1">
  12. <div class="layui-col-xs12 qy-12" style="margin-top: 0px;">
  13. <div class="layui-col-xs12 hot-index">
  14. </div>
  15. <div class="layui-col-xs12 qy-13" style="height: auto; overflow: hidden;margin: 0;padding: 8px 5px 8px 5px;">
  16. <!--sql调用-->
  17. {eyou:sql 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,23" cachetime='3600' empty='没有数据' id='kp'}
  18. {eyou:type typeid="$kp.id" id='field2'}
  19. <span class="font-22">
  20. <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>
  21. <span class="clear"></span>
  22. {/eyou:type}
  23. {/eyou:sql}
  24. </div>
  25. </div>
  26. </div>
  27. <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;">
  28. <div class="" style="display: none;">
  29. {eyou:sql 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" cachetime='3600' empty='没有数据' id='kp'}
  30. {eyou:type typeid="$kp.id" id='field2'}
  31. <span class="font-22">
  32. <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>
  33. {/eyou:type}
  34. {/eyou:sql}
  35. </div>
  36. </div>
  37. <script>
  38. layui.use(['jquery'], function(args){
  39. var $ = layui.jquery;
  40. //隐藏hover事件
  41. $(".qy-12").hover(function(){
  42. //鼠标进入和离开事件
  43. var index = $(this).index();
  44. console.log(index);
  45. $("#sonMenu").show();
  46. $('#sonMenu div').hide();
  47. $('#sonMenu div:eq('+index+')').show();
  48. },function() {
  49. //离开就恢复初始样式
  50. });
  51. $("#sonMenu").hover(function(){
  52. },function() {
  53. //离开就恢复初始样式
  54. $("#sonMenu").hide();
  55. $('#sonMenu div').hide();
  56. });
  57. $(".box-4").hover(function(){
  58. },function() {
  59. //离开就恢复初始样式
  60. $("#sonMenu").hide();
  61. $('#sonMenu div').hide();
  62. });
  63. });
  64. </script>
  65. </div>
  66. <div class="layui-col-xs8 qy-11">
  67. <div class="layui-col-xs8 qy-16">
  68. <div class="layui-carousel" id="banner" lay-filter="banner">
  69. <div carousel-item="">
  70. {eyou:adv pid='11'}
  71. <div>
  72. <a target="_blank" href='{$field.links}' ><img alt='{eyou:global name='web_name' /}导航图{$i}' src='{$field.litpic}' /></a>
  73. </div>
  74. {/eyou:adv}
  75. </div>
  76. </div>
  77. </div>
  78. <div class="layui-col-xs8 qy-17">
  79. <div class="layui-col-xs12 qy-20" style="position:relative;">
  80. <div class="layui-col-xs6">
  81. <span class="font-50">
  82. 职称网最新政策文件
  83. </span>
  84. </div>
  85. <div class="layui-col-xs6">
  86. <div class="layui-col-xs10">
  87. <span class="font-51">热门省份: </span>
  88. <!--url生成麻烦-->
  89. <?php
  90. /**
  91. * {:get_tid_url_2('https://www.zc10000.com/?m=home&site='.$field['domain'].'&sitepid='.$field['parent_id'])}
  92. *
  93. * {eyou:sql sql='SELECT id,name,domain,parent_id FROM __PREFIX__citysite WHERE parent_id=5290 and is_hot=1 and level=1 and status=1 order by update_time desc limit 0,4' cachetime='3600'}
  94. * {/eyou:sql}
  95. */
  96. ?>
  97. <span class="font-51">
  98. <a target="_blank" href="https://guangdong.zc10000.com/zcwj">广东</a></span>
  99. <span class="font-51">
  100. <a target="_blank" href="https://guangxi.zc10000.com/zcwj">广西</a></span>
  101. <span class="font-51">
  102. <a target="_blank" href="https://jiangsu.zc10000.com/zcwj">江苏</a></span>
  103. <span class="font-51">
  104. <a target="_blank" href="https://www.zc10000.com/shandong_zcwj">山东</a></span>
  105. </div>
  106. <div class="layui-col-xs2 tr">
  107. <a target="_blank" href="https://www.zc10000.com/zcwj"><span class="font-52" id="area" style="cursor: pointer;">
  108. 全部 <img src="https://oss.zc10000.com/static/images/050.svg" />
  109. </span></a>
  110. </div>
  111. </div>
  112. </div>
  113. <!--显示所有城市-->
  114. <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">
  115. <ul style="width:100%;margin-top:10px;"> <a target="_blank" class="" style="font-weight: bold;" href="https://www.zc10000.com/shandong">山东</a> </ul>
  116. <ul style="width:100%;">
  117. <!--{$field2.siteurl}&domain={$field.domain}-->
  118. {eyou:citysite siteid="5290" loop="50" type ='son' currentclass="on" id
  119. ="field2"}
  120. <li style="float: left;margin: 0 10px;" class="{$field2.currentclass}"><a target="_blank" href="https://www.zc10000.com/{$field2.domain}" >{$field2.name}</a> </li>
  121. {/eyou:citysite}
  122. <div class="clear"></div>
  123. </ul>
  124. <!--{$field2.siteurl}&domain={$field.domain}-->
  125. {eyou:citysite type="top" loop="50" id="field" currentclass="on"}
  126. <ul style="width:100%;margin-top:10px;"> <a target="_blank" class="{$field.currentclass}" style="font-weight: bold;" href="{$field.siteurl}">{$field.name}</a> </ul>
  127. <ul style="width:100%;">
  128. {eyou:citysite siteid="$field.id" loop="50" type ='son' currentclass="on" id
  129. ="field2"}
  130. <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>
  131. {/eyou:citysite}
  132. <div class="clear"></div>
  133. </ul>
  134. {/eyou:citysite}
  135. </div>
  136. <script>
  137. layui.use(['jquery'], function(args){
  138. var $ = layui.jquery;
  139. $("#area").on("click", function() {
  140. $("#citys").toggleClass("hide");
  141. })
  142. $("#citys").hover(function(){
  143. //鼠标进入和离开事件
  144. },function() {
  145. //离开就恢复初始样式
  146. $("#citys").addClass("hide");
  147. });
  148. });
  149. </script>
  150. <div class="layui-col-xs12 qy-30">
  151. <!-- flag='c' -->
  152. {eyou:artlist typeid='126,825' limit='0,8' titlelen='30' infolen='160' orderby='update_time desc'}
  153. <li class="layui-col-xs6 qy-30-li">
  154. <a target="_blank" href="{:get_tid_url_2($field['arcurl'],$field['typeid'],$field['stypeid'],'0','',0,$field['province_id'],$field['city_id'])}" class="font-53 font-53-active-{$i}">{$field.title|html_msubstr=###,0,22,true}</a>
  155. </li>
  156. {/eyou:artlist}
  157. </div>
  158. </div>
  159. </div>
  160. <!--end--->
  161. </div>
  162. </div>