<view class="review">
  <view wx:if="{{list.length>0}}">
   <view class="item" wx:for="{{list}}">
        <view class="goods-box">
          <view class="shop-info">
            <image src="../../images/icon/shop.png" mode="" class="icon"/>
            <view class="shop-name">{{item.shopName}}</view>
          </view>

          <view class="relative">
            <scroll-view class="goods-list"  scroll-x="true">
              <image src="{{prod.column}}" mode="aspectFill"  class="img" wx:for="{{item.orderItems}}" wx:for-item="prod" wx:for-index="d" data-idx="{{d}}" bind:tap="comPicPreView"/>
            </scroll-view>
              <view class="total-box">
                <view class="price">￥{{item.totalPrice}}</view>
                <view class="num">共{{item.totalCount}}件</view>
              </view>
          </view>
        </view>
        <view class="comment">
          <view class="info">
            <view class="user-info">
              <image src="{{item.avatar}}" mode="" class="head" />
              <view class="name">{{item.nickName}}</view>
            </view>
            <view class="time">{{item.recTime}}</view>
          </view>
          <view class="score-box">
            <view class="num">{{item.score}}.0</view>
            <image class="star" wx:for="{{item.score}}" src="../../images/icon/star-red.png" mode=""/>
          </view>

          <view class="content">
            <view class="desc">{{item.content}}</view>

              <view class="img-box">
                <image bind:tap="comPicPreView" data-pics="{{item.pics}}" data-idx="{{d}}" wx:for="{{item.pics}}" wx:for-item="i" wx:for-index="d" src="{{i}}" mode="" class="img" />
              </view>

              <view class="reply" wx:if="{{item.replyContent}}">
                <view class="label">平台回复</view>
                <view class="value">{{item.replyContent}}</view>
              </view>
          </view>
        </view>
   </view>
  </view>
   <block wx:else>
      <view style="height: 500rpx;">
        <van-empty  description="你还没有评论哦" />
      </view>
    </block>
   <block wx:if="{{list.length>0}}">
    <view class="tips" wx:if="{{isAll}}">已经到底咯~</view>
    <view class="loading-box" wx:else>
      <van-loading size="20px" type="spinner" color="#006CE8">加载中...</van-loading>
    </view>
  </block>
</view>