Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yyh
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
yyh
Commits
6d9e2214
Commit
6d9e2214
authored
Dec 10, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d4859f52
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
29 deletions
+24
-29
ShareStarterSkin.exml
egret/resource/skins/ShareStarterSkin.exml
+1
-1
ShareStarterScene.ts
egret/src/yazuwei/ShareStarterScene.ts
+23
-28
No files found.
egret/resource/skins/ShareStarterSkin.exml
View file @
6d9e2214
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"CertificateSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Group
verticalCenter=
"0"
>
<e:Group
id=
"group"
verticalCenter=
"0"
>
<e:Image
source=
"sharestarter_bg_jpg"
/>
<e:Image
id=
"waitTips"
source=
"transfer _toast1_png"
horizontalCenter=
"0"
x=
"129"
scaleX=
"1"
scaleY=
"1"
verticalCenter=
"0"
visible=
"false"
/>
<e:Image
id=
"matchingTips"
source=
"transfer _toast2_png"
horizontalCenter=
"0"
x=
"139"
scaleX=
"1"
scaleY=
"1"
verticalCenter=
"0"
y=
"10"
visible=
"false"
/>
...
...
egret/src/yazuwei/ShareStarterScene.ts
View file @
6d9e2214
...
...
@@ -43,8 +43,8 @@ export default class ShareStarterScene extends Scene {
this
.
addAni
(
this
[
'matchingTips'
]);
this
.
addAni
(
this
[
'shareTips'
]);
const
sharecode
=
0
;
// if (this._isInviterSide) {//邀请者
yzwNet
.
genInvite
(()
=>
{
let
sharecode
=
DataManager
.
ins
.
getData
(
'genInvite'
).
data
;
this
[
'matchingTips'
].
visible
=
true
;
NetManager
.
ins
.
yyh_pollingAnimationState
((
success
)
=>
{
const
data
=
DataManager
.
ins
.
getData
(
'yyh_pollingAnimationState'
).
data
;
...
...
@@ -65,12 +65,7 @@ export default class ShareStarterScene extends Scene {
}
return
data
===
null
||
data
===
0
||
data
==
1
||
data
==
2
;
})
// }
// yzwNet.genInvite(() => {
// let data = DataManager.ins.getData('genInvite').data;
// NetManager.ins.yyh_pollingAnimationState();
// }, window['projectId'])
},
window
[
'projectId'
])
}
addAni
(
d
)
{
...
...
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