Commit f6ac22e5 authored by 罗超's avatar 罗超

no message

parent c5d71c14
...@@ -24,8 +24,14 @@ ...@@ -24,8 +24,14 @@
.log-box img { .log-box img {
width: 42px; width: 42px;
} }
.home-nav .home-menu-box{
height: 86.81%;
overflow: hidden;
}
.home-nav .home-menu { .home-nav .home-menu {
padding: 0 8px; padding: 0 8px;
height: 100%;
overflow-y: scroll;
} }
.home-nav .home-menu .home-menu-item { .home-nav .home-menu .home-menu-item {
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
...@@ -65,20 +71,23 @@ ...@@ -65,20 +71,23 @@
<img src="../../assets/img/logo.png" alt /> <img src="../../assets/img/logo.png" alt />
</div> </div>
</div> </div>
<ul class="home-menu"> <div class="home-menu-box">
<li <ul class="home-menu">
class="home-menu-item" <li
v-for="(item, index) in navList" class="home-menu-item"
:key="index" v-for="(item, index) in navList"
:class="[index === activeIndex ? 'active' : '']" :key="index"
@click="changeMenu(item, index)" :class="[index === activeIndex ? 'active' : '']"
> @click="changeMenu(item, index)"
<div> >
<i class="iconfont" :class="[item.MenuStyle ? JSON.parse(item.MenuStyle).icon : '']"></i> <div>
<span>{{item.MenuName}}</span> <i class="iconfont" :class="[item.MenuStyle ? JSON.parse(item.MenuStyle).icon : '']"></i>
</div> <span>{{item.MenuName}}</span>
</li> </div>
</ul> </li>
</ul>
</div>
</div> </div>
</template> </template>
<script> <script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment