Browse Source

岗位模板

Memory_LG 3 months ago
parent
commit
00c396e474

+ 1 - 0
.idea/vcs.xml

@@ -2,5 +2,6 @@
 <project version="4">
   <component name="VcsDirectoryMappings">
     <mapping directory="" vcs="Git" />
+    <mapping directory="$PROJECT_DIR$" vcs="Git" />
   </component>
 </project>

BIN
src/main/resources/static/images/success.png


+ 1 - 1
src/main/resources/static/js/login/login_tooltips.js

@@ -30,7 +30,7 @@ function show_msg(msg, url, type) {
     if (type) {
         var htmltop = '<div class="bac" style="padding:8px 0px;border:1px solid #090;width:100%;margin:0 auto;background-color:#FFF2F8;color:#090;border:3px #090 solid;;text-align:center;font-size:16px;"><img style="margin-right:10px;" src="/static/images/loading.gif">';
     } else {
-        var htmltop = '<div class="bac" style="padding:8px 0px;border:1px solid #090;width:100%;margin:0 auto;background-color:#FFF2F8;color:#090;border:3px #090 solid;;text-align:center;font-size:16px;"><img style="margin-right:10px;" src="/static/images/error.png">';
+        var htmltop = '<div class="bac" style="padding:8px 0px;border:1px solid #090;width:100%;margin:0 auto;background-color:#FFF2F8;color:#090;border:3px #090 solid;;text-align:center;font-size:16px;"><img style="margin-right:10px;" src="/static/images/success.png">';
     }
     var htmlfoot = '</div>';
     $('.msg_bg').height($(document).height());

File diff suppressed because it is too large
+ 30 - 0
src/main/resources/templates/www/tuiyijunren/content-dpsg.html


+ 64 - 0
src/main/resources/templates/www/tuiyijunren/list-dpsg.html

@@ -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>