Commit 07a59852 authored by wjf's avatar wjf

l

parent 72651a60
......@@ -106,6 +106,8 @@ class ShareCodePanel extends ComponentBase {
}
onTouchClickBg() {
layers.shareLayer.visible = false;
//关闭后要置null
this.code = null
}
private codeOpr() {
......
......@@ -85,10 +85,10 @@ export default class StartPanel extends Panel {
onTap_startBtn() {
const homeData = getHomeData();
// if(homeData.remainEnargy <= 0) {
// if(homeData.askForEnergy) {
// PanelCtrl.instance.show('blood2Panel');
// } else {
if(homeData.remainEnargy <= 0) {
if(homeData.askForEnergy) {
PanelCtrl.instance.show('blood2Panel');
} else {
if(iswx()) {
getShareUrl(this.stage);
} else
......@@ -101,9 +101,9 @@ export default class StartPanel extends Panel {
showToast('分享成功~');
});
})
// }
// return;
// }
}
return;
}
// Loading.instace.show();
this.touchChildren = false;
......
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