[php]代码库
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta charset="UTF-8">
<title>李红艳-情人节快乐!我爱你-爱你一万年</title>
<link rel="stylesheet" href="css/style.css" media="screen" type="text/css" />
<style type="text/css">
<!--
.STYLE1 {color: #FFFFFF}
-->
</style>
</head>
<body>
<div class="container">
<form id="contact" action="qixi.php" method="get">
<h3>我爱你</h3>
<h4>请填写以下内容,把之后的页面发给爱的人!</h4>
特效加载慢,多写点,让她/他多停留下!
<fieldset>
<input placeholder="熊猫" name="me" type="text" tabindex="1" required>
</fieldset>
<fieldset>
<input placeholder="乙八" name="you" type="text" tabindex="2" required>
</fieldset>
<fieldset>
<textarea placeholder="亲爱的红艳,遇上你是我今生最大的缘分,我们相识在1111,象征一生一世一心一意,我的爱今生注定,相随你永远。爱你的攀!情人节到了,亲爱的节日快乐哦" name="yi" tabindex="5" required></textarea>
</fieldset>
<fieldset>
<input placeholder="愿得一人心,白首不分离!" name="wu" type="text" tabindex="2" required>
</fieldset>
<!-- <fieldset>
<input placeholder="感谢上天让我与你相遇,相识,相知,相爱" name="er" type="text" tabindex="2" required>
</fieldset>
<fieldset>
<input placeholder="你是我今生最大的幸福" name="san" type="text" tabindex="2" required>
</fieldset>
<fieldset>
<input placeholder="2015年嫁给我吧!" name="jcbgoods.com" type="text" tabindex="2" required>
</fieldset>
<fieldset>
<input placeholder="情人节快乐!新年快乐!" name="jcbgoods" type="text" tabindex="2" required>
</fieldset>
<fieldset>
<input placeholder="2015年" name="year" type="text" tabindex="3" required>
</fieldset>
<fieldset>
<input placeholder="2月" name="yue" type="text" tabindex="4" required>
</fieldset>
<fieldset>
<input placeholder="14日:如20" name="ri" type="text" tabindex="4" required>
</fieldset>-->
<fieldset>
<button name="submit" type="submit" id="contact-submit" data-submit="...Sending">提交</button>
</fieldset>
</form>
<a href="http://jcbgoods.com/mobile/category.php?cid=1256"><img style="width:100%" src="img/gg.jpg" alt="旌商商城" border="0" longdesc="http://www.jcbgoods.com/mobile"></a><br>
<img style="width:100%" src="img/fen.jpg" alt="分享">
<script type="text/javascript" src="http://c.ibangkf.com/i/c-jcbgoods.js"></script>
</div>
<script>
var imgUrl = "http://weixin.jcbgoods.com/ad/ai/img/01.jpg";
var lineLink = "http://weixin.jcbgoods.com/ad/ai";
var descContent = '自打用了此功能\n女神/欧巴都主动啦!';
var shareTitle = '情人节表白神器来啦!';
var appid = '';
function shareFriend() {
WeixinJSBridge.invoke('sendAppMessage',{
"appid": appid,
"img_url": imgUrl,
"img_width": "200",
"img_height": "200",
"link": lineLink,
"desc": descContent,
"title": shareTitle
}, function(res) {
//_report('send_msg', res.err_msg);
})
}
function shareTimeline() {
WeixinJSBridge.invoke('shareTimeline',{
"img_url": imgUrl,
"img_width": "200",
"img_height": "200",
"link": lineLink,
"desc": descContent,
"title": shareTitle
}, function(res) {
//_report('timeline', res.err_msg);
});
}
function shareWeibo() {
WeixinJSBridge.invoke('shareWeibo',{
"content": descContent,
"url": lineLink,
}, function(res) {
//_report('weibo', res.err_msg);
});
}
// 当微信内置浏览器完成内部初始化后会触发WeixinJSBridgeReady事件。
document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
// 发送给好友
WeixinJSBridge.on('menu:share:appmessage', function(argv){
shareFriend();
});
// 分享到朋友圈
WeixinJSBridge.on('menu:share:timeline', function(argv){
shareTimeline();
});
// 分享到微博
WeixinJSBridge.on('menu:share:weibo', function(argv){
shareWeibo();
});
}, false);
</script>
</body>
</html>
中级程序员
by: 震天 发表于:2015-03-01 23:56:05 顶(0) | 踩(0) 回复
挺好的
回复评论