Commit ef8f5f94 by caoyanzhi

update: 菜单框架

parent 88e6e05a
......@@ -5,10 +5,12 @@
<div class="hb-layout-content">
<bread-menu v-if="activedMenu.length > 3" :menu-list="activedMenu.slice(2)"></bread-menu>
<div class="hb-layout-pager" :style="{ height: activedMenu.length > 3 ? `calc(100% - 30px)` : '100%' }">
<slot>
<!-- <div style="width: 1300px;height: 1000px;border:1px solid red"></div>
页面内容 -->
</slot>
<!-- 页面内容 -->
<!-- <router-view v-if="activeBrand" :brandId="activeBrand" :activeGroupId="activeGroup" :tabType="activeTab" @showTab="showTab"></router-view> -->
<keep-alive v-if="$route.meta.keepAlive">
<router-view></router-view>
</keep-alive>
<router-view v-else></router-view>
</div>
</div>
</div>
......
......@@ -73,6 +73,8 @@ export default {
<style lang="scss" scoped>
.main-menu-box {
position: relative;
z-index: 1;
display: flex;
justify-content: space-between;
align-items: stretch;
......
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