Commit fa6db8af authored by wildfirecode13's avatar wildfirecode13

11

parent 59a5f81c
......@@ -92,7 +92,8 @@ export class Main {
//显示场景
changeScene(IndexScene);
sendWebNet(WebNetName.getInviteCode, {}, null, true);
sendWebNet(WebNetName.doAssist, { inviteCode: getQueryParams().inviteCode }, null, true);
if(getQueryParams().code )
sendWebNet(WebNetName.doAssist, { inviteCode: getQueryParams().code }, null, true);
}
......
......@@ -2,55 +2,697 @@ export const ResJson = {
"groups": [
{
"keys": "ruleBg.png,我知道了.png",
"name": "RulePanel"
"name": "RulePanel",
"atlas": {
"ruleBg.png": {
"x": 2,
"y": 2,
"w": 680,
"h": 1120,
"ox": 0,
"oy": 0,
"sw": 680,
"sh": 1120,
"ro": false
},
"我知道了.png": {
"x": 684,
"y": 2,
"w": 412,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 412,
"sh": 114,
"ro": true
}
}
},
{
"keys": "startSceneBg.jpg,奖品按钮.png,底部按钮区背景.png,开始游戏.png,排行榜按钮.png,规则按钮.png,赚次数按钮.png,运动锦鲤按钮.png",
"name": "StartScene"
"name": "StartScene",
"atlas": {
"底部按钮区背景.png": {
"x": 2,
"y": 2,
"w": 750,
"h": 191,
"ox": 0,
"oy": 0,
"sw": 750,
"sh": 191,
"ro": false
},
"开始游戏.png": {
"x": 2,
"y": 195,
"w": 413,
"h": 149,
"ox": 0,
"oy": 0,
"sw": 413,
"sh": 149,
"ro": false
},
"运动锦鲤按钮.png": {
"x": 417,
"y": 195,
"w": 121,
"h": 117,
"ox": 0,
"oy": 0,
"sw": 121,
"sh": 117,
"ro": true
},
"奖品按钮.png": {
"x": 536,
"y": 195,
"w": 119,
"h": 44,
"ox": 0,
"oy": 0,
"sw": 119,
"sh": 44,
"ro": true
},
"规则按钮.png": {
"x": 582,
"y": 195,
"w": 119,
"h": 44,
"ox": 0,
"oy": 0,
"sw": 119,
"sh": 44,
"ro": true
},
"排行榜按钮.png": {
"x": 628,
"y": 195,
"w": 91,
"h": 117,
"ox": 0,
"oy": 0,
"sw": 91,
"sh": 117,
"ro": true
},
"赚次数按钮.png": {
"x": 2,
"y": 346,
"w": 92,
"h": 117,
"ox": 0,
"oy": 0,
"sw": 92,
"sh": 117,
"ro": true
}
}
},
{
"keys": "comCloseBtn.png,index_box.png,index_prizeitembg.png,sharemask.png,test.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,知道啦.png,观夏四季香薰.png,音响.png",
"name": "common"
"name": "common",
"atlas": {
"toastBg.png": {
"x": 2,
"y": 2,
"w": 460,
"h": 130,
"ox": 0,
"oy": 0,
"sw": 460,
"sh": 130,
"ro": false
},
"知道啦.png": {
"x": 2,
"y": 134,
"w": 306,
"h": 102,
"ox": 0,
"oy": 0,
"sw": 306,
"sh": 102,
"ro": false
},
"sharemask.png": {
"x": 2,
"y": 238,
"w": 248,
"h": 257,
"ox": 0,
"oy": 0,
"sw": 248,
"sh": 257,
"ro": true
},
"test.png": {
"x": 464,
"y": 2,
"w": 250,
"h": 231,
"ox": 0,
"oy": 14,
"sw": 250,
"sh": 250,
"ro": true
},
"音响.png": {
"x": 310,
"y": 134,
"w": 240,
"h": 145,
"ox": 3,
"oy": 59,
"sw": 250,
"sh": 250,
"ro": true
},
"观夏四季香薰.png": {
"x": 457,
"y": 254,
"w": 212,
"h": 224,
"ox": 29,
"oy": 18,
"sw": 250,
"sh": 250,
"ro": false
},
"index_box.png": {
"x": 2,
"y": 488,
"w": 181,
"h": 198,
"ox": 0,
"oy": 0,
"sw": 181,
"sh": 198,
"ro": true
},
"waitingBg.png": {
"x": 202,
"y": 488,
"w": 160,
"h": 180,
"ox": 0,
"oy": 0,
"sw": 160,
"sh": 180,
"ro": false
},
"index_prizeitembg.png": {
"x": 364,
"y": 480,
"w": 131,
"h": 131,
"ox": 0,
"oy": 0,
"sw": 131,
"sh": 131,
"ro": false
},
"关闭按钮.png": {
"x": 261,
"y": 376,
"w": 60,
"h": 60,
"ox": 0,
"oy": 0,
"sw": 60,
"sh": 60,
"ro": false
},
"waitingRot.png": {
"x": 364,
"y": 613,
"w": 56,
"h": 56,
"ox": 0,
"oy": 0,
"sw": 56,
"sh": 56,
"ro": false
},
"comCloseBtn.png": {
"x": 261,
"y": 438,
"w": 48,
"h": 48,
"ox": 0,
"oy": 0,
"sw": 48,
"sh": 48,
"ro": false
}
}
},
{
"keys": "cost_bg.png,cost_close.png,cost_open.png",
"name": "cost"
"name": "cost",
"atlas": {
"cost_bg.png": {
"x": 2,
"y": 2,
"w": 482,
"h": 580,
"ox": 0,
"oy": 0,
"sw": 482,
"sh": 580,
"ro": false
},
"cost_open.png": {
"x": 486,
"y": 2,
"w": 220,
"h": 53,
"ox": 0,
"oy": 0,
"sw": 220,
"sh": 53,
"ro": true
},
"cost_close.png": {
"x": 541,
"y": 2,
"w": 67,
"h": 66,
"ox": 0,
"oy": 0,
"sw": 67,
"sh": 66,
"ro": true
}
}
},
{
"keys": "getTimes_bg.png,getTimes_close.png,getTimes_go.png",
"name": "getTimes"
"name": "getTimes",
"atlas": {
"getTimes_bg.png": {
"x": 2,
"y": 2,
"w": 482,
"h": 580,
"ox": 0,
"oy": 0,
"sw": 482,
"sh": 580,
"ro": false
},
"getTimes_go.png": {
"x": 486,
"y": 2,
"w": 220,
"h": 53,
"ox": 0,
"oy": 0,
"sw": 220,
"sh": 53,
"ro": true
},
"getTimes_close.png": {
"x": 541,
"y": 2,
"w": 67,
"h": 66,
"ox": 0,
"oy": 0,
"sw": 67,
"sh": 66,
"ro": true
}
}
},
{
"keys": "index_bg.png,index_bg2.png,index_logo1.png,index_logo2.png,index_opentips.png,index_prizebg.png,index_record.png,index_rule.png,index_sharehand.png,index_sharetips.png",
"name": "index"
"name": "index",
"atlas": {
"index_bg.png": {
"x": 2,
"y": 2,
"w": 750,
"h": 1624,
"ox": 0,
"oy": 0,
"sw": 750,
"sh": 1624,
"ro": false
},
"index_bg2.png": {
"x": 754,
"y": 2,
"w": 687,
"h": 751,
"ox": 0,
"oy": 0,
"sw": 687,
"sh": 751,
"ro": false
},
"index_prizebg.png": {
"x": 754,
"y": 755,
"w": 687,
"h": 154,
"ox": 0,
"oy": 0,
"sw": 687,
"sh": 154,
"ro": false
},
"index_logo2.png": {
"x": 754,
"y": 911,
"w": 405,
"h": 76,
"ox": 0,
"oy": 0,
"sw": 405,
"sh": 76,
"ro": false
},
"index_sharetips.png": {
"x": 1161,
"y": 911,
"w": 383,
"h": 54,
"ox": 0,
"oy": 0,
"sw": 383,
"sh": 54,
"ro": true
},
"index_opentips.png": {
"x": 754,
"y": 989,
"w": 350,
"h": 29,
"ox": 0,
"oy": 0,
"sw": 350,
"sh": 29,
"ro": false
},
"index_logo1.png": {
"x": 1106,
"y": 989,
"w": 276,
"h": 39,
"ox": 0,
"oy": 0,
"sw": 276,
"sh": 39,
"ro": true
},
"index_record.png": {
"x": 1217,
"y": 911,
"w": 142,
"h": 35,
"ox": 0,
"oy": 0,
"sw": 142,
"sh": 35,
"ro": false
},
"index_rule.png": {
"x": 1361,
"y": 911,
"w": 140,
"h": 35,
"ox": 0,
"oy": 0,
"sw": 140,
"sh": 35,
"ro": true
},
"index_sharehand.png": {
"x": 1217,
"y": 948,
"w": 70,
"h": 71,
"ox": 0,
"oy": 0,
"sw": 70,
"sh": 71,
"ro": true
}
}
},
{
"keys": "进度条.png,进度条底.png",
"name": "loading"
"name": "loading",
"atlas": {
"进度条底.png": {
"x": 2,
"y": 2,
"w": 584,
"h": 24,
"ox": 0,
"oy": 0,
"sw": 584,
"sh": 24,
"ro": false
},
"进度条.png": {
"x": 2,
"y": 28,
"w": 580,
"h": 20,
"ox": 0,
"oy": 0,
"sw": 580,
"sh": 20,
"ro": false
}
}
},
{
"keys": "memberGuide_bg.png,memberGuide_btn.png,memberGuide_close.png",
"name": "memberGuide"
"name": "memberGuide",
"atlas": {
"memberGuide_bg.png": {
"x": 2,
"y": 2,
"w": 493,
"h": 582,
"ox": 0,
"oy": 0,
"sw": 493,
"sh": 582,
"ro": false
},
"memberGuide_btn.png": {
"x": 497,
"y": 2,
"w": 220,
"h": 53,
"ox": 0,
"oy": 0,
"sw": 220,
"sh": 53,
"ro": true
},
"memberGuide_close.png": {
"x": 552,
"y": 2,
"w": 67,
"h": 66,
"ox": 0,
"oy": 0,
"sw": 67,
"sh": 66,
"ro": true
}
}
},
{
"keys": "newRule_bg.png,newRule_close.png",
"name": "newRule"
"name": "newRule",
"atlas": {
"newRule_bg.png": {
"x": 2,
"y": 2,
"w": 529,
"h": 725,
"ox": 0,
"oy": 0,
"sw": 529,
"sh": 725,
"ro": false
},
"newRule_close.png": {
"x": 533,
"y": 2,
"w": 67,
"h": 66,
"ox": 0,
"oy": 0,
"sw": 67,
"sh": 66,
"ro": true
}
}
},
{
"keys": "noprize_bg.png,noprize_close.png,noprize_ok.png",
"name": "noprize"
"name": "noprize",
"atlas": {
"noprize_bg.png": {
"x": 2,
"y": 2,
"w": 482,
"h": 580,
"ox": 0,
"oy": 0,
"sw": 482,
"sh": 580,
"ro": false
},
"noprize_ok.png": {
"x": 486,
"y": 2,
"w": 220,
"h": 53,
"ox": 0,
"oy": 0,
"sw": 220,
"sh": 53,
"ro": true
},
"noprize_close.png": {
"x": 541,
"y": 2,
"w": 67,
"h": 66,
"ox": 0,
"oy": 0,
"sw": 67,
"sh": 66,
"ro": true
}
}
},
{
"keys": "notEnoughMoney_bg.png,notEnoughMoney_btn.png,notEnoughMoney_close.png",
"name": "notEnoughMoney"
"name": "notEnoughMoney",
"atlas": {
"notEnoughMoney_bg.png": {
"x": 2,
"y": 2,
"w": 482,
"h": 580,
"ox": 0,
"oy": 0,
"sw": 482,
"sh": 580,
"ro": false
},
"notEnoughMoney_btn.png": {
"x": 486,
"y": 2,
"w": 220,
"h": 53,
"ox": 0,
"oy": 0,
"sw": 220,
"sh": 53,
"ro": true
},
"notEnoughMoney_close.png": {
"x": 541,
"y": 2,
"w": 67,
"h": 66,
"ox": 0,
"oy": 0,
"sw": 67,
"sh": 66,
"ro": true
}
}
},
{
"keys": "notEnoughMoneyShare_bg.png,notEnoughMoneyShare_btn.png,notEnoughMoneyShare_close.png",
"name": "notEnoughMoneyShare"
"name": "notEnoughMoneyShare",
"atlas": {
"notEnoughMoneyShare_bg.png": {
"x": 2,
"y": 2,
"w": 482,
"h": 580,
"ox": 0,
"oy": 0,
"sw": 482,
"sh": 580,
"ro": false
},
"notEnoughMoneyShare_btn.png": {
"x": 486,
"y": 2,
"w": 220,
"h": 53,
"ox": 0,
"oy": 0,
"sw": 220,
"sh": 53,
"ro": true
},
"notEnoughMoneyShare_close.png": {
"x": 541,
"y": 2,
"w": 67,
"h": 66,
"ox": 0,
"oy": 0,
"sw": 67,
"sh": 66,
"ro": true
}
}
},
{
"keys": "notEnoughMoneyShareHasTimes_bg.png,notEnoughMoneyShareHasTimes_btn.png,notEnoughMoneyShareHasTimes_close.png",
"name": "notEnoughMoneyShareHasTimes"
"name": "notEnoughMoneyShareHasTimes",
"atlas": {
"notEnoughMoneyShareHasTimes_bg.png": {
"x": 2,
"y": 2,
"w": 482,
"h": 580,
"ox": 0,
"oy": 0,
"sw": 482,
"sh": 580,
"ro": false
},
"notEnoughMoneyShareHasTimes_btn.png": {
"x": 486,
"y": 2,
"w": 220,
"h": 53,
"ox": 0,
"oy": 0,
"sw": 220,
"sh": 53,
"ro": true
},
"notEnoughMoneyShareHasTimes_close.png": {
"x": 541,
"y": 2,
"w": 67,
"h": 66,
"ox": 0,
"oy": 0,
"sw": 67,
"sh": 66,
"ro": true
}
}
},
{
"keys": "playBg.jpg",
......@@ -58,11 +700,92 @@ export const ResJson = {
},
{
"keys": "prize_bg.png,prize_bg2.png,prize_close.png,prize_open.png",
"name": "prize"
"name": "prize",
"atlas": {
"prize_bg2.png": {
"x": 2,
"y": 2,
"w": 731,
"h": 731,
"ox": 0,
"oy": 0,
"sw": 731,
"sh": 731,
"ro": false
},
"prize_bg.png": {
"x": 735,
"y": 2,
"w": 521,
"h": 618,
"ox": 0,
"oy": 0,
"sw": 521,
"sh": 618,
"ro": false
},
"prize_open.png": {
"x": 735,
"y": 622,
"w": 220,
"h": 53,
"ox": 0,
"oy": 0,
"sw": 220,
"sh": 53,
"ro": false
},
"prize_close.png": {
"x": 957,
"y": 622,
"w": 67,
"h": 66,
"ox": 0,
"oy": 0,
"sw": 67,
"sh": 66,
"ro": true
}
}
},
{
"keys": "share_bg.png,share_close.png,share_go.png",
"name": "share"
"name": "share",
"atlas": {
"share_bg.png": {
"x": 2,
"y": 2,
"w": 482,
"h": 580,
"ox": 0,
"oy": 0,
"sw": 482,
"sh": 580,
"ro": false
},
"share_go.png": {
"x": 486,
"y": 2,
"w": 220,
"h": 53,
"ox": 0,
"oy": 0,
"sw": 220,
"sh": 53,
"ro": true
},
"share_close.png": {
"x": 541,
"y": 2,
"w": 67,
"h": 66,
"ox": 0,
"oy": 0,
"sw": 67,
"sh": 66,
"ro": true
}
}
},
{
"keys": "盲盒开启-打开-输出.svga,盲盒选中-输出.svga,首页元素循环上-输出.svga,首页元素循环下-输出.svga",
......@@ -70,8 +793,43 @@ export const ResJson = {
},
{
"keys": "timesNotEnough_bg.png,timesNotEnough_close.png,timesNotEnough_ok.png",
"name": "timesNotEnough"
"name": "timesNotEnough",
"atlas": {
"timesNotEnough_bg.png": {
"x": 2,
"y": 2,
"w": 482,
"h": 580,
"ox": 0,
"oy": 0,
"sw": 482,
"sh": 580,
"ro": false
},
"timesNotEnough_ok.png": {
"x": 486,
"y": 2,
"w": 220,
"h": 53,
"ox": 0,
"oy": 0,
"sw": 220,
"sh": 53,
"ro": true
},
"timesNotEnough_close.png": {
"x": 541,
"y": 2,
"w": 67,
"h": 66,
"ox": 0,
"oy": 0,
"sw": 67,
"sh": 66,
"ro": true
}
}
}
],
"path": "./resource/"
"path": "https://yun.duiba.com.cn/db_games/activity/template/1632276156/resource/"
}
\ No newline at end of file
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