|
@@ -9,17 +9,17 @@ import { AlertController } from '@ionic/angular';
|
|
|
|
|
|
export class Tab1Page {
|
|
export class Tab1Page {
|
|
apps = [
|
|
apps = [
|
|
- { name: '微信', icon: 'logo-wechat', category: '微信教程' },
|
|
|
|
- { name: '支付宝', icon: 'logo-alipay', category: '支付宝教程' },
|
|
|
|
- { name: '滴滴', icon: 'car', category: '滴滴教程' },
|
|
|
|
- { name: '更多', icon: 'ellipsis-horizontal', category: '更多教程' }
|
|
|
|
|
|
+ { name: '微信', icon: 'logo-wechat', description: '微信相关教程' },
|
|
|
|
+ { name: '支付宝', icon: 'logo-alipay', description: '支付宝相关教程' },
|
|
|
|
+ { name: '滴滴', icon: 'car', description: '滴滴相关教程' },
|
|
|
|
+ { name: '更多', icon: 'apps', description: '更多相关教程' }
|
|
];
|
|
];
|
|
|
|
|
|
searchQuery: string = '';
|
|
searchQuery: string = '';
|
|
|
|
|
|
openTutorial(app: any) {
|
|
openTutorial(app: any) {
|
|
// 在这里处理点击按钮后的逻辑,打开对应类别的教程
|
|
// 在这里处理点击按钮后的逻辑,打开对应类别的教程
|
|
- console.log('打开' + app.category + '教程');
|
|
|
|
|
|
+ console.log('打开' + app.name + '教程');
|
|
}
|
|
}
|
|
|
|
|
|
searchCourses() {
|
|
searchCourses() {
|