首页的显示

进入应用myhome里的urls.py,并输入

1
url(r'^list/',IndexViews.myhome_list,name="myhome_list"),

进入应用myhome/views/IndexViews.py,并增加myhome_list函数

1
2
3
# 列表
def myhome_list(request):
return render(request,'myhome/index/list.html')

进入templates/myhome,创建list.html,并输入

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
{% extends 'myhome/index.html' %}

{% block css %}
<link rel="stylesheet" type="text/css" href="/static/myhome/public/css/list.css">
<link rel="stylesheet" type="text/css" href="/static/myhome/public/css/list-app.css">
{% endblock %}

{% block con %}
<div class="mainlist app-list">
<div class="container">
<!-- 面包屑 导航 -->
<div class="ml-nav hidden-xs hidden-sm">
<ol class="breadcrumb">
<li><a href="./index.html">首页</a></li>
<li><a href="#">全部商品</a></li>
</ol>
</div>
<!-- 面包屑 导航 E-->
<!-- 分类列表 -->
<div class="selector hidden-xs hidden-sm">
<div class="sl-category">
<div class="sl-line-wrap clearfix">
<div class="mod-key">分类:</div>
<div class="mod-value">
<div class="mod-value-list">
<ul>
<li class="">
<a href="javascript:void(0)" title="全部">全部</a>
</li>
<li class="">
<a href="javascript:void(0)" title="魅族系列">魅族系列</a>
</li>
<li class="">
<a href="javascript:void(0)" title="魅蓝系列">魅蓝系列</a>
</li>
</ul>
</div>
</div>
</div>
<div class="sl-line-wrap clearfix">
<div class="mod-key">屏幕尺寸</div>
<div class="mod-value">
<div class="mod-value-list">
<ul>
<li class="">
<a href="javascript:void(0)" title="全部">全部</a>
</li>
<li class="">
<a href="javascript:void(0)" title="5.0尺寸">5.0尺寸</a>
</li>
<li class="">
<a href="javascript:void(0)" title="5.2尺寸">5.2尺寸</a>
</li>
<li class="">
<a href="javascript:void(0)" title="5.5尺寸">5.5尺寸</a>
</li>
<li class="">
<a href="javascript:void(0)" title="5.7尺寸">5.7尺寸</a>
</li>
<li class="">
<a href="javascript:void(0)" title="6.0尺寸">6.0尺寸</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!-- 分类列表 E -->

<!-- 分类导航 -->
<div class="filter clearfix hidden-xs hidden-sm" style="display:block">
<div class="filter-order">
<a class="active" data-tag="0" data-mtype="store_list_sx_1" href="javascript:void(0);">
推荐
</a>
<a data-tag="1" data-mtype="store_list_sx_2" href="javascript:void(0);">
新品
</a>
<a data-tag="2" data-mtype="store_list_sx_3" href="javascript:void(0);">
价格<i class="icon-arrow-down"></i>
</a>
</div>
<div class="filter-condition">
<label class="bs-checkbox" data-mtype="store_list_sx_xz">
<i></i>仅显示有货商品
</label>
</div>
</div>

<!-- 分类导航 E -->

<!-- 商品列表 -->
<div class="goods-list">
<div class="row">
<div class="col-md-3 col-sm-6 col-xs-6">
<div class="gl-item">
<div class="compare-btn-list">
<i class="iconfont icon-duibi compare-duibi"></i>
<span class="hidden-xs hidden-sm">对比</span>
</div>
<div class="gl-item-wrap">
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane active mod-pic" id="list-p1">
<a href="./meilanx.html">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list1.jpg" width="220" height="220">
</a>
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-p2">
<a href="./meilanx.html">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list04.jpg" width="220" height="220">
</a>
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-p3">
<a href="./meilanx.html">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list05.jpg" width="220" height="220">
</a>
</div>
</div>

<!-- Nav tabs -->
<div class="item-slide j-pro-wrap hidden-xs hidden-sm">
<ul class="nav nav-tabs " role="tablist">
<li role="presentation" class="active">
<a href="#list-p1" aria-controls="list-p1" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list01.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
<li role="presentation">
<a href="#list-p2" aria-controls="list-p2" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list02.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
<li role="presentation">
<a href="#list-p3" aria-controls="list-p3" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list03.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
</ul>
</div>
<div class="slide-btn j-modBtns" style="display: none;">
<span class="prev iconfont disabled"></span>
<span class="next iconfont"></span>
</div>

<h2>魅族 PRO 7</h2>
<h3 class="red" title="现货速发 双瞳如小窗 佳景观历历">
现货速发 双瞳如小窗 佳景观历历
</h3>
<dd class="mod-price">
<span>¥</span>
<span class="vm-price">2880</span>
<span class="vm-start">起</span>
</dd>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-6">
<div class="gl-item">
<div class="compare-btn-list" style="display: none;">
<i class="iconfont icon-duibi compare-duibi"></i>
<span class="hidden-xs hidden-sm">对比</span>
</div>
<div class="gl-item-wrap">
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane active mod-pic" id="list-pr1">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list2.jpg" width="220" height="220">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-pr2">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list25.jpg" width="220" height="220">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-pr3">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list26.jpg" width="220" height="220">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-pr4">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list27.jpg" width="220" height="220">
</div>
</div>

