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
c281b52a
Commit
c281b52a
authored
Oct 14, 2019
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
18b21f9b
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
19 deletions
+26
-19
index.html
egret/index.html
+3
-3
NetManager.ts
egret/libs/tw/manager/NetManager.ts
+1
-1
MapScene.ts
egret/src/mapScene/MapScene.ts
+7
-0
acceptInvitationInfo.json
mock/happyclear/acceptInvitationInfo.json
+14
-14
getInviteInfo.json
mock/happyclear/getInviteInfo.json
+1
-1
No files found.
egret/index.html
View file @
c281b52a
...
@@ -55,9 +55,9 @@
...
@@ -55,9 +55,9 @@
* 邀请有礼分享
* 邀请有礼分享
*/
*/
function
inviteShare
(
shareCode
)
{
function
inviteShare
(
shareCode
)
{
let
title
=
""
;
let
title
=
"
求求你可以帮我点一下吗?还差一点点就可以领红包了~
"
;
let
content
=
""
;
let
content
=
"
我在狮狮连萌等你,一起天天领福利哦
"
;
let
targetUrl
=
"
"
+
"?
shareCode="
+
shareCode
;
// 待修改
let
targetUrl
=
"
https://gameact.suning.com/duiba/customShare/share?id=3531"
+
"&
shareCode="
+
shareCode
;
// 待修改
let
iconUrl
=
"http://yun.duiba.com.cn/db_games/xiaoxiaole.jpg"
;
let
iconUrl
=
"http://yun.duiba.com.cn/db_games/xiaoxiaole.jpg"
;
let
shareWays
=
"1,2"
;
let
shareWays
=
"1,2"
;
console
.
log
(
"AppReady"
);
console
.
log
(
"AppReady"
);
...
...
egret/libs/tw/manager/NetManager.ts
View file @
c281b52a
...
@@ -1968,7 +1968,7 @@ export class NetManager extends ABNetManager {
...
@@ -1968,7 +1968,7 @@ export class NetManager extends ABNetManager {
name
:
NetName
.
DO_HELP
,
name
:
NetName
.
DO_HELP
,
uri
:
'/customActivity/happyclear/doHelp'
,
uri
:
'/customActivity/happyclear/doHelp'
,
type
:
'post'
,
type
:
'post'
,
dataType
:
'
get
'
,
dataType
:
'
json
'
,
param
:
{
param
:
{
activityId
:
DataManager
.
ins
.
customCfgData
.
actId
,
activityId
:
DataManager
.
ins
.
customCfgData
.
actId
,
shareCode
:
shareCode
,
shareCode
:
shareCode
,
...
...
egret/src/mapScene/MapScene.ts
View file @
c281b52a
...
@@ -441,6 +441,9 @@ export default class MapScene extends Scene {
...
@@ -441,6 +441,9 @@ export default class MapScene extends Scene {
PanelCtrl
.
instance
.
show
(
'invite'
,
res
.
data
);
PanelCtrl
.
instance
.
show
(
'invite'
,
res
.
data
);
});
});
break
;
break
;
case
(
flag
==
5
):
// 可以开启下一次发任务
PanelCtrl
.
instance
.
show
(
'inviteCutTime'
,
res
.
data
);
break
;
default
:
default
:
break
;
break
;
}
}
...
@@ -485,6 +488,10 @@ export default class MapScene extends Scene {
...
@@ -485,6 +488,10 @@ export default class MapScene extends Scene {
this
[
"inviteTips"
].
visible
=
true
;
this
[
"inviteTips"
].
visible
=
true
;
this
[
"inviteTips"
].
text
=
"立即到账"
;
this
[
"inviteTips"
].
text
=
"立即到账"
;
break
;
break
;
case
(
flag
==
5
):
// 可以开启下一次发任务 显示立即到账
this
[
"inviteTipsBg"
].
visible
=
false
;
this
[
"inviteTips"
].
visible
=
false
;
break
;
default
:
default
:
break
;
break
;
}
}
...
...
mock/happyclear/acceptInvitationInfo.json
View file @
c281b52a
{
{
"success"
:
true
,
"success"
:
true
,
"code"
:
null
,
"code"
:
"0000000000"
,
"desc"
:
null
,
"desc"
:
"OK"
,
"timestamp"
:
15
66199822308
,
"timestamp"
:
15
71052938097
,
"data"
:
{
"data"
:
{
"invitationId"
:
"活动id"
,
"invitationId"
:
null
,
"invitationCount"
:
0
,
"invitationCount"
:
1
,
"
img"
:
"http://yun.duiba.com.cn/db_games/xiaoxiaole.jpg"
,
"
sysTime"
:
1571052938083
,
"
sysTime"
:
1570630215
000
,
"
endTime"
:
1571134423
000
,
"
endTime"
:
1570672800000
,
"
completeFlag"
:
1
,
"
completeFlag"
:
0
,
"
openPrizMsg"
:
null
,
"
openPrizMsg"
:
"图片
"
,
"
prizeType"
:
"7
"
,
"prize
Type"
:
"nickname"
,
"prize
Name"
:
null
,
"prize
Name"
:
"nickname
"
,
"prize
Img"
:
"//yun.dui88.com/images/201910/oblhlej3a6.png
"
,
"
prizeImg"
:
"http://yun.duiba.com.cn/db_games/xiaoxiaole.jpg
"
,
"
facePrice"
:
"2
"
,
"
facePrice"
:
"avatar"
"
invitationUser"
:
[]
}
}
}
}
\ No newline at end of file
mock/happyclear/getInviteInfo.json
View file @
c281b52a
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
"avatar"
:
"http://yun.duiba.com.cn/db_games/xiaoxiaole.jpg"
"avatar"
:
"http://yun.duiba.com.cn/db_games/xiaoxiaole.jpg"
}
}
],
],
"completeFlag"
:
0
,
"completeFlag"
:
5
,
"openPrizeMsg"
:
"图片"
,
"openPrizeMsg"
:
"图片"
,
"prizeType"
:
"nickname"
,
"prizeType"
:
"nickname"
,
"prizeName"
:
"nickname"
,
"prizeName"
:
"nickname"
,
...
...
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