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
Show 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 @@
...
@@ -5,21 +5,21 @@
"options"
:
[
"options"
:
[
{
{
"extra"
:
null
,
"extra"
:
null
,
"optionId"
:
"
deserunt
"
,
"optionId"
:
"
et esse laborum
"
,
"optionImg"
:
"
consequat Ut
"
,
"optionImg"
:
"
https://yun.duiba.com.cn/db_games/sxbank.png
"
,
"optionName"
:
"
magna eu do
"
,
"optionName"
:
"
aliquip dolore qui nulla
"
,
"position"
:
-
45488243
,
"position"
:
-
13810392
,
"prizeId"
:
"
est adipisicing irure qui cillum
"
,
"prizeId"
:
"
non labore eiusmod consequat
"
,
"prizeType"
:
-
61249868
,
"prizeType"
:
-
25600732
,
"ruleId"
:
"
nisi aute ut
"
,
"ruleId"
:
"
fugiat minim in adipisicing
"
,
"sendCount"
:
-86055442
,
"sendCount"
:
3860338
,
"url"
:
"
anim qui
"
,
"url"
:
"
eu veniam ipsum tempor
"
,
"userRecordId"
:
-
31001876
"userRecordId"
:
-
15254782
},
},
{
{
"extra"
:
null
,
"extra"
:
null
,
"optionId"
:
"et esse laborum"
,
"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"
,
"optionName"
:
"aliquip dolore qui nulla"
,
"position"
:
-13810392
,
"position"
:
-13810392
,
"prizeId"
:
"non labore eiusmod consequat"
,
"prizeId"
:
"non labore eiusmod consequat"
,
...
@@ -32,5 +32,5 @@
...
@@ -32,5 +32,5 @@
]
]
},
},
"message"
:
null
,
"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> => {
...
@@ -17,8 +17,8 @@ export const getImage = (url, parent?, w?, h? ,rad?): Promise<FYGE.Sprite> => {
pic
.
width
=
w
;
pic
.
width
=
w
;
pic
.
height
=
h
;
pic
.
height
=
h
;
c
.
addChild
(
pic
);
c
.
addChild
(
pic
);
const
m
=
createMask
(
w
,
h
,
rad
,
c
);
//
const m = createMask(w, h, rad, c);
c
.
mask
=
m
;
//
c.mask = m;
r
(
c
);
r
(
c
);
}
}
...
...
project/src/panels/memberGuide.ts
View file @
db67683b
...
@@ -15,6 +15,7 @@ export class memberGuidePanel extends Panel {
...
@@ -15,6 +15,7 @@ export class memberGuidePanel extends Panel {
}
}
click_memberGuide_btn
(){
click_memberGuide_btn
(){
console
.
log
(
'memberGuide_btn'
);
console
.
log
(
'memberGuide_btn'
);
location
.
href
=
'pages/customView/customView1'
;
sendLog
(
"click"
,
6
);
sendLog
(
"click"
,
6
);
}
}
...
...
project/src/panels/notEnoughMoney.ts
View file @
db67683b
...
@@ -7,6 +7,11 @@ import { sendLog } from "../WebNet";
...
@@ -7,6 +7,11 @@ import { sendLog } from "../WebNet";
let
section
;
let
section
;
export
class
notEnoughMoneyPanel
extends
Panel
{
export
class
notEnoughMoneyPanel
extends
Panel
{
hidePanel
(){
this
.
stage
.
dispatchEvent
(
"restartEnterFrame"
,{})
super
.
hidePanel
();
}
click_notEnoughMoney_btn
(){
click_notEnoughMoney_btn
(){
sendLog
(
"click"
,
5
);
sendLog
(
"click"
,
5
);
location
.
href
=
'pages/pointsmall-index/pointsmall-index?pageId=ff8080816deed7ce016df398f7662325'
;
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 {
...
@@ -16,13 +16,15 @@ export class PrizePanel extends Panel {
super
.
start
();
super
.
start
();
const
result
=
getWebData
(
WebNetName
.
drawPrize
);
const
result
=
getWebData
(
WebNetName
.
drawPrize
);
const
size
=
164
;
const
size
=
164
;
getImage
(
result
.
data
.
optionImg
,
this
.
prizeContainer
,
size
,
size
,
3
);
const
opt
=
this
[
'opt'
]
=
result
.
data
.
options
[
0
];
getObject
(
this
,
'prize_name'
).
text
=
result
.
data
.
optionName
;
getImage
(
opt
.
optionImg
,
this
.
prizeContainer
,
size
,
size
,
3
);
getObject
(
this
,
'prize_name'
).
text
=
opt
.
optionName
;
}
}
click_prize_open
()
{
click_prize_open
()
{
sendLog
(
"click"
,
2
);
sendLog
(
"click"
,
2
);
console
.
log
(
'click_prize_open'
)
console
.
log
(
'click_prize_open'
);
location
.
href
=
this
[
'opt'
].
url
;
}
}
get
groupNames
()
{
return
[
"prize"
]
}
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