<nav-bar navbar-data='{{navbarData}}' needBack="{{false}}"></nav-bar>
<view class="main" style="padding-top:{{height}}px;height:{{windowHeight-height}}px">
  <el-col class="one" style="height:{{windowHeight-height}}px">
    <view class="swiper-tab">
      <view class="swiper-tab-item {{currentTab==0?'active':''}}" data-current="0" bindtap="clickTab">国内新闻</view>
      <view class="swiper-tab-item {{currentTab==1?'active':''}}" data-current="1" bindtap="clickTab">健康资讯</view>
    </view>
    <swiper current="{{currentTab}}" style="height:{{windowHeight-height-40}}px">
      <swiper-item catchtouchmove="stopTab">
        <view class="one_1" style="height:{{windowHeight-height-40}}px">
          <news-list list="{{oneList}}" bind:detail="detail"></news-list>
        </view>
      </swiper-item>
      <swiper-item catchtouchmove="stopTab">
        <view class="one_1" style="height:{{windowHeight-height-40}}px">
          <news-list list="{{twoList}}" bind:detail="detail"></news-list>
        </view>
      </swiper-item>
    </swiper>
  </el-col>
</view>