|
|
@@ -50,7 +50,7 @@ export default class SignIconItem extends cc.Component {
|
|
|
this.node.active = false;
|
|
|
return
|
|
|
}
|
|
|
- this.lbl_day.string = '第' + this.icon_data.loginDay + '天';
|
|
|
+ this.lbl_day.string = '第' + this.icon_data.id + '天';
|
|
|
if (this.icon_data.rewardType == RewardType.rmb || this.icon_data.rewardType == RewardType.pigRmb) {
|
|
|
this.node_cash.active = true;
|
|
|
this.node_redbag.active = false;
|
|
|
@@ -62,7 +62,7 @@ export default class SignIconItem extends cc.Component {
|
|
|
}
|
|
|
|
|
|
// 状态样式
|
|
|
- let state = gData.sign.getStateByDay(this.icon_data.loginDay);
|
|
|
+ let state = gData.sign.getStateByDay(this.icon_data.id);
|
|
|
if (state == RewardState.none) {
|
|
|
this.node_mask.active = true;
|
|
|
this.node_gou.active = true;
|