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