摘要: index.vue内使用list组件,组件的功能主要包含1:根据不同数据显示不同图标,2:选中事件 实现1:利用:class="iconClass" 实现2:vue基础 子传父$emit,父传子prop 代码:父组件index.vue <template> <view class="content" 阅读全文
posted @ 2021-09-13 17:27 少哨兵 阅读(177) 评论(0) 推荐(0) 编辑