Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wfc13
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
wfc13
Commits
db67683b
Commit
db67683b
authored
Aug 16, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
52d49fea
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
49 additions
and
18 deletions
+49
-18
creditsCost.do.json
project/mock/webNet/credits/creditsCost.do.json
+12
-0
drawPrize.do.json
project/mock/webNet/dazzle/drawPrize.do.json
+12
-12
getFreeCount.do.json
project/mock/webNet/dazzle/getFreeCount.do.json
+12
-1
getImage.ts
project/src/common/getImage.ts
+2
-2
memberGuide.ts
project/src/panels/memberGuide.ts
+1
-0
notEnoughMoney.ts
project/src/panels/notEnoughMoney.ts
+5
-0
prize.ts
project/src/panels/prize.ts
+5
-3
No files found.
project/mock/webNet/credits/creditsCost.do.json
0 → 100644
View file @
db67683b
{
"code"
:
null
,
"data"
:
{
"surplusCount"
:
456
,
"credits"
:
78900
,
"needCredits"
:
12345
,
"type"
:
1
,
"isMember"
:
1
},
"message"
:
null
,
"success"
:
true
}
\ No newline at end of file
project/mock/webNet/dazzle/drawPrize.do.json
View file @
db67683b
...
...
@@ -5,21 +5,21 @@
"options"
:
[
{
"extra"
:
null
,
"optionId"
:
"
deserunt
"
,
"optionImg"
:
"
consequat Ut
"
,
"optionName"
:
"
magna eu do
"
,
"position"
:
-
45488243
,
"prizeId"
:
"
est adipisicing irure qui cillum
"
,
"prizeType"
:
-
61249868
,
"ruleId"
:
"
nisi aute ut
"
,
"sendCount"
:
-86055442
,
"url"
:
"
anim qui
"
,
"userRecordId"
:
-
31001876
"optionId"
:
"
et esse laborum
"
,
"optionImg"
:
"
https://yun.duiba.com.cn/db_games/sxbank.png
"
,
"optionName"
:
"
aliquip dolore qui nulla
"
,
"position"
:
-
13810392
,
"prizeId"
:
"
non labore eiusmod consequat
"
,
"prizeType"
:
-
25600732
,
"ruleId"
:
"
fugiat minim in adipisicing
"
,
"sendCount"
:
3860338
,
"url"
:
"
eu veniam ipsum tempor
"
,
"userRecordId"
:
-
15254782
},
{
"extra"
:
null
,
"optionId"
:
"et esse laborum"
,
"optionImg"
:
"
mollit eiusmod et ullamco cillum
"
,
"optionImg"
:
"
https://yun.duiba.com.cn/db_games/sxbank.png
"
,
"optionName"
:
"aliquip dolore qui nulla"
,
"position"
:
-13810392
,
"prizeId"
:
"non labore eiusmod consequat"
,
...
...
@@ -32,5 +32,5 @@
]
},
"message"
:
null
,
"success"
:
fals
e
"success"
:
tru
e
}
\ No newline at end of file
project/mock/webNet/dazzle/getFreeCount.do.json
View file @
db67683b
{}
\ No newline at end of file
{
"code"
:
null
,
"data"
:
{
"surplusCount"
:
456
,
"credits"
:
78900
,
"needCredits"
:
12345
,
"type"
:
1
,
"isMember"
:
1
},
"message"
:
null
,
"success"
:
true
}
\ No newline at end of file
project/src/common/getImage.ts
View file @
db67683b
...
...
@@ -17,8 +17,8 @@ export const getImage = (url, parent?, w?, h? ,rad?): Promise<FYGE.Sprite> => {
pic
.
width
=
w
;
pic
.
height
=
h
;
c
.
addChild
(
pic
);
const
m
=
createMask
(
w
,
h
,
rad
,
c
);
c
.
mask
=
m
;
//
const m = createMask(w, h, rad, c);
//
c.mask = m;
r
(
c
);
}
...
...
project/src/panels/memberGuide.ts
View file @
db67683b
...
...
@@ -15,6 +15,7 @@ export class memberGuidePanel extends Panel {
}
click_memberGuide_btn
(){
console
.
log
(
'memberGuide_btn'
);
location
.
href
=
'pages/customView/customView1'
;
sendLog
(
"click"
,
6
);
}
...
...
project/src/panels/notEnoughMoney.ts
View file @
db67683b
...
...
@@ -7,6 +7,11 @@ import { sendLog } from "../WebNet";
let
section
;
export
class
notEnoughMoneyPanel
extends
Panel
{
hidePanel
(){
this
.
stage
.
dispatchEvent
(
"restartEnterFrame"
,{})
super
.
hidePanel
();
}
click_notEnoughMoney_btn
(){
sendLog
(
"click"
,
5
);
location
.
href
=
'pages/pointsmall-index/pointsmall-index?pageId=ff8080816deed7ce016df398f7662325'
;
...
...
project/src/panels/prize.ts
View file @
db67683b
...
...
@@ -16,13 +16,15 @@ export class PrizePanel extends Panel {
super
.
start
();
const
result
=
getWebData
(
WebNetName
.
drawPrize
);
const
size
=
164
;
getImage
(
result
.
data
.
optionImg
,
this
.
prizeContainer
,
size
,
size
,
3
);
getObject
(
this
,
'prize_name'
).
text
=
result
.
data
.
optionName
;
const
opt
=
this
[
'opt'
]
=
result
.
data
.
options
[
0
];
getImage
(
opt
.
optionImg
,
this
.
prizeContainer
,
size
,
size
,
3
);
getObject
(
this
,
'prize_name'
).
text
=
opt
.
optionName
;
}
click_prize_open
()
{
sendLog
(
"click"
,
2
);
console
.
log
(
'click_prize_open'
)
console
.
log
(
'click_prize_open'
);
location
.
href
=
this
[
'opt'
].
url
;
}
get
groupNames
()
{
return
[
"prize"
]
}
...
...
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