mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 03:16:42 +08:00
table定位问题
This commit is contained in:
@@ -26,12 +26,12 @@
|
|||||||
<div class="xcontent2-main">
|
<div class="xcontent2-main">
|
||||||
<div class="modules-list" style="margin-top: 0;">
|
<div class="modules-list" style="margin-top: 0;">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div style="min-height: 485px;">
|
<div style="min-height: 485px;width: 100%;">
|
||||||
<el-table :data="list" stripe border>
|
<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="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="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="teacherName" align="center" min-width="50"></el-table-column>
|
||||||
<el-table-column label="教师工号" prop="teacherNo" align="center" width="150px"></el-table-column>
|
<el-table-column label="教师工号" prop="teacherNo" align="center" min-width="50" fixed="right"></el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="list.length > 0" style="text-align: center;margin-top: 50px;">
|
<div v-if="list.length > 0" style="text-align: center;margin-top: 50px;">
|
||||||
@@ -99,9 +99,10 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang='scss'>
|
<style scoped lang='scss'>
|
||||||
.nav:hover{
|
.nav:hover {
|
||||||
color: #387DF7;
|
color: #387DF7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.opinionBanner {
|
.opinionBanner {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 240px;
|
height: 240px;
|
||||||
|
|||||||
Reference in New Issue
Block a user