|
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width"/>
<meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
<title>WinA</title>
<link rel="stylesheet" type="text/css" href="css/api.css"/>
<link rel="stylesheet" type="text/css" href="css/box.css"/>
<script type="text/javascript" src="script/public.js"></script>
<style>
p{
color:#999;
padding:5px;
}
</style>
<script type="text/javascript">
var customshare=null;
apiready = function(){
customshare=api.require('customshare');
}
function customShare(){
var param = {
title:"定制分享测试",
url:"www**.**",
imgUrl:"http://f.hiphotos**.**/image/pic/item/09fa513d269759ee50f1971ab6fb43166c22dfba.jpg",
desc:"点击测试",
type:0};
customshare.wxshare(param, function(ret, err){
});
}
<!--0,微信好友 1朋友圈,3.系统分享好友-->
</script>
</head>
<body>
<div id="wrap">
<div id="main">
<br>
<div class='itemtitle'>4.定制分享</div>
<div class="clickbtn" tapmode="active">点击弹出</div>
<br>
</div>
</div>
</body>
</html>
|
|