Ver código fonte

Merge remote-tracking branch 'origin/master'

JX.Li 5 meses atrás
pai
commit
1aca86606c

+ 14 - 0
src/main/java/com/sooka/module/web/cms/IndexController.java

@@ -106,6 +106,20 @@ public class IndexController {
         return new ModelAndView( "forward:/"+sitePrefix+"/"+site.getSiteId());
     }
 
+    @GetMapping("/login")
+    public ModelAndView login(){
+        ModelAndView modelAndView=new ModelAndView("www/tuiyijunren/login");
+        modelAndView.addObject("resPath",httpProtocol+"://"+ host+":"+port+"/"+siteName+"/"+"static"+"/"+"www");
+        return modelAndView;
+    }
+
+    @GetMapping("/register")
+    public ModelAndView register(){
+        ModelAndView modelAndView=new ModelAndView("www/tuiyijunren/register");
+        modelAndView.addObject("resPath",httpProtocol+"://"+ host+":"+port+"/"+siteName+"/"+"static"+"/"+"www");
+        return modelAndView;
+    }
+
     @RequestMapping("/queryDescription")
     public ModelAndView QueryTitleDescription (String keyword, String siteId, @RequestParam(value = "number",defaultValue = "1") Integer pageNumber){
         ModelAndView modelAndView=new ModelAndView("www/xczxw/listBySouSuo");

+ 18 - 0
src/main/resources/templates/www/tuiyijunren/content-zph.html

@@ -0,0 +1,18 @@
+<!--头部开始-->
+@includeFileTemplate("/www/tuiyijunren/include/header.html"){}
+<!--头部结束-->
+<!--中间内容开始-->
+<div class="er_content"> 
+	<div class="dqwz"><span>当前位置:<a href="${frontPath}/${site.siteId}">网站首页</a><a href="${frontPath}/${site.siteId}/${category.categoryId}.html">${category.categoryName}</a></span></div>
+	<div class="news_txt">
+		<h1>${content.title!}</h1>
+		<h5><i class="laiy">来源:${content.author!}</i><i class="date">时间:${content.inputdate,dateFormat="yyyy-MM-dd"}</i></h5>
+		<p>${content.content}</p>
+	</div>
+</div>
+<!--中间内容结束-->
+<!--底部开始-->
+@includeFileTemplate("/www/tuiyijunren/include/footer.html"){}
+<!--底部结束-->
+</body>
+</html>

+ 5 - 1
src/main/resources/templates/www/tuiyijunren/include/header-index.html

@@ -17,7 +17,11 @@
 <body>
 <!--头部开始-->
 <div class="header">
-    <div class="top_btn"><span><a>登录</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a>注册</a></span></div>
+    <div class="top_btn">
+        <span>
+            <a href="login">登录</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="/register">注册</a>
+        </span>
+    </div>
     <div class="wid1200"><img src="${resPath}/tuiyijunren/images/twjr_logo.png"/>
         <form class="ss">
             <input type="text" class="ss_inp" placeholder="请输入搜索关键词"/>

+ 7 - 1
src/main/resources/templates/www/tuiyijunren/index.html

@@ -1,6 +1,7 @@
 <!--头部开始-->
 @includeFileTemplate("/www/tuiyijunren/include/header-index.html"){}
 <!--头部结束-->
+
 <!--中间内容开始-->
 <div class="content wid1200">
     <!--	图片轮播 开始-->
@@ -17,6 +18,9 @@
         </div>
     </div>
     <!--	图片轮播 结束-->
+
+
+
     <!--  通知公告 国家政策 地方政策 开始-->
     <div class="con_news fr">
         <div class="news_tab_tit">
@@ -232,6 +236,7 @@
 @includeFileTemplate("/www/tuiyijunren/include/footer.html"){}
 <!--底部结束-->
 <div class="con_bg"></div>
+
 <!--飘窗开始-->
 <script type="text/javascript">
     function toHide1() {
@@ -239,7 +244,8 @@
         div.style.display = "none";
     }
 </script>
-<a id="ad2" class="container">
+
+<a  href="${frontPath}/${site.siteId}/1243.html" id="ad2" class="container">
     <!--漂浮开始-->
     <p class="gb_p1">
         <span href="javascript:;" onclick="toHide1()">X</span>

+ 33 - 0
src/main/resources/templates/www/tuiyijunren/list-zph.html

@@ -0,0 +1,33 @@
+<!--头部开始-->
+@includeFileTemplate("/www/tuiyijunren/include/header.html"){}
+<!--头部结束-->
+<!--中间内容开始-->
+<div class="er_content">
+	<!--列表开始-->
+	<div class="news_list">
+		<#cms_pagination siteId="${site.siteId}" categoryId="${categoryId}" page="${page}" moreNum="5" var="page">
+		<#cms_content_list siteId="${site.siteId}" categoryId="${categoryId}" orderBy="3" isHot="0" hasChild="0" isRecommend="0" size="8" titleLen="24" var="bean">
+		<a class="news_list_div clearfix" href="${bean.url!}">
+			<img src="${bean.thumb!}" alt="${bean.title!}"/>
+			<div class="news_list_text">
+				<h2>${bean.title!}</h2>
+				<span>${bean.description!}</span>
+				<p><i class="date">${bean.inputdate,dateFormat="yyyy年MM月dd日"}</i><i class="djl">点击量:${bean.viewNum!}</i></p>
+			</div>
+		</a>
+	</#cms_content_list>
+</#cms_pagination>
+</div>
+<!--列表结束-->
+<!--分页开始-->
+<div class="fenye">
+	@includeFileTemplate("/www/tuiyijunren/include/page.html"){}
+</div>
+<!--分页结束-->
+</div>
+<!--中间内容结束-->
+<!--底部开始-->
+@includeFileTemplate("/www/tuiyijunren/include/footer.html"){}
+<!--底部结束-->
+</body>
+</html>

+ 2 - 2
src/main/resources/templates/www/tuiyijunren/login.html

@@ -3,8 +3,8 @@
 <head>
 <meta charset="utf-8">
 <title>退伍军人就业创业综合服务平台</title>
-<link href="images/base.css" rel="stylesheet"/>
-<link href="images/basic.css" rel="stylesheet"/>
+<link href="${resPath}/tuiyijunren/images/base.css" rel="stylesheet"/>
+<link href="${resPath}/tuiyijunren/images/basic.css" rel="stylesheet"/>
 </head>
 
 <body class="dl_body">

+ 118 - 0
src/main/resources/templates/www/tuiyijunren/register.html

@@ -0,0 +1,118 @@
+<!doctype html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>退伍军人就业创业综合服务平台</title>
+<link href="${resPath}/tuiyijunren/images/base.css" rel="stylesheet"/>
+<link href="${resPath}/tuiyijunren/images/basic.css" rel="stylesheet"/>
+</head>
+
+<body class="zc_body">
+<div class="zc_header">
+	<p>吉林省退役军人<i>就业创业</i>综合服务平台</p>
+</div>
+<div class="zc_con wid1200">
+	<h1>用户注册</h1>
+	<p>
+		<span>姓名:</span>
+		<label>
+		<input type="text" placeholder="请输入姓名"/>
+		</label>
+	</p>
+	<p>
+		<span>性别:</span>
+		<span class="wid_div"><label><input type="radio" name="sex"/>男</label>&nbsp;&nbsp;&nbsp;&nbsp;
+		<label><input type="radio" name="sex"/>女</label></span>
+	</p>
+	<p>
+		<span>身份证号:</span>
+		<label>
+		<input type="text" placeholder="请输入身份证号"/>
+		</label>
+	</p>
+	<p>
+		<span>年龄:</span>
+		<label>
+		<input type="text" placeholder="请输入年龄"/>
+		</label>
+	</p>
+	<p>
+		<span>身高:</span>
+		<label>
+		<input type="text" placeholder="请输入身高"/>
+		</label>
+	</p>
+	<p>
+		<span>体重:</span>
+		<label>
+		<input type="text" placeholder="请输入体重"/>
+		</label>
+	</p>
+	<p>
+		<span>学历:</span>
+		<label>
+		<select>
+			<option>高中</option>
+			<option>中专</option>
+			<option>大学专科</option>
+			<option>大学本科</option>
+			<option>硕士生</option>
+			<option>博士生</option>
+		</select>
+		</label>
+	</p>
+	<p>
+		<span>军人身份验证:</span>
+		<label>
+		<input type="text" placeholder="请输入军人身份验证信息"/>
+		</label>
+	</p>
+	<p>
+		<span>职业规划:</span>
+		<label>
+		<select>
+			<option>专升本</option>
+			<option>研究生</option>
+			<option>高起本</option>
+			<option>高起专</option>
+		</select>
+		</label>
+	</p>
+	<p>
+		<span>意向岗位:</span>
+		<label>
+		<input type="text" placeholder="请输入意向岗位"/>
+		</label>
+	</p>
+	<p>
+		<span></span>
+		<span class="wid_div"><label><input type="radio" name="sex"/>在职</label>&nbsp;&nbsp;&nbsp;&nbsp;
+			<label><input type="radio" name="sex"/>无业</label></span>
+	</p>
+	<p>
+		<span>所在城市:</span>
+		<label>
+		<select>
+			<option>长春市-南关区</option>
+			<option>长春市-朝阳区</option>
+			<option>长春市-二道区</option>
+			<option>长春市-绿园区</option>
+		</select>
+		</label>
+	</p>
+<input type="button" value="申请注册" class="sqzc"/>
+
+</div>
+
+<div class="footer wid1200">
+	<div class="text">
+		<p>主办单位:吉林省退役军人就业创业促进会</p>
+		<p>运维单位:吉林省中启未来国际教育集团有限公司</p>
+	</div>
+	<div class="text">
+		<p>邮箱:tuiyi24&#64;163.com&nbsp;&nbsp;&nbsp;地址:吉林省长春市南关区自由大路5555x号</p>
+		<p>备案号:吉ICP备14001xxx号-1</p>
+	</div>
+</div>
+</body>
+</html>