<!-- 信息正文页面 -->
<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="add-info pro-time">
        <span ng-show="inf.proTime">{{inf.proTime}}</span>
      </div>
      <div class="detail-subject"> {{inf.title}}</div>

      <div class="add-info-detail">
        <span class="add-info-left" ng-show="inf.proUserName">发布人：{{inf.proUserName}}</span>
        <span class="add-info-right" ng-show="inf.dept">{{inf.dept}}</span>
      </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 info-article-text" compile="inf.originContent" article-loading></div>
      <div class="add-info-detail add-bottom">
        <span class="add-info-left" ng-show="inf.skey">来源：{{inf.skey}}</span>
        <span class="add-info-right" ng-show="inf.notion">阅读次数：{{inf.notion}}</span>
      </div>
    </div>

    <sino-affix
      affix-ids="{{inf.affixids}}"
      title="附件">
    </sino-affix>
  </ion-content>
</ion-view>
