Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
郭成尧
2016-05-21 13:23:13 +0800
Commit
a6e35d63b00039282510e0c1174a6e5519a4fef5
2 parents
555d18aa
a333bb09
Merge branch 'feature/sale' of
http://git.dev.yoho.cn/web/yohobuy-node
into feature/sale
the commit.
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
110 additions
and
1 deletions
apps/product/models/simulation.js
public/js/product/product.sale.js
public/js/product/sale.page.js
apps/product/models/simulation.js
View file @
a6e35d6
...
...
@@ -412,6 +412,103 @@ exports.other = () => {
},
filters
:
{
checkedConditions
:
{
conditions
:
[
{
herf
:
'www.baidu.com'
,
name
:
'BOYS'
,
color
:
'black'
},
{
herf
:
'www.baidu.com'
,
name
:
'Girls'
,
color
:
'black'
}
],
clearUrl
:
'www.baid.com'
},
// channel gender sort misort 都一样
channel
:
[
{
checked
:
true
,
href
:
'www.baodu.com'
,
name
:
'男生'
},
{
checked
:
true
,
href
:
'www.baodu.com'
,
name
:
'女生'
}
],
brand
:
{
default
:
[
{
checked
:
true
,
href
:
'asdad'
,
name
:
'品牌1'
},
{
checked
:
true
,
href
:
'asdad'
,
name
:
'品牌2'
}
]
},
price
:
[
{
checked
:
true
,
href
:
'asdad'
,
name
:
'品牌1'
},
{
checked
:
true
,
href
:
'asdad'
,
name
:
'品牌2'
}
]
},
opts
:
{
sortType
:
[
{
href
:
'www.baidu.com'
,
name
:
'折扣'
,
hasSortOrient
:
{
active
:
{
desc
:
{
}
}
}
},
{
href
:
'www.baidu.com'
,
name
:
'价格'
,
hasSortOrient
:
{
}
},
{
}
],
countPerPage
:
60
,
pageCounts
:
{
href
:
'wda'
,
count
:
'12'
},
start
:
1
,
end
:
20
},
goods
:
[
{
tags
:
...
...
@@ -443,7 +540,16 @@ exports.other = () => {
},
marketPrice
:
'231'
}
]
],
totalCount
:
1233
,
hasNextPage
:
{
href
:
'13'
,
src
:
'231'
},
// pager 的html
pager
:
''
}
};
...
...
public/js/product/product.sale.js
View file @
a6e35d6
...
...
@@ -4,6 +4,7 @@ var $ = require('yoho-jquery'),
require
(
'../header'
);
require
(
'../index/slider'
);
require
(
'product'
);
lazyLoad
(
$
(
'img.lazy'
));
$
(
'.slide-container'
).
slider
();
...
...
public/js/product/sale.page.js
View file @
a6e35d6
var
$
=
require
(
'yoho-jquery'
),
$navItem
=
$
(
'.sale-nav li'
),
lazyLoad
=
require
(
'yoho-jquery-lazyload'
);
var
product
=
require
(
'./product'
);
require
(
'../header'
);
require
(
'../index/slider'
);
product
.
init
();
lazyLoad
(
$
(
'img.lazy'
));
$
(
'.slide-container'
).
slider
();
...
...
Please
register
or
login
to post a comment