Skip to content

Instantly share code, notes, and snippets.

@zhengjunwei
Last active August 29, 2015 14:06
Show Gist options
  • Save zhengjunwei/c8d8299f409c41f2b695 to your computer and use it in GitHub Desktop.
Save zhengjunwei/c8d8299f409c41f2b695 to your computer and use it in GitHub Desktop.
数据接口
var jsonData = [
{
leftAreaImg:{
src:"###",//左侧大图地址
href:"###"//左侧大图链接
},
rightAreaObj:[
{
ongoing_right_leftImgSrc:"###",//右侧每个小块图片地址
price:160,//右侧每个小块价格
prePrice:260,//右侧每个小块原价
title:"###",//右侧每个小块标题
href:"###"//右侧每个小块链接
},
{
ongoing_right_leftImgSrc: "###",
price: 160,
prePrice: 260,
title: "###"
},
{
ongoing_right_leftImgSrc: "###",
price: 160,
prePrice: 260,
title: "###"
}
]
},
{
leftAreaImg:{
src:"###",//左侧大图地址
href:"###"//左侧大图链接
},
rightAreaObj:[
{
ongoing_right_leftImgSrc:"###",//右侧每个小块图片地址
price:160,//右侧每个小块价格
prePrice:260,//右侧每个小块原价
title:"###",//右侧每个小块标题
href:"###"//右侧每个小块链接
},
{
ongoing_right_leftImgSrc: "###",
price: 160,
prePrice: 260,
title: "###"
},
{
ongoing_right_leftImgSrc: "###",
price: 160,
prePrice: 260,
title: "###"
}
]
}
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment