fix: 修改侧边栏mb的问题
This commit is contained in:
parent
6706710d3c
commit
68a37cc95d
@ -10,7 +10,7 @@
|
|||||||
@mouseleave="toolsMouseoutHandle"
|
@mouseleave="toolsMouseoutHandle"
|
||||||
>
|
>
|
||||||
<n-tooltip
|
<n-tooltip
|
||||||
v-for="item in btnList"
|
v-for="(item, index) in btnList"
|
||||||
:key="item.key"
|
:key="item.key"
|
||||||
:disabled="!isAside"
|
:disabled="!isAside"
|
||||||
trigger="hover"
|
trigger="hover"
|
||||||
@ -20,6 +20,7 @@
|
|||||||
<n-button
|
<n-button
|
||||||
v-show="!isMini"
|
v-show="!isMini"
|
||||||
class="btn-item"
|
class="btn-item"
|
||||||
|
:class="[btnList.length - 1 === index && 'go-mb-0']"
|
||||||
:circle="isAside"
|
:circle="isAside"
|
||||||
secondary
|
secondary
|
||||||
@click="item.handle"
|
@click="item.handle"
|
||||||
@ -118,6 +119,7 @@ $asideBottom: 70px;
|
|||||||
.btn-item {
|
.btn-item {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
padding-bottom: 6px;
|
padding-bottom: 6px;
|
||||||
|
/* 没生效,用上面的 go-mb-0 代替 */
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user