This commit is contained in:
guoqing.zhu 2022-06-09 05:45:35 +08:00
parent f08e2de5d7
commit 717eedcdbb
4 changed files with 12 additions and 8 deletions

View File

@ -32118,8 +32118,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 502.52, "width": 664.69,
"height": 280 "height": 360
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@ -32128,8 +32128,8 @@
}, },
"_position": { "_position": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -182, "x": -149,
"y": -7.4, "y": -28,
"z": 0 "z": 0
}, },
"_scale": { "_scale": {
@ -32161,8 +32161,8 @@
}, },
"_enabled": true, "_enabled": true,
"_useOriginalSize": false, "_useOriginalSize": false,
"_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 7th update\n\n1. Daily mission open.\n\n2. Reward mission open.\n\n3. Update related interfaces.", "_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, "_fontSize": 40,
"_lineHeight": 40, "_lineHeight": 40,
"_enableWrapText": true, "_enableWrapText": true,

View File

@ -502,6 +502,10 @@ cc.Class({
}, },
calltask() { calltask() {
if (!window.hasWallet) {
uimanger.showUI(GuestLoginTip.prefabPath);
return;
}
NetManage.missionList(1, (data) => { NetManage.missionList(1, (data) => {
var nd = cc.instantiate(this.pb_task); var nd = cc.instantiate(this.pb_task);
nd.getComponent('UITask').initdata(data); nd.getComponent('UITask').initdata(data);

View File

@ -64,7 +64,7 @@ cc.Class({
} }
var items = cc.playerData.getDrop(cfg.reward); var items = cc.playerData.getDrop(cfg.reward);
this.lb_count.string = items[0].num; this.lb_count.string = '1';
this.jump = cfg.jump_value; this.jump = cfg.jump_value;
}, },

View File

@ -205,7 +205,7 @@ cc.Class({
let num = rewards[i].num; let num = rewards[i].num;
var tmp = this.allRewardNode.children[i]; var tmp = this.allRewardNode.children[i];
tmp.active = true; 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]); // Utils.setitem(this, id, tmp.children[1]);
} }
}, },