index.phtml
2.56 KB
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
{{> layout/header}}
<div class="home-page yoho-page">
{{# boy}}
<div class="slide-container">
{{#if bigSlide}}
<div class="big-slide">
<ul>
{{# bigSlide}}
<li>
<a href="{{href}}">
<img src="{{img}}" alt="">
</a>
</li>
{{/ bigSlide}}
</ul>
<div class="slide-switch">
<a class="prev" href="javascript:;">
<span class="iconfont"></span>
</a>
<a class="next" href="javascript:;">
<span class="iconfont"></span>
</a>
</div>
</div>
{{/if}}
{{#if smallSlide}}
<div class="small-slide">
<ul class="clearfix">
{{# smallSlide}}
<li>
<a href="{{href}}"></a>
<img src="{{img}}" alt="">
</li>
{{/ smallSlide}}
</ul>
</div>
{{/if}}
</div>
{{# newReport}}
<div class="new-report clearfix">
{{> index/floor_header}}
<ul class="report-list clearfix">
{{# list}}
{{#unless @last}}
<li>
<a href="{{href}}">
<img src="{{img}}" alt="">
</a>
</li>
{{/unless}}
{{/ list}}
</ul>
{{# list}}
{{#if @last}}
<div class="last-item">
<a href="{{href}}">
<img src="{{img}}" alt="">
</a>
</div>
{{/if}}
{{/ list}}
</div>
{{/ newReport}}
{{# preferenceBrand}}
<div class="preference-brand">
{{> index/floor_header}}
<div class="img-brand">
<ul class="img-list clearfix">
{{# imgBrand}}
<li class="img-item">
<a href="{{href}}">
<img src="{{img}}" alt="">
</a>
</li>
{{/ imgBrand}}
</ul>
<div class="img-brand-switch">
<a class="prev" href="javascript:;">
<span class="iconfont"></span>
</a>
<a class="next" href="javascript:;">
<span class="iconfont"></span>
</a>
</div>
</div>
<div class="logo-brand">
<ul class="clearfix">
{{# logoBrand}}
{{#if switch}}
<li class="logo-brand-switch">
<a class="prev iconfont" href="javascript:;"></a>
<a class="next iconfont" href="javascript:;"></a>
</li>
{{else}}
{{#if more}}
<li class="brand-more">
<a href="{{href}}">MORE ></a>
</li>
{{else}}
<li>
<a href="{{href}}">
<img src="{{img}}" alt="">
</a>
</li>
{{/if}}
{{/if}}
{{/ logoBrand}}
</ul>
</div>
</div>
{{/ preferenceBrand}}
{{/ boy}}
</div>
{{> layout/footer}}