Authored by 郭成尧

Merge branch 'feature/sale' of http://git.dev.yoho.cn/web/yohobuy-node into feature/sale

 the commit.
... ... @@ -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: ''
}
};
... ...
... ... @@ -4,6 +4,7 @@ var $ = require('yoho-jquery'),
require('../header');
require('../index/slider');
require('product');
lazyLoad($('img.lazy'));
$('.slide-container').slider();
... ...
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();
... ...