12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <ion-view hide-tabs="true" view-title="{{title}}" style="background-color:#fafafa;">
- <div class="bar bar-header bar-header-blue">
- <!--<div class="button button-icon icon pus_blue" ng-click="goback()"> </div>-->
- <!--<button class="button button-icon icon goback" ng-click="goback()"></button>-->
- <div class="button button-icon icon pus_blue"></div>
- <button class="button button-icon icon goback whiteGoBack noneContent" ng-click="goback()"></button>
- <h1 class="bar_title" style="color: #fff">评论</h1>
- </div>
- <ion-content class="has-header has-footer" ng-click="hiddenComment()">
- <div class="all_commentFloor">
- <p class="all_commentFloorTit" ng-if="comments.length>0"><em>{{comments.length}}</em>评论</p>
- <div id="all_discuss">
- <div ng-repeat="comment in comments" class="commentFloorWrap">
- <img ng-src="{{comment.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:comment.userId})"/>
- <p class="content-node">
- {{comment.creatorModel.username}}
- <span ng-if="!comment.favour" ng-class="{'content-zan du_discuss commentDiscuss':true,'':comment.isCommentZan}" ng-click="commentPraiseAction(comment, $index, TRACE_TYPE_2615, comment.id, TABLE_CODE_30002)">
- <b>{{comment.favourcount}}</b>
- </span>
- <span ng-if="comment.favour" ng-class="{'content-zan du_discuss commentDiscuss':true,'w_zan':comment.isCommentZan||comment.favour,'animateFavour':comment.isCommentZan}"
- ng-click="commentPraiseAction(comment, $index, TRACE_TYPE_2616, comment.id, TABLE_CODE_30002)">
- <b>{{comment.favourcount}}</b>
- </span>
- </p>
- <p ng-click="goComment(comment)" class="comment-content">{{comment.content}}</p>
- <span ng-click="goComment(comment)" class="review_data">{{comment.createtime | datesubstring}}<span style="top:0;">{{comment.commcount==0?'':comment.commcount+'条'}}回复></span></span>
- </div>
- <div ng-click="hadSoft()" class="noneHadSoft" ng-if="comments==undefined||comments.length==0;">
- <i id="empty_discuss"></i>
- <p class="empty_p">暂无评论,点击抢沙发</p>
- </div>
- </div>
- <p class="commentFooter_p" ng-if="comments.length>0">已显示所有评论</p>
- </div>
- </ion-content>
- <ion-footer-bar class="commentFooter" keyboard-attach ng-if="showComment">
- <label class="item-input-wrapper">
- <input type="text" placeholder="写评论..." class="write_p" ng-focus="focus_write()" id="write_see" ng-blur="dont_write()" style="width:100%;">
- </label>
- </ion-footer-bar>
- <ion-footer-bar ng-if="!showComment" class="commentFooter" style="height: 146px;" keyboard-attach>
- <textarea autofocus class="my_comment" form="commentform" name="comment" placeholder="优质评论将会被优先展示" required ng-model="comment.say" ng-change="commentValue()">{{comment}}</textarea>
- <div id="commentform">
- <button class="comment_submit" ng-style="commentNotnull" ng-click="publishComment(1,{});">发表</button>
- </div>
- </ion-footer-bar>
- <div ng-if="!showComment" class="comment_background" ng-click="hiddenComment()"></div>
- </ion-view>
|