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
7b41d090
Commit
7b41d090
authored
Aug 12, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
29d6cf5b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
13 deletions
+16
-13
getTimes.ts
project/src/panels/getTimes.ts
+2
-2
memberGuide.ts
project/src/panels/memberGuide.ts
+4
-4
share.ts
project/src/panels/share.ts
+1
-1
timesNotEnough.ts
project/src/panels/timesNotEnough.ts
+5
-5
IndexScene.ts
project/src/scenes/IndexScene.ts
+4
-1
No files found.
project/src/panels/getTimes.ts
View file @
7b41d090
...
...
@@ -17,7 +17,7 @@ export class getTimesPanel extends Panel {
super
.
initUi
();
var
skin
=
RES
.
getSkinDataByName
(
this
.
skinName
);
this
.
position
.
set
(
skin
.
x
,
skin
.
y
);
centerTextField
(
getObject
(
this
,
'cost_tips'
),
496
);
//
centerTextField(getObject(this,'cost_tips'),496);
}
initEvents
()
{
...
...
@@ -30,6 +30,6 @@ export class getTimesPanel extends Panel {
}
protected
get
closeBtns
():
any
[]
{
return
[
getObject
(
this
,
'
cost
_close'
)]
return
[
getObject
(
this
,
'
getTimes
_close'
)]
}
}
project/src/panels/memberGuide.ts
View file @
7b41d090
...
...
@@ -10,14 +10,14 @@ export class memberGuidePanel extends Panel {
console
.
log
(
'share_share_go'
);
}
get
groupNames
()
{
return
[
"
cost
"
]
}
get
skinName
()
{
return
"
cost
"
}
get
groupNames
()
{
return
[
"
memberGuide
"
]
}
get
skinName
()
{
return
"
memberGuide
"
}
initUi
()
{
super
.
initUi
();
var
skin
=
RES
.
getSkinDataByName
(
this
.
skinName
);
this
.
position
.
set
(
skin
.
x
,
skin
.
y
);
centerTextField
(
getObject
(
this
,
'cost_tips'
),
496
);
//
centerTextField(getObject(this,'cost_tips'),496);
}
initEvents
()
{
...
...
@@ -30,6 +30,6 @@ export class memberGuidePanel extends Panel {
}
protected
get
closeBtns
():
any
[]
{
return
[
getObject
(
this
,
'
cost
_close'
)]
return
[
getObject
(
this
,
'
memberGuide
_close'
)]
}
}
project/src/panels/share.ts
View file @
7b41d090
...
...
@@ -9,7 +9,7 @@ let section;
export
class
SharePanel
extends
Panel
{
share_share_go
(){
console
.
log
(
'share
_share_go
'
);
console
.
log
(
'share'
);
}
get
groupNames
()
{
return
[
"share"
]
}
get
skinName
()
{
return
"share"
}
...
...
project/src/panels/timesNotEnough.ts
View file @
7b41d090
...
...
@@ -7,17 +7,17 @@ let section;
export
class
timesNotEnoughPanel
extends
Panel
{
share_share_go
(){
console
.
log
(
'
share_share_go
'
);
console
.
log
(
'
timesNotEnough
'
);
}
get
groupNames
()
{
return
[
"
cost
"
]
}
get
skinName
()
{
return
"
cost
"
}
get
groupNames
()
{
return
[
"
timesNotEnough
"
]
}
get
skinName
()
{
return
"
timesNotEnough
"
}
initUi
()
{
super
.
initUi
();
var
skin
=
RES
.
getSkinDataByName
(
this
.
skinName
);
this
.
position
.
set
(
skin
.
x
,
skin
.
y
);
centerTextField
(
getObject
(
this
,
'cost_tips'
),
496
);
//
centerTextField(getObject(this,'cost_tips'),496);
}
initEvents
()
{
...
...
@@ -30,6 +30,6 @@ export class timesNotEnoughPanel extends Panel {
}
protected
get
closeBtns
():
any
[]
{
return
[
getObject
(
this
,
'
cost
_close'
)]
return
[
getObject
(
this
,
'
timesNotEnough
_close'
)]
}
}
project/src/scenes/IndexScene.ts
View file @
7b41d090
...
...
@@ -3,10 +3,13 @@ import { RES } from "../../module/RES";
import
{
Scene
}
from
"../../module/views/Scene"
;
import
getObject
from
"../common/getObject"
;
import
{
CostPanel
}
from
"../panels/cost"
;
import
{
getTimesPanel
}
from
"../panels/getTimes"
;
import
{
memberGuidePanel
}
from
"../panels/memberGuide"
;
import
{
NoPrizePanel
}
from
"../panels/noprize"
;
import
{
notEnoughMoneyPanel
}
from
"../panels/notEnoughMoney"
;
import
{
PrizePanel
}
from
"../panels/prize"
;
import
{
SharePanel
}
from
"../panels/share"
;
import
{
timesNotEnoughPanel
}
from
"../panels/timesNotEnough"
;
import
{
RulePanel
}
from
"../template/RulePanel"
;
import
{
Box
}
from
"./Box"
;
import
{
BoxGroup
}
from
"./BoxGroup"
;
...
...
@@ -27,7 +30,7 @@ export class IndexScene extends Scene {
start
()
{
super
.
start
();
showPanel
(
notEnoughMoney
Panel
);
showPanel
(
Share
Panel
);
getObject
(
this
,
'index_sharetips'
).
visible
=
false
;
this
.
initContainer
();
this
.
initmask
();
...
...
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