<view class='swiper-top-container'>
  <view class="swiper-tab">
    <view class="swiper-tab-item {{ item.tab == selectedTab ? 'active' : '' }}" data-current="{{ item.tab }}" bindtap="clickTab" wx:for="{{ tabList }}">{{ item.title }}</view>
  </view>
</view>
<swiper current-item-id="{{ selectedTab }}" duration="300" bindchange="swiperTab" class='sg-swiper'>
  <swiper-item item-id="video" classs="swiper-item">
    <view class="after-navber">
      <view class="info">
        <view class="info-list">
          <view class="info-content" wx:for="{{ video_list }}">
            <view class="info-bg" wx:if="{{ item.type == 3 }}">
              <view class="info-video">
                <image bindtap="play" class="bg" src="{{item.pic_url}}" data-url="{{ item.url }}" data-title="{{ item.title }}"></image>
                <image bindtap="play" class="play" src="/images/video-play.png" data-url="{{ item.url }}" data-title="{{ item.title }}"></image>
              </view>
              <view class="info-label">{{item.title||'未命名'}}</view>
              <!-- <view class="content {{item.show!=-1?'':'more'}}">{{item.content||'暂无信息'}}</view>   -->
              <!-- <view class="flex-y-center flex-x-center" style="position:relative;height:80rpx;font-size:9pt;color:#afafaf">
                        <text class="flex-y-center left">{{item.time}}</text>
                        <view capture-bind:tap="more" class="right flex-y-center" data-index="{{index}}">
                            <image animation="{{animationData}}" src="{{item.show!=-1?'/images/icon-up.png':'/images/icon-down.png'}}"></image>
                            <text data-index="{{index}}">展开</text>
                        </view>
                    </view> -->
            </view>
          </view>
        </view>
      </view>
    </view>
  </swiper-item>
  <swiper-item item-id="article">
    <view class="after-navber">
      <view class="info">
        <view class="info-list">
          <view class="info-content" wx:for="{{ article_list }}">
            <view class='info-bg' catchtap='redirectToArticle' data-id='{{ item.id }}'>
              <view class="info-label">{{ item.title||'未命名' }}</view>
              <view class="info-date">{{ item.publish_date }}</view>
            </view>
          </view>
        </view>
      </view>
    </view>
  </swiper-item>
</swiper>