|
@@ -9,8 +9,8 @@ import { Router } from '@angular/router';
|
|
})
|
|
})
|
|
|
|
|
|
export class SearchPage {
|
|
export class SearchPage {
|
|
- hotSearches: string[] = ['JavaScript', 'Angular', 'Ionic', 'TypeScript'];
|
|
|
|
- searchHistory: string[] = ['React', 'Vue', 'Node.js'];
|
|
|
|
|
|
+ hotSearches: string[] = ['大闹天宫', '秘密森林', '无双', '霸王别姬'];
|
|
|
|
+ searchHistory: string[] = ['无双', '满城尽带黄金甲', '白鹿原'];
|
|
|
|
|
|
search() {
|
|
search() {
|
|
// 实现搜索功能的逻辑
|
|
// 实现搜索功能的逻辑
|