v-bind:class="index==true? 'type' : ''"