优化界面显示细节

This commit is contained in:
ngfchl
2022-12-06 18:37:30 +08:00
parent ff7f9f9265
commit afd90fb801
2 changed files with 8 additions and 8 deletions

View File

@@ -275,9 +275,9 @@
:sort-config="{trigger: 'cell', orders: ['desc', 'asc', null]}"
highlight-current-row
style="width: 100%;">
<vxe-table-column fixed="left" type="checkbox" width="44">
<vxe-table-column fixed="left" type="checkbox" width="45">
</vxe-table-column>
<vxe-table-column type="seq" fixed="left" width="50"></vxe-table-column>
<vxe-table-column type="seq" fixed="left" width="60"></vxe-table-column>
<vxe-table-column field="name" fixed="left" sortable show-header-overflow show-overflow="tooltip"
show-footer-overflow title="种子名称" type="html" max-width="280" min-width="150">
</vxe-table-column>

View File

@@ -120,11 +120,11 @@
<hr>
<div>
<span style="float: left;font-weight: bold;color: #3b5769;line-height: 32px;">
排序
关注度
</span>
<span>
<el-button size="mini" type="primary" plain @click="changeSortStep">
排序按钮单次步进值:
关注度按钮单次步进值:
<span v-text="sortStep"></span></el-button>
</span>
</div>
@@ -236,7 +236,7 @@
<hr>
<div>
<span style="float: left;font-weight: bold;color: #3b5769;line-height: 32px;">
排序
关注度
</span>
<span>
<el-button-group>
@@ -411,7 +411,7 @@
axios.get(
"{% url 'site_sort_api' %}" + `?id=${id}&sort=${sort}`
).then(res => {
console.log('修改排序成功', res.data)
console.log('修改关注度成功', res.data)
{#let data = res.data#}
{#console.log(typeof res.data.data)#}
if (res.data.code === 0) {
@@ -428,10 +428,10 @@
});
}
}).catch(res => {
console.log('修改排序失败', res)
console.log('修改关注度失败', res)
this.$message({
type: 'warning',
message: '修改排序失败!' + res
message: '修改关注度失败!' + res
});
})
},