mobileoa-common-modules
Version:
移动办公平台前端公共功能模块
44 lines (38 loc) • 1.82 kB
HTML
<!-- 信息发布列表页面——改版-->
<ion-view hide-nav-bar="false" cache-view="false" class="infos-list-page">
<ion-nav-title>
<h1 class="headerOfGroup title">{{title}}</h1>
</ion-nav-title>
<ion-nav-buttons side="left">
<button class="button icon-left ion-ios-arrow-back button-clear sino-back-button" sino-nav-direction="back" sino-go-back-button>返回</button>
<i class="button button-icon icon ion-ios-reloading" ng-show="loading"></i>
</ion-nav-buttons>
<ion-content class="has-header infos-list-content" scroll="false" on-swipe-right="onSwipeRight()" on-swipe-left="onSwipeLeft()">
<sino-loading-hint refresh="refresh()" state="infoReleaseMoreCtrl.loadingState">
<div ng-repeat="item in infos" class="info-list-block" ng-class="{items_1: infos.length == 1, items_2: infos.length == 2}" ng-click="toDetail(item)">
<header>
<h3>{{item.title}}</h3>
<div class="left-right-display">
<span ng-show="item.dept">创建部门:{{item.dept}}</span>
<span ng-show="item.proTime">{{item.proTime|datefilter}}</span>
</div>
</header>
<section>
<div class="img-container">
<sino-info-img img-src="{{item.imageFilePath}}" img-width="{{item.img.width}}" img-height="{{item.img.height}}" ng-if="!!item.imageFilePath">
</sino-info-img>
</div>
<p class="more-outline">{{item.summary}}</p>
</section>
<footer class="left-right-display">
<span ng-if="item.skey && !multiModule">来源:{{item.skey}}</span>
<span ng-if="item.dept && multiModule">来源:{{item.dept}}</span>
<span ng-show="item.notion">阅读次数:{{item.notion}}</span>
</footer>
</div>
<div class="pageno-position" ng-if="pages > 0">
{{pageNo + 1}}/{{pages}}
</div>
</sino-loading-hint>
</ion-content>
</ion-view>