diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue
index 743002c..a05db55 100644
--- a/pages/homepage/homepage.vue
+++ b/pages/homepage/homepage.vue
@@ -122,7 +122,7 @@
this.checkSignApplyinfo();
}
if (uni.getStorageSync('userinfo')) {
- // this.wxSportDecryptinfo();
+ this.wxSportDecryptinfo();
}
},
methods: {
diff --git a/pagesB/Behaviorpoints/Behaviorpoints.vue b/pagesB/Behaviorpoints/Behaviorpoints.vue
index 6f7129c..dd356cd 100644
--- a/pagesB/Behaviorpoints/Behaviorpoints.vue
+++ b/pagesB/Behaviorpoints/Behaviorpoints.vue
@@ -94,9 +94,9 @@
})
},
gowxSport() {
- // uni.navigateTo({
- // url: "/pagesC/wxSport/wxSport"
- // })
+ uni.navigateTo({
+ url: "/pagesC/wxSport/wxSport"
+ })
},
goexchange() {
uni.navigateTo({
diff --git a/pagesC/addHeartRate/addHeartRate.vue b/pagesC/addHeartRate/addHeartRate.vue
index fa40d2b..671f201 100644
--- a/pagesC/addHeartRate/addHeartRate.vue
+++ b/pagesC/addHeartRate/addHeartRate.vue
@@ -19,9 +19,9 @@
-
+
@@ -50,20 +50,20 @@
};
},
onLoad(options) {
- bound(uni.getStorageSync('userinfo').cardNo).then(res => {
- if (res.code == 200) {
- res.data.forEach(e => {
- if (e.deviceType == 1) {
- if (uni.getStorageSync('region') == 1) {
- this.SOCKETURL = dzsocketurl + `${e.sn}`
- } else if (uni.getStorageSync('region') == 2) {
- this.SOCKETURL = dysocketurl + `${e.sn}`
- }
- this.scoket();
- }
- })
- }
- })
+ // bound(uni.getStorageSync('userinfo').cardNo).then(res => {
+ // if (res.code == 200) {
+ // res.data.forEach(e => {
+ // if (e.deviceType == 1) {
+ // if (uni.getStorageSync('region') == 1) {
+ // this.SOCKETURL = dzsocketurl + `${e.sn}`
+ // } else if (uni.getStorageSync('region') == 2) {
+ // this.SOCKETURL = dysocketurl + `${e.sn}`
+ // }
+ // this.scoket();
+ // }
+ // })
+ // }
+ // })
},
methods: {
formatDate(timestamp) {
diff --git a/pagesC/addPressure/addPressure.vue b/pagesC/addPressure/addPressure.vue
index 18d1516..3e13f5e 100644
--- a/pagesC/addPressure/addPressure.vue
+++ b/pagesC/addPressure/addPressure.vue
@@ -37,9 +37,9 @@
-
+
@@ -70,20 +70,20 @@
};
},
onLoad(options) {
- bound(uni.getStorageSync('userinfo').cardNo).then(res => {
- if (res.code == 200) {
- res.data.forEach(e => {
- if (e.deviceType == 1) {
- if (uni.getStorageSync('region') == 1) {
- this.SOCKETURL = dzsocketurl + `${e.sn}`
- } else if (uni.getStorageSync('region') == 2) {
- this.SOCKETURL = dysocketurl + `${e.sn}`
- }
- this.scoket();
- }
- })
- }
- })
+ // bound(uni.getStorageSync('userinfo').cardNo).then(res => {
+ // if (res.code == 200) {
+ // res.data.forEach(e => {
+ // if (e.deviceType == 1) {
+ // if (uni.getStorageSync('region') == 1) {
+ // this.SOCKETURL = dzsocketurl + `${e.sn}`
+ // } else if (uni.getStorageSync('region') == 2) {
+ // this.SOCKETURL = dysocketurl + `${e.sn}`
+ // }
+ // this.scoket();
+ // }
+ // })
+ // }
+ // })
},
methods: {
formatDate(timestamp) {
diff --git a/pagesC/addsugar/addsugar.vue b/pagesC/addsugar/addsugar.vue
index e2d5a19..d6cc9b0 100644
--- a/pagesC/addsugar/addsugar.vue
+++ b/pagesC/addsugar/addsugar.vue
@@ -32,11 +32,11 @@
睡前2小时
-
+
@@ -66,20 +66,20 @@
};
},
onLoad(options) {
- bound(uni.getStorageSync('userinfo').cardNo).then(res => {
- if (res.code == 200) {
- res.data.forEach(e => {
- if (e.deviceType == 2) {
- if (uni.getStorageSync('region') == 1) {
- this.SOCKETURL = dzsocketurl + `${e.sn}`
- } else if (uni.getStorageSync('region') == 2) {
- this.SOCKETURL = dysocketurl + `${e.sn}`
- }
- this.scoket();
- }
- })
- }
- })
+ // bound(uni.getStorageSync('userinfo').cardNo).then(res => {
+ // if (res.code == 200) {
+ // res.data.forEach(e => {
+ // if (e.deviceType == 2) {
+ // if (uni.getStorageSync('region') == 1) {
+ // this.SOCKETURL = dzsocketurl + `${e.sn}`
+ // } else if (uni.getStorageSync('region') == 2) {
+ // this.SOCKETURL = dysocketurl + `${e.sn}`
+ // }
+ // this.scoket();
+ // }
+ // })
+ // }
+ // })
},
methods: {
timeconfirm(time) {