Authored by 陈轩

fix

... ... @@ -112,7 +112,7 @@ const getBrandShopGoodsData = params => {
prettyFilter(subResult.data.filter);
finalResult = {
data: {
productList: processProductList(subResult.data.product_list),
productList: processProductList(subResult.data.product_list, {gender: params.gender}),
filter: subResult.data.filter,
page: subResult.data.page,
pageTotal: subResult.data.page_total
... ...
... ... @@ -182,6 +182,8 @@
border-bottom: 1px solid #e6e6e6;
padding-left: 20px;
user-select: none;
white-space: nowrap;
overflow-y: auto;
&.highlight {
background: #eee;
... ...
... ... @@ -75,12 +75,13 @@
}, (results)=> {
const result = results[0], misc = results[1];
if (result && result.code === 200) {
// TODO:
} if (result && result.code === 403) {
// if (result && result.code === 200) {
// // TODO:
// }
if (result && result.code === 403) {
// 未登录
yoho.goLogin('', function() {
this.toggleFavorite();
yoho.goLogin('',() => {
this.favorite();
}, function() {
tip('登录失败');
});
... ...