...
|
...
|
@@ -11,6 +11,7 @@ |
|
|
<h1 onclick="weixinSendAppMessage()">分享主题</h1>
|
|
|
</body>
|
|
|
</html>
|
|
|
<script src="them/public/assets/js/jquery-2.1.0.js"></script>
|
|
|
<script src="http://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
|
|
|
<script type="text/javascript">
|
|
|
$(function () {
|
...
|
...
|
@@ -29,6 +30,7 @@ |
|
|
});
|
|
|
|
|
|
function weixinSendAppMessage(){
|
|
|
alert(111);
|
|
|
WeixinJSBridge.invoke('updateAppMessageShareData',{
|
|
|
title: '分享标题', // 分享标题
|
|
|
desc: '分享描述', // 分享描述
|
...
|
...
|
|