瀏覽代碼

removed extra tab

Shivam Patel 6 年之前
父節點
當前提交
e16aad30ee

+ 0
- 3
ZipCoinRedIonicClient/src/app/app.module.ts 查看文件

@@ -11,7 +11,6 @@ import { HomePage } from '../pages/home/home';
11 11
 import { WalletPage } from '../pages/wallet/wallet';
12 12
 import { TransactionPage } from '../pages/transaction/transaction';
13 13
 import { TabsPage } from '../pages/tabs/tabs';
14
-import { Tab4Page } from '../pages/tab4/tab4';
15 14
 import { TransactionService } from '../providers/transaction-service';
16 15
 
17 16
 @NgModule({
@@ -20,7 +19,6 @@ import { TransactionService } from '../providers/transaction-service';
20 19
     HomePage,
21 20
     WalletPage,
22 21
     TransactionPage,
23
-    Tab4Page,
24 22
     TabsPage
25 23
   ],
26 24
   imports: [
@@ -34,7 +32,6 @@ import { TransactionService } from '../providers/transaction-service';
34 32
     HomePage,
35 33
     WalletPage,
36 34
     TransactionPage,
37
-    Tab4Page,
38 35
     TabsPage
39 36
   ],
40 37
   providers: [

+ 0
- 18
ZipCoinRedIonicClient/src/pages/tab4/tab4.html 查看文件

@@ -1,18 +0,0 @@
1
-<!--
2
-  Generated template for the Tab4Page page.
3
-
4
-  See http://ionicframework.com/docs/components/#navigation for more info on
5
-  Ionic pages and navigation.
6
--->
7
-<ion-header>
8
-
9
-  <ion-navbar>
10
-    <ion-title>tab4</ion-title>
11
-  </ion-navbar>
12
-
13
-</ion-header>
14
-
15
-
16
-<ion-content padding>
17
-
18
-</ion-content>

+ 0
- 13
ZipCoinRedIonicClient/src/pages/tab4/tab4.module.ts 查看文件

@@ -1,13 +0,0 @@
1
-import { NgModule } from '@angular/core';
2
-import { IonicPageModule } from 'ionic-angular';
3
-import { Tab4Page } from './tab4';
4
-
5
-@NgModule({
6
-  declarations: [
7
-    Tab4Page,
8
-  ],
9
-  imports: [
10
-    IonicPageModule.forChild(Tab4Page),
11
-  ],
12
-})
13
-export class Tab4PageModule {}

+ 0
- 3
ZipCoinRedIonicClient/src/pages/tab4/tab4.scss 查看文件

@@ -1,3 +0,0 @@
1
-page-tab4 {
2
-
3
-}

+ 0
- 25
ZipCoinRedIonicClient/src/pages/tab4/tab4.ts 查看文件

@@ -1,25 +0,0 @@
1
-import { Component } from '@angular/core';
2
-import { IonicPage, NavController, NavParams } from 'ionic-angular';
3
-
4
-/**
5
- * Generated class for the Tab4Page page.
6
- *
7
- * See https://ionicframework.com/docs/components/#navigation for more info on
8
- * Ionic pages and navigation.
9
- */
10
-
11
-@IonicPage()
12
-@Component({
13
-  selector: 'page-tab4',
14
-  templateUrl: 'tab4.html',
15
-})
16
-export class Tab4Page {
17
-
18
-  constructor(public navCtrl: NavController, public navParams: NavParams) {
19
-  }
20
-
21
-  ionViewDidLoad() {
22
-    console.log('ionViewDidLoad Tab4Page');
23
-  }
24
-
25
-}

+ 0
- 1
ZipCoinRedIonicClient/src/pages/tabs/tabs.html 查看文件

@@ -2,6 +2,5 @@
2 2
   <ion-tab [root]="homePage" tabTitle="ZipCoin-BlockChain" tabIcon="link"></ion-tab>
3 3
   <ion-tab [root]="walletPage" tabTitle="ZipCoin Wallet" tabIcon="cash"></ion-tab>
4 4
   <ion-tab [root]="transactionPage" tabTitle="ZipCoin Transactions" tabIcon="contacts"></ion-tab>
5
-  <ion-tab [root]="tab4" tabTitle="Ziptab" tabIcon="star"></ion-tab>
6 5
 
7 6
 </ion-tabs>

+ 0
- 2
ZipCoinRedIonicClient/src/pages/tabs/tabs.ts 查看文件

@@ -3,7 +3,6 @@ import { IonicPage, NavController, NavParams } from 'ionic-angular';
3 3
 import { HomePage } from '../home/home';
4 4
 import { WalletPage } from '../wallet/wallet';
5 5
 import { TransactionPage } from '../transaction/transaction';
6
-import { Tab4Page } from '../tab4/tab4';
7 6
 @IonicPage()
8 7
 @Component({
9 8
   selector: 'page-tabs',
@@ -13,7 +12,6 @@ export class TabsPage {
13 12
   homePage = HomePage;
14 13
   walletPage = WalletPage;
15 14
   transactionPage = TransactionPage;
16
-  tab4 = Tab4Page; 
17 15
   constructor() {
18 16
 
19 17
   }