Authored by 郭成尧

假数据格式

... ... @@ -35,16 +35,16 @@ exports.index = (req, res) => {
responseData.devEnv = true;
// 假数据输出
// res.render('sale/index', Object.assign(responseData, simulation.saleIndex()));
res.render('sale/index', Object.assign(responseData, simulation.saleIndex()));
// 真实数据输出
sale.getSaleIndexData().then(result => {
/*sale.getSaleIndexData().then(result => {
responseData.result = result;
responseData.resultShow = JSON.stringify(result, null, 4);
res.render('sale/index', responseData);
});
});*/
})
.catch(() => {
res.render('error', { devEnv: true, pageErr: true });
... ...
... ... @@ -2,7 +2,7 @@
* @Author: Targaryen
* @Date: 2016-05-19 16:48:43
* @Last Modified by: Targaryen
* @Last Modified time: 2016-05-19 17:02:34
* @Last Modified time: 2016-05-24 16:13:59
*/
'use strict';
... ... @@ -13,200 +13,202 @@
*/
exports.saleIndex = () => {
return {
module: 'product',
page: 'sale',
topBanner: {
list: [{
bannerHeight: 450,
href: 'http://www.yoho.cn',
img: 'http://img11.static.yhbimg.com/yhb-img01/2016/05/19/11/01efd5521a2bb695df0bd0f1b9ff982b01.jpg?imageView2/1/w/1150/h/450'
}, {
bannerHeight: 450,
href: 'http://www.yoho.cn',
img: 'http://img11.static.yhbimg.com/yhb-img01/2016/05/16/21/0161b59cecf631342068625d33ee6cabbd.jpg?imageView2/1/w/1150/h/450'
}, {
bannerHeight: 450,
href: 'http://www.yoho.cn',
img: 'http://img11.static.yhbimg.com/yhb-img01/2016/05/16/21/01e80b25fa38c6d28cd2eb9c24e78a4732.jpg?imageView2/1/w/1150/h/450'
}]
},
activityEnter: [{
link: 'www.baidu.com',
icon: 'dasdasdas',
title: '我是标题',
desc: '参加活动'
}, {
link: 'www.baidu.com',
icon: 'dasdasdas',
title: '我是标题',
desc: '参加活动'
}, {
link: 'www.baidu.com',
icon: 'dasdasdas',
title: '我是标题',
desc: '参加活动'
}],
result: {
module: 'product',
page: 'sale',
topBanner: {
list: [{
bannerHeight: 450,
href: 'http://www.yoho.cn',
img: 'http://img11.static.yhbimg.com/yhb-img01/2016/05/19/11/01efd5521a2bb695df0bd0f1b9ff982b01.jpg?imageView2/1/w/1150/h/450'
}, {
bannerHeight: 450,
href: 'http://www.yoho.cn',
img: 'http://img11.static.yhbimg.com/yhb-img01/2016/05/16/21/0161b59cecf631342068625d33ee6cabbd.jpg?imageView2/1/w/1150/h/450'
}, {
bannerHeight: 450,
href: 'http://www.yoho.cn',
img: 'http://img11.static.yhbimg.com/yhb-img01/2016/05/16/21/01e80b25fa38c6d28cd2eb9c24e78a4732.jpg?imageView2/1/w/1150/h/450'
}]
},
brandSale: [{
big: [{
activityEnter: [{
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '低于一小时',
brand: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/80/h/50',
discount: '1折起'
icon: 'dasdasdas',
title: '我是标题',
desc: '参加活动'
}, {
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '低于一小时',
brand: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/80/h/50',
discount: '1折起'
icon: 'dasdasdas',
title: '我是标题',
desc: '参加活动'
}, {
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '低于一小时',
brand: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/80/h/50',
discount: '1折起'
icon: 'dasdasdas',
title: '我是标题',
desc: '参加活动'
}],
normal: [{
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '剩余22小时',
title: 'yoho!buy 新品大促销,全场100折'
}, {
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '剩余22小时',
title: 'yoho!buy 新品大促销,全场100折'
}, {
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '剩余22小时',
title: 'yoho!buy 新品大促销,全场100折'
}, {
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '剩余22小时',
title: 'yoho!buy 新品大促销,全场100折'
}, {
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '剩余22小时',
title: 'yoho!buy 新品大促销,全场100折'
}, {
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '剩余22小时',
title: 'yoho!buy 新品大促销,全场100折'
}]
}],
brandSale: [{
big: [{
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '低于一小时',
brand: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/80/h/50',
discount: '1折起'
}, {
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '低于一小时',
brand: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/80/h/50',
discount: '1折起'
}, {
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '低于一小时',
brand: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/80/h/50',
discount: '1折起'
}],
normal: [{
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '剩余22小时',
title: 'yoho!buy 新品大促销,全场100折'
}, {
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '剩余22小时',
title: 'yoho!buy 新品大促销,全场100折'
}, {
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '剩余22小时',
title: 'yoho!buy 新品大促销,全场100折'
}, {
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '剩余22小时',
title: 'yoho!buy 新品大促销,全场100折'
}, {
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '剩余22小时',
title: 'yoho!buy 新品大促销,全场100折'
}, {
link: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
time: '剩余22小时',
title: 'yoho!buy 新品大促销,全场100折'
}]
saleCategory: [{
title: 'VIP会员专享',
navItem: [{
vip: true,
url: '/sa/ds',
title: '今日推荐'
}, {
incompleteSize: true,
url: '/sa/ds',
title: '上装'
}, {
newDiscount: true,
url: '/sa/ds',
title: '裤装'
}, {
vip: true,
url: '/sa/ds',
title: '鞋履'
}, {
vip: true,
url: '/sa/ds',
title: '配饰'
}],
saleImage: [{
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
name: '测试商品',
originPrice: '11321',
price: '213',
vip: true
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
name: '测试商品',
originPrice: '11321',
price: '213',
vip: true
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
name: '测试商品',
originPrice: '11321',
price: '213',
vip: true
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
name: '测试商品',
originPrice: '11321',
price: '213',
vip: true
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
name: '测试商品',
originPrice: '11321',
price: '213',
vip: true
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
name: '测试商品',
originPrice: '11321',
price: '213',
vip: true
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
name: '测试商品',
originPrice: '11321',
price: '213',
vip: true
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
name: '测试商品',
originPrice: '11321',
price: '213',
vip: true
}]
}, {
title: '断码区',
navItem: [{
vip: true,
url: '/sa/ds',
title: '今日推荐'
}, {
incompleteSize: true,
url: '/sa/ds',
title: '上装'
}, {
newDiscount: true,
url: '/sa/ds',
title: '裤装'
}, {
vip: true,
url: '/sa/ds',
title: '鞋履'
saleCategory: [{
title: 'VIP会员专享',
navItem: [{
vip: true,
url: '/sa/ds',
title: '今日推荐'
}, {
incompleteSize: true,
url: '/sa/ds',
title: '上装'
}, {
newDiscount: true,
url: '/sa/ds',
title: '裤装'
}, {
vip: true,
url: '/sa/ds',
title: '鞋履'
}, {
vip: true,
url: '/sa/ds',
title: '配饰'
}],
saleImage: [{
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
name: '测试商品',
originPrice: '11321',
price: '213',
vip: true
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
name: '测试商品',
originPrice: '11321',
price: '213',
vip: true
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
name: '测试商品',
originPrice: '11321',
price: '213',
vip: true
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
name: '测试商品',
originPrice: '11321',
price: '213',
vip: true
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
name: '测试商品',
originPrice: '11321',
price: '213',
vip: true
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
name: '测试商品',
originPrice: '11321',
price: '213',
vip: true
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
name: '测试商品',
originPrice: '11321',
price: '213',
vip: true
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/378/h/500',
name: '测试商品',
originPrice: '11321',
price: '213',
vip: true
}]
}, {
vip: true,
url: '/sa/ds',
title: '配饰'
title: '断码区',
navItem: [{
vip: true,
url: '/sa/ds',
title: '今日推荐'
}, {
incompleteSize: true,
url: '/sa/ds',
title: '上装'
}, {
newDiscount: true,
url: '/sa/ds',
title: '裤装'
}, {
vip: true,
url: '/sa/ds',
title: '鞋履'
}, {
vip: true,
url: '/sa/ds',
title: '配饰'
}]
}]
}]
}
};
};
... ... @@ -218,19 +220,14 @@ exports.discount = () => {
return {
module: 'product',
page: 'discount',
saleList:
{
saleBanner:
{
saleList: {
saleBanner: {
bannerHeight: 500,
list: [
{
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
},
{
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
}
]
list: [{
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
}, {
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500'
}]
},
saleTitle: {
... ... @@ -239,24 +236,19 @@ exports.discount = () => {
discount: '5折',
time: '12313'
},
sort: [
{
name: '全部',
number: 10
},
{
name: '上装',
number: 20
},
{
name: '夏装',
number: 5
},
{
name: '衣服',
number: 20
}
],
sort: [{
name: '全部',
number: 10
}, {
name: '上装',
number: 20
}, {
name: '夏装',
number: 5
}, {
name: '衣服',
number: 20
}],
filters: {
checkedConditions: {
... ... @@ -275,57 +267,46 @@ exports.discount = () => {
},
opts: {
sortType: [
{
href: 'www.baidu.com'
},
{
name: '合适'
},
{
hasSortOrient: {
active: {
desc: {
sortType: [{
href: 'www.baidu.com'
}, {
name: '合适'
}, {
hasSortOrient: {
active: {
desc: {
}
}
}
}
]
}]
},
goods: [
{
tags:
{
isNew: true
},
url: 'www.',
thumb: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500',
name: '123123货物',
brand:
{
url: '123',
name: '1231'
},
marketPrice: '231'
goods: [{
tags: {
isNew: true
},
{
tags:
{
isNew: true
},
url: 'www.',
thumb: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500',
name: '123123货物',
brand:
{
url: '123',
name: '1231'
},
marketPrice: '231'
}
]
url: 'www.',
thumb: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500',
name: '123123货物',
brand: {
url: '123',
name: '1231'
},
marketPrice: '231'
}, {
tags: {
isNew: true
},
url: 'www.',
thumb: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500',
name: '123123货物',
brand: {
url: '123',
name: '1231'
},
marketPrice: '231'
}]
}
... ... @@ -341,14 +322,11 @@ exports.other = () => {
saleList: {
saleBanner: {
bannerHeight: 450,
list: [
{
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/16/11/0176c310938764910f7fe5f22c450d3f00.jpg?imageView2/1/w/1150/h/450'
},
{
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/20/10/01360161e0099b26083b163c5158f93409.jpg?imageView2/1/w/1150/h/450'
}
]
list: [{
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/16/11/0176c310938764910f7fe5f22c450d3f00.jpg?imageView2/1/w/1150/h/450'
}, {
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/20/10/01360161e0099b26083b163c5158f93409.jpg?imageView2/1/w/1150/h/450'
}]
},
... ... @@ -359,18 +337,15 @@ exports.other = () => {
leftContent: {
allDiscount: {
list: [
{
list: [{
href: 'www.1',
name: '水货',
num: '123'
},
{
}, {
href: 'www.1',
name: '水货',
num: '123'
},
{
}, {
href: 'www.1',
name: '水货',
num: '123'
... ... @@ -385,91 +360,73 @@ exports.other = () => {
name: '全部商品',
updateNum: '1423'
},
list: [
{
name: '大衣',
num: '123',
childList: [
{
name: '小内衣',
num: '10',
href: 'www'
},
{
name: '中内衣',
num: '10',
href: 'www'
},
{
name: '大内衣',
num: '10',
href: 'www'
}
]
}
]
list: [{
name: '大衣',
num: '123',
childList: [{
name: '小内衣',
num: '10',
href: 'www'
}, {
name: '中内衣',
num: '10',
href: 'www'
}, {
name: '大内衣',
num: '10',
href: 'www'
}]
}]
}
},
filters: {
checkedConditions: {
conditions: [
{
herf: 'www.baidu.com',
name: 'BOYS',
color: 'black'
},
{
herf: 'www.baidu.com',
name: 'Girls',
color: 'black'
}
],
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: '女生'
}
],
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: [
{
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'
}]
},
... ... @@ -477,29 +434,25 @@ exports.other = () => {
opts: {
sortType: [
{
href: 'www.baidu.com',
name: '折扣',
hasSortOrient: {
active: {
desc: {
}
}
}
},
{
href: 'www.baidu.com',
name: '价格',
hasSortOrient: {
sortType: [{
href: 'www.baidu.com',
name: '折扣',
hasSortOrient: {
active: {
desc: {
}
}
},
{
}
}, {
href: 'www.baidu.com',
name: '价格',
hasSortOrient: {
}
],
}, {
}],
countPerPage: 60,
pageCounts: {
href: 'wda',
... ... @@ -509,38 +462,31 @@ exports.other = () => {
end: 20
},
goods: [
{
tags:
{
isNew: true
},
url: 'www.',
thumb: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500',
name: '123123货物',
brand:
{
url: '123',
name: '1231'
},
marketPrice: '231'
goods: [{
tags: {
isNew: true
},
{
tags:
{
isNew: true
},
url: 'www.',
thumb: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500',
name: '123123货物',
brand:
{
url: '123',
name: '1231'
},
marketPrice: '231'
}
],
url: 'www.',
thumb: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500',
name: '123123货物',
brand: {
url: '123',
name: '1231'
},
marketPrice: '231'
}, {
tags: {
isNew: true
},
url: 'www.',
thumb: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/1000/h/500',
name: '123123货物',
brand: {
url: '123',
name: '1231'
},
marketPrice: '231'
}],
totalCount: 1233,
hasNextPage: {
... ... @@ -561,26 +507,21 @@ exports.other = () => {
*/
exports.outletBanner = () => {
return {
center: [
{
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/700/h/500'
},
{
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/700/h/500'
}
],
center: [{
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/700/h/500'
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/700/h/500'
}],
right: [{
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/240/h/103'
},
{
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/240/h/103'
}
],
}],
hotBrands: {
name: '热门品牌',
... ... @@ -591,40 +532,31 @@ exports.outletBanner = () => {
logoBrand: [{
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/50/h/50'
},
{
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/50/h/50'
},
{
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/50/h/50'
},
{
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/50/h/50'
},
{
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/50/h/50'
},
{
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/50/h/50'
},
{
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/50/h/50'
},
{
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/50/h/50'
},
{
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/50/h/50'
},
{
}, {
href: 'www.baidu.com',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/50/h/50'
}]
... ... @@ -637,14 +569,12 @@ exports.outletBanner = () => {
name: 'T-SHIRTS',
herf: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/75',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/75'
},
{
}, {
name: 'T-SHIRTS',
herf: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/75',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/75'
},
{
}, {
name: 'T-SHIRTS',
herf: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/75',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/75'
... ... @@ -653,8 +583,7 @@ exports.outletBanner = () => {
category: [{
href: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/380/h/500',
name: '衬衣'
},
{
}, {
href: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/50/h/50',
name: '衬衣'
}, {
... ... @@ -702,28 +631,23 @@ exports.outletBanner = () => {
href: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/250',
name: '衬衣',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/250'
},
{
}, {
href: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/250',
name: '衬衣',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/250'
},
{
}, {
href: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/250',
name: '衬衣',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/250'
},
{
}, {
href: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/250',
name: '衬衣',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/250'
},
{
}, {
href: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/250',
name: '衬衣',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/250'
},
{
}, {
href: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/250',
name: '衬衣',
img: 'http://img10.static.yhbimg.com/yhb-img01/2016/05/13/19/0144078a008a5dc2be52a6ec65c74c1f2c.jpg?imageView2/1/w/180/h/250'
... ...