|
@@ -33,18 +33,19 @@
|
|
|
<ion-card-header><ion-card-title> {{ company.name }}</ion-card-title>
|
|
|
</ion-card-header>
|
|
|
<ion-card-content>
|
|
|
- <ion-item>
|
|
|
<ion-label>星级评分:</ion-label>
|
|
|
<ion-text>{{ company.starRating }}</ion-text>
|
|
|
- </ion-item>
|
|
|
- <ion-item>
|
|
|
<ion-label>评价数量:</ion-label>
|
|
|
<ion-text>{{ company.reviewCount }}</ion-text>
|
|
|
- </ion-item>
|
|
|
- <ion-item>
|
|
|
- <ion-label>公司简介:</ion-label>
|
|
|
- <ion-text>{{ company.description }}</ion-text>
|
|
|
- </ion-item>
|
|
|
+ <!-- 公司简介 -->
|
|
|
+ <ion-card class="company-card">
|
|
|
+ <ion-card-header>
|
|
|
+ 公司简介:
|
|
|
+ </ion-card-header>
|
|
|
+ <ion-card-content>
|
|
|
+ <ion-text [innerHTML]="formatHtmlContent(company.description)"></ion-text>
|
|
|
+ </ion-card-content>
|
|
|
+ </ion-card>
|
|
|
<!-- 公司服务 -->
|
|
|
<ion-card class="company-card">
|
|
|
<ion-card-header>
|
|
@@ -91,36 +92,38 @@
|
|
|
<ion-card-subtitle>星级评分: {{ designCompany.starRating }} | 评价数量: {{ designCompany.reviewCount }}</ion-card-subtitle>
|
|
|
</ion-card-header>
|
|
|
<ion-card-content>
|
|
|
- <ion-item lines="none">
|
|
|
- <ion-label>机构简介:</ion-label>
|
|
|
- <ion-text>{{ designCompany.description }}</ion-text>
|
|
|
- </ion-item>
|
|
|
-
|
|
|
+ <!-- 机构简介 -->
|
|
|
+ <ion-card class="ant-card">
|
|
|
+ <ion-card-header class="ant-card">
|
|
|
+ 机构简介:
|
|
|
+ </ion-card-header>
|
|
|
+ <ion-card-content>
|
|
|
+ <ion-text [innerHTML]="formatHtmlContent(designCompany.description )"></ion-text>
|
|
|
+ </ion-card-content>
|
|
|
+ </ion-card>
|
|
|
<!-- 机构介绍 -->
|
|
|
- <ion-card class="info-card">
|
|
|
- <ion-card-header>
|
|
|
- 机构介绍
|
|
|
+ <ion-card class="ant-card">
|
|
|
+ <ion-card-header class="ant-card">
|
|
|
+ 机构服务:
|
|
|
</ion-card-header>
|
|
|
<ion-card-content>
|
|
|
- <ion-item>
|
|
|
- <ion-label>服务:</ion-label>
|
|
|
- <ion-text>{{ designCompany.services }}</ion-text>
|
|
|
- </ion-item>
|
|
|
- <ion-item>
|
|
|
- <ion-label>优势:</ion-label>
|
|
|
- <ion-text>{{ designCompany.advantages }}</ion-text>
|
|
|
- </ion-item>
|
|
|
- <ion-item>
|
|
|
- <ion-label>案例:</ion-label>
|
|
|
- <ion-text>{{ designCompany.cases }}</ion-text>
|
|
|
- </ion-item>
|
|
|
+ <ion-text [innerHTML]="formatHtmlContent(designCompany.services )"></ion-text>
|
|
|
</ion-card-content>
|
|
|
</ion-card>
|
|
|
|
|
|
+ <!-- 机构介绍 -->
|
|
|
+ <ion-card class="ant-card">
|
|
|
+ <ion-card-header class="ant-card">
|
|
|
+ 机构优势:
|
|
|
+ </ion-card-header>
|
|
|
+ <ion-card-content>
|
|
|
+ <ion-text [innerHTML]="formatHtmlContent(designCompany.advantages )"></ion-text>
|
|
|
+ </ion-card-content>
|
|
|
+ </ion-card>
|
|
|
<!-- 设计师团队 -->
|
|
|
- <ion-card class="team-card">
|
|
|
- <ion-card-header>
|
|
|
- 设计师团队
|
|
|
+ <ion-card class="ant-card">
|
|
|
+ <ion-card-header class="ant-card">
|
|
|
+ 设计师团队:
|
|
|
</ion-card-header>
|
|
|
<ion-card-content>
|
|
|
<ion-item *ngFor="let designer of designCompany.designers" lines="none">
|
|
@@ -128,31 +131,35 @@
|
|
|
<img [src]="designer.avatar" alt="设计师头像">
|
|
|
</ion-avatar>
|
|
|
<ion-label>{{ designer.name }}</ion-label>
|
|
|
- <ion-text>{{ designer.style }}</ion-text>
|
|
|
- <ion-text>{{ designer.serviceArea }}</ion-text>
|
|
|
- <ion-text>{{ designer.price }}</ion-text>
|
|
|
+ <ion-label>{{ designer.style }}</ion-label>
|
|
|
+ <ion-label>{{ designer.serviceArea }}</ion-label>
|
|
|
+ <ion-label>{{ designer.price }}</ion-label>
|
|
|
</ion-item>
|
|
|
</ion-card-content>
|
|
|
</ion-card>
|
|
|
|
|
|
<!-- 案例展示 -->
|
|
|
- <ion-card class="case-card">
|
|
|
- <ion-card-header>
|
|
|
- 案例展示
|
|
|
- </ion-card-header>
|
|
|
- <ion-card-content>
|
|
|
- <ion-item *ngFor="let case of designCompany.cases" lines="none">
|
|
|
- <img [src]="case.image" alt="案例图片">
|
|
|
- <ion-label>{{ case.description }}</ion-label>
|
|
|
- <ion-text>{{ case.style }}</ion-text>
|
|
|
- </ion-item>
|
|
|
- </ion-card-content>
|
|
|
- </ion-card>
|
|
|
+<ion-card class="ant-card">
|
|
|
+ <ion-card-header class="ant-card">
|
|
|
+ 案例展示:
|
|
|
+ </ion-card-header>
|
|
|
+ <ion-card-content>
|
|
|
+ <ion-item *ngFor="let case of designCompany.cases" lines="none">
|
|
|
+ <div class="case-container">
|
|
|
+ <img [src]="case.image" alt="案例图片" class="case-image">
|
|
|
+ <div class="case-details">
|
|
|
+ <ion-label>{{ case.description }}</ion-label>
|
|
|
+ <ion-text>设计风格:{{ case.style }}</ion-text>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </ion-item>
|
|
|
+ </ion-card-content>
|
|
|
+</ion-card>
|
|
|
|
|
|
<!-- 设计理念 -->
|
|
|
- <ion-card class="concept-card">
|
|
|
- <ion-card-header>
|
|
|
- 设计理念
|
|
|
+ <ion-card class="ant-card">
|
|
|
+ <ion-card-header class="ant-card">
|
|
|
+ 设计理念:
|
|
|
</ion-card-header>
|
|
|
<ion-card-content>
|
|
|
<ion-text>{{ designCompany.designConcept }}</ion-text>
|
|
@@ -160,28 +167,32 @@
|
|
|
</ion-card>
|
|
|
|
|
|
<!-- 服务流程 -->
|
|
|
- <ion-card class="process-card">
|
|
|
- <ion-card-header>
|
|
|
- 服务流程
|
|
|
+ <ion-card class="ant-card">
|
|
|
+ <ion-card-header class="ant-card">
|
|
|
+ 服务流程:
|
|
|
</ion-card-header>
|
|
|
<ion-card-content>
|
|
|
- <ion-text>{{ designCompany.serviceProcess }}</ion-text>
|
|
|
+ <ion-text [innerHTML]="formatHtmlContent(designCompany.serviceProcess)"></ion-text>
|
|
|
</ion-card-content>
|
|
|
</ion-card>
|
|
|
|
|
|
<!-- 用户评价 -->
|
|
|
- <ion-card class="review-card">
|
|
|
- <ion-card-header>
|
|
|
- 用户评价
|
|
|
- </ion-card-header>
|
|
|
- <ion-card-content>
|
|
|
- <ion-item *ngFor="let review of designCompany.userReviews" lines="none">
|
|
|
- <img [src]="review.image" alt="用户评价图片">
|
|
|
- <ion-label>{{ review.text }}</ion-label>
|
|
|
- <ion-text>星级评分: {{ review.starRating }}</ion-text>
|
|
|
- </ion-item>
|
|
|
- </ion-card-content>
|
|
|
- </ion-card>
|
|
|
+<ion-card class="ant-card">
|
|
|
+ <ion-card-header class="ant-card">
|
|
|
+ 用户评价:
|
|
|
+ </ion-card-header>
|
|
|
+ <ion-card-content>
|
|
|
+ <ion-item *ngFor="let review of designCompany.userReviews" lines="none">
|
|
|
+ <div class="review-container">
|
|
|
+ <img [src]="review.image" alt="用户评价图片">
|
|
|
+ <div class="review-details">
|
|
|
+ <ion-text>星级评分: {{ review.starRating }}</ion-text>
|
|
|
+ <ion-label>{{ review.text }}</ion-label>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </ion-item>
|
|
|
+ </ion-card-content>
|
|
|
+</ion-card>
|
|
|
|
|
|
<!-- 底部按钮 -->
|
|
|
<ion-button expand="full" color="tertiary">电话</ion-button>
|