share.html 729 B

1234567891011
  1. <script type="text/javascript" src="script/lib/share/weixin.js"></script>
  2. <script type="text/javascript" src="script/dever/share.js"></script>
  3. <script><{Dever::script()}></script>
  4. <script id="script">
  5. var ctitle = '<{$info.share_title}>';
  6. var cimg = '<{$info.share_pic}>';
  7. var cdesc = '<{$info.share_content}>';
  8. var curl = config.current;
  9. var api = config.workspace.replace('wonderful/h5/', 'wechat/share/');
  10. </script>
  11. <script type="text/javascript">$(function () { var uid = -1; var project = 4; var url = api + "?api."; var param = {}; param.title = ctitle; param.img = cimg; param.desc = cdesc; param.url = curl; var button = false; Dever_Share.Init(uid, project, url, param, button); })</script>