Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
standalone-anyremote
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qlintonger xeno
standalone-anyremote
Commits
00835b21
Commit
00835b21
authored
May 07, 2024
by
pangchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 优化
parent
ac29042a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
+10
-12
src/views/remote/contacts/contactsWait.vue
+10
-12
No files found.
src/views/remote/contacts/contactsWait.vue
View file @
00835b21
<
template
>
<
template
>
<div
class=
"w-full h-full flex justify-center items-center flex-col absolute bg-theme-bg3 z-[999]"
>
<div
class=
"w-full h-full flex justify-center items-center flex-col absolute bg-theme-bg3 z-[999]"
>
<global-avatar
:avatar-size=
"124"
:icon-size=
"32"
></global-avatar>
<global-avatar
:avatar-size=
"124"
:icon-size=
"32"
></global-avatar>
<div
class=
"text-4xl font-medium mt-8 mb-2 text-theme-text1"
>
{{
chattersName
.
join
(
'、'
)
}}
</div>
<div
class=
"text-4xl font-medium mt-8 mb-2 text-theme-text1"
>
{{
chattersName
.
join
(
'、'
)
}}
</div>
<div
v-if=
"chatChannelState.currentState === CallState.callIn"
class=
"text-2xl font-medium mb-8 text-theme-text3"
>
正在呼叫你...
</div>
<div
class=
"text-2xl font-medium mb-8 text-theme-text3"
>
{{
chatChannelState
.
currentState
===
CallState
.
callIn
?
'正在呼叫你...'
:
'正在呼叫'
}}
</div>
<div
v-else
class=
"text-2xl font-medium mb-8 text-theme-text3"
>
正在呼叫
</div>
<a-space
:size=
"32"
>
<a-space
:size=
"32"
>
<template
v-if=
"chatChannelState.currentState === CallState.callIn"
>
<template
v-if=
"chatChannelState.currentState === CallState.callIn"
>
<a-button
shape=
"circle"
status=
"success"
type=
"primary"
@
click=
"acceptCall"
>
<a-button
shape=
"circle"
status=
"success"
type=
"primary"
@
click=
"acceptCall"
>
...
@@ -23,14 +22,14 @@
...
@@ -23,14 +22,14 @@
</template>
</template>
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
{
useAnyR
}
from
"AnyR/index"
;
import
{
useAnyR
}
from
'AnyR/index'
import
{
chatChannelState
}
from
"AnyR/states/chatChannelStates"
;
import
{
chatChannelState
}
from
'AnyR/states/chatChannelStates'
import
{
CallState
}
from
"AnyR/constants/chatChannelRelated"
;
import
{
CallState
}
from
'AnyR/constants/chatChannelRelated'
import
{
allOtherChattersIdSet
}
from
"AnyR/states/chatChannelStates"
;
import
{
allOtherChattersIdSet
}
from
'AnyR/states/chatChannelStates'
import
{
userStates
}
from
"AnyR/states/wsStates"
;
import
{
userStates
}
from
'AnyR/states/wsStates'
import
{
computed
}
from
"vue"
;
import
{
computed
}
from
'vue'
const
AnyR
=
useAnyR
()
;
const
AnyR
=
useAnyR
()
const
chattersName
=
computed
(
function
()
{
const
chattersName
=
computed
(
function
()
{
return
allOtherChattersIdSet
.
value
.
map
(
function
(
a
:
any
)
{
return
allOtherChattersIdSet
.
value
.
map
(
function
(
a
:
any
)
{
...
@@ -48,9 +47,8 @@ function refuseCall() {
...
@@ -48,9 +47,8 @@ function refuseCall() {
}
}
function
cancelCall
()
{
function
cancelCall
()
{
AnyR
?.
agora
.
cancelCurrentCall
();
AnyR
?.
agora
.
cancelCurrentCall
()
}
}
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.arco-btn
{
.arco-btn
{
...
...
Write
Preview
Markdown
is supported
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