摘要: 搜索框: <input type="text" v-model="input_cont" placeholder="请输入搜索关键字" /> 其次,要显示的数据使用v-html绑定方法名传递两个参数:(需要标红的数据,搜索框的内容) <div> <span v-html="redKeyword(it 阅读全文
posted @ 2020-08-04 14:26 迈向好运 阅读(567) 评论(0) 推荐(0)