<view class="container ">
  <swiper class='swiper-banner' indicator-dots autoplay interval="5000" duration="500" indicator-active-color="#2cae36">
    <swiper-item wx:for="{{banner}}" wx:key="id">
      <image src="{{item.image}}" class="wh100" bindtap='navigate_native' data-url="/pages/home/newsDetails/index?id={{item.newsId}}&type={{item.activityType}}" />
    </swiper-item>
  </swiper>
  <view class='lineHt20'></view>
  <view class='flexRow icons'>
    <view class='flexCol flexCenter' wx:for="{{iconList}}" wx:key="content" bindtap='navigate_native' data-url='{{item.url}}'>
      <image src='{{item.picUrl}}'></image>
      <text>{{item.content}}</text>
    </view>
  </view>
  <view class='lineHt20'></view>
  <view class='flexCol p20'>
    <view class='flexRow jcsb aCenter title'>
      <view class='flexRow icon'>
        <text class='fwb'>科大要闻</text>
      </view>
      <view class='flexRow more' bindtap='navigate_native' data-url="./list/index?type=administrationInfo&title=科大要闻">
        <text>查看更多</text>
        <image src='/images/right.png'></image>
      </view>
    </view>
    <list templateList="{{newsList}}" />
  </view>
  <view class='flexCol p20'>
    <view class='flexRow jcsb aCenter title'>
      <view class='flexRow icon'>
        <text class='fwb'>学生标兵</text>
      </view>
      <view class='flexRow more' bindtap='navigate_native' data-url="./list/index?type=servicePacesetter&title=学生标兵">
        <text>查看更多</text>
        <image src='/images/right.png'></image>
      </view>
    </view>
    <swiper class="swiper-list" autoplay circular interval="3000" duration="1000" previous-margin="237rpx" next-margin='237rpx' bindchange='swiperChangeElegant'>
      <swiper-item wx:for="{{TSList}}" wx:key="id">
        <list templateList="{{[item]}}" templateData="{{ {isAction:index===currentSwiperElegant} }}" />
      </swiper-item>
    </swiper>
  </view>
  <view class='flexCol p20' style="justify-content:space-between;">
    <view class='flexRow jcsb aCenter title'>
      <view class='flexRow icon'>
        <text class='fwb'>校园动态</text>
      </view>
      <view class='flexRow more' bindtap='navigate_native' data-url="./list/index?type=centraActivities&title=校园动态">
        <text>查看更多</text>
        <image src='/images/right.png'></image>
      </view>
    </view>
    <view class='mt10'>
      <list templateList="{{activityNewsList}}" />
    </view>
  </view>
</view>