<!DOCTYPE html>
<html>
<head>
<div id='wx_pic' style='margin:0 auto;display:none;'>
<img src='photo.jpg' />
</div>
<meta charset="utf-8">
<title>七夕到了,给女神送束花</title>
<link rel="icon" type="image/GIF" href="res/favicon.ico"/>
<meta name="viewport" content="width=device-width, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="full-screen" content="yes"/>
<meta name="screen-orientation" content="portrait"/>
<meta name="x5-fullscreen" content="true"/>
<meta name="360-fullscreen" content="true"/>
<style>
body, canvas, div {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
-khtml-user-select: none;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
</style>
</head>
<body style="padding:0; margin: 0; background-image:url(res/load.jpg);">
<canvas id="gameCanvas" width="640" height="1000"></canvas>
<script src="js/game.min.js?20140825"></script>
<script language=javascript>
var mebtnopenurl = 'http://igame.ikongzhong.cn';
var thegameurl ="http://igame.ikongzhong.cn/games/qxxh/";
var guanzhuurl ="http://mp.weixin.qq.com/s?__biz=MzAwNzQ4NzQyOQ==&mid=207029465&idx=1&sn=7b3e89d22b38e1e1337bf3a98ccdfb46#rd";
window.shareData = {
"imgUrl": "http://mmbiz.qpic.cn/mmbiz/2zpp2iaH4HWFX6tke5uPDQdhox50ehxKfkhXc6UibYO4Kd62Z8Gan6NGUtAIODUFuC0P1HViaf2Vmv24d9VmHgEDA/640",
"timeLineLink": thegameurl,
"tTitle": "七夕到了,给女神送束花",
"tContent": "七夕到了,给女神送束花"
};
function goHome(){
window.location=mebtnopenurl;
}
function clickMore(){
if((window.location+"").indexOf("zf",1)>0){
window.location = mebtnopenurl;
}
else{
goHome();
}
}
function dp_share(){
document.title ="七夕节,我送给女神"+myData.score+"束鲜花,她给了我“"+myData.title+"”的有爱称号,你也来试试吧!";
document.getElementById("share").style.display="";
window.shareData.tTitle = document.title;
}
function dp_Ranking(){
window.location=mebtnopenurl;
}
function showAd(){
}
function hideAd(){
}
document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
WeixinJSBridge.on('menu:share:appmessage', function(argv) {
WeixinJSBridge.invoke('sendAppMessage', {
"img_url": window.shareData.imgUrl,
"link": window.shareData.timeLineLink,
"desc": window.shareData.tContent,
"title": window.shareData.tTitle
}, onShareComplete);
});
WeixinJSBridge.on('menu:share:timeline', function(argv) {
WeixinJSBridge.invoke('shareTimeline', {
"img_url": window.shareData.imgUrl,
"img_width": "640",
"img_height": "640",
"link": window.shareData.timeLineLink,
"desc": window.shareData.tContent,
"title": window.shareData.tTitle
}, onShareComplete);
});
}, false);
</script>
<div id=share style="display: none">
<img width=100% src="share.png"
style="position: fixed; z-index: 9999; top: 0; left: 0; display: "
ontouchstart="document.getElementById('share').style.display='none';" />
</div>
<div style="display: none;">
<script type="text/javascript">
var myData = { gameid: "lbyhbyc" };
var domain = ["oixm.cn", "hiemma.cn", "peagame.net"][parseInt(Math.random() * 3)];
window.shareData.timeLineLink =thegameurl;
function dp_submitScore(score,title){
myData.score =parseInt(score);
myData.title=title;
myData.scoreName = "送了"+score+"束";
if(score>0){
if (confirm("你不错哟,送给女神"+score+"束鲜花,快告诉你的伙伴们吧!")){
dp_share();
}
}
}
function onShareComplete(res) {
if (localStorage.myuid && myData.score != undefined) {
setTimeout(function(){
if (confirm("要将成绩提交到9G游戏排行榜吗?")) {
window.location =mebtnopenurl;
}
else {
document.location.href = mebtnopenurl;
}
}, 500);
}
else {
document.location.href = guanzhuurl;
}
}
</script>
<div style="display: none;">
</div>
</body>
</html>
七夕献花HTML5游戏源码
版权申诉
189 浏览量
2022-06-24
21:20:35
上传
评论
收藏 871KB RAR 举报
reg183
- 粉丝: 1817
- 资源: 1万+
最新资源
- 基于Java和深度学习的瓦斯浓度预测系统后端设计源码 - 瓦斯浓度预测后端
- Screenshot_20240528_103010.jpg
- 基于Python的新能源承载力计算及界面设计源码 - HAINING-DG
- 基于Java的本科探索学习项目设计源码 - 本科探索
- 基于Javascript和Python的微商城项目设计源码 - MicroMall
- 基于Java的网上订餐系统设计源码 - online ordering system
- 基于Javascript的超级美眉网络资源管理应用模块设计源码
- 基于Typescript和PHP的编程知识储备库设计源码 - study-php
- Screenshot_2024-05-28-11-40-58-177_com.tencent.mm.jpg
- 基于Dart的Flutter小提琴调音器APP设计源码 - violinhelper
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