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
c8a474cf
Commit
c8a474cf
authored
Aug 04, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
190bfaaf
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
92 additions
and
5 deletions
+92
-5
draw_bg.png
project/resource/draw/draw_bg.png
+0
-0
draw_okbtn.png
project/resource/draw/draw_okbtn.png
+0
-0
res.json
project/resource/res.json
+4
-0
skin.json
project/resource/skin.json
+38
-1
ResJson.ts
project/src/ResJson.ts
+4
-1
SkinJson.ts
project/src/SkinJson.ts
+38
-1
draw.ts
project/src/panels/draw.ts
+8
-2
No files found.
project/resource/draw/draw_bg.png
0 → 100644
View file @
c8a474cf
168 KB
project/resource/draw/draw_okbtn.png
0 → 100644
View file @
c8a474cf
11.6 KB
project/resource/res.json
View file @
c8a474cf
...
@@ -12,6 +12,10 @@
...
@@ -12,6 +12,10 @@
"keys"
:
"comCloseBtn.png,toastBg.png,waitingBg.png,waitingRot.png"
,
"keys"
:
"comCloseBtn.png,toastBg.png,waitingBg.png,waitingRot.png"
,
"name"
:
"common"
"name"
:
"common"
},
},
{
"keys"
:
"draw_bg.png,draw_okbtn.png"
,
"name"
:
"draw"
},
{
{
"keys"
:
"index_bg.png"
,
"keys"
:
"index_bg.png"
,
"name"
:
"index"
"name"
:
"index"
...
...
project/resource/skin.json
View file @
c8a474cf
...
@@ -459,7 +459,44 @@
...
@@ -459,7 +459,44 @@
}
}
}
}
]
]
},
{
"name"
:
"draw"
,
"x"
:
67
,
"y"
:
319
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"draw_bg"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"draw_bg.png"
}
},
{
"name"
:
"draw_name"
,
"x"
:
248
,
"y"
:
331
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"提现成功"
,
"size"
:
30
,
"fillColor"
:
"#5889ce"
,
"textAlpha"
:
1
}
},
{
"name"
:
"draw_okbtn"
,
"x"
:
126
,
"y"
:
724
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"draw_okbtn.png"
}
}
]
}
}
]
]
}
}
\ No newline at end of file
project/src/ResJson.ts
View file @
c8a474cf
...
@@ -12,7 +12,10 @@ export const ResJson = {
...
@@ -12,7 +12,10 @@ export const ResJson = {
"keys"
:
"comCloseBtn.png,toastBg.png,waitingBg.png,waitingRot.png"
,
"keys"
:
"comCloseBtn.png,toastBg.png,waitingBg.png,waitingRot.png"
,
"name"
:
"common"
"name"
:
"common"
},
},
{
"keys"
:
"draw_bg.png,draw_okbtn.png"
,
"name"
:
"draw"
},
{
{
"keys"
:
"index_bg.png"
,
"keys"
:
"index_bg.png"
,
"name"
:
"index"
"name"
:
"index"
...
...
project/src/SkinJson.ts
View file @
c8a474cf
...
@@ -459,7 +459,44 @@ export const SkinJson ={
...
@@ -459,7 +459,44 @@ export const SkinJson ={
}
}
}
}
]
]
},
{
"name"
:
"draw"
,
"x"
:
67
,
"y"
:
319
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"draw_bg"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"draw_bg.png"
}
},
{
"name"
:
"draw_name"
,
"x"
:
248
,
"y"
:
331
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"提现成功"
,
"size"
:
30
,
"fillColor"
:
"#5889ce"
,
"textAlpha"
:
1
}
},
{
"name"
:
"draw_okbtn"
,
"x"
:
126
,
"y"
:
724
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"draw_okbtn.png"
}
}
]
}
}
]
]
}
}
\ No newline at end of file
project/src/panels/draw.ts
View file @
c8a474cf
import
{
RES
}
from
"../../module/RES"
;
import
{
Panel
}
from
"../../module/views/Panel"
;
import
{
Panel
}
from
"../../module/views/Panel"
;
import
getObject
from
"../getObject"
;
export
class
DrawPanel
extends
Panel
{
export
class
DrawPanel
extends
Panel
{
initUi
()
{
initUi
()
{
super
.
initUi
();
super
.
initUi
();
// var skin = RES.getSkinDataByName(this.skinName);
var
skin
=
RES
.
getSkinDataByName
(
this
.
skinName
);
// this.position.set(skin.x, skin.y);
this
.
position
.
set
(
skin
.
x
,
skin
.
y
);
}
//两个按钮都是关闭作用
get
closeBtns
()
{
return
[
getObject
(
this
,
'draw_closebtn'
),
getObject
(
this
,
'draw_okbtn'
)];
}
}
get
groupNames
()
{
return
[
"draw"
]
}
get
groupNames
()
{
return
[
"draw"
]
}
...
...
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