diff --git a/components/uni-im-msg/types/code.vue b/components/uni-im-msg/types/code.vue index b393b5b647b9f5d723e22ada1e10a32e7e29e7e7..5872f2cec456c6073a43e0f2a5461622ba18a1c9 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 325e4d2c37340ba79784de4019a6c154e9b027b1..cf29555b694c823e411efb4177bc3ab60e4c9a0f 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 3425f7fe03cac33da2636ef1fac54c64ec6574cc..d17a18597bc68554c1be2a78311b2236d6e83a04 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 @@