浏览代码

修改样式

lilinsen 7 年之前
父节点
当前提交
fdfef61359
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      sites/doc/compents/hidden/hidden.vue

+ 2 - 2
sites/doc/compents/hidden/hidden.vue

@@ -41,7 +41,7 @@ export default {
             this.isShow = !this.isShow;
             this.isShow = !this.isShow;
             this.isHide = !this.isHide;
             this.isHide = !this.isHide;
             if(this.isHide){
             if(this.isHide){
-                this.siteHeight = {height:this.heightSlot +30+ 'px'};
+                this.siteHeight = {height:this.heightSlot+ 'px'};
             }else{
             }else{
                 this.siteHeight = {
                 this.siteHeight = {
                 height:'300px'
                 height:'300px'
@@ -72,7 +72,7 @@ export default {
     height: 30px;
     height: 30px;
     width: 100%;
     width: 100%;
     bottom: 0;
     bottom: 0;
-    background: linear-gradient(#fff,rgba(255, 255, 255, 0));
+    background: linear-gradient(rgba(255, 255, 255, 0.5),#fff);
     position: absolute;
     position: absolute;
     z-index: 999 ;
     z-index: 999 ;
     text-align: center;
     text-align: center;