<!-- Nav tabs -->
<div class="item-slide j-pro-wrap hidden-xs hidden-sm">
<ul class="nav nav-tabs " role="tablist">
<li role="presentation" class="active">
<a href="#list-pr1" aria-controls="list-pr1" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list21.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
<li role="presentation">
<a href="#list-pr2" aria-controls="list-pr2" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list22.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
<li role="presentation">
<a href="#list-pr3" aria-controls="list-pr3" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list23.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
<li role="presentation">
<a href="#list-pr4" aria-controls="list-pr4" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list24.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
</ul>
</div>
<div class="slide-btn j-modBtns" style="display: none;">
<span class="prev iconfont disabled"></span>
<span class="next iconfont"></span>
</div>
<h2>魅族 PRO 7 Plus</h2>
<h3 class="red" title="现货速发 双瞳如小窗 佳景观历历">
现货速发 双瞳如小窗 佳景观历历
</h3>
<dd class="mod-price">
<span>¥</span>
<span class="vm-price">2880</span>
<span class="vm-start">起</span>
</dd>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-6">
<div class="gl-item">
<div class="compare-btn-list" style="display: none;">
<i class="iconfont icon-duibi compare-duibi"></i>
<span class="hidden-xs hidden-sm">对比</span>
</div>
<div class="gl-item-wrap">
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane active mod-pic" id="list-pn1">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list6.jpg" width="220" height="220">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-pn2">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list65.jpg" width="220" height="220">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-pn3">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list65.jpg" width="220" height="220">
</div>
</div>

<!-- Nav tabs -->
<div class="item-slide j-pro-wrap hidden-xs hidden-sm">
<ul class="nav nav-tabs " role="tablist">
<li role="presentation" class="active">
<a href="#list-pn1" aria-controls="list-pn1" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list61.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
<li role="presentation">
<a href="#list-pn2" aria-controls="list-pn2" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list63.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
<li role="presentation">
<a href="#list-pn3" aria-controls="list-pn3" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list62.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
</ul>
</div>

<div class="slide-btn j-modBtns" style="display: none;">
<span class="prev iconfont disabled"></span>
<span class="next iconfont"></span>
</div>

<h2>魅蓝 Note5</h2>
<h3 class="red" title="现货速发 双瞳如小窗 佳景观历历">
现货速发 双瞳如小窗 佳景观历历
</h3>
<dd class="mod-price">
<span>¥</span>
<span class="vm-price">2880</span>
<span class="vm-start">起</span>
</dd>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-6">
<div class="gl-item">
<div class="compare-btn-list" style="display: none;">
<i class="iconfont icon-duibi compare-duibi"></i>
<span class="hidden-xs hidden-sm">对比</span>
</div>
<div class="gl-item-wrap">
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane active mod-pic" id="list-pe1">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list7.jpg" width="220" height="220">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-pe2">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list74.jpg" width="220" height="220">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-pe3">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list7.jpg" width="220" height="220">
</div>
</div>

<!-- Nav tabs -->
<div class="item-slide j-pro-wrap hidden-xs hidden-sm">
<ul class="nav nav-tabs " role="tablist">
<li role="presentation" class="active">
<a href="#list-pe1" aria-controls="list-pe1" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list71.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
<li role="presentation">
<a href="#list-pe2" aria-controls="list-pe2" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list73.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
<li role="presentation">
<a href="#list-pe3" aria-controls="list-p3" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list72.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
</ul>
</div>
<div class="slide-btn j-modBtns" style="display: none;">
<span class="prev iconfont disabled"></span>
<span class="next iconfont"></span>
</div>

<h2>魅蓝 E2</h2>
<h3 class="red" title="现货速发 双瞳如小窗 佳景观历历">
现货速发 双瞳如小窗 佳景观历历
</h3>
<dd class="mod-price">
<span>¥</span>
<span class="vm-price">2880</span>
<span class="vm-start">起</span>
</dd>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-3 col-sm-6 col-xs-6">
<div class="gl-item">
<div class="compare-btn-list">
<i class="iconfont icon-duibi compare-duibi"></i>
<span class="hidden-xs hidden-sm">对比</span>
</div>
<div class="gl-item-wrap">
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane active mod-pic" id="list-p11">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list1.jpg" width="220" height="220">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-p112">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list04.jpg" width="220" height="220">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-p3">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list05.jpg" width="220" height="220">
</div>
</div>

<!-- Nav tabs -->
<div class="item-slide j-pro-wrap hidden-xs hidden-sm">
<ul class="nav nav-tabs " role="tablist">
<li role="presentation" class="active">
<a href="#list-p11" aria-controls="list-p11" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list01.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
<li role="presentation">
<a href="#list-p12" aria-controls="list-p12" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list02.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
<li role="presentation">
<a href="#list-p13" aria-controls="list-p13" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list03.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
</ul>
</div>

<div class="slide-btn j-modBtns" style="display: none;">
<span class="prev iconfont disabled"></span>
<span class="next iconfont"></span>
</div>

<h2>魅族 PRO 7</h2>
<h3 class="red" title="现货速发 双瞳如小窗 佳景观历历">
现货速发 双瞳如小窗 佳景观历历
</h3>
<dd class="mod-price">
<span>¥</span>
<span class="vm-price">2880</span>
<span class="vm-start">起</span>
</dd>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-6">
<div class="gl-item">
<div class="compare-btn-list">
<i class="iconfont icon-duibi compare-duibi"></i>
<span class="hidden-xs hidden-sm">对比</span>
</div>
<div class="gl-item-wrap">
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane active mod-pic" id="list-pr11">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list2.jpg" width="220" height="220">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-pr12">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list25.jpg" width="220" height="220">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-pr13">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list26.jpg" width="220" height="220">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-pr4">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list27.jpg" width="220" height="220">
</div>
</div>

