Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
babycare_xiaoxiao
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
翁阳
babycare_xiaoxiao
Commits
2b1692e2
Commit
2b1692e2
authored
Feb 06, 2021
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rule
parent
cfaf01cd
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
28 additions
and
92 deletions
+28
-92
workspace.xml
.idea/workspace.xml
+16
-13
ruleBtn.png
resource/RulePanel/ruleBtn.png
+0
-0
活动规则背景.png
resource/RulePanel/活动规则背景.png
+0
-0
关闭按钮.png
resource/common/关闭按钮.png
+0
-0
res.json
resource/res.json
+1
-1
ResJson.ts
src/ResJson.ts
+1
-1
SkinJson.ts
src/SkinJson.ts
+2
-76
RulePanel.ts
src/panels/RulePanel.ts
+8
-1
No files found.
.idea/workspace.xml
View file @
2b1692e2
...
...
@@ -2,19 +2,14 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"0d3cb18d-e144-41a0-bc8b-4877c2e1fef1"
name=
"默认的"
comment=
""
>
<change
afterPath=
"$PROJECT_DIR$/resource/RulePanel/ruleBtn.png"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/mock/miniTb/babycare.getIndex.json"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/mock/miniTb/babycare.getIndex.json"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/map/guide_fox.png"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/map/guide_fox.png"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/map/guide_hand.png"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/map/guide_hand.png"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/map/guide_light.png"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/map/guide_light.png"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/map/guide_tip.png"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/map/guide_tip.png"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/map/remindIcon.png"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/RulePanel/活动规则背景.png"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/RulePanel/活动规则背景.png"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/common/关闭按钮.png"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/common/关闭按钮.png"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/res.json"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/res.json"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/ResJson.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/ResJson.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/panels/StartPanel.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/panels/StartPanel.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/scene/LoadingScene.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scene/LoadingScene.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/scene/map/MapScene.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scene/map/MapScene.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/something/uis/PropGuide.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/something/uis/PropGuide.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/SkinJson.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/SkinJson.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/panels/RulePanel.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/panels/RulePanel.ts"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -117,7 +112,7 @@
<option
name=
"presentableId"
value=
"Default"
/>
<updated>
1612576978320
</updated>
<workItem
from=
"1612576979459"
duration=
"13000"
/>
<workItem
from=
"1612577003915"
duration=
"1
3978
000"
/>
<workItem
from=
"1612577003915"
duration=
"1
4842
000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"斐乐消消乐"
>
<created>
1612581213298
</created>
...
...
@@ -133,7 +128,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1612593007212
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"3"
/>
<task
id=
"LOCAL-00003"
summary=
"首页引导"
>
<created>
1612597435229
</created>
<option
name=
"number"
value=
"00003"
/>
<option
name=
"presentableId"
value=
"LOCAL-00003"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1612597435229
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"4"
/>
<servers
/>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
...
...
@@ -145,6 +147,7 @@
<option
name=
"ADD_EXTERNAL_FILES_SILENTLY"
value=
"true"
/>
<MESSAGE
value=
"斐乐消消乐"
/>
<MESSAGE
value=
"gameGuide"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"gameGuide"
/>
<MESSAGE
value=
"首页引导"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"首页引导"
/>
</component>
</project>
\ No newline at end of file
resource/RulePanel/ruleBtn.png
0 → 100644
View file @
2b1692e2
64.4 KB
resource/RulePanel/活动规则背景.png
View replaced file @
cfaf01cd
View file @
2b1692e2
37.8 KB
|
W:
|
H:
718 KB
|
W:
|
H:
2-up
Swipe
Onion skin
resource/common/关闭按钮.png
View replaced file @
cfaf01cd
View file @
2b1692e2
10.2 KB
|
W:
|
H:
8.45 KB
|
W:
|
H:
2-up
Swipe
Onion skin
resource/res.json
View file @
2b1692e2
...
...
@@ -41,7 +41,7 @@
"name"
:
"PrizePanel"
},
{
"keys"
:
"活动规则背景.png"
,
"keys"
:
"
ruleBtn.png,
活动规则背景.png"
,
"name"
:
"RulePanel"
},
{
...
...
src/ResJson.ts
View file @
2b1692e2
...
...
@@ -41,7 +41,7 @@ export const ResJson = {
"name"
:
"PrizePanel"
},
{
"keys"
:
"活动规则背景.png"
,
"keys"
:
"
ruleBtn.png,
活动规则背景.png"
,
"name"
:
"RulePanel"
},
{
...
...
src/SkinJson.ts
View file @
2b1692e2
This diff is collapsed.
Click to expand it.
src/panels/RulePanel.ts
View file @
2b1692e2
import
{
Panel
}
from
"../../module/views/Panel"
;
import
{
Tools
}
from
"../Tools"
;
import
{
RES
}
from
"../../module/RES"
;
import
TextField
=
FYGE
.
TextField
;
import
TEXT_lINETYPE
=
FYGE
.
TEXT_lINETYPE
;
import
ScrollPage
=
FYGE
.
ScrollPage
;
import
{
Tools
}
from
"../Tools"
;
import
Button
=
FYGE
.
Button
;
import
MouseEvent
=
FYGE
.
MouseEvent
;
export
class
RulePanel
extends
Panel
{
get
groupNames
()
{
...
...
@@ -37,6 +40,10 @@ export class RulePanel extends Panel {
this
.
scroll
.
position
.
set
(
96
,
549
);
this
.
scroll
.
view
.
addChild
(
this
.
ruleTex
);
this
.
addChild
(
new
Button
(
RES
.
getRes
(
'ruleBtn.png'
)))
.
addEventListener
(
MouseEvent
.
CLICK
,
()
=>
this
.
hidePanel
())
.
position
.
set
(
192
,
1095
);
}
initEvents
()
{
...
...
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