<!--pages/user/my_comment/index.wxml-->
<view class='container'>
  <view class='comment_body'>
    <!-- <view class='nav_bar'>
      <view class='nav_bar_txt'>收藏</view>
      <view class='nav_bar_icon'>
        <text class='iconfont icon-search'></text>
      </view>
    </view> -->
    <view class='comment_con'>
      <view class="weui-tab__panel">
        <view class="weui-tab__content">
          <!-- <navigator url="{{item.hasProduct&&!item.hasPay?('../../yuezhan/pay_page/index?id='+item.id):(item.hasProduct?'../../wv_page/index?id='+item.id:'../../zl_detail/index?id='+item.id)}}" wx:for="{{myCollected}}" wx:key="index" class='fdkz-card'>
            <view class='fdkz-card-img'>
              <view class="fdkz-card-tag {{item.statusText=='展览中'||item.statusText==''?'':item.statusText=='已结束'?'fdkz-card-tag_finish':'fdkz-card-tag_coming'}}">
                <text class='fdkz-card-tag-txt'>{{item.statusText||'常设展'}}</text>
              </view>
              <image src="{{item.imageUrl||defaultImg}}" mode="aspectFill" class='item-img'></image>
            </view>
            <view class='fdkz-card-info'>
              <view class='fdkz-card-info-title'>
                <view class='title-txt'>
                  {{item.name}}
                </view>
                <image wx:if="{{item.hasProduct}}" mode='widthFix' class='fdkzImg' src='{{testImg}}'></image>

              </view>
              <view class='fdkz-card-info-date'>
                <view class='date-txt'>{{item.pavilionName}}丨{{item.statusTextDesp}}</view>
                <view class='changguan_title'>
                  <text class='iconfont icon-comment'>   {{item.commentCount}}</text>
                  <text class='iconfont icon-view'>   {{item.pv}}</text>
                  <text data-idx="{{index}}" data-type="{{item.hasCollect}}" data-id="{{item.id}}" class="iconfont  {{item.hasCollect?'icon-like':'icon-empty_like'}}">   {{item.collectionsCount}}</text>
                </view>
              </view>
              <text></text>
            </view>
          </navigator> -->
          <view class='componentList'>
            <block wx:for="{{myCollected}}" wx:key="index">
              <component-list
                hasProduct="{{item.hasProduct}}"
                hasPay="{{item.hasPay}}"
                sceneId="{{item.id}}"
                imageUrl="{{item.imageUrl}}"
                name="{{item.name}}"
                pavilionName="{{item.pavilionName}}"
                statusTextDesp="{{item.statusTextDesp}}"
                distance="{{item.distance}}"
                online="{{item.online}}"
                scenePv="{{item.pv}}"
                link="{{item.product.showLink}}"
              ></component-list>
            </block>
          </view>
          
        </view>
      </view>
    </view>
    <!-- <view class='noDataClass' hidden='{{exhibitionList.length>0||loading}}'>
      <image class='no_exhibitionImg' mode='aspectFit' src='{{noExhibitionImg}}'></image>
      <view class="tips">
        暂无收藏信息
      </view>
    </view> -->
    <view class='noCollection' wx:if="{{myCollected.length < 1}}" >
      {{myBrowsed.length}}
      <image src='{{noCollectionImg}}'></image>
      <text>没有更多的记录</text>
    </view>
  </view>

</view>