|
@@ -1,15 +1,18 @@
|
|
|
-import { Component, OnInit } from '@angular/core';
|
|
|
+import { Component } from '@angular/core';
|
|
|
|
|
|
@Component({
|
|
|
selector: 'app-home',
|
|
|
- templateUrl: './home.page.html',
|
|
|
- styleUrls: ['./home.page.scss'],
|
|
|
+ templateUrl: 'home.page.html',
|
|
|
+ styleUrls: ['home.page.scss'],
|
|
|
})
|
|
|
-export class HomePage implements OnInit {
|
|
|
+export class HomePage {
|
|
|
|
|
|
- constructor() { }
|
|
|
+ tasks = [
|
|
|
+ { time: '08:00:00 - 09:00:00', content: '任务内容1' },
|
|
|
+ { time: '09:00:00 - 10:00:00', content: '任务内容2' },
|
|
|
+ { time: '10:00:00 - 11:00:00', content: '任务内容3' },
|
|
|
+ ];
|
|
|
|
|
|
- ngOnInit() {
|
|
|
- }
|
|
|
+ constructor() {}
|
|
|
|
|
|
}
|