<!-- Nav tabs -->
<div class="item-slide j-pro-wrap hidden-xs hidden-sm">
<ul class="nav nav-tabs " role="tablist">
<li role="presentation" class="active">
<a href="#list-pr11" aria-controls="list-pr11" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list21.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
<li role="presentation">
<a href="#list-pr12" aria-controls="list-pr12" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list22.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
<li role="presentation">
<a href="#list-pr13" aria-controls="list-pr13" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list23.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
</ul>
</div>

<div class="slide-btn j-modBtns" style="display: none;">
<span class="prev iconfont disabled"></span>
<span class="next iconfont"></span>
</div>

<h2>魅族 PRO 7 Plus</h2>
<h3 class="red" title="现货速发 双瞳如小窗 佳景观历历">
现货速发 双瞳如小窗 佳景观历历
</h3>
<dd class="mod-price">
<span>¥</span>
<span class="vm-price">2880</span>
<span class="vm-start">起</span>
</dd>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-6">
<div class="gl-item">
<div class="compare-btn-list" style="display: none;">
<i class="iconfont icon-duibi compare-duibi"></i>
<span class="hidden-xs hidden-sm">对比</span>
</div>
<div class="gl-item-wrap">
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane active mod-pic" id="list-pn11">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list6.jpg" width="220" height="220">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-pn12">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list65.jpg" width="220" height="220">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-pn13">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list65.jpg" width="220" height="220">
</div>
</div>

<!-- Nav tabs -->
<div class="item-slide j-pro-wrap hidden-xs hidden-sm">
<ul class="nav nav-tabs " role="tablist">
<li role="presentation" class="active">
<a href="#list-pn11" aria-controls="list-pn11" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list61.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
<li role="presentation">
<a href="#list-pn12" aria-controls="list-pn12" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list63.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
<li role="presentation">
<a href="#list-pn13" aria-controls="list-pn13" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list62.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
</ul>
</div>

<div class="slide-btn j-modBtns" style="display: none;">
<span class="prev iconfont disabled"></span>
<span class="next iconfont"></span>
</div>

<h2>魅蓝 Note5</h2>
<h3 class="red" title="现货速发 双瞳如小窗 佳景观历历">
现货速发 双瞳如小窗 佳景观历历
</h3>
<dd class="mod-price">
<span>¥</span>
<span class="vm-price">2880</span>
<span class="vm-start">起</span>
</dd>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 col-xs-6">
<div class="gl-item">
<div class="compare-btn-list" style="display: none;">
<i class="iconfont icon-duibi compare-duibi"></i>
<span class="hidden-xs hidden-sm">对比</span>
</div>
<div class="gl-item-wrap">
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane active mod-pic" id="list-pe1">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list7.jpg" width="220" height="220">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-pe2">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list74.jpg" width="220" height="220">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-pe3">
<img class="lazy j-modProduct" src="/static/myhome/public/img/list7.jpg" width="220" height="220">
</div>
</div>

<!-- Nav tabs -->
<div class="item-slide j-pro-wrap hidden-xs hidden-sm">
<ul class="nav nav-tabs " role="tablist">
<li role="presentation" class="active">
<a href="#list-pe1" aria-controls="list-pe1" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list71.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
<li role="presentation">
<a href="#list-pe2" aria-controls="list-pe2" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list73.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
<li role="presentation">
<a href="#list-pe3" aria-controls="list-p3" role="tab" data-toggle="tab">
<img class="lazy" src="/static/myhome/public/img/list72.jpg" style="display: inline;" width="40" height="40">
</a>
</li>
</ul>
</div>

<div class="slide-btn j-modBtns" style="display: none;">
<span class="prev iconfont disabled"></span>
<span class="next iconfont"></span>
</div>

