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
439a7ca0
Commit
439a7ca0
authored
Aug 25, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uu
parent
93c2c9e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
prize.ts
project/src/panels/prize.ts
+12
-2
No files found.
project/src/panels/prize.ts
View file @
439a7ca0
...
@@ -2,13 +2,14 @@ import { RES } from "../../module/RES";
...
@@ -2,13 +2,14 @@ import { RES } from "../../module/RES";
import
{
Panel
}
from
"../../module/views/Panel"
;
import
{
Panel
}
from
"../../module/views/Panel"
;
import
centerTextField
from
"../common/centerTextField"
;
import
centerTextField
from
"../common/centerTextField"
;
import
{
createMask
}
from
"../common/createMask"
;
import
{
createMask
}
from
"../common/createMask"
;
import
{
showPanel
}
from
"../../module/ctrls"
;
import
{
showPanel
,
wait
}
from
"../../module/ctrls"
;
import
{
getImage
}
from
"../common/getImage"
;
import
{
getImage
}
from
"../common/getImage"
;
import
getObject
from
"../common/getObject"
;
import
getObject
from
"../common/getObject"
;
import
{
CostPanel
}
from
"./cost"
;
import
{
CostPanel
}
from
"./cost"
;
import
{
getWebData
,
sendLog
,
sendWebNet
}
from
"../WebNet"
;
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
{
waitAPI
}
from
"./wait2"
;
let
section
;
let
section
;
export
class
PrizePanel
extends
Panel
{
export
class
PrizePanel
extends
Panel
{
...
@@ -23,6 +24,15 @@ export class PrizePanel extends Panel {
...
@@ -23,6 +24,15 @@ export class PrizePanel extends Panel {
getObject
(
this
,
'prize_tips'
).
visible
=
result
.
data
.
extra
==
'object'
;
getObject
(
this
,
'prize_tips'
).
visible
=
result
.
data
.
extra
==
'object'
;
waitAPI
(
200
).
then
(()
=>
{
sendWebNet
(
WebNetName
.
index
).
then
(
res
=>
{
layers
.
stage
.
dispatchEvent
(
'updateIndexData'
)
})
})
}
}
click_prize_open
()
{
click_prize_open
()
{
...
...
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