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
35b0e802
Commit
35b0e802
authored
Feb 25, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of gitlab2.dui88.com:wanghongyuan/xiaoxiaole into dev
parents
11429e08
61d06202
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
7 deletions
+18
-7
sharecodepanel.tmproject
egret/resource/TextureMerger/sharecodepanel.tmproject
+5
-1
ShareCodePanel.ts
egret/src/panels/ShareCodePanel.ts
+13
-6
No files found.
egret/resource/TextureMerger/sharecodepanel.tmproject
View file @
35b0e802
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"sharecodepanel","version":5,"files":["../assets/shareCodePanel/lijiqianwang.png","../assets/shareCodePanel/copyCodeBg.png","../assets/shareCodePanel/shareWxpyqIcon.png","../assets/shareCodePanel/shareWxIcon.png","../assets/shareCodePanel/shareQqIcon.png","../assets/shareCodePanel/shareWeiboIcon.png","../assets/shareCodePanel/zhantiegeihaoyou.png"]}
\ No newline at end of file
<<<<<<< HEAD
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"sharecodepanel","version":5,"files":["..\\assets\\shareCodePanel\\lijiqianwang.png","..\\assets\\shareCodePanel\\copyCodeBg.png","..\\assets\\shareCodePanel\\shareWxpyqIcon.png","..\\assets\\shareCodePanel\\shareWxIcon.png","..\\assets\\shareCodePanel\\shareQqIcon.png","..\\assets\\shareCodePanel\\shareWeiboIcon.png","..\\assets\\shareCodePanel\\zhantiegeihaoyou.png"]}
=======
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"sharecodepanel","version":5,"files":["../assets/shareCodePanel/lijiqianwang.png","../assets/shareCodePanel/copyCodeBg.png","../assets/shareCodePanel/shareWxpyqIcon.png","../assets/shareCodePanel/shareWxIcon.png","../assets/shareCodePanel/shareQqIcon.png","../assets/shareCodePanel/shareWeiboIcon.png","../assets/shareCodePanel/zhantiegeihaoyou.png"]}
>>>>>>> cc335fd429a254bc0a7d0e0a972062841c38abeb
egret/src/panels/ShareCodePanel.ts
View file @
35b0e802
...
...
@@ -75,10 +75,10 @@ const jumpFun = [
}
},
function
()
{
//跳转微博
showToast
(
"快打开微博,粘贴给好友吧"
)
},
function
()
{
//跳转qq
showToast
(
"快打开QQ,粘贴给好友吧"
)
},
]
...
...
@@ -142,19 +142,22 @@ class ShareCodePanel extends ComponentBase {
onTouchWxBtn
()
{
this
.
mark
=
0
;
this
.
codeOpr
()
this
.
codeOpr
();
NetManager
.
ins
.
showLog
(
getlogItem
(
84
));
}
onTouchWxpyqBtn
()
{
this
.
mark
=
1
;
this
.
codeOpr
()
this
.
codeOpr
()
;
}
onTouchWeiboBtn
()
{
this
.
mark
=
2
;
this
.
codeOpr
()
this
.
codeOpr
();
NetManager
.
ins
.
showLog
(
getlogItem
(
85
));
}
onTouchQqBtn
()
{
this
.
mark
=
3
;
this
.
codeOpr
()
this
.
codeOpr
();
NetManager
.
ins
.
showLog
(
getlogItem
(
86
));
}
onTouchGoBtn
()
{
...
...
@@ -261,6 +264,10 @@ export const showShareCodePanel = (channel: CodeChannels, shareCode?: string, ad
initShare
();
inited
=
true
;
}
//三个渠道点击埋点
NetManager
.
ins
.
showLog
(
getlogItem
(
84
));
NetManager
.
ins
.
showLog
(
getlogItem
(
85
));
NetManager
.
ins
.
showLog
(
getlogItem
(
86
));
_share
.
setData
({
channel
,
shareCode
,
addFun
});
layers
.
shareCodeLayer
.
visible
=
true
;
}
...
...
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