当查找时,如果你要把返回文本与匹配关键字高亮显示。请使用此组件。 var highLight="as iMark".iMark(["ma","ar","a"],"",""); highLight的值为 as iMark when you search, if you want make the txt match with key have hight light showing. you can use this component.
1.很长时间没有更新博客了,从今天起开始好好写博客,与各位同僚一起进步。
2.前一段时间技术经理提出要做一个景区定位锁定周边民宿的功能,同时要附加着匹配高亮,然后 开始写。
3.在原来的搜索框写了方法。
//输入框实时搜索
//输入框实时搜索
inputChange: function(e) {
var that = this;
var currentStatu = 'open'
this.util(currentStatu)
var val = th