Commit 3399283f authored by 陈子煜's avatar 陈子煜

1

parent 158b4911
...@@ -261,7 +261,7 @@ ...@@ -261,7 +261,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "04I8movZRGh6it4HdZK1pz" "fileId": "f8qG5jf81JLqFqKQV/u9Wy"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -303,7 +303,7 @@ ...@@ -303,7 +303,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "54zfr8gEFFqIGzHDHuOZOv" "fileId": "35BdpEXzlE/YiBc/5/I93v"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
...@@ -313,7 +313,7 @@ ...@@ -313,7 +313,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "c2wbIoZDpPQ6wEtGhKXe/Y", "fileId": "034RYhHLRDDbCHhVIEA6PI",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
...@@ -394,7 +394,7 @@ ...@@ -394,7 +394,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "bb5sfZQpBOFrc3nMQn14Qk" "fileId": "31qpVzYZhDFI1eZI62v3bh"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -436,7 +436,7 @@ ...@@ -436,7 +436,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "9aG3DRxaRJ/4eox648dQMw" "fileId": "41QSxbS/lC94Pb3aN4o6GQ"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
...@@ -446,7 +446,7 @@ ...@@ -446,7 +446,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "c479oPyi5HzZRBRrOmLcir", "fileId": "3cwQJoHv5JjbnGQE7kpxOk",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
...@@ -527,7 +527,7 @@ ...@@ -527,7 +527,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "4ejjbbgQdLL7jUIuY06yOL" "fileId": "b7gw6u8W5Ee4dOpTt21uP7"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -569,7 +569,7 @@ ...@@ -569,7 +569,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "a5coQFfaVI1pWBSmPWokHj" "fileId": "a5s4sBVYxJd5cfMUH1odwL"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
...@@ -579,7 +579,7 @@ ...@@ -579,7 +579,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "e5NKXwjkdCXoIxPe8qkE5x", "fileId": "2ef1tCDZRNhaeI+StURv8/",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
...@@ -1110,7 +1110,7 @@ ...@@ -1110,7 +1110,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0, "y": -5.684341886080802e-14,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
...@@ -1180,8 +1180,8 @@ ...@@ -1180,8 +1180,8 @@
"_target": null, "_target": null,
"_left": 16.015625, "_left": 16.015625,
"_right": 515, "_right": 515,
"_top": 90, "_top": 90.00000000000006,
"_bottom": 90, "_bottom": 89.99999999999994,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_isAbsLeft": true, "_isAbsLeft": true,
...@@ -1193,7 +1193,7 @@ ...@@ -1193,7 +1193,7 @@
"_originalWidth": 800, "_originalWidth": 800,
"_originalHeight": 400, "_originalHeight": 400,
"_alignMode": 2, "_alignMode": 2,
"_lockFlags": 0, "_lockFlags": 16,
"_id": "" "_id": ""
}, },
{ {
......
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 200, "width": 200,
"height": 50.4 "height": 55
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -168,11 +168,11 @@ ...@@ -168,11 +168,11 @@
}, },
"_string": "1111", "_string": "1111",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 0,
"_actualFontSize": 28, "_actualFontSize": 28,
"_fontSize": 28, "_fontSize": 28,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 40, "_lineHeight": 26,
"_overflow": 1, "_overflow": 1,
"_enableWrapText": true, "_enableWrapText": true,
"_font": null, "_font": null,
......
...@@ -37,13 +37,18 @@ export default class GetPrize extends Panel { ...@@ -37,13 +37,18 @@ export default class GetPrize extends Panel {
async start() { async start() {
const {data = this.data} = this.data const {data = this.data} = this.data
console.log(data, 112233) console.log(data)
console.log(data.prizeName, 22222)
data.map((item, index) => { data.map((item, index) => {
const prize = instantiate(this.prizePrefab) const prize = instantiate(this.prizePrefab)
this.content.addChild(prize) this.content.addChild(prize)
const newY = this.content.position.y;
this.content.position
const prizeName = prize.getChildByName("Label") const prizeName = prize.getChildByName("Label")
prizeName.getComponent(Label).string = item.prizeName prizeName.getComponent(Label).string = item.prizeName
prize.getComponent(Sprite).spriteFrame = item.prizeImg prize.getComponent(Sprite).spriteFrame = item.prizeImg
......
...@@ -173,8 +173,6 @@ export class BlessingBagPage extends Scene { ...@@ -173,8 +173,6 @@ export class BlessingBagPage extends Scene {
prizeName.getComponent(Label).string = item.prizeName prizeName.getComponent(Label).string = item.prizeName
}) })
} }
}) })
...@@ -202,8 +200,6 @@ export class BlessingBagPage extends Scene { ...@@ -202,8 +200,6 @@ export class BlessingBagPage extends Scene {
Label_task_name.getComponent(Label).string = `${item.title}(${item.completedSize}/${item.intervalLimitSize})` Label_task_name.getComponent(Label).string = `${item.title}(${item.completedSize}/${item.intervalLimitSize})`
} }
const bag_num = EarnList.getChildByName("bag_num") const bag_num = EarnList.getChildByName("bag_num")
bag_num.getComponent(Label).string = item.subTitle bag_num.getComponent(Label).string = item.subTitle
......
...@@ -8,30 +8,6 @@ ...@@ -8,30 +8,6 @@
"prizeImg": "dolore laboris", "prizeImg": "dolore laboris",
"prizeName": "minim ut officia fugiat", "prizeName": "minim ut officia fugiat",
"sendCount": "quis fugiat dolor amet sint" "sendCount": "quis fugiat dolor amet sint"
},
{
"prizeId": "cillum",
"prizeImg": "est",
"prizeName": "commodo elit",
"sendCount": "labore nisi culpa ad"
},
{
"prizeId": "culpa cupidatat sed qui",
"prizeImg": "velit dolor minim aute Excepteur",
"prizeName": "cillum",
"sendCount": "pariatur aute tempor"
},
{
"prizeId": "fugiat veniam",
"prizeImg": "sed",
"prizeName": "et id veniam consectetur aliquip",
"sendCount": "dolore eu cillum velit laboris"
},
{
"prizeId": "aute ut deserunt eiusmod",
"prizeImg": "deserunt do dolor ea",
"prizeName": "sit esse sint do consequat",
"sendCount": "et exercitation sint dolore cillum"
} }
] ]
}, },
......
...@@ -4,7 +4,11 @@ ...@@ -4,7 +4,11 @@
"actEndTime": 1735638689560, "actEndTime": 1735638689560,
"actStartTime": 1733565086149, "actStartTime": 1733565086149,
"avatar": null, "avatar": null,
"bagPopVO": null, "bagPopVO": {
"bagNum": 42900739.4793739,
"bagImg": "sunt esse ea Duis",
"bagName": "sint"
},
"benefitDesc": "规则权益文案", "benefitDesc": "规则权益文案",
"continueSignDays": 1, "continueSignDays": 1,
"creditsNum": 1011347, "creditsNum": 1011347,
...@@ -33,7 +37,7 @@ ...@@ -33,7 +37,7 @@
} }
], ],
"rankPopList": [], "rankPopList": [],
"signPopFlag": false "signPopFlag": true
}, },
"message": null, "message": null,
"success": true, "success": true,
......
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