vue制作简单的tab栏 html部分 <div class="box"> <div class="title"> <div v-for="(title,i) in title" v-on:click="idx(i)" v-bind:class