Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yyh
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
yyh
Commits
d38c0088
Commit
d38c0088
authored
Dec 07, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
464acbfa
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
97 additions
and
2 deletions
+97
-2
NewFile.exml
egret/resource/skins/NewFile.exml
+3
-0
SloganSkin.exml
egret/resource/skins/SloganSkin.exml
+6
-0
TeamShareSkin.exml
egret/resource/skins/TeamShareSkin.exml
+7
-0
sceneTypes.ts
egret/src/types/sceneTypes.ts
+8
-2
ShareStarterScene.ts
egret/src/yazuwei/ShareStarterScene.ts
+27
-0
SloganPanel.ts
egret/src/yazuwei/SloganPanel.ts
+23
-0
TeamShareScene.ts
egret/src/yazuwei/TeamShareScene.ts
+23
-0
No files found.
egret/resource/skins/NewFile.exml
0 → 100644
View file @
d38c0088
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"NewFile"
width=
"400"
height=
"300"
xmlns:e=
"http://ns.egret.com/eui"
>
</e:Skin>
\ No newline at end of file
egret/resource/skins/SloganSkin.exml
0 → 100644
View file @
d38c0088
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"SloganSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
source=
"slogan_bg_png"
y=
"222"
horizontalCenter=
"0"
/>
<e:Image
id=
"btn"
source=
"slogan_btn_png"
y=
"636"
horizontalCenter=
"0"
/>
<e:Image
id=
"closeBtn"
source=
"关闭按钮 _png"
x=
"652"
y=
"139"
/>
</e:Skin>
\ No newline at end of file
egret/resource/skins/TeamShareSkin.exml
0 → 100644
View file @
d38c0088
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"ShareSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Group
x=
"0"
verticalCenter=
"0"
>
<e:Image
source=
"teamshare_bg_jpg"
x=
"0"
scaleX=
"1"
scaleY=
"1"
/>
<e:Image
id=
"btn"
source=
"teamshare_btn_png"
y=
"847"
horizontalCenter=
"0.5"
x=
"180"
scaleX=
"1"
scaleY=
"1"
/>
</e:Group>
</e:Skin>
\ No newline at end of file
egret/src/types/sceneTypes.ts
View file @
d38c0088
...
@@ -34,8 +34,14 @@ export enum ModuleTypes {
...
@@ -34,8 +34,14 @@ export enum ModuleTypes {
NOCREDITS_PANEL
,
NOCREDITS_PANEL
,
PK_SCENE
,
PK_SCENE
,
PKRULE_PANEL
,
PKRULE_PANEL
,
CertificateScene
,
ConfirmPanel
,
JoinShareScene
,
Share2Scene
,
ShareStarterScene
,
TransRecordPanel
,
TOAST
TOAST
}
}
\ No newline at end of file
egret/src/yazuwei/ShareStarterScene.ts
0 → 100644
View file @
d38c0088
import
Scene
from
"../views/Scene"
;
import
PanelCtrl
from
"../ctrls/panelCtrl"
;
import
{
ModuleTypes
}
from
"../types/sceneTypes"
;
export
default
class
ShareStarterScene
extends
Scene
{
protected
get
skinKey
()
{
return
'ShareStarter'
}
constructor
(
data
)
{
super
();
this
.
initUI
(
data
);
}
initUI
(
data
)
{
}
onTap_sharebtn
()
{
}
onTap_transbtn
()
{
PanelCtrl
.
instance
.
show
(
ModuleTypes
.
TransRecordPanel
)
}
initEvents
()
{
this
.
onTap
(
this
[
'transbtn'
],
this
.
onTap_transbtn
);
this
.
onTap
(
this
[
'sharebtn'
],
this
.
onTap_sharebtn
);
}
}
\ No newline at end of file
egret/src/yazuwei/SloganPanel.ts
0 → 100644
View file @
d38c0088
import
Panel
from
"../views/Panel"
;
export
default
class
SloganPanel
extends
Panel
{
protected
get
skinKey
()
{
return
'Slogan'
}
constructor
(
data
)
{
super
();
this
.
initUI
();
}
initUI
()
{
}
initEvents
()
{
super
.
initEvents
();
this
.
onTap
(
this
[
'btn'
],
this
.
onTap_btn
);
}
onTap_btn
()
{
console
.
log
(
'onTap_btn'
);
}
}
\ No newline at end of file
egret/src/yazuwei/TeamShareScene.ts
0 → 100644
View file @
d38c0088
import
Scene
from
"../views/Scene"
;
import
PanelCtrl
from
"../ctrls/panelCtrl"
;
import
{
ModuleTypes
}
from
"../types/sceneTypes"
;
export
default
class
TeamShareScene
extends
Scene
{
protected
get
skinKey
(){
return
'TeamShare'
}
constructor
(
data
){
super
();
this
.
initUI
(
data
);
}
initUI
(
data
){
}
onTap_btn
(){
}
initEvents
(){
this
.
onTap
(
this
[
'btn'
],
this
.
onTap_btn
);
}
}
\ No newline at end of file
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