Commit 0da9652f authored by 杨一航's avatar 杨一航

feat:1.3

parent 33decd26
...@@ -51,12 +51,15 @@ export default class TxtCell extends cc.Component { ...@@ -51,12 +51,15 @@ export default class TxtCell extends cc.Component {
node.addComponent(cc.Sprite); node.addComponent(cc.Sprite);
node.getComponent(cc.Sprite).spriteFrame = this.rightSp; node.getComponent(cc.Sprite).spriteFrame = this.rightSp;
node.parent = parent; node.parent = parent;
this.lb_info.node.color = cc.Color.WHITE;
} else { } else {
this.bg.color = this.wrongColr.clone(); this.bg.color = this.wrongColr.clone();
let node = new cc.Node(); let node = new cc.Node();
node.addComponent(cc.Sprite); node.addComponent(cc.Sprite);
node.getComponent(cc.Sprite).spriteFrame = this.wrongSp; node.getComponent(cc.Sprite).spriteFrame = this.wrongSp;
node.parent = parent; node.parent = parent;
this.lb_info.node.color = cc.Color.WHITE;
} }
if (handle) { if (handle) {
...@@ -71,6 +74,7 @@ export default class TxtCell extends cc.Component { ...@@ -71,6 +74,7 @@ export default class TxtCell extends cc.Component {
this.isRight = isRight; this.isRight = isRight;
this.clickCall = clickCall; this.clickCall = clickCall;
this.index = index; this.index = index;
this.lb_info.node.color = cc.Color.WHITE.fromHEX("#35C4E3");
} }
......
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