Reply.html 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <ion-view hide-tabs="true" view-title="{{title}}" style="background-color:#fafafa;">
  2. <div class="bar bar-header bar-header-blue">
  3. <div class="button button-icon icon pus_blue" ng-click="goback()"></div>
  4. <button class="button button-icon icon goback whiteGoBack noneContent" ng-click="goback()"></button>
  5. <h1 class="bar_title" style="color:#fff">详情</h1>
  6. </div>
  7. <ion-content class="has-header has-footer" ng-click="hiddenComment()">
  8. <div id="all_discuss" class="selectMineShow">
  9. <img ng-src="{{discuss.creatorModel.photo|imgfilter}}" onerror="javascript:this.src='./img/admin_picter.jpg';" style="border-radius: 50%;width:35px;height:35px;float: left;position: relative;" ng-click="go('publisher',{Id:discuss.creator})"/>
  10. <p class="content-node">
  11. {{discuss.creatorModel.username}}
  12. <span ng-if="!discuss.favour" ng-class="{'content-zan du_discuss commentDiscuss':true,'':discuss.isCommentZan}" ng-click="commentPraiseAction(discuss, 0, TRACE_TYPE_2615, discuss.id, TABLE_CODE_30002)">
  13. <b>{{discuss.favourcount}}</b>
  14. </span>
  15. <span ng-if="discuss.favour" ng-class="{'content-zan du_discuss commentDiscuss':true,'w_zan':discuss.isCommentZan||discuss.favour,'animateFavour':discuss.isCommentZan}"
  16. ng-click="commentPraiseAction(discuss, 0, TRACE_TYPE_2616, discuss.id, TABLE_CODE_30002)">
  17. <b>{{discuss.favourcount}}</b>
  18. </span>
  19. </p>
  20. <p class="comment-content">{{discuss.content}}</p>
  21. <span class="review_data">{{discuss.createtime | datesubstring}}</span>
  22. </div>
  23. <div class="all_replyFloor">
  24. <p class="all_replyFloorTit" ng-if="replys.length>0"><em>{{replys.length}}</em>条回复</p>
  25. <div class="all_reply all_replyFloorContent dotedShowBoard" ng-if="replys.length>0;" ng-repeat="reply in replys">
  26. <div class="reply_othera">
  27. <img ng-src="{{reply.creatorModel.photo|imgfilter}}" onerror="javascript:this.src='./img/admin_picter.jpg';" style="border-radius: 50%;width:35px;height:35px;float: left;position: relative;" ng-click="go('publisher',{Id:reply.creator})"/>
  28. <p class="content-node">{{reply.creatorModel.username}}
  29. <span class="content-zanotherdiscuss{{reply.id}} du_discuss" ng-click="content_zanotherdiscuss(otherdiscuss);" style=" float: right;color:#979fac;width:auto;line-height:25px;text-indent: 28px;font-size: 14px;text-align:center;">
  30. <b>{{reply.count}}</b>
  31. <span id="like_otherdiscuss{{reply.id}}" style=" width: 49px;position:absolute; right:34px; top:2px; color:#fafafa; text-align: left; height: 20px;line-height: 20px;">+1</span>
  32. </span>
  33. </p>
  34. <p class="comment-content">{{reply.content}}</p>
  35. <span class="review_data">{{reply.createtime | datesubstring}}</span>
  36. <div ng-if="otherdiscuss.replys.length>0;" style="width:85%;float: left;height: auto;border-left:1px solid #ced1d1;margin-left: 45px;margin-bottom: 10px;">
  37. <span class="reply_div" ng-repeat="r in otherdiscuss.replys">
  38. {{r.replyName}}:
  39. <span>{{r.replyComment}}</span>
  40. </span>
  41. <div ng-if="otherdiscuss.replys.length>1;" class="reply_div" style="margin: 2px 0 0 8px;">
  42. 查看全部{{otherdiscuss.replys.length}}条回复>
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. <div class="noneHadSoft" ng-if="replys==undefined||replys.length==0;">
  49. <i id="empty_discuss"></i>
  50. <p class="empty_p">暂无回复,快去回复吧</p>
  51. </div>
  52. <p class="commentFooter_p" ng-if="replys.length>0">已显示所有回复</p>
  53. </ion-content>
  54. <ion-footer-bar class="commentFooter" ng-if="showComment">
  55. <label class="item-input-wrapper">
  56. <input type="text" placeholder="写回复..." class="write_p" ng-focus="focus_write()" id="write_see" ng-blur="dont_write()" style="width:100%;">
  57. </label>
  58. </ion-footer-bar>
  59. <ion-footer-bar ng-if="!showComment" class="commentFooter" style="height: 146px;" keyboard-attach>
  60. <textarea autofocus class="my_comment" form="commentform" name="comment" placeholder="优质评论将会被优先展示" required ng-model="replay.say" ng-change="commentValue()"></textarea>
  61. <div id="commentform">
  62. <button class="comment_submit" ng-style="commentNotnull" ng-click="publishComment(2, discuss);">发表</button>
  63. </div>
  64. </ion-footer-bar>
  65. <div ng-if="!showComment" class="comment_background" ng-click="hiddenComment()"></div>
  66. </ion-view>