美化menu书签导航
This commit is contained in:
		@@ -17,11 +17,6 @@
 | 
			
		||||
              <el-dropdown-item class="filter-item"><i class="el-icon-bottom"></i>按网站A-Z排序</el-dropdown-item>
 | 
			
		||||
            </el-dropdown-menu>
 | 
			
		||||
          </el-dropdown>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        </div>
 | 
			
		||||
        <div >
 | 
			
		||||
          <el-divider direction="vertical"></el-divider>
 | 
			
		||||
@@ -47,27 +42,26 @@
 | 
			
		||||
        <div class="filler-tag">
 | 
			
		||||
          <el-tag size="small" >...</el-tag>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
      </div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
      <div class="nullbookmark" v-if="showimg">
 | 
			
		||||
          <div class="nullbookmark-img">
 | 
			
		||||
 | 
			
		||||
          </div>
 | 
			
		||||
        <div style="color: #000000" class="nullbookmark-text">
 | 
			
		||||
          此目录还未添加书签
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
      </div>
 | 
			
		||||
 | 
			
		||||
      <div  class="bookmarklist" v-loading="loading" v-if="showbookmark" >
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
      <div  class="bookmarklist" v-loading="loading" v-if="showbookmark" >
 | 
			
		||||
        <el-row >
 | 
			
		||||
          <hr class="bookamrk-hr"/>
 | 
			
		||||
          <el-col :span="24" v-for="bm in bookmarkList">
 | 
			
		||||
 | 
			
		||||
            <div class="editBookamrk">
 | 
			
		||||
              <div class="editlist">
 | 
			
		||||
                <div> <el-button plain size="small" @click="handleUpdate(bm.bookmarkId)">修改</el-button></div>
 | 
			
		||||
@@ -469,7 +463,7 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<style>
 | 
			
		||||
<style scoped>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/**编辑标签 开始**/
 | 
			
		||||
