From 275df4962c7cb362d09e9c17a84da69667e34191 Mon Sep 17 00:00:00 2001 From: wyy <3234929097@qq.com> Date: Fri, 24 Nov 2023 16:46:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/pic-upload/index.vue | 10 ++- src/components/tiny-mce/add-or-upload.vue | 81 ------------------- src/components/tiny-mce/index.vue | 50 ++++++++++-- .../modules/prod/category/add-or-update.vue | 3 +- src/views/modules/prod/category/index.vue | 1 + .../prod/prodInfo/components/sku-tag.vue | 35 ++++---- src/views/modules/shop/notice/index.vue | 1 + src/views/modules/sys/area/add-or-update.vue | 20 +++-- src/views/modules/sys/area/index.vue | 2 +- src/views/modules/sys/menu/add-or-update.vue | 4 +- src/views/modules/sys/menu/index.vue | 1 + 11 files changed, 91 insertions(+), 117 deletions(-) delete mode 100644 src/components/tiny-mce/add-or-upload.vue diff --git a/src/components/pic-upload/index.vue b/src/components/pic-upload/index.vue index d10a9f5..92409a5 100644 --- a/src/components/pic-upload/index.vue +++ b/src/components/pic-upload/index.vue @@ -15,7 +15,11 @@ :src="resourcesUrl + modelValue" class="pic" > - + @@ -85,4 +89,8 @@ const beforeAvatarUpload = (file) => { .pic-uploader-component :deep(.el-upload:hover) { border-color: #409EFF; } +:deep(.el-upload) { + width: 148px; + height: 148px; +} diff --git a/src/components/tiny-mce/add-or-upload.vue b/src/components/tiny-mce/add-or-upload.vue deleted file mode 100644 index 4528de4..0000000 --- a/src/components/tiny-mce/add-or-upload.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - diff --git a/src/components/tiny-mce/index.vue b/src/components/tiny-mce/index.vue index 09d366c..705b535 100644 --- a/src/components/tiny-mce/index.vue +++ b/src/components/tiny-mce/index.vue @@ -9,13 +9,26 @@ :init="init" api-key="i6mv006qcwsfu1t7ebisntg5w261vpowkwirnx9cnse3ho5o" /> +
- + + + 点击上传图片 + +
@@ -23,7 +36,11 @@