重构项目文件夹目录
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<navigation-bar title="评论管理" showBack="{{true}}" background="#081518" color="#ffffff"></navigation-bar>
|
||||
|
||||
<view class="page">
|
||||
<view class="search-row">
|
||||
<input class="search-input" placeholder="搜索评论内容" value="{{keyword}}" bindinput="handleKeywordInput" confirm-type="search" bindconfirm="handleSearch" />
|
||||
<view class="search-btn" bindtap="handleSearch">搜索</view>
|
||||
</view>
|
||||
|
||||
<view wx:if="{{!comments.length && !loading}}" class="empty">暂无评论</view>
|
||||
|
||||
<view wx:for="{{comments}}" wx:key="id" class="comment-card">
|
||||
<view class="comment-head">
|
||||
<text class="comment-user">{{item.userNickname || '用户'}}</text>
|
||||
<text class="comment-time">{{item.createTime}}</text>
|
||||
</view>
|
||||
<view class="comment-content">{{item.commentContent}}</view>
|
||||
<view wx:if="{{item.parentCommentContent}}" class="reply-content">回复:{{item.parentCommentContent}}</view>
|
||||
<view class="comment-meta">{{item.productTitle || '作品'}} · {{item.shopName || '门店'}}</view>
|
||||
<view class="delete-btn" data-id="{{item.id}}" bindtap="handleDelete">删除</view>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user