import { Component, Input, OnInit } from '@angular/core'; @Component({ selector: 'rh-display-card', templateUrl: './display-card.component.html', styleUrls: ['./display-card.component.less'] }) export class RhDisplayCardComponent implements OnInit { /** 是否显示标题,默认为显示*/ @Input() rhIsShowTitle = true; /** 标题内容 */ @Input() rhTitleContent = '标题'; /** logoType 对应ng-zorro 图标type */ @Input() rhIconType = 'bars'; constructor() { // } ngOnInit() { // } }