🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
路径:D:\ireport365\ireport365.war\js\enduser\home\home.css 直接在最下面添加 ~~~ /*2018-7-13*/ .home-menu .item.selected { background-color: #1890ff !important; } .home-menu .item:hover { background-color: #1890ff; } .home-menu .item a { padding-left: 32px; width: 100%; color: #ccd6e0; } .home-menu .item.selected a { color: #fff !important; } .home-menu .item:hover a { color: #fff !important; } .home-menu { position: fixed; top: 1px; bottom: 0; left: 0; width: 180px; background-color: rgb(9,20,74); margin: 0; padding: 0; list-style: outside none none; overflow-x: hidden; overflow-y: auto; border-right: 1px solid transparent; border-left: 0px; } .home-menu .divider span { display: block; padding-left: 10px; text-align: left; color: #939da8; font-size: 16px; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; } .home-menu .item { cursor: pointer; display: block; border-bottom: 1px solid rgba(148, 142, 147, 0.15); width: 100%; height: 36px; line-height: 34px; overflow: hidden; } .home-menu .divider { border-bottom: 1px solid rgba(148, 142, 147, 0.15); height:40px; } .vrd-page-header { position: fixed; top: 0; height: 40px; z-index: 100; width: 100%; background-color: #fff; color: white; box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); } .home-menu .item .fa { font-size: 14px; margin-right:15px; } .menu-content { top: 40px; } .vrd-page-header .user-info { margin-top: 4px; color:#333; } .vrd-page-header .user-info:hover { background:transparent; } .vrd-page-header .logo { float: left; width: 180px; height: 40px; background: rgb(9,20,74); margin-top:0px; } .vrd-page-header .logo img { overflow: hidden; width:140px; height:40px; margin-left:20px !important; /* margin-top: 5px !important; */ } ~~~ 效果图 ![](https://box.kancloud.cn/9da6d5b6c4e70a42a7fa7c8078bb0ba2_1371x660.png)