Authored by zhangxiaoru

edi8torial

... ... @@ -282,7 +282,8 @@ const helpers = {
});
_.forEach(s.sub, ss => {
if ((q.misort && q.misort === ss.categoryId) || (q.sort === ss.relationParameter.sort)) {
if ((q.misort && q.misort === ss.categoryId) ||
(ss.relationParameter && q.sort === ss.relationParameter.sort)) {
ss.checked = true;
s.checked = true;
}
... ...
... ... @@ -41,7 +41,7 @@ const getProductBaseAsync = (productId, uid, skn) => {
* @return { Object } 收藏状态
*/
const getUserIsFav = (uid, productId) => {
return SingleAPI.get('', {
return SingleAPI.get('/favorite', {
method: 'app.favorite.isFavoriteNew',
id: productId,
uid: uid,
... ...
... ... @@ -29,12 +29,12 @@ function _paramHanlde(obj) {
}
}
if (obj.standard) {
let standards = obj.standard.split(',');
obj.standard_id = standards[0];
obj.standard_value_id = standards[1];
}
// if (obj.standard) {
// let standards = obj.standard.split(',');
//
// obj.standard_id = standards[0];
// obj.standard_value_id = standards[1];
// }
let _gender;
... ...
... ... @@ -6,7 +6,8 @@
{{# navbars}}
<li class="nav-item{{#if cur}} cur{{/if}}">
<a href="{{link}}"{{#if isNewPage}} target="_blank"{{/if}}>
{{en}}{{cn}}
<span class="nav-en">{{en}}</span>
<span class="nav-cn">{{cn}}</span>
</a>
</li>
{{/ navbars}}
... ...
... ... @@ -8,7 +8,7 @@
color: #666;
.iconfont {
font-size: 16px;
font-size: 14px;
}
}
... ...
... ... @@ -311,6 +311,7 @@
text-align: center;
border: 2px solid #fff;
cursor: pointer;
width: 289px;
.goods-brand {
font-weight: 700;
... ...