Commit 978a951e authored by Sky's avatar Sky

~

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