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