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