< tab: line-width=3 active-color="-sharp0094E0" VMI model = "index" >
<tab-item class="vux-center" :selected="demo === item" v-for="(item, index) in headLine" @click="demo = item" :key="index">
{{item}}
</tab-item>
</tab>
<swiper v-model="index" :show-dots="false">
<swiper-item v-for="(item, index) in headLine" :key="index">
<div class="tab-swiper vux-center">
<!-- {{item}} -->
<div id="myChart"></div>
<div id="myCharts"></div>
<x-button @click.native="goBuild()">XXXX</x-button>
</div>
</swiper-item>
</swiper>
![][1]