notice-posted.html 1.5 KB

123456789101112131415161718192021222324252627
  1. <ion-view view-title="发布的公告">
  2. <ion-nav-buttons side="right">
  3. <button class="button button-clear" ng-click="toadd()" ng-show="createstate==1">
  4. <i class="icon ion-android-add"></i>
  5. </button>
  6. </ion-nav-buttons>
  7. <ion-content>
  8. <div ng-if="loading" class="center init-load action-sheet-backdrop">
  9. <ion-spinner icon="android"></ion-spinner>
  10. </div>
  11. <div ng-if="!loading">
  12. <div class="list">
  13. <div class="item item-avatar item-icon-right" ng-repeat="data in Notice" ng-click="todetails(data.id)">
  14. <img ng-src="../../../img/panda.png" ng-click="showcardinfo({{data.usrid.id}})">
  15. <span>{{data.title}}</span>
  16. <p>{{data.content}}</p>
  17. <p>{{data.update_dd == null ? data.create_dd : data.update_dd | date:'MM-dd'}}&nbsp;
  18. <span ng-hide="(data.readtimes == 0 || data.readtimes == null) || (data.commenttimes == 0 || data.commenttimes == null)">|</span>&nbsp;
  19. <span ng-hide="data.readtimes == 0 || data.readtimes == null">{{data.readtimes}}看</span>&nbsp;
  20. <span ng-hide="data.commenttimes == 0 || data.commenttimes == null">{{data.commenttimes}}评</span>
  21. </p>
  22. <i class="icon ion-chevron-right icon-accessory"></i>
  23. </div>
  24. </div>
  25. </div>
  26. </ion-content>
  27. </ion-view>