提交 56ecb456 authored 作者: junjie's avatar junjie

feat(视图): UI调整

上级 7e2da332
......@@ -8,7 +8,7 @@
<el-dropdown-menu slot="dropdown">
<el-dropdown-item>
<el-dropdown placement="right-start" size="mini" style="width: 100%" @command="summary">
<span class="el-dropdown-link" style="display: flex;justify-content: space-between;align-items: center;width: 100%">
<span class="el-dropdown-link inner-dropdown-menu">
<span>
<i class="el-icon-notebook-2" />
<span>{{ $t('chart.summary') }}</span>
......@@ -29,7 +29,7 @@
</el-dropdown-item>
<el-dropdown-item>
<el-dropdown placement="right-start" size="mini" style="width: 100%" @command="quickCalc">
<span class="el-dropdown-link" style="display: flex;justify-content: space-between;align-items: center;width: 100%">
<span class="el-dropdown-link inner-dropdown-menu">
<span>
<i class="el-icon-s-grid" />
<span>{{ $t('chart.quick_calc') }}</span>
......@@ -44,7 +44,7 @@
</el-dropdown-item>
<el-dropdown-item divided>
<el-dropdown placement="right-start" size="mini" style="width: 100%" @command="sort">
<span class="el-dropdown-link" style="display: flex;justify-content: space-between;align-items: center;width: 100%">
<span class="el-dropdown-link inner-dropdown-menu">
<span>
<i class="el-icon-sort" />
<span>{{ $t('chart.sort') }}</span>
......@@ -220,4 +220,11 @@ export default {
margin-left: 4px;
color: #878d9f;;
}
.inner-dropdown-menu{
display: flex;
justify-content: space-between;
align-items: center;
width: 100%
}
</style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论