web good data structure
Showing
1 changed file
with
35 additions
and
0 deletions
@@ -4,6 +4,41 @@ | @@ -4,6 +4,41 @@ | ||
4 | 4 | ||
5 | ### 商品 | 5 | ### 商品 |
6 | 6 | ||
7 | + { | ||
8 | + skn: 1, | ||
9 | + thumb: 'path/to/goods/img', | ||
10 | + url: '', | ||
11 | + name: '', | ||
12 | + salePrice: 500, //售价 | ||
13 | + marketPrice: 1000, //市场价 | ||
14 | + tags: [ | ||
15 | + { | ||
16 | + isNew: true //NEW | ||
17 | + }, | ||
18 | + { | ||
19 | + isSale: true //SALE | ||
20 | + }, | ||
21 | + { | ||
22 | + isLimit: false //限量商品 | ||
23 | + }, | ||
24 | + { | ||
25 | + isNewFestival: true //新品节 | ||
26 | + }, | ||
27 | + { | ||
28 | + isReNew: true //再到着 | ||
29 | + }, | ||
30 | + { | ||
31 | + isYearEndPromotion: true //年终大促 | ||
32 | + }, | ||
33 | + { | ||
34 | + isYearMidPromotion: true // 年中大促 | ||
35 | + } | ||
36 | + ], | ||
37 | + isFew: true, //即将售罄 | ||
38 | + showColBtn: true, //是否显示收藏按钮 | ||
39 | + coled: true //已收藏 | ||
40 | + } | ||
41 | + | ||
7 | ### 路径导航 | 42 | ### 路径导航 |
8 | 43 | ||
9 | { | 44 | { |
-
Please register or login to post a comment