...
|
...
|
@@ -212,7 +212,7 @@ const setPathNav = (data, name, channel) => { |
|
|
|
|
|
if (!_.isEmpty(sort)) {
|
|
|
navs.push({
|
|
|
link: helpers.urlFormat('/list', {
|
|
|
link: helpers.urlFormat('/product/list', {
|
|
|
msort: sort.sort_id,
|
|
|
gender: gender
|
|
|
}),
|
...
|
...
|
@@ -223,7 +223,7 @@ const setPathNav = (data, name, channel) => { |
|
|
// 二级分类
|
|
|
if (!_.isEmpty(sort.sub)) {
|
|
|
navs.push({
|
|
|
link: helpers.urlFormat('/list', {
|
|
|
link: helpers.urlFormat('/product/list', {
|
|
|
msort: sort.sort_id,
|
|
|
misort: sort.sub.sort_id,
|
|
|
gender: gender
|
...
|
...
|
@@ -379,6 +379,11 @@ const setProductData = base => { |
|
|
// 默认第一张图片
|
|
|
if (!_.has(resData, 'img')) {
|
|
|
resData.img = value.colorImage;
|
|
|
|
|
|
// 只有一张图时不显示左右切换箭头
|
|
|
if (thumbs.length < 2) {
|
|
|
resData.btnsHide = true;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// 商品尺码列表
|
...
|
...
|
|