|
@@ -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;
|
|
|
|