tems = document.querySelectorAll('.list-item');

            if (searchTerm.length > 0) {
                listItems.forEach(function (item) {
                    const itemText = item.textContent || item.innerText;
                    console.log(itemText.toLowerCase(searchTerm.toLowerCase()))
                    if (itemText.toLowerCase().indexOf(searchTerm.toLowerCase()) !== -1) {
                        item.style.display = ''; // 显示匹配的项
                    } else {
                        it