Commit 71a8e68d authored by wildfirecode13's avatar wildfirecode13

u

parent 150c5811
......@@ -22,5 +22,6 @@ function getParams() {
}
export const getUnionid = () => {
console.log('getUnionid',getQueryParams().uid);
return getQueryParams().uid;
}
\ No newline at end of file
......@@ -7,11 +7,22 @@ import { sendLog } from "../WebNet";
let section;
export class memberGuidePanel extends Panel {
callback;
start(data){
super.start(data);
this.callback=data;
}
click_memberGuide_btn(){
console.log('memberGuide_btn');
sendLog("click",6);
}
hidePanel(){
super.hidePanel();
this.callback();
}
get groupNames() { return ["memberGuide"] }
get skinName() { return "memberGuide" }
......
......@@ -18,6 +18,7 @@ import { getWebData, sendLog, sendWebNet } from "../WebNet";
import { WebNetName } from "../WebNetName";
import { layers } from "../../module/views/layers";
import { showShareMask } from "../common/ShareMask";
import { getUnionid } from "../getUnionid";
let boxGroup: BoxGroup;
......@@ -78,7 +79,11 @@ export class IndexScene extends Scene {
shareButton.addEventListener(FYGE.MouseEvent.CLICK, () => {
sendLog("click",9);
this.handleShare();
},this)
},this);
if( !getUnionid()){
this.initNonmemberMask();
}
}
initContainer() {
......@@ -97,7 +102,10 @@ export class IndexScene extends Scene {
mask.alpha = 0;
layers.topLayer.addChild(mask);
mask.addEventListener(FYGE.MouseEvent.CLICK, () => {
showPanel(memberGuidePanel);
mask.mouseEnable=false;
showPanel(memberGuidePanel,()=>{
mask.mouseEnable=true;
});
},this)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment