|
@@ -8,11 +8,15 @@ import { NavController } from '@ionic/angular';
|
|
})
|
|
})
|
|
export class Tab4Page implements OnInit {
|
|
export class Tab4Page implements OnInit {
|
|
|
|
|
|
- constructor(private navCtrl: NavController) {}
|
|
|
|
|
|
+ constructor(private navCtrl: NavController) {this.selectedContent = '发布';}
|
|
selectedContent: string = '';
|
|
selectedContent: string = '';
|
|
|
|
|
|
showContent(content: string) {
|
|
showContent(content: string) {
|
|
- this.selectedContent = content;
|
|
|
|
|
|
+ if (content === '收藏') {
|
|
|
|
+ this.selectedContent = '一个作品都没有';
|
|
|
|
+ } else {
|
|
|
|
+ this.selectedContent = content;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
openFeedbackPage() {
|
|
openFeedbackPage() {
|