- 博客(2)
- 收藏
- 关注
原创 亲测可用:VUE实现图标按钮单选效果
图标显示参考:https://blog.csdn.net/weixin_42040328/article/details/106260267目标:按钮带图标,实现单选功能。注:我的图标用的是阿里图标。 <div class="container"> <div class="btn" v-for="(item,index) in info" v-bind:key="item.id"> <!-- 循环内容 --> &.
2020-12-23 17:28:51 1010
原创 vue实现单击选中效果
<button type="button" class="changeBtn" :class="{'activeBtn':isLife}" @click="isLife = !isLife">抬动</button><style>.formText .changeBtn{ margin-left: 1.2rem; color: #aeaeae; border-color: #939393; background: #fff;}.f.
2020-12-22 16:23:58 1251
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人