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
8400f96a
Commit
8400f96a
authored
Apr 10, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version-4.1.0
parent
a8879c24
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
70 additions
and
54 deletions
+70
-54
config.xml
config.xml
+1
-1
ionic.config.json
ionic.config.json
+2
-1
learning-do.html
src/pages/home/learning/learning-do/learning-do.html
+1
-1
learning-list.html
src/pages/home/learning/learning-list/learning-list.html
+40
-29
learning-result.html
src/pages/home/learning/learning-result/learning-result.html
+1
-1
rank.html
src/pages/home/learning/rank/rank.html
+7
-7
rank.scss
src/pages/home/learning/rank/rank.scss
+1
-1
review-learn.html
src/pages/home/learning/review-learn/review-learn.html
+1
-1
notice.html
src/pages/tabs/notice/notice.html
+16
-12
No files found.
config.xml
View file @
8400f96a
<?xml version='1.0' encoding='utf-8'?>
<widget
id=
"io.ionic.smart19.starter.test"
version=
"4.
0.8
"
xmlns=
"http://www.w3.org/ns/widgets"
xmlns:cdv=
"http://cordova.apache.org/ns/1.0"
>
<widget
id=
"io.ionic.smart19.starter.test"
version=
"4.
1.0
"
xmlns=
"http://www.w3.org/ns/widgets"
xmlns:cdv=
"http://cordova.apache.org/ns/1.0"
>
<name>
党建云平台(测试)
</name>
<description>
An awesome Ionic/Cordova app.
</description>
<author
email=
"hi@ionicframework"
href=
"http://ionicframework.com/"
>
Ionic Framework Team
</author>
...
...
ionic.config.json
View file @
8400f96a
...
...
@@ -7,7 +7,7 @@
"proxies"
:
[
{
"path"
:
"/wisdomgroup"
,
"proxyUrl"
:
"http://1
0.10.202.8:8080
/wisdomgroup"
"proxyUrl"
:
"http://1
80.168.156.212:2931
/wisdomgroup"
}
]
}
\ No newline at end of file
src/pages/home/learning/learning-do/learning-do.html
View file @
8400f96a
...
...
@@ -10,7 +10,7 @@
<ion-content>
<div
class=
"main-container"
>
<img
class=
"bgc"
src=
".
.
/assets/imgs/learn/learning_background.png"
>
<img
class=
"bgc"
src=
"./assets/imgs/learn/learning_background.png"
>
<ion-slides
(
ionSlideDidChange
)="
slideChanged
()"
>
<ion-slide
*
ngFor=
"let item of list;let i = index;"
>
<div
class=
"learn-item"
>
...
...
src/pages/home/learning/learning-list/learning-list.html
View file @
8400f96a
...
...
@@ -31,24 +31,25 @@
<span
*
ngIf=
"item.testResult == 2"
float-right
class=
"green"
>
测试通过
</span>
<span
*
ngIf=
"item.testResult == 3"
float-right
class=
"yellow"
>
等待评分
</span>
</div>
<div
class=
"item-header-style"
style=
"font-size: 1.4rem;margin-top: 5px;color: #666666"
>
<span>
重复测试:
</span>
<span
*
ngIf=
"item.isRepeat == 1"
>
允许
</span>
<span
*
ngIf=
"item.isRepeat == 0"
>
不允许
</span>
</div>
</div>
<div
class=
"content-button padding-15-0 fontSize-15"
>
<span>
参与人员:
</span>
<span
*
ngIf=
"item.testObject"
>
{{item.testObject}}
</span>
<span
*
ngIf=
"item.testResult != 0"
(
click
)="
goToResult
(
item
)"
float-right
class=
"look"
>
查看结果
</span>
<span
*
ngIf=
"item.testResult == 0"
(
click
)="
goToResult
(
item
)"
float-right
class=
"join"
>
测试
</span>
<span
*
ngIf=
"item.testResult == 0"
(
click
)="
goToResult
(
item
)"
float-right
class=
"join"
>
开始
测试
</span>
</div>
<div
class=
"content-button padding-15-0 fontSize-15"
>
<span>
排名:
</span>
<span
*
ngIf=
"!item?.ranking"
>
无
</span>
<span
class=
"color-red"
>
{{item.ranking}}
</span>
<span
(
click
)="
goToRank
(
item
)"
float-right
class=
"look"
>
排行榜
</span>
</div>
<div
class=
"content-button padding-15-0 fontSize-15"
>
<span>
重复测试:
</span>
<span
*
ngIf=
"item.isRepeat == 1"
>
允许
</span>
<span
*
ngIf=
"item.isRepeat == 0"
>
不允许
</span>
<span
float-right
*
ngIf=
"item?.maxNum"
>
最高分:{{item.maxNum}}
</span>
<span
class=
"margin-left-10"
>
最高分:
<span
*
ngIf=
"!item?.maxNum"
>
无
</span>
{{item.maxNum}}
</span>
<span
(
click
)="
goToRank
(
item
)"
float-right
class=
"look"
>
TOP5排行榜
</span>
</div>
</div>
</ion-item>
...
...
@@ -69,28 +70,33 @@
<ng-container
*
ngFor=
"let item of noList"
>
<ion-item
class=
"item-list margin-bottom-10"
>
<div
class=
"item"
(
click
)="
goToResult
(
item
)"
>
<div
class=
"item-header padding-15-0
"
>
<div
class=
"item-header padding-15-0"
>
<div
class=
"item-header-style"
>
<span
class=
"item-title"
>
{{item.title}}
</span>
<span
float-right
class=
"gray"
>
未作答
</span>
<span
*
ngIf=
"item.testResult == 0"
float-right
class=
"gray"
>
未完成
</span>
<span
*
ngIf=
"item.testResult == 1"
float-right
class=
"red"
>
测试未通过
</span>
<span
*
ngIf=
"item.testResult == 2"
float-right
class=
"green"
>
测试通过
</span>
<span
*
ngIf=
"item.testResult == 3"
float-right
class=
"yellow"
>
等待评分
</span>
</div>
<div
class=
"item-header-style"
style=
"font-size: 1.4rem;margin-top: 5px;color: #666666"
>
<span>
重复测试:
</span>
<span
*
ngIf=
"item.isRepeat == 1"
>
允许
</span>
<span
*
ngIf=
"item.isRepeat == 0"
>
不允许
</span>
</div>
</div>
<div
class=
"content-button padding-15-0 fontSize-15"
>
<span>
参与人员:
</span>
<span
*
ngIf=
"item.testObject"
>
{{item.testObject}}
</span>
<span
*
ngIf=
"item.testResult != 0"
(
click
)="
goToResult
(
item
)"
float-right
class=
"look"
>
查看
</span>
<span
*
ngIf=
"item.testResult == 0"
(
click
)="
goToResult
(
item
)"
float-right
class=
"join"
>
测试
</span>
<span
*
ngIf=
"item.testResult != 0"
(
click
)="
goToResult
(
item
)"
float-right
class=
"look"
>
查看
结果
</span>
<span
*
ngIf=
"item.testResult == 0"
(
click
)="
goToResult
(
item
)"
float-right
class=
"join"
>
开始
测试
</span>
</div>
<div
class=
"content-button padding-15-0 fontSize-15"
>
<span>
排名:
</span>
<span
*
ngIf=
"!item?.ranking"
>
无
</span>
<span
class=
"color-red"
>
{{item.ranking}}
</span>
<span
(
click
)="
goToRank
(
item
)"
float-right
class=
"look"
>
排行榜
</span>
</div>
<div
class=
"content-button padding-15-0 fontSize-15"
>
<span>
重复测试:
</span>
<span
*
ngIf=
"item.isRepeat == 1"
>
允许
</span>
<span
*
ngIf=
"item.isRepeat == 0"
>
不允许
</span>
<span
float-right
>
最高分:{{item.maxNum}}
</span>
<span
class=
"margin-left-10"
>
最高分:
<span
*
ngIf=
"!item?.maxNum"
>
无
</span>
{{item.maxNum}}
</span>
<span
(
click
)="
goToRank
(
item
)"
float-right
class=
"look"
>
TOP5排行榜
</span>
</div>
</div>
</ion-item>
...
...
@@ -115,25 +121,30 @@
<div
class=
"item-header padding-15-0"
>
<div
class=
"item-header-style"
>
<span
class=
"item-title"
>
{{item.title}}
</span>
<span
float-right
class=
"green"
>
已完成
</span>
<span
*
ngIf=
"item.testResult == 0"
float-right
class=
"gray"
>
未完成
</span>
<span
*
ngIf=
"item.testResult == 1"
float-right
class=
"red"
>
测试未通过
</span>
<span
*
ngIf=
"item.testResult == 2"
float-right
class=
"green"
>
测试通过
</span>
<span
*
ngIf=
"item.testResult == 3"
float-right
class=
"yellow"
>
等待评分
</span>
</div>
<div
class=
"item-header-style"
style=
"font-size: 1.4rem;margin-top: 5px;color: #666666"
>
<span>
重复测试:
</span>
<span
*
ngIf=
"item.isRepeat == 1"
>
允许
</span>
<span
*
ngIf=
"item.isRepeat == 0"
>
不允许
</span>
</div>
</div>
<div
class=
"content-button padding-15-0 fontSize-15"
>
<span>
参与人员:
</span>
<span
*
ngIf=
"item.testObject"
>
{{item.testObject}}
</span>
<span
*
ngIf=
"item.testResult != 0"
(
click
)="
goToResult
(
item
)"
float-right
class=
"look"
>
查看
</span>
<span
*
ngIf=
"item.testResult == 0"
(
click
)="
goToResult
(
item
)"
float-right
class=
"join"
>
测试
</span>
<span
*
ngIf=
"item.testResult != 0"
(
click
)="
goToResult
(
item
)"
float-right
class=
"look"
>
查看
结果
</span>
<span
*
ngIf=
"item.testResult == 0"
(
click
)="
goToResult
(
item
)"
float-right
class=
"join"
>
开始
测试
</span>
</div>
<div
class=
"content-button padding-15-0 fontSize-15"
>
<span>
排名:
</span>
<span
*
ngIf=
"!item?.ranking"
>
无
</span>
<span
class=
"color-red"
>
{{item.ranking}}
</span>
<span
(
click
)="
goToRank
(
item
)"
float-right
class=
"look"
>
排行榜
</span>
</div>
<div
class=
"content-button padding-15-0 fontSize-15"
>
<span>
重复测试:
</span>
<span
*
ngIf=
"item.isRepeat == 1"
>
允许
</span>
<span
*
ngIf=
"item.isRepeat == 0"
>
不允许
</span>
<span
float-right
>
最高分:{{item.maxNum}}
</span>
<span
class=
"margin-left-10"
>
最高分:
<span
*
ngIf=
"!item?.maxNum"
>
无
</span>
{{item.maxNum}}
</span>
<span
(
click
)="
goToRank
(
item
)"
float-right
class=
"look"
>
TOP5排行榜
</span>
</div>
</div>
</ion-item>
...
...
src/pages/home/learning/learning-result/learning-result.html
View file @
8400f96a
...
...
@@ -7,7 +7,7 @@
<ion-content>
<div
class=
"main-container"
>
<img
class=
"bgc"
src=
".
.
/assets/imgs/learn/learning_background.png"
>
<img
class=
"bgc"
src=
"./assets/imgs/learn/learning_background.png"
>
<div
class=
"learn-item"
>
<div
class=
"learn-title"
>
{{title}}
</div>
<ng-container
*
ngIf=
"result?.markStatus == 0"
>
...
...
src/pages/home/learning/rank/rank.html
View file @
8400f96a
...
...
@@ -6,7 +6,7 @@
<ion-content>
<div
class=
"main-container"
>
<img
class=
"bgc"
src=
".
.
/assets/imgs/learn/learning_background.png"
>
<img
class=
"bgc"
src=
"./assets/imgs/learn/learning_background.png"
>
<div
class=
"learn-item"
>
<div
class=
"learn-title"
(
click
)="
root
()"
>
TOP5排行榜
</div>
<div
class=
"top-container"
>
...
...
@@ -18,13 +18,13 @@
</ion-row>
<ion-row
class=
"top-col"
*
ngFor=
"let item of list;let i = index;"
>
<ion-col
col-2
>
<img
*
ngIf=
"i == 0"
src=
".
.
/assets/imgs/learn/one.png"
>
<img
*
ngIf=
"i == 1"
src=
".
.
/assets/imgs/learn/two.png"
>
<img
*
ngIf=
"i == 2"
src=
".
.
/assets/imgs/learn/three.png"
>
<img
*
ngIf=
"i == 3"
src=
".
.
/assets/imgs/learn/four.png"
>
<img
*
ngIf=
"i == 4"
src=
".
.
/assets/imgs/learn/five.png"
>
<img
*
ngIf=
"i == 0"
src=
"./assets/imgs/learn/one.png"
>
<img
*
ngIf=
"i == 1"
src=
"./assets/imgs/learn/two.png"
>
<img
*
ngIf=
"i == 2"
src=
"./assets/imgs/learn/three.png"
>
<img
*
ngIf=
"i == 3"
src=
"./assets/imgs/learn/four.png"
>
<img
*
ngIf=
"i == 4"
src=
"./assets/imgs/learn/five.png"
>
</ion-col>
<ion-col
col-5
>
{{item.name}}
</ion-col>
<ion-col
col-5
>
{{item.
user
name}}
</ion-col>
<ion-col
col-5
>
{{item.score}}
</ion-col>
</ion-row>
</ion-grid>
...
...
src/pages/home/learning/rank/rank.scss
View file @
8400f96a
...
...
@@ -142,7 +142,7 @@ page-rank {
font-size
:
1
.5rem
;
border-radius
:
4px
;
img
{
width
:
2
.5
rem
;
width
:
2rem
;
}
}
.tips
{
...
...
src/pages/home/learning/review-learn/review-learn.html
View file @
8400f96a
...
...
@@ -7,7 +7,7 @@
<ion-content>
<div
class=
"main-container"
>
<img
class=
"bgc"
src=
".
.
/assets/imgs/learn/learning_background.png"
>
<img
class=
"bgc"
src=
"./assets/imgs/learn/learning_background.png"
>
<ion-slides
(
ionSlideDidChange
)="
slideChanged
()"
>
<ion-slide
*
ngFor=
"let item of list;let i = index"
>
<div
class=
"learn-item"
>
...
...
src/pages/tabs/notice/notice.html
View file @
8400f96a
...
...
@@ -15,12 +15,14 @@
<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=
""
>
<img
*
ngIf=
"item.type == 1"
src=
"./assets/imgs/notice/notice-zbpb.png"
>
<img
*
ngIf=
"item.type == 2"
src=
"./assets/imgs/notice/notice-rzzf.png"
>
<img
*
ngIf=
"item.type == 3"
src=
"./assets/imgs/notice/notice-srzf.png"
>
<img
*
ngIf=
"item.type == 4"
src=
"./assets/imgs/notice/notice-hdtx.png"
>
<img
*
ngIf=
"item.type == 5"
src=
"./assets/imgs/notice/notice-wcbb.png"
>
<img
*
ngIf=
"item.type == 6"
src=
"./assets/imgs/notice/notice-wjtc.png"
>
<img
*
ngIf=
"item.type == 7"
src=
"./assets/imgs/notice/notice-hdtx.png"
>
<img
*
ngIf=
"item.type == 8"
src=
"./assets/imgs/notice/notice-hdtx.png"
>
</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>
...
...
@@ -39,12 +41,14 @@
<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=
""
>
<img
*
ngIf=
"item.type == 1"
src=
"./assets/imgs/notice/notice-zbpb.png"
>
<img
*
ngIf=
"item.type == 2"
src=
"./assets/imgs/notice/notice-rzzf.png"
>
<img
*
ngIf=
"item.type == 3"
src=
"./assets/imgs/notice/notice-srzf.png"
>
<img
*
ngIf=
"item.type == 4"
src=
"./assets/imgs/notice/notice-hdtx.png"
>
<img
*
ngIf=
"item.type == 5"
src=
"./assets/imgs/notice/notice-wcbb.png"
>
<img
*
ngIf=
"item.type == 6"
src=
"./assets/imgs/notice/notice-wjtc.png"
>
<img
*
ngIf=
"item.type == 7"
src=
"./assets/imgs/notice/notice-hdtx.png"
>
<img
*
ngIf=
"item.type == 8"
src=
"./assets/imgs/notice/notice-hdtx.png"
>
</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>
...
...
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