</nz-dropdown>
<button class="search" nz-button [nzType]="'primary'"><i
class="anticon anticon-search"></i><span>Search</span></button>
- <!-- <button class="search" nz-button [nzType]="'primary'" (click)="getperformanceSsourceNames()"><i class="anticon anticon-search"></i><span>Search</span></button> -->
</div>
<div class="content" [@showHideAnimate]="state">
<div class="vnfs">
<div class="vnf" *ngFor="let item of totalRecords">
- <img src="../../../../assets/images/vnf01.png" title="VNF" (click)="graphicShow2(item)">
- <!-- <h3>{{item.name}}</h3> -->
+ <img src="assets/images/vnf01.png" title="VNF" (click)="graphicShow2(item)">
<div class="intro">
{{item.name}}
</div>
</div>
<div class="vnf" *ngFor="let item of totalpnfs">
- <img src="../../../../assets/images/pnf01.png" alt="PNF" (click)="graphicShow2(item)">
+ <img src="assets/images/pnf01.png" alt="PNF" (click)="graphicShow2(item)">
<div class="intro">
{{item.name}}
</div>
:hover {
border-color: #48C6EF;
}
- //下拉框中的样式在style.less中,下拉框是在body中额外临时生成的
+ //The style in the drop-down box is in style.less, and the drop-down box is extra temporary generated in the body.
}
.search {
margin-left: 20px;
}
.content {
- // background-color: #fff;
border-radius: 5px;
padding: 12px;
.vnfs {
flex-wrap: wrap;
justify-content: space-around;
.vnf {
- // width: 180px;
background-color: #fff;
width: 18%;
height: 200px;
}
}
.empty {
- // width: 180px;
width: 18%;
height: 200px;
margin: 5px;
ngOnInit() {
this.getqueryAllSourceNames();
- // this.getperformanceSsourceNames();
let _this = this;
setTimeout(function () {
_this.totalRecords = [
//Fill the box
emptys = [];
- // getperformanceSsourceNames() {
- // this.myhttp.getperformanceSourceNames(this.currentPage, this.pageSize, this.sourceName).subscribe((data) => {
- // this.totalRecords = data.totalRecords;
- // this.vnfsdataTotal = data.names;
- // if (Number.isInteger(this.totalRecords.length / 5)) {
- // this.emptys = new Array(0);
- // } else {
- // this.emptys = new Array(5 - this.totalRecords.length % 5);
- // }
- // })
- // }
//Detail page title display
isHidden = true;
graphicshow = false;