Commit caa942be authored by wildfirecode13's avatar wildfirecode13

update

parent 6f2f7ef9
......@@ -26,7 +26,7 @@
height: 100%;
overflow: hidden;
position: absolute;
background-color: #9a3636;
background-color: #fff;
/* background: linear-gradient(#93dbb7,#ff0,#b5d89a); */
/* background: linear-gradient(#93dbb7,#b5d89a); */
/* 背景图片,解决加载太慢,白屏问题,加了这个下面的__loading__可以删掉了 */
......
project/resource/index3/task2bg.png

1.97 KB | W: | H:

project/resource/index3/task2bg.png

1.64 KB | W: | H:

project/resource/index3/task2bg.png
project/resource/index3/task2bg.png
project/resource/index3/task2bg.png
project/resource/index3/task2bg.png
  • 2-up
  • Swipe
  • Onion skin
{"x":0,"y":0,"type":"container","children":[{"name":"RulePanel","x":0,"y":0,"type":"container","children":[{"name":"ruleBg","x":28,"y":248,"type":"sprite","props":{"source":"ruleBg.png"}},{"name":"规则内容","x":74,"y":369,"type":"text","props":{"text":"游戏规则\n","size":30,"fillColor":"#000000","textAlpha":1},"id":"ruleTxt"},{"name":"我知道了","x":164,"y":1197,"type":"button","props":{"tUp":"我知道了.png"},"id":"knowBtn"},{"name":"关闭按钮","x":625,"y":272,"type":"button","props":{"tUp":"关闭按钮.png"},"id":"closeBtn"}]},{"name":"StartScene","x":0,"y":0,"type":"container","children":[{"name":"startSceneBg","x":0,"y":0,"type":"sprite","props":{"source":"startSceneBg.jpg"}},{"name":"底部按钮区","x":0,"y":1242,"type":"container","children":[{"name":"底部按钮区背景","x":0,"y":0,"type":"sprite","props":{"source":"底部按钮区背景.png"}},{"name":"icon","x":56,"y":35,"type":"container","children":[{"name":"赚次数按钮","x":547,"y":0,"type":"button","props":{"tUp":"赚次数按钮.png"},"id":"taskBtn"},{"name":"运动锦鲤按钮","x":258,"y":0,"type":"button","props":{"tUp":"运动锦鲤按钮.png"},"id":"lotBtn"},{"name":"排行榜按钮","x":0,"y":0,"type":"button","props":{"tUp":"排行榜按钮.png"},"id":"rankBtn"}]}]},{"name":"timesTxt","x":286,"y":1205,"type":"text","props":{"text":"剩余次数:3次","size":16.00722,"fillColor":"#ffffff","textAlpha":1},"id":"timesTxt"},{"name":"开始游戏","x":171,"y":1052,"type":"button","props":{"tUp":"开始游戏.png"},"id":"startBtn"},{"name":"规则按钮","x":621,"y":212,"type":"button","props":{"tUp":"规则按钮.png"},"id":"ruleBtn"},{"name":"奖品按钮","x":11,"y":212,"type":"button","props":{"tUp":"奖品按钮.png"},"id":"recordBtn"}]},{"name":"loading","x":0,"y":0,"type":"container","children":[{"name":"loading_bg","x":0,"y":0,"type":"sprite","props":{"source":"loading_bg.png"}},{"name":"loading_title","x":64,"y":253,"type":"sprite","props":{"source":"loading_title.png"}},{"name":"loading_loading","x":299,"y":1076,"type":"sprite","props":{"source":"loading_loading.png"}},{"name":"loading_progress","x":91,"y":1028,"type":"container","children":[{"name":"loading_progressbg","x":0,"y":0,"type":"sprite","props":{"source":"loading_progressbg.png"}},{"name":"loading_progressfront","x":8,"y":4,"type":"sprite","props":{"source":"loading_progressfront.png"}}]}]},{"name":"newbie","x":0,"y":0,"type":"container","children":[{"name":"newbie_bg","x":0,"y":0,"type":"sprite","props":{"source":"newbie_bg.png"}},{"name":"newbieTips","x":270,"y":551,"type":"text","props":{"text":"newbie","size":72,"fillColor":"#000000","textAlpha":1}}]},{"name":"index","x":0,"y":0,"type":"container","children":[{"name":"index_bg","x":0,"y":0,"type":"sprite","props":{"source":"index_bg.png"}},{"name":"index_tips","x":270,"y":551,"type":"text","props":{"text":"index_haha","size":72,"fillColor":"#000000","textAlpha":1}}]},{"name":"share_fail","x":67,"y":319,"type":"container","children":[{"name":"share_fail_bg","x":0,"y":0,"type":"sprite","props":{"source":"share_fail_bg.png"}},{"name":"share_fail_name","x":250,"y":317,"type":"text","props":{"text":"分享失败","size":30,"fillColor":"#5889ce","textAlpha":1}},{"name":"share_fail_okbtn","x":126,"y":724,"type":"sprite","props":{"source":"share_fail_okbtn.png"}}]},{"name":"share_success","x":67,"y":319,"type":"container","children":[{"name":"share_success_bg","x":0,"y":0,"type":"sprite","props":{"source":"share_success_bg.png"}},{"name":"share_success_name","x":250,"y":317,"type":"text","props":{"text":"分享成功","size":30,"fillColor":"#5889ce","textAlpha":1}},{"name":"share_success_okbtn","x":126,"y":724,"type":"sprite","props":{"source":"share_success_okbtn.png"}}]},{"name":"share","x":0,"y":0,"type":"container","children":[{"name":"share_bg","x":0,"y":0,"type":"sprite","props":{"source":"share_bg.png"}},{"name":"share_tips","x":267,"y":551,"type":"text","props":{"text":"share","size":72,"fillColor":"#000000","textAlpha":1}}]},{"name":"draw","x":67,"y":319,"type":"container","children":[{"name":"draw_bg","x":0,"y":0,"type":"sprite","props":{"source":"draw_bg.png"}},{"name":"draw_name","x":248,"y":331,"type":"text","props":{"text":"提现成功","size":30,"fillColor":"#5889ce","textAlpha":1}},{"name":"draw_okbtn","x":126,"y":724,"type":"sprite","props":{"source":"draw_okbtn.png"}}]},{"name":"assist","x":67,"y":319,"type":"container","children":[{"name":"assist_bg","x":0,"y":0,"type":"sprite","props":{"source":"assist_bg.png"}},{"name":"assist_name","x":248,"y":331,"type":"text","props":{"text":"提现成功","size":30,"fillColor":"#5889ce","textAlpha":1}},{"name":"assist_okbtn","x":126,"y":724,"type":"sprite","props":{"source":"assist_okbtn.png"}}]},{"name":"prize","x":67,"y":319,"type":"container","children":[{"name":"prize_bg","x":0,"y":0,"type":"sprite","props":{"source":"prize_bg.png"}},{"name":"prize_name","x":147,"y":317,"type":"text","props":{"text":"多功能不粘小奶锅16cm","size":30,"fillColor":"#5889ce","textAlpha":1}},{"name":"prize_closebtn","x":561,"y":166,"type":"sprite","props":{"source":"prize_closebtn.png"}},{"name":"prize_tips","x":164,"y":848,"type":"text","props":{"text":"奖品可在“我的奖品”中查看","size":24,"fillColor":"#5889ce","textAlpha":1}},{"name":"prize_okbtn","x":126,"y":724,"type":"sprite","props":{"source":"prize_okbtn.png"}},{"name":"prize_placeholder","x":183,"y":405,"type":"sprite","props":{"source":"prize_placeholder.png"}},{"name":"prize_progressbg","x":19,"y":667,"type":"sprite","props":{"source":"prize_progressbg.png"}},{"name":"prize_progressfront","x":27,"y":671,"type":"sprite","props":{"source":"prize_progressfront.png"}}]},{"name":"index2","x":0,"y":0,"type":"container","children":[{"name":"bg","x":0,"y":0,"type":"sprite","props":{"source":"bg.png"}},{"name":"bg2","x":32,"y":365,"type":"sprite","props":{"source":"bg2.png"}},{"name":"title","x":268,"y":239,"type":"sprite","props":{"source":"title.png"}},{"name":"marquee","x":78,"y":298,"type":"sprite","props":{"source":"marquee.png"}},{"name":"rulebtn","x":611,"y":223,"type":"sprite","props":{"source":"rulebtn.png"}},{"name":"task1","x":59,"y":1270,"type":"container","children":[{"name":"task1bg","x":0,"y":0,"type":"sprite","props":{"source":"task1bg.png"}},{"name":"task1tips","x":31,"y":27,"type":"text","props":{"text":"在三湘银行开户即可增加XXX体验金","size":24,"fillColor":"#c75b2b","textAlpha":1}},{"name":"task1btn","x":479,"y":17,"type":"sprite","props":{"source":"task1btn.png"}}]},{"name":"task2new","x":59,"y":1361,"type":"container","children":[{"name":"task2bg","x":0,"y":0,"type":"sprite","props":{"source":"task2bg.png"}},{"name":"task2newtip1","x":32,"y":20,"type":"text","props":{"text":"当前账户余额XXX元,每天体验金增长XX元","size":24,"fillColor":"#c75b2b","textAlpha":1}},{"name":"task2newtip2","x":509,"y":20,"type":"text","props":{"text":"未开户","size":24,"fillColor":"#958e8a","textAlpha":1}},{"name":"task2newtip3","x":29,"y":73,"type":"text","props":{"text":"账户余额100元,每天体验金增长XX元","size":20,"fillColor":"#958e8a","textAlpha":1}},{"name":"task2newtip4","x":29,"y":113,"type":"text","props":{"text":"账户余额200元,每天体验金增长XX元","size":20,"fillColor":"#958e8a","textAlpha":1}},{"name":"task2newtip5","x":29,"y":152,"type":"text","props":{"text":"账户余额500元,每天体验金增长XX元","size":20,"fillColor":"#958e8a","textAlpha":1}}]},{"name":"task2","x":59,"y":1270,"type":"container","children":[{"name":"task2bg","x":0,"y":0,"type":"sprite","props":{"source":"task2bg.png"}},{"name":"task2_0","x":32,"y":20,"type":"text","props":{"text":"当前账户余额XXX元,每天体验金增长XX元","size":24,"fillColor":"#c75b2b","textAlpha":1}},{"name":"task2_1","x":508,"y":20,"type":"text","props":{"text":"未达标","size":24,"fillColor":"#958e8a","textAlpha":1}},{"name":"task2_2","x":488,"y":20,"type":"text","props":{"text":"体验金+XX","size":24,"fillColor":"#958e8a","textAlpha":1}},{"name":"task2_3","x":29,"y":73,"type":"text","props":{"text":"账户余额100元,每天体验金增长XX元","size":20,"fillColor":"#958e8a","textAlpha":1}},{"name":"task2_4","x":29,"y":113,"type":"text","props":{"text":"账户余额200元,每天体验金增长XX元","size":20,"fillColor":"#958e8a","textAlpha":1}},{"name":"task2_5","x":29,"y":152,"type":"text","props":{"text":"账户余额500元,每天体验金增长XX元","size":20,"fillColor":"#958e8a","textAlpha":1}}]},{"name":"yesterdayIncomeTips","x":261,"y":581,"type":"text","props":{"text":"昨日收益:500元","size":30,"fillColor":"#c75b2b","textAlpha":1}},{"name":"drawTips","x":257,"y":909,"type":"text","props":{"text":"收益满7天即可提现~","size":24,"fillColor":"#c75b2b","textAlpha":1}},{"name":"sumIncomeTips","x":123,"y":672,"type":"text","props":{"text":"100","size":40,"fillColor":"#c75b2b","textAlpha":1}},{"name":"millionSharesTips","x":344,"y":672,"type":"text","props":{"text":"100","size":40,"fillColor":"#c75b2b","textAlpha":1}},{"name":"sevenDayAnnualizationTips","x":563,"y":672,"type":"text","props":{"text":"100","size":40,"fillColor":"#c75b2b","textAlpha":1}},{"name":"experienceAmountTips","x":302,"y":495,"type":"text","props":{"text":"1000元","size":60,"fillColor":"#ff2f50","textAlpha":1}},{"name":"drawBtn","x":205,"y":805,"type":"sprite","props":{"source":"drawBtn.png"}},{"name":"drawGrayBtn","x":205,"y":805,"type":"sprite","props":{"source":"drawGrayBtn.png"}},{"name":"inviteBtn","x":205,"y":1168,"type":"sprite","props":{"source":"inviteBtn.png"}},{"name":"progressbg","x":151,"y":1039,"type":"sprite","props":{"source":"progressbg.png"}},{"name":"progress","x":153,"y":1040,"type":"sprite","props":{"source":"progress.png"}},{"name":"invitePercentTips","x":318,"y":1086,"type":"text","props":{"text":"1000/1000000","size":24,"fillColor":"#c75b2b","textAlpha":1}},{"name":"inviteTips","x":166,"y":1122,"type":"text","props":{"text":"已有XX位好友助力,体验金增加XXXX元","size":24,"fillColor":"#c75b2b","textAlpha":1}}]},{"name":"index3","x":0,"y":0,"type":"container","children":[{"name":"wrapper","x":0,"y":0,"type":"container","children":[{"name":"bg","x":0,"y":0,"type":"sprite","props":{"source":"bg.png"}},{"name":"bg2","x":32,"y":365,"type":"sprite","props":{"source":"bg2.png"}},{"name":"title","x":268,"y":239,"type":"sprite","props":{"source":"title.png"}},{"name":"marquee","x":78,"y":298,"type":"sprite","props":{"source":"marquee.png"}},{"name":"rulebtn","x":611,"y":223,"type":"sprite","props":{"source":"rulebtn.png"}},{"name":"task1","x":59,"y":1270,"type":"container","children":[{"name":"task1bg","x":0,"y":0,"type":"sprite","props":{"source":"task1bg.png"}},{"name":"task1tips","x":31,"y":27,"type":"text","props":{"text":"在三湘银行开户即可增加XXX体验金","size":24,"fillColor":"#c75b2b","textAlpha":1}},{"name":"task1btn","x":479,"y":17,"type":"sprite","props":{"source":"task1btn.png"}}]},{"name":"task2new","x":59,"y":1361,"type":"container","children":[{"name":"task2bg","x":0,"y":0,"type":"sprite","props":{"source":"task2bg.png"}},{"name":"task2newtip1","x":32,"y":20,"type":"text","props":{"text":"当前账户余额XXX元,每天体验金增长XX元","size":24,"fillColor":"#c75b2b","textAlpha":1}},{"name":"task2newtip2","x":509,"y":20,"type":"text","props":{"text":"未开户","size":24,"fillColor":"#958e8a","textAlpha":1}},{"name":"task2newtip3","x":29,"y":73,"type":"text","props":{"text":"账户余额100元,每天体验金增长XX元","size":20,"fillColor":"#958e8a","textAlpha":1}},{"name":"task2newtip4","x":29,"y":113,"type":"text","props":{"text":"账户余额200元,每天体验金增长XX元","size":20,"fillColor":"#958e8a","textAlpha":1}},{"name":"task2newtip5","x":29,"y":152,"type":"text","props":{"text":"账户余额500元,每天体验金增长XX元","size":20,"fillColor":"#958e8a","textAlpha":1}}]},{"name":"task2","x":59,"y":1270,"type":"container","children":[{"name":"task2bg","x":0,"y":0,"type":"sprite","props":{"source":"task2bg.png"}},{"name":"task2_0","x":32,"y":20,"type":"text","props":{"text":"当前账户余额XXX元,每天体验金增长XX元","size":24,"fillColor":"#c75b2b","textAlpha":1}},{"name":"task2_1","x":508,"y":20,"type":"text","props":{"text":"未达标","size":24,"fillColor":"#958e8a","textAlpha":1}},{"name":"task2_2","x":488,"y":20,"type":"text","props":{"text":"体验金+XX","size":24,"fillColor":"#958e8a","textAlpha":1}},{"name":"task2_3","x":29,"y":73,"type":"text","props":{"text":"账户余额100元,每天体验金增长XX元","size":20,"fillColor":"#958e8a","textAlpha":1}},{"name":"task2_4","x":29,"y":113,"type":"text","props":{"text":"账户余额200元,每天体验金增长XX元","size":20,"fillColor":"#958e8a","textAlpha":1}},{"name":"task2_5","x":29,"y":152,"type":"text","props":{"text":"账户余额500元,每天体验金增长XX元","size":20,"fillColor":"#958e8a","textAlpha":1}}]},{"name":"yesterdayIncomeTips","x":261,"y":581,"type":"text","props":{"text":"昨日收益:500元","size":30,"fillColor":"#c75b2b","textAlpha":1}},{"name":"drawTips","x":257,"y":909,"type":"text","props":{"text":"收益满7天即可提现~","size":24,"fillColor":"#c75b2b","textAlpha":1}},{"name":"sumIncomeTips","x":123,"y":672,"type":"text","props":{"text":"100","size":40,"fillColor":"#c75b2b","textAlpha":1}},{"name":"millionSharesTips","x":344,"y":672,"type":"text","props":{"text":"100","size":40,"fillColor":"#c75b2b","textAlpha":1}},{"name":"sevenDayAnnualizationTips","x":563,"y":672,"type":"text","props":{"text":"100","size":40,"fillColor":"#c75b2b","textAlpha":1}},{"name":"experienceAmountTips","x":302,"y":495,"type":"text","props":{"text":"1000元","size":60,"fillColor":"#ff2f50","textAlpha":1}},{"name":"drawBtn","x":205,"y":805,"type":"sprite","props":{"source":"drawBtn.png"}},{"name":"drawGrayBtn","x":205,"y":805,"type":"sprite","props":{"source":"drawGrayBtn.png"}},{"name":"inviteBtn","x":205,"y":1168,"type":"sprite","props":{"source":"inviteBtn.png"}},{"name":"progressbg","x":151,"y":1039,"type":"sprite","props":{"source":"progressbg.png"}},{"name":"progress","x":153,"y":1040,"type":"sprite","props":{"source":"progress.png"}},{"name":"invitePercentTips","x":318,"y":1086,"type":"text","props":{"text":"1000/1000000","size":24,"fillColor":"#c75b2b","textAlpha":1}},{"name":"inviteTips","x":166,"y":1122,"type":"text","props":{"text":"已有XX位好友助力,体验金增加XXXX元","size":24,"fillColor":"#c75b2b","textAlpha":1}}]}]}]}
{
"x": 0,
"y": 0,
"type": "container",
"children": [
{
"name": "RulePanel",
"x": 0,
"y": 0,
"type": "container",
"children": [
{
"name": "ruleBg",
"x": 28,
"y": 248,
"type": "sprite",
"props": {
"source": "ruleBg.png"
}
},
{
"name": "规则内容",
"x": 74,
"y": 369,
"type": "text",
"props": {
"text": "游戏规则\n",
"size": 30,
"fillColor": "#000000",
"textAlpha": 1
},
"id": "ruleTxt"
},
{
"name": "我知道了",
"x": 164,
"y": 1197,
"type": "button",
"props": {
"tUp": "我知道了.png"
},
"id": "knowBtn"
},
{
"name": "关闭按钮",
"x": 625,
"y": 272,
"type": "button",
"props": {
"tUp": "关闭按钮.png"
},
"id": "closeBtn"
}
]
},
{
"name": "StartScene",
"x": 0,
"y": 0,
"type": "container",
"children": [
{
"name": "startSceneBg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "startSceneBg.jpg"
}
},
{
"name": "底部按钮区",
"x": 0,
"y": 1242,
"type": "container",
"children": [
{
"name": "底部按钮区背景",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "底部按钮区背景.png"
}
},
{
"name": "icon",
"x": 56,
"y": 35,
"type": "container",
"children": [
{
"name": "赚次数按钮",
"x": 547,
"y": 0,
"type": "button",
"props": {
"tUp": "赚次数按钮.png"
},
"id": "taskBtn"
},
{
"name": "运动锦鲤按钮",
"x": 258,
"y": 0,
"type": "button",
"props": {
"tUp": "运动锦鲤按钮.png"
},
"id": "lotBtn"
},
{
"name": "排行榜按钮",
"x": 0,
"y": 0,
"type": "button",
"props": {
"tUp": "排行榜按钮.png"
},
"id": "rankBtn"
}
]
}
]
},
{
"name": "timesTxt",
"x": 286,
"y": 1205,
"type": "text",
"props": {
"text": "剩余次数:3次",
"size": 16.00722,
"fillColor": "#ffffff",
"textAlpha": 1
},
"id": "timesTxt"
},
{
"name": "开始游戏",
"x": 171,
"y": 1052,
"type": "button",
"props": {
"tUp": "开始游戏.png"
},
"id": "startBtn"
},
{
"name": "规则按钮",
"x": 621,
"y": 212,
"type": "button",
"props": {
"tUp": "规则按钮.png"
},
"id": "ruleBtn"
},
{
"name": "奖品按钮",
"x": 11,
"y": 212,
"type": "button",
"props": {
"tUp": "奖品按钮.png"
},
"id": "recordBtn"
}
]
},
{
"name": "loading",
"x": 0,
"y": 0,
"type": "container",
"children": [
{
"name": "loading_bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "loading_bg.png"
}
},
{
"name": "loading_title",
"x": 64,
"y": 253,
"type": "sprite",
"props": {
"source": "loading_title.png"
}
},
{
"name": "loading_loading",
"x": 299,
"y": 1076,
"type": "sprite",
"props": {
"source": "loading_loading.png"
}
},
{
"name": "loading_progress",
"x": 91,
"y": 1028,
"type": "container",
"children": [
{
"name": "loading_progressbg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "loading_progressbg.png"
}
},
{
"name": "loading_progressfront",
"x": 8,
"y": 4,
"type": "sprite",
"props": {
"source": "loading_progressfront.png"
}
}
]
}
]
},
{
"name": "newbie",
"x": 0,
"y": 0,
"type": "container",
"children": [
{
"name": "newbie_bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "newbie_bg.png"
}
},
{
"name": "newbieTips",
"x": 270,
"y": 551,
"type": "text",
"props": {
"text": "newbie",
"size": 72,
"fillColor": "#000000",
"textAlpha": 1
}
}
]
},
{
"name": "index",
"x": 0,
"y": 0,
"type": "container",
"children": [
{
"name": "index_bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "index_bg.png"
}
},
{
"name": "index_tips",
"x": 270,
"y": 551,
"type": "text",
"props": {
"text": "index_haha",
"size": 72,
"fillColor": "#000000",
"textAlpha": 1
}
}
]
},
{
"name": "share_fail",
"x": 67,
"y": 319,
"type": "container",
"children": [
{
"name": "share_fail_bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "share_fail_bg.png"
}
},
{
"name": "share_fail_name",
"x": 250,
"y": 317,
"type": "text",
"props": {
"text": "分享失败",
"size": 30,
"fillColor": "#5889ce",
"textAlpha": 1
}
},
{
"name": "share_fail_okbtn",
"x": 126,
"y": 724,
"type": "sprite",
"props": {
"source": "share_fail_okbtn.png"
}
}
]
},
{
"name": "share_success",
"x": 67,
"y": 319,
"type": "container",
"children": [
{
"name": "share_success_bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "share_success_bg.png"
}
},
{
"name": "share_success_name",
"x": 250,
"y": 317,
"type": "text",
"props": {
"text": "分享成功",
"size": 30,
"fillColor": "#5889ce",
"textAlpha": 1
}
},
{
"name": "share_success_okbtn",
"x": 126,
"y": 724,
"type": "sprite",
"props": {
"source": "share_success_okbtn.png"
}
}
]
},
{
"name": "share",
"x": 0,
"y": 0,
"type": "container",
"children": [
{
"name": "share_bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "share_bg.png"
}
},
{
"name": "share_tips",
"x": 267,
"y": 551,
"type": "text",
"props": {
"text": "share",
"size": 72,
"fillColor": "#000000",
"textAlpha": 1
}
}
]
},
{
"name": "draw",
"x": 67,
"y": 319,
"type": "container",
"children": [
{
"name": "draw_bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "draw_bg.png"
}
},
{
"name": "draw_name",
"x": 248,
"y": 331,
"type": "text",
"props": {
"text": "提现成功",
"size": 30,
"fillColor": "#5889ce",
"textAlpha": 1
}
},
{
"name": "draw_okbtn",
"x": 126,
"y": 724,
"type": "sprite",
"props": {
"source": "draw_okbtn.png"
}
}
]
},
{
"name": "assist",
"x": 67,
"y": 319,
"type": "container",
"children": [
{
"name": "assist_bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "assist_bg.png"
}
},
{
"name": "assist_name",
"x": 248,
"y": 331,
"type": "text",
"props": {
"text": "提现成功",
"size": 30,
"fillColor": "#5889ce",
"textAlpha": 1
}
},
{
"name": "assist_okbtn",
"x": 126,
"y": 724,
"type": "sprite",
"props": {
"source": "assist_okbtn.png"
}
}
]
},
{
"name": "prize",
"x": 67,
"y": 319,
"type": "container",
"children": [
{
"name": "prize_bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "prize_bg.png"
}
},
{
"name": "prize_name",
"x": 147,
"y": 317,
"type": "text",
"props": {
"text": "多功能不粘小奶锅16cm",
"size": 30,
"fillColor": "#5889ce",
"textAlpha": 1
}
},
{
"name": "prize_closebtn",
"x": 561,
"y": 166,
"type": "sprite",
"props": {
"source": "prize_closebtn.png"
}
},
{
"name": "prize_tips",
"x": 164,
"y": 848,
"type": "text",
"props": {
"text": "奖品可在“我的奖品”中查看",
"size": 24,
"fillColor": "#5889ce",
"textAlpha": 1
}
},
{
"name": "prize_okbtn",
"x": 126,
"y": 724,
"type": "sprite",
"props": {
"source": "prize_okbtn.png"
}
},
{
"name": "prize_placeholder",
"x": 183,
"y": 405,
"type": "sprite",
"props": {
"source": "prize_placeholder.png"
}
},
{
"name": "prize_progressbg",
"x": 19,
"y": 667,
"type": "sprite",
"props": {
"source": "prize_progressbg.png"
}
},
{
"name": "prize_progressfront",
"x": 27,
"y": 671,
"type": "sprite",
"props": {
"source": "prize_progressfront.png"
}
}
]
},
{
"name": "index2",
"x": 0,
"y": 0,
"type": "container",
"children": [
{
"name": "bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "bg.png"
}
},
{
"name": "bg2",
"x": 32,
"y": 365,
"type": "sprite",
"props": {
"source": "bg2.png"
}
},
{
"name": "title",
"x": 268,
"y": 239,
"type": "sprite",
"props": {
"source": "title.png"
}
},
{
"name": "marquee",
"x": 78,
"y": 298,
"type": "sprite",
"props": {
"source": "marquee.png"
}
},
{
"name": "rulebtn",
"x": 611,
"y": 223,
"type": "sprite",
"props": {
"source": "rulebtn.png"
}
},
{
"name": "task1",
"x": 59,
"y": 1270,
"type": "container",
"children": [
{
"name": "task1bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "task1bg.png"
}
},
{
"name": "task1tips",
"x": 31,
"y": 27,
"type": "text",
"props": {
"text": "在三湘银行开户即可增加XXX体验金",
"size": 24,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "task1btn",
"x": 479,
"y": 17,
"type": "sprite",
"props": {
"source": "task1btn.png"
}
}
]
},
{
"name": "task2new",
"x": 59,
"y": 1361,
"type": "container",
"children": [
{
"name": "task2bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "task2bg.png"
}
},
{
"name": "task2newtip1",
"x": 32,
"y": 20,
"type": "text",
"props": {
"text": "当前账户余额XXX元,每天体验金增长XX元",
"size": 24,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "task2newtip2",
"x": 509,
"y": 20,
"type": "text",
"props": {
"text": "未开户",
"size": 24,
"fillColor": "#958e8a",
"textAlpha": 1
}
},
{
"name": "task2newtip3",
"x": 29,
"y": 73,
"type": "text",
"props": {
"text": "账户余额100元,每天体验金增长XX元",
"size": 20,
"fillColor": "#958e8a",
"textAlpha": 1
}
},
{
"name": "task2newtip4",
"x": 29,
"y": 113,
"type": "text",
"props": {
"text": "账户余额200元,每天体验金增长XX元",
"size": 20,
"fillColor": "#958e8a",
"textAlpha": 1
}
},
{
"name": "task2newtip5",
"x": 29,
"y": 152,
"type": "text",
"props": {
"text": "账户余额500元,每天体验金增长XX元",
"size": 20,
"fillColor": "#958e8a",
"textAlpha": 1
}
}
]
},
{
"name": "task2",
"x": 59,
"y": 1270,
"type": "container",
"children": [
{
"name": "task2bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "task2bg.png"
}
},
{
"name": "task2_0",
"x": 32,
"y": 20,
"type": "text",
"props": {
"text": "当前账户余额XXX元,每天体验金增长XX元",
"size": 24,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "task2_1",
"x": 508,
"y": 20,
"type": "text",
"props": {
"text": "未达标",
"size": 24,
"fillColor": "#958e8a",
"textAlpha": 1
}
},
{
"name": "task2_2",
"x": 488,
"y": 20,
"type": "text",
"props": {
"text": "体验金+XX",
"size": 24,
"fillColor": "#958e8a",
"textAlpha": 1
}
},
{
"name": "task2_3",
"x": 29,
"y": 73,
"type": "text",
"props": {
"text": "账户余额100元,每天体验金增长XX元",
"size": 20,
"fillColor": "#958e8a",
"textAlpha": 1
}
},
{
"name": "task2_4",
"x": 29,
"y": 113,
"type": "text",
"props": {
"text": "账户余额200元,每天体验金增长XX元",
"size": 20,
"fillColor": "#958e8a",
"textAlpha": 1
}
},
{
"name": "task2_5",
"x": 29,
"y": 152,
"type": "text",
"props": {
"text": "账户余额500元,每天体验金增长XX元",
"size": 20,
"fillColor": "#958e8a",
"textAlpha": 1
}
}
]
},
{
"name": "yesterdayIncomeTips",
"x": 261,
"y": 581,
"type": "text",
"props": {
"text": "昨日收益:500元",
"size": 30,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "drawTips",
"x": 257,
"y": 909,
"type": "text",
"props": {
"text": "收益满7天即可提现~",
"size": 24,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "sumIncomeTips",
"x": 123,
"y": 672,
"type": "text",
"props": {
"text": "100",
"size": 40,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "millionSharesTips",
"x": 344,
"y": 672,
"type": "text",
"props": {
"text": "100",
"size": 40,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "sevenDayAnnualizationTips",
"x": 563,
"y": 672,
"type": "text",
"props": {
"text": "100",
"size": 40,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "experienceAmountTips",
"x": 302,
"y": 495,
"type": "text",
"props": {
"text": "1000元",
"size": 60,
"fillColor": "#ff2f50",
"textAlpha": 1
}
},
{
"name": "drawBtn",
"x": 205,
"y": 805,
"type": "sprite",
"props": {
"source": "drawBtn.png"
}
},
{
"name": "drawGrayBtn",
"x": 205,
"y": 805,
"type": "sprite",
"props": {
"source": "drawGrayBtn.png"
}
},
{
"name": "inviteBtn",
"x": 205,
"y": 1168,
"type": "sprite",
"props": {
"source": "inviteBtn.png"
}
},
{
"name": "progressbg",
"x": 151,
"y": 1039,
"type": "sprite",
"props": {
"source": "progressbg.png"
}
},
{
"name": "progress",
"x": 153,
"y": 1040,
"type": "sprite",
"props": {
"source": "progress.png"
}
},
{
"name": "invitePercentTips",
"x": 318,
"y": 1086,
"type": "text",
"props": {
"text": "1000/1000000",
"size": 24,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "inviteTips",
"x": 166,
"y": 1122,
"type": "text",
"props": {
"text": "已有XX位好友助力,体验金增加XXXX元",
"size": 24,
"fillColor": "#c75b2b",
"textAlpha": 1
}
}
]
},
{
"name": "index3",
"x": 0,
"y": 0,
"type": "container",
"children": [
{
"name": "wrapper",
"x": 0,
"y": 0,
"type": "container",
"children": [
{
"name": "bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "bg.png"
}
},
{
"name": "bg2",
"x": 32,
"y": 365,
"type": "sprite",
"props": {
"source": "bg2.png"
}
},
{
"name": "title",
"x": 268,
"y": 239,
"type": "sprite",
"props": {
"source": "title.png"
}
},
{
"name": "marquee",
"x": 78,
"y": 298,
"type": "sprite",
"props": {
"source": "marquee.png"
}
},
{
"name": "rulebtn",
"x": 611,
"y": 223,
"type": "sprite",
"props": {
"source": "rulebtn.png"
}
},
{
"name": "task1",
"x": 59,
"y": 1270,
"type": "container",
"children": [
{
"name": "task1bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "task1bg.png"
}
},
{
"name": "task1tips",
"x": 31,
"y": 27,
"type": "text",
"props": {
"text": "在三湘银行开户即可增加XXX体验金",
"size": 24,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "task1btn",
"x": 479,
"y": 17,
"type": "sprite",
"props": {
"source": "task1btn.png"
}
}
]
},
{
"name": "task2new",
"x": 59,
"y": 1361,
"type": "container",
"children": [
{
"name": "task2bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "task2bg.png"
}
},
{
"name": "task2newtip1",
"x": 32,
"y": 20,
"type": "text",
"props": {
"text": "当前账户余额XXX元,每天体验金增长XX元",
"size": 24,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "task2newtip2",
"x": 509,
"y": 20,
"type": "text",
"props": {
"text": "未开户",
"size": 24,
"fillColor": "#958e8a",
"textAlpha": 1
}
},
{
"name": "task2newtip3",
"x": 29,
"y": 73,
"type": "text",
"props": {
"text": "账户余额100元,每天体验金增长XX元",
"size": 20,
"fillColor": "#958e8a",
"textAlpha": 1
}
},
{
"name": "task2newtip4",
"x": 29,
"y": 113,
"type": "text",
"props": {
"text": "账户余额200元,每天体验金增长XX元",
"size": 20,
"fillColor": "#958e8a",
"textAlpha": 1
}
},
{
"name": "task2newtip5",
"x": 29,
"y": 152,
"type": "text",
"props": {
"text": "账户余额500元,每天体验金增长XX元",
"size": 20,
"fillColor": "#958e8a",
"textAlpha": 1
}
}
]
},
{
"name": "task2",
"x": 59,
"y": 1270,
"type": "container",
"children": [
{
"name": "task2bg",
"x": 0,
"y": 0,
"type": "sprite",
"props": {
"source": "task2bg.png"
}
},
{
"name": "task2_0",
"x": 32,
"y": 20,
"type": "text",
"props": {
"text": "当前账户余额XXX元,每天体验金增长XX元",
"size": 24,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "task2_1",
"x": 508,
"y": 20,
"type": "text",
"props": {
"text": "未达标",
"size": 24,
"fillColor": "#958e8a",
"textAlpha": 1
}
},
{
"name": "task2_2",
"x": 488,
"y": 20,
"type": "text",
"props": {
"text": "体验金+XX",
"size": 24,
"fillColor": "#958e8a",
"textAlpha": 1
}
},
{
"name": "task2_3",
"x": 29,
"y": 73,
"type": "text",
"props": {
"text": "账户余额100元,每天体验金增长XX元",
"size": 20,
"fillColor": "#958e8a",
"textAlpha": 1
}
},
{
"name": "task2_4",
"x": 29,
"y": 113,
"type": "text",
"props": {
"text": "账户余额200元,每天体验金增长XX元",
"size": 20,
"fillColor": "#958e8a",
"textAlpha": 1
}
},
{
"name": "task2_5",
"x": 29,
"y": 152,
"type": "text",
"props": {
"text": "账户余额500元,每天体验金增长XX元",
"size": 20,
"fillColor": "#958e8a",
"textAlpha": 1
}
}
]
},
{
"name": "yesterdayIncomeTips",
"x": 261,
"y": 581,
"type": "text",
"props": {
"text": "昨日收益:500元",
"size": 30,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "drawTips",
"x": 257,
"y": 909,
"type": "text",
"props": {
"text": "收益满7天即可提现~",
"size": 24,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "sumIncomeTips",
"x": 123,
"y": 672,
"type": "text",
"props": {
"text": "100",
"size": 40,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "millionSharesTips",
"x": 344,
"y": 672,
"type": "text",
"props": {
"text": "100",
"size": 40,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "sevenDayAnnualizationTips",
"x": 563,
"y": 672,
"type": "text",
"props": {
"text": "100",
"size": 40,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "experienceAmountTips",
"x": 302,
"y": 495,
"type": "text",
"props": {
"text": "1000元",
"size": 60,
"fillColor": "#ff2f50",
"textAlpha": 1
}
},
{
"name": "drawBtn",
"x": 205,
"y": 805,
"type": "sprite",
"props": {
"source": "drawBtn.png"
}
},
{
"name": "drawGrayBtn",
"x": 205,
"y": 805,
"type": "sprite",
"props": {
"source": "drawGrayBtn.png"
}
},
{
"name": "inviteBtn",
"x": 205,
"y": 1168,
"type": "sprite",
"props": {
"source": "inviteBtn.png"
}
},
{
"name": "progressbg",
"x": 151,
"y": 1039,
"type": "sprite",
"props": {
"source": "progressbg.png"
}
},
{
"name": "progress",
"x": 153,
"y": 1040,
"type": "sprite",
"props": {
"source": "progress.png"
}
},
{
"name": "invitePercentTips",
"x": 318,
"y": 1086,
"type": "text",
"props": {
"text": "1000/1000000",
"size": 24,
"fillColor": "#c75b2b",
"textAlpha": 1
}
},
{
"name": "inviteTips",
"x": 166,
"y": 1122,
"type": "text",
"props": {
"text": "已有XX位好友助力,体验金增加XXXX元",
"size": 24,
"fillColor": "#c75b2b",
"textAlpha": 1
}
}
]
}
]
}
]
}
\ No newline at end of file
......@@ -30,11 +30,14 @@ export class IndexScene extends Scene {
super.initUi();
const page = this.page = new FYGE.ScrollPage(750,getStageHeight(),1624,true,true);
page.isSpringBack=false;
this.addChild(page);
page.y = getStageOffset();
this.page.view.addChild(getObject(this,'wrapper'));
// getObject(this.page,'task1').visible=false;
// // getObject(this.page,'task2new').visible=false;
// getObject(this.page,'task2').visible=false;
}
async start(data) {
......@@ -46,20 +49,20 @@ export class IndexScene extends Scene {
this.showSharePanel();
}
sendWebNet(WebNetName.carouselInfo).then(res => {
console.log('carouselInfo ', res);
const template = '{phone}邀请了{friend}位好友,获得了{amount}体验金';
const datas = res.data.map(item => {
let str = template.replace('{phone}', item.nickname);
str = str.replace('{friend}', item.friend);
str = str.replace('{amount}', item.amount);
return str
});
const q = this.addChild(new Marquee(datas));
q.y = 50;
q.x = 50;
});
// sendWebNet(WebNetName.carouselInfo).then(res => {
// console.log('carouselInfo ', res);
// const template = '{phone}邀请了{friend}位好友,获得了{amount}体验金';
// const datas = res.data.map(item => {
// let str = template.replace('{phone}', item.nickname);
// str = str.replace('{friend}', item.friend);
// str = str.replace('{amount}', item.amount);
// return str
// });
// const q = this.page.view.addChild(new Marquee(datas));
// q.y = 50;
// q.x = 50;
// });
sendWebNet(WebNetName.createItem).then(createItemResult => {
......
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