|
@@ -28,8 +28,8 @@
|
|
|
<div class="details-container">
|
|
|
<!-- 装修公司详情页 -->
|
|
|
<div *ngIf="selectedSegment === 'company'">
|
|
|
- <!-- 装修公司详情页 -->
|
|
|
- <ion-card *ngFor="let company of companies">
|
|
|
+ <div *ngFor="let company of companies">
|
|
|
+ <ion-card class="Company-card">
|
|
|
<ion-card-header><ion-card-title> {{ company.name }}</ion-card-title>
|
|
|
</ion-card-header>
|
|
|
<ion-card-content>
|
|
@@ -46,7 +46,7 @@
|
|
|
<ion-text>{{ company.description }}</ion-text>
|
|
|
</ion-item>
|
|
|
<!-- 公司服务 -->
|
|
|
- <ion-card class="concept-card">
|
|
|
+ <ion-card class="company-card">
|
|
|
<ion-card-header>
|
|
|
公司服务:
|
|
|
</ion-card-header>
|
|
@@ -55,7 +55,7 @@
|
|
|
</ion-card-content>
|
|
|
</ion-card>
|
|
|
<!-- 公司优势 -->
|
|
|
- <ion-card class="concept-card">
|
|
|
+ <ion-card class="company-card">
|
|
|
<ion-card-header>
|
|
|
公司优势:
|
|
|
</ion-card-header>
|
|
@@ -64,12 +64,12 @@
|
|
|
</ion-card-content>
|
|
|
</ion-card>
|
|
|
<!-- 公司案例 -->
|
|
|
- <ion-card class="concept-card">
|
|
|
+ <ion-card class="company-card">
|
|
|
<ion-card-header>
|
|
|
公司案例:
|
|
|
</ion-card-header>
|
|
|
<ion-card-content>
|
|
|
- <ion-text>{{ company.cases }}</ion-text>
|
|
|
+ <ion-text [innerHTML]="formatHtmlContent(company.cases)"></ion-text>
|
|
|
</ion-card-content>
|
|
|
</ion-card>
|
|
|
<!-- 底部按钮 -->
|
|
@@ -80,11 +80,12 @@
|
|
|
</ion-card-content>
|
|
|
</ion-card>
|
|
|
</div>
|
|
|
+ </div>
|
|
|
|
|
|
<!-- 设计机构详情页 -->
|
|
|
<div *ngIf="selectedSegment === 'design'">
|
|
|
<div *ngFor="let designCompany of designCompanies">
|
|
|
- <ion-card class="company-card">
|
|
|
+ <ion-card class="Angency-card">
|
|
|
<ion-card-header>
|
|
|
<ion-card-title>{{ designCompany.name }}</ion-card-title>
|
|
|
<ion-card-subtitle>星级评分: {{ designCompany.starRating }} | 评价数量: {{ designCompany.reviewCount }}</ion-card-subtitle>
|