Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
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
崔立强
db-game-template
Commits
163e78b1
Commit
163e78b1
authored
Dec 19, 2018
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
393e4262
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
123 additions
and
45 deletions
+123
-45
index.html
egret/index.html
+20
-4
default.thm.json
egret/resource/default.thm.json
+15
-15
getOptions.json
mock/json/getOptions.json
+88
-26
No files found.
egret/index.html
View file @
163e78b1
<html>
<html>
<!DOCTYPE HTML>
<!DOCTYPE HTML>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
...
@@ -17,13 +17,12 @@
...
@@ -17,13 +17,12 @@
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-color
:
#000
;
background-color
:
#000
;
background-size
:
100%
;
background-size
:
100%
;
background-position
:
top
;
background-position
:
top
;
padding
:
0
;
padding
:
0
;
border
:
0
;
border
:
0
;
margin
:
0
;
margin
:
0
;
height
:
100%
;
height
:
100%
;
}
}
</style>
</style>
</head>
</head>
...
@@ -77,10 +76,27 @@
...
@@ -77,10 +76,27 @@
var
b
=
eval
(
a
);
var
b
=
eval
(
a
);
return
b
;
return
b
;
}
}
// const address = 'ws://lsmj_pregw.369qipai.cn:7777/';
// // Create WebSocket connection.
// const socket = new WebSocket('ws://localhost:8080');
// // Connection opened
// socket.addEventListener('open', function (event) {
// socket.send('Hello Server!');
// });
// // Listen for messages
// socket.addEventListener('message', function (event) {
// console.log('Message from server ', event.data);
// });
</script>
</script>
<script
src=
"output.js"
></script>
<script
src=
"output.js"
></script>
<!-- <div id="debugCanvas" style="position:absolute;opacity: .8;pointer-events: none"></div> -->
<!-- <div id="debugCanvas" style="position:absolute;opacity: .8;pointer-events: none"></div> -->
</body>
</body>
</html>
</html>
\ No newline at end of file
egret/resource/default.thm.json
View file @
163e78b1
{
{
"skins"
:
{},
"skins"
:
{},
"autoGenerateExmlsList"
:
true
,
"autoGenerateExmlsList"
:
true
,
"exmls"
:
[
"exmls"
:
[
"resource/skins/AlertSkin.exml"
,
"resource/skins/AlertSkin.exml"
,
"resource/skins/OptionItemSkin.exml"
,
"resource/skins/OptionItemSkin.exml"
,
"resource/skins/OptionsSkin.exml"
,
"resource/skins/OptionsSkin.exml"
,
"resource/skins/PlaySkin.exml"
,
"resource/skins/PlaySkin.exml"
,
"resource/skins/PrizeSkin.exml"
,
"resource/skins/PrizeSkin.exml"
,
"resource/skins/RankItemSkin.exml"
,
"resource/skins/RankItemSkin.exml"
,
"resource/skins/RankSkin.exml"
,
"resource/skins/RankSkin.exml"
,
"resource/skins/RuleSkin.exml"
,
"resource/skins/RuleSkin.exml"
,
"resource/skins/StartSkin.exml"
,
"resource/skins/StartSkin.exml"
,
"resource/skins/VScrollBarSkin.exml"
"resource/skins/VScrollBarSkin.exml"
],
],
"path"
:
"resource/default.thm.json"
"path"
:
"resource/default.thm.json"
}
}
\ No newline at end of file
mock/json/getOptions.json
View file @
163e78b1
[
[
{
{
"autoOpen"
:
false
,
"autoOpen"
:
true
,
"description"
:
"实物大奖实物大奖实物大奖实物大奖物大奖实物大奖实大奖实"
,
"description"
:
""
,
"logo"
:
"//yun.duiba.com.cn/developer/img/activityTool/shake/object.png"
,
"logo"
:
"//yun.duiba.com.cn/images/201812/tfmmw9dpes.png"
,
"name"
:
"实物大奖"
,
"name"
:
"66元红包"
,
"scope"
:
"1"
"scoreArea"
:
"21,30"
},
{
"autoOpen"
:
true
,
"description"
:
""
,
"logo"
:
"//yun.duiba.com.cn/images/201812/82hoctk4lz.png"
,
"name"
:
"5元红包"
,
"scoreArea"
:
"21,30"
},
{
"autoOpen"
:
true
,
"description"
:
""
,
"logo"
:
"//yun.duiba.com.cn/images/201812/8pxohz3k48.png"
,
"name"
:
"幸运奖"
,
"scoreArea"
:
"21,30"
},
{
"autoOpen"
:
true
,
"description"
:
""
,
"logo"
:
"//yun.duiba.com.cn/images/201812/fqmezbsgsb.png"
,
"name"
:
"0.1元红包"
,
"scoreArea"
:
"21,30"
},
{
"autoOpen"
:
true
,
"description"
:
""
,
"logo"
:
"//yun.duiba.com.cn/images/201812/xph1p0v0kj.png"
,
"name"
:
"大牌权益"
,
"scoreArea"
:
"21,30"
},
},
{
{
"autoOpen"
:
fals
e
,
"autoOpen"
:
tru
e
,
"description"
:
"
我是一个话费
"
,
"description"
:
""
,
"logo"
:
"//yun.duiba.com.cn/
developer/img/activityTool/shake/phone
.png"
,
"logo"
:
"//yun.duiba.com.cn/
images/201812/nmwzkmjz8l
.png"
,
"name"
:
"
话费
"
,
"name"
:
"
iPad
"
,
"sco
pe"
:
"2-4
"
"sco
reArea"
:
"21,30
"
},
},
{
{
"autoOpen"
:
fals
e
,
"autoOpen"
:
tru
e
,
"description"
:
"
我是一个话费
"
,
"description"
:
""
,
"logo"
:
"//yun.duiba.com.cn/
developer/img/activityTool/shake/phone
.png"
,
"logo"
:
"//yun.duiba.com.cn/
images/201812/k08vp2fvrt
.png"
,
"name"
:
"话费"
,
"name"
:
"
10元
话费"
,
"sco
pe"
:
"2-4
"
"sco
reArea"
:
"21,30
"
},
},
{
{
"autoOpen"
:
false
,
"autoOpen"
:
true
,
"description"
:
"我是一个话费"
,
"description"
:
""
,
"logo"
:
"//yun.duiba.com.cn/developer/img/activityTool/shake/phone.png"
,
"logo"
:
"//yun.duiba.com.cn/images/201812/8qt4lpxsst.png"
,
"name"
:
"话费"
,
"name"
:
"戴森吹风机"
,
"scope"
:
"2-4"
"scoreArea"
:
"21,30"
},
{
"autoOpen"
:
true
,
"description"
:
""
,
"logo"
:
"//yun.duiba.com.cn/images/201812/rmm0rmbv7q.png"
,
"name"
:
"幸运奖"
,
"scoreArea"
:
""
},
{
"autoOpen"
:
true
,
"description"
:
""
,
"logo"
:
"//yun.duiba.com.cn/images/201812/wy1bw2zq6z.png"
,
"name"
:
"随机红包"
,
"scoreArea"
:
"11,20"
},
{
"autoOpen"
:
true
,
"description"
:
""
,
"logo"
:
"//yun.duiba.com.cn/images/201812/oy9x72wvaw.png"
,
"name"
:
"幸运奖"
,
"scoreArea"
:
"11,20"
},
{
"autoOpen"
:
true
,
"description"
:
""
,
"logo"
:
"//yun.duiba.com.cn/images/201812/45awpe0wxt.png"
,
"name"
:
"天猫精灵"
,
"scoreArea"
:
"11,20"
},
{
"autoOpen"
:
true
,
"description"
:
""
,
"logo"
:
"//yun.duiba.com.cn/images/201812/vn60xfxzsu.png"
,
"name"
:
"大牌权益"
,
"scoreArea"
:
"11,20"
},
},
{
{
"autoOpen"
:
true
,
"autoOpen"
:
true
,
"description"
:
"
我是一个优惠券
"
,
"description"
:
""
,
"logo"
:
"//yun.duiba.com.cn/
developer/img/activityTool/shake/coupon
.png"
,
"logo"
:
"//yun.duiba.com.cn/
images/201812/8gnfoehddk
.png"
,
"name"
:
"
优惠券
"
,
"name"
:
"
华为手机
"
,
"sco
pe"
:
"2-4
"
"sco
reArea"
:
"11,20
"
}
}
]
]
\ No newline at end of file
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