Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydLife
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
Sweet Zhang
ydLife
Commits
bb65fed9
Commit
bb65fed9
authored
Mar 29, 2022
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
视频播放优化
parent
daa066f6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
9 deletions
+28
-9
src/app/common/video/video.component.html
+2
-1
src/app/my/team-rank/team-rank.component.scss
+1
-1
src/app/my/todo-list/todo-list.component.html
+1
-1
src/app/my/todo-list/todo-list.component.scss
+6
-6
src/app/my/todo-list/todo-list.component.ts
+18
-0
No files found.
src/app/common/video/video.component.html
View file @
bb65fed9
<video
[
src
]="
videoSrc
"
controls=
"controls"
width=
"100%"
>
<video
[
src
]="
videoSrc
"
controls=
"controls"
width=
"100%"
preload=
"auto"
x5-playsinline=
""
playsinline=
""
webkit-playsinline=
""
>
您的浏览器不支持 video 标签。
</video>
\ No newline at end of file
src/app/my/team-rank/team-rank.component.scss
View file @
bb65fed9
...
...
@@ -74,7 +74,6 @@
.salseContent
{
width
:
100%
;
padding
:
5px
2
.5%
;
display
:
flex
;
div
{
...
...
@@ -115,6 +114,7 @@
overflow
:
hidden
;
height
:
32px
;
line-height
:
32px
;
font-size
:
12px
;
li
.icon
.iconfont
{
position
:
absolute
;
}
...
...
src/app/my/todo-list/todo-list.component.html
View file @
bb65fed9
...
...
@@ -52,7 +52,7 @@
<ul>
<li
*
ngFor=
"let taskItem of taskList"
>
<div
class=
"content_wrapper"
>
<div
class=
"content_card"
(
click
)="
editeTask
(
taskItem
,'
edit
')"
>
<div
class=
"content_card"
(
click
)="
editeTask
(
taskItem
,'
edit
')"
[
ngStyle
]="
setBackground
(
taskItem
)"
>
<span>
{{taskItem.taskTimeFrom}} - {{taskItem.taskTimeEnd}}
</span>
<div
class=
"todo_title"
>
<span
*
ngIf=
"taskItem.taskImportantTag==1"
>
(重要)
</span>
...
...
src/app/my/todo-list/todo-list.component.scss
View file @
bb65fed9
...
...
@@ -98,29 +98,29 @@ ul,ol{
position
:
relative
;
.content_card
{
background
:
#fff
;
color
:
#fff
;
padding
:
8px
12px
;
border-radius
:
10px
;
position
:
relative
;
z-index
:
10
;
padding-left
:
20px
;
.todo_title
{
font-size
:
16px
;
color
:
#000
;
font-weight
:
bold
;
margin
:
3px
auto
;
}
.notice
{
color
:
#a0a0a0
;
word-break
:break-all
;
}
}
.red
{
width
:
90%
;
width
:
5px
;
height
:
79%
;
background-color
:
red
;
position
:
absolute
;
top
:
12%
;
margin-left
:
-1
.5%
;
z-index
:
9
;
margin-left
:
8px
;
z-index
:
10
;
border-radius
:
8px
;
}
.iconfont
{
...
...
@@ -129,7 +129,7 @@ ul,ol{
z-index
:
20
;
font-size
:
20px
;
top
:
32px
;
color
:
#
a0a0a0
;
color
:
#
666
;
}
}
}
...
...
src/app/my/todo-list/todo-list.component.ts
View file @
bb65fed9
...
...
@@ -79,6 +79,24 @@ export class TodoListComponent implements OnInit {
this
.
queryScheduleTrackList
();
}
setBackground
(
item
){
let
bcConfig
=
{}
if
(
item
.
taskType
==
1
){
bcConfig
=
{
'background-color'
:
'#ff908d'
}
}
else
if
(
item
.
taskType
==
2
){
bcConfig
=
{
'background-color'
:
'#ffc28d'
}
}
else
if
(
item
.
taskType
==
3
){
bcConfig
=
{
'background-color'
:
'#72c9cd'
}
}
return
bcConfig
;
}
goBack
(){
// history.go(-1)
//离开页面清除上次缓存的时间
...
...
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