Commit 2b5c25f1 authored by wjf's avatar wjf

l

parent 9905ed2c
...@@ -16899,6 +16899,8 @@ var Panel_1 = __webpack_require__(/*! ../../module/views/Panel */ "./module/view ...@@ -16899,6 +16899,8 @@ var Panel_1 = __webpack_require__(/*! ../../module/views/Panel */ "./module/view
var RES_1 = __webpack_require__(/*! ../../module/RES */ "./module/RES.ts"); var RES_1 = __webpack_require__(/*! ../../module/RES */ "./module/RES.ts");
var TaoBaoNet_1 = __webpack_require__(/*! ../TaoBaoNet */ "./src/TaoBaoNet.ts"); var TaoBaoNet_1 = __webpack_require__(/*! ../TaoBaoNet */ "./src/TaoBaoNet.ts");
var ctrls_1 = __webpack_require__(/*! ../../module/ctrls */ "./module/ctrls/index.ts"); var ctrls_1 = __webpack_require__(/*! ../../module/ctrls */ "./module/ctrls/index.ts");
var Main_1 = __webpack_require__(/*! ../Main */ "./src/Main.ts");
var G_EVENT_1 = __webpack_require__(/*! ../common/G_EVENT */ "./src/common/G_EVENT.ts");
var JoinPanel = (function (_super) { var JoinPanel = (function (_super) {
__extends(JoinPanel, _super); __extends(JoinPanel, _super);
function JoinPanel() { function JoinPanel() {
...@@ -16922,6 +16924,9 @@ var JoinPanel = (function (_super) { ...@@ -16922,6 +16924,9 @@ var JoinPanel = (function (_super) {
_this.enableMouseEvt(false); _this.enableMouseEvt(false);
ctrls_1.wait(function () { _this.enableMouseEvt(true); }, 2000); ctrls_1.wait(function () { _this.enableMouseEvt(true); }, 2000);
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.navigateToOutside, { url: _this.data.url }); TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.navigateToOutside, { url: _this.data.url });
Main_1.GDispatcher.once(G_EVENT_1.G_EVENT.ON_SHOW, function () {
_this.hidePanel();
}, _this);
}, this) }, this)
.position.set(166, 744); .position.set(166, 744);
}; };
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -2,6 +2,8 @@ import { Panel } from "../../module/views/Panel"; ...@@ -2,6 +2,8 @@ import { Panel } from "../../module/views/Panel";
import { RES } from "../../module/RES"; import { RES } from "../../module/RES";
import { sendTbNet, TbNetName } from "../TaoBaoNet"; import { sendTbNet, TbNetName } from "../TaoBaoNet";
import { wait } from "../../module/ctrls"; import { wait } from "../../module/ctrls";
import { GDispatcher } from "../Main";
import { G_EVENT } from "../common/G_EVENT";
export class JoinPanel extends Panel { export class JoinPanel extends Panel {
get groupNames() { get groupNames() {
...@@ -21,6 +23,10 @@ export class JoinPanel extends Panel { ...@@ -21,6 +23,10 @@ export class JoinPanel extends Panel {
this.enableMouseEvt(false); this.enableMouseEvt(false);
wait(() => { this.enableMouseEvt(true) }, 2000) wait(() => { this.enableMouseEvt(true) }, 2000)
sendTbNet(TbNetName.navigateToOutside, { url: this.data.url }) sendTbNet(TbNetName.navigateToOutside, { url: this.data.url })
//回来时关闭,回来讲道理必执行
GDispatcher.once(G_EVENT.ON_SHOW, () => {
this.hidePanel();
}, this)
}, this) }, this)
.position.set(166, 744) .position.set(166, 744)
} }
......
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