<h2>魅蓝 E2</h2>
<h3 class="red" title="现货速发 双瞳如小窗 佳景观历历">
现货速发 双瞳如小窗 佳景观历历
</h3>
<dd class="mod-price">
<span>¥</span>
<span class="vm-price">2880</span>
<span class="vm-start">起</span>
</dd>
</div>
</div>
</div>
</div>
</div>
<!-- 商品列表 -->
<!-- 推荐商品 -->
<div class="recommend hidden-xs hidden-sm">
<div class="recommend-hd">
<h2 class="mod-title">为您推荐</h2>
</div>
<div class="recommend-slider">
<div class="flex-viewport" style="overflow: hidden; position: relative;">
<ul class="recommend-slider-wrap" style="width: 1000%; transition-duration: 0s; transform: translate3d(0px, 0px, 0px);">
<li class="rs-item" style="width: 245.6px; margin-right: 5px; float: left; display: block;">
<a class="rs-item-wrap" title="魅蓝 Note5" href="#" target="_blank">
<div class="mod-pic">
<img src="/static/myhome/public/img/list81.jpg" style="display: inline;" width="180" height="180">
</div>
<div class="mod-desc">
<h4 class="vm-title">魅蓝 Note5 </h4>
<h6 class="vm-subtitle" title="6期免息 16G直降100元">6期免息 16G直降100元</h6>
<p class="vm-price">
<span>¥</span><span class="vm-price-text">899</span>
</p>
</div>
<span class="mod-sign" style="background-color: #f0415f;">特惠</span>
</a>
</li>
<li class="rs-item" style="width: 245.6px; margin-right: 5px; float: left; display: block;">
<a class="rs-item-wrap" title="魅蓝 5s" href="#" target="_blank">
<div class="mod-pic">
<img src="/static/myhome/public/img/list82.jpg" style="display: inline;" width="180" height="180">
</div>
<div class="mod-desc">
<h4 class="vm-title">魅蓝 5s </h4>
<h6 class="vm-subtitle" title="32G版限量赠壳膜">32G版限量赠壳膜</h6>
<p class="vm-price">
<span>¥</span><span class="vm-price-text">999</span>
</p>
</div>
</a>
</li>
<li class="rs-item" style="width: 245.6px; margin-right: 5px; float: left; display: block;">
<a class="rs-item-wrap" title="魅族 MX6" href="#" target="_blank">
<div class="mod-pic">
<img src="/static/myhome/public/img/list83.jpg" style="display: inline;" width="180" height="180">
</div>
<div class="mod-desc">
<h4 class="vm-title">魅族 MX6 </h4>
<h6 class="vm-subtitle" title="全金属 拍照旗舰">全金属 拍照旗舰</h6>
<p class="vm-price">
<span>¥</span><span class="vm-price-text">1599</span>
</p>
</div>
</a>
</li>
<li class="rs-item" style="width: 245.6px; margin-right: 5px; float: left; display: block;">
<a class="rs-item-wrap" title="魅蓝 Max" href="#" target="_blank">
<div class="mod-pic">
<img src="/static/myhome/public/img/list84.jpg" style="display: inline;" width="180" height="180">
</div>
<div class="mod-desc">
<h4 class="vm-title">魅蓝 Max </h4>
<h6 class="vm-subtitle" title="大屏长续航 享3期免息">大屏长续航 享3期免息</h6>
<p class="vm-price">
<span>¥</span><span class="vm-price-text">1699</span>
</p>
</div>
</a>
</li>
<li class="rs-item" style="width: 245.6px; margin-right: 5px; float: left; display: block;">
<a class="rs-item-wrap" title="魅蓝 E2" href="#" target="_blank">
<div class="mod-pic">
<img src="/static/myhome/public/img/list85.jpg" style="display: inline;" width="180" height="180">
</div>
<div class="mod-desc">
<h4 class="vm-title">魅蓝 E2 </h4>
<h6 class="vm-subtitle" title="三色现货 购机享3期免息">三色现货 购机享3期免息</h6>
<p class="vm-price">
<span>¥</span><span class="vm-price-text">1299</span>
</p>
</div>
</a>
</li>
</ul>
</div>
</div>
</div>
<!-- 推荐商品 E -->
</div>
</div>
{% endblock %}

商品详情页

进入应用myhome里的urls.py,并输入

1
2
# 详情
url(r'^info/',IndexViews.myhome_info,name="myhome_info"),

进入应用myhome/views/IndexViews.py,并增加myhome_info函数

1
2
3
# 详情
def myhome_info(request):
return render(request,'myhome/index/info.html')

进入templates/myhome,创建index目录,然后在此目录下创建info.html,并输入

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
{% extends 'myhome/index.html' %}

{% block css %}
<link rel="stylesheet" type="text/css" href="/static/myhome/public/css/detail.css">
<link rel="stylesheet" type="text/css" href="/static/myhome/public/css/detail-app.css">
{% endblock %}

{% block con %}
<div class="page-detail app-detail" style="margin-top: 50px;">
<div class="container">
<!-- 产品购买 -->
<div class="row">
<div class="col-md-5 col-sm-12 col-xs-12">
<div class="preview">
<!-- Tab panes -->
<div class="tab-content preview-booth pt10">
<div role="tabpanel" class="tab-pane active mod-pic" id="list-p1">
<img src="/static/myhome/public/img/mlx15.jpg" width="375" height="375" class="sImg">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-p2">
<img src="/static/myhome/public/img/mlx2.jpg" width="375" height="375" class="sImg">
</div>
<div role="tabpanel" class="tab-pane mod-pic" id="list-p3">
<img src="/static/myhome/public/img/mlx3.jpg" width="375" height="375" class="sImg">
</div>
</div>

<!-- Nav tabs -->
<ul class="nav nav-tabs preview-thumb clearfix " role="tablist">
<li role="presentation" class="active">
<a href="#list-p1" aria-controls="list-p1" role="tab" data-toggle="tab">
<img src="/static/myhome/public/img/mlx4.jpg" style="display: inline;" width="75" height="75">
</a>
</li>
<li role="presentation">
<a href="#list-p2" aria-controls="list-p2" role="tab" data-toggle="tab">
<img src="/static/myhome/public/img/mlx5.jpg" style="display: inline;" width="75" height="75">
</a>
</li>
<li role="presentation">
<a href="#list-p3" aria-controls="list-p3" role="tab" data-toggle="tab">
<img src="/static/myhome/public/img/mlx6.jpg" style="display: inline;" width="75" height="75">
</a>
</li>
</ul>

