|
@@ -0,0 +1,64 @@
|
|
|
+<!--头部开始-->
|
|
|
+@includeFileTemplate("/www/tuiyijunren/include/header.html"){}
|
|
|
+<!--头部结束-->
|
|
|
+<!--中间内容开始-->
|
|
|
+<script>
|
|
|
+ function renderPost(post_str,id) {
|
|
|
+ console.log(post_str)
|
|
|
+ // let html = "<h4>";
|
|
|
+ let arr = post_str.replace(/ /g,"").replace(/,/g," | ");
|
|
|
+ // html += arr + "</h4>"
|
|
|
+ /*for (let i = 0; i < arr.length; i++) {
|
|
|
+ html += +arr[i]+" | ";
|
|
|
+ }*/
|
|
|
+
|
|
|
+ // console.log(html);
|
|
|
+ // return html;
|
|
|
+ $("#"+id).html(arr);
|
|
|
+ }
|
|
|
+</script>
|
|
|
+<div class="er_content clearfix">
|
|
|
+ <div class="er_left fl">
|
|
|
+ <div class="er_nav">
|
|
|
+ <h4>就业信息</h4>
|
|
|
+ <#cms_category_list siteId="${site.siteId}" categoryId="1218" isNav="0" var="bean">
|
|
|
+ <a id="${bean.categoryId}" href="${frontPath}/${site.siteId}/${bean.categoryId}.html">${bean.categoryName}</a>
|
|
|
+ </#cms_category_list>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="er_right fl">
|
|
|
+ <div class="zyjn_list clearfix">
|
|
|
+ <#cms_pagination siteId="${site.siteId}" categoryId="${categoryId}" page="${page}" moreNum="6" var="page">
|
|
|
+ <#cms_content_list siteId="${site.siteId}" categoryId="${categoryId}" orderBy="3" isHot="0" hasChild="0" isRecommend="0" size="4" titleLen="24" var="bean" pageNumber="${page.current}">
|
|
|
+ <div class="zyjn_list_div">
|
|
|
+ <img src="${bean.thumb!}" alt="${bean.title!}"/>
|
|
|
+ <h1>${bean.title!}</h1>
|
|
|
+<!-- <h4>${bean.position_tag!}</h4>-->
|
|
|
+ <h4 id="${bean.content_id!}"></h4>
|
|
|
+ <script>
|
|
|
+ renderPost("${bean.position_tag!}","${bean.content_id!}");
|
|
|
+ </script>
|
|
|
+ <p>行业平均薪资</p>
|
|
|
+ <b>¥${bean.industry_average_ssalary!}</b>
|
|
|
+ <a class="zyjn_more" href="${frontPath}/${site.siteId}/${bean.categoryId}/${bean.contentId}.html">查看详细</a>
|
|
|
+ </div>
|
|
|
+ </#cms_content_list>
|
|
|
+ </#cms_pagination>
|
|
|
+ </div>
|
|
|
+ <div class="fenye">
|
|
|
+ @includeFileTemplate("/www/tuiyijunren/include/page.html"){}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+<script>
|
|
|
+ $(function () {
|
|
|
+ let id = "${categoryId}";
|
|
|
+ $("#"+id).addClass("on");
|
|
|
+ });
|
|
|
+</script>
|
|
|
+<!--中间内容结束-->
|
|
|
+<!--底部开始-->
|
|
|
+@includeFileTemplate("/www/tuiyijunren/include/footer.html"){}
|
|
|
+<!--底部结束-->
|
|
|
+</body>
|
|
|
+</html>
|