Browse Source

1、点击出现二维码改成hover出现二维码。

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@7604 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
ouxianqin 9 years ago
parent
commit
eacdf1dd9b

+ 11 - 3
src/main/webapp/WEB-INF/views/normal/index.html

@@ -58,8 +58,10 @@
 					<a ng-click="logout()" title="退出登录"><i class="fa fa-power-off fa-lg"></i></a>
 				</div>
 				<div class="erweima-tk">
-					<p>扫描二维码<br/>下载手机客户端</p>
-					<img src="resources/img/qrcode/UU-Qr-Code.png" width="100px" height="100px" alt="UU互联" />
+					<div>
+						<p>扫描二维码<br/>下载手机客户端</p>
+						<img src="resources/img/qrcode/UU-Qr-Code.png" width="100px" height="100px" alt="UU互联" />
+					</div>
 				</div>
 			</nav>
 		</div>
@@ -247,8 +249,14 @@
 		$('.dropdown-tab a').click(function(){
 			$(".dropdown-tab").hide();
 		});
-		$(".moblie-btn ").click(function(){
+		$('#home-headerBtns .moblie-btn ').hover(function(){
 			$(".erweima-tk").toggle();
+			$('.erweima-tk').mouseenter(function(){
+				$(this).show();
+			});
+			$('.erweima-tk').mouseleave(function(){
+				$(this).hide();
+			});
 		})
 	})
 </script>

+ 8 - 8
src/main/webapp/resources/css/index.css

@@ -2576,20 +2576,20 @@ input.ng-invalid.ng-dirty,textarea.ng-invalid.ng-dirty {
 .modal-content{
 	margin-top: 90px;
 }
-#headerBtns{
-	position: relative;
-}
 .erweima-tk{
 	position: absolute;
+	text-align: center;
+	display: none;
+	right: 160px;
+	top: 30px;
+	/*animation: slideDown .2s ease-in 1 normal both;*/
+}
+.erweima-tk div{
 	width: 130px;
 	height: 175px;
 	background: #fff;
-	text-align: center;
-	right: 160px;
-	top: 58px;
+	margin-top: 28px;
 	box-shadow: 0 0 2px #ccc;
-	display: none;
-	animation: slideDown .2s ease-in 1 normal both;
 }
 .erweima-tk p{
 	text-align: center;