From 2bc6429156e1c7160abda88cac9b2362414d68dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E4=B8=BD=E5=90=9B?= <664953382@qq.com> Date: Fri, 5 Nov 2021 15:28:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E9=A6=96=E9=A1=B5=E8=A7=A3?= =?UTF-8?q?=E8=AF=BB=E6=A3=80=E7=B4=A2=EF=BC=8C=E6=9B=B4=E5=A4=9A=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=B8=8D=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/home.vue | 12 +++++------- src/views/portrait.vue | 4 ++++ src/views/result.vue | 17 +++++++++++++---- 3 files changed, 22 insertions(+), 11 deletions(-) diff --git a/src/views/home/home.vue b/src/views/home/home.vue index 2f55ca9..b464221 100644 --- a/src/views/home/home.vue +++ b/src/views/home/home.vue @@ -31,7 +31,7 @@
- +
- +
-->
@@ -165,9 +169,13 @@ export default { watch: { formData: { handler: function() { - if (this.type == 'policy') { + if (this.type == 'policy' || this.type == 'policyRead') { this.$nextTick(() => { - this.formatRichText(this.formData.downloadUrl, this.formData.id); + this.formatRichText( + this.formData.downloadUrl, + this.formData.id, + this.formData.url + ); }); } else { this.formData.text = this.formData.text.replaceAll(' ', ' '); @@ -263,7 +271,8 @@ export default { /deep/.editor { border: 0; } - /deep/p { + /deep/p, + /deep/#zoom { img { max-width: 100%; }