|
@@ -0,0 +1,75 @@
|
|
|
|
+
|
|
|
|
+<ion-content class="ion-padding">
|
|
|
|
+ <div class="search-container">
|
|
|
|
+ <ion-icon name="add-circle" slot="start" class="search-icon"></ion-icon>
|
|
|
|
+ <ion-searchbar placeholder="211减肥法" class="search-input"></ion-searchbar>
|
|
|
|
+ <ion-icon name="filter-circle" slot="end" class="search-icon"></ion-icon>
|
|
|
|
+ </div>
|
|
|
|
+ <ion-grid>
|
|
|
|
+ <ion-row>
|
|
|
|
+ <ion-col size="12">
|
|
|
|
+ <ion-card class="phyData">
|
|
|
|
+ <ion-card-content>
|
|
|
|
+ <ion-icon name="accessibility"></ion-icon>
|
|
|
|
+ <p>身高: <span>{{ phyData.height }}</span>cm</p>
|
|
|
|
+ <p>体重: <span>{{ phyData.weight }}</span>kg</p>
|
|
|
|
+ <p>BMI: <span>{{ phyData.BMI }}</span></p>
|
|
|
|
+ </ion-card-content>
|
|
|
|
+ </ion-card>
|
|
|
|
+ </ion-col>
|
|
|
|
+ </ion-row>
|
|
|
|
+ <ion-row>
|
|
|
|
+ <ion-col size="6">
|
|
|
|
+ <ion-card class="sportData">
|
|
|
|
+ <ion-card-content>
|
|
|
|
+ <h4>运动记录</h4>
|
|
|
|
+ <ion-icon name="walk"></ion-icon>
|
|
|
|
+ <p>步数: <span>{{ sportData.steps }}</span>步</p>
|
|
|
|
+ <p>消耗热量: <span>{{ sportData.deCalories }}</span>卡</p>
|
|
|
|
+ </ion-card-content>
|
|
|
|
+ </ion-card>
|
|
|
|
+ </ion-col>
|
|
|
|
+ <ion-col size="6">
|
|
|
|
+ <ion-card class="eatData">
|
|
|
|
+ <ion-card-content>
|
|
|
|
+ <h4>饮食记录</h4>
|
|
|
|
+ <ion-icon name="restaurant"></ion-icon>
|
|
|
|
+ <p>还可以吃:<span>{{eatData.neCalories}}</span>卡</p>
|
|
|
|
+ <p>摄入热量: <span>{{ eatData.inCalories }}</span>卡</p>
|
|
|
|
+ </ion-card-content>
|
|
|
|
+ </ion-card>
|
|
|
|
+ </ion-col>
|
|
|
|
+ </ion-row>
|
|
|
|
+ <ion-row>
|
|
|
|
+ <ion-col size="6">
|
|
|
|
+ <ion-card class="weightData">
|
|
|
|
+ <ion-card-content>
|
|
|
|
+ <h4>体重记录</h4>
|
|
|
|
+ <ion-icon name="barbell"></ion-icon>
|
|
|
|
+ <p>目标体重: <span>{{ weightData.targetWeight }}</span>kg</p>
|
|
|
|
+ <p>当前体重: <span>{{ weightData.currentWeight }}</span>kg</p>
|
|
|
|
+ </ion-card-content>
|
|
|
|
+ </ion-card>
|
|
|
|
+ </ion-col>
|
|
|
|
+ <ion-col size="6">
|
|
|
|
+ <ion-card class="sleepData">
|
|
|
|
+ <ion-card-content>
|
|
|
|
+ <h4>睡眠记录</h4>
|
|
|
|
+ <ion-icon name="moon"></ion-icon>
|
|
|
|
+ <p>睡眠时长: <span>{{ sleepData.sleepHours }}</span>小时</p>
|
|
|
|
+ </ion-card-content>
|
|
|
|
+ </ion-card>
|
|
|
|
+ </ion-col>
|
|
|
|
+ </ion-row>
|
|
|
|
+ <ion-row>
|
|
|
|
+ <ion-col size="12">
|
|
|
|
+ <ion-card class="searchPi">
|
|
|
|
+ <ion-card-content>
|
|
|
|
+ <ion-icon name="pizza"></ion-icon>
|
|
|
|
+ <h4>食物热量查询</h4>
|
|
|
|
+ </ion-card-content>
|
|
|
|
+ </ion-card>
|
|
|
|
+ </ion-col>
|
|
|
|
+ </ion-row>
|
|
|
|
+</ion-grid>
|
|
|
|
+</ion-content>
|