Commit 5d672834 by 穆启卓

赚取步数后仪表盘没更新

parent 125eb59d
......@@ -670,9 +670,9 @@ Page({
}
});
this.setData({
bubbleList: this.data.bubbleList,
currentSteps: this.data.currentSteps + earnStep
bubbleList: this.data.bubbleList
});
this.dynamicDrawCanvas(this.data.currentSteps + earnStep, this.data.targetSteps / 300);
} else {
wx.showToast({
title: '报名后将获取步数',
......
......@@ -33,12 +33,12 @@
<!-- 提交步数按钮 -->
<view class="get-info-btn" bindtap="clickStepData">{{unionAuth&&stepAuth?'点击提交今日步数':'点击获取微信步数'}}</view>
<!-- 步数上报记录 -->
<navigator url="/pages/commitRecord/commitRecord" hover-class="none">
<!-- <navigator url="/pages/commitRecord/commitRecord" hover-class="none">
<view class="commit-record">
<view>步数上报记录</view>
<image src="/images/common/right_arrow1.png"></image>
</view>
</navigator>
</navigator> -->
</view>
<view class="other-step-container">
<view class="other-step-title" wx:if="{{stepRecordList.length}}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment