code review by hf: do add newyear weixin share js
Showing
1 changed file
with
5 additions
and
1 deletions
@@ -75,7 +75,6 @@ | @@ -75,7 +75,6 @@ | ||
75 | <input id="shareDesc" type="hidden" value="{{shareDesc}}"> | 75 | <input id="shareDesc" type="hidden" value="{{shareDesc}}"> |
76 | <script type="text/javascript" src="{{imgUrl}}/cuxiao/js/jquery.min.js"></script> | 76 | <script type="text/javascript" src="{{imgUrl}}/cuxiao/js/jquery.min.js"></script> |
77 | <script> | 77 | <script> |
78 | - | ||
79 | //提示分享 | 78 | //提示分享 |
80 | $('.share-btn').click(function () { | 79 | $('.share-btn').click(function () { |
81 | $('.modal').fadeIn(); | 80 | $('.modal').fadeIn(); |
@@ -103,5 +102,10 @@ | @@ -103,5 +102,10 @@ | ||
103 | location.reload(); | 102 | location.reload(); |
104 | }); | 103 | }); |
105 | </script> | 104 | </script> |
105 | +{{#if weixinShare}} | ||
106 | +<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> | ||
107 | +<script type="text/javascript" charset="utf-8" src="{{jsUrl}}/cuxiao/js/share.weixin.js"></script> | ||
108 | +{{/if}} | ||
109 | +{{> layout/analysis}} | ||
106 | </body> | 110 | </body> |
107 | </html> | 111 | </html> |
-
Please register or login to post a comment