</div>
</div>
<div class="col-md-7 col-sm-12 col-xs-12 pt10">
<div class="property hidden-xs hidden-sm" id="property">
<div class="property-hd">
<h1>魅蓝 X</h1>
<p class="mod-info active">32G直降200元 原价1699元 高清屏安全快充 </p>
</div>
<div class="property-sell">
<dl class="property-sell-price clearfix">
<dt class="vm-metatit" id="J_discountTag">价<span class="s-space"></span><span class="s-space"></span>格:
</dt>
<dd>
<div class="mod-price">
<small>¥</small>
<span id="J_price" class="vm-money">1499.00</span>
</div>
<div class="mod-original" id="J_originalPrice" style="display:none;"></div>
<div class="mod-activity">
</div>
<div class="mod-countdown" id="J_discountCountDown" style="display:none;">
</div>
</dd>
</dl>
<dl class="property-sell-coupon clearfix" id="J_prodPromo" style="">
<dt class="vm-metatit">领<span class="s-space"></span><span class="s-space"></span>券:
</dt>
<dd>
<p id="J_promoInner">
<span class="vm-tag multiple"><em>满699减10.00</em></span></p>
<a class="vm-more" data-mtype="store_de_coupon_more" id="J_promoMore" href="#">更多&gt;</a>
</dd>
</dl>
</div>
<div class="property-sibling">
<dl data-property="型号" class="property-sibling-item">
<dt class="vm-metatit">
型<span class="s-space"></span><span class="s-space"></span>号:
</dt>
<dd class="clearfix">
<a href="#" data-itemid="10478" class="prop" data-mtype="store_de_sib_1">魅蓝 Max</a>
<a href="javascript:;" data-itemid="10636" class="prop selected" data-mtype="store_de_sib_2">魅蓝 X</a>
</dd>
</dl>
</div>
<div class="property-set">
<dl class="property-set-sale" data-property="网络类型">
<dt class="vm-metatit">网络类型:</dt>
<dd class="clearfix">
<a data-value="14:18238" data-mtype="store_de_sp_1_1" href="#" title="全网通公开版" class="selected">
<span>全网通公开版</span>
</a>
</dd>
</dl>
<dl class="property-set-sale" data-property="颜色分类">
<dt class="vm-metatit">颜色分类:</dt>
<dd class="clearfix">
<a data-value="3:22218" class="vm-sale-img selected" data-mtype="store_de_sp_2_1" href="#" title="流光金">
<img src="/static/myhome/public/img/vm4.png" width="32" height="32">
<span>流光金</span>
</a>
<a data-value="3:22219" class="vm-sale-img" data-mtype="store_de_sp_2_2" href="#" title="珠光白">
<img src="/static/myhome/public/img/vm5.png" width="32" height="32">
<span>珠光白</span>
</a>
</dd>
</dl>
<dl class="property-set-sale" data-property="内存容量">
<dt class="vm-metatit">内存容量:</dt>
<dd class="clearfix">
<a data-value="13:37" data-mtype="store_de_sp_3_1" href="#" title="32GB" class="selected">
<span>32GB</span>
</a>
</dd>
</dl>
</div>
<div class="property-service">
<dl class="property-service-item clearfix">
<dt class="vm-metatit">支<span class="s-space"></span><span class="s-space"></span>持:
</dt>
<dd class="mod-bd" id="J_prodService">
<span><i class="glyphicon glyphicon-ok-circle" aria-hidden="true"></i>花呗分期</span>
<span><a href="#" target="_blank"><i class="glyphicon glyphicon-ok-circle" aria-hidden="true"></i>百城速达</a></span>
<span><i class="glyphicon glyphicon-ok-circle" aria-hidden="true"></i>顺丰包邮</span>
<span><i class="glyphicon glyphicon-ok-circle" aria-hidden="true"></i>7天无理由退货</span>
</dd>
</dl>
<dl class="property-service-suda clearfix" id="J_delivery">
<dt class="vm-metatit">配送<span class="s-space"></span>至:</dt>
<dd class="mod-site clearfix">
<div id="site-selector" class="site-selector">
<div class="text">广东 广州市 【请选择】</div>
</div>
</dd>
</dl>
<dl class="property-service-provider clearfix">
<dt class="vm-metatit">服<span class="s-space"></span><span class="s-space"></span>务:
</dt>
<dd class="clearfix">
<span id="J_installmentInfo"></span>
本商品由 魅族 负责发货并提供售后服务
</dd>
</dl>
</div>
<div class="property-huabei clearfix">
<div class="vm-metatit">花呗分期:</div>
<div class="clearfix property-huabei-bd" id="J_huabeiBody">
<a data-value="3" class="prop" data-mtype="store_de_hb_3">
<span class="vm-periods">¥499.67×3期</span>
<span class="vm-rate">免手续费</span>
</a>
<a data-value="6" class="prop" data-mtype="store_de_hb_6">
<span class="vm-periods">¥261.08×6期</span>
<span class="vm-rate">含手续费11.24/期</span>
</a>
<a data-value="12" class="prop" data-mtype="store_de_hb_12">
<span class="vm-periods">¥134.29×12期</span>
<span class="vm-rate">含手续费9.37/期</span>
</a>
</div>
<a href="//hd.meizu.com/rules/huabei.html" target="_blank" class="vm-desc">
<i class="iconfont-detail icon-question"></i>
什么是花呗分期
</a>
</div>
<div class="property-buy">
<p class="vm-message" id="J_message"></p>
<dl class="property-buy-quantity">
<dt class="vm-metatit">数<span class="s-space"></span><span class="s-space"></span>量:</dt>
<dd class="clearfix">
<div class="mod-control">
<a title="减少" href="javascript:;" class="vm-minus disabled">-</a>
<input value="1" id="J_quantity" data-max="5" type="text">
<a title="增加" href="javascript:;" class="vm-plus">+</a>
</div>
</dd>
</dl>
<div class="property-buy-action">
<a data-mtype="store_de_buy" href="javascript:void(0);" id="J_btnBuy" class="btn btn-danger btn-lg mr20">立即购买</a>
<a data-mtype="store_de_cart" href="javascript:void(0);" id="J_btnAddCart" class="btn btn-primary btn-lg hide" style="display:inline-block;"><i></i>加入购物车</a>
<span class="vm-service" id="J_panicBuyingWrap"></span>
</div>
</div>
<div class="prod-addition">
<input id="servertime" value="1503304001935" type="hidden">

<div class="layer-promo" id="layerPromo" style="display:none;">
<div class="layer-promo-hd">
领取优惠券
<a class="vm-close" id="J_promoClose" href="#">

