Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
陈轩
9 years ago
Commit
b00700648a987dc93cb7b2b18d68fdb329902b44
1 parent
22ba3be1
fix
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
apps/product/models/shop.js
public/vue/channel/brand-cate.vue
public/vue/editorial/top-nav.vue
apps/product/models/shop.js
View file @
b007006
...
...
@@ -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
...
...
public/vue/channel/brand-cate.vue
View file @
b007006
...
...
@@ -182,6 +182,8 @@
border-bottom: 1px solid #e6e6e6;
padding-left: 20px;
user-select: none;
white-space: nowrap;
overflow-y: auto;
&.highlight {
background: #eee;
...
...
public/vue/editorial/top-nav.vue
View file @
b007006
...
...
@@ -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('登录失败');
});
...
...
Please
register
or
login
to post a comment