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
195aaaef
Commit
195aaaef
authored
Oct 10, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e4972da2
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
55 additions
and
18 deletions
+55
-18
exml.json
egret/.wing/exml.json
+8
-0
default.res.json
egret/resource/default.res.json
+6
-1
default.thm.json
egret/resource/default.thm.json
+1
-0
ADSmallSkin.exml
egret/resource/skins/ADSmallSkin.exml
+6
-0
BackSkin.exml
egret/resource/skins/BackSkin.exml
+1
-0
Box2Skin.exml
egret/resource/skins/Box2Skin.exml
+1
-0
BoxSkin.exml
egret/resource/skins/BoxSkin.exml
+1
-0
FailSkin.exml
egret/resource/skins/FailSkin.exml
+4
-3
MapSkin.exml
egret/resource/skins/MapSkin.exml
+12
-12
NoPrizeSkin.exml
egret/resource/skins/NoPrizeSkin.exml
+1
-0
AdSmallComp.ts
egret/src/mapScene/AdSmallComp.ts
+12
-0
MapScene.ts
egret/src/mapScene/MapScene.ts
+1
-1
home.json
mock/happyclear/home.json
+1
-1
No files found.
egret/.wing/exml.json
View file @
195aaaef
...
@@ -209,5 +209,13 @@
...
@@ -209,5 +209,13 @@
"value"
:
"http://yun.duiba.com.cn/db_games/fishlogo.png"
"value"
:
"http://yun.duiba.com.cn/db_games/fishlogo.png"
}
}
]
]
},
"16db4bf413f"
:
{
"bindingDataTestObj"
:
[
{
"key"
:
"data.img"
,
"value"
:
"http://yun.duiba.com.cn/db_games/fishlogo.png"
}
]
}
}
}
}
\ No newline at end of file
egret/resource/default.res.json
View file @
195aaaef
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
},
},
{
{
"name"
:
"preload"
,
"name"
:
"preload"
,
"keys"
:
"namebg_png,avatar_png,invite_txtbg_png,invite_icon_png,taskicon_png,friend_avatar_png,ad_icon_png,testavatar_png,friend按钮-炫耀_png,friend_icon1_png,friend_icon2_png,friend_icon3_png,friend_itembg_png,friendbg_png,ad_closebtn_png,startpanel_icon1_png,startpanel_icon2_png,startpanel_icon3_png,startpanel_icon_png,startpanel_avatar_png,startpanel_bg2_png"
"keys"
:
"namebg_png,avatar_png,invite_txtbg_png,invite_icon_png,taskicon_png,friend_avatar_png,ad_icon_png,testavatar_png,friend按钮-炫耀_png,friend_icon1_png,friend_icon2_png,friend_icon3_png,friend_itembg_png,friendbg_png,ad_closebtn_png,startpanel_icon1_png,startpanel_icon2_png,startpanel_icon3_png,startpanel_icon_png,startpanel_avatar_png,startpanel_bg2_png
,common_adbg_png
"
}
}
],
],
"resources"
:
[
"resources"
:
[
...
@@ -2078,6 +2078,11 @@
...
@@ -2078,6 +2078,11 @@
"name"
:
"startpanel_bg2_png"
,
"name"
:
"startpanel_bg2_png"
,
"type"
:
"image"
,
"type"
:
"image"
,
"url"
:
"assets/startpanel2/startpanel_bg2.png"
"url"
:
"assets/startpanel2/startpanel_bg2.png"
},
{
"name"
:
"common_adbg_png"
,
"type"
:
"image"
,
"url"
:
"assets/common/common_adbg.png"
}
}
]
]
}
}
\ No newline at end of file
egret/resource/default.thm.json
View file @
195aaaef
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
"skins"
:
{},
"skins"
:
{},
"autoGenerateExmlsList"
:
true
,
"autoGenerateExmlsList"
:
true
,
"exmls"
:
[
"exmls"
:
[
"resource/skins/ADSmallSkin.exml"
,
"resource/skins/AvatarSkin.exml"
,
"resource/skins/AvatarSkin.exml"
,
"resource/skins/AlertSkin.exml"
,
"resource/skins/AlertSkin.exml"
,
"resource/skins/Blood2Skin.exml"
,
"resource/skins/Blood2Skin.exml"
,
...
...
egret/resource/skins/ADSmallSkin.exml
0 → 100644
View file @
195aaaef
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"ADSmallSkin"
width=
"582"
height=
"203"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16db4bf413f"
/>
<e:Image
source=
"common_adbg_png"
/>
<e:Image
y=
"57"
horizontalCenter=
"0"
width=
"493"
height=
"111"
source=
"{data.img}"
anchorOffsetY=
"0"
/>
</e:Skin>
\ No newline at end of file
egret/resource/skins/BackSkin.exml
View file @
195aaaef
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"BackSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
>
<e:Skin
class=
"BackSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
>
<e:Component
y=
"710.52"
skinName=
"ADSmallSkin"
horizontalCenter=
"0"
/>
<e:Image
source=
"闯关失败_png"
y=
"27"
horizontalCenter=
"0"
/>
<e:Image
source=
"闯关失败_png"
y=
"27"
horizontalCenter=
"0"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"609"
y=
"197"
>
<e:Button
id=
"closeBtn"
label=
""
x=
"609"
y=
"197"
>
<e:skinName>
<e:skinName>
...
...
egret/resource/skins/Box2Skin.exml
View file @
195aaaef
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"Box2Skin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Skin
class=
"Box2Skin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16ccc954c14"
/>
<w:Config
id=
"16ccc954c14"
/>
<e:Component
y=
"739.52"
skinName=
"ADSmallSkin"
horizontalCenter=
"0"
/>
<e:Image
y=
"33.76"
horizontalCenter=
"0"
source=
"box2_bg_png"
/>
<e:Image
y=
"33.76"
horizontalCenter=
"0"
source=
"box2_bg_png"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"601.94"
y=
"195.3"
>
<e:Button
id=
"closeBtn"
label=
""
x=
"601.94"
y=
"195.3"
>
<e:skinName>
<e:skinName>
...
...
egret/resource/skins/BoxSkin.exml
View file @
195aaaef
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"BoxSkin"
width=
"750"
height=
"1205"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Skin
class=
"BoxSkin"
width=
"750"
height=
"1205"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16cc233ca3b"
/>
<w:Config
id=
"16cc233ca3b"
/>
<e:Component
y=
"739.52"
skinName=
"ADSmallSkin"
horizontalCenter=
"0"
/>
<e:Image
source=
"boxbg_png"
y=
"33.76"
horizontalCenter=
"0"
/>
<e:Image
source=
"boxbg_png"
y=
"33.76"
horizontalCenter=
"0"
/>
<e:Image
id=
"img"
y=
"355"
touchEnabled=
"true"
source=
"{data.img}"
width=
"512"
height=
"240"
scaleX=
"0.9"
scaleY=
"0.9"
horizontalCenter=
"0"
/>
<e:Image
id=
"img"
y=
"355"
touchEnabled=
"true"
source=
"{data.img}"
width=
"512"
height=
"240"
scaleX=
"0.9"
scaleY=
"0.9"
horizontalCenter=
"0"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"604.96"
y=
"190.84"
>
<e:Button
id=
"closeBtn"
label=
""
x=
"604.96"
y=
"190.84"
>
...
...
egret/resource/skins/FailSkin.exml
View file @
195aaaef
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"FailSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Skin
class=
"FailSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
source=
"闯关失败_png"
y=
"27"
horizontalCenter=
"0"
/>
<e:Component
y=
"674.52"
skinName=
"ADSmallSkin"
horizontalCenter=
"0"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"609"
y=
"197"
>
<e:Image
source=
"闯关失败_png"
y=
"-8"
horizontalCenter=
"0"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"609"
y=
"162"
>
<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"
/>
...
@@ -9,7 +10,7 @@
...
@@ -9,7 +10,7 @@
</e:Skin>
</e:Skin>
</e:skinName>
</e:skinName>
</e:Button>
</e:Button>
<e:Button
id=
"againBtn"
label=
""
y=
"5
56
"
horizontalCenter=
"0"
>
<e:Button
id=
"againBtn"
label=
""
y=
"5
21
"
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=
"按钮 副本 9_png"
source.down=
"按钮 副本 9_png"
source.disabled=
"按钮 副本 9_png"
/>
<e:Image
width=
"100%"
height=
"100%"
source=
"按钮 副本 9_png"
source.down=
"按钮 副本 9_png"
source.disabled=
"按钮 副本 9_png"
/>
...
...
egret/resource/skins/MapSkin.exml
View file @
195aaaef
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
</e:Skin>
</e:Skin>
</e:skinName>
</e:skinName>
</e:Button>
</e:Button>
<e:Button
id=
"recordBtn"
label=
""
x=
"620.14"
y=
"
389
.91"
>
<e:Button
id=
"recordBtn"
label=
""
x=
"620.14"
y=
"
255
.91"
>
<e:skinName>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"recordbtn_png"
source.down=
"recordbtn_png"
source.disabled=
"recordbtn_png"
/>
<e:Image
width=
"100%"
height=
"100%"
source=
"recordbtn_png"
source.down=
"recordbtn_png"
source.disabled=
"recordbtn_png"
/>
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
</e:Skin>
</e:Skin>
</e:skinName>
</e:skinName>
</e:Button>
</e:Button>
<e:Button
id=
"signBtn"
label=
""
x=
"608.69"
y=
"
520
.57"
scaleX=
"0.9"
scaleY=
"0.9"
>
<e:Button
id=
"signBtn"
label=
""
x=
"608.69"
y=
"
383
.57"
scaleX=
"0.9"
scaleY=
"0.9"
>
<e:skinName>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"map_signicon_png"
source.down=
"map_signicon_png"
source.disabled=
"recordbtn_png"
/>
<e:Image
width=
"100%"
height=
"100%"
source=
"map_signicon_png"
source.down=
"map_signicon_png"
source.disabled=
"recordbtn_png"
/>
...
@@ -67,6 +67,16 @@
...
@@ -67,6 +67,16 @@
</e:Skin>
</e:Skin>
</e:skinName>
</e:skinName>
</e:Button>
</e:Button>
<e:Group
id=
"friendBtn"
x=
"13.56"
y=
"126.88"
width=
"171"
height=
"120"
>
<e:Image
source=
"avatar_png"
y=
"0"
horizontalCenter=
"0"
/>
<e:Group
x=
"38.5"
y=
"10"
>
<e:Image
id=
"avatar"
y=
"0"
source=
"testavatar_png"
width=
"96"
height=
"96"
x=
"0"
/>
<e:Rect
id=
"avatarMask"
width=
"96"
height=
"96"
x=
"0"
y=
"0"
ellipseWidth=
"96"
ellipseHeight=
"96"
/>
</e:Group>
<e:Image
source=
"namebg_png"
horizontalCenter=
"-4"
bottom=
"-4"
/>
<e:Label
id=
"nameTxt"
text=
"La121233bel"
y=
"91.5"
size=
"20"
horizontalCenter=
"1"
/>
</e:Group>
<e:Image
id=
"adBtn"
y=
"519.02"
source=
"ad_icon_png"
right=
"12"
/>
<e:Button
id=
"taskBtn"
label=
""
x=
"572.62"
y=
"248.51"
visible=
"false"
>
<e:Button
id=
"taskBtn"
label=
""
x=
"572.62"
y=
"248.51"
visible=
"false"
>
<e:skinName>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Skin
states=
"up,down,disabled"
>
...
@@ -148,15 +158,5 @@
...
@@ -148,15 +158,5 @@
</e:Group>
</e:Group>
<e:Label
text=
"点击开宝箱"
y=
"791"
size=
"37"
horizontalCenter=
"0"
bold=
"true"
/>
<e:Label
text=
"点击开宝箱"
y=
"791"
size=
"37"
horizontalCenter=
"0"
bold=
"true"
/>
</e:Group>
</e:Group>
<e:Group
id=
"friendBtn"
x=
"13.56"
y=
"126.88"
width=
"171"
height=
"120"
>
<e:Image
source=
"avatar_png"
y=
"0"
horizontalCenter=
"0"
/>
<e:Group
x=
"38.5"
y=
"10"
>
<e:Image
id=
"avatar"
y=
"0"
source=
"testavatar_png"
width=
"96"
height=
"96"
x=
"0"
/>
<e:Rect
id=
"avatarMask"
width=
"96"
height=
"96"
x=
"0"
y=
"0"
ellipseWidth=
"96"
ellipseHeight=
"96"
/>
</e:Group>
<e:Image
source=
"namebg_png"
horizontalCenter=
"-4"
bottom=
"-4"
/>
<e:Label
id=
"nameTxt"
text=
"La121233bel"
y=
"91.5"
size=
"20"
horizontalCenter=
"1"
/>
</e:Group>
<e:Image
id=
"adBtn"
y=
"648.02"
source=
"ad_icon_png"
right=
"12"
/>
<w:Config
id=
"16c89f4ae1a"
/>
<w:Config
id=
"16c89f4ae1a"
/>
</e:Skin>
</e:Skin>
\ No newline at end of file
egret/resource/skins/NoPrizeSkin.exml
View file @
195aaaef
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"NoPrizeSkin"
width=
"750"
height=
"1000"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Skin
class=
"NoPrizeSkin"
width=
"750"
height=
"1000"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Component
y=
"735.52"
skinName=
"ADSmallSkin"
horizontalCenter=
"0"
/>
<e:Image
id=
"light"
source=
"common_prizelight_png"
x=
"374.19"
y=
"329.51"
anchorOffsetX=
"375.76"
anchorOffsetY=
"327.27"
/>
<e:Image
id=
"light"
source=
"common_prizelight_png"
x=
"374.19"
y=
"329.51"
anchorOffsetX=
"375.76"
anchorOffsetY=
"327.27"
/>
<e:Image
y=
"109.55"
source=
"擦肩而过弹窗 _png"
horizontalCenter=
"0.5"
/>
<e:Image
y=
"109.55"
source=
"擦肩而过弹窗 _png"
horizontalCenter=
"0.5"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"617"
y=
"279"
>
<e:Button
id=
"closeBtn"
label=
""
x=
"617"
y=
"279"
>
...
...
egret/src/mapScene/AdSmallComp.ts
0 → 100644
View file @
195aaaef
import
ComponentBase
from
"../../libs/new_wx/components/ComponentBase"
;
export
default
class
AdSmallComp
extends
ComponentBase
{
start
(
data
?)
{
this
.
touchEnabled
=
this
.
touchChildren
=
false
;
super
.
start
(
data
);
}
get
skinKey
():
string
{
return
'ADSmall'
}
}
\ No newline at end of file
egret/src/mapScene/MapScene.ts
View file @
195aaaef
...
@@ -37,7 +37,7 @@ export default class MapScene extends Scene {
...
@@ -37,7 +37,7 @@ export default class MapScene extends Scene {
this
[
'avatar'
].
mask
=
this
[
'avatarMask'
];
this
[
'avatar'
].
mask
=
this
[
'avatarMask'
];
setTimeout
(()
=>
{
setTimeout
(()
=>
{
PanelCtrl
.
instance
.
show
(
'StartPanel'
,
1
);
//
PanelCtrl.instance.show('StartPanel',1);
},
1000
);
},
1000
);
if
(
getBgOn
()
&&
MapScene
[
'firstPlayBgTag'
]
==
true
)
{
if
(
getBgOn
()
&&
MapScene
[
'firstPlayBgTag'
]
==
true
)
{
...
...
mock/happyclear/home.json
View file @
195aaaef
...
@@ -384,7 +384,7 @@
...
@@ -384,7 +384,7 @@
],
],
"remainEnargy"
:
99
,
"remainEnargy"
:
99
,
"askForEnergy"
:
false
,
"askForEnergy"
:
false
,
"canReceiveTreasureBoxNum"
:
0
,
"canReceiveTreasureBoxNum"
:
1
0
,
"nextRangeStarsNum"
:
150
"nextRangeStarsNum"
:
150
}
}
}
}
\ 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