|
|
@@ -1,82 +1,73 @@
|
|
|
-<ion-header class="header">
|
|
|
- <ion-toolbar color="primary">
|
|
|
- <ion-buttons slot="start">
|
|
|
- <ion-back-button defaultHref="/travels"></ion-back-button>
|
|
|
- </ion-buttons>
|
|
|
- <ion-title>{{travel.name}}</ion-title>
|
|
|
+<ion-header [translucent]="true">
|
|
|
+ <ion-toolbar>
|
|
|
+ <ion-title>
|
|
|
+ {{travel.name}}
|
|
|
+ </ion-title>
|
|
|
</ion-toolbar>
|
|
|
</ion-header>
|
|
|
|
|
|
-<ion-content class="content">
|
|
|
- <ion-grid class="travel-intro">
|
|
|
- <ion-row>
|
|
|
- <ion-col size="12">
|
|
|
- <ion-card class="travel-card">
|
|
|
- <ion-card-header>
|
|
|
- <ion-card-title>{{travel.name}}简介</ion-card-title>
|
|
|
- </ion-card-header>
|
|
|
- <ion-card-content>
|
|
|
- <p>这里是关于{{travel.name}}的简短介绍,{{travel.name}}是一项充满乐趣的活动,可以体验不同的文化,探索世界各地的美景,增进人们之间的关系。</p>
|
|
|
- <p>在{{travel.name}}中,孩子们可以开阔视野,学习新知识,同时也能在旅行中培养独立思考和解决问题的能力。家长可以与孩子一起创造美好的回忆,同时也能分享自己的经验和见解。</p>
|
|
|
- </ion-card-content>
|
|
|
- </ion-card>
|
|
|
- </ion-col>
|
|
|
- </ion-row>
|
|
|
- </ion-grid>
|
|
|
+<ion-content>
|
|
|
+ <div class="container">
|
|
|
+ <!-- 搜索框 -->
|
|
|
+ <div class="search-bar">
|
|
|
+ <ion-searchbar class="search-box" placeholder="搜索目的地、景点或活动"></ion-searchbar>
|
|
|
+ <div class="search-tags">
|
|
|
+ <span class="search-tag">热门</span>
|
|
|
+ <span class="search-tag">推荐</span>
|
|
|
+ <span class="search-tag highlight">巴厘岛</span>
|
|
|
+ <span class="search-tag">浪漫之旅</span>
|
|
|
+ <span class="search-tag">度假</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
|
|
|
- <ion-grid class="travel-features">
|
|
|
- <ion-row>
|
|
|
- <ion-col size="6">
|
|
|
- <ion-card class="feature-card">
|
|
|
- <ion-card-header>
|
|
|
- <ion-card-title>特色活动</ion-card-title>
|
|
|
- </ion-card-header>
|
|
|
- <ion-card-content>
|
|
|
- <p>探索亲子友好型景点,参与互动体验活动</p>
|
|
|
- <ion-button expand="block" fill="outline">查看详情</ion-button>
|
|
|
- </ion-card-content>
|
|
|
- </ion-card>
|
|
|
- </ion-col>
|
|
|
- <ion-col size="6">
|
|
|
- <ion-card class="feature-card">
|
|
|
- <ion-card-header>
|
|
|
- <ion-card-title>亲子住宿</ion-card-title>
|
|
|
- </ion-card-header>
|
|
|
- <ion-card-content>
|
|
|
- <p>精选适合家庭的住宿环境,提供舒适体验</p>
|
|
|
- <ion-button expand="block" fill="outline">查看详情</ion-button>
|
|
|
- </ion-card-content>
|
|
|
- </ion-card>
|
|
|
- </ion-col>
|
|
|
- </ion-row>
|
|
|
- </ion-grid>
|
|
|
+ <!-- 目的地卡片 -->
|
|
|
+ <ion-card class="destination-card">
|
|
|
+ <ion-img src="/assets/bld.jpg" class="destination-image"></ion-img>
|
|
|
+ <ion-card-header>
|
|
|
+ <ion-card-title class="destination-name">巴厘岛浪漫之旅</ion-card-title>
|
|
|
+ <ion-text color="medium">
|
|
|
+ <ion-icon name="location-outline" class="location-icon"></ion-icon>
|
|
|
+ <span>印度尼西亚 · 巴厘岛</span>
|
|
|
+ </ion-text>
|
|
|
+ </ion-card-header>
|
|
|
+
|
|
|
+ <ion-row class="rating">
|
|
|
+ <ion-col size="auto">
|
|
|
+ <ion-icon name="star" color="warning" *ngFor="let star of stars"></ion-icon>
|
|
|
+ </ion-col>
|
|
|
+ <ion-col>
|
|
|
+ <ion-text color="medium">4.5 (128条评价)</ion-text>
|
|
|
+ </ion-col>
|
|
|
+ </ion-row>
|
|
|
+ </ion-card>
|
|
|
|
|
|
- <ion-grid class="recommended-routes">
|
|
|
- <ion-row>
|
|
|
- <ion-col size="12">
|
|
|
- <ion-card class="routes-card">
|
|
|
- <ion-card-header>
|
|
|
- <ion-card-title>推荐行程</ion-card-title>
|
|
|
- </ion-card-header>
|
|
|
- <ion-card-content>
|
|
|
- <ion-list>
|
|
|
- <ion-item *ngFor="let route of recommendedRoutes">
|
|
|
- <ion-label>
|
|
|
- <h3>{{route.name}}</h3>
|
|
|
- <p>{{route.description}}</p>
|
|
|
- </ion-label>
|
|
|
- <ion-button fill="clear" (click)="viewRouteDetail(route)">查看</ion-button>
|
|
|
- </ion-item>
|
|
|
- </ion-list>
|
|
|
- </ion-card-content>
|
|
|
- </ion-card>
|
|
|
- </ion-col>
|
|
|
- </ion-row>
|
|
|
- </ion-grid>
|
|
|
-</ion-content>
|
|
|
+ <!-- 热门目的地标题 -->
|
|
|
+ <ion-label class="section-title">热门目的地</ion-label>
|
|
|
|
|
|
-<ion-footer>
|
|
|
- <ion-toolbar>
|
|
|
- <ion-title size="small">探索更多</ion-title>
|
|
|
- </ion-toolbar>
|
|
|
-</ion-footer>
|
|
|
+ <!-- 热门目的地网格 -->
|
|
|
+ <ion-grid class="mockup-grid">
|
|
|
+ <ion-row>
|
|
|
+ <ion-col size="6" *ngFor="let destination of destinations">
|
|
|
+ <ion-card class="destination-card">
|
|
|
+ <ion-img src="{{destination.image}}" class="destination-image"></ion-img>
|
|
|
+ <ion-card-header>
|
|
|
+ <ion-card-title class="destination-name">{{destination.name}}</ion-card-title>
|
|
|
+ <ion-text color="medium">
|
|
|
+ <ion-icon name="location-outline" class="location-icon"></ion-icon>
|
|
|
+ <span>{{destination.description}}</span>
|
|
|
+ </ion-text>
|
|
|
+ </ion-card-header>
|
|
|
+ <ion-row class="rating">
|
|
|
+ <ion-col size="auto">
|
|
|
+ <ion-icon name="star" color="warning" *ngFor="let star of destination.stars"></ion-icon>
|
|
|
+ </ion-col>
|
|
|
+ <ion-col>
|
|
|
+ <ion-text color="medium">{{destination.rating}} ({{destination.reviews}}条评价)</ion-text>
|
|
|
+ </ion-col>
|
|
|
+ </ion-row>
|
|
|
+ </ion-card>
|
|
|
+ </ion-col>
|
|
|
+ </ion-row>
|
|
|
+ </ion-grid>
|
|
|
+ </div>
|
|
|
+</ion-content>
|