Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
FE_COMMON_LIB
cuiniao-im-s
Commits
d1782438
Commit
d1782438
authored
5 months ago
by
戴鹏云
Browse files
Options
Download
Email Patches
Plain Diff
feat: 插槽
parent
f6525684
master
feat-noiconfont
feat-noiconfont2
v0.0.7-noiconfont
v0.0.6-noiconfont
v0.0.5
v0.0.4
v0.0.3
v0.0.1
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
src/App.vue
+3
-6
src/App.vue
src/Demo.vue
+7
-4
src/Demo.vue
src/views/im/chatRoom/messageTypes/qNoticeMessage/index.vue
+2
-1
src/views/im/chatRoom/messageTypes/qNoticeMessage/index.vue
src/views/im/contacts/Contacts.vue
+1
-0
src/views/im/contacts/Contacts.vue
src/views/im/contacts/SearchChat.vue
+3
-0
src/views/im/contacts/SearchChat.vue
with
16 additions
and
11 deletions
+16
-11
src/App.vue
+
3
-
6
View file @
d1782438
<
template
>
<a-config-provider
:locale=
"zhCN"
>
<IM
v-if=
"memberStore.me.user_uuid"
/>
<ImPersonIntroduce
ref=
"introRefc"
:user-id=
"personUid"
:container=
"container"
/>
<ImCustomerInfo
ref=
"customerRefc"
:user-id=
"customerId"
/>
</a-config-provider>
<IM
v-if=
"memberStore.me.user_uuid"
/>
<ImPersonIntroduce
ref=
"introRefc"
:user-id=
"personUid"
:container=
"container"
/>
<ImCustomerInfo
ref=
"customerRefc"
:user-id=
"customerId"
/>
</
template
>
<
script
lang=
"ts"
setup
>
import
zhCN
from
'
ant-design-vue/es/locale/zh_CN
'
import
IM
from
'
@/views/im/index.vue
'
import
ImPersonIntroduce
from
'
@/views/im/components/ImPersonIntroduce.vue
'
import
ImCustomerInfo
from
'
@/views/im/components/ImCustomerInfo.vue
'
...
...
This diff is collapsed.
Click to expand it.
src/Demo.vue
+
7
-
4
View file @
d1782438
<
template
>
<div
class=
"qtable-im"
>
<!-- 完整dome -->
<ChatRoom
tabType=
"all"
></ChatRoom>
</div>
<a-config-provider
:locale=
"zhCN"
>
<div
class=
"qtable-im"
>
<!-- 完整dome -->
<ChatRoom
tabType=
"all"
></ChatRoom>
</div>
</a-config-provider>
</
template
>
<
script
setup
>
import
zhCN
from
'
ant-design-vue/es/locale/zh_CN
'
import
{
getCurrentInstance
}
from
'
vue
'
import
{
installChat
,
ChatRoom
}
from
'
./pkg
'
...
...
This diff is collapsed.
Click to expand it.
src/views/im/chatRoom/messageTypes/qNoticeMessage/index.vue
+
2
-
1
View file @
d1782438
...
...
@@ -12,9 +12,10 @@
<
script
setup
>
import
QNoticeCard
from
'
@/views/workbench/qNotice/qNoticeCard/qNoticeCard.vue
'
import
{
eventBus
}
from
'
@/utils/eventBus
'
import
{
defineProps
}
from
'
vue
'
import
{
IM_Q_NOTIFY_DETAIL
,
IM_REPLAY
}
from
'
@/views/im/config/events
'
const
props
=
defineProps
({
message
:
Object
})
function
handleDetail
(...
args
)
{
eventBus
.
emit
(
IM_Q_NOTIFY_DETAIL
,
...
args
)
}
...
...
This diff is collapsed.
Click to expand it.
src/views/im/contacts/Contacts.vue
+
1
-
0
View file @
d1782438
...
...
@@ -16,6 +16,7 @@
class=
"flex1 w0 search"
:handle-select-search=
"handleSelectSearch"
></search-chat>
<div
class=
"contacts-header-right-slot"
></div>
</
template
>
</div>
<div
class=
"offline"
>
...
...
This diff is collapsed.
Click to expand it.
src/views/im/contacts/SearchChat.vue
+
3
-
0
View file @
d1782438
...
...
@@ -11,6 +11,9 @@
@
focus=
"focus"
@
input=
"handleSearch"
>
<template
v-slot:suffix
>
<div
class=
"contacts-search-right-slot"
></div>
</
template
>
</input-search>
<div
v-show=
"showSearch"
v-loading.center=
"searchLoading"
class=
"search-list"
>
<div
id=
"im-chat-search-list"
ref=
"searchListRef"
class=
"search-list__content scroll-bar"
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help