|
@@ -1,3 +1,4 @@
|
|
|
+<!--页头-->
|
|
|
<ion-header collapse="fade" mode="ios">
|
|
|
<ion-toolbar>
|
|
|
<ion-button slot="start">南昌
|
|
@@ -6,8 +7,9 @@
|
|
|
<ion-searchbar></ion-searchbar>
|
|
|
</ion-toolbar>
|
|
|
</ion-header>
|
|
|
-
|
|
|
+<!--内容-->
|
|
|
<ion-content [fullscreen]="true">
|
|
|
+ <!--主页宣传轮播图-->
|
|
|
<div id="banner">
|
|
|
<swiper-container autoplay-delay="2000" loop="true">
|
|
|
<swiper-slide><ion-img
|
|
@@ -16,50 +18,60 @@
|
|
|
src="https://s1.imagehub.cc/images/2024/12/23/0e8a11de31ce876d4491003574b43ce3.jpeg" /></swiper-slide>
|
|
|
</swiper-container>
|
|
|
</div>
|
|
|
-
|
|
|
+ <!--主页的卡片,包含四个按钮-->
|
|
|
<ion-card>
|
|
|
- <div class="main-button">
|
|
|
- <ion-img src="https://s1.imagehub.cc/images/2024/12/23/e3a6e359ba4ad7745017c4b116cbfed4.png" />
|
|
|
+ <div style="width: 100%;display:flex;margin: 0 0;">
|
|
|
+ <div class="main-button" (click)="goGenerateOption()">
|
|
|
+ <ion-img src="https://s1.imagehub.cc/images/2024/12/23/e3a6e359ba4ad7745017c4b116cbfed4.png" />
|
|
|
<p>个性搭配</p>
|
|
|
- </div>
|
|
|
- <div class="main-button">
|
|
|
- <ion-img src="https://s1.imagehub.cc/images/2024/12/23/6c4cba617f748bd770195fa1d02ac473.png" />
|
|
|
+ </div>
|
|
|
+ <div class="main-button">
|
|
|
+ <ion-img src="https://s1.imagehub.cc/images/2024/12/23/6c4cba617f748bd770195fa1d02ac473.png" />
|
|
|
<p>趋势分析</p>
|
|
|
- </div>
|
|
|
- <div class="main-button">
|
|
|
- <ion-img src="https://s1.imagehub.cc/images/2024/12/23/4b30d81d915b24113540c7585809c689.png" />
|
|
|
+ </div>
|
|
|
+ <div class="main-button">
|
|
|
+ <ion-img src="https://s1.imagehub.cc/images/2024/12/23/4b30d81d915b24113540c7585809c689.png" />
|
|
|
<p>搭配贴士</p>
|
|
|
- </div>
|
|
|
- <div class="main-button">
|
|
|
- <ion-img src="https://s1.imagehub.cc/images/2024/12/24/027b63214e367d15647408d3c9322177.png" />
|
|
|
+ </div>
|
|
|
+ <div class="main-button">
|
|
|
+ <ion-img src="https://s1.imagehub.cc/images/2024/12/24/027b63214e367d15647408d3c9322177.png" />
|
|
|
<p>绿色时尚</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!--号外通知模块-->
|
|
|
+ <div
|
|
|
+ style="width: 90%;margin:20px 5%;display: flex;justify-content: space-between;align-items: center;height:16px;">
|
|
|
+ <div style="display: flex;align-items: center;margin: 0;">
|
|
|
+ <ion-img class="remind"
|
|
|
+ src="https://s1.imagehub.cc/images/2024/12/24/8ebe6c9d6a62a1f21182a7ce75ee49b9.png" />
|
|
|
+ <ion-text>我们的APP上线咯!</ion-text>
|
|
|
+ </div>
|
|
|
+ <ion-icon name="chevron-forward-outline"></ion-icon>
|
|
|
</div>
|
|
|
</ion-card>
|
|
|
+ <!--人气推荐段设置-->
|
|
|
+ <div style="display: flex;justify-content: space-between;width: 90%;margin:0 5%;">
|
|
|
+ <ion-segment [swipe-gesture]="false">
|
|
|
+ <ion-segment-button value="first" content-id="first">
|
|
|
+ <ion-label>人气热度</ion-label>
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="second" content-id="second">
|
|
|
+ <ion-label>最爱</ion-label>
|
|
|
+ </ion-segment-button>
|
|
|
+ </ion-segment>
|
|
|
|
|
|
-
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- v
|
|
|
- v
|
|
|
- v
|
|
|
- v
|
|
|
- vv
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3>数据库渲染测试</h3>
|
|
|
- <h3 *ngFor="let user of userInfoList">{{ user.get('name')}}</h3>
|
|
|
+ <ion-button class="all" shape="round">
|
|
|
+ <ion-text>全部</ion-text>
|
|
|
+ <ion-icon slot="end" name="chevron-forward-outline"></ion-icon>
|
|
|
+ </ion-button>
|
|
|
+ </div>
|
|
|
+ <!--段展示-->
|
|
|
+ <ion-segment-view>
|
|
|
+ <ion-segment-content id="first">
|
|
|
+ <ion-content [scrollX]="true" class="segment-content">
|
|
|
+ First1231231231321231231231312312112312313123132123132132132
|
|
|
+ </ion-content>
|
|
|
+ </ion-segment-content>
|
|
|
+ <ion-segment-content id="second">Second</ion-segment-content>
|
|
|
+ </ion-segment-view>
|
|
|
</ion-content>
|