Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shuijf2
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
wildfirecode13
shuijf2
Commits
dbff5354
Commit
dbff5354
authored
Jun 27, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
50061e2d
Changes
16
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
8757 additions
and
8774 deletions
+8757
-8774
main.scene
assets/scenes/main.scene
+75
-41
MainController.ts
assets/scripts/MainController.ts
+2
-17
PrizeDialogContent.ts
assets/scripts/dialogs/PrizeDialogContent.ts
+2
-2
SceneStart.ts
assets/scripts/scenes/SceneStart.ts
+57
-2
start.sht.meta
assets/sheets/start.sht.meta
+1
-1
盒子.png
assets/sheets/start.sht/盒子.png
+0
-0
装饰.png
assets/sheets/start.sht/装饰.png
+0
-0
bg.jpg
assets/singles/bg.jpg
+0
-0
bundle.js
debug/bundle.js
+8526
-8629
bundle.js.map
debug/bundle.js.map
+1
-1
fuck.html
fuck.html
+2
-2
index.html
index.html
+1
-15
manifest.1.json
manifest.1.json
+28
-0
manifest.json
manifest.json
+1
-1
rankInfo.json
mock/customActivity/sjf/activity/rankInfo.json
+7
-6
MustCompile.ts
src/generated/MustCompile.ts
+54
-57
No files found.
assets/scenes/main.scene
View file @
dbff5354
...
@@ -128,7 +128,8 @@
...
@@ -128,7 +128,8 @@
"getNgameStartStatus": "dynamic|API|getNgameStartStatus",
"getNgameStartStatus": "dynamic|API|getNgameStartStatus",
"getOrderStatus": "dynamic|API|getOrderStatus",
"getOrderStatus": "dynamic|API|getOrderStatus",
"rankbtn": "entity|34f68eec-739c-478c-a527-6aa12c197850",
"rankbtn": "entity|34f68eec-739c-478c-a527-6aa12c197850",
"countTxt": "entity|1fb25a95-98c0-4f3c-9ae9-e8d4e67adf79"
"countTxt": "entity|1fb25a95-98c0-4f3c-9ae9-e8d4e67adf79",
"box": "entity|47646fc8-e375-41c3-a95c-287ddf6ba798"
},
},
"disabled": false
"disabled": false
},
},
...
@@ -160,61 +161,33 @@
...
@@ -160,61 +161,33 @@
}
}
},
},
{
{
"script": "./scripts/api/SamplePollingApi",
"script": "./scripts/api/SampleApi",
"properties": {
"name": "getNgameStartStatus",
"onError": [
{
"entity": "entity|41f0a20e-9d0a-445b-8ffc-d8a0b04ab02c",
"component": 1,
"method": "onGotError_getNgameStartStatus"
}
],
"onResponse": [
{
"entity": "entity|41f0a20e-9d0a-445b-8ffc-d8a0b04ab02c",
"component": 1,
"method": "onGot_getNgameStartStatus"
}
],
"uri": "/hdtool/recon/ngame/getNgameStartStatus"
}
},
{
"script": "./scripts/api/SamplePollingApi",
"properties": {
"properties": {
"
uri": "/hdtool/recon/getOrderStatus
",
"
name": "rankInfo
",
"method": "GET",
"method": "GET",
"onError": [
{
"entity": "entity|41f0a20e-9d0a-445b-8ffc-d8a0b04ab02c",
"component": 1,
"method": "onError_getOrderStatus"
}
],
"onResponse": [
"onResponse": [
{
{
"entity": "entity|41f0a20e-9d0a-445b-8ffc-d8a0b04ab02c",
"entity": "entity|41f0a20e-9d0a-445b-8ffc-d8a0b04ab02c",
"component": 1,
"component": 1,
"method": "onResponse_
getOrderStatus
"
"method": "onResponse_
rank
"
}
}
],
],
"
name": "getOrderStatus
"
"
uri": "/customActivity/sjf/activity/rankInfo
"
}
}
},
},
{
{
"script": "./scripts/api/SampleApi",
"script": "./scripts/api/SampleApi",
"properties": {
"properties": {
"name": "rankInfo",
"method": "GET",
"method": "GET",
"name": "rankInfo2",
"uri": "/customActivity/sjf/activity/rankInfo",
"onResponse": [
"onResponse": [
{
{
"entity": "entity|41f0a20e-9d0a-445b-8ffc-d8a0b04ab02c",
"entity": "entity|41f0a20e-9d0a-445b-8ffc-d8a0b04ab02c",
"component": 1,
"component": 1,
"method": "onResponse_rank"
"method": "onResponse_rank
Info2
"
}
}
],
]
"uri": "/customActivity/sjf/activity/rankInfo"
}
}
}
}
],
],
...
@@ -258,6 +231,59 @@
...
@@ -258,6 +231,59 @@
"disabled": false,
"disabled": false,
"children": []
"children": []
},
},
{
"name": "box",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"x": 2.857142857142847,
"y": 25.71428571428575
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|072e5812-0898-4d90-a077-3a0c073df00f",
"anchor": {
"x": 0.6,
"y": 0.8,
"_type_": "scilla/support/Vector2D"
}
},
"disabled": false
}
],
"uuid": "47646fc8-e375-41c3-a95c-287ddf6ba798",
"disabled": false,
"children": []
},
{
"name": "noname",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"x": 28.571428571428555,
"y": -2.8571428571428896
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|add607e6-e22c-4e67-9a24-3b147abce03d"
},
"disabled": false
}
],
"uuid": "dbdff233-e3f7-4aa6-9506-be324b33c181",
"disabled": false,
"children": []
},
{
{
"name": "ruleBtn",
"name": "ruleBtn",
"components": [
"components": [
...
@@ -445,14 +471,14 @@
...
@@ -445,14 +471,14 @@
"properties": {
"properties": {
"position": {
"position": {
"x": 0,
"x": 0,
"y":
145.71428571428572
"y":
-434.2857142857143
}
}
}
}
},
},
{
{
"script": "components/renderer/TextRenderer",
"script": "components/renderer/TextRenderer",
"properties": {
"properties": {
"fillColor": "rgba(25
5, 255, 255
, 1)",
"fillColor": "rgba(25
4, 220, 187
, 1)",
"text": "啥也没发"
"text": "啥也没发"
}
}
}
}
...
@@ -460,7 +486,7 @@
...
@@ -460,7 +486,7 @@
"uuid": "1fb25a95-98c0-4f3c-9ae9-e8d4e67adf79"
"uuid": "1fb25a95-98c0-4f3c-9ae9-e8d4e67adf79"
}
}
],
],
"disabled":
tru
e
"disabled":
fals
e
},
},
{
{
"name": "ScenePlay",
"name": "ScenePlay",
...
@@ -795,7 +821,7 @@
...
@@ -795,7 +821,7 @@
}
}
],
],
"uuid": "5f2a7508-4728-430b-b306-06f719ea81e3",
"uuid": "5f2a7508-4728-430b-b306-06f719ea81e3",
"disabled":
fals
e,
"disabled":
tru
e,
"children": [
"children": [
{
{
"name": "cankao",
"name": "cankao",
...
@@ -2492,6 +2518,14 @@
...
@@ -2492,6 +2518,14 @@
{
{
"name": "rankbtn.png",
"name": "rankbtn.png",
"uuid": "66066ff4-4536-4398-84ad-8cf91c2d8333"
"uuid": "66066ff4-4536-4398-84ad-8cf91c2d8333"
},
{
"name": "盒子.png",
"uuid": "072e5812-0898-4d90-a077-3a0c073df00f"
},
{
"name": "装饰.png",
"uuid": "add607e6-e22c-4e67-9a24-3b147abce03d"
}
}
]
]
}
}
...
...
assets/scripts/MainController.ts
View file @
dbff5354
...
@@ -21,26 +21,11 @@ export default class MainController extends ScillaComponent {
...
@@ -21,26 +21,11 @@ export default class MainController extends ScillaComponent {
initEnv
();
initEnv
();
this
.
broadcast
(
'callApi'
,
1
,
'rankInfo'
,
{
weddingId
:
window
[
'CFG'
].
weddingId
,
activityId
:
window
[
'CFG'
].
activityId
})
}
onResponse_rankInfo
(
data
)
{
if
(
data
.
openPrize
)
{
//开奖了,都是线下奖品
let
prize
;
window
[
'CFG'
].
activity
.
prizeList
.
forEach
(
p
=>
{
if
(
p
.
rank
==
data
.
rank
)
prize
=
p
;
});
if
(
prize
)
//中奖了
this
.
showDialog
(
'Prize'
,
prize
);
else
this
.
showDialog
(
'Alert'
,
'您与奖品擦肩而过~'
);
}
}
}
// onGotAjaxElement() {
// onGotAjaxElement() {
// setTimeout(() => {
// setTimeout(() => {
// this.broadcast('initGameStage');
// this.broadcast('initGameStage');
...
...
assets/scripts/dialogs/PrizeDialogContent.ts
View file @
dbff5354
...
@@ -45,10 +45,10 @@ export default class PrizeDialogContent extends DialogContent {
...
@@ -45,10 +45,10 @@ export default class PrizeDialogContent extends DialogContent {
}
}
async
setup
(
data
:
any
=
{})
{
async
setup
(
data
:
any
=
{})
{
setText
(
this
.
name
,
data
.
titl
e
);
setText
(
this
.
name
,
data
.
prizeNam
e
);
setText
(
this
.
title
,
this
.
getTypeStr
(
data
.
prizeType
))
setText
(
this
.
title
,
this
.
getTypeStr
(
data
.
prizeType
))
const
texRender
=
this
.
pic
.
getComponent
(
TextureRenderer
);
const
texRender
=
this
.
pic
.
getComponent
(
TextureRenderer
);
const
texture
=
await
this
.
loadTexture
(
data
.
imgurl
);
const
texture
=
await
this
.
loadTexture
(
data
.
prizeImage
);
texRender
.
texture
=
texture
;
texRender
.
texture
=
texture
;
if
(
texture
.
bounds
.
width
>
texture
.
bounds
.
height
)
{
if
(
texture
.
bounds
.
width
>
texture
.
bounds
.
height
)
{
const
maxWidth
=
500
;
const
maxWidth
=
500
;
...
...
assets/scripts/scenes/SceneStart.ts
View file @
dbff5354
...
@@ -7,7 +7,7 @@ import ScillaComponent from "scilla-components/src/base/ScillaComponent";
...
@@ -7,7 +7,7 @@ import ScillaComponent from "scilla-components/src/base/ScillaComponent";
import
{
dynamic
,
Entity
}
from
"scilla/src"
;
import
{
dynamic
,
Entity
}
from
"scilla/src"
;
import
{
alien
}
from
"../navigator/StackNavigator"
;
import
{
alien
}
from
"../navigator/StackNavigator"
;
import
{
INavigatorViewBase
}
from
"../navigator/VirtualNavigator"
;
import
{
INavigatorViewBase
}
from
"../navigator/VirtualNavigator"
;
import
{
setText
}
from
"../transformUtils"
;
import
{
setText
,
setRotation
,
getRotation
}
from
"../transformUtils"
;
export
default
class
SceneStart
extends
ScillaComponent
implements
INavigatorViewBase
{
export
default
class
SceneStart
extends
ScillaComponent
implements
INavigatorViewBase
{
doJoin
:
dynamic
;
doJoin
:
dynamic
;
...
@@ -17,11 +17,66 @@ export default class SceneStart extends ScillaComponent implements INavigatorVie
...
@@ -17,11 +17,66 @@ export default class SceneStart extends ScillaComponent implements INavigatorVie
startbtn
:
Entity
;
startbtn
:
Entity
;
rankbtn
:
Entity
;
rankbtn
:
Entity
;
rulebtn
:
Entity
;
rulebtn
:
Entity
;
treeWrapper
:
Entity
;
box
:
Entity
;
private
INTERVAL
=
3000
;
private
STREN
=
3
;
private
FREQ
=
5
;
private
SHAK_TIMERS
=
10
;
private
_shakeTimes
=
-
1
;
private
_counter
=
-
1
;
private
_lastTime
=
-
1
;
onUpdate
()
{
if
(
Date
.
now
()
-
this
.
_lastTime
>
this
.
INTERVAL
)
{
this
.
_lastTime
=
Date
.
now
();
setRotation
(
this
.
box
,
this
.
STREN
);
this
.
_shakeTimes
=
this
.
SHAK_TIMERS
;
this
.
_counter
=
0
;
}
if
(
this
.
_shakeTimes
>
0
)
{
if
(
this
.
_counter
<=
0
)
{
this
.
_shakeTimes
--
;
setRotation
(
this
.
box
,
-
getRotation
(
this
.
box
))
if
(
this
.
_shakeTimes
<=
0
)
{
setRotation
(
this
.
box
,
0
);
}
this
.
_counter
=
this
.
FREQ
;
}
else
{
this
.
_counter
--
;
}
}
}
onAwake
()
{
onAwake
()
{
super
.
onAwake
();
super
.
onAwake
();
this
.
updateCountTxt
();
this
.
updateCountTxt
();
this
.
broadcast
(
'callApi'
,
1
,
'rankInfo2'
,
{
weddingId
:
window
[
'CFG'
].
weddingId
,
activityId
:
window
[
'CFG'
].
activityId
});
this
.
_shakeTimes
=
0
;
this
.
_counter
=
0
;
this
.
_lastTime
=
-
1
;
setRotation
(
this
.
box
,
0
);
}
onResponse_rankInfo2
(
data
)
{
if
(
data
.
openPrize
)
{
//开奖了,都是线下奖品
let
prize
;
window
[
'CFG'
].
activity
.
prizeList
.
forEach
(
p
=>
{
if
(
p
.
prizeType
==
data
.
prizeType
)
prize
=
p
;
});
if
(
prize
)
//中奖了
this
.
bubbling
(
'showDialog'
,
'Prize'
,
prize
);
else
this
.
bubbling
(
'showDialog'
,
'Alert'
,
'您与奖品擦肩而过~'
);
}
}
}
updateCountTxt
()
{
updateCountTxt
()
{
...
...
assets/sheets/start.sht.meta
View file @
dbff5354
{"ver":"1.0.1","uuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","subMetas":{"rulebtn.png":{"ver":"1.0.1","uuid":"d092293f-6a84-45eb-a7c2-7735b747c2af","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"recordbtn.png":{"ver":"1.0.1","uuid":"7c2aa27c-5cf6-46d0-8509-d9b68052de09","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"startbtn.png":{"ver":"1.0.1","uuid":"65d0864b-a3b8-438b-aa87-673311473c7f","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"rankbtn.png":{"ver":"1.0.1","uuid":"66066ff4-4536-4398-84ad-8cf91c2d8333","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"}},"type":"sheet"}
{"ver":"1.0.1","uuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","subMetas":{"rulebtn.png":{"ver":"1.0.1","uuid":"d092293f-6a84-45eb-a7c2-7735b747c2af","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"recordbtn.png":{"ver":"1.0.1","uuid":"7c2aa27c-5cf6-46d0-8509-d9b68052de09","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"startbtn.png":{"ver":"1.0.1","uuid":"65d0864b-a3b8-438b-aa87-673311473c7f","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"rankbtn.png":{"ver":"1.0.1","uuid":"66066ff4-4536-4398-84ad-8cf91c2d8333","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"}
,"盒子.png":{"ver":"1.0.1","uuid":"072e5812-0898-4d90-a077-3a0c073df00f","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"},"装饰.png":{"ver":"1.0.1","uuid":"add607e6-e22c-4e67-9a24-3b147abce03d","rawTextureUuid":"ed0e6061-7014-492f-b95f-88794de7d5cc","type":"texture"}
},"type":"sheet"}
assets/sheets/start.sht/盒子.png
0 → 100644
View file @
dbff5354
173 KB
assets/sheets/start.sht/装饰.png
0 → 100644
View file @
dbff5354
48.5 KB
assets/singles/bg.jpg
View replaced file @
50061e2d
View file @
dbff5354
114 KB
|
W:
|
H:
102 KB
|
W:
|
H:
2-up
Swipe
Onion skin
debug/bundle.js
View file @
dbff5354
This diff is collapsed.
Click to expand it.
debug/bundle.js.map
View file @
dbff5354
This diff is collapsed.
Click to expand it.
fuck.html
View file @
dbff5354
...
@@ -21,10 +21,10 @@
...
@@ -21,10 +21,10 @@
<div
id=
"gameContainer"
style=
"width: 100%;height: 100%;overflow: hidden;"
></div>
<div
id=
"gameContainer"
style=
"width: 100%;height: 100%;overflow: hidden;"
></div>
<script
src=
"//yun.duiba.com.cn/db_games/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/security.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/security.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/15616
07220
/bundle.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/15616
16731
/bundle.js"
></script>
<script>
setTimeout
(
function
()
{
<script>
setTimeout
(
function
()
{
var
loadingEl
=
document
.
getElementById
(
'loading'
);
function
onProcess
(
p
)
{
if
(
p
>=
1
)
{
loadingEl
.
style
.
display
=
'none'
;
}
}
var
loadingEl
=
document
.
getElementById
(
'loading'
);
function
onProcess
(
p
)
{
if
(
p
>=
1
)
{
loadingEl
.
style
.
display
=
'none'
;
}
}
var
options
=
{
resPath
:
"//yun.duiba.com.cn/db_games/15616
07220
/"
};
window
[
'shuijf'
].
startup
(
document
.
getElementById
(
'gameContainer'
),
options
,
onProcess
);
var
options
=
{
resPath
:
"//yun.duiba.com.cn/db_games/15616
16731
/"
};
window
[
'shuijf'
].
startup
(
document
.
getElementById
(
'gameContainer'
),
options
,
onProcess
);
},
100
);
},
100
);
window
[
'ruleContent'
]
=
'starttttttt<br>第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行<br>第2行<br>第3行<br>第4行<br>第5行<br>第6行<br>第7行<br>第1行<br>第2行<br>第3行<br>第4行<br>第5行<br>第6行<br>第7行endddddd'
;
window
[
'ruleContent'
]
=
'starttttttt<br>第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行<br>第2行<br>第3行<br>第4行<br>第5行<br>第6行<br>第7行<br>第1行<br>第2行<br>第3行<br>第4行<br>第5行<br>第6行<br>第7行endddddd'
;
...
...
index.html
View file @
dbff5354
...
@@ -56,21 +56,7 @@
...
@@ -56,21 +56,7 @@
<script
src=
"./security.js"
></script>
<script
src=
"./security.js"
></script>
<script
src=
"debug/bundle.js"
></script>
<script
src=
"debug/bundle.js"
></script>
<script>
<script>
var
CFG
=
{
var
CFG
=
{
"startTime"
:
1561523400000
,
"endTime"
:
1561554000000
,
"weddingId"
:
1
,
"freeLimit"
:
100
,
"weixinUid"
:
""
,
"activityId"
:
"3"
,
"nickname"
:
""
,
"activity"
:
{
"activityType"
:
4
,
"brickId"
:
5
,
"drawStatus"
:
0
,
"id"
:
3
,
"joinLimit"
:
100
,
"prizeList"
:
[{
"activityId"
:
3
,
"id"
:
5
,
"prizeCount"
:
5
,
"prizeImage"
:
"//yun.duiba.com.cn/upload/uP99F1462438316972.png"
,
"prizeName"
:
"喜糖摇摇乐奖品1"
,
"prizeRemain"
:
0
,
"prizeType"
:
1
,
"weddingId"
:
1
},
{
"activityId"
:
3
,
"id"
:
6
,
"prizeCount"
:
5
,
"prizeImage"
:
"//yun.duiba.com.cn/upload/uP99F1462438316972.png"
,
"prizeName"
:
"喜糖摇摇乐奖品2"
,
"prizeRemain"
:
1
,
"prizeType"
:
2
,
"weddingId"
:
1
}],
"rankEndTime"
:
1561550400000
,
"weddingId"
:
1
}
};
'startTime'
:
1
,
'endTime'
:
2
,
'weddingId'
:
321
,
'freeLimit'
:
10
,
'weixinUid'
:
00000
,
'nickname'
:
'honingwon'
,
'activityId'
:
123
,
'activity'
:
{
prizeList
:
[
{
rank
:
1
,
imgurl
:
'//yun.duiba.com.cn/developer/img/activityTool/slotMachine/alipay.png'
,
prizeType
:
1
,
title
:
'title1'
},
{
rank
:
2
,
imgurl
:
'//yun.duiba.com.cn/developer/img/activityTool/slotMachine/alipay.png'
,
prizeType
:
2
,
title
:
'title2'
}
]
}
};
CFG
.
_rule
=
'starttttttt<br>第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行<br>第2行<br>第3行<br>第4行<br>第5行<br>第6行<br>第7行<br>第1行<br>第2行<br>第3行<br>第4行<br>第5行<br>第6行<br>第7行endddddd'
;
CFG
.
_rule
=
'starttttttt<br>第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行第1行<br>第2行<br>第3行<br>第4行<br>第5行<br>第6行<br>第7行<br>第1行<br>第2行<br>第3行<br>第4行<br>第5行<br>第6行<br>第7行endddddd'
;
...
...
manifest.1.json
0 → 100755
View file @
dbff5354
{
"name"
:
"shuijf"
,
"engineConfig"
:
{
"fps"
:
63
,
"designWidth"
:
750
,
"designHeight"
:
1624
,
"scaleMode"
:
"fixedWidth"
,
"modifyCanvasSize"
:
false
,
"resPath"
:
""
},
"customConfig"
:
{
"scene"
:
{
"scenes"
:
{
"main"
:
"scenes/main.scene"
},
"entryScene"
:
"main"
},
"webServiceUrl-"
:
"http://10.10.93.204:7555 http://localhost:3010"
,
"webServiceUrl"
:
"http://localhost:4001"
,
"webServiceUrl2"
:
"http://localhost:4001"
},
"dataCenterConfig"
:
{
"dataCenterRoot"
:
[
"API"
,
"CFG"
]
}
}
manifest.json
View file @
dbff5354
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
},
},
"webServiceUrl-"
:
"http://10.10.93.204:7555 http://localhost:3010"
,
"webServiceUrl-"
:
"http://10.10.93.204:7555 http://localhost:3010"
,
"webServiceUrl"
:
""
,
"webServiceUrl"
:
""
,
"webServiceUrl
2
"
:
"http://localhost:4001"
"webServiceUrl
3
"
:
"http://localhost:4001"
},
},
"dataCenterConfig"
:
{
"dataCenterConfig"
:
{
"dataCenterRoot"
:
[
"dataCenterRoot"
:
[
...
...
mock/customActivity/sjf/activity/rankInfo.json
View file @
dbff5354
...
@@ -2,14 +2,15 @@
...
@@ -2,14 +2,15 @@
"success"
:
true
,
"success"
:
true
,
"code"
:
null
,
"code"
:
null
,
"desc"
:
null
,
"desc"
:
null
,
"timestamp"
:
1561
549712114
,
"timestamp"
:
1561
615572296
,
"data"
:
{
"data"
:
{
"openPrize"
:
false
,
"openPrize"
:
false
,
"weiXinUid"
:
"weiXinUid"
,
"weiXinUid"
:
null
,
"nickName"
:
"nickName"
,
"nickName"
:
null
,
"avatar"
:
"nickName"
,
"avatar"
:
null
,
"score"
:
105
,
"score"
:
0
,
"rank"
:
"4"
,
"rank"
:
"未上榜"
,
"prizeType"
:
1
,
"list"
:
[
"list"
:
[
{
{
"weiXinUid"
:
"weiXinUid"
,
"weiXinUid"
:
"weiXinUid"
,
...
...
src/generated/MustCompile.ts
View file @
dbff5354
...
@@ -5,95 +5,92 @@
...
@@ -5,95 +5,92 @@
import
{
registerDef
}
from
'scilla'
import
{
registerDef
}
from
'scilla'
import
component0
from
'components/
other/CameraControll
er'
;
import
component0
from
'components/
renderer/RectRender
er'
;
registerDef
(
'components/
other/CameraControll
er'
,
component0
);
registerDef
(
'components/
renderer/RectRender
er'
,
component0
);
import
component1
from
'components/base/Transform'
;
import
component1
from
'components/base/Transform'
;
registerDef
(
'components/base/Transform'
,
component1
);
registerDef
(
'components/base/Transform'
,
component1
);
import
component2
from
'components/renderer/
Texture
Renderer'
;
import
component2
from
'components/renderer/
Html
Renderer'
;
registerDef
(
'components/renderer/
Texture
Renderer'
,
component2
);
registerDef
(
'components/renderer/
Html
Renderer'
,
component2
);
import
component3
from
'components/
animation/TouchZoom
'
;
import
component3
from
'components/
base/TouchInterrupt
'
;
registerDef
(
'components/
animation/TouchZoom
'
,
component3
);
registerDef
(
'components/
base/TouchInterrupt
'
,
component3
);
import
component4
from
'components/
ui/Button
'
;
import
component4
from
'components/
other/RelativeLayout
'
;
registerDef
(
'components/
ui/Button
'
,
component4
);
registerDef
(
'components/
other/RelativeLayout
'
,
component4
);
import
component5
from
'components/
renderer/TextRenderer
'
;
import
component5
from
'components/
ui/ScrollView
'
;
registerDef
(
'components/
renderer/TextRenderer
'
,
component5
);
registerDef
(
'components/
ui/ScrollView
'
,
component5
);
import
component6
from
'components/other/FullStageSize'
;
import
component6
from
'components/other/FullStageSize'
;
registerDef
(
'components/other/FullStageSize'
,
component6
);
registerDef
(
'components/other/FullStageSize'
,
component6
);
import
component7
from
'components/
renderer/RectRender
er'
;
import
component7
from
'components/
other/CameraControll
er'
;
registerDef
(
'components/
renderer/RectRender
er'
,
component7
);
registerDef
(
'components/
other/CameraControll
er'
,
component7
);
import
component8
from
'components/
ui/ScrollView
'
;
import
component8
from
'components/
renderer/TextureRenderer
'
;
registerDef
(
'components/
ui/ScrollView
'
,
component8
);
registerDef
(
'components/
renderer/TextureRenderer
'
,
component8
);
import
component9
from
'components/
other/RelativeLayout
'
;
import
component9
from
'components/
animation/TouchZoom
'
;
registerDef
(
'components/
other/RelativeLayout
'
,
component9
);
registerDef
(
'components/
animation/TouchZoom
'
,
component9
);
import
component10
from
'components/
base/TouchInterrupt
'
;
import
component10
from
'components/
ui/Button
'
;
registerDef
(
'components/
base/TouchInterrupt
'
,
component10
);
registerDef
(
'components/
ui/Button
'
,
component10
);
import
component11
from
'components/renderer/
Html
Renderer'
;
import
component11
from
'components/renderer/
Text
Renderer'
;
registerDef
(
'components/renderer/
Html
Renderer'
,
component11
);
registerDef
(
'components/renderer/
Text
Renderer'
,
component11
);
import
component12
from
'../../assets/scripts/
navigator/SingleSceneNavigator
'
;
import
component12
from
'../../assets/scripts/
dialogs/RuleDialogContent
'
;
registerDef
(
'./scripts/
navigator/SingleSceneNavigator
'
,
component12
);
registerDef
(
'./scripts/
dialogs/RuleDialogContent
'
,
component12
);
import
component13
from
'../../assets/scripts/scenes/ScenePlay'
;
import
component13
from
'../../assets/scripts/scenes/ScenePlay'
;
registerDef
(
'./scripts/scenes/ScenePlay'
,
component13
);
registerDef
(
'./scripts/scenes/ScenePlay'
,
component13
);
import
component14
from
'../../assets/scripts/scenes/Scene
Guide
'
;
import
component14
from
'../../assets/scripts/scenes/Scene
Result
'
;
registerDef
(
'./scripts/scenes/Scene
Guide
'
,
component14
);
registerDef
(
'./scripts/scenes/Scene
Result
'
,
component14
);
import
component15
from
'../../assets/scripts/scenes/
result/RankItem
'
;
import
component15
from
'../../assets/scripts/scenes/
SceneStart
'
;
registerDef
(
'./scripts/scenes/
result/RankItem
'
,
component15
);
registerDef
(
'./scripts/scenes/
SceneStart
'
,
component15
);
import
component16
from
'../../assets/scripts/
scenes/SceneStart
'
;
import
component16
from
'../../assets/scripts/
navigator/SingleSceneNavigator
'
;
registerDef
(
'./scripts/
scenes/SceneStart
'
,
component16
);
registerDef
(
'./scripts/
navigator/SingleSceneNavigator
'
,
component16
);
import
component17
from
'../../assets/scripts/
api/SamplePollingApi
'
;
import
component17
from
'../../assets/scripts/
scenes/result/RankList
'
;
registerDef
(
'./scripts/
api/SamplePollingApi
'
,
component17
);
registerDef
(
'./scripts/
scenes/result/RankList
'
,
component17
);
import
component18
from
'../../assets/scripts/scenes/
result/RankList
'
;
import
component18
from
'../../assets/scripts/scenes/
SceneController
'
;
registerDef
(
'./scripts/scenes/
result/RankList
'
,
component18
);
registerDef
(
'./scripts/scenes/
SceneController
'
,
component18
);
import
component19
from
'../../assets/scripts/
MainController
'
;
import
component19
from
'../../assets/scripts/
popup/Popup
'
;
registerDef
(
'./scripts/
MainController
'
,
component19
);
registerDef
(
'./scripts/
popup/Popup
'
,
component19
);
import
component20
from
'../../assets/scripts/
popup/Popup
'
;
import
component20
from
'../../assets/scripts/
api/SampleApi
'
;
registerDef
(
'./scripts/
popup/Popup
'
,
component20
);
registerDef
(
'./scripts/
api/SampleApi
'
,
component20
);
import
component21
from
'../../assets/scripts/
api/SampleApi
'
;
import
component21
from
'../../assets/scripts/
scenes/SceneGuide
'
;
registerDef
(
'./scripts/
api/SampleApi
'
,
component21
);
registerDef
(
'./scripts/
scenes/SceneGuide
'
,
component21
);
import
component22
from
'../../assets/scripts/
dialogs/RuleDialogContent
'
;
import
component22
from
'../../assets/scripts/
game/CustomTextRenderer
'
;
registerDef
(
'./scripts/
dialogs/RuleDialogContent
'
,
component22
);
registerDef
(
'./scripts/
game/CustomTextRenderer
'
,
component22
);
import
component23
from
'../../assets/scripts/
game/CustomTextRender
er'
;
import
component23
from
'../../assets/scripts/
MainControll
er'
;
registerDef
(
'./scripts/
game/CustomTextRender
er'
,
component23
);
registerDef
(
'./scripts/
MainControll
er'
,
component23
);
import
component24
from
'../../assets/scripts/
scenes/SceneController
'
;
import
component24
from
'../../assets/scripts/
dialogs/AlertDialogContent
'
;
registerDef
(
'./scripts/
scenes/SceneController
'
,
component24
);
registerDef
(
'./scripts/
dialogs/AlertDialogContent
'
,
component24
);
import
component25
from
'../../assets/scripts/dialogs/
Alert
DialogContent'
;
import
component25
from
'../../assets/scripts/dialogs/
Prize
DialogContent'
;
registerDef
(
'./scripts/dialogs/
Alert
DialogContent'
,
component25
);
registerDef
(
'./scripts/dialogs/
Prize
DialogContent'
,
component25
);
import
component26
from
'../../assets/scripts/dialogs/
Priz
eDialogContent'
;
import
component26
from
'../../assets/scripts/dialogs/
Scor
eDialogContent'
;
registerDef
(
'./scripts/dialogs/
Priz
eDialogContent'
,
component26
);
registerDef
(
'./scripts/dialogs/
Scor
eDialogContent'
,
component26
);
import
component27
from
'../../assets/scripts/
dialogs/ScoreDialogConten
t'
;
import
component27
from
'../../assets/scripts/
common/Toas
t'
;
registerDef
(
'./scripts/
dialogs/ScoreDialogConten
t'
,
component27
);
registerDef
(
'./scripts/
common/Toas
t'
,
component27
);
import
component28
from
'../../assets/scripts/
common/Toast
'
;
import
component28
from
'../../assets/scripts/
Icon
'
;
registerDef
(
'./scripts/
common/Toast
'
,
component28
);
registerDef
(
'./scripts/
Icon
'
,
component28
);
import
component29
from
'../../assets/scripts/Icon'
;
import
component29
from
'../../assets/scripts/scenes/result/RankItem'
;
registerDef
(
'./scripts/Icon'
,
component29
);
registerDef
(
'./scripts/scenes/result/RankItem'
,
component29
);
import
component30
from
'../../assets/scripts/scenes/SceneResult'
;
registerDef
(
'./scripts/scenes/SceneResult'
,
component30
);
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