From 9788cf0bedbd29fa882d059d885ccd37f284b5bc Mon Sep 17 00:00:00 2001 From: DCloud_JSON Date: Mon, 24 Jun 2024 16:47:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=EF=BC=8C=E4=BB=A3=E7=A0=81=E7=B1=BB=E5=9E=8B=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/uni-im-msg/types/code.vue | 3 ++- components/uni-im-msg/uni-im-msg.vue | 1 + pages/common/view-code-page/view-code-page.vue | 9 +++++---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/components/uni-im-msg/types/code.vue b/components/uni-im-msg/types/code.vue index b393b5b..5872f2c 100644 --- a/components/uni-im-msg/types/code.vue +++ b/components/uni-im-msg/types/code.vue @@ -153,7 +153,7 @@ }, toCodePage() { uni.navigateTo({ - url: '/uni_modules/uni-im/pages/common/view-code-page/view-code-page?code='+ encodeURIComponent(JSON.stringify(this.code)) + url: '/uni_modules/uni-im/pages/common/view-code-page/view-code-page?msgId=' + this.msg._id + '&conversationId=' + this.msg.conversation_id }) }, trOnclick(e) { @@ -244,6 +244,7 @@ } .show-full-text { + margin:0 auto; font-size: 12px; color: #888; } diff --git a/components/uni-im-msg/uni-im-msg.vue b/components/uni-im-msg/uni-im-msg.vue index 325e4d2..cf29555 100644 --- a/components/uni-im-msg/uni-im-msg.vue +++ b/components/uni-im-msg/uni-im-msg.vue @@ -406,6 +406,7 @@ width: 0; flex-grow: 1; .msg-content-box { + width: 100%; flex-direction: row; align-items: center; justify-content: flex-start; diff --git a/pages/common/view-code-page/view-code-page.vue b/pages/common/view-code-page/view-code-page.vue index 3425f7f..d17a185 100644 --- a/pages/common/view-code-page/view-code-page.vue +++ b/pages/common/view-code-page/view-code-page.vue @@ -7,6 +7,7 @@