...
|
...
|
@@ -115,23 +115,14 @@ $('.share-wrapper').on('click', 'i', function() { |
|
|
share(type);
|
|
|
});
|
|
|
|
|
|
$('.weixin').hover(function() {
|
|
|
$('.weixin').mouseenter(function() {
|
|
|
var $el = $(this),
|
|
|
type = $el.data('type');
|
|
|
|
|
|
share(type, $el);
|
|
|
}, function() {
|
|
|
$('.weixin-share-box').hide();
|
|
|
});
|
|
|
|
|
|
// $('.weixin').mouseover(function() {
|
|
|
// var $el = $(this),
|
|
|
// type = $el.data('type');
|
|
|
// console.log(1)
|
|
|
|
|
|
// share(type, $el);
|
|
|
// });
|
|
|
|
|
|
// $('.weixin').mouseleave(function() {
|
|
|
// $('.weixin-share-box').hide();
|
|
|
// }); |
|
|
\ No newline at end of file |
|
|
$('.weixin').mouseleave(function() {
|
|
|
console.log(2);
|
|
|
$('.weixin-share-box').hide();
|
|
|
}); |
...
|
...
|
|