Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
party-build-cloud
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
party-build-cloud
Commits
75613259
Commit
75613259
authored
May 13, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
知识拓展
文章详情去除图片
parent
b94b70f6
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
7 deletions
+31
-7
config.xml
platforms/browser/config.xml
+1
-1
stuff-detail.html
src/pages/home-pages/stuff-detail/stuff-detail.html
+3
-3
discover.html
src/pages/tabs/discover/discover.html
+1
-1
discover.scss
src/pages/tabs/discover/discover.scss
+3
-0
discover.ts
src/pages/tabs/discover/discover.ts
+23
-2
No files found.
platforms/browser/config.xml
View file @
75613259
<?xml version='1.0' encoding='utf-8'?>
<widget
id=
"io.ionic.partyCloud.starter.test"
version=
"0.3.
2
"
xmlns=
"http://www.w3.org/ns/widgets"
xmlns:cdv=
"http://cordova.apache.org/ns/1.0"
>
<widget
id=
"io.ionic.partyCloud.starter.test"
version=
"0.3.
3
"
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>
...
...
src/pages/home-pages/stuff-detail/stuff-detail.html
View file @
75613259
...
...
@@ -19,9 +19,9 @@
</div>
<div
class=
"stuff-attachments"
>
<ng-container
*
ngFor=
"let item of attachments"
>
<div
style=
"height: 160px;"
*
ngIf=
"item.resourceType == 1"
>
<img
style=
"height: 160px;"
[
src
]="
url
+
item
.
path
"
alt=
""
>
</div
>
<!-- <div style="height: 160px;" *ngIf="item.resourceType == 1">--
>
<!-- <img style="height: 160px;" [src]="url + item.path" alt="">--
>
<!-- </div>--
>
<div
*
ngIf=
"item.resourceType == 3"
>
<video
width=
"100%"
height=
"100%"
[
src
]="
url
+
item
.
path
"
controls=
"controls"
>
您的浏览器不支持 html5。
...
...
src/pages/tabs/discover/discover.html
View file @
75613259
...
...
@@ -22,7 +22,7 @@
<ion-toolbar
class=
"fixed-toolbar parent-toolbar"
>
<div
ion-fixed
class=
"tabs-fixed "
>
<div
class=
"scroll-tab"
>
<div
class=
"news-content"
>
<div
class=
"news-content
parent
"
>
<div
#
tabsParent
class=
"tabs-parent parent"
>
<div
#
tabsChildren
*
ngFor=
"let item of tabsList;"
(
click
)="
changeParent
(
item
)"
class=
"tabs-children"
>
<span
#
tabSpan
[
style
.
color
]="
indexParent =
=
item
.
indexParent
?
'#
e12724
'
:
''"
>
{{item.name}}
</span>
...
...
src/pages/tabs/discover/discover.scss
View file @
75613259
...
...
@@ -158,6 +158,9 @@ page-discover {
.parent.tabs-parent
{
background-color
:
#fff1f0
;
}
.parent.news-content
{
background-color
:
#fff1f0
;
}
}
.fixed-toolbar
{
...
...
src/pages/tabs/discover/discover.ts
View file @
75613259
...
...
@@ -27,7 +27,7 @@ export class DiscoverPage {
//所属板块类型:
//1党章党规,2系列讲话,3中央精神,4本市部署,5通知公告,6党建动态,7工作提示,8党务参考
//9廉政格言,10纪检提示,11风险排查,12警示教育,13支部活动,14党建联建,15结对帮扶
//9廉政格言,10纪检提示,11风险排查,12警示教育,13支部活动,14党建联建,15结对帮扶
,
tabsList
=
[
{
"name"
:
"机关党委"
,
"type"
:
5
,
"indexParent"
:
0
,
"children"
:
[
...
...
@@ -134,7 +134,28 @@ export class DiscoverPage {
"indexChildren"
:
'34'
}]
},
// {"name": "知识拓展", "type": -1, "indexParent": 4, "children": []}
{
"name"
:
"知识拓展"
,
"type"
:
-
1
,
"indexParent"
:
4
,
"children"
:
[
{
"name"
:
"视频资料"
,
"type"
:
16
,
"indexChildren"
:
'41'
},
{
"name"
:
"组工咨询"
,
"type"
:
17
,
"indexChildren"
:
'42'
},
{
"name"
:
"工具书籍"
,
"type"
:
18
,
"indexChildren"
:
'43'
},
{
"name"
:
"综合知识"
,
"type"
:
19
,
"indexChildren"
:
'44'
},
]}
];
childrenList
=
[];
plateType
;
//分类
...
...
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