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
6f2a5683
Commit
6f2a5683
authored
Oct 11, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of gitlab2.dui88.com:wanghongyuan/xiaoxiaole into dev
parents
0cbf40d8
46d69171
Changes
9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
239 additions
and
127 deletions
+239
-127
NetManager.ts
egret/libs/tw/manager/NetManager.ts
+189
-112
InvitePrizePanelSkin.exml
egret/resource/skins/InvitePrizePanelSkin.exml
+1
-6
InviteRulePanelSkin.exml
egret/resource/skins/InviteRulePanelSkin.exml
+1
-1
InvitePanel.ts
egret/src/panels/InvitePanel.ts
+0
-2
InvitePrizePanel.ts
egret/src/panels/InvitePrizePanel.ts
+0
-3
config.js
mock/config.js
+12
-3
doHelp.json
mock/happyclear/doHelp.json
+7
-0
getInviteInfo.json
mock/happyclear/getInviteInfo.json
+22
-0
getShareCode.json
mock/happyclear/getShareCode.json
+7
-0
No files found.
egret/libs/tw/manager/NetManager.ts
View file @
6f2a5683
This diff is collapsed.
Click to expand it.
egret/resource/skins/InvitePrizePanelSkin.exml
View file @
6f2a5683
...
...
@@ -20,10 +20,5 @@
</e:Skin>
</e:skinName>
</e:Button>
<e:Group
x=
"84"
y=
"845.33"
>
<e:Image
y=
"0"
source=
"invite_prize_ad_png"
x=
"0"
/>
<e:Image
id=
"ad_ico"
source=
""
x=
"48"
y=
"55.67"
/>
<e:Label
id=
"label1"
text=
"Label"
x=
"277.5"
y=
"77.5"
textColor=
"0xe5150e"
size=
"24"
/>
<e:Label
id=
"label2"
text=
"Label"
x=
"262.5"
y=
"124.5"
textColor=
"0xE5150E"
size=
"34"
bold=
"true"
/>
</e:Group>
<e:Component
y=
"845.33"
skinName=
"ADSmallSkin"
horizontalCenter=
"0"
/>
</e:Skin>
\ No newline at end of file
egret/resource/skins/InviteRulePanelSkin.exml
View file @
6f2a5683
...
...
@@ -10,7 +10,7 @@
</e:layout>
</e:Group>
</e:Scroller>
<e:Button
id=
"closeBtn"
label=
""
x=
"6
14"
y=
"280
"
>
<e:Button
id=
"closeBtn"
label=
""
x=
"6
08"
y=
"322
"
>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"closeCommonBtn_png"
source.down=
"closeCommonBtn_png"
source.disabled=
"closeCommonBtn_png"
/>
...
...
egret/src/panels/InvitePanel.ts
View file @
6f2a5683
...
...
@@ -4,9 +4,7 @@ import layers from "../../libs/new_wx/views/layers";
import
ComponentBase
from
"../../libs/new_wx/components/ComponentBase"
;
import
{
iswx
}
from
"../iswx"
;
import
getSkinPath
from
"../../libs/new_wx/utils/getSkinPath"
;
import
PanelCtrl
from
"../../libs/new_wx/ctrls/panelCtrl"
;
import
InviteRulePanel
from
"./InviteRulePanel"
;
import
Loading
from
"../../libs/new_wx/components/Loading"
;
export
default
class
InvitePanel
extends
Panel
{
public
prizeImg
:
eui
.
Image
;
...
...
egret/src/panels/InvitePrizePanel.ts
View file @
6f2a5683
...
...
@@ -10,9 +10,6 @@ export default class InvitePrizePanel extends Panel {
public
prizeImg
:
eui
.
Image
;
public
closeBtn
:
eui
.
Button
;
public
ok_btn
:
eui
.
Button
;
public
ad_ico
:
eui
.
Image
;
public
label1
:
eui
.
Label
;
public
label2
:
eui
.
Label
;
start
()
{
super
.
start
();
...
...
mock/config.js
View file @
6f2a5683
...
...
@@ -108,8 +108,17 @@ const config = {
},
'/hdtool/recon/ngame/resurrectionStatus'
:
{
data
:
'./resurrectionStatus.json'
}
},
//////////////////// 消消乐邀请有礼 ////////////////////
'/customActivity/happyclear/getShareCode'
:
{
data
:
'./happyclear/getShareCode.json'
},
'/customActivity/happyclear/doHelp'
:
{
data
:
'./happyclear/doHelp.json'
},
'/customActivity/happyclear/invitationInfo'
:
{
data
:
'./happyclear/getInviteInfo.json'
},
}
for
(
let
item
in
config
)
{
...
...
mock/happyclear/doHelp.json
0 → 100644
View file @
6f2a5683
{
"success"
:
true
,
"code"
:
null
,
"desc"
:
null
,
"timestamp"
:
1566199822308
,
"data"
:
""
}
\ No newline at end of file
mock/happyclear/getInviteInfo.json
0 → 100644
View file @
6f2a5683
{
"success"
:
true
,
"code"
:
null
,
"desc"
:
null
,
"timestamp"
:
1566199822308
,
"data"
:{
"invitationId"
:
"活动id"
,
"invitationCount"
:
1
,
"img"
:
"图片"
,
"sysTime"
:
1566199822308
,
"endTime"
:
1566199822308
,
"invitationUser"
:[
{
"nickname"
:
"nickname"
,
"avatar"
:
"avatar"
}
],
"completeFlag"
:
true
,
"openPriz"
:
true
,
"openPrizMsg"
:
"图片"
}
}
\ No newline at end of file
mock/happyclear/getShareCode.json
0 → 100644
View file @
6f2a5683
{
"success"
:
true
,
"code"
:
null
,
"desc"
:
null
,
"timestamp"
:
1566199822308
,
"data"
:
""
}
\ 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