Authored by unknown

3.0.4 bug modify

... ... @@ -13,7 +13,8 @@ module.exports = {
list: [{
textEn: 'Boy'
}, {
textEn: 'Girl'
textEn: 'Girl',
isSelect: true
}, {
textEn: 'Kids'
}, {
... ...
... ... @@ -7,7 +7,6 @@
var $ = require('yoho.jquery');
//主导航样式及点击事件
$('.cate-nav').find('li').eq(0).addClass('current');
$('.cate-nav').on('click', 'li', function() {
var nowIndex = $(this).index();
$(this).addClass('current').siblings().removeClass('current');
... ... @@ -33,4 +32,8 @@ $('.cate-second').height($(window).height() - $('.cate-second').offset().top);
//微信中隐藏头部
if (window.ws) {
$('#header').hide();
}
\ No newline at end of file
};
$('body').css({
backgroundColor: '#f8f8f8'
})
\ No newline at end of file
... ...
.hot-brands {
background: #fff;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
a {
display: block;
... ... @@ -12,7 +12,7 @@
width: 158rem / $pxConvertRem;
height: 174rem / $pxConvertRem;
border-right: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
border-top: 1px solid #e0e0e0;
overflow: hidden;
.brand-logo {
... ... @@ -47,7 +47,7 @@
float: left;
width: 317rem / $pxConvertRem;
height: 174rem / $pxConvertRem;
border-bottom: 1px solid #e0e0e0;
border-top: 1px solid #e0e0e0;
a {
display: block;
... ...
... ... @@ -5,7 +5,7 @@
<div class="cate-nav">
<ul class="clearfix">
{{# list}}
<li>
<li class="{{# isSelect}}current{{/ isSelect}}">
<a href="javascript:;"><span>{{textEn}}</span></a>
</li>
{{/ list}}
... ...