Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
babycare_xiaoxiao
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
王剑峰
babycare_xiaoxiao
Commits
2b5c25f1
Commit
2b5c25f1
authored
Aug 05, 2020
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
9905ed2c
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
output.js
output.js
+5
-0
output.js.map
output.js.map
+1
-1
JoinPanel.ts
src/panels/JoinPanel.ts
+6
-0
No files found.
output.js
View file @
2b5c25f1
...
...
@@ -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 TaoBaoNet_1 = __webpack_require__(/*! ../TaoBaoNet */ "./src/TaoBaoNet.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) {
__extends(JoinPanel, _super);
function JoinPanel() {
...
...
@@ -16922,6 +16924,9 @@ var JoinPanel = (function (_super) {
_this.enableMouseEvt(false);
ctrls_1.wait(function () { _this.enableMouseEvt(true); }, 2000);
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)
.position.set(166, 744);
};
output.js.map
View file @
2b5c25f1
This diff is collapsed.
Click to expand it.
src/panels/JoinPanel.ts
View file @
2b5c25f1
...
...
@@ -2,6 +2,8 @@ import { Panel } from "../../module/views/Panel";
import
{
RES
}
from
"../../module/RES"
;
import
{
sendTbNet
,
TbNetName
}
from
"../TaoBaoNet"
;
import
{
wait
}
from
"../../module/ctrls"
;
import
{
GDispatcher
}
from
"../Main"
;
import
{
G_EVENT
}
from
"../common/G_EVENT"
;
export
class
JoinPanel
extends
Panel
{
get
groupNames
()
{
...
...
@@ -21,6 +23,10 @@ export class JoinPanel extends Panel {
this
.
enableMouseEvt
(
false
);
wait
(()
=>
{
this
.
enableMouseEvt
(
true
)
},
2000
)
sendTbNet
(
TbNetName
.
navigateToOutside
,
{
url
:
this
.
data
.
url
})
//回来时关闭,回来讲道理必执行
GDispatcher
.
once
(
G_EVENT
.
ON_SHOW
,
()
=>
{
this
.
hidePanel
();
},
this
)
},
this
)
.
position
.
set
(
166
,
744
)
}
...
...
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