dengzhiguo 7 years ago
parent
commit
b2d1497f06

BIN
img/index_fix0.png


BIN
img/index_fix1.png


BIN
img/index_fix2.png


BIN
img/index_fix3.png


BIN
img/index_fix4.png


+ 4 - 3
src/css/public.css

@@ -100,7 +100,8 @@ header .nav_right a:hover{color: #2a6597;}
 .pub_fix ul li:hover{cursor: pointer;}
 .pub_fix ul li p {color: #074d88;font-size: 14px;}
 .pub_fix ul li a{text-decoration: none;}
-
+.pub_fix ul li a img{width: 45px;height: 45px;border-radius: 50%;background: #ffc443;display: inline-block;}
+.pub_fix ul li:hover a img{background:#fc9501}
 
 /*登陆页面*/
 .login{width: 100%;background: rgba(6,6,6,.4);position: fixed;top: 0;left: 0;z-index: 999999;display: none;}
@@ -123,8 +124,8 @@ header .nav_right a:hover{color: #2a6597;}
 .login_check u{float: right;line-height: 38px;}
 .login_check u a{color: #f18101;}
 .login_check label{height: 38px;line-height: 38px ;color: #f18101;font-weight: normal;}
-.lab_check{background: url(../../img/check_lo.png) no-repeat center left;background-size:34% 40%;}
-.lab_checkno{background: url(../../img/check_lono.png) no-repeat center left;background-size:34% 40%;}
+.lab_check{background: url(../../img/check_lo.png) no-repeat center left;background-size:20% 40%;}
+.lab_checkno{background: url(../../img/check_lono.png) no-repeat center left;background-size:20% 40%;}
 .login_check label input{margin-right: 4px; visibility: hidden;}
 .login_check label:hover{cursor: pointer;}
 .login_submit{width: 100%;height: 38px;font-size: 20px;background: #f18101;color: #FFFFFF;text-align: center;border: none;} 

+ 2 - 5
src/css/register.css

@@ -81,7 +81,7 @@ position: absolute;top:0;left:0;}
 .huodong{position: absolute;top:20px;left:0;}
 .login_{width: 100%;background: rgba(6,6,6,.4);position: fixed;
     top: 0;left: 0;z-index: 999;}
-.login_close_{position: absolute;top: 10px;right: 10px;width: 24px;
+.login_close_{position: absolute;top: 50px;right: 576px;width: 24px;
     height: 22px;z-index: 2000;cursor: pointer;}
 .login_main_{width:800px;height:600px;background-color: #fff;
 margin:40px auto;padding: 20px 50px;overflow-y: auto;box-shadow: 0 10px 10px 0 #777;}
@@ -90,8 +90,6 @@ margin:40px auto;padding: 20px 50px;overflow-y: auto;box-shadow: 0 10px 10px 0 #
 #userpassword{width: 190px;}
 
 
-
-
 /*登陆页面*/
 .login{width: 100%;background: rgba(6,6,6,.4);position: fixed;top: 0;left: 0;z-index: 999;}
 .login_mian{width: 600px;background: #ffffff;position: absolute;top: 50%;margin-top: -200px;left: 50%;margin-left: -300px;padding-left: 60px;padding-top: 60px;padding-bottom: 96px;}
@@ -111,7 +109,7 @@ margin:40px auto;padding: 20px 50px;overflow-y: auto;box-shadow: 0 10px 10px 0 #
 .cheackeds{background:url(../../img/check_lo.png) no-repeat center left}
 .cheackeds_no{background:url(../../img/check_lono.png) no-repeat center left}
 
-
+.login_{display: none;}
 .login_check u{float: right;line-height: 38px;}
 .login_check u a{color: #f18101;}
 .login_check label{height: 38px;line-height: 38px ;color: #f18101;font-weight: normal;}
@@ -125,7 +123,6 @@ margin:40px auto;padding: 20px 50px;overflow-y: auto;box-shadow: 0 10px 10px 0 #
 .login_check label:first-child{margin-right: 15px;}
 .head_login:focus{text-decoration: none;}
 /*底部定制*/
-
 #bottom{background:#fff;margin-top:-150px;background: url(../../img/bottom_bg.png) no-repeat center center;
     background-size:120% 100%;}
 .bottom{margin-top:0;}

+ 3 - 8
src/js/public.js

@@ -42,13 +42,10 @@ $(function(){
 	$('#checks').click(function(){			
 		var Cheack=$(this).prop('checked')		
 		if(Cheack){
+			$('#checks').attr('checked',true)
 			$(this).parent().removeClass("lab_checkno").addClass("lab_check");
 			$('#checkst').prop('checked',false);
 			$('#checkst').parent().removeClass("lab_check").addClass("lab_checkno");
-		}else{
-			$('#checkst').prop('checked',true);
-			$('#checkst').parent().removeClass("lab_checkno").addClass("lab_check");
-			$(this).parent().removeClass("lab_check").addClass("lab_checkno");
 		}
 	})
 	$('#checkst').click(function(){			
@@ -57,10 +54,6 @@ $(function(){
 			$(this).parent().removeClass("lab_checkno").addClass("lab_check");
 			$('#checks').prop('checked',false);
 			$('#checks').parent().removeClass("lab_check").addClass("lab_checkno");
-		}else{
-			$('#checks').prop('checked',true)
-			$('#checks').parent().removeClass("lab_checkno").addClass("lab_check");
-			$(this).parent().removeClass("lab_check").addClass("lab_checkno");
 		}
 	})
 	//点击x
@@ -73,9 +66,11 @@ $(function(){
 	$('.head_login').click(function(e){
 		e.preventDefault();
 		$('.login').fadeIn(800)
+		$('#form_register').fadeOut(800)
 	})
 	$('.login_close').click(function(){
 		$('.login').fadeOut(800)
+		$('#form_register').fadeIn(800)
 	})
 	$('#form_login').submit(function(e){
 		e.preventDefault();

+ 4 - 2
src/js/register.js

@@ -8,8 +8,7 @@ import './public.js';
 $(function(){
     //查看技淘网协议
     var hht=$(window).height();
-    $('.login_').height(hht);
-    $('.login_').hide()
+    $('.login_').height(hht);    
     $('.head_login_').click(function(e){
         e.preventDefault();
         $('.login_').fadeIn(800)
@@ -352,6 +351,9 @@ $(function(){
     		$('#msg').val('');
     	},2000)
     }  
+    
+   
+   
 });
 
 

+ 2 - 2
template/index.html

@@ -449,10 +449,10 @@
 					</div>
 					<div class="login_check">
 						<label for="checks" class="lab_check">
-							<input type="checkbox" name="type" id="checks" />专家
+							<input type="checkbox" name="type" id="checks" />我是专家
 						</label>
 						<label for="checkst" class="lab_checkno">
-							<input type="checkbox" name="type" id="checkst" />企业
+							<input type="checkbox" name="type" id="checkst" />我是企业
 						</label>
 						<u><a href="">忘记密码?</a></u>
 					</div>