页面
<li :class="{
active_checked : isActive == index}" @click="handleClick(index)" v-for="(item,index) in list" :key="index">
{
{
item.name}}
</li>
<div class=“red check_con" v-if="isTrue">111</div>
<div class=“blue check_con" v-else>222</div>
data() {
return
vue 切换内容
最新推荐文章于 2024-04-11 05:37:43 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)