1 |
- <app-layout vue-id="528b485e-1" class="data-v-b05a24b0" bind:__l="__l" vue-slots="{{['default']}}"><view class="comment data-v-b05a24b0"><view class="navigator dir-left-nowrap data-v-b05a24b0"><view data-event-opts="{{[['tap',[['setActiveNav',[3]]]]]}}" bindtap="__e" class="data-v-b05a24b0"><text class="{{['data-v-b05a24b0',(score===3)?'active-nav':'']}}">好评</text></view><view data-event-opts="{{[['tap',[['setActiveNav',[2]]]]]}}" bindtap="__e" class="data-v-b05a24b0"><text class="{{['data-v-b05a24b0',(score===2)?'active-nav':'']}}">中评</text></view><view data-event-opts="{{[['tap',[['setActiveNav',[1]]]]]}}" bindtap="__e" class="data-v-b05a24b0"><text class="{{['data-v-b05a24b0',(score===1)?'active-nav':'']}}">差评</text></view></view><view class="replyStatus dir-left-nowrap main-center cross-center data-v-b05a24b0"><view data-event-opts="{{[['tap',[['setActiveReply',[2]]]]]}}" class="{{['data-v-b05a24b0',(is_reply===2)?'active-reply':'']}}" bindtap="__e">未回复</view><view data-event-opts="{{[['tap',[['setActiveReply',[1]]]]]}}" class="{{['data-v-b05a24b0',(is_reply===1)?'active-reply':'']}}" bindtap="__e">已回复</view></view><block wx:if="{{list.length===0}}"><view class="tip data-v-b05a24b0"><image src="https://shop.9026.com/web/statics/img/app/app_admin/no-comment.png" class="data-v-b05a24b0"></image><view class="data-v-b05a24b0">没有任何评论哦~</view></view></block><view class="content data-v-b05a24b0"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['item','dir-top-nowrap','data-v-b05a24b0',(item.is_top===1)?'is-top-box-bg':'']}}"><view class="top dir-left-nowrap data-v-b05a24b0"><image class="image data-v-b05a24b0" src="{{item.cover_pic}}" lazy-load="{{true}}"></image><view class="{{['text','data-v-b05a24b0',(item.is_top===1)?'is-top-center-bg':'']}}"><view class="name data-v-b05a24b0">{{''+item.name+''}}</view><view class="from data-v-b05a24b0">{{'来自用户 '+item.nickname+''}}</view></view></view><view class="bottom dir-left-nowrap main-between data-v-b05a24b0"><view class="performed dir-left-nowrap cross-center data-v-b05a24b0"><image class="icon data-v-b05a24b0" src="{{''+(item.score===3?'../image/praise.png':item.score===2?'../image/average.png':'../image/bad-review.png')}}"></image><view class="evaluation data-v-b05a24b0">{{(item.score===3?'好评':item.score===2?'中评':item.score===1?'差评':'')+''}}</view><block wx:if="{{0&&item.is_show===0}}"><view class="show data-v-b05a24b0">已隐藏</view></block></view><view class="button dir-left-nowrap data-v-b05a24b0"><view data-event-opts="{{[['tap',[['isTop',['$0',index],[[['list','',index]]]]]]]}}" class="reply data-v-b05a24b0" bindtap="__e">{{''+(item.is_top===1?'取消置顶':'置顶')+''}}</view><view data-event-opts="{{[['tap',[['isShow',['$0'],[[['list','',index]]]]]]]}}" class="show-button data-v-b05a24b0" style="margin-left:16rpx;" bindtap="__e">{{''+(item.is_show===1?'隐藏评论':'取消隐藏')+''}}</view><app-jump-button vue-id="{{('528b485e-2-'+index)+','+('528b485e-1')}}" form="{{true}}" url="{{'/pages/app_admin/comment-detail/comment-detail?id='+item.id}}" class="data-v-b05a24b0" bind:__l="__l" vue-slots="{{['default']}}"><view class="reply data-v-b05a24b0">{{''+(item.reply_content===''?'回复':'修改回复')+''}}</view></app-jump-button></view></view></view></block></view></view></app-layout>
|