增加长图,方图分类上传功能

This commit is contained in:
liuyuan
2025-03-12 16:44:12 +08:00
parent cc744ec5fb
commit eadd2a83be
7 changed files with 105 additions and 16 deletions

View File

@@ -80,7 +80,7 @@
</template>
</el-table-column>
<el-table-column
label="课程图"
label="课程图"
header-align="center"
align="center"
width="100"
@@ -91,7 +91,23 @@
style="width:100%;display: flex;
align-items: center;justify-content: center;"
>
<img :src="scope.row.image" alt="" width="40px" height="40px" />
<img :src="scope.row.image" alt="" width="60px" height="30px" />
</div>
</template>
</el-table-column>
<el-table-column
label="课程方图"
header-align="center"
align="center"
width="100"
>
<template slot-scope="scope">
<div
v-if="scope.row.image"
style="width:100%;display: flex;
align-items: center;justify-content: center;"
>
<img :src="scope.row.squareImage" alt="" width="40px" height="40px" />
</div>
</template>
</el-table-column>