Commit a829a3bc authored by wildfirecode13's avatar wildfirecode13

u

parent 360b7bd5
{ {
"code": null, "code": null,
"data": "success", "data": "123",
"message": null, "message": null,
"success": true "success": true
} }
\ No newline at end of file
...@@ -941,5 +941,5 @@ export const ResJson = { ...@@ -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 { ...@@ -6,7 +6,7 @@ export class AssistPanel extends Panel {
initUi() { initUi() {
super.initUi(); super.initUi();
var skin = RES.getSkinDataByName(this.skinName); var skin = RES.getSkinDataByName(this.skinName);
this.position.set(skin.x, skin.y); this.position.set(skin.x, skin.y);
} }
//两个按钮都是关闭作用 //两个按钮都是关闭作用
get closeBtns() { get closeBtns() {
...@@ -15,10 +15,12 @@ export class AssistPanel extends Panel { ...@@ -15,10 +15,12 @@ export class AssistPanel extends Panel {
get groupNames() { return ["assist"] } get groupNames() { return ["assist"] }
get skinName() { return "assist" } get skinName() { return "assist" }
async start(data) { async start(data) {
super.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 { ...@@ -12,7 +12,7 @@ export class ShareScene extends Scene {
const query = getQueryParams(); const query = getQueryParams();
getPxTokenSave().then(token=>{ getPxTokenSave().then(token=>{
sendWebNet(WebNetName.assist,{code:query.code}).then(res=>{ sendWebNet(WebNetName.assist,{code:query.code}).then(res=>{
showPanel(AssistPanel) showPanel(AssistPanel,res.data)
}) })
}) })
...@@ -29,7 +29,7 @@ export class ShareScene extends Scene { ...@@ -29,7 +29,7 @@ export class ShareScene extends Scene {
getPxTokenSave().then(token=>{ getPxTokenSave().then(token=>{
sendWebNet(WebNetName.shareInfo,{code:getQueryParams().code,token:token}).then(res => { sendWebNet(WebNetName.shareInfo,{code:getQueryParams().code,token:token}).then(res => {
const {experienceAmount,preIncom,remainAssist}=res.data; 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}次` 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