style:修改font字体图标 修改下拉列表宽度

This commit is contained in:
zhangyu
2020-06-29 16:25:37 +08:00
parent 587034abdb
commit 676905cf1d
8 changed files with 25 additions and 9 deletions

View File

@@ -20,6 +20,9 @@ Created by iconfont
/>
<missing-glyph />
<glyph glyph-name="728bianjiqi_zitidaxiao" unicode="&#58976;" d="M296.152 308.018l89.392 288.243 89.61-288.243H296.151m169.934 398.82h-136.23l-203.84-645.676h94.45l48.225 153.667h236.155l49.014-153.667h118.296L466.086 706.84m214.128-496.062l51.859 137.725 51.88-137.725h-103.74m98.502 201.847h-78.918L636.415 241.59l27.467-86.184 0.395 1.244h136.826l28.466-88.906h68.412L778.715 412.624" horiz-adv-x="1024" />
<glyph glyph-name="move" unicode="&#58943;" d="M861.0304 605.184a32.3072 32.3072 0 0 0-23.2448 10.24l-73.5232 78.7968-73.5232-78.7456a31.9488 31.9488 0 1 0-46.4384 43.8784L742.4 763.904a32.3072 32.3072 0 0 0 23.2448 10.24 30.208 30.208 0 0 0 23.2448-10.24l98.048-104.4992A32.3072 32.3072 0 0 0 885.76 614.4a52.224 52.224 0 0 0-24.5248-9.0112zM762.88-15.360000000000014a30.208 30.208 0 0 0-23.2448 10.24l-98.048 104.4992a31.9488 31.9488 0 1 0 46.5408 43.9808l73.5232-78.6944L835.2256 143.36a31.9488 31.9488 0 0 0 46.4384-43.8784L783.616-5.1200000000000045c-2.56-6.4512-11.6224-10.24-20.48-10.24zM762.88 36.1472a31.9488 31.9488 0 0 0-32.256 32.256V695.5008a32.256 32.256 0 1 0 64.512 0v-627.0976a31.9488 31.9488 0 0 0-32.256-32.256zM510.0544 521.3184H170.7008a32.256 32.256 0 0 0 0 64.512h339.3536a31.9488 31.9488 0 0 0 32.256-32.256 32.768 32.768 0 0 0-32.256-32.256zM510.0544 358.70719999999994H170.7008a32.256 32.256 0 0 0 0 64.512h339.3536a31.9488 31.9488 0 0 0 32.256-32.256 32.768 32.768 0 0 0-32.256-32.256zM508.7744 172.90239999999994H169.4208a32.256 32.256 0 1 0 0 64.512h339.3536a31.9488 31.9488 0 0 0 32.256-32.256 32.768 32.768 0 0 0-32.256-32.256z" horiz-adv-x="1024" />

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

File diff suppressed because one or more lines are too long

View File

@@ -133,6 +133,9 @@
/*display: block;*/
/*height: 40px;*/
}
.nz-icon-728bianjiqi_zitidaxiao{
top:0 !important;
}
}
.shell-service-max {
height: 100% !important;
@@ -142,8 +145,14 @@
background: black !important;
}
.fontSizeBox{
.el-menu--collapse .el-menu .el-submenu, .el-menu--popup{
min-width: 0;
}
}
.fontSet{
margin-left: 5px;
margin-left: 35px;
width: 60px;
}
.el-menu--horizontal .el-menu .el-menu-item.menuActive{
color: #303133;

View File

@@ -7,8 +7,8 @@
<div id="shell-split" class="shell-split shell-iconfont" @mousedown="dragEagle" v-show="!isFullScreen"></div>
<div style='position: relative;'>
<el-menu mode="horizontal" @select="handleSelect" style='position: absolute;left:0px;top:0px;border-top: 1px solid #DCDFE6;' default-active="1-2">
<el-submenu index="1" style="width:40px;">
<template slot="title" ><i class="el-icon-setting " style="position: absolute;left: 10px;top: 4px;"></i></template>
<el-submenu index="1" style="width:40px;" popper-class="fontSizeBox">
<template slot="title" ><i class="nz-icon nz-icon-728bianjiqi_zitidaxiao" style="position: absolute;left: 10px;top: 4px;"></i></template>
<!--<el-submenu index="1-1">-->
<!--<template slot="title">文字大小</template>-->
<el-menu-item @click="changeFontSize(12)" :class="{fontSet:true,menuActive:fontSize==12, smallFont:true}" index="1-1">A</el-menu-item>