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
c76928cd
Commit
c76928cd
authored
Aug 25, 2022
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息详情修改
parent
15737d2e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
15 deletions
+16
-15
src/app/my/course-detail/course-detail.component.ts
+1
-1
src/app/my/more-features/more-features.component.ts
+1
-1
src/app/my/my-news/my-news.component.html
+7
-4
src/app/my/my-news/my-news.component.scss
+7
-9
No files found.
src/app/my/course-detail/course-detail.component.ts
View file @
c76928cd
...
...
@@ -136,7 +136,7 @@ export class CourseDetailComponent implements OnInit,OnDestroy {
fileId
:
this
.
fileId
,
}
if
(
type
===
2
){
param
[
'playbackStatus'
]
=
2
;
param
[
'playbackStatus'
]
=
param
[
'totalTime'
]
==
param
[
'viewTime'
]
?
1
:
2
;
param
[
'totalTime'
]
=
param
[
'viewTime'
]
=
0
;
}
else
{
param
[
'totalTime'
]
=
this
.
video
.
nativeElement
.
duration
;
...
...
src/app/my/more-features/more-features.component.ts
View file @
c76928cd
...
...
@@ -51,7 +51,7 @@ export class MoreFeaturesComponent implements OnInit,OnDestroy {
,{
key
:
'05'
,
title
:
'银盾学院'
,
subItems
:[
{
no
:
23
,
name
:
'保险ABC'
,
icon
:
'insuranceABC'
,
link
:
''
,
path
:
`https://
${
window
.
location
.
host
}
/issue`
,
isOpen
:
true
},
{
no
:
24
,
name
:
'岗前训'
,
icon
:
'preJobTraining'
,
link
:
'/preJobTraining
'
,
path
:
''
,
isOpen
:
true
},
{
no
:
24
,
name
:
'岗前训'
,
icon
:
'preJobTraining'
,
link
:
'/preJobTraining'
,
path
:
''
,
isOpen
:
true
},
{
no
:
25
,
name
:
'新人训'
,
icon
:
'newTraining'
,
link
:
'/newTraining'
,
path
:
''
,
isOpen
:
true
},
{
no
:
27
,
name
:
'CFFP初级训'
,
icon
:
'cffpTraining'
,
link
:
'/cffpElementaryTraining'
,
path
:
''
,
isOpen
:
true
},
{
no
:
26
,
name
:
'提升训'
,
icon
:
'promotionTraining'
,
link
:
'/advanceTraining'
,
path
:
''
,
isOpen
:
true
},
...
...
src/app/my/my-news/my-news.component.html
View file @
c76928cd
...
...
@@ -11,12 +11,14 @@
<img
src=
"assets/images/icons/noticeTip.png"
alt=
""
>
</div>
<div
class=
"newsSummary"
>
<div>
<h4>
{{item.title}}
</h4>
<
p>
{{item.context}}
</p
>
</div>
<div
class=
"content"
>
<div><span>
{{item.createdAt | date:'yyyy-MM-dd'}}
</span><span
class=
"redDots"
*
ngIf=
"item.isRead=='0'"
></span></div
>
<
div><span>
{{item.createdAt}}
</span><span
class=
"redDots"
*
ngIf=
"item.isRead=='0'"
></span></div
>
</div>
<div
>
<p>
{{item.context}}
</p
>
<span
class=
"iconfont icon-ar-r"
></span>
</div>
</div>
</div>
</div>
\ No newline at end of file
src/app/my/my-news/my-news.component.scss
View file @
c76928cd
...
...
@@ -32,20 +32,13 @@
}
.newsSummary
{
width
:
0
;
flex
:
0
0
85%
;
flex
:
0
0
calc
(
100%
-
41px
)
;
p
{
width
:
150px
;
width
:
85%
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
}
.content
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
end
;
white-space
:
nowrap
;
width
:
0
;
.redDots
{
display
:
inline-block
;
width
:
8px
;
...
...
@@ -54,6 +47,11 @@
background-color
:
#F24949
;
margin-left
:
15px
;
}
>
div
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
}
}
}
.clearMessage
{
...
...
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