notice-result.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <ion-view view-title="统计结果">
  2. <ion-content>
  3. <!--反馈-->
  4. <div ng-if="details.back_title != null && type == 0">
  5. <div class="item item-divider">
  6. <span class="notice-result-title">反馈统计</span>
  7. </div>
  8. <div class="item item-text-wrap">
  9. <span>{{details.back_title}}</span>
  10. </div>
  11. <div class="item item-icon-right" ng-click="toResultDetails(3)">
  12. <span>已反馈</span>
  13. <i class="icon ion-chevron-right icon-accessory"></i>
  14. <span class="item-note">{{countData.backed}}人({{ countData.backed / (countData.backed + countData.unback + countData.backgiveup) | percentage }})</span>
  15. </div>
  16. <div class="item item-icon-right" ng-click="countData.unback != 0 ? toResultDetails(2) : null">
  17. <span>未反馈</span>
  18. <i class="icon ion-chevron-right icon-accessory" ng-if="countData.unback != 0"></i>
  19. <span class="item-note">{{countData.unback}}人({{ countData.unback / (countData.backed + countData.unback + countData.backgiveup) | percentage }})</span>
  20. </div>
  21. <div class="item item-icon-right" ng-if="countData.backgiveup != 0" ng-click="toResultDetails(4)">
  22. <span>放弃反馈</span>
  23. <i class="icon ion-chevron-right icon-accessory"></i>
  24. <span class="item-note">{{countData.backgiveup}}人({{ countData.backgiveup / (countData.backed + countData.unback + countData.backgiveup) | percentage }})</span>
  25. </div>
  26. </div>
  27. <!--投票-->
  28. <div ng-if="details.vote_title != null">
  29. <div class="item item-divider">
  30. <span class="notice-result-title">投票统计{{details.vote_selecttype == 1 ? '(单选)' : '(多选)'}}</span>
  31. </div>
  32. <div class="item item-text-wrap">
  33. <span>投票标题</span>
  34. <span class="item-note">{{details.vote_title}}</span>
  35. </div>
  36. <div class="item item-icon-right" ng-repeat="item in selectData track by $index" ng-click="type == 0 ? toResultDetails(7,[$index]) : null">
  37. <span>{{item}}</span>
  38. <i class="icon ion-chevron-right icon-accessory" ng-if="type == 0"></i>
  39. <span class="item-note">{{countData.votecount[$index]}}人({{ countData.votecount[$index] / usrvotecount | percentage }})</span>
  40. </div>
  41. <div class="item item-icon-right" ng-click="countData.unvote != 0 && type == 0 ? toResultDetails(5) : null">
  42. <span>未投票</span>
  43. <i class="icon ion-chevron-right icon-accessory" ng-if="countData.unvote != 0 && type == 0"></i>
  44. <span class="item-note">{{countData.unvote}}人({{ countData.unvote / usrvotecount | percentage }})</span>
  45. </div>
  46. <div class="item item-icon-right" ng-if="countData.votegiveup != 0" ng-click="type == 0 ? toResultDetails(6) : null">
  47. <span>放弃投票</span>
  48. <i class="icon ion-chevron-right icon-accessory" ng-if="type == 0"></i>
  49. <span class="item-note">{{countData.votegiveup}}人({{ countData.votegiveup / usrvotecount | percentage }})</span>
  50. </div>
  51. </div>
  52. <!--阅读-->
  53. <div ng-if="type == 0">
  54. <div class="item item-divider">
  55. <span class="notice-result-title">阅读统计</span>
  56. </div>
  57. <div class="item item-icon-right" ng-click="toResultDetails(1)">
  58. <span>已看</span>
  59. <i class="icon ion-chevron-right icon-accessory"></i>
  60. <span class="item-note">{{countData.readed}}人({{ countData.readed / (countData.readed + countData.unread) | percentage }})</span>
  61. </div>
  62. <div class="item item-icon-right" ng-click="toResultDetails(0)">
  63. <span>未看</span>
  64. <i class="icon ion-chevron-right icon-accessory"></i>
  65. <span class="item-note">{{countData.unread}}人({{ countData.unread / (countData.readed + countData.unread) | percentage }})</span>
  66. </div>
  67. </div>
  68. </ion-content>
  69. </ion-view>