feat:修改样式

This commit is contained in:
zty 2025-04-18 10:33:15 +08:00
parent be23a9b6e3
commit 710d6b02c4
1 changed files with 4 additions and 8 deletions

View File

@ -1,12 +1,10 @@
<template>
<div class="app-container">
<el-row :gutter="2">
<el-col :span="12">
<el-card style=" height:750px">
<el-card>
<div style="margin-top:10px">
<el-button type="primary" icon="el-icon-plus" @click="handleAdd">新增</el-button>
</div>
<div style="height: calc(100vh - 200px); overflow: auto;">
<div style="height: calc(100vh - 200px); overflow: auto; margin-top:10px; width: 100%;">
<el-table
v-loading="listLoading"
:data="tableData.results"
@ -17,8 +15,8 @@
fit
highlight-current-row
>
<el-table-column type="index" width="50" />
<el-table-column align="left" width="230" label="姓名">
<el-table-column type="index" width="100" />
<el-table-column align="left" label="姓名">
<template slot-scope="scope">{{ scope.row.art_name }}</template>
</el-table-column>
<el-table-column align="left" label="头像">
@ -89,8 +87,6 @@
@pagination="getList"
/>
</el-card>
</el-col>
</el-row>
</div>
</template>