mobile.html 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!DOCTYPE html>
  2. <html lang="zh">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
  6. <title>分享</title>
  7. <link rel="stylesheet" href="http://css.selfimg.com.cn/cssreset/reset.css" />
  8. <script src="../../core/zepto.min.js"></script>
  9. <script src="../../core/share/js/jweixin.js"></script>
  10. <script src="../../core/share/js/mshare.js"></script>
  11. </head>
  12. <body>
  13. <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" />
  14. <script>
  15. new brickjs.MShare({
  16. website : 'sg',
  17. site: "1", //1、vogue 2、self 3、gq 4、adstyle 5、cnt 6、feature(专题)
  18. catalog: "", //栏目id
  19. sUrl: "http://www.self.com.cn", //分享地址
  20. title: "标题",
  21. source_id : 1,
  22. source_table : 'test',
  23. imgUrl: "http://m.vogue.com.cn/mfeature/voguemini2015/img/share.jpg",
  24. desc: "说明",
  25. appKey: {
  26. tsina: "2412621184"
  27. },
  28. ralateUid: '1658402750',
  29. wxGuide: {
  30. 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>',
  31. imgUrl: 'http://123.103.23.79/qinjie/selfseven/images/layer-text.png',
  32. width: 265, //微信提示图片宽高
  33. height: 191,
  34. style: {
  35. right: 0,
  36. top: 0
  37. }
  38. }
  39. }, 'input')
  40. </script>
  41. </body>
  42. </html>