Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
崔立强
db-game-template
Commits
4a13644d
Commit
4a13644d
authored
Aug 10, 2020
by
huangwenjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20200810 下线前版本
parent
f3472dfb
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
136 additions
and
45 deletions
+136
-45
exml.json
egret/.wing/exml.json
+1
-1
index.html
egret/index.html
+9
-4
bindCard.tmproject
egret/resource/TextureMerger/bindCard.tmproject
+1
-1
common.tmproject
egret/resource/TextureMerger/common.tmproject
+1
-1
main.tmproject
egret/resource/TextureMerger/main.tmproject
+1
-1
money.tmproject
egret/resource/TextureMerger/money.tmproject
+1
-1
noname.tmproject
egret/resource/TextureMerger/noname.tmproject
+1
-1
preload.tmproject
egret/resource/TextureMerger/preload.tmproject
+1
-0
qa.tmproject
egret/resource/TextureMerger/qa.tmproject
+1
-1
record.tmproject
egret/resource/TextureMerger/record.tmproject
+1
-1
rule.tmproject
egret/resource/TextureMerger/rule.tmproject
+1
-1
sign.tmproject
egret/resource/TextureMerger/sign.tmproject
+1
-1
start.tmproject
egret/resource/TextureMerger/start.tmproject
+1
-1
task.tmproject
egret/resource/TextureMerger/task.tmproject
+1
-1
main_sign_bg2.png
egret/resource/assets/main/main_sign_bg2.png
+0
-0
default.res.json
egret/resource/default.res.json
+6
-1
default.thm.json
egret/resource/default.thm.json
+1
-0
MainSkin.exml
egret/resource/skins/MainSkin.exml
+14
-4
SignNoPrizeSkin.exml
egret/resource/skins/SignNoPrizeSkin.exml
+14
-0
MainBase.ts
egret/src/MainBase.ts
+3
-1
MainScene.ts
egret/src/MainScene.ts
+41
-15
SignNoPrizePanel.ts
egret/src/panels/SignNoPrizePanel.ts
+26
-0
yyh_join_2_join.json
mock/yyh_join_2_join.json
+7
-7
yyh_join_2_signInfo.json
mock/yyh_join_2_signInfo.json
+2
-1
No files found.
egret/.wing/exml.json
View file @
4a13644d
...
...
@@ -8,7 +8,7 @@
"globalBackgroundHeight"
:
-1
,
"globalBackgroundColor"
:
"#939393"
,
"globalBackgroundImage"
:
""
,
"globalAutoLayerMarkEnable"
:
fals
e
"globalAutoLayerMarkEnable"
:
tru
e
},
"1667fb18fa6"
:
{
"bindingDataTestObj"
:
[
...
...
egret/index.html
View file @
4a13644d
...
...
@@ -46,7 +46,6 @@
<script
src=
"libs/svga.egret.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/activity/game/cmblapi.min.js"
></script>
<script>
window
[
'getPxToken'
]
=
(
callback
)
=>
{
callback
(
''
,
'fuck'
)
}
...
...
@@ -62,11 +61,12 @@
window
[
"isAutoLoginPage"
]
=
0
;
window
[
'appId'
]
=
22319
;
window
[
'signRule'
]
=
'1<br>2<br>3<br>4<br>5<br>6<br>7<br>8<br>'
;
window
[
'adEnabled'
]
=
1
;
window
[
'adEnabled'
]
=
0
;
window
[
'adUrl'
]
=
'http://yun.duiba.com.cn/db_games/1022/60142.png'
;
window
[
'adLink'
]
=
'http://yun.duiba.com.cn/db_games/1022/60142.png'
;
window
[
'adRect'
]
=
[
0
,
0
,
100
,
100
];
window
[
'adRect'
]
=
[
0
,
3
0
,
100
,
100
];
window
[
'adWrapHeight'
]
=
200
;
window
[
'projectID'
]
=
'p32804e45'
;
window
[
'renderMode'
]
=
'webgl'
;
window
[
'development'
]
=
true
;
...
...
@@ -77,7 +77,12 @@
var
gameId
=
1
;
window
[
'exchangeTips1'
]
=
' 亲爱的主人,本期礼品兑换时间为6月1日上午10:00-6月2日23:59,兑换礼品包含佳佰马克杯(1个)2200份,奥妙3kg洗衣液 (1瓶)300份,礼品有限,先到先得,兑完即止;
\
n 成功兑换礼品后,请于6月10日—16日至所选网点进行现场核销领取礼品(限网点营业时间内领取),过期作废,不得代领,记得按时领取哦。'
' 亲爱的主人,本期礼品兑换时间为6月1日上午10:00-6月2日23:59,兑换礼品包含佳佰马克杯(1个)2200份,奥妙3kg洗衣液 (1瓶)300份,礼品有限,先到先得,兑完即止;
\
n'
+
'成功兑换礼品后,请于6月10日—16日至所选网点进行现场核销领取礼品(限网点营业时间内领取),过期作废,不得代领,记得按时领取哦。
\
n'
+
'亲爱的主人,为了给您提供更优质的服务,“安徽签到有礼”活动将于近期优化升级。'
+
'1、自8月11日上午10: 00起,签到、每日答题、我的任务功能将不再累计积分。'
+
'2、您已获得的“松果”积分,可在2020年9月1日上午10:00 - 9月2日23: 59及2020年10月1日上午10:00 - 10月2日23: 59继续参与礼品兑换,积分将于2020年10月3日清零。请您不要忘记哦。'
+
'感谢您对“安徽签到有礼”活动的支持,后期小招将推出更多精品活动,请您继续关注城市服务 - 合肥专区,更多优惠等您来。'
var
recordUrl
=
'record/'
;
var
resPath
=
''
;
...
...
egret/resource/TextureMerger/bindCard.tmproject
View file @
4a13644d
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"bindCard","version":5,"files":["../assets/bindScene/bindCardBtn.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"bindCard","version":5,"files":["..\\assets\\bindScene\\bindCardBtn.png"]}
\ No newline at end of file
egret/resource/TextureMerger/common.tmproject
View file @
4a13644d
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"common","version":5,"files":["../assets/common/toast.png","../assets/common/common_sign_btn1.png","../assets/common/common_okbtn.png","../assets/common/common_closebtn.png","../assets/common/shadow.png","../assets/common/invitebtn2.png","../assets/common/invitebtn1.png","../assets/common/common_share.png","../assets/common/bg1.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"common","version":5,"files":["..\\assets\\common\\toast.png","..\\assets\\common\\common_sign_btn1.png","..\\assets\\common\\common_okbtn.png","..\\assets\\common\\common_closebtn.png","..\\assets\\common\\shadow.png","..\\assets\\common\\invitebtn2.png","..\\assets\\common\\invitebtn1.png","..\\assets\\common\\common_share.png","..\\assets\\common\\bg1.png"]}
\ No newline at end of file
egret/resource/TextureMerger/main.tmproject
View file @
4a13644d
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"main","version":5,"files":["../assets/main/main_bg1.png","../assets/main/main_guidebtn.png","../assets/main/main_nextbtn.png","../assets/main/main_sign_1.png","../assets/main/main_sign_2.png","../assets/main/main_sign_3.png","../assets/main/main_sign_4.png","../assets/main/main_sign_bg.png","../assets/main/main_text1.png","../assets/main/main_text2.png","../assets/main/main_text3.png","../assets/main/main_text4.png","../assets/main/main_text5.png","../assets/main/main攻略.png","../assets/main/main签到.png","../assets/main/main任务.png","../assets/main/main推荐.png","../assets/main/mian_exchange_bg.png","../assets/main/mian_exchange_item_bg.png","../assets/main/mian_exchange_item_btn.png","../assets/main/mian_exchangebtn.png","../assets/main/mian_step1.png","../assets/main/maintextact6.png","../assets/main/maintextact5.png","../assets/main/maintextact4.png","../assets/main/maintextact3.png","../assets/main/maintextact2.png","../assets/main/maintext_act1.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"main","version":5,"files":["..\\assets\\main\\main_bg1.png","..\\assets\\main\\main_guidebtn.png","..\\assets\\main\\main_nextbtn.png","..\\assets\\main\\main_sign_1.png","..\\assets\\main\\main_sign_2.png","..\\assets\\main\\main_sign_3.png","..\\assets\\main\\main_sign_4.png","..\\assets\\main\\main_sign_bg.png","..\\assets\\main\\main_text1.png","..\\assets\\main\\main_text2.png","..\\assets\\main\\main_text3.png","..\\assets\\main\\main_text4.png","..\\assets\\main\\main_text5.png","..\\assets\\main\\main攻略.png","..\\assets\\main\\main签到.png","..\\assets\\main\\main任务.png","..\\assets\\main\\main推荐.png","..\\assets\\main\\mian_exchange_bg.png","..\\assets\\main\\mian_exchange_item_bg.png","..\\assets\\main\\mian_exchange_item_btn.png","..\\assets\\main\\mian_exchangebtn.png","..\\assets\\main\\mian_step1.png","..\\assets\\main\\maintextact6.png","..\\assets\\main\\maintextact5.png","..\\assets\\main\\maintextact4.png","..\\assets\\main\\maintextact3.png","..\\assets\\main\\maintextact2.png","..\\assets\\main\\maintext_act1.png","..\\assets\\main\\main_sign_bg2.png"]}
\ No newline at end of file
egret/resource/TextureMerger/money.tmproject
View file @
4a13644d
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"money","version":5,"files":["../assets/money/moneybg2.png","../assets/money/moneybg.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"money","version":5,"files":["..\\assets\\money\\moneybg2.png","..\\assets\\money\\moneybg.png"]}
\ No newline at end of file
egret/resource/TextureMerger/noname.tmproject
View file @
4a13644d
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"noname","version":5,"files":["../assets/common/toast.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"noname","version":5,"files":["..\\assets\\common\\toast.png"]}
\ No newline at end of file
egret/resource/TextureMerger/preload.tmproject
0 → 100644
View file @
4a13644d
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"preload","version":5,"files":["..\\assets\\main\\main_sign_bg2.png"]}
\ No newline at end of file
egret/resource/TextureMerger/qa.tmproject
View file @
4a13644d
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"qa","version":5,"files":["../assets/qa/qa_successbg.png","../assets/qa/qa_nextbtn.png","../assets/qa/qa_icon_B.png","../assets/qa/qa_icon_A.png","../assets/qa/qa_fail_bg.png","../assets/qa/qa_btn_tips.png","../assets/qa/qa_btn_ok.png","../assets/qa/qa_btn_ok_gray.png","../assets/qa/qa_btn_nextday.png","../assets/qa/qa_btn_next.png","../assets/qa/qa_bg_tips.png","../assets/qa/qa_bg_select_item.png","../assets/qa/qa_bg_item.png","../assets/qa/qa_bg_error.png","../assets/qa/qa_bg_correct.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"qa","version":5,"files":["..\\assets\\qa\\qa_successbg.png","..\\assets\\qa\\qa_nextbtn.png","..\\assets\\qa\\qa_icon_B.png","..\\assets\\qa\\qa_icon_A.png","..\\assets\\qa\\qa_fail_bg.png","..\\assets\\qa\\qa_btn_tips.png","..\\assets\\qa\\qa_btn_ok.png","..\\assets\\qa\\qa_btn_ok_gray.png","..\\assets\\qa\\qa_btn_nextday.png","..\\assets\\qa\\qa_btn_next.png","..\\assets\\qa\\qa_bg_tips.png","..\\assets\\qa\\qa_bg_select_item.png","..\\assets\\qa\\qa_bg_item.png","..\\assets\\qa\\qa_bg_error.png","..\\assets\\qa\\qa_bg_correct.png"]}
\ No newline at end of file
egret/resource/TextureMerger/record.tmproject
View file @
4a13644d
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"record","version":5,"files":["../assets/record/record2.png","../assets/record/record1.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"record","version":5,"files":["..\\assets\\record\\record2.png","..\\assets\\record\\record1.png"]}
\ No newline at end of file
egret/resource/TextureMerger/rule.tmproject
View file @
4a13644d
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"rule","version":5,"files":["../assets/rule/rulebg.png","../assets/rule/rulebg2.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"rule","version":5,"files":["..\\assets\\rule\\rulebg.png","..\\assets\\rule\\rulebg2.png"]}
\ No newline at end of file
egret/resource/TextureMerger/sign.tmproject
View file @
4a13644d
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"sign","version":5,"files":["../assets/sign/sign7_bg.png","../assets/sign/sign3bg.png","../assets/sign/sign1_text2.png","../assets/sign/sign1_text1.png","../assets/sign/sign1_bg.png","../assets/sign/sign_btn1.png","../assets/sign/sign_bg.png","../assets/sign/sign1_text2的副本.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"sign","version":5,"files":["..\\assets\\sign\\sign7_bg.png","..\\assets\\sign\\sign3bg.png","..\\assets\\sign\\sign1_text2.png","..\\assets\\sign\\sign1_text1.png","..\\assets\\sign\\sign1_bg.png","..\\assets\\sign\\sign_btn1.png","..\\assets\\sign\\sign_bg.png","..\\assets\\sign\\sign1_text2的副本.png"]}
\ No newline at end of file
egret/resource/TextureMerger/start.tmproject
View file @
4a13644d
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"start","version":5,"files":["../assets/start/start_tips.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"start","version":5,"files":["..\\assets\\start\\start_tips.png"]}
\ No newline at end of file
egret/resource/TextureMerger/task.tmproject
View file @
4a13644d
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"task","version":5,"files":["../assets/task/taskbg.png","../assets/task/task_icon.png","../assets/task/task_close.png","../assets/task/task_btn2.png","../assets/task/task_btn1.png","../assets/task/task_bg2.png","../assets/task/task_bg1.png","../assets/task/task_wx.png","../assets/task/task_pyq.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"task","version":5,"files":["..\\assets\\task\\taskbg.png","..\\assets\\task\\task_icon.png","..\\assets\\task\\task_close.png","..\\assets\\task\\task_btn2.png","..\\assets\\task\\task_btn1.png","..\\assets\\task\\task_bg2.png","..\\assets\\task\\task_bg1.png","..\\assets\\task\\task_wx.png","..\\assets\\task\\task_pyq.png"]}
\ No newline at end of file
egret/resource/assets/main/main_sign_bg2.png
0 → 100644
View file @
4a13644d
5.27 KB
egret/resource/default.res.json
View file @
4a13644d
...
...
@@ -37,7 +37,7 @@
"name"
:
"noname"
},
{
"keys"
:
"main_bg1_png,main_guidebtn_png,main_nextbtn_png,main_sign_1_png,main_sign_2_png,main_sign_3_png,main_sign_4_png,main_sign_bg_png,main_text1_png,main_text2_png,main_text3_png,main_text4_png,main_text5_png,main攻略_png,main签到_png,main任务_png,main推荐_png,mian_exchange_bg_png,mian_exchange_item_bg_png,mian_exchange_item_btn_png,mian_exchangebtn_png,mian_step1_png,maintextact6_png,maintextact5_png,maintextact4_png,maintextact3_png,maintextact2_png,maintext_act1_png"
,
"keys"
:
"main_bg1_png,main_guidebtn_png,main_nextbtn_png,main_sign_1_png,main_sign_2_png,main_sign_3_png,main_sign_4_png,main_sign_bg_png,main_text1_png,main_text2_png,main_text3_png,main_text4_png,main_text5_png,main攻略_png,main签到_png,main任务_png,main推荐_png,mian_exchange_bg_png,mian_exchange_item_bg_png,mian_exchange_item_btn_png,mian_exchangebtn_png,mian_step1_png,maintextact6_png,maintextact5_png,maintextact4_png,maintextact3_png,maintextact2_png,maintext_act1_png
,main_sign_bg2_png
"
,
"name"
:
"main"
},
{
...
...
@@ -510,6 +510,11 @@
"url"
:
"assets/common/bg1.png"
,
"type"
:
"image"
,
"name"
:
"bg1_png"
},
{
"url"
:
"assets/main/main_sign_bg2.png"
,
"type"
:
"image"
,
"name"
:
"main_sign_bg2_png"
}
]
}
\ No newline at end of file
egret/resource/default.thm.json
View file @
4a13644d
...
...
@@ -18,6 +18,7 @@
"resource/skins/Sign1Skin.exml"
,
"resource/skins/Sign3Skin.exml"
,
"resource/skins/Sign7Skin.exml"
,
"resource/skins/SignNoPrizeSkin.exml"
,
"resource/skins/SignSkin.exml"
,
"resource/skins/StartSkin.exml"
,
"resource/skins/SubmitInviteSkin.exml"
,
...
...
egret/resource/skins/MainSkin.exml
View file @
4a13644d
...
...
@@ -21,7 +21,7 @@
<e:Image
id=
"inviteBtn"
source=
"main推荐_png"
x=
"368.3"
y=
"42.97"
/>
<e:Image
id=
"qaBtn"
source=
"main签到_png"
x=
"607.3"
y=
"187"
/>
<e:Image
id=
"taskBtn"
source=
"main任务_png"
x=
"611"
y=
"335.34"
/>
<e:Group
id=
"exchangeGroup"
x=
"45"
y=
"1
076
"
>
<e:Group
id=
"exchangeGroup"
x=
"45"
y=
"1
350
"
>
<e:Image
id=
"exchangeBg"
source=
"mian_exchange_bg_png"
x=
"0"
y=
"0"
scale9Grid=
"224,110,354,286"
/>
<e:Image
id=
"recordBtn"
source=
"mian_exchangebtn_png"
x=
"456.61"
y=
"29.76"
/>
<e:Group
id=
"exchangeListGroup"
x=
"12"
y=
"101"
width=
"636"
height=
"360"
locked=
"true"
>
...
...
@@ -43,14 +43,19 @@
<e:Group
id=
"group1"
x=
"0"
y=
"169"
>
<e:Image
source=
"bg1_png"
y=
"0"
x=
"0"
/>
<e:Label
text=
"温馨提示"
y=
"62"
textColor=
"0x731512"
horizontalCenter=
"0"
/>
<e:Label
id=
"label1"
text=
" 亲爱的主人,本t期礼品兑换时间为4月1日-2日,兑换礼品包含招行抽纸2000份(每份5盒),保鲜碗套装15"
y=
"106.38"
textColor=
"0x731512"
size=
"24"
width=
"579"
horizontalCenter=
"0.5"
lineSpacing=
"6"
/>
<e:Scroller
width=
"612"
height=
"205"
y=
"98"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
horizontalCenter=
"0"
>
<e:Group
width=
"100%"
>
<e:Label
id=
"label1"
text=
" 亲爱的主人,本t期礼品兑换时间为4月1日-2日,兑换礼品包含招行抽纸2000份(每份5盒),保鲜碗套装15"
y=
"18.38000000000011"
textColor=
"0x731512"
size=
"24"
width=
"579"
horizontalCenter=
"0.5"
lineSpacing=
"6"
x=
"17"
scaleX=
"1"
scaleY=
"1"
/>
</e:Group>
</e:Scroller>
</e:Group>
</e:Group>
<e:Group
id=
"adgroup"
x=
"55"
y=
"1076"
width=
"66
0"
visible=
"false"
>
<e:Group
id=
"adgroup"
y=
"1348"
width=
"660"
horizontalCenter=
"
0"
visible=
"false"
>
<e:Image
id=
"adimg"
y=
"0"
horizontalCenter=
"0"
source=
""
/>
</e:Group>
<e:Group
id=
"signGroup"
x=
"48"
y=
"754"
>
<e:Image
source=
"main_sign_bg_png"
x=
"0"
y=
"0"
/>
<e:Image
source=
"main_sign_bg_png"
x=
"0"
y=
"0"
scale9Grid=
"23,257,610,15"
anchorOffsetY=
"0"
height=
"576"
/>
<e:Group
id=
"signed1"
x=
"36.85"
y=
"138.84"
visible=
"false"
>
<e:Image
source=
"main_sign_2_png"
x=
"0"
y=
"0"
/>
<e:Image
source=
"main_sign_1_png"
x=
"19.5"
y=
"28.16"
/>
...
...
@@ -83,6 +88,11 @@
<e:Image
id=
"signTips"
source=
"main_sign_3_png"
x=
"543"
y=
"83.68"
/>
<e:Label
id=
"signConTips"
text=
"已连续签到0天"
x=
"79"
y=
"42.35"
textColor=
"0x701408"
bold=
"true"
size=
"28"
/>
<e:Label
text=
"连续签到7天可额外获得10颗松果"
x=
"79"
y=
"82.68"
textColor=
"0x701408"
id=
"signConTips0"
size=
"24"
/>
<e:Label
id=
"warningTips"
text=
"亲爱的主人,为了给您提供更优质的服务,“安徽签到有礼”活动将于近期优化升级。 \n1.自8月11日上午10:00点起,签到、每日答题、我的任务功能将不再累计积分。 \n2.您已获得的“松果”积分,可在2020年9月1日上午10:00-9月2日23:59及2020年10月1日上午10:00-10月2日23:59继续参与礼品兑换,积分将于2020年10月3日清零。请您不要忘记哦。 感谢您对“安徽签到有礼”活动的支持,后期小招将推出更多精品活动,请您继续关注城市服务-合肥专区,更多优惠等您来。"
y=
"266.5"
anchorOffsetX=
"0"
width=
"569"
anchorOffsetY=
"0"
height=
"301"
textAlign=
"left"
textColor=
"0x731512"
size=
"24"
horizontalCenter=
"0"
lineSpacing=
"5"
/>
</e:Group>
<e:Group
id=
"warningGroup"
width=
"690"
height=
"416"
y=
"731"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
horizontalCenter=
"0"
visible=
"false"
>
<e:Image
source=
"main_sign_bg2_png"
y=
"24"
scale9Grid=
"81,35,492,213"
anchorOffsetY=
"0"
horizontalCenter=
"0"
height=
"362"
/>
<e:Label
id=
"warningTips2"
text=
"亲爱的主人,为了给您提供更优质的服务,“安徽签到有礼”活动将于近期优化升级。\n1.自8月11日上午10:00点起,签到、每日答题、我的任务功能将不再累计积分。\n2.您已获得的“松果”积分,可在2020年9月1日上午10:00-9月2日23:59及2020年10月1日上午10:00-10月2日23:59继续参与礼品兑换,积分将于2020年10月3日清零。请您不要忘记哦。 感谢您对“安徽签到有礼”活动的支持,后期小招将推出更多精品活动,请您继续关注城市服务-合肥专区,更多优惠等您来。"
y=
"74"
anchorOffsetX=
"0"
width=
"569"
anchorOffsetY=
"0"
height=
"301"
textAlign=
"left"
textColor=
"0x731512"
size=
"24"
horizontalCenter=
"0"
lineSpacing=
"5"
/>
</e:Group>
<e:Group
id=
"actionTextGroup"
x=
"310.67"
y=
"362.17"
touchChildren=
"false"
touchEnabled=
"false"
anchorOffsetX=
"98.67"
anchorOffsetY=
"77.33"
>
<e:Image
id=
"actionText1"
source=
"maintext_act1_png"
visible=
"false"
/>
...
...
egret/resource/skins/SignNoPrizeSkin.exml
0 → 100644
View file @
4a13644d
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"SignNoPrizeSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
source=
"sign_bg_png"
scale9Grid=
"93,694,564,109"
anchorOffsetY=
"0"
height=
"1158"
/>
<e:Button
id=
"closeBtn"
label=
""
y=
"1180"
horizontalCenter=
"0"
>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"common_closebtn_png"
source.down=
"common_closebtn_png"
source.disabled=
"common_closebtn_png"
/>
<e:Label
id=
"labelDisplay"
horizontalCenter=
"0"
verticalCenter=
"0"
/>
</e:Skin>
</e:skinName>
</e:Button>
<e:Image
id=
"closeBtn2"
source=
"sign_btn1_png"
y=
"1012"
horizontalCenter=
"0"
/>
<e:Label
id=
"tips"
text=
"亲爱的主人,为了给您提供更优质的服务,“安徽签到有礼”活动将于近期优化升级。 \n1.自8月11日0点起,签到、每日答题、我的任务功能将不再累计积分。 \n2.您已获得的“松果”积分,可在2020年9月1日上午10:00-9月2日23:59及2020年10月1日上午10:00-10月2日23:59继续参与礼品兑换,积分将于2020年10月3日清零。请您不要忘记哦。 感谢您对“安徽签到有礼”活动的支持,后期小招将推出更多精品活动,请您继续关注城市服务-合肥专区,更多优惠等您来。"
y=
"670"
textAlign=
"left"
horizontalCenter=
"0"
size=
"24"
width=
"500"
lineSpacing=
"5"
/>
</e:Skin>
\ No newline at end of file
egret/src/MainBase.ts
View file @
4a13644d
...
...
@@ -20,6 +20,7 @@ import Sign3Panel from "./panels/Sign3Panel";
import
Sign7Panel
from
"./panels/Sign7Panel"
;
import
SignPanel
from
"./panels/SignPanel"
;
import
TaskPanel
from
"./panels/TaskPanel"
;
import
SignNoPrizePanel
from
'./panels/SignNoPrizePanel'
;
import
QAScene
from
"./QAScene"
;
import
QAScene2
from
"./QAScene2"
;
import
StartScene
from
"./StartScene"
;
...
...
@@ -47,6 +48,7 @@ export default class MainBase extends eui.UILayer {
[
'Sign1Panel'
,
{
cls
:
Sign1Panel
}],
[
'Sign3Panel'
,
{
cls
:
Sign3Panel
}],
[
'Sign7Panel'
,
{
cls
:
Sign7Panel
}],
[
'SignNoPrizePanel'
,
{
cls
:
SignNoPrizePanel
}],
];
const
scenes
=
[
[
'BindCardScene'
,
{
cls
:
BindCardScene
}],
...
...
@@ -153,7 +155,7 @@ export default class MainBase extends eui.UILayer {
})
}
protected
async
createGameScene
()
{
protected
async
createGameScene
()
{
if
(
window
[
"isAutoLoginPage"
])
{
this
.
autoLogin
()
return
...
...
egret/src/MainScene.ts
View file @
4a13644d
...
...
@@ -31,11 +31,18 @@ export default class MainScene extends Scene {
let
guide
=
d
&&
d
.
fromStart
;
this
.
scroll
.
height
=
this
.
stage
.
stageHeight
;
let
groupHeight
=
1624
;
//默认是1624,加了广告,要更长
let
groupHeight
=
1624
+
200
;
//默认是1624,加了广告,要更长
if
(
window
[
'adEnabled'
])
{
NetManager
.
ins
.
showLog
(
getlogItem
(
37
));
groupHeight
=
1624
+
window
[
'adWrapHeight'
];
this
[
'exchangeGroup'
].
y
+=
window
[
'adWrapHeight'
];
if
(
DataManager
.
ins
.
getData
(
'yyh_signInfo'
).
data
&&
!
DataManager
.
ins
.
getData
(
'yyh_signInfo'
).
data
.
addCredits
)
{
this
[
'exchangeGroup'
].
y
=
1350
-
150
+
window
[
'adWrapHeight'
];
// this['exchangeGroup'].y = 1350
this
[
'adgroup'
].
y
=
1350
-
200
}
else
{
this
[
'exchangeGroup'
].
y
=
1350
+
50
+
window
[
'adWrapHeight'
];
}
// this['bg'].height = groupHeight;
this
[
'adgroup'
].
visible
=
true
;
this
[
'adimg'
].
source
=
window
[
'adUrl'
];
...
...
@@ -51,18 +58,30 @@ export default class MainScene extends Scene {
}
this
.
sv
=
groupHeight
-
this
.
stage
.
stageHeight
;
//拉到底先
// this.initExchangeList();
if
(
DataManager
.
ins
.
getData
(
'yyh_signInfo'
).
data
&&
!
DataManager
.
ins
.
getData
(
'yyh_signInfo'
).
data
.
addCredits
)
{
// 不加积分 隐藏任务按钮和问卷按钮 更改签到样式
this
[
'qaBtn'
].
visible
=
false
this
[
'taskBtn'
].
visible
=
false
this
[
'warningGroup'
].
visible
=
true
this
[
'signGroup'
].
visible
=
false
this
[
'inviteBtn'
].
visible
=
false
if
(
guide
)
{
this
.
showGuide
();
wait
(
1000
).
then
(()
=>
{
this
.
showAni
(
4
,
true
)
});
}
else
{
}
else
{
this
.
checkDosign
();
this
.
clearGuide
(
1
);
wait
(
1000
).
then
(()
=>
{
this
.
showAni
(
4
,
true
)
});
}
// this.initExchangeList();
// if (guide) {
// this.showGuide();
// wait(1000).then(() => { this.showAni(4, true) });
// }
// else {
// }
this
[
'recordBtn'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
this
.
onTap_record
,
this
);
this
[
'inviteBtn'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
this
.
onTap_inviteBtn
,
this
);
this
[
'ruleBtn'
].
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
this
.
onTap_ruleBtn
,
this
);
...
...
@@ -117,10 +136,12 @@ export default class MainScene extends Scene {
let
list
=
DataManager
.
ins
.
getData
(
"getExchangeList"
)
&&
DataManager
.
ins
.
getData
(
"getExchangeList"
).
data
&&
DataManager
.
ins
.
getData
(
"getExchangeList"
).
data
.
list
?
DataManager
.
ins
.
getData
(
"getExchangeList"
).
data
.
list
:
[]
let
i
=
0
;
this
.
bg
.
height
=
1624
+
(
Math
.
ceil
(
list
.
length
/
2
)
-
1
)
*
350
+
300
+
300
;
this
.
bg
.
height
=
1624
+
200
+
(
Math
.
ceil
(
list
.
length
/
2
)
-
1
)
*
350
+
300
+
300
;
if
(
window
[
'adEnabled'
]
==
0
)
this
.
bg
.
height
-=
window
[
'adWrapHeight'
];
this
.
exchangeBg
.
height
=
477
+
(
Math
.
ceil
(
list
.
length
/
2
)
-
1
)
*
350
+
30
;
this
.
exchangeBg
.
height
=
477
+
(
Math
.
ceil
(
list
.
length
/
2
)
-
1
)
*
350
+
30
>
500
?
477
+
(
Math
.
ceil
(
list
.
length
/
2
)
-
1
)
*
350
+
30
:
500
;
this
[
'group1'
].
y
=
477
+
(
Math
.
ceil
(
list
.
length
/
2
)
-
1
)
*
350
+
30
;
this
[
'label1'
].
text
=
window
[
'exchangeTips1'
];
...
...
@@ -358,13 +379,18 @@ export default class MainScene extends Scene {
this
.
fuck
();
}
const
continueDay
=
dosign
.
continueDay
;
if
(
continueDay
==
1
)
{
PanelCtrl
.
instance
.
show
(
'Sign1Panel'
,
{
id
:
dosign
.
prizeId
});
}
else
if
(
continueDay
==
7
)
{
PanelCtrl
.
instance
.
show
(
'Sign7Panel'
,
{
id
:
dosign
.
prizeId
});
if
(
dosign
.
prizeId
)
{
if
(
continueDay
==
1
)
{
PanelCtrl
.
instance
.
show
(
'Sign1Panel'
,
{
id
:
dosign
.
prizeId
});
}
else
if
(
continueDay
==
7
)
{
PanelCtrl
.
instance
.
show
(
'Sign7Panel'
,
{
id
:
dosign
.
prizeId
});
}
else
{
PanelCtrl
.
instance
.
show
(
'Sign3Panel'
,
{
id
:
dosign
.
prizeId
});
}
}
else
{
PanelCtrl
.
instance
.
show
(
'Sign
3Panel'
,
{
id
:
dosign
.
prizeId
});
PanelCtrl
.
instance
.
show
(
'Sign
NoPrizePanel'
)
}
}
this
.
updateSignInfo
();
this
.
pollingCredit
();
...
...
egret/src/panels/SignNoPrizePanel.ts
0 → 100644
View file @
4a13644d
import
Panel
from
"../../libs/new_wx/components/Panel"
;
import
{
DataManager
}
from
"../../libs/tw/manager/DataManager"
;
import
getPrize
from
"../getPrize"
;
import
{
NetManager
}
from
"../../libs/tw/manager/NetManager"
;
import
{
getlogItem
}
from
"../LoadingScene"
;
export
default
class
SignNoPrizePanel
extends
Panel
{
start
()
{
super
.
start
();
// const dosign = DataManager.ins.getData('yyh_dosign').data;
this
[
'tips'
].
text
=
`亲爱的主人,为了给您提供更优质的服务,“安徽签到有礼”活动将于近期优化升级。 1.自8月11日0点起,签到、每日答题、我的任务功能将不再累计积分。 2.您已获得的“松果”积分,可在2020年9月1日上午10:00-9月2日23:59及2020年10月1日上午10:00-10月2日23:59继续参与礼品兑换,积分将于2020年10月3日清零。请您不要忘记哦。 感谢您对“安徽签到有礼”活动的支持,后期小招将推出更多精品活动,请您继续关注城市服务-合肥专区,更多优惠等您来。`
;
NetManager
.
ins
.
showLog
(
getlogItem
(
7
));
}
onTouchTap_closeBtn
()
{
super
.
onTouchTap_closeBtn
();
NetManager
.
ins
.
clickLog
(
getlogItem
(
7
));
}
protected
get
closeBtns
():
eui
.
Button
[]
{
return
[
this
[
'closeBtn'
],
this
[
'closeBtn2'
]]
}
get
skinKey
()
{
return
'SignNoPrize'
}
get
resKey
()
{
return
'sign'
}
}
\ No newline at end of file
mock/yyh_join_2_join.json
View file @
4a13644d
{
"success"
:
1
,
"message"
:
""
,
"code"
:
""
,
"data"
:{
"continueDay"
:
1
,
"prizeId"
:
"sss_1"
,
"breakDays"
:
1
"success"
:
1
,
"message"
:
""
,
"code"
:
""
,
"data"
:
{
"continueDay"
:
1
,
"prizeId"
:
"sss_1"
,
"breakDays"
:
1
}
}
\ No newline at end of file
mock/yyh_join_2_signInfo.json
View file @
4a13644d
...
...
@@ -2,7 +2,8 @@
"code"
:
null
,
"data"
:
{
"continueDay"
:
0
,
"todaySigned"
:
0
"todaySigned"
:
0
,
"addCredits"
:
false
},
"message"
:
null
,
"success"
:
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment