Authored by yyq

Merge branch 'feature/codeMod' into release/5.6.1

... ... @@ -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();
... ...
... ... @@ -454,7 +454,7 @@
.qr-words {
height: 18px;
line-height: 18px;
font-size: 14px;
font-size: 12px;
text-align: center;
color: #000;
}
... ...
... ... @@ -273,7 +273,7 @@
.qr-more {
height: 18px;
line-height: 18px;
font-size: 14px;
font-size: 12px;
text-align: center;
}
}
... ... @@ -295,6 +295,10 @@
.download-code:hover {
background-color: #eaeceb;
.download-app-box {
display: block;
}
}
.icon-hamburger {
... ... @@ -1500,17 +1504,15 @@
.code-title {
color: #000;
font-size: 14px;
font-size: 12px;
height: 20px;
line-height: 20px;
text-align: center;
}
}
@media screen and (min-width: 1367px) {
@media screen and (max-width: 1280px) {
.code-down-box {
position: fixed;
top: 440px;
right: 60px;
display: none;
}
}
... ...
... ... @@ -229,14 +229,14 @@
.code-font {
float: right;
width: 117px;
width: 110px;
height: 76px;
em {
display: inline-block;
text-align: center;
margin-top: 10px;
font-size: 14px;
font-size: 12px;
line-height: 18px;
color: #000;
}
... ...