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
7d21ea82
Commit
7d21ea82
authored
May 06, 2024
by
pangchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 样式调整
parent
66d66bef
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
27 deletions
+11
-27
src/views/login/index.vue
+3
-2
src/views/remote/contacts/contactsList.vue
+2
-7
src/views/remote/contacts/contactsListChoose.vue
+2
-7
src/views/remote/videoCall/videoInfo.vue
+4
-11
No files found.
src/views/login/index.vue
View file @
7d21ea82
...
...
@@ -30,6 +30,7 @@ import useUserStore from '@/store/user'
import
{
Notification
,
ValidatedError
}
from
'@arco-design/web-vue'
import
{
alova
}
from
'@/api/alova-instance'
import
{
useRequest
}
from
'alova'
import
{
debounce
}
from
'lodash'
const
loginForm
=
reactive
({
username
:
''
,
...
...
@@ -107,11 +108,11 @@ const getCaptcha = async () => {
}
watch
(
()
=>
loginForm
.
username
,
(
value
)
=>
{
debounce
(
(
value
)
=>
{
if
(
value
)
{
getCaptcha
()
}
}
}
,
500
)
)
</
script
>
<
style
lang=
"less"
scoped
></
style
>
src/views/remote/contacts/contactsList.vue
View file @
7d21ea82
<
template
>
<template
v-for=
"(item, index) in data"
:key=
"item.id"
>
<div
class=
"
item flex items-center px-4 py-3 rounded cursor-pointer"
:class=
"
{ active
: chooseContactsItem?.id == item.id }" @click="handleClick(item)">
<div
class=
"
hover:bg-[var(--color-fill-1)] flex items-center px-4 py-3 rounded cursor-pointer"
:class=
"
{ 'bg-fill-bg1'
: chooseContactsItem?.id == item.id }" @click="handleClick(item)">
<global-avatar></global-avatar>
<div
class=
"ml-[9px] inline-block"
>
{{
item
.
nickname
}}
</div>
<div
class=
"flex items-center ml-6"
>
...
...
@@ -57,9 +57,4 @@ onBeforeUnmount(() => {
setChooseUser
(
undefined
)
})
</
script
>
<
style
lang=
"less"
scoped
>
.item.active
,
.item
:hover
{
background-color
:
var
(
--color-fill-1
);
}
</
style
>
<
style
lang=
"less"
scoped
></
style
>
src/views/remote/contacts/contactsListChoose.vue
View file @
7d21ea82
<
template
>
<a-checkbox-group
v-model=
"checkbox"
class=
"w-full"
>
<template
v-for=
"(item, index) in data"
:key=
"item.id"
>
<div
class=
"
item
flex items-center px-4 py-3 rounded cursor-pointer"
>
<div
class=
"
hover:bg-[var(--color-fill-1)]
flex items-center px-4 py-3 rounded cursor-pointer"
>
<global-avatar></global-avatar>
<div
class=
"ml-[9px] inline-block"
>
{{
item
.
nickname
}}
</div>
<div
class=
"flex-auto text-right"
>
...
...
@@ -23,9 +23,4 @@ const ps = withDefaults(defineProps<Props>(), {
})
const
checkbox
=
defineModel
<
string
[]
>
()
</
script
>
<
style
lang=
"less"
scoped
>
.item.active
,
.item
:hover
{
background-color
:
var
(
--color-fill-1
);
}
</
style
>
<
style
lang=
"less"
scoped
></
style
>
src/views/remote/videoCall/videoInfo.vue
View file @
7d21ea82
...
...
@@ -5,11 +5,11 @@
{{
videoTitle
}}
</a-typography-paragraph>
<a-space
size=
"medium"
>
<div
class=
"tool py-[9px]
cursor-pointer
"
>
<div
class=
"tool py-[9px]
bg-fill-bg1
"
>
<global-icon
icon=
"view-gallery"
:size=
"12"
></global-icon>
<span
class=
"ml-1 color-text-2"
>
视图
</span>
</div>
<div
class=
"tool py-[9px]
cursor-pointer
"
>
<div
class=
"tool py-[9px]
bg-fill-bg1
"
>
<global-icon
icon=
"fullscreen"
:size=
"16"
></global-icon>
<span
class=
"ml-1 color-text-2"
>
全屏
</span>
</div>
...
...
@@ -35,7 +35,7 @@ onMounted(function () {
})
function
idChangedHere
(
id
:
any
)
{
inCenterUserVideoId
.
value
=
id
;
inCenterUserVideoId
.
value
=
id
}
const
userVideoContainerSet
=
computed
(
function
()
{
...
...
@@ -56,13 +56,6 @@ const videoTitle = ref('2024-02-17 10:22:23远程协助事件')
}
}
.tool
{
@apply
flex-center
px-2
rounded;
background-color
:
var
(
--color-fill-1
);
}
.item
{
@apply
flex-center
flex-col
rounded
cursor-pointer;
&:hover
{
background-color
:
var
(
--color-fill-2
);
}
@apply
flex-center
px-2
rounded
cursor-pointer;
}
</
style
>
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