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
8c7a089a
Commit
8c7a089a
authored
Aug 13, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'disu0811' of
http://gitlab2.dui88.com/wildfirecode13/wfc13
into disu0811
parents
4087e17e
7840f124
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
45 additions
and
11 deletions
+45
-11
index.do.json
project/mock/webNet/dazzle/index.do.json
+11
-0
盲盒开启-打开-输出.svga
project/resource/svga/盲盒开启-打开-输出.svga
+0
-0
盲盒选中-输出.svga
project/resource/svga/盲盒选中-输出.svga
+0
-0
首页元素循环-输出.svga
project/resource/svga/首页元素循环-输出.svga
+0
-0
SkinJson.ts
project/src/SkinJson.ts
+6
-6
WebNetName.ts
project/src/WebNetName.ts
+5
-1
RulePanel.ts
project/src/panels/RulePanel.ts
+0
-0
IndexScene.ts
project/src/scenes/IndexScene.ts
+22
-3
StartScene.ts
project/src/template/StartScene.ts
+1
-1
No files found.
project/mock/webNet/dazzle/index.do.json
0 → 100644
View file @
8c7a089a
{
"code"
:
null
,
"data"
:
{
"surplusCount"
:
1
,
"credits"
:
100
,
"needCredits"
:
10
,
"type"
:
2
},
"message"
:
null
,
"success"
:
true
}
\ No newline at end of file
project/resource/svga/盲盒开启-打开-输出.svga
0 → 100644
View file @
8c7a089a
File added
project/resource/svga/盲盒选中-输出.svga
0 → 100644
View file @
8c7a089a
File added
project/resource/svga/首页元素循环-输出.svga
0 → 100644
View file @
8c7a089a
File added
project/src/SkinJson.ts
View file @
8c7a089a
...
@@ -242,10 +242,10 @@ export const SkinJson ={
...
@@ -242,10 +242,10 @@ export const SkinJson ={
{
{
"name"
:
"index_moneytips2"
,
"name"
:
"index_moneytips2"
,
"x"
:
608
,
"x"
:
608
,
"y"
:
11
33
,
"y"
:
11
27
,
"type"
:
"text"
,
"type"
:
"text"
,
"props"
:
{
"props"
:
{
"text"
:
"
XX
"
,
"text"
:
"
0
"
,
"size"
:
32
,
"size"
:
32
,
"fillColor"
:
"#000000"
,
"fillColor"
:
"#000000"
,
"textAlpha"
:
1
"textAlpha"
:
1
...
@@ -266,10 +266,10 @@ export const SkinJson ={
...
@@ -266,10 +266,10 @@ export const SkinJson ={
{
{
"name"
:
"index_timestips2"
,
"name"
:
"index_timestips2"
,
"x"
:
255
,
"x"
:
255
,
"y"
:
11
32
,
"y"
:
11
27
,
"type"
:
"text"
,
"type"
:
"text"
,
"props"
:
{
"props"
:
{
"text"
:
"
XX
"
,
"text"
:
"
0
"
,
"size"
:
32
,
"size"
:
32
,
"fillColor"
:
"#000000"
,
"fillColor"
:
"#000000"
,
"textAlpha"
:
1
"textAlpha"
:
1
...
@@ -290,10 +290,10 @@ export const SkinJson ={
...
@@ -290,10 +290,10 @@ export const SkinJson ={
{
{
"name"
:
"index_costtips"
,
"name"
:
"index_costtips"
,
"x"
:
322
,
"x"
:
322
,
"y"
:
43
4
,
"y"
:
43
0
,
"type"
:
"text"
,
"type"
:
"text"
,
"props"
:
{
"props"
:
{
"text"
:
"
XX
积分/次"
,
"text"
:
"
0
积分/次"
,
"size"
:
30
,
"size"
:
30
,
"fillColor"
:
"#000000"
,
"fillColor"
:
"#000000"
,
"textAlpha"
:
1
"textAlpha"
:
1
...
...
project/src/WebNetName.ts
View file @
8c7a089a
...
@@ -19,5 +19,9 @@
...
@@ -19,5 +19,9 @@
/**
/**
* 获取规则
* 获取规则
*/
*/
projectRule
=
"/projectx/{projectId}/projectRule.query"
projectRule
=
"/projectx/{projectId}/projectRule.query"
,
/**
* 获取首页数据
*/
projectIndex
=
"/projectx/{projectId}/dazzle/index.do"
}
}
\ No newline at end of file
project/src/
template
/RulePanel.ts
→
project/src/
panels
/RulePanel.ts
View file @
8c7a089a
File moved
project/src/scenes/IndexScene.ts
View file @
8c7a089a
...
@@ -10,10 +10,12 @@ import { notEnoughMoneyPanel } from "../panels/notEnoughMoney";
...
@@ -10,10 +10,12 @@ import { notEnoughMoneyPanel } from "../panels/notEnoughMoney";
import
{
PrizePanel
}
from
"../panels/prize"
;
import
{
PrizePanel
}
from
"../panels/prize"
;
import
{
SharePanel
}
from
"../panels/share"
;
import
{
SharePanel
}
from
"../panels/share"
;
import
{
timesNotEnoughPanel
}
from
"../panels/timesNotEnough"
;
import
{
timesNotEnoughPanel
}
from
"../panels/timesNotEnough"
;
import
{
RulePanel
}
from
"../
template
/RulePanel"
;
import
{
RulePanel
}
from
"../
panels
/RulePanel"
;
import
{
Box
}
from
"./Box"
;
import
{
Box
}
from
"./Box"
;
import
{
BoxGroup
}
from
"./BoxGroup"
;
import
{
BoxGroup
}
from
"./BoxGroup"
;
import
{
ScrollItem
}
from
"./ScrollItem"
;
import
{
ScrollItem
}
from
"./ScrollItem"
;
import
{
sendWebNet
}
from
"../WebNet"
;
import
{
WebNetName
}
from
"../WebNetName"
;
let
boxGroup
;
let
boxGroup
;
...
@@ -29,8 +31,13 @@ export class IndexScene extends Scene {
...
@@ -29,8 +31,13 @@ export class IndexScene extends Scene {
start
()
{
start
()
{
super
.
start
();
super
.
start
();
<<<<<<<
HEAD
this
.
getIndex
();
// showPanel(SharePanel);
=======
showPanel
(
PrizePanel
);
showPanel
(
PrizePanel
);
>>>>>>>
4445
b545174f45bdb5de86ca86be78b8f149ecec
getObject
(
this
,
'index_sharetips'
).
visible
=
false
;
getObject
(
this
,
'index_sharetips'
).
visible
=
false
;
this
.
initContainer
();
this
.
initContainer
();
this
.
initmask
();
this
.
initmask
();
...
@@ -71,8 +78,20 @@ export class IndexScene extends Scene {
...
@@ -71,8 +78,20 @@ export class IndexScene extends Scene {
}
}
toRule
()
{
toRule
()
{
// showPanel(SharePanel);
showPanel
(
RulePanel
);
console
.
log
(
"1111111"
)
}
getIndex
=
async
()
=>
{
const
result
=
await
sendWebNet
(
WebNetName
.
projectIndex
);
if
(
!
result
.
success
)
return
;
if
(
result
&&
result
.
data
&&
result
.
data
.
type
==
2
)
{
const
reDegree
=
getObject
(
this
,
'index_timestips2'
);
reDegree
.
text
=
result
.
data
.
surplusCount
;
const
credits
=
getObject
(
this
,
'index_moneytips2'
);
credits
.
text
=
result
.
data
.
credits
;
const
needCredits
=
getObject
(
this
,
'index_costtips'
);
needCredits
.
text
=
result
.
data
.
needCredits
+
"积分/次"
;
}
}
}
}
}
project/src/template/StartScene.ts
View file @
8c7a089a
import
{
Scene
}
from
"../../module/views/Scene"
;
import
{
Scene
}
from
"../../module/views/Scene"
;
import
{
showPanel
,
showWaiting
,
hideWaiting
,
showToast
,
changeScene
}
from
"../../module/ctrls"
;
import
{
showPanel
,
showWaiting
,
hideWaiting
,
showToast
,
changeScene
}
from
"../../module/ctrls"
;
import
{
RulePanel
}
from
"./RulePanel"
;
import
{
RulePanel
}
from
".
./panels
/RulePanel"
;
import
{
Tools
}
from
"../Tools"
;
import
{
Tools
}
from
"../Tools"
;
import
{
layers
}
from
"../../module/views/layers"
;
import
{
layers
}
from
"../../module/views/layers"
;
import
{
GDispatcher
}
from
"../Main"
;
import
{
GDispatcher
}
from
"../Main"
;
...
...
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