|
@@ -14,7 +14,7 @@
|
|
|
|
|
|
|
|
|
<ion-toolbar>
|
|
|
- <ion-segment>
|
|
|
+ <ion-segment [(ngModel)]="selectedSegment">
|
|
|
<ion-segment-button value="explore">
|
|
|
发现
|
|
|
</ion-segment-button>
|
|
@@ -22,10 +22,11 @@
|
|
|
视频
|
|
|
</ion-segment-button>
|
|
|
</ion-segment>
|
|
|
+
|
|
|
</ion-toolbar>
|
|
|
|
|
|
|
|
|
- <ion-segment scrollable>
|
|
|
+ <ion-segment scrollable [(ngModel)]="selectedSegment">
|
|
|
<ion-segment-button value="case">
|
|
|
<ion-icon name="albums"></ion-icon>
|
|
|
案例设计
|
|
@@ -68,180 +69,252 @@
|
|
|
</ion-segment-button>
|
|
|
</ion-segment>
|
|
|
|
|
|
-
|
|
|
- <ion-card>
|
|
|
- <ion-card-header>
|
|
|
- 装修锦囊
|
|
|
- </ion-card-header>
|
|
|
- <ion-card-content>
|
|
|
-
|
|
|
- <ion-grid>
|
|
|
- <ion-row>
|
|
|
-
|
|
|
- <ion-col>
|
|
|
- <ion-card>
|
|
|
- <ion-card-header>
|
|
|
- <ion-label>
|
|
|
- <ion-icon name="dice-outline"></ion-icon>
|
|
|
- 空间设计
|
|
|
- </ion-label>
|
|
|
- </ion-card-header>
|
|
|
- <ion-card-content>
|
|
|
- <ion-grid>
|
|
|
- <ion-row>
|
|
|
-
|
|
|
- <ion-col size="12">
|
|
|
- <ion-card>
|
|
|
- <ion-img src="https://img.zcool.cn/community/01df555d65edcea8012187f4e41c2f.jpg@2o.jpg"></ion-img>
|
|
|
- <ion-card-header>
|
|
|
- 客厅怎么装
|
|
|
- </ion-card-header>
|
|
|
- </ion-card>
|
|
|
- </ion-col>
|
|
|
-
|
|
|
- <ion-col size="12">
|
|
|
- <ion-card>
|
|
|
- <ion-img src="https://bjcache.leju.com/zxjiaju/zx_pic/20141120/e6/2e/e2e6920b5532429d94ee61bd1630f9c3.jpg"></ion-img>
|
|
|
- <ion-card-header>
|
|
|
- 卧室怎么装
|
|
|
- </ion-card-header>
|
|
|
- </ion-card>
|
|
|
- </ion-col>
|
|
|
- </ion-row>
|
|
|
-
|
|
|
- </ion-grid>
|
|
|
-
|
|
|
- </ion-card-content>
|
|
|
- </ion-card>
|
|
|
- </ion-col>
|
|
|
-
|
|
|
- <ion-col>
|
|
|
- <ion-card>
|
|
|
- <ion-card-header>
|
|
|
- <ion-label>
|
|
|
- <ion-icon name="send-outline"></ion-icon>
|
|
|
- 装前必看
|
|
|
- </ion-label>
|
|
|
- </ion-card-header>
|
|
|
- <ion-card-content>
|
|
|
- <ion-grid>
|
|
|
- <ion-row>
|
|
|
-
|
|
|
- <ion-col size="12">
|
|
|
- <ion-card>
|
|
|
- <ion-img src="https://pic1.zhimg.com/v2-423645f54387fd0ea9be83687b58cc35_720w.jpg?source=172ae18b"></ion-img>
|
|
|
- <ion-card-header>
|
|
|
- 装修全流程
|
|
|
- </ion-card-header>
|
|
|
- </ion-card>
|
|
|
- </ion-col>
|
|
|
-
|
|
|
- <ion-col size="12">
|
|
|
- <ion-card>
|
|
|
- <ion-img src="https://img.zcool.cn/community/0115365dda0240a8012053c0a2c04c.jpg@1280w_1l_2o_100sh.jpg"></ion-img>
|
|
|
- <ion-card-header>
|
|
|
- 全屋定制
|
|
|
- </ion-card-header>
|
|
|
- </ion-card>
|
|
|
- </ion-col>
|
|
|
- </ion-row>
|
|
|
-
|
|
|
- </ion-grid>
|
|
|
- </ion-card-content>
|
|
|
- </ion-card>
|
|
|
- </ion-col>
|
|
|
-
|
|
|
- <ion-col>
|
|
|
- <ion-card>
|
|
|
- <ion-card-header>
|
|
|
- <ion-label>
|
|
|
- <ion-icon name="desktop-outline"></ion-icon>
|
|
|
- 家具家电
|
|
|
- </ion-label>
|
|
|
- </ion-card-header>
|
|
|
- <ion-card-content>
|
|
|
- <ion-grid>
|
|
|
- <ion-row>
|
|
|
-
|
|
|
- <ion-col size="12">
|
|
|
- <ion-card>
|
|
|
- <ion-img src="https://pic1.zhimg.com/v2-160f6e66e25daba826ecbef5ec4eef91_720w.jpg?source=172ae18b"></ion-img>
|
|
|
- <ion-card-header>
|
|
|
- 橱柜怎么选
|
|
|
- </ion-card-header>
|
|
|
- </ion-card>
|
|
|
- </ion-col>
|
|
|
-
|
|
|
- <ion-col size="12">
|
|
|
- <ion-card>
|
|
|
- <ion-img src="https://www.qszs.com/uploads/allimg/180322/6-1P322104631.jpg"></ion-img>
|
|
|
- <ion-card-header>
|
|
|
- 沙发怎么选
|
|
|
- </ion-card-header>
|
|
|
- </ion-card>
|
|
|
- </ion-col>
|
|
|
- </ion-row>
|
|
|
-
|
|
|
- </ion-grid>
|
|
|
- </ion-card-content>
|
|
|
- </ion-card>
|
|
|
- </ion-col>
|
|
|
-
|
|
|
- <ion-col>
|
|
|
- <ion-card>
|
|
|
- <ion-card-header>
|
|
|
- <ion-label>
|
|
|
- <ion-icon name="bed-outline"></ion-icon>
|
|
|
- 家居软装
|
|
|
- </ion-label>
|
|
|
- </ion-card-header>
|
|
|
- <ion-card-content>
|
|
|
- <ion-grid>
|
|
|
- <ion-row>
|
|
|
-
|
|
|
- <ion-col size="12">
|
|
|
- <ion-card>
|
|
|
- <ion-img src="http://www.wzy99.com/UploadFiles/FCK/2017-10/6364376207453191332635836.jpg"></ion-img>
|
|
|
- <ion-card-header>
|
|
|
- 窗帘怎么选
|
|
|
- </ion-card-header>
|
|
|
- </ion-card>
|
|
|
- </ion-col>
|
|
|
-
|
|
|
- <ion-col size="12">
|
|
|
- <ion-card>
|
|
|
- <ion-img src="https://pic1.zhimg.com/v2-430eceee402f2cdf87312f13d8238d3c_r.jpg"></ion-img>
|
|
|
- <ion-card-header>
|
|
|
- 收纳怎么做
|
|
|
- </ion-card-header>
|
|
|
- </ion-card>
|
|
|
- </ion-col>
|
|
|
- </ion-row>
|
|
|
-
|
|
|
- </ion-grid>
|
|
|
- </ion-card-content>
|
|
|
- </ion-card>
|
|
|
- </ion-col>
|
|
|
-
|
|
|
- </ion-row>
|
|
|
- </ion-grid>
|
|
|
-
|
|
|
- </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}} - {{item.likes}} Likes</p>
|
|
|
- <p>{{item.comments}} Comments</p>
|
|
|
- <p>{{item.tags}}</p>
|
|
|
- </ion-label>
|
|
|
- </ion-item>
|
|
|
- </ion-list>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <div *ngIf="selectedSegment === 'explore'">
|
|
|
+
|
|
|
+ <ion-card>
|
|
|
+ <ion-card-header>
|
|
|
+ 装修锦囊
|
|
|
+ </ion-card-header>
|
|
|
+ <ion-card-content>
|
|
|
+
|
|
|
+ <ion-grid>
|
|
|
+ <ion-row>
|
|
|
+
|
|
|
+ <ion-col>
|
|
|
+ <ion-card>
|
|
|
+ <ion-card-header>
|
|
|
+ <ion-label>
|
|
|
+ <ion-icon name="dice-outline"></ion-icon>
|
|
|
+ 空间设计
|
|
|
+ </ion-label>
|
|
|
+ </ion-card-header>
|
|
|
+ <ion-card-content>
|
|
|
+ <ion-grid>
|
|
|
+ <ion-row>
|
|
|
+
|
|
|
+ <ion-col size="12">
|
|
|
+ <ion-card>
|
|
|
+ <ion-img src="https://img.zcool.cn/community/01df555d65edcea8012187f4e41c2f.jpg@2o.jpg"></ion-img>
|
|
|
+ <ion-card-header>
|
|
|
+ 客厅怎么装
|
|
|
+ </ion-card-header>
|
|
|
+ </ion-card>
|
|
|
+ </ion-col>
|
|
|
+
|
|
|
+ <ion-col size="12">
|
|
|
+ <ion-card>
|
|
|
+ <ion-img src="https://bjcache.leju.com/zxjiaju/zx_pic/20141120/e6/2e/e2e6920b5532429d94ee61bd1630f9c3.jpg"></ion-img>
|
|
|
+ <ion-card-header>
|
|
|
+ 卧室怎么装
|
|
|
+ </ion-card-header>
|
|
|
+ </ion-card>
|
|
|
+ </ion-col>
|
|
|
+ </ion-row>
|
|
|
+
|
|
|
+ </ion-grid>
|
|
|
+
|
|
|
+ </ion-card-content>
|
|
|
+ </ion-card>
|
|
|
+ </ion-col>
|
|
|
+
|
|
|
+ <ion-col>
|
|
|
+ <ion-card>
|
|
|
+ <ion-card-header>
|
|
|
+ <ion-label>
|
|
|
+ <ion-icon name="send-outline"></ion-icon>
|
|
|
+ 装前必看
|
|
|
+ </ion-label>
|
|
|
+ </ion-card-header>
|
|
|
+ <ion-card-content>
|
|
|
+ <ion-grid>
|
|
|
+ <ion-row>
|
|
|
+
|
|
|
+ <ion-col size="12">
|
|
|
+ <ion-card>
|
|
|
+ <ion-img src="https://pic1.zhimg.com/v2-423645f54387fd0ea9be83687b58cc35_720w.jpg?source=172ae18b"></ion-img>
|
|
|
+ <ion-card-header>
|
|
|
+ 装修全流程
|
|
|
+ </ion-card-header>
|
|
|
+ </ion-card>
|
|
|
+ </ion-col>
|
|
|
+
|
|
|
+ <ion-col size="12">
|
|
|
+ <ion-card>
|
|
|
+ <ion-img src="https://img.zcool.cn/community/0115365dda0240a8012053c0a2c04c.jpg@1280w_1l_2o_100sh.jpg"></ion-img>
|
|
|
+ <ion-card-header>
|
|
|
+ 全屋定制
|
|
|
+ </ion-card-header>
|
|
|
+ </ion-card>
|
|
|
+ </ion-col>
|
|
|
+ </ion-row>
|
|
|
+
|
|
|
+ </ion-grid>
|
|
|
+ </ion-card-content>
|
|
|
+ </ion-card>
|
|
|
+ </ion-col>
|
|
|
+
|
|
|
+ <ion-col>
|
|
|
+ <ion-card>
|
|
|
+ <ion-card-header>
|
|
|
+ <ion-label>
|
|
|
+ <ion-icon name="desktop-outline"></ion-icon>
|
|
|
+ 家具家电
|
|
|
+ </ion-label>
|
|
|
+ </ion-card-header>
|
|
|
+ <ion-card-content>
|
|
|
+ <ion-grid>
|
|
|
+ <ion-row>
|
|
|
+
|
|
|
+ <ion-col size="12">
|
|
|
+ <ion-card>
|
|
|
+ <ion-img src="https://pic1.zhimg.com/v2-160f6e66e25daba826ecbef5ec4eef91_720w.jpg?source=172ae18b"></ion-img>
|
|
|
+ <ion-card-header>
|
|
|
+ 橱柜怎么选
|
|
|
+ </ion-card-header>
|
|
|
+ </ion-card>
|
|
|
+ </ion-col>
|
|
|
+
|
|
|
+ <ion-col size="12">
|
|
|
+ <ion-card>
|
|
|
+ <ion-img src="https://www.qszs.com/uploads/allimg/180322/6-1P322104631.jpg"></ion-img>
|
|
|
+ <ion-card-header>
|
|
|
+ 沙发怎么选
|
|
|
+ </ion-card-header>
|
|
|
+ </ion-card>
|
|
|
+ </ion-col>
|
|
|
+ </ion-row>
|
|
|
+
|
|
|
+ </ion-grid>
|
|
|
+ </ion-card-content>
|
|
|
+ </ion-card>
|
|
|
+ </ion-col>
|
|
|
+
|
|
|
+ <ion-col>
|
|
|
+ <ion-card>
|
|
|
+ <ion-card-header>
|
|
|
+ <ion-label>
|
|
|
+ <ion-icon name="bed-outline"></ion-icon>
|
|
|
+ 家居软装
|
|
|
+ </ion-label>
|
|
|
+ </ion-card-header>
|
|
|
+ <ion-card-content>
|
|
|
+ <ion-grid>
|
|
|
+ <ion-row>
|
|
|
+
|
|
|
+ <ion-col size="12">
|
|
|
+ <ion-card>
|
|
|
+ <ion-img src="http://www.wzy99.com/UploadFiles/FCK/2017-10/6364376207453191332635836.jpg"></ion-img>
|
|
|
+ <ion-card-header>
|
|
|
+ 窗帘怎么选
|
|
|
+ </ion-card-header>
|
|
|
+ </ion-card>
|
|
|
+ </ion-col>
|
|
|
+
|
|
|
+ <ion-col size="12">
|
|
|
+ <ion-card>
|
|
|
+ <ion-img src="https://pic1.zhimg.com/v2-430eceee402f2cdf87312f13d8238d3c_r.jpg"></ion-img>
|
|
|
+ <ion-card-header>
|
|
|
+ 收纳怎么做
|
|
|
+ </ion-card-header>
|
|
|
+ </ion-card>
|
|
|
+ </ion-col>
|
|
|
+ </ion-row>
|
|
|
+
|
|
|
+ </ion-grid>
|
|
|
+ </ion-card-content>
|
|
|
+ </ion-card>
|
|
|
+ </ion-col>
|
|
|
+
|
|
|
+ </ion-row>
|
|
|
+ </ion-grid>
|
|
|
+
|
|
|
+ </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}} - {{item.likes}} Likes</p>
|
|
|
+ <p>{{item.comments}} Comments</p>
|
|
|
+ <p>{{item.tags}}</p>
|
|
|
+ </ion-label>
|
|
|
+ </ion-item>
|
|
|
+ </ion-list>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div *ngIf="selectedSegment === 'video'">
|
|
|
+
|
|
|
+ <img src="assets\img\customer-avatar.jpg" alt="Example 0">
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div *ngIf="selectedSegment === 'case'">
|
|
|
+
|
|
|
+ <img src="example2.jpg" alt="Example 1">
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div *ngIf="selectedSegment === 'design'">
|
|
|
+
|
|
|
+ <img src="example3.jpg" alt="Example 2">
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div *ngIf="selectedSegment === 'decoration'">
|
|
|
+
|
|
|
+ <img src="example3.jpg" alt="Example 3">
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div *ngIf="selectedSegment === 'soft'">
|
|
|
+
|
|
|
+ <img src="example3.jpg" alt="Example 4">
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div *ngIf="selectedSegment === 'diagnosis'">
|
|
|
+
|
|
|
+ <img src="example3.jpg" alt="Example 5">
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div *ngIf="selectedSegment === 'customization'">
|
|
|
+
|
|
|
+ <img src="example3.jpg" alt="Example 6">
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div *ngIf="selectedSegment === 'encyclopedia'">
|
|
|
+
|
|
|
+ <img src="example3.jpg" alt="Example 7">
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div *ngIf="selectedSegment === 'style'">
|
|
|
+
|
|
|
+ <img src="example3.jpg" alt="Example 8">
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div *ngIf="selectedSegment === 'home'">
|
|
|
+
|
|
|
+ <img src="example3.jpg" alt="Example 9">
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div *ngIf="selectedSegment === 'budget'">
|
|
|
+
|
|
|
+ <img src=".jpg" alt="Example 10">
|
|
|
+ </div>
|
|
|
+
|
|
|
|
|
|
</ion-content>
|
|
|
|