<div id="slider1" class="mui-scroll-wrapper mui-slider-indicator mui-segmented-control mui-segmented-control-inverted nav1">
<div class="mui-scroll">
<a v-for="nav in category" id="cid{{nav.cateid}}" :class="nav.cateid | isActiveParent" href="#item{{$index}}mobile" v-text="nav.name" :data-cid="nav.cateid"></a>
</div>
</div>
var vm = new Vue({
el: '#app',
data:{
category: []
}
});
vm.category = data;
vm.$nextTick(function () {
mui('#slider1').scroll().scrollTo(200,0,100);
})