|
@@ -1,5 +1,28 @@
|
|
<!--nova-werun/pages/home/sport/sport-home/index.wxml-->
|
|
<!--nova-werun/pages/home/sport/sport-home/index.wxml-->
|
|
<nav type="back" title="运动" background-color="{{'#87ceeb'}}" front-color="{{'#ffffff'}}"></nav>
|
|
<nav type="back" title="运动" background-color="{{'#87ceeb'}}" front-color="{{'#ffffff'}}"></nav>
|
|
<view class="all" style="height: {{contentHeight}}rpx;">
|
|
<view class="all" style="height: {{contentHeight}}rpx;">
|
|
-
|
|
|
|
-</view>
|
|
|
|
|
|
+<!-- 走路 -->
|
|
|
|
+ <van-tabs tab-class='tab' active="{{ active }}" color='#87ceeb' title-active-color='#87ceeb' title-inactive-color='black'>
|
|
|
|
+ <van-tab title="步行">
|
|
|
|
+ <view class="textbox">
|
|
|
|
+ <view class="text">今日积累行走</view>
|
|
|
|
+ <view class="number">7公里 ></view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="mapbox">
|
|
|
|
+ <view></view>
|
|
|
|
+ <view class="button">GO</view>
|
|
|
|
+ </view>
|
|
|
|
+ </van-tab>
|
|
|
|
+ <!-- 跑步 -->
|
|
|
|
+ <van-tab title="跑步">
|
|
|
|
+ <view class="textbox">
|
|
|
|
+ <view class="text">今日积累跑步</view>
|
|
|
|
+ <view class="number">10公里 ></view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="mapbox">
|
|
|
|
+ <view></view>
|
|
|
|
+ <view class="button">GO</view>
|
|
|
|
+ </view>
|
|
|
|
+ </van-tab>
|
|
|
|
+ </van-tabs>
|
|
|
|
+</view>
|