commentReply.html 3.0 KB
<style>
	.contentwrapper{padding: 5px;}
	.ngdialog.ngdialog-theme-plain .ngdialog-content{padding: 0em 0em 1em 0em; width: 500px;}
	.ngDialogHeader{width: 100%; height: 35px; background-color: #D9DFF0}
	.ngDialogTitle{height: 35px; line-height: 35px; color: #fff; font-weight: bold; font-size: 16px; margin-left: 5px;}
	.commentTitle{color: #808080;}
	.commentArea {width: 480px; margin-left: 6px; margin-bottom: 20px;}
	.commentBuyerTitle{color: #8AE53F; font-weight: bold;}
</style>
<!-- <div class="pageheader notab">
	<h1 class="pagetitle">回复“{{commentDetail.commentNickname}}”的评论</h1>
</div> -->
<div class="ngDialogHeader">
	<span class="ngDialogTitle">回复“{{commentDetail.commentNickname}}”的评论</span>
</div>
<div id="contentwrapper" class="contentwrapper">
	<div style="width: 100%;">
		<img alt="" ng-src="{{commentDetail.commentHead}}" style="width: 80px; height: 80px; float: left; margin-left: 5px;margin-right: 7px;margin-top: 3px;">
		<div style="width: 400px">
			<p style="margin: 0px;line-height: 20px;height: 20px;margin-left: 10px;"><span class="commentTitle">评价人:</span><span>{{commentDetail.commentNickname}}</span></p>
			<p style="margin: 0px;line-height: 20px;height: 20px;margin-left: 10px;"><span class="commentTitle">评价商品:</span><span>{{commentDetail.productName}}</span></p>
			<p style="margin: 0px;line-height: 20px;height: 20px;margin-left: 10px;"><span class="commentTitle">评价星数:</span><span>{{commentDetail.grade}}星</span></p>
			<p style="margin: 0px;line-height: 20px;height: 20px;margin-left: 10px;"><span class="commentTitle">评价时间:</span><span>{{commentDetail.createDate}}</span></p>
			<p style="margin: 0px;line-height: 20px;height: 20px;margin-left: 10px;"><span class="commentTitle">购买时间:</span><span>{{commentDetail.buyDate}}</span></p>
		</div>
	</div>
	<div class="commentArea"><span class="commentBuyerTitle">评价内容:</span><span>{{commentDetail.content}}</span></div>
	<div style="width: 100%; border-top: 1px dotted #c0c0c0;">
		<div style="margin-top: 10px;">
			<div style="float: left; margin-left: 6px;"><span class="commentBuyerTitle">卖家回复:</span></div>
			<div><textarea rows="5" cols="62" ng-model="commentDetail.replyRemark" id="commentReplyRemark" value="{{commentDetail.replyRemark}}"></textarea></div>
		</div>
		<div ng-if="commentDetail.replyDt != ''" style="margin-left: 6px;">回复时间:<span>{{commentDetail.replyDt}}</span></div>
	</div>
</div>
<div style="text-align: right;">
	<input type="button"  class="stdbtn btn_blue" ng-if="commentDetail.replyDt == ''" value="提交回复" ng-click="submitCommentReply(commentDetail.imCommentId,commentDetail.imProductId)" /> &nbsp;&nbsp;
	<input type="button"  class="stdbtn btn_blue" ng-if="commentDetail.replyDt != ''" value="更新回复" ng-click="submitCommentReply(commentDetail.imCommentId,commentDetail.imProductId)" /> &nbsp;&nbsp;
	<input type="button" class="stdbtn btn_red" value="关闭" ng-click="closeNgDialog()" style="margin-right: 10px;"/>
</div>