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
c04c8a03
Commit
c04c8a03
authored
Oct 16, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2ba94f51
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
sharefriendwx.jpg
egret/resource/assets/sharefriendwx.jpg
+0
-0
MapScene.ts
egret/src/mapScene/MapScene.ts
+4
-2
InvitePanel.ts
egret/src/panels/InvitePanel.ts
+1
-1
No files found.
egret/resource/assets/sharefriendwx.jpg
View replaced file @
2ba94f51
View file @
c04c8a03
286 KB
|
W:
|
H:
287 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/src/mapScene/MapScene.ts
View file @
c04c8a03
...
@@ -364,10 +364,12 @@ export default class MapScene extends Scene {
...
@@ -364,10 +364,12 @@ export default class MapScene extends Scene {
NetManager
.
ins
.
hc_mapRank
(()
=>
{
NetManager
.
ins
.
hc_mapRank
(()
=>
{
const
hc_mapRank
=
DataManager
.
ins
.
getData
(
'hc_mapRank'
).
data
;
const
hc_mapRank
=
DataManager
.
ins
.
getData
(
'hc_mapRank'
).
data
;
if
(
!
hc_mapRank
)
return
;
if
(
!
hc_mapRank
)
return
;
const
{
data
}
=
DataManager
.
ins
.
getData
(
'hc_userInfo'
);
hc_mapRank
.
forEach
((
ele
)
=>
{
hc_mapRank
.
forEach
((
ele
)
=>
{
// ele.rank[0].avatar =
if
(
ele
.
levelNum
==
getHomeData
().
levels
.
length
+
1
){
ele
.
rank
[
0
].
avatar
=
data
.
avatar
;
}
this
.
addAvatar
(
ele
.
levelNum
,
ele
.
rank
[
0
]);
this
.
addAvatar
(
ele
.
levelNum
,
ele
.
rank
[
0
]);
console
.
log
(
ele
)
});
});
});
});
}
}
...
...
egret/src/panels/InvitePanel.ts
View file @
c04c8a03
...
@@ -87,7 +87,7 @@ export default class InvitePanel extends Panel {
...
@@ -87,7 +87,7 @@ export default class InvitePanel extends Panel {
return
;
return
;
}
}
let
shareCode
=
res
.
data
;
// 分享码
let
shareCode
=
res
.
data
;
// 分享码
CFG
.
wxShareLink
=
"https://gameact.suning.com/duiba/customShare/share?id=3531"
+
"&shareCode="
+
shareCode
;
// 分享链接
CFG
.
wxShareLink
=
window
[
'h5URL'
]
+
"&shareCode="
+
shareCode
;
// 分享链接
if
(
iswx
())
{
//微信端
if
(
iswx
())
{
//微信端
this
.
wxShareTip
.
visible
=
true
;
this
.
wxShareTip
.
visible
=
true
;
window
[
"invokeWX"
]();
window
[
"invokeWX"
]();
...
...
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