@@ -513,6 +507,7 @@
 | 
			
		||||
   margin-top: 0;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  .filter-sort-dropdown{
 | 
			
		||||
    top:65px!important;
 | 
			
		||||
    box-shadow: 0 2px 15px 0 rgba(0,0,0,.2)!important;
 | 
			
		||||
 
 | 
			
		||||
@@ -2,9 +2,9 @@
 | 
			
		||||
  <div >
 | 
			
		||||
 | 
			
		||||
  <el-container >
 | 
			
		||||
    <transition name="el-zoom-in-left">
 | 
			
		||||
    <transition name="el-zoom-in-left" >
 | 
			
		||||
 | 
			
		||||
    <el-aside  :style="asideHeight" v-show="isShowZtree" class="transition-box">
 | 
			
		||||
    <el-aside  :style="asideHeight" v-show="isShowZtree" class="transition-box" style="overflow-x:hidden;overflow-y: hidden;">
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
      <el-header  class="aside-logo">
 | 
			
		||||
@@ -12,7 +12,7 @@
 | 
			
		||||
 | 
			
		||||
      </el-header>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<div class="main-right">
 | 
			
		||||
 | 
			
		||||
      <div class="aside-title" @click="goBookmarkList"><i class="el-icon-s-tools"></i><span>全部书签</span></div>
 | 
			
		||||
      <div class="aside-title"><i class="el-icon-help"></i><span>发现</span></div>
 | 
			
		||||
@@ -28,7 +28,27 @@
 | 
			
		||||
      <div class="aside-title" @click="gorecycle"><i class="el-icon-delete-solid"></i><span>回收站</span></div>
 | 
			
		||||
      <div class="aside-title" @click="importHtml"><i class="el-icon-s-platform"></i><span>导入书签</span></div>
 | 
			
		||||
      <div class="aside-title"><i class="el-icon-s-comment"></i><span>意见反馈</span></div>
 | 
			
		||||
      <div class="aside-title asideMenu" ><i class="el-icon-s-grid"></i><span>其他设置</span></div>
 | 
			
		||||
      <div class="aside-title " style="margin-bottom: 100px"><i class="el-icon-s-grid"></i><span>其他设置</span></div>
 | 
			
		||||
 | 
			
		||||
      </div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
      <div class="tabBar">
 | 
			
		||||
        <div class="" style="width: 100%;height: 30px;background-color: #cacaca;float: left;text-align: center;line-height: 30px" >
 | 
			
		||||
          <i class="el-icon-folder-checked"></i>
 | 
			
		||||
          <span>新的收藏集</span>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        <div style="float: left;width: 100%;height: 50px;background-color: black" >
 | 
			
		||||
        <img src="https://s1.ax1x.com/2020/09/13/w0jfy9.png" style="width: 100%;height: 100%">
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    </el-aside>
 | 
			
		||||
 | 
			
		||||
<!--      <el-footer class="aside-navigation">-->
 | 
			
		||||
@@ -102,7 +122,7 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
      </el-header>
 | 
			
		||||
      <el-main class="bookmarkmain" style="overflow: hidden;">
 | 
			
		||||
      <el-main class="bookmarkmain" >
 | 
			
		||||
 | 
			
		||||
        <router-view :key="$route.query.menuId"></router-view>
 | 
			
		||||
 | 
			
		||||
@@ -151,6 +171,7 @@
 | 
			
		||||
      <el-button round  @click="cancel">取消</el-button>
 | 
			
		||||
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
  </el-dialog>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -368,7 +389,7 @@
 | 
			
		||||
        }],
 | 
			
		||||
        asideHeight:{
 | 
			
		||||
          height:"",
 | 
			
		||||
          width:"300px",
 | 
			
		||||
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -387,12 +408,11 @@
 | 
			
		||||
 | 
			
		||||
      /**自动获取高度**/
 | 
			
		||||
      getHeight(){
 | 
			
		||||
        // if (window.innerHeight<=500) {
 | 
			
		||||
        //    this.asideHeight.height=='500';
 | 
			
		||||
        //
 | 
			
		||||
        // if (window.innerHeight<=750) {
 | 
			
		||||
        //    this.asideHeight.height=='750px';
 | 
			
		||||
        //   return;
 | 
			
		||||
        // }
 | 
			
		||||
        // this.asideHeight.height=window.innerHeight+'px';
 | 
			
		||||
       this.asideHeight.height=window.innerHeight+'px';
 | 
			
		||||
 | 
			
		||||
      },
 | 
			
		||||
 | 
			
		||||
@@ -830,29 +850,34 @@
 | 
			
		||||
  /*background:red;*/
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .areaTree{
 | 
			
		||||
  /*.areaTree{*/
 | 
			
		||||
 | 
			
		||||
    height: 400px;
 | 
			
		||||
    /*overflow:scroll;*/
 | 
			
		||||
    /*font-weight: 400;*/
 | 
			
		||||
   overflow:auto;
 | 
			
		||||
   /* background-color: #F6F6F6;*/
 | 
			
		||||
   /* background:url('https://ftp.bmp.ovh/imgs/2020/08/4ac1d6b4f41049ef.jpg') no-repeat;*/
 | 
			
		||||
   /* background-size: 100% 100%;*/
 | 
			
		||||
  /*  height: 400px;*/
 | 
			
		||||
  /*  overflow:scroll;*/
 | 
			
		||||
  /*  font-weight: 400;*/
 | 
			
		||||
  /*overflow:auto;*/
 | 
			
		||||
  /*  background-color: #F6F6F6;*/
 | 
			
		||||
  /*  background:url('https://ftp.bmp.ovh/imgs/2020/08/4ac1d6b4f41049ef.jpg') no-repeat;*/
 | 
			
		||||
  /*  background-size: 100% 100%;*/
 | 
			
		||||
 | 
			
		||||
  /*}*/
 | 
			
		||||
 | 
			
		||||
  #app{
 | 
			
		||||
    overflow-y: hidden;
 | 
			
		||||
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  aside{
 | 
			
		||||
    padding:0;
 | 
			
		||||
    margin-bottom: 0;
 | 
			
		||||
    /*background:url('https://ftp.bmp.ovh/imgs/2020/08/4ac1d6b4f41049ef.jpg') no-repeat;*/
 | 
			
		||||
    background-color: #f6f6f6;
 | 
			
		||||
    /*background: url(http://csssecrets.io/images/tiger.jpg) no-repeat;*/
 | 
			
		||||
    /*background-color: #f6f6f6;*/
 | 
			
		||||
    background: url("https://s1.ax1x.com/2020/08/16/dEcqVU.jpg") no-repeat;
 | 
			
		||||
 | 
			
		||||
    /*background-size: cover;*/
 | 
			
		||||
    /*z-index: -1;!*-1 可以当背景*!*/
 | 
			
		||||
    /*-webkit-filter: blur(3px);*/
 | 
			
		||||
    /*filter: blur(3px);*/
 | 
			
		||||
 | 
			
		||||
    box-shadow: inset -1px 0 0 rgba(0,0,0,.1);
 | 
			
		||||
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
@@ -1128,7 +1153,7 @@
 | 
			
		||||
  }
 | 
			
		||||
  .bookmarklist{
 | 
			
		||||
    width: 100%;
 | 
			
		||||
    height: 800px;
 | 
			
		||||
    height: 600px;
 | 
			
		||||
    /*background-color: #fff;*/
 | 
			
		||||
    float: left
 | 
			
		||||
  }
 | 
			
		||||
@@ -1222,8 +1247,47 @@
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
.main-right{
 | 
			
		||||
  /*overflow:scroll;*/
 | 
			
		||||
  /*width: 300px;*/
 | 
			
		||||
  height: 85%;
 | 
			
		||||
  min-height: 40%;
 | 
			
		||||
  overflow:auto;
 | 
			
		||||
  /*overflow: hidden;*/
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  z-index: 1;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
  .main-right::-webkit-scrollbar{
 | 
			
		||||
    /*滚动条整体样式*/
 | 
			
		||||
    width:0px;
 | 
			
		||||
    /*高宽分别对应横竖滚动条的尺寸*/
 | 
			
		||||
    height: 12px !important;
 | 
			
		||||
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /*定义滑块 样式*/
 | 
			
		||||
  .main-right::-webkit-scrollbar-thumb {
 | 
			
		||||
    border-radius: 3px;
 | 
			
		||||
    /*height: 10px!important;    !* 滚动条滑块长度 *!*/
 | 
			
		||||
    background-color: #6ba5ff;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  }
 | 
			
		||||
  /*定义滚动条轨道 内阴影+圆角 透明效果*/
 | 
			
		||||
  ::-webkit-scrollbar-track {
 | 
			
		||||
    background-color:transparent;
 | 
			
		||||
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .tabBar{
 | 
			
		||||
    width: 300px;
 | 
			
		||||
    overflow: hidden;
 | 
			
		||||
    position: fixed;
 | 
			
		||||
    bottom: 0;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
</style>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user