<!--packageI/GoodsComment/GoodsComment.wxml-->
<view class="streetContent" wx:if="{{istype == 'comment'}}">
  <!-- <van-nav-bar title="全部评价" left-text="" right-text="" left-arrow bind:click-left="streetClose" /> -->
  <view class="shopInfo">
    <view class="pj" wx:for="{{third_content}}" wx:key="index" wx:for-item="n" wx:for-index="index">
      <view bindtap='toContentInfo' data-jsondata="{{n}}">
        <view class="user">
          <view class="imageshow">
            <image src="{{n.head_img_url}}" />
          </view>
          <view class="name">
            <view>{{n.nick_name}}</view>
            <view class="level-name">{{ n.level_name }}</view>
          </view>
          <view class="time">{{n.created_at}}</view>
        </view>
        <van-rate disabled="{{true}}" disabled-color="#ff9900" value="{{n.level}}" />
        <view class="p">
          <text wx:if="{{n.content}}">{{n.content}}</text>
          <text wx:else style="color: #908a8a;">此用户没有填写评价。</text>
        </view>
      </view>
      <view style="text-align:left;" wx:if="{{n.images&&n.images.length>0}}">
        <view style="padding: 8rpx 0;">晒图：</view>
        <view style="display: flex;flex-wrap: wrap;">
          <view class="pj-img" wx:for="{{n.images}}"  wx:key='index' data-images="{{n.images}}" data-src="{{item}}" bindtap="previewImage">
            <image src="{{item}}" mode='aspectFill'></image>
          </view>
        </view>
      </view>
      <view wx:if="{{n.append}}" class="append-pj">
        <view class="last_day p" wx:if="{{n.append.diff_date}}" style="display: flex;flex-wrap: wrap;">
          <view style="color: #E21D43;white-space: nowrap;">
            <text wx:if="{{n.append.diff_date.value > 0}}">{{n.append.diff_date.value}}{{n.append.diff_date.sku}}</text>追评：
          </view>
          <view class="p">{{n.append.content}}</view>
        </view>
        <view style="display: flex;flex-wrap: wrap;">
          <view class="pj-img" wx:for="{{n.append.images}}" wx:key='index' data-images="{{n.images}}" data-src="{{item}}" bindtap="previewImage">
            <image src="{{item}}" mode='aspectFill'></image>
          </view>
        </view>
        <!-- <image wx:if="{{n.append.image}}" src="{{n.append.image}}" style="width:160rpx;height:160rpx" mode='aspectFill'></image> -->
      </view>
      <view class="comment">
        <text>评论数:{{n.reply_count}}</text>
      </view>
    </view>
  </view>
</view>
<block wx:if="{{istype == 'micro'}}">
  <!-- <van-nav-bar title="更多微贴" left-arrow bind:click-left="streetClose" /> -->
  <view class="list-post">
    <view class="item" wx:for="{{micro_communities.list}}" wx:key="index" catchtap="goMicro" data-id="{{item.id}}">
      <view class="userInfo" wx:if="{{item.has_one_stick_user}}">
        <view class="avatar">
          <image src="{{item.has_one_stick_user.avatar}}"></image>
        </view>
        <view class="nickname text-overHide">{{ item.has_one_stick_user.nickname }}</view>
      </view>
      <view class="evaluate">
        <view class="message">
          {{ item.title }}
        </view>
        <view class="album">
          <image wx:for="{{item.has_many_image}}" wx:for-item="value" class="img" src="{{value.url}}" mode="widthFix"
            wx:key="index"></image>
        </view>
      </view>
      <view class="bottom">
        <view class="comment">
          <icon class="iconfont icon-fontclass-pinglun1"></icon>
          <text class="num">{{ item.comment_num }}</text>
        </view>
        <view class="link">
          <icon class="iconfont icon-fontclass-dianzan"></icon>
          <text class="num"> {{ item.praise_num }}</text>
        </view>
      </view>
    </view>

    <text wx:if="{{page < last_page}}" catchtap="getMoreMic" class="moreText">点击加载更多</text>
  </view>
</block>