<!--pages/user/my_comment/index.wxml-->
<view class='container'>
  <view class='comment_body'>
    
    <view class='comment_con'>
      <view class="weui-tab__panel">
        <view class="weui-tab__content">
          <block wx:for="{{myComment}}" wx:key="index">
            <view data-id='{{item.exhibition.id}}' data-product="{{item.exhibition.hasProduct}}" data-link="{{item.exhibition}}"  bindtap='tapTodetail' data-link="{{item.exhibition.product.showLink}}" class='weui-tab__content_item'>
              <view class="fdkk-cells">
                <view class="weui-cell">
                  <view class='comment-user'>
                    <view class="weui-cell__hd">
                      <image class='comment_avatar' mode='aspectFill' src='{{ item.avatarUrl||defaultImg}}'></image>
                    </view>
                    <view class="weui-cell__bd">
                      <view class='comment_name'>{{item.nickName}}</view>
                      <view class='comment_time'>点评了展览</view>
                    </view>
                  </view>
                  <view class="weui-cell__ft">{{item.dateTimeDeatil}}</view>
                </view>
                <view class="weui-panel__bd">
                  <view class="weui-media-box weui-media-box_appmsg">
                    <view class="weui-media-box__bd weui-media-box__bd_in-appmsg">
                      <view class="weui-media-box__title weui-flex">
                      </view>
                      <view class="comment_content">
                        {{item.comment}}
                      </view>
                      <view class="comment_exhibition">
                        <view class='comment_image_warpper'>
                          <image class='comment_image' src="{{ imgServer + item.exhibition.imageUrl||defaultImg}}"  mode='aspectFill'                           ></image>
                        </view>
                        <view class='comment_exhibition_info'>
                          <view class='comment_exhibition_info_title'>{{item.exhibition.name}}</view>
                          <view class='comment_exhibition_info_txt'>{{item.exhibition.pavilionName}}</view>
                          <view style='display:flex;align-items: center; flex: 1;'>
                            <image wx:for="{{item.imgObj}}" wx:key="index" class="comment-img__item" mode='aspectFill' src="{{item.img}}"></image>
                          </view>
                        </view>
                      </view>
                      <view class="comment-dec " bindtap='' data-idx="{{index}}" data-type="{{item.hasLike}}" data-id="{{item.id}}">
                        
                      </view>
                    </view>
                    <view>
                    </view>
                  </view>
                </view>
              </view>
            </view>
          </block>
        </view>
      </view>
    </view>
  </view>
  <view class="weui-loadmore" wx:if="{{loading}}">
    <view class="weui-loading"></view>
    <view class="weui-loadmore__tips">正在加载</view>
  </view>
    
    <view class='noCollection' wx:if="{{myComment.length < 1}}" >
      {{myBrowsed.length}}
      <image src='{{noCollectionImg}}'></image>
      <text>没有更多的记录</text>
    </view>
</view>