This commit is contained in:
sjk
2025-11-17 14:11:46 +08:00
commit ad4a600af9
1659 changed files with 171560 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
var highLight = function (label, keyword) {
return label.replace(keyword, '<span class="t-search__result-item--highLight">' + keyword + '</span>');
};
module.exports = {
highLight: highLight,
};