This commit is contained in:
2024-08-26 22:56:29 +08:00
parent 3a160fabfe
commit 2cdbd5c22d
18 changed files with 4968 additions and 484 deletions

View File

@@ -65,7 +65,7 @@ Page({
/**
* 清空最近搜索记录
*/
clearSearch: function () {
clearSearch() {
wx.removeStorageSync('recentSearch');
this.getRecentSearch();
},
@@ -73,7 +73,7 @@ Page({
/**
* 跳转到最近搜索
*/
goSearch: function (e) {
goSearch(e) {
console.log(e.target.dataset.text);
wx.navigateTo({
url: '../s-list/s-list?search=' + e.target.dataset.text,