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
d7b02efb
Commit
d7b02efb
authored
Sep 03, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e03881a0
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
14 deletions
+18
-14
share3.jpg
egret/resource/assets/share3.jpg
+0
-0
shareCtrl.ts
egret/src/shareCtrl.ts
+5
-1
Loading2.ts
egret/src/something/uis/Loading2.ts
+13
-13
No files found.
egret/resource/assets/share3.jpg
View replaced file @
e03881a0
View file @
d7b02efb
196 KB
|
W:
|
H:
195 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/src/shareCtrl.ts
View file @
d7b02efb
...
...
@@ -51,7 +51,11 @@ class Share2 extends ComponentBase {
}
//channel 1 好友 2 朋友圈
getFunc
(
type
:
string
)
{
const
base64
=
getPrintScreenData
(
this
[
'pic'
+
this
.
type
],
0
,
0
,
579
,
866
);
let
base64
;
if
(
this
.
type
==
1
)
base64
=
getPrintScreenData
(
this
[
'pic'
+
this
.
type
],
0
,
0
,
579
,
866
);
else
base64
=
getPrintScreenData
(
this
[
'pic'
+
this
.
type
],
0
,
0
,
600
,
965
);
NetManager
.
ins
.
imgUrl
((
success
)
=>
{
const
data
=
DataManager
.
ins
.
getData
(
'imgURL'
);
img
.
src
=
base64
;
...
...
egret/src/something/uis/Loading2.ts
View file @
d7b02efb
This diff is collapsed.
Click to expand it.
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