</a>
</div>
<div class="layer-promo-bd">
<dl class="discount-coupon" id="J_discountCoupon">
<dd class="discount-coupon-item clearfix multiple">
<div class="mod-btn">
<a class="vm-btn" data-key="658000850">立即领取</a>
</div>
<div class="mod-bd clearfix">
<p class="mod-bd-value">
<span class="vm-amount"><sup>¥</sup>10.00</span>
<em>(多品券)</em>
</p>
<p class="mod-bd-name">
<span class="vm-name">818专享优惠券</span>
<span class="vm-claim">满699可用</span>
</p>
<p class="mod-bd-info">
<span>2017.08.01 11:40 - 2017.08.22 00:00</span>
<span class="vm-range ellipsis">适用范围:魅族-魅蓝E、魅族-魅蓝MAX、魅族-魅蓝5礼盒版、魅族-魅蓝 X、魅族-魅蓝 note5</span>
<a class="vm-more" target="_blank" href="//lists.meizu.com/page/couponItems/850.html">查看适用&gt;
</a>
</p>
</div>
</dd>
</dl>
</div>
</div>
</div>
</div>
<div id="prod" class="prod">
<div class="prod-info">
<div class="prod-info-header">
<h1 class="vm-title">魅蓝 X</h1>
</div>
<div class="prod-info-price">
<div class="mod-price">
<small>¥ </small><span id="J_price" class="vm-money">1499.00</span>
</div>
<div class="mod-original" id="J_originalPrice" style="display:none">
</div>
<div class="mod-countdown" id="J_discountCountDown" style="display:none">
</div>
</div>
<div class="prod-info-installment" id="J_prodInstallment" style="display: block;">
分期价 ¥<span class="vm-price">134.29</span>x<span class="vm-period">12</span>期<span class="vm-rate"></span>
</div>
<div class="prod-info-message">
<p class="active">32G直降200元 原价1699元 高清屏安全快充 </p>
</div>
</div>
<div class="prod-service" id="J_prodService">
<ul>
<li><i class="glyphicon glyphicon-ok-circle"></i>花呗分期</li>
<li><i class="glyphicon glyphicon-ok-circl"></i>百城速达</li>
<li><i class="glyphicon glyphicon-ok-circle"></i>顺丰包邮</li>
<li><i class="glyphicon glyphicon-ok-circle"></i>7天无理由退货</li>
</ul>
<i class="glyphicon glyphicon-menu-right icon-enter" id="J_prodPromoEnter"></i>
</div>
<div class="prod-selected" id="J_prodSelected">
<label>已选</label>
<p>
<span class="vm-props s-selected" id="J_selectedProps">全网通公开版,流光金,32GB</span>
<span class="vm-quantity" id="J_selectedQuantity" style="transform-origin: 0px 0px 0px; opacity: 1; transform: scale(1, 1);">×1</span>
</p>
<i class="glyphicon glyphicon-menu-right icon-enter" id="J_prodPromoEnter"></i>
</div>
<div class="prod-suda" id="J_prodSuda">
<div class="prod-suda-selector" id="J_sudaSelector">
<label>送至</label>
<span id="J_siteText" class="">广东 广州市</span>
<i class="glyphicon glyphicon-menu-right icon-enter" id="J_prodPromoEnter"></i>
</div>
<div class="prod-suda-info" style="display:none;">
<p class="mod-bd">
<span id="J_siteStatus"></span>
<span id="J_installmentInfo"></span>
</p>
</div>
<div class="prod-suda-supplier">
<p class="mod-bd">
本商品由<em>魅族</em>负责发货并提供售后服务
</p>
</div>
</div>
</div>
</div>
</div>
<!-- 产品购买 -->
</div>
<!-- 漂浮的导航 -->
<div class="detail-tab anim detail-fast-float" id="detailFast">
<div class="fixed-container">
<ul class="clearfix">
<li class="">
<a href="javascript:void(0);">商品详情</a>
</li>
<li class="">
<a href="javascript:void(0);">规格参数</a>
</li>
<li class="current">
<a href="javascript:void(0);">常见问题</a>
</li>
</ul>
<div class="shortcut trans">
<div class="shortcut-con trans">
<div class="mod-buy">
<a data-mtype="store_de_buynow" href="javascript:void(0);" id="J_btnBuyShortcut" class="btn btn-primary btn-lg"><i></i>现在购买</a>
</div>
<div class="mod-total trans">
魅蓝 X<em class="vm-price" id="J_totalPriceShortcut">¥2998.00</em>
<p class="vm-title" id="J_summaryName">全网通公开版 珠光白 32GB</p>
</div>
</div>
</div>
<div class="mod-title">

</div>
</div>
</div><!-- 漂浮的导航 E-->
<!-- 产品详情 -->
<div class="row detail" id="detail">
<div class="detail" style="height:62px;">
<div class="detail-tab" id="detailTabFixed">
<div class="fixed-container">
<ul class="clearfix" style="display: block;">
<li class="current">
<a data-mtype="store_de_xq_1" href="javascript:void(0);">商品详情</a>
</li>
<li class="">
<a data-mtype="store_de_xq_2" href="javascript:void(0);">规格参数</a>
</li>
<li class="">
<a data-mtype="store_de_xq_3" href="javascript:void(0);">常见问题</a>
</li>
</ul>
</div>
</div>
</div>
<div class="detail-content container">
<div class="introduce current" id="introduce">
<img src="/static/myhome/public/img/mlx7.jpg" class="pc-detial-intr">
<img src="/static/myhome/public/img/mlx8.jpg" class="pc-detial-intr">
<img src="/static/myhome/public/img/mlx9.jpg" class="pc-detial-intr">
<img src="/static/myhome/public/img/mlx10.jpg" class="pc-detial-intr">
<img src="/static/myhome/public/img/mlx11.jpg" class="pc-detial-intr">
<img src="/static/myhome/public/img/mlx12.jpg" class="pc-detial-intr">
<img src="/static/myhome/public/img/mlx13.jpg" class="pc-detial-intr">
<img src="/static/myhome/public/img/mlx14.jpg" class="pc-detial-intr">
<img src="/static/myhome/public/img/app/m5.jpg" class="app-detial-intr">
<img src="/static/myhome/public/img/app/m8.jpg" class="app-detial-intr">
<img src="/static/myhome/public/img/app/m9.jpg" class="app-detial-intr">
<img src="/static/myhome/public/img/app/m6.jpg" class="app-detial-intr">
</div>
<!-- 移动端图片 -->

