邹能昇 3 ヶ月 前
コミット
30badb2431
1 ファイル変更4 行追加0 行削除
  1. 4 0
      nova-werun/pages/home/statistics/index.js

+ 4 - 0
nova-werun/pages/home/statistics/index.js

@@ -172,11 +172,13 @@ Page({
     onShareAppMessage: function () {
 
     },
+    //底部tab栏修改
     onChange(event) {
         this.setData({
             active: event.detail
         });
     },
+    //修改30天或者7天数据
     changeday() {
         if (this.data.day == '7') {
             this.setData({
@@ -188,6 +190,7 @@ Page({
             })
         }
     },
+    //获取目标步数
     async gettarget() {
         const currentUser = Parse.User.current();
         let userquery = new Parse.Query('_User');
@@ -293,6 +296,7 @@ Page({
 
         console.log(allList, this.data.totalsportDate);
     },
+    //修改光圈
     getBackgroundColor() {
         const steps = this.data.sharList[0].steps || 0;