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
8e0ded46
Commit
8e0ded46
authored
Aug 18, 2021
by
shunx 马
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交轮询
parent
07e7f310
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
index.do.json
project/mock/webNet/dazzle/index.do.json
+2
-2
ResJson.ts
project/src/ResJson.ts
+1
-1
cost.ts
project/src/panels/cost.ts
+1
-1
IndexScene.ts
project/src/scenes/IndexScene.ts
+1
-1
No files found.
project/mock/webNet/dazzle/index.do.json
View file @
8e0ded46
...
...
@@ -120,10 +120,10 @@
"sendCount"
:
1
}
],
"surplusCount"
:
1
1
,
"surplusCount"
:
1
,
"credits"
:
111111
,
"needCredits"
:
110
,
"type"
:
1
,
"type"
:
2
,
"vip"
:
1
},
"message"
:
null
,
...
...
project/src/ResJson.ts
View file @
8e0ded46
...
...
@@ -720,5 +720,5 @@ export const ResJson = {
}
}
],
"path"
:
"https://yun.duiba.com.cn/db_games/activity/template/1629
104340
/resource/"
"path"
:
"https://yun.duiba.com.cn/db_games/activity/template/1629
264939
/resource/"
}
\ No newline at end of file
project/src/panels/cost.ts
View file @
8e0ded46
...
...
@@ -62,7 +62,7 @@ export class CostPanel extends Panel {
params
.
credits
=
indexResult
.
data
.
needCredits
;
result
=
await
sendWebNet
(
WebNetName
.
getCreditCost
,
params
);
resultPolling
=
await
polling
(
(
rsp
)
=>
rsp
.
code
==
"0000000000"
,
(
rsp
)
=>
rsp
.
data
==
1
,
`/projectx/
${
projectId
}
/credits/queryStatus.do`
,
{
ticketNum
:
result
.
data
...
...
project/src/scenes/IndexScene.ts
View file @
8e0ded46
...
...
@@ -42,7 +42,6 @@ export class IndexScene extends Scene {
svgaLayer
.
addChild
(
svga
);
const
svga2
=
new
FYGE
.
MovieClip
(
RES
.
getRes
(
'首页元素循环下-输出.svga'
));
svgaLayer
.
addChild
(
svga2
);
// window['q']=svga2
svga2
.
y
=
1320
;
sendLog
(
"exposure"
,
9
);
}
...
...
@@ -176,6 +175,7 @@ export class IndexScene extends Scene {
shareButton
.
visible
=
false
;
}
}
else
{
if
(
result
.
data
.
surplusCount
>
0
)
{
needCredits
.
text
=
'免费拆盒1次'
;
reDegree
.
text
=
`
${
result
.
data
.
surplusCount
}
`
;
...
...
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