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
39727cfb
Commit
39727cfb
authored
Oct 28, 2019
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
638daddb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ScratchPanel.ts
egret/src/panels/ScratchPanel.ts
+3
-2
No files found.
egret/src/panels/ScratchPanel.ts
View file @
39727cfb
...
...
@@ -221,7 +221,8 @@ class ScratchItem extends eui.ItemRenderer {
return
;
}
let
shareCode
=
res
.
data
;
// 分享码
CFG
.
wxShareLink
=
window
[
'h5URL2'
]
+
"&shareCode="
+
"12345678"
+
shareCode
;
// 分享链接
let
code
=
"12345678"
+
shareCode
;
CFG
.
wxShareLink
=
window
[
'h5URL2'
]
+
"&shareCode="
+
code
;
// 分享链接
CFG
.
wxShareTitle
=
'狮狮连萌超好玩~我已经玩到第一了!'
;
CFG
.
wxShareDesc
=
'我在萌狮消消乐等你来挑战哦'
;
CFG
.
wxShareImg
=
"http://yun.duiba.com.cn/db_games/xiaoxiaole2.jpg"
;
...
...
@@ -230,7 +231,7 @@ class ScratchItem extends eui.ItemRenderer {
window
[
"invokeWX"
]();
}
else
{
//端内
this
.
data
.
wxShareTip
.
visible
=
false
;
window
[
"scratchShare"
](
shareC
ode
);
window
[
"scratchShare"
](
c
ode
);
}
},
this
.
data
.
scratchTaskId
);
},
this
);
...
...
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