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
70e4707b
Commit
70e4707b
authored
Dec 24, 2019
by
任建锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--
parent
57b982d6
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
721 additions
and
0 deletions
+721
-0
index copy_20191224135742.html
.history/egret/index copy_20191224135742.html
+254
-0
index copy_20191224141039.html
.history/egret/index copy_20191224141039.html
+218
-0
杭招口红机_20191022100738.txt
.history/杭招口红机_20191022100738.txt
+0
-0
杭招口红机_20191224141440.txt
.history/杭招口红机_20191224141440.txt
+5
-0
杭招口红机_20191224141606.txt
.history/杭招口红机_20191224141606.txt
+6
-0
杭招口红机_20191224150246.txt
.history/杭招口红机_20191224150246.txt
+10
-0
index copy.html
egret/index copy.html
+218
-0
杭招口红机.txt
杭招口红机.txt
+10
-0
No files found.
.history/egret/index copy_20191224135742.html
0 → 100644
View file @
70e4707b
This diff is collapsed.
Click to expand it.
.history/egret/index copy_20191224141039.html
0 → 100644
View file @
70e4707b
<!DOCTYPE HTML>
<html>
<head>
<meta
charset=
"utf-8"
>
<title>
感恩有你 口红转不停
</title>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"
/>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
/>
<meta
name=
"full-screen"
content=
"true"
/>
<meta
name=
"screen-orientation"
content=
"portrait"
/>
<meta
name=
"x5-fullscreen"
content=
"true"
/>
<meta
name=
"360-fullscreen"
content=
"true"
/>
<script>
var
__startTime__
=
Date
.
now
()
</script>
</head>
<body>
<script>
var
shareData
=
{
title
:
"新年转‘红‘运 闯关赢口红"
,
decs
:
"都2020年了,还自己买口红吗?"
,
url
:
'https://msyhkhj.activity-1.m.duiba.com.cn/customShare/share?id=3767'
,
imgUrl
:
"https://yun.duiba.com.cn/db_games/activity/mskhj_20191022/share.jpg"
,
}
</script>
<div
style=
"margin: auto;width: 100%;height: 100%;"
class=
"egret-player"
data-entry-class=
"Main"
data-orientation=
"auto"
data-scale-mode=
"showAll"
data-frame-rate=
"60"
data-content-width=
"750"
data-content-height=
"1624"
data-multi-fingered=
"2"
data-show-fps=
"true"
data-show-log=
"false"
data-show-fps-style=
"x:11111,y:0,size:12,textColor:0xffffff,bgAlpha:0.9"
>
</div>
<img
id=
"shareImg"
/>
<style>
html
,
body
{
-ms-touch-action
:
none
;
background-color
:
#000
;
background-size
:
100%
;
background-position
:
bottom
;
padding
:
0
;
border
:
0
;
margin
:
0
;
height
:
100%
;
}
</style>
<div
id=
"annieEngine"
style=
"line-height:0;font-size:0;"
></div>
<script>
var
latitude
=
"1"
;
var
longitude
=
"2"
;
var
isShanghai
=
false
function
getClientLocation
(
latitudeC
,
longitudeC
){
latitude
=
latitudeC
;
longitude
=
longitudeC
;
//alert(`经度:${latitude},纬度:${longitude}`)
//纬度范围
var
latitudeScope
=
[
30
,
32
]
//经度范围
var
longitudeScope
=
[
120
,
123
]
if
(
latitude
>=
latitudeScope
[
0
]
&&
latitude
<=
latitudeScope
[
1
]
&&
longitude
>=
longitudeScope
[
0
]
&&
longitude
<=
longitudeScope
[
1
]){
console
.
log
(
"是上海"
)
isShanghai
=
true
}
else
{
isShanghai
=
false
}
}
var
adList
=
[
"130****2437挑战成功,获得一支迪奥436口红"
,
"133****8365挑战成功,获得8.88元红包"
,
"188****4629挑战成功,获得一支香奈儿62口红"
,
"134****0025挑战成功,获得一支圣罗兰409口红"
,
"130****0140挑战成功,获得6.88元红包口红"
,
"132****1132挑战成功,获得一支香奈儿58口红"
,
"152****8872挑战成功,获得十支口红奖励"
,
"152****8872挑战成功,获得咪咕阅读30天VIP券"
,
]
window
[
"projectId"
]
=
"p79f6420d"
;
window
[
"appId"
]
=
"67753"
;
var
kh_data
=
[
{
name
:
"迪奥436"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/da_436.jpg"
,
id
:
"1"
,
},
{
name
:
"迪奥740"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/da_740.jpg"
,
id
:
"2"
,
},
{
name
:
"迪奥888"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/da_888.jpg"
,
id
:
"3"
,
},
{
name
:
"迪奥999(哑光)"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/da_999_yg.jpg"
,
id
:
"4"
,
},
{
name
:
"迪奥999(滋润)"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/da_999_zr.jpg"
,
id
:
"5"
,
},
{
name
:
"圣罗兰12"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/sll_12.jpg"
,
id
:
"6"
,
},
{
name
:
"圣罗兰16"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/sll_16.jpg"
,
id
:
"7"
,
},
{
name
:
"圣罗兰46"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/sll_46.jpg"
,
id
:
"8"
,
},
{
name
:
"圣罗兰83"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/sll_83.jpg"
,
id
:
"9"
,
},
{
name
:
"圣罗兰409"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/sll_409.png"
,
id
:
"10"
,
},
{
name
:
"香奈儿43"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/xne_43.jpg"
,
id
:
"11"
,
},
{
name
:
"香奈儿58"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/xne_58.jpg"
,
id
:
"12"
,
},
{
name
:
"香奈儿62"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/xne_62.jpg"
,
id
:
"13"
,
},
{
name
:
"香奈儿112"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/xne_112.jpg"
,
id
:
"14"
,
},
{
name
:
"香奈儿154"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/xne_154.jpg"
,
id
:
"15"
,
}
]
//资源路径
var
resPath
=
"https://yun.duiba.com.cn/db_games/activity/mskhj_20191022/1577089272/"
;
var
bulletNum
=
[
5
,
7
,
10
];
var
timeDownNumArr
=
[
18
,
22
,
25
];
//record
var
recordUrl
=
"/projectx/"
+
window
[
"projectId"
]
+
"/f18069374.html"
;
</script>
<script
type=
"text/javascript"
src=
"https://m1.cmbc.com.cn/CMBC_MBServer/scripts/js/cmbcForClient.js"
></script>
<script
type=
"text/javascript"
src=
"https://m1.cmbc.com.cn/CMBC_MBServer/scripts/js/shareTool.js"
></script>
<script
type=
"text/javascript"
src=
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/bk7b6iwevd2_v5.js"
></script>
<script
type=
"text/javascript"
src=
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/27p7lm9pu4_5.js"
></script>
<script
crossorigin=
"anonymous"
src=
"//yun.duiba.com.cn/db_games/lib2_game.min.js"
></script>
<script
crossorigin=
"anonymous"
src=
"//yun.duiba.com.cn/db_games/libs/matter_decomp.min.js"
></script>
<script
crossorigin=
"anonymous"
src=
"//yun.duiba.com.cn/db_games/libs/zepto_security_downloadApp.min.js"
></script>
<script
crossorigin=
"anonymous"
src=
"//yun.duiba.com.cn/db_games/libs/egret.all.js"
></script>
<script
crossorigin=
"anonymous"
src=
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/1577089272/output.js"
></script>
<script
crossorigin=
"anonymous"
src=
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/1577089272/resource/default.thm.js"
></script>
<script>
egret
.
ImageLoader
.
crossOrigin
=
"anonymous"
;
/**
* {
* "renderMode":, //Engine rendering mode, "canvas" or "webgl"
* "audioType": 0 //Use the audio type, 0: default, 2: web audio, 3: audio
* "antialias": //Whether the anti-aliasing is enabled in WebGL mode, true: on, false: off, defaults to false
* "calculateCanvasScaleFactor": //a function return canvas scale factor
* }
**/
egret
.
runEgret
({
renderMode
:
"webgl"
,
audioType
:
0
,
calculateCanvasScaleFactor
:
function
(
context
)
{
var
backingStore
=
context
.
backingStorePixelRatio
||
context
.
webkitBackingStorePixelRatio
||
context
.
mozBackingStorePixelRatio
||
context
.
msBackingStorePixelRatio
||
context
.
oBackingStorePixelRatio
||
context
.
backingStorePixelRatio
||
1
;
return
(
window
.
devicePixelRatio
||
1
)
/
backingStore
;
}
});
</script>
<script>
var
titleName
=
document
.
title
var
button
=
{
"title"
:
titleName
,
// 标题名
"leftButton"
:
{
// 左按钮
"exist"
:
"true"
,
// true:显示左按钮,false:也显示左按钮,客户端不调用左按钮的返回事件
"name"
:
"返回"
,
// 按钮的说明
"func"
:
"goBack()"
// 点击左按钮时,客户端回调服务器的方法
},
"rightButton"
:
{
"exist"
:
"false"
// 不显示右按钮
}
}
setTitleBar
(
button
);
</script>
<script
type=
"text/javascript"
src=
"https://res.wx.qq.com/open/js/jweixin-1.2.0.js"
></script>
</body>
</html>
\ No newline at end of file
.history/杭招口红机_20191022100738.txt
0 → 100644
View file @
70e4707b
.history/杭招口红机_20191224141440.txt
0 → 100644
View file @
70e4707b
http://activity.m.duibatest.com.cn/projectx/p79f6420d/index.html
var s = window.location.href.replace(new RegExp("\S*projectx\W(\S+)\Windex.html","g"),$1);
console.log(s);
\ No newline at end of file
.history/杭招口红机_20191224141606.txt
0 → 100644
View file @
70e4707b
http://activity.m.duibatest.com.cn/projectx/p79f6420d/index.html
var _href = window.location.href;
var sd=_href.replace(new RegExp("\S*projectx\W(\S+)\Windex.html","g"),$1);
console.log(sd);
\ No newline at end of file
.history/杭招口红机_20191224150246.txt
0 → 100644
View file @
70e4707b
http://activity.m.duibatest.com.cn/projectx/p79f6420d/index.html
var _href = "http://activity.m.duibatest.com.cn/projectx/p79f6420d/index.html";
var sd=_href.replace(new RegExp("\\S*projectx\\W(\\S+)\\Windex.html","g"),$1);
console.log(sd);
//var regular="(\\S+)//(\\S+)projectx/(\\S+)/index.html";
var projectId=window.location.href.replace(new RegExp("(\\S+)//(\\S+)projectx/(\\S+)/index.html","g"),"$3")
console.log(projectId)
\ No newline at end of file
egret/index copy.html
0 → 100644
View file @
70e4707b
<!DOCTYPE HTML>
<html>
<head>
<meta
charset=
"utf-8"
>
<title>
感恩有你 口红转不停
</title>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"
/>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
/>
<meta
name=
"full-screen"
content=
"true"
/>
<meta
name=
"screen-orientation"
content=
"portrait"
/>
<meta
name=
"x5-fullscreen"
content=
"true"
/>
<meta
name=
"360-fullscreen"
content=
"true"
/>
<script>
var
__startTime__
=
Date
.
now
()
</script>
</head>
<body>
<script>
var
shareData
=
{
title
:
"新年转‘红‘运 闯关赢口红"
,
decs
:
"都2020年了,还自己买口红吗?"
,
url
:
'https://msyhkhj.activity-1.m.duiba.com.cn/customShare/share?id=3767'
,
imgUrl
:
"https://yun.duiba.com.cn/db_games/activity/mskhj_20191022/share.jpg"
,
}
</script>
<div
style=
"margin: auto;width: 100%;height: 100%;"
class=
"egret-player"
data-entry-class=
"Main"
data-orientation=
"auto"
data-scale-mode=
"showAll"
data-frame-rate=
"60"
data-content-width=
"750"
data-content-height=
"1624"
data-multi-fingered=
"2"
data-show-fps=
"true"
data-show-log=
"false"
data-show-fps-style=
"x:11111,y:0,size:12,textColor:0xffffff,bgAlpha:0.9"
>
</div>
<img
id=
"shareImg"
/>
<style>
html
,
body
{
-ms-touch-action
:
none
;
background-color
:
#000
;
background-size
:
100%
;
background-position
:
bottom
;
padding
:
0
;
border
:
0
;
margin
:
0
;
height
:
100%
;
}
</style>
<div
id=
"annieEngine"
style=
"line-height:0;font-size:0;"
></div>
<script>
var
latitude
=
"1"
;
var
longitude
=
"2"
;
var
isShanghai
=
false
function
getClientLocation
(
latitudeC
,
longitudeC
){
latitude
=
latitudeC
;
longitude
=
longitudeC
;
//alert(`经度:${latitude},纬度:${longitude}`)
//纬度范围
var
latitudeScope
=
[
30
,
32
]
//经度范围
var
longitudeScope
=
[
120
,
123
]
if
(
latitude
>=
latitudeScope
[
0
]
&&
latitude
<=
latitudeScope
[
1
]
&&
longitude
>=
longitudeScope
[
0
]
&&
longitude
<=
longitudeScope
[
1
]){
console
.
log
(
"是上海"
)
isShanghai
=
true
}
else
{
isShanghai
=
false
}
}
var
adList
=
[
"130****2437挑战成功,获得一支迪奥436口红"
,
"133****8365挑战成功,获得8.88元红包"
,
"188****4629挑战成功,获得一支香奈儿62口红"
,
"134****0025挑战成功,获得一支圣罗兰409口红"
,
"130****0140挑战成功,获得6.88元红包口红"
,
"132****1132挑战成功,获得一支香奈儿58口红"
,
"152****8872挑战成功,获得十支口红奖励"
,
"152****8872挑战成功,获得咪咕阅读30天VIP券"
,
]
window
[
"projectId"
]
=
"p79f6420d"
;
window
[
"appId"
]
=
"67753"
;
var
kh_data
=
[
{
name
:
"迪奥436"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/da_436.jpg"
,
id
:
"1"
,
},
{
name
:
"迪奥740"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/da_740.jpg"
,
id
:
"2"
,
},
{
name
:
"迪奥888"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/da_888.jpg"
,
id
:
"3"
,
},
{
name
:
"迪奥999(哑光)"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/da_999_yg.jpg"
,
id
:
"4"
,
},
{
name
:
"迪奥999(滋润)"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/da_999_zr.jpg"
,
id
:
"5"
,
},
{
name
:
"圣罗兰12"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/sll_12.jpg"
,
id
:
"6"
,
},
{
name
:
"圣罗兰16"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/sll_16.jpg"
,
id
:
"7"
,
},
{
name
:
"圣罗兰46"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/sll_46.jpg"
,
id
:
"8"
,
},
{
name
:
"圣罗兰83"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/sll_83.jpg"
,
id
:
"9"
,
},
{
name
:
"圣罗兰409"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/sll_409.png"
,
id
:
"10"
,
},
{
name
:
"香奈儿43"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/xne_43.jpg"
,
id
:
"11"
,
},
{
name
:
"香奈儿58"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/xne_58.jpg"
,
id
:
"12"
,
},
{
name
:
"香奈儿62"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/xne_62.jpg"
,
id
:
"13"
,
},
{
name
:
"香奈儿112"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/xne_112.jpg"
,
id
:
"14"
,
},
{
name
:
"香奈儿154"
,
pic
:
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/xne_154.jpg"
,
id
:
"15"
,
}
]
//资源路径
var
resPath
=
"https://yun.duiba.com.cn/db_games/activity/mskhj_20191022/1577089272/"
;
var
bulletNum
=
[
5
,
7
,
10
];
var
timeDownNumArr
=
[
18
,
22
,
25
];
//record
var
recordUrl
=
"/projectx/"
+
window
[
"projectId"
]
+
"/f18069374.html"
;
</script>
<script
type=
"text/javascript"
src=
"https://m1.cmbc.com.cn/CMBC_MBServer/scripts/js/cmbcForClient.js"
></script>
<script
type=
"text/javascript"
src=
"https://m1.cmbc.com.cn/CMBC_MBServer/scripts/js/shareTool.js"
></script>
<script
type=
"text/javascript"
src=
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/bk7b6iwevd2_v5.js"
></script>
<script
type=
"text/javascript"
src=
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/27p7lm9pu4_5.js"
></script>
<script
crossorigin=
"anonymous"
src=
"//yun.duiba.com.cn/db_games/lib2_game.min.js"
></script>
<script
crossorigin=
"anonymous"
src=
"//yun.duiba.com.cn/db_games/libs/matter_decomp.min.js"
></script>
<script
crossorigin=
"anonymous"
src=
"//yun.duiba.com.cn/db_games/libs/zepto_security_downloadApp.min.js"
></script>
<script
crossorigin=
"anonymous"
src=
"//yun.duiba.com.cn/db_games/libs/egret.all.js"
></script>
<script
crossorigin=
"anonymous"
src=
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/1577089272/output.js"
></script>
<script
crossorigin=
"anonymous"
src=
"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/1577089272/resource/default.thm.js"
></script>
<script>
egret
.
ImageLoader
.
crossOrigin
=
"anonymous"
;
/**
* {
* "renderMode":, //Engine rendering mode, "canvas" or "webgl"
* "audioType": 0 //Use the audio type, 0: default, 2: web audio, 3: audio
* "antialias": //Whether the anti-aliasing is enabled in WebGL mode, true: on, false: off, defaults to false
* "calculateCanvasScaleFactor": //a function return canvas scale factor
* }
**/
egret
.
runEgret
({
renderMode
:
"webgl"
,
audioType
:
0
,
calculateCanvasScaleFactor
:
function
(
context
)
{
var
backingStore
=
context
.
backingStorePixelRatio
||
context
.
webkitBackingStorePixelRatio
||
context
.
mozBackingStorePixelRatio
||
context
.
msBackingStorePixelRatio
||
context
.
oBackingStorePixelRatio
||
context
.
backingStorePixelRatio
||
1
;
return
(
window
.
devicePixelRatio
||
1
)
/
backingStore
;
}
});
</script>
<script>
var
titleName
=
document
.
title
var
button
=
{
"title"
:
titleName
,
// 标题名
"leftButton"
:
{
// 左按钮
"exist"
:
"true"
,
// true:显示左按钮,false:也显示左按钮,客户端不调用左按钮的返回事件
"name"
:
"返回"
,
// 按钮的说明
"func"
:
"goBack()"
// 点击左按钮时,客户端回调服务器的方法
},
"rightButton"
:
{
"exist"
:
"false"
// 不显示右按钮
}
}
setTitleBar
(
button
);
</script>
<script
type=
"text/javascript"
src=
"https://res.wx.qq.com/open/js/jweixin-1.2.0.js"
></script>
</body>
</html>
\ No newline at end of file
杭招口红机.txt
View file @
70e4707b
http://activity.m.duibatest.com.cn/projectx/p79f6420d/index.html
var _href = "http://activity.m.duibatest.com.cn/projectx/p79f6420d/index.html";
var sd=_href.replace(new RegExp("\\S*projectx\\W(\\S+)\\Windex.html","g"),$1);
console.log(sd);
//var regular="(\\S+)//(\\S+)projectx/(\\S+)/index.html";
var projectId=window.location.href.replace(new RegExp("(\\S+)//(\\S+)projectx/(\\S+)/index.html","g"),"$3")
console.log(projectId)
\ 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