123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <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 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 id="all_discuss" class="selectMineShow">
- <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})"/>
- <p class="content-node">
- {{discuss.creatorModel.username}}
- <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)">
- <b>{{discuss.favourcount}}</b>
- </span>
- <span ng-if="discuss.favour" ng-class="{'content-zan du_discuss commentDiscuss':true,'w_zan':discuss.isCommentZan||discuss.favour,'animateFavour':discuss.isCommentZan}"
- ng-click="commentPraiseAction(discuss, 0, TRACE_TYPE_2616, discuss.id, TABLE_CODE_30002)">
- <b>{{discuss.favourcount}}</b>
- </span>
- </p>
- <p class="comment-content">{{discuss.content}}</p>
- <span class="review_data">{{discuss.createtime | datesubstring}}</span>
- </div>
- <div class="all_replyFloor">
- <p class="all_replyFloorTit" ng-if="replys.length>0"><em>{{replys.length}}</em>条回复</p>
- <div class="all_reply all_replyFloorContent dotedShowBoard" ng-if="replys.length>0;" ng-repeat="reply in replys">
- <div class="reply_othera">
- <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})"/>
- <p class="content-node">{{reply.creatorModel.username}}
- <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;">
- <b>{{reply.count}}</b>
- <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>
- </span>
- </p>
- <p class="comment-content">{{reply.content}}</p>
- <span class="review_data">{{reply.createtime | datesubstring}}</span>
- <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;">
- <span class="reply_div" ng-repeat="r in otherdiscuss.replys">
- {{r.replyName}}:
- <span>{{r.replyComment}}</span>
- </span>
- <div ng-if="otherdiscuss.replys.length>1;" class="reply_div" style="margin: 2px 0 0 8px;">
- 查看全部{{otherdiscuss.replys.length}}条回复>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="noneHadSoft" ng-if="replys==undefined||replys.length==0;">
- <i id="empty_discuss"></i>
- <p class="empty_p">暂无回复,快去回复吧</p>
- </div>
- <p class="commentFooter_p" ng-if="replys.length>0">已显示所有回复</p>
- </ion-content>
- <ion-footer-bar class="commentFooter" 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="replay.say" ng-change="commentValue()"></textarea>
- <div id="commentform">
- <button class="comment_submit" ng-style="commentNotnull" ng-click="publishComment(2, discuss);">发表</button>
- </div>
- </ion-footer-bar>
- <div ng-if="!showComment" class="comment_background" ng-click="hiddenComment()"></div>
- </ion-view>
|