<div class="standard" id="standard">
<table class="standard-table">
<tbody>
<tr class="standard-table-group">
<th colspan="2">
基础信息
</th>
</tr>
<tr>
<th> 品牌 </th>
<td> 魅族 </td>
</tr>
<tr>
<th> 型号 </th>
<td> 魅蓝 X </td>
</tr>
<tr>
<th> 尺寸 </th>
<td> 153.8*76*7.4mm </td>
</tr>
<tr>
<th> 电池容量 </th>
<td> 3200mAh </td>
</tr>
<tr>
<th> 重量 </th>
<td> 165g </td>
</tr>
<tr class="standard-table-group"> <th colspan="2"> 屏幕 </th>
</tr> <tr> <th> 屏幕尺寸 </th> <td> 5.5英寸 </td> </tr>
<tr> <th> 对比度 </th> <td> 1500:1 </td> </tr> <tr>
<th> 分辨率 </th> <td> 1920×1080 </td> </tr> <tr>
<th> PPI </th> <td> 403 </td> </tr> <tr>
<th> 亮度 </th> <td> 450cd/m²(典型值) </td> </tr>
<tr> <th> 显示技术 </th> <td> TDDI </td> </tr>
<tr> <th> 制造工艺 </th> <td> Full Incell </td> </tr>
<tr class="standard-table-group"> <th colspan="2"> 容量 </th>
</tr>
<tr>
<th> 运行内存(RAM) </th>
<td> 3GB(仅限32G版本)、4GB(仅限64G版本) </td>
</tr>
<tr>
<th> 机身内存 </th>
<td> 32GB<br>64GB </td>
</tr>
<tr class="standard-table-group">
<th colspan="2"> 处理器 </th>
</tr>
<tr>
<th> CPU </th>
<td> Helio P20 处理器 </td>
</tr>
<tr>
<th> GPU </th>
<td> ARM Mali-T880 图形处理器 </td>
</tr>
<tr>
<th> CPU频率 </th>
<td> ARM®Cortex®-A53™2.3GHz x4 +<br>ARM®Cortex®-A53™1.6 GHz x 4 </td>
</tr>
<tr class="standard-table-group">
<th colspan="2"> 摄像 </th>
</tr>
<tr>
<th> 前置摄像头 </th>
<td> ƒ/2.0 光圈<br>5 片式镜头<br>ArcSoft®美颜算法 自适应美肤技术<br>Face AE 脸部亮度智能调节<br>500万像素 </td>
</tr>
<tr>
<th> 后置摄像头 </th>
<td> 1200万像素<br>6 片式镜头<br>PDAF 相位对焦 急速抓拍<br>ƒ/2.0 大光圈虚化<br>连拍模式<br>全景模式<br>双色温双闪光灯 补光自然柔和 </td>
</tr>
<tr class="standard-table-group">
<th colspan="2"> mTouch </th>
</tr>
<tr>
<th> 响应速度 </th>
<td> 0.2s </td>
</tr>
<tr>
<th> 识别角度 </th>
<td> 360° </td>
</tr>
<tr>
<th> 指纹组数 </th>
<td> 5组 </td>
</tr>
<tr>
<th> mTouch版本 </th>
<td> 2.1 </td>
</tr>
<tr>
<th> mTouch传感器 </th>
<td> 电容式触摸传感器 </td>
</tr>
<tr class="standard-table-group">
<th colspan="2"> 运营商与制式 </th>
</tr>
<tr>
<th> 全网通 </th>
<td> 全网通(公开版、电信版)<br>移动 4G TD-LTE<br>联通/电信 4G TD/FDD-LTE<br>移动 3G TD-SCDMA<br>联通 3G WCDMA<br>电信 3G EVDO<br>移动/联通 2G GSM<br>电信 2G CDMA </td>
</tr>
<tr class="standard-table-group">
<th colspan="2"> 其他参数 </th>
</tr>
<tr>
<th> WLAN功能 </th>
<td> 支持 5GHz 和 2.4GHz 频段<br>802.11 a/b/g/n 无线网络 </td>
</tr>
<tr>
<th> 蓝牙 </th>
<td> Bluetooth 4.1 </td>
</tr>
<tr class="standard-table-group">
<th colspan="2"> 多媒体 </th>
</tr>
<tr>
<th> 视频 </th>
<td> 支持 MP4、3GP、MOV、MKV、AVI、FLV、MPEG 视频格式 </td>
</tr>
<tr>
<th> 音频 </th>
<td> 支持 FLAC、APE、AAC、MKA、OGG、MIDI、M4A、AMR 音频格式 </td>
</tr>
<tr>
<th> 图片 </th>
<td> 支持 JPEG、PNG、GIF、BMP 图片格式 </td>
</tr>
<tr class="standard-table-group">
<th colspan="2"> 系统与应用 </th>
</tr>
<tr>
<th> 系统版本 </th>
<td> Flyme 5 </td>
</tr>
<tr>
<th> 传感器 </th>
<td> 霍尔磁感应<br>重力感应<br>红外距离感应<br>陀螺仪<br>环境光度感应<br>触摸感应<br>电子罗盘 </td>
</tr>
<tr>
<th> 导航定位 </th>
<td> GPS<br>A-GPS<br>GLONASS<br>电子罗盘 </td>
</tr>
<tr class="standard-table-group">
<th colspan="2"> 操作环境 </th>
</tr>
<tr>
<th> 操作环境 </th>
<td> 工作环境温度&nbsp;-15 至 55°C<br>非工作温度&nbsp;-40 至 70°C<br>相对湿度&nbsp;95%<br>工作高度&nbsp;高达 5000 米 </td>
</tr>
<tr class="standard-table-group">
<th colspan="2"> 包装清单 </th>
</tr>
<tr>
<th> 包装清单 </th>
<td> 主机 x 1<br>电源适配器 x 1<br>保修证书 x 1<br>SIM卡顶针 x 1<br>数据线 x 1 </td>
</tr>
</tbody>
</table>
</div>
<div class="question" id="question">
<div class="question-list hidden-xs hidden-sm">
<h2>热门回答</h2>
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 的屏幕尺寸是多大?有哪几种颜色?机身材质?
</dt>
<dd class="vm-answer">
5.5 英寸,幻影蓝、流光金、曜石黑、珠光白,双 2.5D 玻璃。
</dd>
</dl>
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 是否支持指纹识别?
</dt>
<dd class="vm-answer">
支持 mTouch,响应速度达 0.2s,支持移动指纹支付。
</dd>
</dl>
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 屏幕采用什么技术?
</dt>
<dd class="vm-answer">
夏普 TDDI 屏幕显示触控一体技术,这是迄今为止魅蓝系列最优秀的一块屏幕。
</dd>
</dl>
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 屏幕对比度和亮度多高?
</dt>
<dd class="vm-answer">
1500:1 对比度丨450cd/m²典型值亮度,500cd/m²峰值亮度。
</dd>
</dl>
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 支持的网络有哪些?是否具备 VoLTE 语音通话技术?
</dt>
<dd class="vm-answer">
魅蓝 X 全网通版可支持中国移动、中国联通、中国电信三大运营商网络。不可同时支持两张电信卡。支持 VoLTE 高清通话。
</dd>
</dl>
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 的 CPU 是用什么?
</dt>
<dd class="vm-answer">
全新 Helio P20 16nm 制程低功耗处理器。
</dd>
</dl>
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 的运行内存是多少?
</dt>
<dd class="vm-answer">
搭载 LPDDR4X 高速低功耗大内存。32G 容量版本配备 3G 运行内存,64G 容量版本配备 4G 运行内存。
</dd>
</dl>
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 后置摄像头是多少像素?采用哪颗 CMOS?
</dt>
<dd class="vm-answer">
1200 万像素,索尼 IMX386 CMOS,搭载 PDAF 高速相位对焦,ƒ/2.0 大光圈虚化。
</dd>
</dl>
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 的电池规格?是否支持 mCharge 安全快充?是否配备 Type-C 接口?
</dt>
<dd class="vm-answer">
3200 mAh 典型值,支持mCharge,安全快充峰值功率高达 18W,配备 Type-C接口。
</dd>
</dl>
</div>
<div class="app-question-list">
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 的屏幕尺寸是多大?有哪几种颜色?机身材质?
</dt>
<dd class="vm-answer">
5.5 英寸,幻影蓝、流光金、曜石黑、珠光白,双 2.5D 玻璃。
</dd>
</dl>
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 是否支持指纹识别?
</dt>
<dd class="vm-answer">
支持 mTouch,响应速度达 0.2s,支持移动指纹支付。
</dd>
</dl>
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 屏幕采用什么技术?
</dt>
<dd class="vm-answer">
夏普 TDDI 屏幕显示触控一体技术,这是迄今为止魅蓝系列最优秀的一块屏幕。
</dd>
</dl>
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 屏幕对比度和亮度多高?
</dt>
<dd class="vm-answer">
1500:1 对比度丨450cd/m²典型值亮度,500cd/m²峰值亮度。
</dd>
</dl>
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 支持的网络有哪些?是否具备 VoLTE 语音通话技术?
</dt>
<dd class="vm-answer">
魅蓝 X 全网通版可支持中国移动、中国联通、中国电信三大运营商网络。不可同时支持两张电信卡。支持 VoLTE 高清通话。
</dd>
</dl>
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 的 CPU 是用什么?
</dt>
<dd class="vm-answer">
全新 Helio P20 16nm 制程低功耗处理器。
</dd>
</dl>
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 的运行内存是多少?
</dt>
<dd class="vm-answer">
搭载 LPDDR4X 高速低功耗大内存。32G 容量版本配备 3G 运行内存,64G 容量版本配备 4G 运行内存。
</dd>
</dl>
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 后置摄像头是多少像素?采用哪颗 CMOS?
</dt>
<dd class="vm-answer">
1200 万像素,索尼 IMX386 CMOS,搭载 PDAF 高速相位对焦,ƒ/2.0 大光圈虚化。
</dd>
</dl>
<dl class="mod-item">
<dt class="vm-question">
魅蓝 X 的电池规格?是否支持 mCharge 安全快充?是否配备 Type-C 接口?
</dt>
<dd class="vm-answer">
3200 mAh 典型值,支持mCharge,安全快充峰值功率高达 18W,配备 Type-C接口。
</dd>
</dl>
</div>
</div>
</div>
</div><!-- 产品详情 E-->
</div>
{% endblock %}