1 line
5.0 KiB
Plaintext
1 line
5.0 KiB
Plaintext
<view class="content skipping data-v-c024c734"><view class="skiptop data-v-c024c734"><view data-event-opts="{{[['tap',[['handleisSdevice']]]]}}" class="status data-v-c024c734" bindtap="__e"><text class="data-v-c024c734">{{islink==0?"正在连接":islink==1?'连接成功':'重新连接'}}</text><block wx:if="{{islink!=1}}"><image class="{{['data-v-c024c734',islink==-1?'':'icon_link']}}" src="../../static/zhuan.png"></image></block><block wx:if="{{islink==1}}"><image src="../../static/dui.png" class="data-v-c024c734"></image></block></view><view class="item data-v-c024c734"><view class="item-ite data-v-c024c734">今日个数<text class="data-v-c024c734">{{info?info.today_jump_num:'--'}}</text></view><view class="item-ite data-v-c024c734">今日时长<text class="data-v-c024c734">{{info?info.today_jump_time:'--'}}</text></view><view class="item-ite data-v-c024c734">卡路里/kcal<text class="data-v-c024c734">{{info?info.today_jump_kcal:'--'}}</text></view></view></view><view class="tabbar data-v-c024c734"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="{{['data-v-c024c734',active==1?'active':'']}}" bindtap="__e">自由训练</view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="{{['data-v-c024c734',active==2?'active':'']}}" bindtap="__e">定时训练</view><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="{{['data-v-c024c734',active==3?'active':'']}}" bindtap="__e">定数训练</view></view><block wx:if="{{active==1}}"><view class="box1 box data-v-c024c734"><view class="item data-v-c024c734"><text class="item-set item-set0 data-v-c024c734">自由</text><text class="tips data-v-c024c734">无限制</text></view><view data-event-opts="{{[['tap',[['handleStart',[1]]]]]}}" class="{{['data-v-c024c734',isConnection?'start':'start Nstart']}}" bindtap="__e">开始</view></view></block><block wx:if="{{active==2}}"><view class="box1 box data-v-c024c734"><view class="item data-v-c024c734"><view class="item-set data-v-c024c734"><text data-event-opts="{{[['tap',[['handleTimeEdit',['减']]]]]}}" bindtap="__e" class="data-v-c024c734">-</text><text class="data-v-c024c734">{{time_m+":"+time_s}}</text><text data-event-opts="{{[['tap',[['handleTimeEdit',['加']]]]]}}" bindtap="__e" class="data-v-c024c734">+</text></view><view class="tips data-v-c024c734"><picker mode="multiSelector" range="{{timeList}}" value="{{timesTndex}}" data-event-opts="{{[['change',[['bindTimeChange',['$event']]]]]}}" bindchange="__e" class="data-v-c024c734"><view class="data-v-c024c734">调整目标</view></picker></view></view><view data-event-opts="{{[['tap',[['handleStart',[2]]]]]}}" class="{{['data-v-c024c734',isConnection?'start':'start Nstart']}}" bindtap="__e">开始</view></view></block><block wx:if="{{active==3}}"><view class="box1 box data-v-c024c734"><view class="item data-v-c024c734"><view class="item-set data-v-c024c734"><text data-event-opts="{{[['tap',[['handleWeightEdit',['减']]]]]}}" bindtap="__e" class="data-v-c024c734">-</text><block wx:if="{{!disabled}}"><text class="data-v-c024c734">{{weight>50?weight:50}}</text></block><block wx:else><input type="number" focus="true" data-event-opts="{{[['blur',[['e3',['$event']]]],['input',[['__set_model',['','weight','$event',[]]]]]]}}" value="{{weight}}" bindblur="__e" bindinput="__e" class="data-v-c024c734"/></block><text data-event-opts="{{[['tap',[['handleWeightEdit',['加']]]]]}}" bindtap="__e" class="data-v-c024c734">+</text></view><text data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" class="tips data-v-c024c734" bindtap="__e">调整目标</text></view><view data-event-opts="{{[['tap',[['handleStart',[3]]]]]}}" class="{{['data-v-c024c734',isConnection?'start':'start Nstart']}}" bindtap="__e">开始</view></view></block><view class="gridList data-v-c024c734"><view class="data data-v-c024c734"><view data-event-opts="{{[['tap',[['navTo',['/pages/skip/charts']]]]]}}" class="item data-v-c024c734" bindtap="__e"><view class="image data-v-c024c734"><image src="../../static/charts.png" class="data-v-c024c734"></image></view><view class="name data-v-c024c734">运动曲线</view></view><view data-event-opts="{{[['tap',[['navTo',['/pages/history/history?acd_id='+acd_id]]]]]}}" class="item data-v-c024c734" bindtap="__e"><view class="image data-v-c024c734"><image src="../../static/add.png" class="data-v-c024c734"></image></view><view class="name data-v-c024c734">历史记录</view></view><view data-event-opts="{{[['tap',[['navTo',['/pages/compk/contrast?acd_id='+acd_id]]]]]}}" class="item data-v-c024c734" bindtap="__e"><view class="image data-v-c024c734"><image src="../../static/pk.png" class="data-v-c024c734"></image></view><view class="name data-v-c024c734">数据对比</view></view><view data-event-opts="{{[['tap',[['e5',['$event']]]]]}}" class="item data-v-c024c734" bindtap="__e"><view class="image data-v-c024c734"><image src="../../static/history.png" class="data-v-c024c734"></image></view><view class="name data-v-c024c734">添加记录</view></view></view></view><record vue-id="5dc67160-1" rtype="{{acd_id}}" class="data-v-c024c734" bind:__l="__l"></record></view> |