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
7e64d160
Commit
7e64d160
authored
Aug 05, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
f948a3fd
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
1133 additions
and
50 deletions
+1133
-50
assist_bg.png
project/resource/assist/assist_bg.png
+0
-0
assist_okbtn.png
project/resource/assist/assist_okbtn.png
+0
-0
res.json
project/resource/res.json
+1
-4
skin.json
project/resource/skin.json
+1116
-1
ResJson.ts
project/src/ResJson.ts
+1
-4
SkinJson.ts
project/src/SkinJson.ts
+1
-38
assist.ts
project/src/panels/assist.ts
+3
-3
ShareScene.ts
project/src/scenes/ShareScene.ts
+11
-0
No files found.
project/resource/assist/assist_bg.png
deleted
100644 → 0
View file @
f948a3fd
168 KB
project/resource/assist/assist_okbtn.png
deleted
100644 → 0
View file @
f948a3fd
11.6 KB
project/resource/res.json
View file @
7e64d160
...
...
@@ -8,10 +8,7 @@
"keys"
:
"startSceneBg.jpg,奖品按钮.png,底部按钮区背景.png,开始游戏.png,排行榜按钮.png,规则按钮.png,赚次数按钮.png,运动锦鲤按钮.png"
,
"name"
:
"StartScene"
},
{
"keys"
:
"assist_bg.png,assist_okbtn.png"
,
"name"
:
"assist"
},
{
"keys"
:
"comCloseBtn.png,toastBg.png,waitingBg.png,waitingRot.png"
,
"name"
:
"common"
...
...
project/resource/skin.json
View file @
7e64d160
This diff is collapsed.
Click to expand it.
project/src/ResJson.ts
View file @
7e64d160
...
...
@@ -8,10 +8,7 @@ export const ResJson = {
"keys"
:
"startSceneBg.jpg,奖品按钮.png,底部按钮区背景.png,开始游戏.png,排行榜按钮.png,规则按钮.png,赚次数按钮.png,运动锦鲤按钮.png"
,
"name"
:
"StartScene"
},
{
"keys"
:
"assist_bg.png,assist_okbtn.png"
,
"name"
:
"assist"
},
{
"keys"
:
"comCloseBtn.png,toastBg.png,waitingBg.png,waitingRot.png"
,
"name"
:
"common"
...
...
project/src/SkinJson.ts
View file @
7e64d160
...
...
@@ -258,44 +258,7 @@ export const SkinJson ={
}
]
},
{
"name"
:
"assist"
,
"x"
:
67
,
"y"
:
319
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"assist_bg"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"assist_bg.png"
}
},
{
"name"
:
"assist_name"
,
"x"
:
248
,
"y"
:
331
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"提现成功"
,
"size"
:
30
,
"fillColor"
:
"#5889ce"
,
"textAlpha"
:
1
}
},
{
"name"
:
"assist_okbtn"
,
"x"
:
126
,
"y"
:
724
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"assist_okbtn.png"
}
}
]
},
{
"name"
:
"prize"
,
"x"
:
78
,
...
...
project/src/panels/assist.ts
View file @
7e64d160
...
...
@@ -10,11 +10,11 @@ export class AssistPanel extends Panel {
}
//两个按钮都是关闭作用
get
closeBtns
()
{
return
[
getObject
(
this
,
'
draw_closebtn'
),
getObject
(
this
,
'draw_okbtn
'
)];
return
[
getObject
(
this
,
'
assist_close
'
)];
}
get
groupNames
()
{
return
[
"
draw
"
]
}
get
skinName
()
{
return
"
draw
"
}
get
groupNames
()
{
return
[
"
assist
"
]
}
get
skinName
()
{
return
"
assist
"
}
async
start
(
data
)
{
...
...
project/src/scenes/ShareScene.ts
View file @
7e64d160
import
{
showPanel
}
from
"../../module/ctrls"
;
import
{
Scene
}
from
"../../module/views/Scene"
;
import
Marquee
from
"../common/Marquee"
;
import
getObject
from
"../getObject"
;
import
{
AssistPanel
}
from
"../panels/assist"
;
import
{
sendWebNet
,
WebNetName
}
from
"../WebNet"
;
export
class
ShareScene
extends
Scene
{
onClick_share_assist
(){
showPanel
(
AssistPanel
)
}
get
groupNames
()
{
return
[
"share"
]
}
get
skinName
()
{
return
"share"
}
...
...
@@ -32,9 +40,12 @@ export class ShareScene extends Scene {
initEvents
()
{
super
.
initEvents
();
getObject
(
this
,
'share_assist'
).
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
this
.
onClick_share_assist
,
this
);
}
removeEvents
()
{
super
.
removeEvents
();
getObject
(
this
,
'share_assist'
).
removeEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
this
.
onClick_share_assist
,
this
);
}
...
...
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