From ae43feac8c6b2372f5a061ead68e71027e8877e1 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期四, 27 六月 2024 09:25:10 +0800 Subject: [PATCH] 修改 --- src/views/onlineEducation/studentSupervision/compontents/lessonReport.vue | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/views/onlineEducation/studentSupervision/compontents/lessonReport.vue b/src/views/onlineEducation/studentSupervision/compontents/lessonReport.vue index 85c8db9..d8c0107 100644 --- a/src/views/onlineEducation/studentSupervision/compontents/lessonReport.vue +++ b/src/views/onlineEducation/studentSupervision/compontents/lessonReport.vue @@ -4,12 +4,16 @@ :visible.sync="dialogVisible" :modal-append-to-body="false" :close-on-click-modal="false" - width="850px" + width="600px" :before-close="handleClose" append-to-body > <div class="columnFlex" style="margin-top: 10px"> - <img style="height: 130px;width: 150px;" src="../../../../assets/images/im.png"> + <el-image + style="width: 500px;height: 300px" + :src="url" + :preview-src-list="[url]"> + </el-image> </div> </el-dialog> </template> @@ -23,14 +27,15 @@ return { dialogVisible: false, dialogStatus: '', + url: '' } }, created() { }, methods: { - openDialog (type, data) { + openDialog (data) { + this.url = data; this.dialogVisible = true; - this.dialogStatus = type; }, handleClose() { -- Gitblit v1.9.2