Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wfc13
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
wfc13
Commits
71a8e68d
Commit
71a8e68d
authored
Aug 13, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
150c5811
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
2 deletions
+22
-2
getUnionid.ts
project/src/getUnionid.ts
+1
-0
memberGuide.ts
project/src/panels/memberGuide.ts
+11
-0
IndexScene.ts
project/src/scenes/IndexScene.ts
+10
-2
No files found.
project/src/getUnionid.ts
View file @
71a8e68d
...
@@ -22,5 +22,6 @@ function getParams() {
...
@@ -22,5 +22,6 @@ function getParams() {
}
}
export
const
getUnionid
=
()
=>
{
export
const
getUnionid
=
()
=>
{
console
.
log
(
'getUnionid'
,
getQueryParams
().
uid
);
return
getQueryParams
().
uid
;
return
getQueryParams
().
uid
;
}
}
\ No newline at end of file
project/src/panels/memberGuide.ts
View file @
71a8e68d
...
@@ -7,11 +7,22 @@ import { sendLog } from "../WebNet";
...
@@ -7,11 +7,22 @@ import { sendLog } from "../WebNet";
let
section
;
let
section
;
export
class
memberGuidePanel
extends
Panel
{
export
class
memberGuidePanel
extends
Panel
{
callback
;
start
(
data
){
super
.
start
(
data
);
this
.
callback
=
data
;
}
click_memberGuide_btn
(){
click_memberGuide_btn
(){
console
.
log
(
'memberGuide_btn'
);
console
.
log
(
'memberGuide_btn'
);
sendLog
(
"click"
,
6
);
sendLog
(
"click"
,
6
);
}
}
hidePanel
(){
super
.
hidePanel
();
this
.
callback
();
}
get
groupNames
()
{
return
[
"memberGuide"
]
}
get
groupNames
()
{
return
[
"memberGuide"
]
}
get
skinName
()
{
return
"memberGuide"
}
get
skinName
()
{
return
"memberGuide"
}
...
...
project/src/scenes/IndexScene.ts
View file @
71a8e68d
...
@@ -18,6 +18,7 @@ import { getWebData, sendLog, sendWebNet } from "../WebNet";
...
@@ -18,6 +18,7 @@ import { getWebData, sendLog, sendWebNet } from "../WebNet";
import
{
WebNetName
}
from
"../WebNetName"
;
import
{
WebNetName
}
from
"../WebNetName"
;
import
{
layers
}
from
"../../module/views/layers"
;
import
{
layers
}
from
"../../module/views/layers"
;
import
{
showShareMask
}
from
"../common/ShareMask"
;
import
{
showShareMask
}
from
"../common/ShareMask"
;
import
{
getUnionid
}
from
"../getUnionid"
;
let
boxGroup
:
BoxGroup
;
let
boxGroup
:
BoxGroup
;
...
@@ -78,7 +79,11 @@ export class IndexScene extends Scene {
...
@@ -78,7 +79,11 @@ export class IndexScene extends Scene {
shareButton
.
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
()
=>
{
shareButton
.
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
()
=>
{
sendLog
(
"click"
,
9
);
sendLog
(
"click"
,
9
);
this
.
handleShare
();
this
.
handleShare
();
},
this
)
},
this
);
if
(
!
getUnionid
()){
this
.
initNonmemberMask
();
}
}
}
initContainer
()
{
initContainer
()
{
...
@@ -97,7 +102,10 @@ export class IndexScene extends Scene {
...
@@ -97,7 +102,10 @@ export class IndexScene extends Scene {
mask
.
alpha
=
0
;
mask
.
alpha
=
0
;
layers
.
topLayer
.
addChild
(
mask
);
layers
.
topLayer
.
addChild
(
mask
);
mask
.
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
()
=>
{
mask
.
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
()
=>
{
showPanel
(
memberGuidePanel
);
mask
.
mouseEnable
=
false
;
showPanel
(
memberGuidePanel
,()
=>
{
mask
.
mouseEnable
=
true
;
});
},
this
)
},
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