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
e048c2e7
Commit
e048c2e7
authored
Oct 14, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3085d624
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
29 additions
and
6 deletions
+29
-6
NoPrizePanel.ts
egret/libs/new_wx/components/NoPrizePanel.ts
+2
-0
PrizePanel.ts
egret/libs/new_wx/components/PrizePanel.ts
+3
-0
default.res.json
egret/resource/default.res.json
+9
-0
Box2Skin.exml
egret/resource/skins/Box2Skin.exml
+1
-1
NoPrizeSkin.exml
egret/resource/skins/NoPrizeSkin.exml
+1
-1
Prize2Skin.exml
egret/resource/skins/Prize2Skin.exml
+1
-1
PrizeSkin.exml
egret/resource/skins/PrizeSkin.exml
+1
-1
SignPrizeSkin.exml
egret/resource/skins/SignPrizeSkin.exml
+1
-1
Box2Panel.ts
egret/src/panels/Box2Panel.ts
+2
-1
FailedPanel.ts
egret/src/panels/FailedPanel.ts
+3
-0
Prize2Panel.ts
egret/src/panels/Prize2Panel.ts
+3
-0
SignPrizePanel.ts
egret/src/panels/SignPrizePanel.ts
+2
-0
No files found.
egret/libs/new_wx/components/NoPrizePanel.ts
View file @
e048c2e7
...
...
@@ -10,6 +10,7 @@ import getShowOffPic from "../../../src/getShowOffPic";
import
{
showShare
}
from
"../../../src/shareCtrl"
;
import
{
iswx
}
from
"../../../src/iswx"
;
import
wait
from
"../../new_tc/wait"
;
import
{
addAdComp
}
from
"../../../src/panels/BoxPanel"
;
export
default
class
NoPrizePanel
extends
Panel
{
_level
;
start
(
data
)
{
...
...
@@ -39,6 +40,7 @@ export default class NoPrizePanel extends Panel {
changeMapScene
();
},
this
);
addAdComp
(
84
,
735.52
,
this
);
}
...
...
egret/libs/new_wx/components/PrizePanel.ts
View file @
e048c2e7
...
...
@@ -10,6 +10,7 @@ import Panel from "./Panel";
import
getShowOffPic
from
"../../../src/getShowOffPic"
;
import
wait
from
"../../new_tc/wait"
;
import
{
changeMapScene
}
from
"../../../src/startScene/StartScene"
;
import
{
addAdComp
}
from
"../../../src/panels/BoxPanel"
;
export
default
class
PrizePanel
extends
Panel
{
_level
;
start
(
data
)
{
...
...
@@ -41,6 +42,8 @@ export default class PrizePanel extends Panel {
const
hc_submitData
=
DataManager
.
ins
.
getData
(
'hc_submit'
).
data
;
this
.
setStar
(
hc_submitData
.
stars
);
addAdComp
(
84
,
938.52
,
this
);
}
showlog
()
{
...
...
egret/resource/default.res.json
View file @
e048c2e7
...
...
@@ -103,6 +103,10 @@
{
"keys"
:
"inviterulebg_png"
,
"name"
:
"inviterule"
},
{
"name"
:
"preload"
,
"keys"
:
"ad_closebtn_png"
}
],
"resources"
:
[
...
...
@@ -2215,6 +2219,11 @@
"url"
:
"assets/inviterule/inviterulebg.png"
,
"type"
:
"image"
,
"name"
:
"inviterulebg_png"
},
{
"name"
:
"ad_closebtn_png"
,
"type"
:
"image"
,
"url"
:
"assets/ad/ad_closebtn.png"
}
]
}
\ No newline at end of file
egret/resource/skins/Box2Skin.exml
View file @
e048c2e7
<?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"
>
<w:Config
id=
"16ccc954c14"
/>
<e:Component
y=
"739.52"
skinName=
"ADSmallSkin"
horizontalCenter=
"0
"
/>
<e:Component
id=
"ad"
y=
"739.52"
skinName=
"ADSmallSkin"
x=
"84"
visible=
"false
"
/>
<e:Image
y=
"33.76"
horizontalCenter=
"0"
source=
"box2_bg_png"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"601.94"
y=
"195.3"
>
<e:skinName>
...
...
egret/resource/skins/NoPrizeSkin.exml
View file @
e048c2e7
<?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:Component
y=
"735.52"
skinName=
"ADSmallSkin"
horizontalCenter=
"0
"
/>
<e:Component
y=
"735.52"
skinName=
"ADSmallSkin"
x=
"84"
visible=
"false
"
/>
<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:Button
id=
"closeBtn"
label=
""
x=
"617"
y=
"279"
>
...
...
egret/resource/skins/Prize2Skin.exml
View file @
e048c2e7
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"Prize2Skin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"169005181d0"
/>
<e:Component
y=
"849.52"
skinName=
"ADSmallSkin"
horizontalCenter=
"0
"
/>
<e:Component
y=
"849.52"
skinName=
"ADSmallSkin"
x=
"84"
visible=
"false
"
/>
<e:Image
id=
"light"
source=
"common_prizelight_png"
x=
"374.19"
y=
"246.13"
anchorOffsetX=
"375.76"
anchorOffsetY=
"327.27"
/>
<e:Image
source=
"prizePanelbg_png"
y=
"51.58"
horizontalCenter=
"0.5"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"616"
y=
"223.62"
>
...
...
egret/resource/skins/PrizeSkin.exml
View file @
e048c2e7
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"PrizeSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"169005181d0"
/>
<e:Component
y=
"938.52"
skinName=
"ADSmallSkin"
horizontalCenter=
"0
"
/>
<e:Component
y=
"938.52"
skinName=
"ADSmallSkin"
x=
"84"
visible=
"false
"
/>
<e:Image
id=
"light"
source=
"common_prizelight_png"
x=
"374.19"
y=
"329.51"
anchorOffsetX=
"375.76"
anchorOffsetY=
"327.27"
/>
<e:Image
source=
"prizePanelbg_png"
y=
"136.9"
horizontalCenter=
"0.5"
/>
<e:Button
id=
"closeBtn"
label=
""
x=
"618"
y=
"311"
>
...
...
egret/resource/skins/SignPrizeSkin.exml
View file @
e048c2e7
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"SignPrizeSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<w:Config
id=
"16d5c2563cb"
/>
<e:Component
y=
"698.52"
skinName=
"ADSmallSkin"
horizontalCenter=
"0
"
/>
<e:Component
y=
"698.52"
skinName=
"ADSmallSkin"
x=
"84"
visible=
"false
"
/>
<e:Image
source=
"singprizebg_png"
y=
"20"
horizontalCenter=
"0"
/>
<e:Image
id=
"img"
y=
"297"
touchEnabled=
"true"
source=
"{data.img}"
width=
"512"
height=
"240"
scaleX=
"1"
scaleY=
"1"
horizontalCenter=
"0"
visible=
"false"
/>
<e:Image
id=
"money"
source=
"signprize元宝_png"
y=
"234.88"
horizontalCenter=
"0"
/>
...
...
egret/src/panels/Box2Panel.ts
View file @
e048c2e7
import
Panel
from
"../../libs/new_wx/components/Panel"
;
import
{
addAdComp
}
from
"./BoxPanel"
;
export
default
class
Box2Panel
extends
Panel
{
start
(
data
)
{
super
.
start
();
...
...
@@ -9,6 +9,7 @@ export default class Box2Panel extends Panel {
// }, this);
// this.showlog();
// this.data.img = DataManager.ins.getData('getPlugOrderStatus').lottery.imgurl;
addAdComp
(
84
,
739
,
this
)
}
// showlog() {
// NetManager.ins.showLog(getlogItem(17));
...
...
egret/src/panels/FailedPanel.ts
View file @
e048c2e7
...
...
@@ -3,6 +3,7 @@ import SceneCtrl from "../../libs/new_wx/ctrls/sceneCtrl";
import
{
ModuleTypes
}
from
"../../libs/new_wx/types/sceneTypes"
;
import
{
NetManager
}
from
"../../libs/tw/manager/NetManager"
;
import
{
changeMapScene
}
from
"../startScene/StartScene"
;
import
{
addAdComp
}
from
"./BoxPanel"
;
export
default
class
FailedPanel
extends
Panel
{
_level
;
...
...
@@ -20,6 +21,8 @@ export default class FailedPanel extends Panel {
changeMapScene
();
},
this
);
addAdComp
(
84
,
674.52
,
this
);
}
onTouchTap_closeBtn
()
{
...
...
egret/src/panels/Prize2Panel.ts
View file @
e048c2e7
...
...
@@ -10,6 +10,7 @@ import { showShare } from "../shareCtrl";
import
{
iswx
}
from
"../iswx"
;
import
wait
from
"../../libs/new_tc/wait"
;
import
{
changeMapScene
}
from
"../startScene/StartScene"
;
import
{
addAdComp
}
from
"./BoxPanel"
;
export
default
class
Prize2Panel
extends
Panel
{
_level
;
...
...
@@ -45,6 +46,8 @@ export default class Prize2Panel extends Panel {
const
hc_submitData
=
DataManager
.
ins
.
getData
(
'hc_submit'
).
data
;
this
.
setStar
(
hc_submitData
.
stars
);
addAdComp
(
84
,
849.52
,
this
);
}
showlog
()
{
...
...
egret/src/panels/SignPrizePanel.ts
View file @
e048c2e7
import
Panel
from
"../../libs/new_wx/components/Panel"
;
import
{
DataManager
}
from
"../../libs/tw/manager/DataManager"
;
import
{
addAdComp
}
from
"./BoxPanel"
;
export
default
class
SignPrizePanel
extends
Panel
{
start
(
data
)
{
...
...
@@ -29,6 +30,7 @@ export default class SignPrizePanel extends Panel {
this
[
'img'
].
visible
=
prizeType
!=
'times'
&&
prizeType
!=
'coin'
;
this
[
'money'
].
visible
=
prizeType
==
'coin'
;
this
[
'blood'
].
visible
=
prizeType
==
'times'
;
addAdComp
(
84
,
698.52
,
this
);
}
showlog
()
{
...
...
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