12345678910111213141516171819202122 |
- <nav type="back" title="运动记录" background-color="#4F9AF7" front-color="#ffffff"></nav>
- <block wx:for="{{actData}}" wx:key="index">
- <view class="li">
- <view class="left">
- <view class="top">
- <block wx:if="{{item.activity.objectId}}">
- <text>{{item.activity.title}}</text>
- </block>
- <block wx:else>
- <text>日常{{item.type=='run'?'跑步':'步行'}}</text>
- </block>
- <text>{{item.distance||0}} m</text>
- </view>
- <view class="under">
- <text>用时 {{item.sportDate||'未知'}}</text>
- <text>配速 {{item.matchSpeed||0}}</text>
- </view>
- </view>
- <view class="right">{{item.startDate||'未知'}}</view>
- </view>
- </block>
|