Commit 2ffb7e9d authored by 李帅's avatar 李帅

+1

parent 672eebd3
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: ls * @Author: ls
* @Date: 2022-04-14 19:58:47 * @Date: 2022-04-14 19:58:47
* @LastEditors: ls * @LastEditors: ls
* @LastEditTime: 2022-04-18 20:49:19 * @LastEditTime: 2022-04-21 19:11:18
* @Description: file content * @Description: file content
* @FilePath: \ls_activity_before\assets\ls_activity_before\scene\ls_activity_before.ts * @FilePath: \ls_activity_before\assets\ls_activity_before\scene\ls_activity_before.ts
*/ */
...@@ -52,11 +52,15 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -52,11 +52,15 @@ export default class SceneComponent extends MyCocosSceneComponent {
} }
if (this.data.gameInfo[index].icon > 0) { if (this.data.gameInfo[index].icon > 0) {
if (cc.find('done', element)) {
cc.find('done', element).active = true; cc.find('done', element).active = true;
}
} else if (this.data.gameInfo[index].icon < 0) { } else if (this.data.gameInfo[index].icon < 0) {
if (cc.find('done', element)) {
cc.find('done', element).active = false; cc.find('done', element).active = false;
} }
} }
}
if (this.data.audio && this.data.audio !== '') { if (this.data.audio && this.data.audio !== '') {
let girl_ske = cc.find('Canvas/girl_ske').getComponent(dragonBones.ArmatureDisplay); let girl_ske = cc.find('Canvas/girl_ske').getComponent(dragonBones.ArmatureDisplay);
......
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