From c14215cf855f37476c59b238dfe996aa6e3504b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=8F?= <1978476055@qq.com> Date: Wed, 31 Jul 2024 10:24:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/views/qa/qa.vue | 86 ++++++++++++++++++++------------------- 1 file changed, 44 insertions(+), 42 deletions(-) diff --git a/admin/src/views/qa/qa.vue b/admin/src/views/qa/qa.vue index 009e1ad7..b56489b4 100644 --- a/admin/src/views/qa/qa.vue +++ b/admin/src/views/qa/qa.vue @@ -189,8 +189,8 @@ alt="" /> - +
(请上传zip格式的文件图片)
@@ -220,8 +220,8 @@ alt="" /> - + (本行程请上传,ppt,word,pdf格式的文件) @@ -313,26 +313,21 @@ :show-file-list="false" :on-success="handleAvatarSuccess" > -
-
- - - -
- +
+ + +
+
(请上传zip格式的文件图片)
@@ -344,26 +339,21 @@ :show-file-list="false" :on-success="handleSuccess" > -
-
- - - -
- +
+ + +
+ (本行程请上传,ppt,word,pdf格式的文件) @@ -431,6 +421,7 @@ export default { ".svg", ".webp", ]; + console.log(url); console.log( "========fffff====" + imageExtensions.some((extension) => @@ -522,8 +513,12 @@ export default { } else { this.anchors = { ...item }; } - this.anchors.img_zip = item.img_zip; - this.anchors.trip_zip = item.trip_zip; + this.anchors.img_zip = img_zip; + this.anchors.trip_zip = trip_zip; + // this.anchors.img_zip = + // typeof item.img_zip == "string" ? [item.img_zip] : item.img_zip; + // this.anchors.trip_zip = + // typeof item.trip_zip == "string" ? [item.trip_zip] : item.trip_zip; this.dialogEdit = true; }, onSave() { @@ -598,6 +593,13 @@ export default { margin-left: 10px; } } +::v-deep.el-upload { + display: flex; +} +.el-icon-plus { + // display: inline-block; + margin-left: 10px; +} .el-icon-folder { color: #409eff !important; font-size: 100px;