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
0acfb4cb
Commit
0acfb4cb
authored
Apr 30, 2024
by
qlintonger xeno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加内容
parent
715ef338
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
6 deletions
+23
-6
src/views/remote/videoCall/videoInfo.vue
+13
-4
src/views/remote/videoCall/videoSlider.vue
+5
-1
src/views/remote/videoCall/videoTools.vue
+5
-1
No files found.
src/views/remote/videoCall/videoInfo.vue
View file @
0acfb4cb
...
@@ -16,21 +16,30 @@
...
@@ -16,21 +16,30 @@
</a-space>
</a-space>
</div>
</div>
<!-- 其余的视频窗口-->
<!-- 其余的视频窗口-->
<video-slider
class=
"mb-3 px-4"
></video-slider>
<video-slider
class=
"mb-3 px-4"
:id-set=
"userVideoContainerSet.onTopUserSet"
></video-slider>
<!-- 放大的窗口-->
<!-- 放大的窗口-->
<video-tools
class=
"px-4"
></video-tools>
<video-tools
:id=
"userVideoContainerSet.inCenter"
class=
"px-4"
></video-tools>
</div>
</div>
</
template
>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
import
VideoSlider
from
'./videoSlider.vue'
import
VideoSlider
from
'./videoSlider.vue'
import
VideoTools
from
'./videoTools.vue'
import
VideoTools
from
'./videoTools.vue'
import
{
useAnyR
}
from
"AnyR/index"
;
import
{
allOtherChattersIdSet
}
from
"AnyR/states/chatChannelStates"
;
import
{
allOtherChattersIdSet
}
from
"AnyR/states/chatChannelStates"
;
import
{
computed
,
ref
,
onMounted
}
from
"vue"
;
const
inCenterUserVideoId
=
ref
(
''
);
const
AnyR
=
useAnyR
()
onMounted
(
function
()
{
inCenterUserVideoId
.
value
=
allOtherChattersIdSet
.
value
[
0
];
})
const
userVideoContainerSet
=
computed
(
function
()
{
return
{
onTopUserSet
:
allOtherChattersIdSet
.
value
.
filter
((
a
:
any
)
=>
a
!==
inCenterUserVideoId
.
value
),
inCenter
:
inCenterUserVideoId
.
value
}
})
const
videoTitle
=
ref
(
'2024-02-17 10:22:23远程协助事件'
)
const
videoTitle
=
ref
(
'2024-02-17 10:22:23远程协助事件'
)
</
script
>
</
script
>
...
...
src/views/remote/videoCall/videoSlider.vue
View file @
0acfb4cb
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"cursor-pointer"
@
click=
"slideLeft"
><icon-left
/></div>
<div
class=
"cursor-pointer"
@
click=
"slideLeft"
><icon-left
/></div>
<div
class=
"slider-container mb-1"
>
<div
class=
"slider-container mb-1"
>
<a-space
class=
"slider-content overflow-y-hidden"
:size=
"8"
:style=
"sliderStyles"
>
<a-space
class=
"slider-content overflow-y-hidden"
:size=
"8"
:style=
"sliderStyles"
>
<video-item
class=
"slider-item"
v-for=
"item in
10
"
></video-item>
<video-item
class=
"slider-item"
v-for=
"item in
ps.idSet"
:key=
"item"
:is-self=
"false"
:id=
"item
"
></video-item>
</a-space>
</a-space>
</div>
</div>
<!-- 往右 -->
<!-- 往右 -->
...
@@ -16,6 +16,10 @@
...
@@ -16,6 +16,10 @@
import
VideoItem
from
'./videoItem.vue'
import
VideoItem
from
'./videoItem.vue'
import
{
IconLeft
,
IconRight
}
from
'@arco-design/web-vue/es/icon'
import
{
IconLeft
,
IconRight
}
from
'@arco-design/web-vue/es/icon'
const
ps
=
defineProps
<
{
idSet
:
Array
<
any
>
}
>
()
const
sliderWidth
=
ref
(
150
)
//滑块宽度
const
sliderWidth
=
ref
(
150
)
//滑块宽度
const
slidePosition
=
ref
(
0
)
//初始位置
const
slidePosition
=
ref
(
0
)
//初始位置
const
slideDistance
=
150
// 滑动距离
const
slideDistance
=
150
// 滑动距离
...
...
src/views/remote/videoCall/videoTools.vue
View file @
0acfb4cb
<
template
>
<
template
>
<div>
<div>
<div
class=
"relative mb-4"
>
<div
class=
"relative mb-4"
style=
"height: 300px"
:id=
"`RemoteVideo$
{ps.id}`"
>
<div
class=
"absolute flex justify-between items-center p-1 t-0 l-0 w-full z-10"
>
<div
class=
"absolute flex justify-between items-center p-1 t-0 l-0 w-full z-10"
>
<div
class=
"text-xs px-2 rounded-sm leading-5"
style=
"background-color: rgb(var(--success-1)); color: rgb(var(--success-6))"
>
吴彦谦
</div>
<div
class=
"text-xs px-2 rounded-sm leading-5"
style=
"background-color: rgb(var(--success-1)); color: rgb(var(--success-6))"
>
吴彦谦
</div>
<div
class=
"rounded-full size-6 flex-center"
style=
"background-color: var(--color-border-1)"
>
<div
class=
"rounded-full size-6 flex-center"
style=
"background-color: var(--color-border-1)"
>
...
@@ -44,6 +44,10 @@
...
@@ -44,6 +44,10 @@
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
import
{
useAnyR
}
from
"AnyR/index"
;
import
{
useAnyR
}
from
"AnyR/index"
;
const
ps
=
defineProps
<
{
id
:
any
}
>
()
const
AnyR
=
useAnyR
();
const
AnyR
=
useAnyR
();
function
hangupCall
()
{
function
hangupCall
()
{
...
...
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