Commit 75613259 authored by wangqinghua's avatar wangqinghua

知识拓展

文章详情去除图片
parent b94b70f6
<?xml version='1.0' encoding='utf-8'?> <?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> <name>部机关党建云(测试)</name>
<description>An awesome Ionic/Cordova app.</description> <description>An awesome Ionic/Cordova app.</description>
<author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author> <author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author>
......
...@@ -19,9 +19,9 @@ ...@@ -19,9 +19,9 @@
</div> </div>
<div class="stuff-attachments"> <div class="stuff-attachments">
<ng-container *ngFor="let item of attachments"> <ng-container *ngFor="let item of attachments">
<div style="height: 160px;" *ngIf="item.resourceType == 1"> <!-- <div style="height: 160px;" *ngIf="item.resourceType == 1">-->
<img style="height: 160px;" [src]="url + item.path" alt=""> <!-- <img style="height: 160px;" [src]="url + item.path" alt="">-->
</div> <!-- </div>-->
<div *ngIf="item.resourceType == 3"> <div *ngIf="item.resourceType == 3">
<video width="100%" height="100%" [src]="url + item.path" controls="controls"> <video width="100%" height="100%" [src]="url + item.path" controls="controls">
您的浏览器不支持 html5。 您的浏览器不支持 html5。
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<ion-toolbar class="fixed-toolbar parent-toolbar"> <ion-toolbar class="fixed-toolbar parent-toolbar">
<div ion-fixed class="tabs-fixed "> <div ion-fixed class="tabs-fixed ">
<div class="scroll-tab"> <div class="scroll-tab">
<div class="news-content"> <div class="news-content parent">
<div #tabsParent class="tabs-parent parent"> <div #tabsParent class="tabs-parent parent">
<div #tabsChildren *ngFor="let item of tabsList;" (click)="changeParent(item)" class="tabs-children"> <div #tabsChildren *ngFor="let item of tabsList;" (click)="changeParent(item)" class="tabs-children">
<span #tabSpan [style.color]="indexParent == item.indexParent ? '#e12724':''">{{item.name}}</span> <span #tabSpan [style.color]="indexParent == item.indexParent ? '#e12724':''">{{item.name}}</span>
......
...@@ -158,6 +158,9 @@ page-discover { ...@@ -158,6 +158,9 @@ page-discover {
.parent.tabs-parent{ .parent.tabs-parent{
background-color: #fff1f0; background-color: #fff1f0;
} }
.parent.news-content{
background-color: #fff1f0;
}
} }
.fixed-toolbar{ .fixed-toolbar{
......
...@@ -27,7 +27,7 @@ export class DiscoverPage { ...@@ -27,7 +27,7 @@ export class DiscoverPage {
//所属板块类型: //所属板块类型:
//1党章党规,2系列讲话,3中央精神,4本市部署,5通知公告,6党建动态,7工作提示,8党务参考 //1党章党规,2系列讲话,3中央精神,4本市部署,5通知公告,6党建动态,7工作提示,8党务参考
//9廉政格言,10纪检提示,11风险排查,12警示教育,13支部活动,14党建联建,15结对帮扶 //9廉政格言,10纪检提示,11风险排查,12警示教育,13支部活动,14党建联建,15结对帮扶,
tabsList = [ tabsList = [
{ {
"name": "机关党委", "type": 5, "indexParent": 0, "children": [ "name": "机关党委", "type": 5, "indexParent": 0, "children": [
...@@ -134,7 +134,28 @@ export class DiscoverPage { ...@@ -134,7 +134,28 @@ export class DiscoverPage {
"indexChildren": '34' "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 = []; childrenList = [];
plateType; //分类 plateType; //分类
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment