diff --git a/TUIKit/assets/icon/start-group.svg b/TUIKit/assets/icon/start-group.svg index 6fd02f8..5b70a3f 100644 --- a/TUIKit/assets/icon/start-group.svg +++ b/TUIKit/assets/icon/start-group.svg @@ -1,6 +1 @@ - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/TUIKit/assets/icon/user-add.svg b/TUIKit/assets/icon/user-add.svg new file mode 100644 index 0000000..ae1d0b7 --- /dev/null +++ b/TUIKit/assets/icon/user-add.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/TUIKit/components/TUIChat/message-input/message-input-quote/index.vue b/TUIKit/components/TUIChat/message-input/message-input-quote/index.vue index 5ceba0e..e3a752c 100644 --- a/TUIKit/components/TUIChat/message-input/message-input-quote/index.vue +++ b/TUIKit/components/TUIChat/message-input/message-input-quote/index.vue @@ -75,7 +75,10 @@ /** 是否是红包 */ const isRedEnvelope = computed(() => { - if (quoteMessage.value?.payload?.data) { + if ( + quoteMessage.value?.payload?.data && + quoteMessage.value?.type === 'TIMCustomElem' + ) { const businessID = JSON?.parse( quoteMessage.value?.payload?.data )?.businessID diff --git a/TUIKit/components/TUIChat/message-list/message-elements/simple-message-list/index.vue b/TUIKit/components/TUIChat/message-list/message-elements/simple-message-list/index.vue index aa39066..c94c322 100644 --- a/TUIKit/components/TUIChat/message-list/message-elements/simple-message-list/index.vue +++ b/TUIKit/components/TUIChat/message-list/message-elements/simple-message-list/index.vue @@ -316,7 +316,10 @@ /** 是否红包 */ const isRedEnvelope = (item: any) => { - if (item.messageBody[0]?.payload?.data) { + if ( + item.messageBody[0]?.payload?.data && + item.messageBody[0]?.type === 'TIMCustomElem' + ) { const businessID = JSON?.parse( item.messageBody[0]?.payload?.data )?.businessID diff --git a/TUIKit/components/TUIContact/contact-search/index.vue b/TUIKit/components/TUIContact/contact-search/index.vue index ffaacd0..bfda507 100644 --- a/TUIKit/components/TUIContact/contact-search/index.vue +++ b/TUIKit/components/TUIContact/contact-search/index.vue @@ -175,7 +175,7 @@ border-radius: 64rpx; height: 64rpx; padding: 0 32rpx; - + background: #f4f4f4; } diff --git a/TUIKit/components/TUIConversation/conversation-header/index.vue b/TUIKit/components/TUIConversation/conversation-header/index.vue index 92cd651..a4cdffe 100644 --- a/TUIKit/components/TUIConversation/conversation-header/index.vue +++ b/TUIKit/components/TUIConversation/conversation-header/index.vue @@ -1,6 +1,8 @@