From 8de133a20d6f2dad17bb0f6c7ee046fe9de353a2 Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Wed, 9 Nov 2022 10:19:02 +0800 Subject: [PATCH 1/2] 1 --- .env.development | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.development b/.env.development index d1c8a3e7c..e6abb72d8 100644 --- a/.env.development +++ b/.env.development @@ -8,7 +8,7 @@ VUE_APP_API_SERVER = http://192.168.1.140/api # VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn:41080/api # VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn/api -# VUE_APP_NODE_ENV=dev_sdtdt -VUE_APP_NODE_ENV=dev +VUE_APP_NODE_ENV=dev_sdtdt +# VUE_APP_NODE_ENV=dev #项目根路径 VUE_APP_PUBLIC_PATH=epmet-oper \ No newline at end of file From 1332ca92a0090b6917b1016494410110509aa8f2 Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Thu, 10 Nov 2022 17:32:29 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E6=94=B9=E4=B8=80?= =?UTF-8?q?=E4=B8=8B=E8=81=94=E5=BB=BA=E6=B4=BB=E5=8A=A8=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/tinymce2/index.vue | 17 ++- .../regionalParty/activitysDetail.vue | 121 +++++++----------- .../regionalParty/activitysForm.vue | 2 +- 3 files changed, 64 insertions(+), 76 deletions(-) diff --git a/src/views/components/tinymce2/index.vue b/src/views/components/tinymce2/index.vue index 8f7f561d6..89323c172 100644 --- a/src/views/components/tinymce2/index.vue +++ b/src/views/components/tinymce2/index.vue @@ -93,7 +93,7 @@ export default { toolbar: // "formats undo redo paste print fontsizeselect fontselect template fullpage|wordcount ltr rtl visualchars visualblocks toc spellchecker searchreplace|save preview pagebreak nonbreaking|media image|outdent indent aligncenter alignleft alignright alignjustify lineheight underline quicklink h2 h3 blockquote numlist bullist table removeformat forecolor backcolor bold italic strikethrough hr charmap link insertdatetime|subscript superscript cut codesample code |anchor preview fullscreen|help", "formats undo redo|fontsizeselect|fontselect|forecolor backcolor bold italic underline strikethrough removeformat|image media link|outdent indent|aligncenter alignleft alignright alignjustify lineheight quicklink h2 h3 blockquote numlist bullist table|subscript superscript codesample code|preview fullscreen|wordcount|help", - content_style: "p {margin: 5px 0; font-size: 14px}", + content_style: "p {margin: 5px 0; font-size: 14px} img{max-width:100%;}", fontsize_formats: "12px 14px 16px 18px 24px 36px 48px 56px 72px", font_formats: "微软雅黑=Microsoft YaHei,Helvetica Neue,PingFang SC,sans-serif;苹果苹方=PingFang SC,Microsoft YaHei,sans-serif;宋体=simsun,serif;仿宋体=FangSong,serif;黑体=SimHei,sans-serif;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;", @@ -152,6 +152,21 @@ export default { // tinymce.init; // 初始化 const revert_data = (content) => { + // content = + // ' '; + // content = content.replace(/<(img).*?(>|\/>|<\/img>)/g, function (mats) { + // if (mats.indexOf("style") < 0) { + // return mats.replace( + // /<\s*img/, + // '
-
-
+
-
所属网格: {{ formData.gridName }} @@ -24,8 +21,7 @@
活动内容: -

+

服务人数: @@ -42,90 +38,70 @@
活动地图:
-
-
活动成果: -

- +

-
- 关 闭 - + 关 闭
-
- - - diff --git a/src/views/modules/communityParty/regionalParty/activitysForm.vue b/src/views/modules/communityParty/regionalParty/activitysForm.vue index 4777fb487..1c1dfc789 100644 --- a/src/views/modules/communityParty/regionalParty/activitysForm.vue +++ b/src/views/modules/communityParty/regionalParty/activitysForm.vue @@ -349,7 +349,7 @@ export default { let style_img = "style='width:50px;height:40px;' " if (this.formData.content) { - this.formData.content = this.formData.content.replace(/