<!-- 信息正文页面 -->
<ion-view cache-view="false">

	<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  scroll="true">

		<div id="detail-from">
			<div class="detail-subject" style="padding-top: 16px;"> {{inf.title}}</div>

			<div class="info-release-loading" ng-if="waiting || waitError">
				<ion-spinner icon="spiral" class="icon" ng-if="waiting" style="margin-top: 8px; stroke: #fff;"></ion-spinner>
				<span>{{waitingText}}</span>
				<button ng-if="waitError" class="button button-block button-loading" ng-click="onRefresh()">刷新</button>
			</div>

			<div class="article-text" style="text-indent: 2em;" compile="inf.summary" article-loading></div>
			<div>
				<label class="item-input" ng-show="inf.phone">
					<span class="affix-name">联系电话：{{inf.phone}}</span>
				</label>
				<label class="item-input" ng-show="inf.fax">
					<span class="affix-name">传真：{{inf.fax}}</span>
				</label>
				<label class="item-input" ng-show="inf.email">
					<span class="affix-name">邮箱：{{inf.email}}</span>
				</label>

				<label class="item-input" ng-show="inf.supervisePhone">
					<span class="affix-name">监督电话：{{inf.supervisePhone}}</span>
				</label>
			</div>
		</div>

    <sino-affix
      record-id="{{recordId}}"
      table-name="WSGL_BEFORE_MONEY"
      title="附件"
      affix-fn="filterFn(affix)">
    </sino-affix>
	</ion-content>
</ion-view>
