小编Ahm*_*ory的帖子

离子2如何在标签中增加徽章

如果收到通知,我会尝试更改徽章的价值,但如果您有任何想法可以帮助我,我不会来交换.

tabs.ts

import { Component, ViewChild } from '@angular/core';

import { SQLite, Dialogs, Firebase } from 'ionic-native';
import { NavController, Platform, Tabs } from 'ionic-angular';
import { HomePage } from '../home/home';
import { NotificationPage } from '../notification/notification';
import { MessagesPage } from '../messages/messages';
import { MoiPage } from '../moi/moi';

import {GlobalVars} from '../../providers/varglobal'
import {Injectable} from '@angular/core';

@Injectable()

@Component({
  templateUrl: 'tabs.html'
})

export class TabsPage {
  // this tells the tabs componnent which Pages
  // should be each tab's root …
Run Code Online (Sandbox Code Playgroud)

ionic2 angular

7
推荐指数
2
解决办法
5779
查看次数

标签 统计

angular ×1

ionic2 ×1