Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-ces
Project
Project
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
wangqinghua
wisdom-ces
Commits
dd33aad3
Commit
dd33aad3
authored
Oct 11, 2018
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日历
parent
c2e805e7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
2 deletions
+31
-2
notice.html
src/pages/tabs/notice/notice.html
+30
-1
notice.ts
src/pages/tabs/notice/notice.ts
+1
-1
No files found.
src/pages/tabs/notice/notice.html
View file @
dd33aad3
...
...
@@ -10,7 +10,9 @@
<ion-content
padding
>
<div
class=
"notice"
>
<div
class=
"notice-card"
*
ngFor=
"let item of noticeList;"
>
<ng-container
*
ngFor=
"let item of noticeList;"
>
<ng-container
*
ngIf=
"item.isRead == 0"
>
<div
class=
"notice-card"
>
<div
class=
"notice-type"
>
<div
class=
"type-img"
>
<img
*
ngIf=
"item.type == 1"
src=
"./assets/imgs/notice/notice-zbpb.png"
alt=
""
>
...
...
@@ -28,6 +30,33 @@
{{item.content}}
</div>
</div>
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"noticeList"
>
<p
class=
"color-666"
>
以下为旧消息
</p>
</ng-container>
<ng-container
*
ngFor=
"let item of noticeList;"
>
<ng-container
*
ngIf=
"item.isRead == 1"
>
<div
class=
"notice-card"
>
<div
class=
"notice-type"
>
<div
class=
"type-img"
>
<img
*
ngIf=
"item.type == 1"
src=
"./assets/imgs/notice/notice-zbpb.png"
alt=
""
>
<img
*
ngIf=
"item.type == 2"
src=
"./assets/imgs/notice/notice-rzzf.png"
alt=
""
>
<img
*
ngIf=
"item.type == 3"
src=
"./assets/imgs/notice/notice-srzf.png"
alt=
""
>
<img
*
ngIf=
"item.type == 4"
src=
"./assets/imgs/notice/notice-hdtx.png"
alt=
""
>
<img
*
ngIf=
"item.type == 5"
src=
"./assets/imgs/notice/notice-wcbb.png"
alt=
""
>
<img
*
ngIf=
"item.type == 6"
src=
"./assets/imgs/notice/notice-wjtc.png"
alt=
""
>
</div>
<div
class=
"type-info"
style=
"width:50%;"
>
{{item.title}}
</div>
<div
class=
"type-time"
style=
"width:30%;"
>
{{item.sendTime | date:'yyyy-MM-dd' }}
</div>
</div>
<div
class=
"notice-content"
>
<!--今天是 <span class="notice-key">张豆豆</span>同志的生日,祝他生日快乐!-->
{{item.content}}
</div>
</div>
</ng-container>
</ng-container>
<!--<div class="notice-card">-->
<!--<div class="notice-type">-->
<!--<div class="type-img" ></div>-->
...
...
src/pages/tabs/notice/notice.ts
View file @
dd33aad3
...
...
@@ -12,7 +12,7 @@ import {Badge} from "@ionic-native/badge";
})
export
class
NoticePage
{
noticeList
=
[]
;
noticeList
;
constructor
(
public
navCtrl
:
NavController
,
public
navParams
:
NavParams
,
public
appService
:
AppService
,
public
badge
:
Badge
)
{
}
...
...
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