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
{
'1'
:
[
'bingoMapIndex'
,
'bingoBox'
],
'2'
:
[
'bingoMapIndex'
,
'bingoLife'
],
...
...
@@ -10,8 +12,8 @@ export default {
'77'
:
[
'bingoMapIndex'
,
'bingoRedBattle'
],
'57'
:
[
'bingoMapIndex'
,
'bingoRedPacket'
],
'74'
:
[
'bingoMapIndex'
,
'bingoRedBoom'
],
'
888001
'
:
[
'bingoMapIndex'
,
'bingoLottery'
],
'
888006
'
:
[
'bingoMapIndex'
,
'bingoGetRed'
],
'
43
'
:
[
'bingoMapIndex'
,
'bingoLottery'
],
'
49
'
:
[
'bingoMapIndex'
,
'bingoGetRed'
],
'3'
:
[
'bingoDialog'
,
'bingoLifeBuy'
],
'4'
:
[
'bingoDialog'
,
'bingoLifeAsk'
],
...
...
@@ -52,13 +54,19 @@ export default {
'54'
:
[
'bingoDialog'
,
'bingoGetRedAd'
],
'55'
:
[
'bingoDialog'
,
'bingoBackReward'
],
'56'
:
[
'bingoDialog'
,
'bingoBackAd'
],
'58'
:
[
'bingoDialog'
,
'bingoRedpackStart'
],
'59'
:
[
'bingoDialog'
,
'bingoRedpackCont'
],
'68'
:
[
'bingoDialog'
,
'bingoShopInvest'
],
'70'
:
[
'bingoDialog'
,
'bingoShopInvest10'
],
'71'
:
[
'bingoDialog'
,
'bingoShopInvest500'
],
'72'
:
[
'bingoDialog'
,
'bingoShopInvest1000'
],
'73'
:
[
'bingoDialog'
,
'bingoShopCoinCfm'
],
'7'
:
[
'bingoDialog'
,
'bingoBoom'
],
'10'
:
[
'bingoDialog'
,
'bingoHammer'
],
'13'
:
[
'bingoDialog'
,
'bingoStep'
],
'16'
:
[
'bingoDialog'
,
'bingoSucShare'
],
'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 {
*/
protected
onTouchBtn
(
e
:
egret
.
TouchEvent
)
{
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
)
=>
{
if
(
!
success
)
{
return
;
...
...
egret/src/mapScene/icon/TurntableIcon.ts
View file @
8dfe6e5e
...
...
@@ -59,7 +59,7 @@ export default class TurntableIcon extends IconBase {
loadSvga
(
getResPath
()
+
'resource/assets/svgas/turntable.svga'
).
then
(
async
(
mv
:
any
)
=>
{
// await wait(100);
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"
,
"desc"
:
"操作太频繁,请稍后再试"
,
"timestamp"
:
1576726906439
,
...
...
mock/happyclear/hasBackReward.json
View file @
8dfe6e5e
{
"success"
:
0
,
"success"
:
1
,
"code"
:
"600074"
,
"desc"
:
"用户未达到回归奖励领取条件"
,
"timestamp"
:
1578472496421
,
...
...
mock/happyclear/home.json
View file @
8dfe6e5e
...
...
@@ -23,7 +23,7 @@
"num"
:
3
}
],
"remainEnargy"
:
99
,
"remainEnargy"
:
1
,
"askForEnergy"
:
false
,
"canReceiveTreasureBoxNum"
:
10
,
"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