perf: 右侧内容边距减小

1.content-right右padding减小为5px
2.top按钮、顶部工具栏相应调整位置
3.asset列表还未调整
This commit is contained in:
陈劲松
2020-03-13 17:55:56 +08:00
parent b89a5d14ef
commit bc9da07d2c
10 changed files with 40 additions and 24 deletions

View File

@@ -21,7 +21,7 @@
</div>
<div>
<button id="alert-add" @click="toAdd" :title="$t('overall.createAlertRule')"
class="nz-btn nz-btn-size-normal nz-btn-style-light float-right ">
class="nz-btn nz-btn-size-normal nz-btn-style-light float-right margin-l-20">
<i class="nz-icon-create-square nz-icon"></i>
</button>
<div class="top-tool-search float-right">
@@ -359,6 +359,9 @@
this.pageObj.pageSize = val;
localStorage.setItem('nz-pageSize-' + localStorage.getItem('nz-username') + '-' + this.tableId, val);
this.getTableData();
this.$nextTick(() => {
this.gutterHandler(".nz-table");
});
},
search: function (searchObj) {
this.searchLabel = {};
@@ -418,6 +421,7 @@
this.getTableData();
this.$nextTick(() => {
this.gutterHandler(".nz-table");
//绑定滚动条事件控制top按钮
let el = this.$refs.alertRuleTable.$el.querySelector(".el-table__body-wrapper");
if (el._ps_) {