Authored by 沈志敏

fix bug

... ... @@ -29,7 +29,10 @@ module.exports = {
return api.get('', {
method: 'app.brand.newBrandList',
yh_channel: yhChannel[params.channel].channel
}, {code: 200, cache: true});
}, {
code: 200,
cache: true
});
},
/**
... ... @@ -39,6 +42,9 @@ module.exports = {
getCateListData(params) {
return api.get('', Object.assign(params, {
method: 'app.sort.get'
}, {code: 200, cache: true}));
}, {
code: 200,
cache: true
}));
}
};
};
\ No newline at end of file
... ...
... ... @@ -10,7 +10,7 @@
<div class="sub-level-container">
<ul class="sub-level">
<li class="ellipsis">
<a v-if="jump" href="/product/list?sort={{rightAll.sortId}}&sort_name=全部{{rightAll.categoryName}}&gender={{gender}}">全部{{rightAll.categoryName}}</a>
<a v-if="jump" href="/product/list?sort={{rightAll.sortId || '' }}&sort_name=全部{{rightAll.categoryName || ''}}&gender={{gender}}">全部{{rightAll.categoryName}}</a>
<a v-else @click="noJumpReturn(rightAll.sortId, '全部' + rightAll.categoryName)">全部{{rightAll.categoryName}}</a>
</li>
</ul>
... ...
... ... @@ -86,12 +86,12 @@
margin-left: -$w;
margin-right: -$w;
padding: 0 $w;
height: 100px;
font-size: 34px;
height: 102px;
line-height: 100px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
... ...