|
@@ -264,45 +264,7 @@
|
|
|
|
|
|
</ion-card-content>
|
|
|
</ion-card>
|
|
|
- <!-- 内容流 -->
|
|
|
- <ion-list>
|
|
|
- <ion-item *ngFor="let item of contentList">
|
|
|
- <ion-thumbnail>
|
|
|
- <img [src]="item.image">
|
|
|
- </ion-thumbnail>
|
|
|
- <ion-label>
|
|
|
- <h2>{{item.title}}</h2>
|
|
|
- <p>{{item.user}}</p>
|
|
|
- <div class="like-wrapper">
|
|
|
- <input class="check" type="checkbox" id="like-toggle" />
|
|
|
- <label class="container" for="like-toggle">
|
|
|
- <svg
|
|
|
- viewBox="0 0 512 512"
|
|
|
- xmlns="http://www.w3.org/2000/svg"
|
|
|
- class="icon inactive"
|
|
|
- >
|
|
|
- <path
|
|
|
- d="M225.8 468.2l-2.5-2.3L48.1 303.2C17.4 274.7 0 234.7 0 192.8v-3.3c0-70.4 50-130.8 119.2-144C158.6 37.9 198.9 47 231 69.6c9 6.4 17.4 13.8 25 22.3c4.2-4.8 8.7-9.2 13.5-13.3c3.7-3.2 7.5-6.2 11.5-9c0 0 0 0 0 0C313.1 47 353.4 37.9 392.8 45.4C462 58.6 512 119.1 512 189.5v3.3c0 41.9-17.4 81.9-48.1 110.4L288.7 465.9l-2.5 2.3c-8.2 7.6-19 11.9-30.2 11.9s-22-4.2-30.2-11.9zM239.1 145c-.4-.3-.7-.7-1-1.1l-17.8-20c0 0-.1-.1-.1-.1c0 0 0 0 0 0c-23.1-25.9-58-37.7-92-31.2C81.6 101.5 48 142.1 48 189.5v3.3c0 28.5 11.9 55.8 32.8 75.2L256 430.7 431.2 268c20.9-19.4 32.8-46.7 32.8-75.2v-3.3c0-47.3-33.6-88-80.1-96.9c-34-6.5-69 5.4-92 31.2c0 0 0 0-.1 .1s0 0-.1 .1l-17.8 20c-.3 .4-.7 .7-1 1.1c-4.5 4.5-10.6 7-16.9 7s-12.4-2.5-16.9-7z"
|
|
|
- ></path>
|
|
|
- </svg>
|
|
|
- <svg
|
|
|
- viewBox="0 0 512 512"
|
|
|
- xmlns="http://www.w3.org/2000/svg"
|
|
|
- class="icon active"
|
|
|
- >
|
|
|
- <path
|
|
|
- d="M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"
|
|
|
- ></path>
|
|
|
- </svg>
|
|
|
- <div class="checkmark"></div>
|
|
|
- <span class="like-text">{{item.likes}}</span>
|
|
|
- </label>
|
|
|
- </div>
|
|
|
- <p>{{item.comments}} Comments</p>
|
|
|
- <p>{{item.tags}}</p>
|
|
|
- </ion-label>
|
|
|
- </ion-item>
|
|
|
- </ion-list>
|
|
|
+
|
|
|
</div>
|
|
|
|
|
|
<!-- 视频页 -->
|
|
@@ -333,16 +295,44 @@
|
|
|
<!-- 案例设计内容 -->
|
|
|
<div class="carousel-container">
|
|
|
<div class="carousel">
|
|
|
- <div class="card0">Card 1</div>
|
|
|
- <div class="card0">Card 2</div>
|
|
|
- <div class="card0">Card 3</div>
|
|
|
- <div class="card0">Card 4</div>
|
|
|
- <div class="card0">Card 5</div>
|
|
|
- <div class="card0">Card 6</div>
|
|
|
- <div class="card0">Card 7</div>
|
|
|
- <div class="card0">Card 8</div>
|
|
|
- <div class="card0">Card 9</div>
|
|
|
- <div class="card0">Card 10</div>
|
|
|
+ <div class="card0">
|
|
|
+ <img src="assets\img\card1.jpg" alt="">
|
|
|
+ </div>
|
|
|
+ <div class="card0">
|
|
|
+ <img src="assets\img\card2.jpg" alt="">
|
|
|
+ </div>
|
|
|
+ <div class="card0">
|
|
|
+ <img src="assets\img\card3.jpg" alt="">
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div class="card0">
|
|
|
+ <img src="assets\img\card4.jpg" alt="">
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div class="card0">
|
|
|
+ <img src="assets\img\card5.jpg" alt="">
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div class="card0">
|
|
|
+ <img src="assets\img\card6.jpg" alt="">
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div class="card0">
|
|
|
+ <img src="assets\img\card7.jpg" alt="">
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div class="card0">
|
|
|
+ <img src="assets\img\card8.jpg" alt="">
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div class="card0">
|
|
|
+ <img src="assets\img\card9.jpg" alt="">
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div class="card0">
|
|
|
+ <img src="assets\img\card10.jpg" alt="">
|
|
|
+
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<img src="example2.jpg" alt="Example 1">
|
|
@@ -357,6 +347,195 @@
|
|
|
<!-- 装修施工页 -->
|
|
|
<div *ngIf="selectedSegment === 'decoration'">
|
|
|
<!-- 装修施工内容 -->
|
|
|
+ <ion-segment style="margin-top: 10px;" [(ngModel)]="selectedCategory">
|
|
|
+ <ion-segment-button value="company">
|
|
|
+ 装修公司
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="designers">
|
|
|
+ 设计师
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="package">
|
|
|
+ 装修套餐
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="materials">
|
|
|
+ 家居建材
|
|
|
+ </ion-segment-button>
|
|
|
+ </ion-segment>
|
|
|
+
|
|
|
+ <!-- 装修公司页内容 -->
|
|
|
+ <div *ngIf="selectedCategory === 'company'">
|
|
|
+ <ion-segment scrollable [(ngModel)]="selectedCompanyCategory">
|
|
|
+ <ion-segment-button value="one-stop" class="fit">
|
|
|
+ 一站式整装
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="chain-brand" class="fit">
|
|
|
+ 连锁品牌
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="alliance" class="fit">
|
|
|
+ 联盟商家
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="top-listed" class="fit">
|
|
|
+ 上榜商家
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="10-year-warranty" class="fit">
|
|
|
+ 水电质保10年以上
|
|
|
+ </ion-segment-button>
|
|
|
+ </ion-segment>
|
|
|
+
|
|
|
+ <!-- 装修公司内容部分 -->
|
|
|
+ <div *ngIf="selectedCompanyCategory === 'one-stop'">
|
|
|
+ <!-- 一站式整装内容 -->
|
|
|
+ <ion-list style="margin-top: 10px;">
|
|
|
+ <ion-item *ngFor="let item of onestopList">
|
|
|
+ <ion-thumbnail slot="start" >
|
|
|
+ <img [src]="item.image">
|
|
|
+ </ion-thumbnail>
|
|
|
+ <ion-label>
|
|
|
+ <h2>{{item.title}}</h2>
|
|
|
+ <p style="color: red;">{{item.score}}分 {{item.price}}万元/套</p>
|
|
|
+ <p>{{item.locate}} 近期服务{{item.people}}人</p>
|
|
|
+ <p>{{item.tags}}</p>
|
|
|
+ </ion-label>
|
|
|
+ </ion-item>
|
|
|
+ </ion-list>
|
|
|
+ </div>
|
|
|
+ <div *ngIf="selectedCompanyCategory === 'chain-brand'">
|
|
|
+ <!-- 连锁品牌内容 -->
|
|
|
+ </div>
|
|
|
+ <div *ngIf="selectedCompanyCategory === 'alliance'">
|
|
|
+ <!-- 联盟商家内容 -->
|
|
|
+ </div>
|
|
|
+ <div *ngIf="selectedCompanyCategory === 'top-listed'">
|
|
|
+ <!-- 上榜商家内容 -->
|
|
|
+ </div>
|
|
|
+ <div *ngIf="selectedCompanyCategory === '10-year-warranty'">
|
|
|
+ <!-- 水电质保10年以上内容 -->
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- 设计师页内容 -->
|
|
|
+ <div *ngIf="selectedCategory === 'designers'">
|
|
|
+
|
|
|
+ <ion-segment scrollable [(ngModel)]="selectedDesignerCategory">
|
|
|
+ <ion-segment-button value="full-design">
|
|
|
+ 全案设计
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="100-300">
|
|
|
+ 100-300/m
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="retro-modern-simple">
|
|
|
+ 复古现代简约
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="preferred-designer">
|
|
|
+ 优选设计师
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="top-listed-designer">
|
|
|
+ 上榜设计师
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="video-call">
|
|
|
+ 可面聊
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="construction">
|
|
|
+ 可施工
|
|
|
+ </ion-segment-button>
|
|
|
+ </ion-segment>
|
|
|
+
|
|
|
+ <!-- 设计师内容部分 -->
|
|
|
+ <div *ngIf="selectedDesignerCategory === 'full-design'">
|
|
|
+ <!-- 全案设计内容 -->
|
|
|
+ </div>
|
|
|
+ <div *ngIf="selectedDesignerCategory === '100-300'">
|
|
|
+ <!-- 100-300/m内容 -->
|
|
|
+ </div>
|
|
|
+ <div *ngIf="selectedDesignerCategory === 'retro-modern-simple'">
|
|
|
+ <!-- 复古现代简约内容 -->
|
|
|
+ </div>
|
|
|
+ <div *ngIf="selectedDesignerCategory === 'preferred-designer'">
|
|
|
+ <!-- 优选设计师内容 -->
|
|
|
+ </div>
|
|
|
+ <div *ngIf="selectedDesignerCategory === 'top-listed-designer'">
|
|
|
+ <!-- 上榜设计师内容 -->
|
|
|
+ </div>
|
|
|
+ <div *ngIf="selectedDesignerCategory === 'video-call'">
|
|
|
+ <!-- 可面聊内容 -->
|
|
|
+ </div>
|
|
|
+ <div *ngIf="selectedDesignerCategory === 'construction'">
|
|
|
+ <!-- 可施工内容 -->
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- 装修套餐页内容 -->
|
|
|
+ <div *ngIf="selectedCategory === 'package'">
|
|
|
+
|
|
|
+ <ion-segment scrollable [(ngModel)]="selectedPackageCategory">
|
|
|
+ <ion-segment-button value="top-listed-package">
|
|
|
+ 上榜套餐
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="1000-1200">
|
|
|
+ 1000-1200元/m
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="nordic-style">
|
|
|
+ 北欧风
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="modern-simple-style">
|
|
|
+ 现代简约风
|
|
|
+ </ion-segment-button>
|
|
|
+ </ion-segment>
|
|
|
+
|
|
|
+ <!-- 装修套餐内容部分 -->
|
|
|
+ <div *ngIf="selectedPackageCategory === 'top-listed-package'">
|
|
|
+ <!-- 上榜套餐内容 -->
|
|
|
+ </div>
|
|
|
+ <div *ngIf="selectedPackageCategory === '1000-1200'">
|
|
|
+ <!-- 1000-1200元/m内容 -->
|
|
|
+ </div>
|
|
|
+ <div *ngIf="selectedPackageCategory === 'nordic-style'">
|
|
|
+ <!-- 北欧风内容 -->
|
|
|
+ </div>
|
|
|
+ <div *ngIf="selectedPackageCategory === 'modern-simple-style'">
|
|
|
+ <!-- 现代简约风内容 -->
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- 家居建材页内容 -->
|
|
|
+ <div *ngIf="selectedCategory === 'materials'">
|
|
|
+
|
|
|
+ <ion-segment scrollable [(ngModel)]="selectedMaterialsCategory">
|
|
|
+ <ion-segment-button value="decoration-materials">
|
|
|
+ 装修建材
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="whole-house-customization">
|
|
|
+ 全屋定制
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="finished-furniture">
|
|
|
+ 成品家私
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="kitchen-bathroom-appliances">
|
|
|
+ 厨卫电器
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="home-appliances">
|
|
|
+ 家用电器
|
|
|
+ </ion-segment-button>
|
|
|
+ </ion-segment>
|
|
|
+
|
|
|
+ <!-- 家居建材内容部分 -->
|
|
|
+ <div *ngIf="selectedMaterialsCategory === 'decoration-materials'">
|
|
|
+ <!-- 装修建材内容 -->
|
|
|
+ </div>
|
|
|
+ <div *ngIf="selectedMaterialsCategory === 'whole-house-customization'">
|
|
|
+ <!-- 全屋定制内容 -->
|
|
|
+ </div>
|
|
|
+ <div *ngIf="selectedMaterialsCategory === 'finished-furniture'">
|
|
|
+ <!-- 成品家私内容 -->
|
|
|
+ </div>
|
|
|
+ <div *ngIf="selectedMaterialsCategory === 'kitchen-bathroom-appliances'">
|
|
|
+ <!-- 厨卫电器内容 -->
|
|
|
+ </div>
|
|
|
+ <div *ngIf="selectedMaterialsCategory === 'home-appliances'">
|
|
|
+ <!-- 家用电器内容 -->
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
<img src="example3.jpg" alt="Example 3">
|
|
|
</div>
|
|
|
|