Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
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
xiaoxiaole
Commits
3ca40377
Commit
3ca40377
authored
Apr 01, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9d919a69
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
145 additions
and
12 deletions
+145
-12
index.html
egret/index.html
+2
-2
FriendItemSkin.exml
egret/resource/skins/FriendItemSkin.exml
+6
-6
FriendSkin.exml
egret/resource/skins/FriendSkin.exml
+4
-4
Chapter23.ts
egret/src/something/chapters/Chapter23.ts
+6
-0
getChapter.ts
egret/src/something/chapters/getChapter.ts
+2
-0
home.json
mock/happyclear/home.json
+125
-0
No files found.
egret/index.html
View file @
3ca40377
...
@@ -127,8 +127,8 @@
...
@@ -127,8 +127,8 @@
// localStorage.clear();
// localStorage.clear();
window
[
'imgver'
]
=
'11112'
;
window
[
'imgver'
]
=
'11112'
;
//top 8 ,repeat 22 , bottom 3
//top 8 ,repeat 22 , bottom 3
window
[
'total_level'
]
=
8
+
3
+
22
*
2
6
;
window
[
'total_level'
]
=
8
+
3
+
22
*
2
7
;
window
[
'last_level'
]
=
575
;
window
[
'last_level'
]
=
600
;
var
sharePic
=
document
.
getElementById
(
'pic'
);
var
sharePic
=
document
.
getElementById
(
'pic'
);
sharePic
.
onclick
=
function
()
{
sharePic
.
onclick
=
function
()
{
...
...
egret/resource/skins/FriendItemSkin.exml
View file @
3ca40377
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"FriendItemSkin"
width=
"546"
height=
"105"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Skin
class=
"FriendItemSkin"
width=
"546"
height=
"105"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
source=
"friend_itembg_png"
/>
<e:Image
source=
"friend_itembg_png"
/>
<e:Label
id=
"rankTxt"
text=
"73"
width=
"86"
textAlign=
"center"
verticalAlign=
"middle"
height=
"52"
size=
"48"
textColor=
"0x784325"
y=
"
25
"
/>
<e:Label
id=
"rankTxt"
text=
"73"
width=
"86"
textAlign=
"center"
verticalAlign=
"middle"
height=
"52"
size=
"48"
textColor=
"0x784325"
y=
"
32
"
/>
<e:Label
text=
"X55"
x=
"480.94"
y=
"4
4
.29"
id=
"star"
size=
"24"
textColor=
"0x784325"
fontFamily=
"FZY3JW"
/>
<e:Label
text=
"X55"
x=
"480.94"
y=
"4
5
.29"
id=
"star"
size=
"24"
textColor=
"0x784325"
fontFamily=
"FZY3JW"
/>
<e:Label
id=
"nameTxt"
text=
"Label"
x=
"189"
y=
"2
0
.5"
size=
"24"
textColor=
"0x784325"
fontFamily=
"FZY3JW"
/>
<e:Label
id=
"nameTxt"
text=
"Label"
x=
"189"
y=
"2
6
.5"
size=
"24"
textColor=
"0x784325"
fontFamily=
"FZY3JW"
/>
<e:Label
text=
"第15关"
x=
"189"
y=
"
54
.29"
id=
"progress"
size=
"24"
textColor=
"0x784325"
fontFamily=
"FZY3JW"
/>
<e:Label
text=
"第15关"
x=
"189"
y=
"
60
.29"
id=
"progress"
size=
"24"
textColor=
"0x784325"
fontFamily=
"FZY3JW"
/>
<e:Label
text=
"分数:123分"
x=
"297"
y=
"
54
.29"
id=
"score"
size=
"24"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
textColor=
"0x784325"
fontFamily=
"FZY3JW"
/>
<e:Label
text=
"分数:123分"
x=
"297"
y=
"
60
.29"
id=
"score"
size=
"24"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
textColor=
"0x784325"
fontFamily=
"FZY3JW"
/>
<e:Group
x=
"108.87"
y=
"23.79"
>
<e:Group
x=
"108.87"
y=
"23.79"
>
<e:Image
id=
"avatar"
y=
"0"
width=
"60"
height=
"60"
x=
"0"
source=
""
/>
<e:Image
id=
"avatar"
y=
"0"
width=
"60"
height=
"60"
x=
"0"
source=
""
/>
<e:Rect
id=
"avatarMask"
width=
"60"
height=
"60"
y=
"0"
ellipseWidth=
"60"
ellipseHeight=
"60"
/>
<e:Rect
id=
"avatarMask"
width=
"60"
height=
"60"
y=
"0"
ellipseWidth=
"60"
ellipseHeight=
"60"
/>
</e:Group>
</e:Group>
<e:Group
x=
"1
0
"
y=
"16"
>
<e:Group
x=
"1
3
"
y=
"16"
>
<e:Image
id=
"rank1"
source=
"friend_icon1_png"
x=
"0"
y=
"0"
/>
<e:Image
id=
"rank1"
source=
"friend_icon1_png"
x=
"0"
y=
"0"
/>
<e:Image
id=
"rank2"
source=
"friend_icon2_png"
x=
"1"
y=
"0"
/>
<e:Image
id=
"rank2"
source=
"friend_icon2_png"
x=
"1"
y=
"0"
/>
<e:Image
id=
"rank3"
source=
"friend_icon3_png"
x=
"3"
y=
"2"
/>
<e:Image
id=
"rank3"
source=
"friend_icon3_png"
x=
"3"
y=
"2"
/>
...
...
egret/resource/skins/FriendSkin.exml
View file @
3ca40377
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<e:Skin
class=
"FriendSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Skin
class=
"FriendSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
source=
"friendbg_png"
y=
"48.29"
horizontalCenter=
"2"
locked=
"true"
/>
<e:Image
source=
"friendbg_png"
y=
"48.29"
horizontalCenter=
"2"
locked=
"true"
/>
<e:Label
id=
"star"
text=
"X0"
x=
"588.96"
y=
"366.08"
size=
"24"
fontFamily=
"FZY3JW"
/>
<e:Label
id=
"star"
text=
"X0"
x=
"588.96"
y=
"366.08"
size=
"24"
fontFamily=
"FZY3JW"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"63
2.94"
y=
"164
.98"
>
<e:Button
id=
"closeBtn"
label=
""
x=
"63
4.94"
y=
"239
.98"
>
<e:skinName>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Skin
states=
"up,down,disabled"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"closeCommonBtn_png"
source.down=
"closeCommonBtn_png"
source.disabled=
"closeCommonBtn_png"
/>
<e:Image
width=
"100%"
height=
"100%"
source=
"closeCommonBtn_png"
source.down=
"closeCommonBtn_png"
source.disabled=
"closeCommonBtn_png"
/>
...
@@ -10,9 +10,9 @@
...
@@ -10,9 +10,9 @@
</e:Skin>
</e:Skin>
</e:skinName>
</e:skinName>
</e:Button>
</e:Button>
<e:Scroller
id=
"scroll"
width=
"546"
height=
"
555"
y=
"412.35"
scrollPolicyV=
"on"
scrollPolicyH=
"off"
x=
"106
.85"
>
<e:Scroller
id=
"scroll"
width=
"546"
height=
"
439"
y=
"446.35"
scrollPolicyV=
"on"
scrollPolicyH=
"off"
x=
"108
.85"
>
<e:Group>
<e:Group>
<e:List
id=
"list"
width=
"100%"
itemRendererSkinName=
"FriendItemSkin"
visible=
"false"
>
<e:List
id=
"list"
width=
"100%"
itemRendererSkinName=
"FriendItemSkin"
>
<e:ArrayCollection>
<e:ArrayCollection>
<e:Array>
<e:Array>
<e:Object
a=
"taskname1"
/>
<e:Object
a=
"taskname1"
/>
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</e:List>
</e:List>
</e:Group>
</e:Group>
</e:Scroller>
</e:Scroller>
<e:Button
id=
"btn"
label=
""
y=
"9
85
.99"
horizontalCenter=
"0"
>
<e:Button
id=
"btn"
label=
""
y=
"9
07
.99"
horizontalCenter=
"0"
>
<e:skinName>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"friend按钮-炫耀_png"
source.down=
"friend按钮-炫耀_png"
source.disabled=
"friend按钮-炫耀_png"
/>
<e:Image
width=
"100%"
height=
"100%"
source=
"friend按钮-炫耀_png"
source.down=
"friend按钮-炫耀_png"
source.disabled=
"friend按钮-炫耀_png"
/>
...
...
egret/src/something/chapters/Chapter23.ts
0 → 100644
View file @
3ca40377
import
{
ChapterData
}
from
"../interface/ChapterData"
;
//576-600
export
const
Chapters23
:
ChapterData
[]
=
[
]
egret/src/something/chapters/getChapter.ts
View file @
3ca40377
...
@@ -24,6 +24,7 @@ import { Chapters19 } from "./Chapter19";
...
@@ -24,6 +24,7 @@ import { Chapters19 } from "./Chapter19";
import
{
Chapters20
}
from
"./Chapter20"
;
import
{
Chapters20
}
from
"./Chapter20"
;
import
{
Chapters21
}
from
"./Chapter21"
;
import
{
Chapters21
}
from
"./Chapter21"
;
import
{
Chapters22
}
from
"./Chapter22"
;
import
{
Chapters22
}
from
"./Chapter22"
;
import
{
Chapters23
}
from
"./Chapter23"
;
//所有的关卡
//所有的关卡
const
chapters
:
ChapterData
[]
=
[].
concat
(
const
chapters
:
ChapterData
[]
=
[].
concat
(
...
@@ -49,6 +50,7 @@ const chapters: ChapterData[] = [].concat(
...
@@ -49,6 +50,7 @@ const chapters: ChapterData[] = [].concat(
Chapters20
,
Chapters20
,
Chapters21
,
Chapters21
,
Chapters22
,
Chapters22
,
Chapters23
,
)
)
// console.log(chapters)
// console.log(chapters)
chapters
.
forEach
((
chapter
,
index
)
=>
{
chapters
.
forEach
((
chapter
,
index
)
=>
{
...
...
mock/happyclear/home.json
View file @
3ca40377
...
@@ -2888,6 +2888,131 @@
...
@@ -2888,6 +2888,131 @@
"levelNum"
:
575
,
"levelNum"
:
575
,
"maxScore"
:
47440
,
"maxScore"
:
47440
,
"stars"
:
1
"stars"
:
1
},
{
"levelNum"
:
576
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
577
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
578
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
579
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
580
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
581
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
582
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
583
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
584
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
585
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
586
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
587
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
588
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
589
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
590
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
591
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
592
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
593
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
594
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
595
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
596
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
597
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
598
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
599
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
600
,
"maxScore"
:
47440
,
"stars"
:
1
}
}
],
],
"remainProp"
:
[
"remainProp"
:
[
...
...
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