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

@Component({
  selector: 'ydlife-important-announcement',
  templateUrl: './important-announcement.component.html',
  styleUrls: ['./important-announcement.component.scss']
})
export class ImportantAnnouncementComponent implements OnInit {
  announcementLists: Array<any>;

  constructor() {
  }

  ngOnInit() {
    this.announcementLists = [
      {id: 1, title: '运营公告eeeee', content: '11111', announcement_type: '运营公告', announcement_at: '2019-12-30', is_active: 1},
      {id: 2, title: '市场喜讯55555', content: '22222', announcement_type: '市场喜讯', announcement_at: '2019-12-30', is_active: 1},
      {id: 3, title: '重要通知33333', content: '33333', announcement_type: '重要通知', announcement_at: '2019-12-30', is_active: 1},
      {id: 4, title: '新品上架6777776', content: '4444', announcement_type: '新品上架', announcement_at: '2019-12-30', is_active: 1},
      {id: 5, title: '竞赛奖励78978978', content: '555', announcement_type: '竞赛奖励', announcement_at: '2019-12-30', is_active: 1},
    ];
  }

}
