update
This commit is contained in:
parent
f08e2de5d7
commit
717eedcdbb
@ -32118,8 +32118,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 502.52,
|
||||
"height": 280
|
||||
"width": 664.69,
|
||||
"height": 360
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@ -32128,8 +32128,8 @@
|
||||
},
|
||||
"_position": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -182,
|
||||
"y": -7.4,
|
||||
"x": -149,
|
||||
"y": -28,
|
||||
"z": 0
|
||||
},
|
||||
"_scale": {
|
||||
@ -32161,8 +32161,8 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"_useOriginalSize": false,
|
||||
"_string": "The June 7th update\n\n1. Daily mission open.\n\n2. Reward mission open.\n\n3. Update related interfaces.",
|
||||
"_N$string": "The June 7th update\n\n1. Daily mission open.\n\n2. Reward mission open.\n\n3. Update related interfaces.",
|
||||
"_string": "The June 9th update\n\n1. Daily mission open.\n\n2. Reward mission open.\n\n3. Update related interfaces.\n\nThe maximum daily activeness is 10 .",
|
||||
"_N$string": "The June 9th update\n\n1. Daily mission open.\n\n2. Reward mission open.\n\n3. Update related interfaces.\n\nThe maximum daily activeness is 10 .",
|
||||
"_fontSize": 40,
|
||||
"_lineHeight": 40,
|
||||
"_enableWrapText": true,
|
||||
|
@ -502,6 +502,10 @@ cc.Class({
|
||||
},
|
||||
|
||||
calltask() {
|
||||
if (!window.hasWallet) {
|
||||
uimanger.showUI(GuestLoginTip.prefabPath);
|
||||
return;
|
||||
}
|
||||
NetManage.missionList(1, (data) => {
|
||||
var nd = cc.instantiate(this.pb_task);
|
||||
nd.getComponent('UITask').initdata(data);
|
||||
|
@ -64,7 +64,7 @@ cc.Class({
|
||||
}
|
||||
var items = cc.playerData.getDrop(cfg.reward);
|
||||
|
||||
this.lb_count.string = items[0].num;
|
||||
this.lb_count.string = '1';
|
||||
|
||||
this.jump = cfg.jump_value;
|
||||
},
|
||||
|
@ -205,7 +205,7 @@ cc.Class({
|
||||
let num = rewards[i].num;
|
||||
var tmp = this.allRewardNode.children[i];
|
||||
tmp.active = true;
|
||||
tmp.children[0].getComponent(cc.Label).string = `x${num}`;
|
||||
tmp.children[0].getComponent(cc.Label).string = `x${1}`;
|
||||
// Utils.setitem(this, id, tmp.children[1]);
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user