This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
import { NavController } from 'ionic-angular'; | |
@Component({ | |
selector: 'page-home', | |
templateUrl: 'home.html' | |
}) | |
export class HomePage { | |
constructor( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var arr = [ | |
{ | |
"imgPath": "assets/icon/ming/2.jpg", | |
"valid": true, | |
"timeText": "", | |
"message": "兌換優惠0", | |
"state": "", | |
"name": "無骨雞腿排", | |
"dayLife": 0, | |
"hourLife": 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
import { IonicPage, NavController, NavParams } from 'ionic-angular'; | |
import { StatusBar } from '@ionic-native/status-bar'; | |
import { ScreenOrientation } from '@ionic-native/screen-orientation'; | |
import * as moment from 'moment'; | |
import { CouponArray } from '../../providers/couponArray'; | |
import { Dandom_Fn } from '../../providers/random'; |