Commit a829a3bc authored by wildfirecode13's avatar wildfirecode13

u

parent 360b7bd5
{
"code": null,
"data": "success",
"data": "123",
"message": null,
"success": true
}
\ No newline at end of file
......@@ -941,5 +941,5 @@ export const ResJson = {
}
}
],
"path": "https://yun.duiba.com.cn/db_games/activity/template/1628476556/resource/"
"path": "https://yun.duiba.com.cn/db_games/activity/template/1628477708/resource/"
}
\ No newline at end of file
......@@ -6,7 +6,7 @@ export class AssistPanel extends Panel {
initUi() {
super.initUi();
var skin = RES.getSkinDataByName(this.skinName);
this.position.set(skin.x, skin.y);
this.position.set(skin.x, skin.y);
}
//两个按钮都是关闭作用
get closeBtns() {
......@@ -15,10 +15,12 @@ export class AssistPanel extends Panel {
get groupNames() { return ["assist"] }
get skinName() { return "assist" }
async start(data) {
super.start(data);
getObject(this, 'assist_amout').text = `${data}`
}
}
\ No newline at end of file
......@@ -12,7 +12,7 @@ export class ShareScene extends Scene {
const query = getQueryParams();
getPxTokenSave().then(token=>{
sendWebNet(WebNetName.assist,{code:query.code}).then(res=>{
showPanel(AssistPanel)
showPanel(AssistPanel,res.data)
})
})
......@@ -29,7 +29,7 @@ export class ShareScene extends Scene {
getPxTokenSave().then(token=>{
sendWebNet(WebNetName.shareInfo,{code:getQueryParams().code,token:token}).then(res => {
const {experienceAmount,preIncom,remainAssist}=res.data;
getObject(this,'share_tips1').text=`${experienceAmount}元体验金,预期收益${preIncom}元`
getObject(this,'share_tips1').text=`${experienceAmount}F${preIncom}元`
getObject(this,'share_tips2').text=`今日剩余助力次数:${remainAssist}次`
});
})
......
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