123456789101112131415161718192021222324252627282930313233343536 |
- <!--nova-werun/pages/home/sport/sport-home/index.wxml-->
- <nav type="back" title="运动" background-color="{{'#4F9AF7'}}" front-color="{{'#333333'}}"></nav>
- <view class="all" style="height: {{contentHeight}}rpx;">
- <view>
- <view class="textbox">
- <view class="text">今日积累运动</view>
- <view class="number" data-url="../../statistics/index" bindtap="gourl">{{distance}}米 ></view>
- </view>
- <view class="mapbox">
- <view class="map">
- <map class="map" enable-zoom="ture" enable-scroll="ture" id="map" longitude="{{longitude}}" latitude="{{latitude}}" scale="18" markers="{{markers}}"></map>
- </view>
- <!-- <view class="button" data-url="/nova-werun/pages/home/sport/sport-start/index?type={{type}}" bindtap="go">GO</view> -->
- <view class="button" data-url="/nova-werun/pages/home/sport/sport-start/index?type={{type}}" bindtap="showPopup">GO</view>
- </view>
- </view>
- </view>
- <van-popup round show="{{show}}" >
- <view class="model">
- <view class="content">
- <view class="close">
- <view class="h2">选择运动类型</view>
- <van-icon name="cross" size="50rpx" bind:tap="onClose" />
- </view>
- <view class="btnBox">
- <view class="btn" data-url="/nova-werun/pages/home/sport/sport-start/index?type=walk" bind:tap="gourl">
- 步行
- </view>
- <view class="btn" data-url="/nova-werun/pages/home/sport/sport-start/index?type=run" bind:tap="gourl">
- 跑步
- </view>
- </view>
- </view>
- </view>
- </van-popup>
|