-
Notifications
You must be signed in to change notification settings - Fork 0
/
json.js
786 lines (776 loc) · 12 KB
/
json.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
/* 轮播图 */
const carouselList = [
{
src:"/static/b1.png"
},
{
src:"/static/b2.png"
}
]
const cateList = [
{
src:"/static/typeicon1.png",
text:"今日特惠"
},
{
src:"/static/typeicon2.png",
text:"全球购"
},
{
src:"/static/typeicon3.png",
text:"充值中心"
},
{
src:"/static/typeicon4.png",
text:"我的积分"
},
{
src:"/static/typeicon5.png",
text:"签到"
},
{
src:"/static/typeicon6.png",
text:"优惠券"
},
{
src:"/static/typeicon7.png",
text:"闪电购"
},
{
src:"/static/typeicon8.png",
text:"发现"
},
]
/* 热点讯息 */
const hotMessage = [
{
text:'商城开业狂欢!四重大礼等你来抢!'
},
{
text:'新用户注册有奖'
}
]
/* 限时抢购 */
const flashSaleList = [
{
src:"/static/timebuy1.png",
text:"超值特惠电饭煲",
id:1
},
{
src:"/static/timebuy2.png",
text:"达芙妮包包",
id:2
},
{
src:"/static/timebuy3.png",
text:"特百惠优质水杯",
id:3
},
{
src:"/static/timebuy4.png",
text:"易捷手机充电宝",
id:4
},
]
/* hotmarkets */
const hotMarkets = [
{
src:"/static/1.png"
},
{
src:"/static/2.png"
},
{
src:"/static/3.png"
},
{
src:"/static/4.png"
},
{
src:"/static/5.png"
},
{
src:"/static/6.png"
},
]
/* 品牌特卖 */
const hotBrands = [
{
src:"/static/7.png"
},
{
src:"/static/8.png"
},
{
src:"/static/9.png"
},
{
src:"/static/10.png"
},
{
src:"/static/11.png"
},
]
const hotTopic = [
{
src:"/static/12.png"
},
{
src:"/static/13.png"
},
{
src:"/static/14.png"
},
{
src:"/static/15.png"
},
{
src:"/static/16.png"
},
{
src:"/static/17.png"
},
{
src:"/static/18.png"
},
{
src:"/static/19.png"
},
{
src:"/static/20.png"
},
]
const likeList = [
{
title:"三利 毛巾家纺纯棉吸水 提缎面巾两条装",
price:"29.9",
originPrice:"49.9",
id:1,
src:"/static/21.png",
},
{
title:"韩国代购正品超爆款",
price:"198.0",
originPrice:"286.0",
src:"/static/22.png",
id:2
},
{
title:"三利 毛巾家纺纯棉吸水 提缎面巾两条装",
price:"29.9",
originPrice:"49.9",
src:"/static/23.png",
id:3
},
{
title:"韩国代购正品超爆款 休闲迷彩磨砂真皮运动鞋女单鞋",
price:"198.0",
originPrice:"286.0",
src:"/static/24.png",
id:4
},
{
title:"三利 毛巾家纺纯棉吸水 提缎面巾两条装",
price:"29.9",
originPrice:"49.9",
src:"/static/25.png",
id:5
},
{
title:"韩国代购正品超爆款 休闲迷彩磨砂真皮运动鞋女单鞋",
price:"198.0",
originPrice:"286.0",
src:"/static/26.png",
id:6
},
{
title:"三利 毛巾家纺纯棉吸水 提缎面巾两条装",
price:"29.9",
originPrice:"49.9",
src:"/static/27.png",
id:7
},
{
title:"韩国代购正品超爆款 休闲迷彩磨砂真皮运动鞋女单鞋",
price:"198.0",
originPrice:"286.0",
src:"/static/28.png",
id:8
},
]
const categoryList = [
{
pid:1,
title:"热门推荐"
},
{
pid:2,
title:"潮流女装"
},
{
pid:3,
title:"品牌男装"
},
{
pid:4,
title:"市场潮靴"
},
{
pid:5,
title:"箱包配件"
},
{
pid:6,
title:"家用电器"
},
{
pid:7,
title:"家居家纺"
},
{
pid:8,
title:"电脑办公"
},
{
pid:9,
title:"手机数码"
},
{
pid:10,
title:"母婴用品"
},
{
pid:11,
title:"珠宝配饰"
},
{
pid:12,
title:"日用百货"
},
{
pid:13,
title:"家居日用"
},
]
const categoryItemList = [
{
pid:3,
title:"品牌男装",
items:[
{
name:"羽绒服",
src:"/static/cate/4.jpg"
},
{
name:"羽绒服",
src:"/static/cate/4.jpg"
},
{
name:"羽绒服",
src:"/static/cate/4.jpg"
},
{
name:"羽绒服",
src:"/static/cate/4.jpg"
},
{
name:"羽绒服",
src:"/static/cate/4.jpg"
},
{
name:"羽绒服",
src:"/static/cate/4.jpg"
},
{
name:"羽绒服",
src:"/static/cate/4.jpg"
},
{
name:"羽绒服",
src:"/static/cate/4.jpg"
},
{
name:"羽绒服",
src:"/static/cate/4.jpg"
},
]
},
{
pid:8,
title:"电脑办公",
items:[
{
name:"电脑",
src:"/static/cate/5.jpg"
},
{
name:"电脑",
src:"/static/cate/6.jpg"
},
{
name:"电脑",
src:"/static/cate/7.jpg"
},
{
name:"电脑",
src:"/static/cate/8.jpg"
},
{
name:"电脑",
src:"/static/cate/9.jpg"
},
{
name:"电脑",
src:"/static/cate/10.jpg"
},
{
name:"电脑",
src:"/static/cate/11.jpg"
},
{
name:"电脑",
src:"/static/cate/12.jpg"
},
{
name:"电脑",
src:"/static/cate/13.jpg"
},
]
},
{
pid:5,
title:"箱包配件",
items:[
{
name:"旅行箱",
src:"/static/cate/11.jpg"
},
{
name:"旅行箱",
src:"/static/cate/11.jpg"
},
{
name:"旅行箱",
src:"/static/cate/11.jpg"
},
{
name:"旅行箱",
src:"/static/cate/11.jpg"
},
{
name:"手提包",
src:"/static/cate/13.jpg"
},
{
name:"手提包",
src:"/static/cate/13.jpg"
},
{
name:"手提包",
src:"/static/cate/13.jpg"
},
{
name:"手提包",
src:"/static/cate/13.jpg"
},
{
name:"手提包",
src:"/static/cate/13.jpg"
},
]
},
{
pid:1,
title:"热门推荐",
items:[
{
name:"毛呢外套",
src:"/static/cate/2.jpg"
},
{
name:"毛衣",
src:"/static/cate/3.jpg"
},
{
name:"羽绒服",
src:"/static/cate/4.jpg"
},
{
name:"奶粉",
src:"/static/cate/5.jpg"
},
{
name:"坚果炒货",
src:"/static/cate/6.jpg"
},
{
name:"手机",
src:"/static/cate/7.jpg"
},
{
name:"休闲零食",
src:"/static/cate/8.jpg"
},
{
name:"葡萄酒",
src:"/static/cate/9.jpg"
},
{
name:"雪地靴",
src:"/static/cate/10.jpg"
},
{
name:"拉杆箱",
src:"/static/cate/11.jpg"
},
{
name:"粉底液",
src:"/static/cate/12.jpg"
},
{
name:"真皮包",
src:"/static/cate/13.jpg"
},
]
},
{
pid:2,
title:"潮流女装",
items:[
{
name:"毛呢外套",
src:"/static/cate/2.jpg"
},
{
name:"毛衣",
src:"/static/cate/3.jpg"
},
{
name:"羽绒服",
src:"/static/cate/4.jpg"
},
{
name:"毛呢外套",
src:"/static/cate/2.jpg"
},
{
name:"毛衣",
src:"/static/cate/3.jpg"
},
{
name:"羽绒服",
src:"/static/cate/4.jpg"
},{
name:"毛呢外套",
src:"/static/cate/2.jpg"
},
{
name:"毛衣",
src:"/static/cate/3.jpg"
},
{
name:"羽绒服",
src:"/static/cate/4.jpg"
},
]
},
{
pid:4,
title:"时尚潮靴",
items:[
{
name:"雪地靴",
src:"/static/cate/10.jpg"
},
]
},
{
pid:6,
title:"家用电器",
items:[
{
name:"手机",
src:"/static/cate/7.jpg"
},
{
name:"手机",
src:"/static/cate/7.jpg"
},{
name:"手机",
src:"/static/cate/7.jpg"
},{
name:"手机",
src:"/static/cate/7.jpg"
},
]
},
{
pid:7,
title:"家居家纺",
items:[
{
name:"家居服",
src:"/static/cate/3.jpg"
},
{
name:"家居服",
src:"/static/cate/3.jpg"
},
{
name:"家居服",
src:"/static/cate/3.jpg"
},
{
name:"家居服",
src:"/static/cate/3.jpg"
},
{
name:"家居服",
src:"/static/cate/3.jpg"
},
]
},
{
pid:9,
title:"手机数码",
items:[
{
name:"手机",
src:"/static/cate/7.jpg"
},
{
name:"手机",
src:"/static/cate/7.jpg"
},
]
},
{
pid:10,
title:"母婴用品",
items:[
{
name:"奶粉",
src:"/static/cate/5.jpg"
},
{
name:"奶粉",
src:"/static/cate/5.jpg"
},{
name:"奶粉",
src:"/static/cate/5.jpg"
},{
name:"奶粉",
src:"/static/cate/5.jpg"
},
]
},
{
pid:11,
title:"珠宝配饰",
items:[
{
name:"真皮包",
src:"/static/cate/13.jpg"
},
{
name:"真皮包",
src:"/static/cate/13.jpg"
},{
name:"真皮包",
src:"/static/cate/13.jpg"
},{
name:"真皮包",
src:"/static/cate/13.jpg"
},{
name:"真皮包",
src:"/static/cate/13.jpg"
},{
name:"真皮包",
src:"/static/cate/13.jpg"
},{
name:"真皮包",
src:"/static/cate/13.jpg"
},
]
},
{
pid:12,
title:"日用百货",
items:[
{
name:"葡萄酒",
src:"/static/cate/9.jpg"
},
{
name:"坚果炒货",
src:"/static/cate/6.jpg"
},
{
name:"休闲食品",
src:"/static/cate/8.jpg"
},
]
},
{
pid:13,
title:"家居日用",
items:[
{
name:"粉底液",
src:"/static/cate/12.jpg"
},
{
name:"皮包",
src:"/static/cate/13.jpg"
},
]
},
]
const goodsInfo = {
title:"Pristian zouboutin 2015秋季新款羽毛蕾丝抹胸长拖尾镶钻拉链婚纱",
src:"/static/goods/xq3.png",
origin:889,
price:489,
sales:400,
comment:[
{
user:"喵星人",
content:"收到了,费了老大劲才穿上,但是非常合身,效果特别好,家里人都说很美,太棒了,五分好评。",
detail:"2015-12-28 颜色:白色 尺码:S",
userAvatar:"/static/goods/tx.png"
},
],
shop:{
src:"/static/goods/dp1.png",
id:1,
allSell:688,
allCollect:257,
goodsNum:87,
desScore:"4.7",
quaScore:"4.7",
priceScore:"4.7",
name:"天使婚纱礼服馆"
},
relates:[
{
src:"/static/goods/xq2.png",
price:"88.00"
},
{
src:"/static/goods/xq2.png",
price:"88.00"
},
{
src:"/static/goods/xq2.png",
price:"88.00"
},
{
src:"/static/goods/xq2.png",
price:"88.00"
},
{
src:"/static/goods/xq2.png",
price:"88.00"
},
],
picDetail:"/static/goods/xq1.png",
goodsDetail:[
{
name:"袖长",
des:"七分袖"
},
{
name:"销售渠道",
des:"纯电商"
},
{
name:"货号",
des:"185234"
},
{
name:"品牌",
des:"皇宫婚纱"
},
{
name:"礼服裙摆",
des:"拖尾"
},
{
name:"颜色分类",
des:"白色"
},
{
name:"尺码",
des:"X,L,XL,XXL,量身定做"
},
{
name:"上市年份",
des:"2015年冬季"
},
],
hotSales:[
{
src:"/static/goods/dp3.png",
title:"三利 毛巾家纺纯棉吸水 提缎面巾两条装",
origin:"49.9",
price:"29.9",
id:1
},
{
src:"/static/goods/dp4.png",
title:"韩国代购正品超爆款 ",
origin:"298.0",
price:"198.0",
id:2
},
{
src:"/static/goods/dp5.png",
title:"三利 毛巾家纺纯棉吸水 提缎面巾两条装",
origin:"49.9",
price:"29.9",
id:3
},
{
src:"/static/goods/dp6.png",
title:"韩国代购正品超爆款 休闲迷彩磨砂真皮运动鞋女单鞋",
origin:"298.0",
price:"198.0",
id:4
},
{
src:"/static/goods/dp7.png",
title:"三利 毛巾家纺纯棉吸水 提缎面巾两条装",
origin:"49.9",
price:"29.9",
id:5
},
{
src:"/static/goods/dp8.png",
title:"韩国代购正品超爆款 休闲迷彩磨砂真皮运动鞋女单鞋",
origin:"298.0",
price:"198.0",
id:6
},
]
}
export default {
carouselList,
// cartList,
// detailData,
// lazyLoadList,
// userInfo,
// shareList,
// goodsList,
// orderList,
cateList,
hotMessage,
flashSaleList,
hotMarkets,
hotBrands,
hotTopic,
likeList,
categoryList,
categoryItemList,
goodsInfo
}