|
@@ -2,9 +2,9 @@
|
|
|
<template>
|
|
|
<div id="navFooter">
|
|
|
<!-- 底部快捷菜单 -->
|
|
|
- <a-row style="background:rgba(24, 144, 255,.9);">
|
|
|
+ <a-row>
|
|
|
<!-- 左 小箭头 -->
|
|
|
- <a-col :span="1" @click="handleChange">
|
|
|
+ <a-col :span="1" @click="handleChange" style="background:rgba(24, 144, 255,.9);">
|
|
|
<a class="arrowBtn">
|
|
|
<a-icon v-if="isShow" type="arrow-left" />
|
|
|
<a-divider type="vertical" style="width:3px;height:20px;marginBottom:6px;borderRadius:4px;" />
|
|
@@ -12,11 +12,11 @@
|
|
|
</a>
|
|
|
</a-col>
|
|
|
|
|
|
- <!-- 右 菜单 -->
|
|
|
+ <!-- 右 菜单 -->
|
|
|
<a-col :span="23">
|
|
|
<transition-group name="animation">
|
|
|
<div class="shortcut" v-if="isShow" :key="1">
|
|
|
- <a-row style="textAlign:center;">
|
|
|
+ <a-row style="textAlign:center;background:rgba(24, 144, 255,.9);">
|
|
|
<!-- 设置快捷抽屉 -->
|
|
|
<a-col :span="1">
|
|
|
<a href="#" @click="showDrawer" class="setBtn">设置快捷</a>
|
|
@@ -29,7 +29,7 @@
|
|
|
</a-col>
|
|
|
<!-- 公司名称 -->
|
|
|
<a-col :span="3">
|
|
|
- <span style="color:rgba(224, 224, 224);">上海萃颠信息科技有限公司出品</span>
|
|
|
+ <span style="color:#ccc;">上海萃颠信息科技有限公司出品</span>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
</div>
|
|
@@ -62,7 +62,7 @@
|
|
|
<a-row>
|
|
|
<a-col :span="24">
|
|
|
<a-card title="已选功能" :bordered="false" class="selectTag">
|
|
|
- <div class="selected">
|
|
|
+ <div v-if="selectList.length > 0" class="selected">
|
|
|
<a-tag
|
|
|
:key="item.id"
|
|
|
v-for="item in selectList"
|
|
@@ -71,9 +71,12 @@
|
|
|
class="selectedItem"
|
|
|
>
|
|
|
{{ item.name }}
|
|
|
- <!-- <a-empty v-show="this.selectList.length == 0" /> -->
|
|
|
</a-tag>
|
|
|
</div>
|
|
|
+ <!-- 无快捷 -->
|
|
|
+ <span v-if="selectList.length == 0" style="color:#6a040f;marginLeft:12px;">
|
|
|
+ 请点击选择快捷菜单
|
|
|
+ </span>
|
|
|
</a-card>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
@@ -95,18 +98,17 @@
|
|
|
<a-row>
|
|
|
<a-col a-col :span="24">
|
|
|
<a-card title="" :bordered="false" class="searchLine">
|
|
|
- <!-- 所有菜单 -->
|
|
|
+ <!-- 一级菜单 -->
|
|
|
<a-row v-for="menu in menuALL" :key="menu.name">
|
|
|
<a-col :span="4">
|
|
|
<span>{{ menu.name }}:</span>
|
|
|
</a-col>
|
|
|
-
|
|
|
+ <!-- 二级菜单 -->
|
|
|
<a-col :span="20" class="LevelTwoMenu">
|
|
|
<span v-for="item in menu.childList" :key="item.id" class="twoMenuItem">
|
|
|
- <!-- active: 返回的值是布尔值,调用判断布尔值的方法 -->
|
|
|
<a
|
|
|
href="#"
|
|
|
- style="width: 6em"
|
|
|
+ style="width: 8em"
|
|
|
@click.stop="selectItem(item)"
|
|
|
:class="{ active: getActive(item.sysPermissionId) }"
|
|
|
>
|
|
@@ -114,7 +116,7 @@
|
|
|
</a>
|
|
|
</span>
|
|
|
</a-col>
|
|
|
- <a-divider />
|
|
|
+ <a-divider :dashed="true" />
|
|
|
</a-row>
|
|
|
</a-card>
|
|
|
</a-col>
|
|
@@ -299,13 +301,14 @@ export default {
|
|
|
|
|
|
// 可消失行
|
|
|
.shortcut {
|
|
|
+ // background-color: transparent;
|
|
|
//设置快捷(文字)
|
|
|
.setBtn {
|
|
|
font-size: 14px;
|
|
|
font-weight: 700;
|
|
|
color: white;
|
|
|
}
|
|
|
- .setBtn:hover {
|
|
|
+ .setBtn:active {
|
|
|
color: orange;
|
|
|
font-weight: 400;
|
|
|
}
|
|
@@ -324,17 +327,13 @@ export default {
|
|
|
font-weight: 400;
|
|
|
}
|
|
|
}
|
|
|
- // 右侧公司名称
|
|
|
- span {
|
|
|
- // border-radius: ;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
// 动画效果
|
|
|
.animation-enter,
|
|
|
.animation-leave-to {
|
|
|
opacity: 0;
|
|
|
- transform: translateX(-40px);
|
|
|
+ transform: translateX(-20px);
|
|
|
}
|
|
|
.animation-enter-to,
|
|
|
.animation-leave {
|