postnotice.html 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <ion-view hide-back-button="true">
  2. <ion-nav-title>{{isNew?'发布通知':'编辑通知'}}</ion-nav-title>
  3. <ion-nav-buttons side="right">
  4. <button class="button button-clear" ng-click='ok("notice");'>完成</button>
  5. </ion-nav-buttons>
  6. <ion-nav-buttons side="left">
  7. <button class="button button-clear" ng-click='cancel("notice");'>取消</button>
  8. </ion-nav-buttons>
  9. <ion-content>
  10. <div class="list notice-input">
  11. <label class="item item-input" ng-click="toselect();">
  12. <span class="input-label">发送:</span>
  13. <span for="" class='notice-resvicename item-text-wrap'>{{usernames}}</span>
  14. </label>
  15. <div class="row input-btn-row">
  16. <div class="col col-67">
  17. <label class="item item-input" ng-click="test($event)">
  18. <span class="input-label">标题:</span>
  19. <input type="text" placeholder="输入标题" ng-model="noticedata.title" focus-me=true>
  20. </label>
  21. </div>
  22. <div class="col col-35">
  23. <button class="button button-energized" ng-class="{true:'',false:'button-outline'}[noticedata.setbtnstyle.vote]" ng-click="set_voteback('vote',$event)">
  24. 投票
  25. </button>
  26. </div>
  27. <div class="col col-35">
  28. <button class="button button-energized" ng-class="{true:'',false:'button-outline'}[noticedata.setbtnstyle.back]" ng-click="set_voteback('back',$event)">
  29. 反馈
  30. </button>
  31. </div>
  32. </div>
  33. <div class="comment-box notice-content">
  34. <div ng-if="noticedata.address!=null" class="div-address"><i class="ion-ios-location"></i>{{noticedata.address}}</div>
  35. <textarea placeholder="输入内容..." ng-model="noticedata.content"></textarea>
  36. <div class="row row-wrap">
  37. <div ng-repeat="image in noticedata.noticefiles">
  38. <img ng-src={{image.file_thumbnail_path}} ng-click="shouBigImage(image.file_full_path)" class="img-popver-pad"/>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. </ion-content>
  44. <div class="bar bar-footer postnotice-footer">
  45. <div class="notice-first-ion" ng-click="Camera();"><i class="ion-android-camera" style=""></i></div>
  46. <div class="notice-right-ion" ng-click="imagePicker();"><i class="ion-android-image"></i></div>
  47. <div class="notice-right-ion" ng-click="getaddress();"><i class="ion-ios-location"></i></div>
  48. </div>
  49. <div ng-show="commons.bigImage" class="popover-backdrop1">
  50. <img class="fullscreen-image" ng-click="hideBigImage()" ng-src="{{Url}}" ng-pinch-zoom/>
  51. <i class="ion-ios-trash-outline" ng-click="deleteimage();"></i>
  52. </div>
  53. </ion-view>