<!--packageG/independent_store/store_album/store_album.wxml-->
<view class="store_album">
  <van-tabs active="{{label_id}}" nav-class="tabs" tab-class="tab" tab-active-class="tab-active" bind:change="changeTab">
    <van-tab title="全部" name=""></van-tab>
    <van-tab wx:for="{{navList}}" wx:key="index" title="{{item.label_name}}" name="{{item.id}}"></van-tab>
  </van-tabs>

  <view class="album-list">
    <view class="item" wx:for="{{imgList}}" wx:key="index">
      <view class="image-box" wx:if="{{item.data_type == 0}}" data-imageSrc="{{item.image_src}}" bindtap="previewImage">
        <image src="{{item.image_src}}" mode="widthFix"></image>
      </view>
      <view class="video-box" wx:if="{{item.data_type == 1}}">
        <image src="{{item.video_img_src}}" mode="widthFix" bindtap="palyVideo" data-videoSrc="{{item.video_src}}"></image>
        <van-icon class="iconfont icon-fontclass-bofang" bindtap="palyVideo" data-videoSrc="{{item.video_src}}"></van-icon>
      </view>
    </view>
  </view>

  <view wx:if="{{finished}}" class="finished">-----没有更多了-----</view>
</view>
<video id="polyvLiveVideo" class="video" src="{{playVideoSrc}}" object-fit="contain" ></video>