12345678910111213141516171819202122232425262728293031323334 |
- <nav type="back" background-color="#FFE300" title="评论列表" />
- <view class="page-section page-section-spacing " style="margin-bottom: 140rpx;" wx:if="{{comments&&comments.length}}">
- <!-- <view class="title">共{{comments.length}}条评价</view> -->
- <comment-list comments="{{comments}}" ></comment-list>
- <!-- <van-divider customStyle="margin: 16rpx 0;" />
- <!-- <scroll-view scroll-y="true" style="height:calc(100vh - {{navigationBarHeight}}rpx);" bindscrolltolower="loadMore"> -->
- <!-- <view id="comments">
- <view class="comment" wx:for="{{comments}}" wx:key="index">
- <view class="comment-header">
- <view class="header-avatar">
- <image class="header-avatar-image" src="{{item.user.avatar}}"></image>
- </view>
- <view class="header-text">
- <view class="comment-name text-small">{{item.user.nickname}}</view>
- <view class="comment-score ">
- <van-rate readonly allow-half value="{{ item.score }}" size="{{ 12 }}" color="#FF8936" void-icon="star" void-color="#eee" />
- </view>
- </view>
- <view class="comment-date text-small grey">{{item.orderTime}}</view>
- </view>
- <view class="comment-content">
- <view class="comment-text text">{{item.content}}</view>
- <view class="comment-images">
- <block wx:for="{{item.images}}" wx:key="index" wx:for-item="image">
- <image class="comment-image" src="{{image}}"></image>
- </block>
- </view>
- </view>
- </view>
- <view class="comments-footer"></view>
- </view> -->
- <!-- </scroll-view> -->
- </view>
- <van-empty wx:else description="暂无评论"></van-empty>
|