table定位问题

This commit is contained in:
nisen
2023-09-05 17:11:21 +08:00
parent f326a2548b
commit 6cb862c33b

View File

@@ -26,12 +26,12 @@
<div class="xcontent2-main">
<div class="modules-list" style="margin-top: 0;">
<div class="content">
<div style="min-height: 485px;">
<el-table :data="list" stripe border>
<div style="min-height: 485px;width: 100%;">
<el-table style="width: 100%;" :data="list" stripe border>
<el-table-column label="课程名称" prop="courseName" align="center" show-overflow-tooltip></el-table-column>
<el-table-column label="课程价值" prop="meaning" align="center" show-overflow-tooltip></el-table-column>
<el-table-column label="教师名称" prop="teacherName" align="center" width="150px"></el-table-column>
<el-table-column label="教师工号" prop="teacherNo" align="center" width="150px"></el-table-column>
<el-table-column label="教师名称" prop="teacherName" align="center" min-width="50"></el-table-column>
<el-table-column label="教师工号" prop="teacherNo" align="center" min-width="50" fixed="right"></el-table-column>
</el-table>
</div>
<div v-if="list.length > 0" style="text-align: center;margin-top: 50px;">
@@ -99,9 +99,10 @@ export default {
};
</script>
<style scoped lang='scss'>
.nav:hover{
.nav:hover {
color: #387DF7;
}
.opinionBanner {
width: 100%;
height: 240px;