Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
live-management-web
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haojie
live-management-web
Commits
e10ac17c
Commit
e10ac17c
authored
Jul 27, 2023
by
haojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
关播成功通知首页刷新直播列表
parent
63474c79
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
8 deletions
+40
-8
src/components/Loading/index_1.vue
+1
-0
src/components/cardOne.vue
+2
-0
src/pages/home/components/myDigtalPeople.vue
+37
-8
No files found.
src/components/Loading/index_1.vue
View file @
e10ac17c
...
...
@@ -19,6 +19,7 @@
border
:
4px
solid
#ccc
;
border-top-color
:
#888
;
animation
:
spin
1s
infinite
linear
;
transform
:
translateZ
(
0
);
}
@keyframes
spin
{
...
...
src/components/cardOne.vue
View file @
e10ac17c
...
...
@@ -89,6 +89,8 @@ watch(
height
:
174px
;
border-top-left-radius
:
8px
;
border-top-right-radius
:
8px
;
//
object-fit
:
contain
;
//
object-fit
:
cover
;
}
}
}
...
...
src/pages/home/components/myDigtalPeople.vue
View file @
e10ac17c
...
...
@@ -30,9 +30,15 @@
</template>
<
template
#
live
>
<template
v-if=
"item.is_live"
>
<div
class=
"digtal-people-liveing"
>
<div
class=
"digtal-people-
status
liveing"
>
<div
class=
"dot"
></div>
<span>
直播中
</span>
<span>
LIVE
</span>
</div>
</
template
>
<
template
v-if=
"item.status == 2"
>
<div
class=
"digtal-people-status process"
>
<OtherLoading></OtherLoading>
<span>
生成中
</span>
</div>
</
template
>
</template>
...
...
@@ -45,6 +51,7 @@
</template>
<
script
lang=
"ts"
setup
>
import
OtherLoading
from
'@/components/Loading/index_1.vue'
;
import
Grid
from
'@/components/Grid.vue'
;
import
{
onMounted
,
reactive
,
ref
,
watch
}
from
'vue'
;
import
ConfirmDialog
from
'@/components/ConfirmDialog.vue'
;
...
...
@@ -169,6 +176,7 @@ watch(
</
script
>
<
style
lang=
"less"
>
@import
'@/style/variables.less'
;
.my-digtal-people
{
padding
:
20px
30px
;
background
:
#303030
;
...
...
@@ -197,23 +205,44 @@ watch(
margin-bottom
:
20px
;
}
}
.digtal-people-
liveing
{
.digtal-people-
status
{
position
:
absolute
;
top
:
0
;
right
:
0
;
background
:
rgb
(
252
,
56
,
75
);
border-top-right-radius
:
8px
;
color
:
white
;
padding
:
6px
12px
;
display
:
flex
;
justify-content
:
space-evenly
;
align-items
:
center
;
font-weight
:
bold
;
height
:
30px
;
width
:
74px
;
font-size
:
@
size-12
;
white-space
:
nowrap
;
font-weight
:
700
;
.dot
{
width
:
10
px
;
height
:
10
px
;
width
:
5
px
;
height
:
5
px
;
border-radius
:
50%
;
background
:
white
;
margin-right
:
12px
;
}
}
.liveing
{
background
:
rgb
(
252
,
56
,
75
);
color
:
white
;
}
.process
{
color
:
#fff
;
background
:
#b3b3b3
;
.custom-loading
{
height
:
auto
;
margin-right
:
6px
;
.spinner
{
width
:
16px
;
height
:
16px
;
border
:
2px
solid
#fff
;
border-top-color
:
#b3b3b3
;
}
}
}
}
...
...
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