|
@@ -3,12 +3,12 @@
|
|
|
<div class="item-title" @click.stop="handleClick">
|
|
<div class="item-title" @click.stop="handleClick">
|
|
|
<span v-if="$slots.icon" class="subsidenavbar-icon"><slot name="icon"></slot></span>
|
|
<span v-if="$slots.icon" class="subsidenavbar-icon"><slot name="icon"></slot></span>
|
|
|
<a href="javascript:;" class="sidenavbar-title">
|
|
<a href="javascript:;" class="sidenavbar-title">
|
|
|
- {{ title }}
|
|
|
|
|
|
|
+ <span class="sidenavbar-title-title">{{ title }}</span>
|
|
|
<slot name="desc"></slot>
|
|
<slot name="desc"></slot>
|
|
|
</a>
|
|
</a>
|
|
|
<span class="sidenavbar-icon">
|
|
<span class="sidenavbar-icon">
|
|
|
<span v-if="$slots.oper"><slot name="oper"></slot></span>
|
|
<span v-if="$slots.oper"><slot name="oper"></slot></span>
|
|
|
- <nut-icon v-if="!$slots.oper" type="self" :url="require('../../assets/svg/arrow-to-right.svg')"></nut-icon>
|
|
|
|
|
|
|
+ <nut-icon v-if="!$slots.oper" type="self" :url="require('../../assets/svg/arrow-to-right.svg')" size="16px"></nut-icon>
|
|
|
</span>
|
|
</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="sub-sidenavbar-list" :class="!direction ? 'nutFadeIn' : 'nutFadeOut'" :style="{ height: !direction ? 'auto' : 0 }">
|
|
<div class="sub-sidenavbar-list" :class="!direction ? 'nutFadeIn' : 'nutFadeOut'" :style="{ height: !direction ? 'auto' : 0 }">
|