feat: 调整样式

This commit is contained in:
Blizzard
2026-02-14 11:31:44 +08:00
parent cbbe82ef63
commit d6f781a666
42 changed files with 827 additions and 293 deletions
+10
View File
@@ -146,6 +146,16 @@ Page({
}
},
updateItemFavoriteStatus(id, isFavorited) {
const index = this.data.displayedList.findIndex(i => i.id == id);
if (index === -1) return;
const key = `displayedList[${index}].isFavorited`;
this.setData({
[key]: isFavorited
});
},
// Search Input Handler (debounced)
onSearchInput(e) {
const value = e.detail.value;