mobileoa-common-modules
Version:
移动办公平台前端公共功能模块
42 lines (36 loc) • 1.93 kB
HTML
<!-- 信息发布列表页面——改版——公文-->
<ion-view hide-nav-bar="false" cache-view="false" class="infos-list-page office">
<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.fileCode">{{fileCodeName}}:{{item.fileCode}}</span>
<span ng-show="item.creTime">{{creTimeName}}:{{item.creTime|datefilter}}</span>
</div>
</header>
<section>
<div class="content-outline">
<sino-file file-name="item.content" title="item.title" show-title="showTitle" cut="500" ng-if="mode == 'archiveout'" not-show-button="true"></sino-file>
<sino-file file-name="item.id" title="item.title" show-title="showTitle" cut="500" ng-if="mode == 'archivein'" not-show-button="true" in-archives="true"></sino-file>
</div>
</section>
<footer class="left-right-display">
<span ng-show="!!item.needGrade">{{item.needGrade}}</span>
<span ng-show="!!item.dept">{{deptName}}:{{item.dept}}</span>
</footer>
</div>
</sino-loading-hint>
<div class="pageno-position">
<span ng-if="pages > 0"class="pageno">{{pageNo + 1}}/{{pages}}</span>
</div>
</ion-content>
</ion-view>