Explorar el Código

登录/注册跳转

lyq hace 4 meses
padre
commit
bb1391dab1

+ 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");

+ 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="请输入搜索关键词"/>

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