Browse Source

注册登陆功能

wanghui 8 years ago
parent
commit
57104e12f9

+ 1 - 1
src/main/webapp/WEB-INF/views/common.html

@@ -243,7 +243,7 @@
 					<h5>
 						用户登陆<a href="">免费注册有好礼呦!!</a>
 					</h5>
-					<form action="/signin" method="post" id="signin">
+					<form action="" method="post" id="signin">
 						<div class="login_uesr">
 							<label for="uesname"><img th:src="${portalHost+'/img/login_use.png'}" /></label> <input
 								type="text" name="mobile" id="Lo_user" value="用户名/邮箱/手机" /> <img

+ 29 - 16
src/main/webapp/WEB-INF/views/user/signIn.html

@@ -4,6 +4,7 @@
 <head th:replace="common::header(~{::title},~{::link})">
 	<title>注册页</title>
 	<link th:href="${portalHost + '/vendors.css'}" rel="stylesheet">
+	<link th:href="${portalHost + '/registered.css'}" rel="stylesheet">
 </head>
 <body>
 	<!--主体内容区域开始-->
@@ -16,50 +17,61 @@
 					<div class="regist">
 						<div class="zhuce_input">
 							<img th:src="${portalHost+'/img/name.jpg'}" alt=""/>
-							<input type="text" name="mobile" placeholder="用户名/邮箱/手机"  />
+							<input type="text" name="userName" placeholder="用户名/邮箱/手机"  id="username"/>
+							<img th:src="${portalHost+'/img/login_del.png'}" class="log_del"/>
 						</div>
 						<div class="zhuce_input">
 							<img th:src="${portalHost+'/img/pass2.jpg'}" alt=""/>
-							<input type="password" name="userPassword" placeholder="请输入密码" />
+							<input type="password" name="userPassword" placeholder="请输入密码" id="userpassword"/>
 						</div>
 						<div class="zhuce_input">
 							<img th:src="${portalHost+'/img/pass2.jpg'}" alt=""/>
-							<input type="password" name="userPassword2" placeholder="确认密码" />
+							<input type="password" name="userPassword2" placeholder="确认密码" id="userpassword2"/>
 						</div>
 						<div class="yanzheng">
 							<div class="yanzhengma">
-								<input type="text" name="verificationCode" placeholder="验证码"/>
+								<input type="text" name="picCode" placeholder="验证码" id="piccode"/>
+							</div>
+							<div class="yanzhengma_cont">
+								<img th:src="${basePath+'/open/getVCode'}"/>
 							</div>
-							<div class="yanzhengma_cont"></div>
 						</div>
 						<div class="cellcode">
 							<div>
-								<input type="text" name="mobileCode" placeholder="手机验证码"/>
+								<input type="text" name="cellCode" placeholder="手机验证码" id="photo_num"/>
+
 							</div>
-							<a href="#">获取验证码</a>
+							<input type="button" id="photo" value="获取验证码" disabled/>
 						</div>
-						<div class="leibie">
-							<input type="radio" name="type" id="zhuangjia" value="0"/>
+						<div class="leibie zj">
+							<input type="radio" name="leibie" id="zhuangjia" value="0" checked/>
 							<label for="zhuangjia">我是专家</label>
 						</div>
-						<div class="leibie">
-							<input type="radio" name="type" id="qiye" value="1"/>
+						<div class="leibie qy">
+							<input type="radio" name="leibie" id="qiye" value="1"/>
 							<label for="qiye">我是企业</label>
 						</div>
 						<div class="businessName">
-							<input type="text" name="companyName" placeholder="单位名称" id="business"/>
+							<input type="text" name="businessName" placeholder="单位名称" id="business"/>
 						</div>
 						<div class="linkmanName">
-							<input type="text" name="contacts" placeholder="单位联系人姓名" id="linkman"/>
+							<input type="text" name="linkmanName" placeholder="单位联系人姓名" id="linkman"/>
+						</div>
+						<div class="zhuangjiaName">
+							<input type="text" name="manName" placeholder="您的姓名" id="man"/>
+						</div>
+						<div class="protocol">
+							<input type="checkbox" name="pro" id="protocol"/>
+							<label for="protocol"><a href="#">同意技淘网会员服务协议条款</a></label>
 						</div>
 						<div class="submit">
-							<input type="submit"/>
+							<input type="submit" class="sub"/>
 						</div>
 					</div>
 					<div class="picture">
-						<div class="denglu">已有账号?去 <a href="#">登陆</a></div>
+						<div class="denglu">已有账号?去 <a href="javascript:;" class="head_login">登陆</a></div>
 						<a href="#" class="clear huodong">
-							<img th:src="${portalHost+'/img/huodong.jpg}" alt=""/>
+							<img th:src="${portalHost+'/img/huodong.jpg'}" alt=""/>
 						</a>
 					</div>
 				</div>
@@ -67,6 +79,7 @@
 		</div>
   	</div>
 	<div th:replace="common::footer(~{::script})">
+		<script type="text/javascript" th:src="${portalHost+'/registered.js'}"></script>
 		<script type="text/javascript" th:src="${staticHost+'/vendors.js'}"></script>
 	</div>
 </body>