Jelajahi Sumber

Merge remote-tracking branch 'origin/test'

zhouna 5 tahun lalu
induk
melakukan
2e02ea61d5
4 mengubah file dengan 9 tambahan dan 5 penghapusan
  1. 4 0
      src/css/index.less
  2. 1 0
      src/css/qcScore.less
  3. 2 3
      src/js/index.js
  4. 2 2
      src/js/qcScore.js

+ 4 - 0
src/css/index.less

@@ -236,9 +236,11 @@
       background: @themeColor;
       border-top: 1px @themeBorderClr solid;
       border-right: 1px rgba(74, 93, 142, 0.5) solid;
+      box-sizing: border-box;
       p{
         font-size:12px;
         color: @trdColor;
+        white-space: nowrap;
       }
     }
   }
@@ -248,6 +250,8 @@
     height: 100%;
     background: @themeColor;
     position: relative;
+    border-right: 1px @themeBorderClr solid;
+    box-sizing: border-box;
     .logo{
       height: 50px;
       line-height: 50px;

+ 1 - 0
src/css/qcScore.less

@@ -163,6 +163,7 @@
     p{
       font-size:12px;
       color: @trdColor;
+      white-space: nowrap;
     }
   }
 }

+ 2 - 3
src/js/index.js

@@ -80,8 +80,7 @@ function initMenu(data,userInfo){
   });
 //收起菜单
   $(".slide-hide").click(function(){
-
-    $(".menu").animate({"width":"60px"},function(){
+    $(".menu,.copy-right").animate({"width":"60px"},function(){
       $(this).hide();
       $(".menu-mini").show();
     });
@@ -90,7 +89,7 @@ function initMenu(data,userInfo){
   //展开菜单
   $(".slide-show").click(function(){
     $(".menu-mini").hide();
-    $(".menu").show().animate({"width":"205px"},function(){
+    $(".menu,.copy-right").show().animate({"width":"205px"},function(){
     });
     $(".main").animate({"margin-left":"205px"});
   });

+ 2 - 2
src/js/qcScore.js

@@ -36,7 +36,7 @@ function initMenu(data){
   });
 //收起菜单
   $(".slide-show").click(function(){
-    $(".sub-menu").animate({"width":"60px"},function(){
+    $(".sub-menu,.copy-right").animate({"width":"60px"},function(){
       $(this).hide();
       $(".menu-mini").show();
     });
@@ -45,7 +45,7 @@ function initMenu(data){
   //展开菜单
   $(".slide-hide").click(function(){
     $(".menu-mini").hide();
-    $(".sub-menu").show().animate({"width":"220px"},function(){
+    $(".sub-menu,.copy-right").show().animate({"width":"220px"},function(){
     });
     $(".tab-container").animate({"margin-left":"220px"});
   });