Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
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
wildfirecode13
xiaoxiaole
Commits
8dfe6e5e
Commit
8dfe6e5e
authored
Feb 22, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
0f45bd34
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
12 deletions
+20
-12
SAMap.ts
egret/src/SAMap.ts
+14
-6
ScratchIcon.ts
egret/src/mapScene/icon/ScratchIcon.ts
+2
-2
TurntableIcon.ts
egret/src/mapScene/icon/TurntableIcon.ts
+1
-1
exchange.json
mock/happyclear/exchange.json
+1
-1
hasBackReward.json
mock/happyclear/hasBackReward.json
+1
-1
home.json
mock/happyclear/home.json
+1
-1
No files found.
egret/src/SAMap.ts
View file @
8dfe6e5e
import
{
getlogItem
}
from
"./Main"
export
default
{
export
default
{
'1'
:
[
'bingoMapIndex'
,
'bingoBox'
],
'1'
:
[
'bingoMapIndex'
,
'bingoBox'
],
'2'
:
[
'bingoMapIndex'
,
'bingoLife'
],
'2'
:
[
'bingoMapIndex'
,
'bingoLife'
],
...
@@ -10,8 +12,8 @@ export default {
...
@@ -10,8 +12,8 @@ export default {
'77'
:
[
'bingoMapIndex'
,
'bingoRedBattle'
],
'77'
:
[
'bingoMapIndex'
,
'bingoRedBattle'
],
'57'
:
[
'bingoMapIndex'
,
'bingoRedPacket'
],
'57'
:
[
'bingoMapIndex'
,
'bingoRedPacket'
],
'74'
:
[
'bingoMapIndex'
,
'bingoRedBoom'
],
'74'
:
[
'bingoMapIndex'
,
'bingoRedBoom'
],
'
888001
'
:
[
'bingoMapIndex'
,
'bingoLottery'
],
'
43
'
:
[
'bingoMapIndex'
,
'bingoLottery'
],
'
888006
'
:
[
'bingoMapIndex'
,
'bingoGetRed'
],
'
49
'
:
[
'bingoMapIndex'
,
'bingoGetRed'
],
'3'
:
[
'bingoDialog'
,
'bingoLifeBuy'
],
'3'
:
[
'bingoDialog'
,
'bingoLifeBuy'
],
'4'
:
[
'bingoDialog'
,
'bingoLifeAsk'
],
'4'
:
[
'bingoDialog'
,
'bingoLifeAsk'
],
...
@@ -52,13 +54,19 @@ export default {
...
@@ -52,13 +54,19 @@ export default {
'54'
:
[
'bingoDialog'
,
'bingoGetRedAd'
],
'54'
:
[
'bingoDialog'
,
'bingoGetRedAd'
],
'55'
:
[
'bingoDialog'
,
'bingoBackReward'
],
'55'
:
[
'bingoDialog'
,
'bingoBackReward'
],
'56'
:
[
'bingoDialog'
,
'bingoBackAd'
],
'56'
:
[
'bingoDialog'
,
'bingoBackAd'
],
'58'
:
[
'bingoDialog'
,
'bingoRedpackStart'
],
'59'
:
[
'bingoDialog'
,
'bingoRedpackCont'
],
'59'
:
[
'bingoDialog'
,
'bingoRedpackCont'
],
'68'
:
[
'bingoDialog'
,
'bingoShopInvest'
],
'68'
:
[
'bingoDialog'
,
'bingoShopInvest'
],
'70'
:
[
'bingoDialog'
,
'bingoShopInvest10'
],
'70'
:
[
'bingoDialog'
,
'bingoShopInvest10'
],
'71'
:
[
'bingoDialog'
,
'bingoShopInvest500'
],
'71'
:
[
'bingoDialog'
,
'bingoShopInvest500'
],
'72'
:
[
'bingoDialog'
,
'bingoShopInvest1000'
],
'72'
:
[
'bingoDialog'
,
'bingoShopInvest1000'
],
'73'
:
[
'bingoDialog'
,
'bingoShopCoinCfm'
],
'73'
:
[
'bingoDialog'
,
'bingoShopCoinCfm'
],
'7'
:
[
'bingoDialog'
,
'bingoBoom'
],
'16'
:
[
'bingoDialog'
,
'bingoSucShare'
],
'10'
:
[
'bingoDialog'
,
'bingoHammer'
],
'13'
:
[
'bingoDialog'
,
'bingoStep'
],
'7'
:
[
'bingoGameIndex'
,
'bingoBoom'
],
'10'
:
[
'bingoGameIndex'
,
'bingoHammer'
],
'13'
:
[
'bingoGameIndex'
,
'bingoStep'
],
}
}
// getlogItem(40)
\ No newline at end of file
egret/src/mapScene/icon/ScratchIcon.ts
View file @
8dfe6e5e
...
@@ -71,8 +71,8 @@ export default class ScratchIcon extends IconBase {
...
@@ -71,8 +71,8 @@ export default class ScratchIcon extends IconBase {
*/
*/
protected
onTouchBtn
(
e
:
egret
.
TouchEvent
)
{
protected
onTouchBtn
(
e
:
egret
.
TouchEvent
)
{
super
.
onTouchBtn
(
e
);
super
.
onTouchBtn
(
e
);
NetManager
.
ins
.
clickLog
(
getlogItem
(
888006
));
NetManager
.
ins
.
show
Log
(
getlogItem
(
49
));
NetManager
.
ins
.
click
Log
(
getlogItem
(
49
));
NetManager
.
ins
.
scratchGetTaskInfo
((
success
,
res
)
=>
{
NetManager
.
ins
.
scratchGetTaskInfo
((
success
,
res
)
=>
{
if
(
!
success
)
{
if
(
!
success
)
{
return
;
return
;
...
...
egret/src/mapScene/icon/TurntableIcon.ts
View file @
8dfe6e5e
...
@@ -59,7 +59,7 @@ export default class TurntableIcon extends IconBase {
...
@@ -59,7 +59,7 @@ export default class TurntableIcon extends IconBase {
loadSvga
(
getResPath
()
+
'resource/assets/svgas/turntable.svga'
).
then
(
async
(
mv
:
any
)
=>
{
loadSvga
(
getResPath
()
+
'resource/assets/svgas/turntable.svga'
).
then
(
async
(
mv
:
any
)
=>
{
// await wait(100);
// await wait(100);
PanelCtrl
.
instance
.
show
(
'turnTable'
,
{
mv
:
mv
});
PanelCtrl
.
instance
.
show
(
'turnTable'
,
{
mv
:
mv
});
NetManager
.
ins
.
clickLog
(
getlogItem
(
888001
));
NetManager
.
ins
.
clickLog
(
getlogItem
(
43
));
})
})
}
}
...
...
mock/happyclear/exchange.json
View file @
8dfe6e5e
{
{
"success"
:
fals
e
,
"success"
:
tru
e
,
"code"
:
"444444"
,
"code"
:
"444444"
,
"desc"
:
"操作太频繁,请稍后再试"
,
"desc"
:
"操作太频繁,请稍后再试"
,
"timestamp"
:
1576726906439
,
"timestamp"
:
1576726906439
,
...
...
mock/happyclear/hasBackReward.json
View file @
8dfe6e5e
{
{
"success"
:
0
,
"success"
:
1
,
"code"
:
"600074"
,
"code"
:
"600074"
,
"desc"
:
"用户未达到回归奖励领取条件"
,
"desc"
:
"用户未达到回归奖励领取条件"
,
"timestamp"
:
1578472496421
,
"timestamp"
:
1578472496421
,
...
...
mock/happyclear/home.json
View file @
8dfe6e5e
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
"num"
:
3
"num"
:
3
}
}
],
],
"remainEnargy"
:
99
,
"remainEnargy"
:
1
,
"askForEnergy"
:
false
,
"askForEnergy"
:
false
,
"canReceiveTreasureBoxNum"
:
10
,
"canReceiveTreasureBoxNum"
:
10
,
"nextRangeStarsNum"
:
150
"nextRangeStarsNum"
:
150
...
...
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