|
|
@@ -24,7 +24,7 @@ export default class ProductReward extends cc.Component {
|
|
|
mk.guide.open(4);
|
|
|
}, 0.5)
|
|
|
|
|
|
- this.lbl_times.string = `生产次数x${gData.gameData.configs.ServerConfig.ProductionAd}`;
|
|
|
+ this.lbl_times.string = `生产次数+${gData.gameData.configs.ServerConfig.ProductionAd}`;
|
|
|
|
|
|
gData.gameData.init_productTask = false;
|
|
|
if (gData.gameData.playerProp.userFarmTaskInfo) {
|
|
|
@@ -34,12 +34,16 @@ export default class ProductReward extends cc.Component {
|
|
|
this.lbl_taskTimes.string = (count - com).toString();
|
|
|
this.node_Uncomplete.active = true;
|
|
|
this.node_complete.active = false;
|
|
|
+ this.node_Uncomplete.scale = 2;
|
|
|
+ cc.tween(this.node_Uncomplete).to(0.3, {scale: 1}).start();
|
|
|
} else {
|
|
|
this.node_Uncomplete.active = false;
|
|
|
this.node_complete.active = true;
|
|
|
}
|
|
|
this.lbl_progress.string = `${com}/${count}`;
|
|
|
- this.sp_taskProgress.fillRange = com / count;
|
|
|
+ let per = com / count;
|
|
|
+ cc.tween(this.sp_taskProgress).to(0.2, {fillRange: per}).start();
|
|
|
+ //this.sp_taskProgress.fillRange =
|
|
|
}
|
|
|
}
|
|
|
|