the menswear below will also change when you click.
<li v-for="(item,index) in items">
<div class="screnn-classify" @click="map(item,index)">
{{item.name}}
<p >
<svg class="icon" :class="{active: item.visible}" aria-hidden="true">
<use xlink:href="-sharpicon-right"></use>
</svg>
</div>
<div v-show="item.visible" class="structure">
<span v-for="(data,indexs) in item.datas"
@click="addClass(indexs)"
v-bind:class="{ activation:indexs==current}">{{data}}</span>
</div>
</li>
here is js
current:"0",
addClass:function(indexs){
this.current = indexs;
}
screenshot of the question: