Commit 978a951e authored by Sky's avatar Sky

~

parent 99b03801
......@@ -31,6 +31,7 @@ buildscript {
}
dependencies {
classpath 'com.huawei.ohos:hap:2.4.2.5'
classpath 'com.huawei.ohos:decctest:1.0.0.6'
}
}
......
......@@ -4,11 +4,11 @@ ohos {
signingConfigs {
debug {
certpath file('D:/HuaweiWatchClient/com.company.fit.overseas_debug.cer')
profile file('D:/HuaweiWatchClient/FitSmartWatch.p7b')
profile file('D:\\HuaweiWatchClient\\FitSmartWatch.p7b')
signAlg 'SHA256withECDSA'
keyPassword '0000001B329C15F1A79D6DE1A35FC33EAC9D748ED2C9769503449638BCD341685E783C445341B6EF7252A0'
keyPassword '0000001B1FE8554C7D169E4724F444DEF49D7A753D21BEA551D7D813C5BC8ED6B2331D81DBC0BFCC8F958A'
keyAlias 'huawei_watch_overseas Release'
storePassword '0000001BED3DA1157AED6BA705ACB0E5A74DF33AB09917EF841F6048AA1D583907E32B547CE23E3D6415F8'
storePassword '0000001BA333A2B3A9BC5132955D63CFA583DE930CC069A78CE1F1008A0C8C6FFD6C79F3AC4915BA1FF6BD'
storeFile file('D:/HuaweiWatchClient/huawei_watch_overseas.p12')
}
release {
......
......@@ -16,7 +16,7 @@ export default {
data: {
page: "", //显示页面
acName: "", //动作名称
progress: "", //进度条
progress: "0", //进度条
acCalorie: "0", //卡路里
countdownT: "", // 倒计时
restHint: "", //休息文案
......@@ -87,6 +87,7 @@ export default {
}
}
},
onHide() {
this.stopFlg = true;
this.tabIndex = 1;
......@@ -107,6 +108,7 @@ export default {
})
}
},
onDestroy() {
//发送页面销毁时间
this.sendMsg({
......@@ -560,7 +562,7 @@ export default {
this.isFirst = "", // 是否最后一个动作 "0":真 "1":假
this.acName = "";
this.fitDuration = "00:00";
this.progress = "", //进度条
this.progress = "0", //进度条
this.countdownT = "", // 倒计时
sensor.unsubscribeHeartRate() //取消监听心率
},
......@@ -588,7 +590,7 @@ export default {
this.isFirst = "", // 是否最后一个动作 "0":真 "1":假
this.acName = "";
this.fitDuration = "00:00";
this.progress = "", //进度条
this.progress = "0", //进度条
this.countdownT = "", // 倒计时
this.newHeartRate = "--", //当前心率
sensor.unsubscribeHeartRate() //取消监听心率
......
## This file must *NOT* be checked into Version Control Systems,
## This file is automatically generated by DevEco Studio.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Fri Sep 25 14:02:18 CST 2020
hwsdk.dir=C\:\\Users\\Administrator\\AppData\\Local\\Huawei\\Sdk
#Wed May 12 17:22:21 CST 2021
nodejs.dir=C\:\\Program Files\\nodejs
npm.dir=D\:\\DevStudio_FA\\DevEco Studio 2.1.0.303\\tools\\nodejs
hwsdk.dir=C\:\\Users\\Administrator\\AppData\\Local\\Huawei\\Sdk
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