Commit 734492a0 authored by Tt's avatar Tt

控件ui更换完毕

parent 44a8fae4
This diff is collapsed.
...@@ -71,11 +71,13 @@ export default class videoCtrl extends cc.Component { ...@@ -71,11 +71,13 @@ export default class videoCtrl extends cc.Component {
setCanPlay() { setCanPlay() {
this.btn_vido.getChildByName("stop").active = false; this.btn_vido.getChildByName("stop").active = false;
this.btn_vido.getChildByName("play").active = true;
this.vidoStateIcon.getChildByName("stop").active = false; this.vidoStateIcon.getChildByName("stop").active = false;
} }
setCanStop() { setCanStop() {
this.btn_vido.getChildByName("stop").active = true this.btn_vido.getChildByName("stop").active = true
this.btn_vido.getChildByName("play").active = false;
this.vidoStateIcon.getChildByName("stop").active = true; this.vidoStateIcon.getChildByName("stop").active = true;
} }
onClickBtn() { onClickBtn() {
......
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