tanxue %!s(int64=2) %!d(string=hai) anos
pai
achega
c0d86ab338
Modificáronse 1 ficheiros con 5 adicións e 6 borrados
  1. 5 6
      components/sidebar.vue

+ 5 - 6
components/sidebar.vue

@@ -88,7 +88,7 @@ export default {
     height: 68px;
     position: relative;
     cursor: pointer;
-    margin-bottom: 14px;
+    margin-bottom: 22px;
 
 
     i {
@@ -123,7 +123,6 @@ export default {
 
     .sidebar-hover-box {
       width: 220px;
-      height: 102px;
       display: block;
       padding: 20px;
       border: 1px solid #eee;
@@ -131,7 +130,6 @@ export default {
       position: absolute;
       right: -240px;
       background: #fff;
-      top: 0;
       box-sizing: border-box;
       z-index: 1;
 
@@ -167,7 +165,8 @@ export default {
   //li:nth-child(1) i {
   //  background-image: url("~static/gangweiIcon/z142.png");
   //}
-
+  li:nth-child(1) .sidebar-hover-box {top:0;}
+  li:nth-child(2) .sidebar-hover-box {bottom: 0;padding: 10px;}
   li:nth-child(1) i {
     background-image: url("~static/gangweiIcon/z143.png");
   }
@@ -184,8 +183,8 @@ export default {
 
   li:nth-child(2) {
     .sidebar-hover-box {
-      width: 180px;
-      height: 180px;
+      width: 160px;
+      height: 160px;
 
 
       img {