Commit 2266d8b9 authored by huoshizhe's avatar huoshizhe

feat: 播放全部增加暂停功能

parent be34b0ce
This diff is collapsed.
......@@ -139,14 +139,25 @@ cc.Class({
onClickHide() {
this.sprite.node.active = false
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() {
this.quan.active = false
// this.quan.active = false
// this.btnX.active = false
this.icon_stop.active = false
this.stopAudio()
// this.icon_stop.active = false
this.hand.active = false
this.quan.getComponent(cc.Sprite).spriteFrame = this.quan_huang;
},
/** 播放音乐 */
......
......@@ -5,6 +5,6 @@
},
"android": {
"sceneName": "Book_Read",
"version": "3a34d"
"version": "19dbd"
}
}
\ No newline at end of file
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