Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
Book_Read
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
Book_Read
Commits
2266d8b9
Commit
2266d8b9
authored
Nov 11, 2021
by
huoshizhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 播放全部增加暂停功能
parent
be34b0ce
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
67 additions
and
9 deletions
+67
-9
Book_Read.js
play/assets/Book_Read/scene/Book_Read.js
+52
-5
hitItem.js
play/assets/Book_Read/scene/hitItem.js
+14
-3
config.json
publish/publish/config.json
+1
-1
No files found.
play/assets/Book_Read/scene/Book_Read.js
View file @
2266d8b9
This diff is collapsed.
Click to expand it.
play/assets/Book_Read/scene/hitItem.js
View file @
2266d8b9
...
@@ -139,14 +139,25 @@ cc.Class({
...
@@ -139,14 +139,25 @@ cc.Class({
onClickHide
()
{
onClickHide
()
{
this
.
sprite
.
node
.
active
=
false
this
.
sprite
.
node
.
active
=
false
this
.
hideBox
()
this
.
hideBox
()
this
.
stopAudio
()
},
/**隐藏边框 */
showBox
()
{
this
.
quan
.
active
=
true
this
.
hand
.
active
=
false
// this.btnX.active = true
// this.icon_stop.active = true
this
.
quan
.
getComponent
(
cc
.
Sprite
).
spriteFrame
=
this
.
quan_lan
;
},
},
/**隐藏边框 */
/**隐藏边框 */
hideBox
()
{
hideBox
()
{
this
.
quan
.
active
=
false
//
this.quan.active = false
// this.btnX.active = false
// this.btnX.active = false
this
.
icon_stop
.
active
=
false
// this.icon_stop.active = false
this
.
stopAudio
()
this
.
hand
.
active
=
false
this
.
quan
.
getComponent
(
cc
.
Sprite
).
spriteFrame
=
this
.
quan_huang
;
},
},
/** 播放音乐 */
/** 播放音乐 */
...
...
publish/publish/config.json
View file @
2266d8b9
...
@@ -5,6 +5,6 @@
...
@@ -5,6 +5,6 @@
},
},
"android"
:
{
"android"
:
{
"sceneName"
:
"Book_Read"
,
"sceneName"
:
"Book_Read"
,
"version"
:
"
3a34
d"
"version"
:
"
19db
d"
}
}
}
}
\ No newline at end of file
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