Commit db67683b authored by wildfirecode13's avatar wildfirecode13

u

parent 52d49fea
{
"code": null,
"data": {
"surplusCount": 456,
"credits": 78900,
"needCredits": 12345,
"type": 1,
"isMember":1
},
"message": null,
"success": true
}
\ No newline at end of file
...@@ -5,21 +5,21 @@ ...@@ -5,21 +5,21 @@
"options": [ "options": [
{ {
"extra": null, "extra": null,
"optionId": "deserunt", "optionId": "et esse laborum",
"optionImg": "consequat Ut", "optionImg": "https://yun.duiba.com.cn/db_games/sxbank.png",
"optionName": "magna eu do", "optionName": "aliquip dolore qui nulla",
"position": -45488243, "position": -13810392,
"prizeId": "est adipisicing irure qui cillum", "prizeId": "non labore eiusmod consequat",
"prizeType": -61249868, "prizeType": -25600732,
"ruleId": "nisi aute ut", "ruleId": "fugiat minim in adipisicing",
"sendCount": -86055442, "sendCount": 3860338,
"url": "anim qui", "url": "eu veniam ipsum tempor",
"userRecordId": -31001876 "userRecordId": -15254782
}, },
{ {
"extra": null, "extra": null,
"optionId": "et esse laborum", "optionId": "et esse laborum",
"optionImg": "mollit eiusmod et ullamco cillum", "optionImg": "https://yun.duiba.com.cn/db_games/sxbank.png",
"optionName": "aliquip dolore qui nulla", "optionName": "aliquip dolore qui nulla",
"position": -13810392, "position": -13810392,
"prizeId": "non labore eiusmod consequat", "prizeId": "non labore eiusmod consequat",
...@@ -32,5 +32,5 @@ ...@@ -32,5 +32,5 @@
] ]
}, },
"message": null, "message": null,
"success": false "success": true
} }
\ No newline at end of file
{} {
\ No newline at end of file "code": null,
"data": {
"surplusCount": 456,
"credits": 78900,
"needCredits": 12345,
"type": 1,
"isMember":1
},
"message": null,
"success": true
}
\ No newline at end of file
...@@ -17,8 +17,8 @@ export const getImage = (url, parent?, w?, h? ,rad?): Promise<FYGE.Sprite> => { ...@@ -17,8 +17,8 @@ export const getImage = (url, parent?, w?, h? ,rad?): Promise<FYGE.Sprite> => {
pic.width=w; pic.width=w;
pic.height=h; pic.height=h;
c.addChild(pic); c.addChild(pic);
const m = createMask(w, h, rad, c); // const m = createMask(w, h, rad, c);
c.mask = m; // c.mask = m;
r(c); r(c);
} }
......
...@@ -15,6 +15,7 @@ export class memberGuidePanel extends Panel { ...@@ -15,6 +15,7 @@ export class memberGuidePanel extends Panel {
} }
click_memberGuide_btn(){ click_memberGuide_btn(){
console.log('memberGuide_btn'); console.log('memberGuide_btn');
location.href='pages/customView/customView1';
sendLog("click",6); sendLog("click",6);
} }
......
...@@ -7,6 +7,11 @@ import { sendLog } from "../WebNet"; ...@@ -7,6 +7,11 @@ import { sendLog } from "../WebNet";
let section; let section;
export class notEnoughMoneyPanel extends Panel { export class notEnoughMoneyPanel extends Panel {
hidePanel(){
this.stage.dispatchEvent("restartEnterFrame",{})
super.hidePanel();
}
click_notEnoughMoney_btn(){ click_notEnoughMoney_btn(){
sendLog("click",5); sendLog("click",5);
location.href = 'pages/pointsmall-index/pointsmall-index?pageId=ff8080816deed7ce016df398f7662325'; location.href = 'pages/pointsmall-index/pointsmall-index?pageId=ff8080816deed7ce016df398f7662325';
......
...@@ -16,13 +16,15 @@ export class PrizePanel extends Panel { ...@@ -16,13 +16,15 @@ export class PrizePanel extends Panel {
super.start(); super.start();
const result = getWebData(WebNetName.drawPrize); const result = getWebData(WebNetName.drawPrize);
const size = 164; const size = 164;
getImage(result.data.optionImg, this.prizeContainer, size, size, 3); const opt=this['opt']=result.data.options[0];
getObject(this, 'prize_name').text = result.data.optionName; getImage(opt.optionImg, this.prizeContainer, size, size, 3);
getObject(this, 'prize_name').text = opt.optionName;
} }
click_prize_open() { click_prize_open() {
sendLog("click",2); sendLog("click",2);
console.log('click_prize_open') console.log('click_prize_open');
location.href=this['opt'].url;
} }
get groupNames() { return ["prize"] } get groupNames() { return ["prize"] }
......
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