12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <!DOCTYPE html>
- <html lang="zh">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
- <title>分享</title>
- <link rel="stylesheet" href="http://css.selfimg.com.cn/cssreset/reset.css" />
- <script src="../../core/zepto.min.js"></script>
- <script src="../../core/share/js/jweixin.js"></script>
- <script src="../../core/share/js/mshare.js"></script>
- </head>
- <body>
- <input type="button" value="share" data-desc="说明" data-sUrl="http://www.self.com.cn" data-imgUrl="http://www.self.com.cn/userfiles/201411/images/14153893197.jpg" />
-
- <script>
- new brickjs.MShare({
- website : 'sg',
- site: "1", //1、vogue 2、self 3、gq 4、adstyle 5、cnt 6、feature(专题)
- catalog: "", //栏目id
- sUrl: "http://www.self.com.cn", //分享地址
- title: "标题",
- source_id : 1,
- source_table : 'test',
- imgUrl: "http://m.vogue.com.cn/mfeature/voguemini2015/img/share.jpg",
- desc: "说明",
- appKey: {
- tsina: "2412621184"
- },
- ralateUid: '1658402750',
- wxGuide: {
- tpl : '<div style="position: fixed;background:url(http://css.selfimg.com.cn/cnt/mobile/images/blk80.png) repeat;left:0;top:0;right:0;bottom:0;z-index:1000;"><div style="margin:0 auto;text-align:center;width:320px;position:relative;"><img src="http://qinjie.goldlist.8dev.net/images/share.png" width="295" height="273"/><a href="http://mp.weixin.qq.com/s?__biz=MjM5NTAwNjA1Mg==&mid=201076928&idx=1&sn=101109ec6969d822a3bfed6795d0961b#rd" style="color:#fb5900;position: absolute;left: 26px;top: 177px;font-family: Microsoft yahei;">点击这里</a><a href="http://m.cntraveler.com.cn" style="color:#fb5900;position: absolute;left: 29px;bottom: 23px;font-size:15px;">m.cntraveler.com.cn</a></div></div>',
- imgUrl: 'http://123.103.23.79/qinjie/selfseven/images/layer-text.png',
- width: 265, //微信提示图片宽高
- height: 191,
- style: {
- right: 0,
- top: 0
- }
- }
- }, 'input')
- </script>
- </body>
- </html>
|