Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
huaweiWatchClient
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sky
huaweiWatchClient
Commits
978a951e
Commit
978a951e
authored
Jun 11, 2021
by
Sky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~
parent
99b03801
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
9 deletions
+16
-9
FitSmartWatch.p7b
FitSmartWatch.p7b
+0
-0
build.gradle
build.gradle
+1
-0
build.gradle
entry/build.gradle
+3
-3
index.js
entry/src/main/js/default/pages/index/index.js
+5
-3
local.properties
local.properties
+7
-3
No files found.
FitSmartWatch.p7b
0 → 100644
View file @
978a951e
File added
build.gradle
View file @
978a951e
...
...
@@ -31,6 +31,7 @@ buildscript {
}
dependencies
{
classpath
'com.huawei.ohos:hap:2.4.2.5'
classpath
'com.huawei.ohos:decctest:1.0.0.6'
}
}
...
...
entry/build.gradle
View file @
978a951e
...
...
@@ -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
'0000001B
329C15F1A79D6DE1A35FC33EAC9D748ED2C9769503449638BCD341685E783C445341B6EF7252A0
'
keyPassword
'0000001B
1FE8554C7D169E4724F444DEF49D7A753D21BEA551D7D813C5BC8ED6B2331D81DBC0BFCC8F958A
'
keyAlias
'huawei_watch_overseas Release'
storePassword
'0000001B
ED3DA1157AED6BA705ACB0E5A74DF33AB09917EF841F6048AA1D583907E32B547CE23E3D6415F8
'
storePassword
'0000001B
A333A2B3A9BC5132955D63CFA583DE930CC069A78CE1F1008A0C8C6FFD6C79F3AC4915BA1FF6BD
'
storeFile
file
(
'D:/HuaweiWatchClient/huawei_watch_overseas.p12'
)
}
release
{
...
...
entry/src/main/js/default/pages/index/index.js
View file @
978a951e
...
...
@@ -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
()
//取消监听心率
...
...
local.properties
View file @
978a951e
## 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment