Commit bfbf2cfd authored by haiyoucuv's avatar haiyoucuv

Merge remote-tracking branch 'origin/master'

parents e25b3082 b2a35c2c
This diff is collapsed.
...@@ -434,8 +434,8 @@ ...@@ -434,8 +434,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 2.5470000000000255, "x": 15.000999999999976,
"y": 0.47900000000004184, "y": 0.478999999999985,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
...@@ -475,7 +475,7 @@ ...@@ -475,7 +475,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 35.59375, "width": 17.796875,
"height": 50.4 "height": 50.4
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -511,7 +511,7 @@ ...@@ -511,7 +511,7 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_string": "25", "_string": "0",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 32, "_actualFontSize": 32,
...@@ -1221,6 +1221,8 @@ ...@@ -1221,6 +1221,8 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "aflVw5/2dP+rzU7TMNhCDd", "fileId": "aflVw5/2dP+rzU7TMNhCDd",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
......
...@@ -30,6 +30,9 @@ export default class ExchangeSuccess extends Panel { ...@@ -30,6 +30,9 @@ export default class ExchangeSuccess extends Panel {
this.prizeName.string = item.optionName; this.prizeName.string = item.optionName;
this.prize.spriteFrame = item.optionImg; this.prize.spriteFrame = item.optionImg;
await sendWebNetWithToken(WebNetName.propExchange)
} }
clickLook() { clickLook() {
...@@ -40,7 +43,7 @@ export default class ExchangeSuccess extends Panel { ...@@ -40,7 +43,7 @@ export default class ExchangeSuccess extends Panel {
clickClose = async () => { clickClose = async () => {
this.hidePanel() this.hidePanel()
await sendWebNetWithToken(WebNetName.propExchange)
} }
} }
...@@ -26,6 +26,9 @@ export default class GetPrize extends Panel { ...@@ -26,6 +26,9 @@ export default class GetPrize extends Panel {
@property(Node) content: Node = null; @property(Node) content: Node = null;
@property(Node) svga: Node = null;
@property(Node) bg: Node = null;
onLoad() { onLoad() {
this.happy.on(Button.EventType.CLICK, this.clickHappy, this); this.happy.on(Button.EventType.CLICK, this.clickHappy, this);
this.share.on(Button.EventType.CLICK, this.clickShare, this); this.share.on(Button.EventType.CLICK, this.clickShare, this);
...@@ -34,8 +37,8 @@ export default class GetPrize extends Panel { ...@@ -34,8 +37,8 @@ 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, 112233)
console.log(data.prizeName,22222) console.log(data.prizeName, 22222)
data.map((item, index) => { data.map((item, index) => {
const prize = instantiate(this.prizePrefab) const prize = instantiate(this.prizePrefab)
...@@ -49,12 +52,25 @@ export default class GetPrize extends Panel { ...@@ -49,12 +52,25 @@ export default class GetPrize extends Panel {
const numBg = prize.getChildByName("numBg") const numBg = prize.getChildByName("numBg")
const num = numBg.getChildByName("num") const num = numBg.getChildByName("num")
num.getComponent(Label).string = `X${item.sendCount}` num.getComponent(Label).string = `X${item.sendCount}`
})
this.bg.active = false;
this.svga.active = true
setTimeout(()=>{
this.bg.active = true
this.svga.active = false
},1000)
})
} }
change(){
this.bg.active = true
this.svga.active = false
}
clickShare() { clickShare() {
showPanel(SharePop, { showPanel(SharePop, {
prizeName: this.data[0].prizeName, prizeName: this.data[0].prizeName,
......
...@@ -194,6 +194,10 @@ export class BlessingBagPage extends Scene { ...@@ -194,6 +194,10 @@ export class BlessingBagPage extends Scene {
if (item.code == "task_invite"){ if (item.code == "task_invite"){
Label_task_name.getComponent(Label).string = item.title Label_task_name.getComponent(Label).string = item.title
const activeBtn = EarnList.getChildByName("active_btn")
const activeLabel = activeBtn.getChildByName("ActiveLabel")
activeLabel.getComponent(Label).string = "去邀请"
}else{ }else{
Label_task_name.getComponent(Label).string = `${item.title}(${item.completedSize}/${item.intervalLimitSize})` Label_task_name.getComponent(Label).string = `${item.title}(${item.completedSize}/${item.intervalLimitSize})`
} }
......
...@@ -98,14 +98,14 @@ ...@@ -98,14 +98,14 @@
</style> </style>
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733988264453/src/assets/plugin/zepto.min.js"></script> <script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733992156174/src/assets/plugin/zepto.min.js"></script>
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733988264453/src/assets/plugin/declare-process.js"></script> <script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733992156174/src/assets/plugin/declare-process.js"></script>
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733988264453/src/assets/plugin/SVGA.Lite.v2.1.1.js"></script> <script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733992156174/src/assets/plugin/SVGA.Lite.v2.1.1.js"></script>
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733988264453/src/assets/plugin/jszip.min.v3.10.1.js"></script> <script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733992156174/src/assets/plugin/jszip.min.v3.10.1.js"></script>
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733988264453/src/assets/plugin/rem.min.js"></script> <script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733992156174/src/assets/plugin/rem.min.js"></script>
<script src="//res.wx.qq.com/open/js/jweixin-1.6.0.js"></script> <script src="//res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733988264453/style.css" />--> <!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733992156174/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733988264453/custom.css" />--> <!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733992156174/custom.css" />-->
<!-- <script src="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/libs/eruda.min.js"></script>--> <!-- <script src="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/libs/eruda.min.js"></script>-->
<!-- <script>eruda.init()</script>--> <!-- <script>eruda.init()</script>-->
...@@ -118,20 +118,20 @@ ...@@ -118,20 +118,20 @@
</div> </div>
<!-- Polyfills bundle. --> <!-- Polyfills bundle. -->
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733988264453/src/polyfills.bundle.js" charset="utf-8"></script> <script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733992156174/src/polyfills.bundle.js" charset="utf-8"></script>
<!-- SystemJS support. --> <!-- SystemJS support. -->
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733988264453/src/system.bundle.js" charset="utf-8"></script> <script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1733992156174/src/system.bundle.js" charset="utf-8"></script>
<!-- Import map --> <!-- Import map -->
<!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/1733988264453/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>--> <!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/1733992156174/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<script type="systemjs-importmap" charset="utf-8"> <script type="systemjs-importmap" charset="utf-8">
{"imports":{"cc":"//yun.duiba.com.cn/db_games/ccc_game/template3d/1733988264453/cocos-js/cc.js"}} {"imports":{"cc":"//yun.duiba.com.cn/db_games/ccc_game/template3d/1733992156174/cocos-js/cc.js"}}
</script> </script>
<script> <script>
System.import('//yun.duiba.com.cn/db_games/ccc_game/template3d/1733988264453/index.js').catch(function (err) { System.import('//yun.duiba.com.cn/db_games/ccc_game/template3d/1733992156174/index.js').catch(function (err) {
console.error(err); console.error(err);
}) })
</script> </script>
......
...@@ -45,8 +45,8 @@ ...@@ -45,8 +45,8 @@
"progress": 1, "progress": 1,
"state": "success", "state": "success",
"stage": "build", "stage": "build",
"message": "2024-12-12 15:25:18 build success in 54 s!", "message": "2024-12-12 16:30:31 build success in 1 min 14 s!",
"detailMessage": "Asset DB is resume!\r", "detailMessage": "%c兑吧发布插件 >> 版本号:1733992156174\rcolor: green\r",
"options": { "options": {
"name": "cocos-template-3d", "name": "cocos-template-3d",
"server": "", "server": "",
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
"__version__": "1.3.8", "__version__": "1.3.8",
"logDest": "project://temp/builder/log/web-mobile2024-11-6 15-39.log" "logDest": "project://temp/builder/log/web-mobile2024-11-6 15-39.log"
}, },
"time": "2024-12-12 15:24:24", "time": "2024-12-12 16:29:16",
"dirty": false "dirty": false
} }
} }
......
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