Commit ddf6ef93 authored by 任建锋's avatar 任建锋

--

parent 6999a5fa
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [2, 2, 2]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [20, 20, 20]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [10, 10, 10]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [6, 6, 6]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [3, 3, 3]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
windwo["projectId"]=3
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [3, 3, 3]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
windwo["projectId"]="3"
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [3, 3, 3]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window["projectId"]="3"
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [3, 3, 3]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window["projectId"]="3";
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [3, 3, 3]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window["projectId"]="3";
window["consumerId"]="3";
window["appId"]="3";
window["oaId"]="3";
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [3, 3, 3]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window["projectId"]="3";
window["consumerId"]="3";
window["appId"]="3";
window["oaId"]="3";
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [1, 1, 1]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window["projectId"]="3";
window["consumerId"]="3";
window["appId"]="3";
window["oaId"]="3";
//绑定云闪付地址
window["bindUrl"]=""
//绑定云闪付地址
window["bindUrl"]=""
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [1, 1, 1]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window["projectId"]="3";
window["consumerId"]="3";
window["appId"]="3";
window["oaId"]="3";
//绑定云闪付地址
window["bindUrl"]=""
//绑定云闪付地址
window["mobileUrl"]=""
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [1, 1, 1]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window["projectId"]="3";
window["consumerId"]="3";
window["appId"]="3";
window["oaId"]="3";
//绑定云闪付地址
window["bindUrl"]=""
//签约手机号转账地址
window["mobileUrl"]=""
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [1, 1, 1]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window["projectId"]="3";
window["consumerId"]="3";
window["appId"]="3";
window["oaId"]="3";
var kh_data=[
{
name:"",
pic:"//yun.duiba.com.cn/db_games/activity/mskhj_20191022/pic/da_436.jpg",
id:"",
}
]
//绑定云闪付地址
window["bindUrl"]=""
//签约手机号转账地址
window["mobileUrl"]=""
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [1, 1, 1]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window["projectId"]="3";
window["consumerId"]="3";
window["appId"]="3";
window["oaId"]="3";
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.jpg",
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",
}
]
//绑定云闪付地址
window["bindUrl"]=""
//签约手机号转账地址
window["mobileUrl"]=""
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [1, 1, 1]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window["projectId"]="3";
window["consumerId"]="3";
window["appId"]="3";
window["oaId"]="3";
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",
}
]
//绑定云闪付地址
window["bindUrl"]=""
//签约手机号转账地址
window["mobileUrl"]=""
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [1, 1, 1]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window["projectId"]="3";
window["consumerId"]="3";
window["appId"]="3";
window["oaId"]="3";
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",
}
]
//绑定云闪付地址
window["bindUrl"]=""
//签约手机号转账地址
window["mobileUrl"]=""
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [1, 1, 1]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="//yun.duiba.com.cn/db_games/activity/mskhj_20191022/01.js"></script>
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window["projectId"]="3";
window["consumerId"]="3";
window["appId"]="3";
window["oaId"]="3";
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",
}
]
//绑定云闪付地址
window["bindUrl"]=""
//签约手机号转账地址
window["mobileUrl"]=""
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [1, 1, 1]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="//yun.duiba.com.cn/db_games/activity/mskhj_20191022/share_sdk_v1.js"></script>
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareMsg = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window["projectId"]="3";
window["consumerId"]="3";
window["appId"]="3";
window["oaId"]="3";
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",
}
]
//绑定云闪付地址
window["bindUrl"]=""
//签约手机号转账地址
window["mobileUrl"]=""
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [1, 1, 1]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="//yun.duiba.com.cn/db_games/activity/mskhj_20191022/share_sdk_v1.js"></script>
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareData = {
shareTitle: "闯关赢口红,任选10款口红,招行给您买单",
shareDesc: "都9102年了,你还在自己买口红吗?",
shareLink: '//activity.m.duiba.com.cn/customShare/share?id=2858',
shareImg: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareMsg.shareTitle; //【微信分享好友的标题
var shareWord = shareMsg.shareDesc; //【微信分享好友的描述
var shareTitle2 = shareMsg.shareTitle; //【微信分享朋友圈的标题
var link = shareMsg.shareLink; //【微信分享出去的链接地址
var imgUrl = shareMsg.shareImg; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window["projectId"]="3";
window["consumerId"]="3";
window["appId"]="3";
window["oaId"]="3";
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",
}
]
//绑定云闪付地址
window["bindUrl"]=""
//签约手机号转账地址
window["mobileUrl"]=""
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [1, 1, 1]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="//yun.duiba.com.cn/db_games/activity/mskhj_20191022/share_sdk_v1.js"></script>
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareData = {
title: "闯关赢口红,任选10款口红,招行给您买单",
decs: "都9102年了,你还在自己买口红吗?",
url: '//activity.m.duiba.com.cn/customShare/share?id=2858',
imgUrl: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareData.title; //【微信分享好友的标题
var shareWord = shareData.decs; //【微信分享好友的描述
var shareTitle2 = shareData.title; //【微信分享朋友圈的标题
var link = shareData.url; //【微信分享出去的链接地址
var imgUrl = shareData.imgUrl; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window["projectId"]="3";
window["consumerId"]="3";
window["appId"]="3";
window["oaId"]="3";
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",
}
]
//绑定云闪付地址
window["bindUrl"]=""
//签约手机号转账地址
window["mobileUrl"]=""
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [1, 1, 1]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Egret</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" />
<style>
html,
body {
-ms-touch-action: none;
background: #888888;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
</head>
<body>
<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="false" data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script type="text/javascript" src="http://111.205.207.137:8082/CMBC_MBServer_uat/scripts/js/cmbcForClient.js"></script>
<script type="text/javascript" src="http://111.205.207.137:8082/CMBC_MBServer_uat/scripts/js/shareTool.js"></script>
<script src="libs/modules/egret/egret.js"></script>
<script src="libs/modules/egret/egret.web.js"></script>
<script src="libs/modules/eui/eui.js"></script>
<script src="libs/modules/assetsmanager/assetsmanager.js"></script>
<script src="libs/modules/tween/tween.js"></script>
<script src="libs/modules/game/game.min.js"></script>
<script src="libs/modules/promise/promise.js"></script>
<script src="libs/zepto.min.js"></script>
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="//yun.duiba.com.cn/db_games/activity/mskhj_20191022/share_sdk_v1.js"></script>
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
var shareData = {
title: "闯关赢口红,任选10款口红,招行给您买单",
decs: "都9102年了,你还在自己买口红吗?",
url: '//activity.m.duiba.com.cn/customShare/share?id=2858',
imgUrl: "http://duiba.oss-cn-hangzhou.aliyuncs.com/db_games/activity/kouhongji_hz/hzShare.png",
}
wx.config({
debug: false,
appId: '$wxappid',
timestamp: '$wxtimestamp',
nonceStr: '$wxnonceStr',
signature: '$wxsignature',
jsApiList: ['checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ']
});
initShareFunc();
function initShareFunc() {
wx.ready(function () {
var shareTitle = shareData.title; //【微信分享好友的标题
var shareWord = shareData.decs; //【微信分享好友的描述
var shareTitle2 = shareData.title; //【微信分享朋友圈的标题
var link = shareData.url; //【微信分享出去的链接地址
var imgUrl = shareData.imgUrl; //【微信分享图标路径
//监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareTimeline({
title: shareTitle2,
desc: shareTitle2,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
//监听“分享给朋友”按钮点击、自定义分享内容及分享结果接口
wx.onMenuShareAppMessage({
title: shareTitle,
desc: shareWord,
link: link,
imgUrl: imgUrl,
success: function (res) {}
});
});
wx.error(function (res) {
// alert(JSON.stringify(res))
});
};
</script>
<script>
var development = true;
var isJudgeLogin = false;
window["projectId"]="3";
window["consumerId"]="3";
window["appId"]="3";
window["oaId"]="3";
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",
}
]
//绑定云闪付地址
window["bindUrl"]=""
//签约手机号转账地址
window["mobileUrl"]=""
window['CMBLS'] = {};
window['CMBLS'].PictureAssist = {};
window['CMBLS'].socialShare = {};
window['CMBLS'].TopBarUI = {};
window['bulletNum'] = [1, 1, 1]
// 分享的图片 base64
window['sharePosterIMG'] = '12312'
// 端外 活动首页
window['outIndexLink'] = 'http://10.10.94.253:8080/egret/?type=out';
// 端内 活动首页
window['appIndexLink'] = 'http://10.10.94.253:8080/egret/?type=app';
// 招商银行跳转抽奖链接
window['MPBankGiftLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
// 招商银行跳转获取次数链接
window['MPBankAPPLink'] = 'https://t.cmbchina.com/jAZjIn?activityID=14&appact=2018017';
var gameId = 1;
var CFG = {
appInfo: {
"appId": 1,
"earnCreditsUrl": "https://www.baidu.com/",
"loginProgram": "",
"open": false,
"openLogin": false
},
gameInfo: {
"id": 1317,
"oaId": 19951,
"offDate": "2018-04-17 11:00",
"openTotalScoreSwitch": false,
"rankPrize": true,
"skincontent": "",
"credits": 66
},
extra: {
"embedDomain": "//embedlog.duibatest.com.cn"
},
defenseStrategy: {
"scoreUnit": 10
}
}
var recordUrl = 'record/';
function resolve(a) {
var b = eval(a);
return b;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "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>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -52,7 +52,7 @@
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="libs/share_sdk_v3.js"></script>
<!-- <script src="libs/share_sdk_v3.js"></script> -->
<!-- <script src="//yun.duiba.com.cn/db_games/activity/mskhj_20191022/share_sdk_v3.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
......@@ -62,10 +62,22 @@
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
}
}
wx.config({
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
No preview for this file type
......@@ -52,7 +52,7 @@
<script src="libs/security.js"></script>
<script src="libs/physics.min.js"></script>
<!-- <script src="default.thm.js"></script> -->
<script src="libs/share_sdk_v3.js"></script>
<!-- <script src="libs/share_sdk_v3.js"></script> -->
<!-- <script src="//yun.duiba.com.cn/db_games/activity/mskhj_20191022/share_sdk_v3.js"></script> -->
<script src="output.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
......
......@@ -160,7 +160,10 @@ class Main extends eui.UILayer {
NetPromise.ins.not_login=false;
} */
let location = window["App"].getLocation();
try{
let location = window["App"].getLocation();
}catch(e){}
//纬度范围
let latitudeScope = [30.40, 31.54]
//经度范围
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment