Showing
2 changed files
with
10 additions
and
14 deletions
@@ -5,17 +5,3 @@ | @@ -5,17 +5,3 @@ | ||
5 | <div id="hotRank"></div> | 5 | <div id="hotRank"></div> |
6 | {{> common/suspend-cart}} | 6 | {{> common/suspend-cart}} |
7 | </div> | 7 | </div> |
8 | - | ||
9 | -{{#wxshare}} | ||
10 | - <script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> | ||
11 | - <input id="shareLink" type="hidden" value="{{shareLink}}"> | ||
12 | - <input id="shareImg" type="hidden" value="{{shareImg}}"> | ||
13 | - <input id="shareTitle" type="hidden" value="{{shareTitle}}"> | ||
14 | - <input id="shareDesc" type="hidden" value="{{shareDesc}}"> | ||
15 | -{{/wxshare}} | ||
16 | - | ||
17 | -<script type="text/javascript"> | ||
18 | -// seajs.use('js/plugin/wx-share', function(share) { | ||
19 | -// share(); | ||
20 | -// }); | ||
21 | -</script> |
@@ -17,6 +17,16 @@ var page = 1, | @@ -17,6 +17,16 @@ var page = 1, | ||
17 | require('../common/suspend-cart'); | 17 | require('../common/suspend-cart'); |
18 | require('../common'); | 18 | require('../common'); |
19 | 19 | ||
20 | +var share = require('../common/share'); | ||
21 | + | ||
22 | +share({ | ||
23 | + title: '有货【会员日】开启啦!9月28日潮集狂欢趴等你来HI!限时6大福利,快参与起来喽~', | ||
24 | + link: location.href, | ||
25 | + desc: 'YOHO!BUY', | ||
26 | + imgUrl: 'http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png' | ||
27 | + | ||
28 | +}); | ||
29 | + | ||
20 | function hotrank(page, sort, tabId, notab) { | 30 | function hotrank(page, sort, tabId, notab) { |
21 | loading.showLoadingMask(); | 31 | loading.showLoadingMask(); |
22 | $.ajax({ | 32 | $.ajax({ |
-
Please register or login to post a comment