59 lines
3.5 KiB
Plaintext
59 lines
3.5 KiB
Plaintext
<view class="goods-detail-comment {{comment}}">
|
|
<view class="fui-icon-group col-5 ">
|
|
<view bindtap="comentTap" class="fui-icon-col" data-level="item" data-type="{{index+1}}" wx:for="{{stararr}}">
|
|
<view class="{{commentObjTab==index+1?'text-danger':''}}">{{index==0?'全部':''}}{{index==1?'好评':''}}{{index==2?'中评':''}}{{index==3?'差评':''}}{{index==4?'晒图':''}}<view class="count {{commentObjTab==index+1?'text-danger':''}}">{{commentObj.count[item]}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="fui-loading" wx:if="{{loading}}">
|
|
<view class="icon"></view>
|
|
<view class="text">正在加载</view>
|
|
</view>
|
|
<view class="container" id="comments-all">
|
|
<view class="fui-cell-group fui-comment-group">
|
|
<view class="fui-cell" wx:for="{{commentList}}" wx:for-index="idx">
|
|
<view class="fui-cell-text comment ">
|
|
<view class="info head">
|
|
<view class="img">
|
|
<image src="{{item.headimgurl}}"></image>
|
|
</view>
|
|
<view class="nickname">{{item.nickname}}</view>
|
|
<view class="date">{{item.createtime}}</view>
|
|
<view class="star star1">
|
|
<text class="{{item.level>=idx2+1?'shine':''}}" wx:for="{{stararr}}" wx:for-index="idx2" wx:for-item="item2">★</text>
|
|
</view>
|
|
</view>
|
|
<view class="remark">{{item.content}}</view>
|
|
<view class="remark img">
|
|
<view class="img" wx:for="{{item.images}}" wx:for-index="idx" wx:for-item="image">
|
|
<image bindtap="preview" data-src="{{image}}" data-urls="{{item.images}}" src="{{image}}"></image>
|
|
</view>
|
|
</view>
|
|
<view class="reply-content" style="background:#EDEDED;" wx:if="{{item.reply_content}}">
|
|
掌柜回复:{{item.reply_content}}
|
|
<view class="remark img">
|
|
<view class="img" wx:for="{{item.reply_images}}" wx:for-index="idx" wx:for-item="replyImage">
|
|
<image src="{{replyImage}}"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<block wx:if="{{item.append_content&&item.replychecked==0}}">
|
|
<view class="remark reply-title">用户追加评价</view>
|
|
<view class="remark">{{item.append_content}}</view>
|
|
</block>
|
|
<view class="reply-content" style="background:#EDEDED;" wx:if="{{item.append_reply_content}}">
|
|
掌柜回复:{{item.append_reply_content}}
|
|
<view class="remark img">
|
|
<view class="img" wx:for="{{item.append_reply_images}}" wx:for-index="idx" wx:for-item="appendReplyImage">
|
|
<image src="{{appendReplyImage}}"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="fui-cell-group fui-comment-group"></view>
|
|
</view>
|
|
<view class="content-empty" style="{{commentEmpty?'display:block':'display:none'}}">暂时没有任何评价</view>
|
|
</view>
|