feat: 搜索直播间、用户

This commit is contained in:
guozhigq
2023-06-20 22:52:47 +08:00
parent 7e7892aab2
commit c2f8f143f8
15 changed files with 801 additions and 59 deletions

View File

@ -34,7 +34,6 @@ class SearchSuggestItem {
String reg = '<em class=\"suggest_high_light\">$inputTerm</em>';
try {
if (json['name'].indexOf(inputTerm) != -1) {
print(json['name']);
String str = json['name'].replaceAll(reg, '^');
List arr = str.split('^');
arr.insert(arr.length - 1, inputTerm);