...
|
...
|
@@ -992,29 +992,13 @@ $(function() { |
|
|
$(window).resize(function() {
|
|
|
var innerWindowWidth = window.innerWidth;
|
|
|
|
|
|
if (innerWindowWidth > 1150 && innerWindowWidth <= windowWidth) {
|
|
|
if (innerWindowWidth > 1440 && innerWindowWidth <= windowWidth) {
|
|
|
$('.code-down-box').show();
|
|
|
|
|
|
} else {
|
|
|
$('.code-down-box').hide();
|
|
|
}
|
|
|
});
|
|
|
|
|
|
if (window.location.hostname === 'www.yohobuy.com' && window.location.href.indexOf('?') === -1) {
|
|
|
$('#phoneApp').find('.download-app-box').show();
|
|
|
|
|
|
setTimeout(function() {
|
|
|
$('#phoneApp').find('.download-app-box').hide();
|
|
|
}, 5000);
|
|
|
} else {
|
|
|
$('#phoneApp').find('.download-app-box').hide();
|
|
|
}
|
|
|
|
|
|
$('.download-code').mouseenter(function() {
|
|
|
$(this).find('.download-app-box').show();
|
|
|
}).mouseleave(function() {
|
|
|
$(this).find('.download-app-box').hide();
|
|
|
});
|
|
|
});
|
|
|
|
|
|
actionCover();
|
...
|
...
|
|