Showing
6 changed files
with
452 additions
and
3 deletions
static/sass/category/_brand.css
0 → 100644
1 | +.brand-page { | ||
2 | + .re-pos-search { | ||
3 | + top: 170px !important; | ||
4 | + } | ||
5 | + .hide-when-loading { | ||
6 | + display: none; | ||
7 | + } | ||
8 | + .genderNav { | ||
9 | + display: block; | ||
10 | + width: 100%; | ||
11 | + height: 80px; | ||
12 | + line-height: 80px; | ||
13 | + overflow: hidden; | ||
14 | + color: #aeaeae; | ||
15 | + z-index: 3; | ||
16 | + position: fixed; | ||
17 | + top: 90px; | ||
18 | + border-bottom: 1px solid #e1e1e1; | ||
19 | + background-color: #fff; | ||
20 | + | ||
21 | + ul{ | ||
22 | + width: 100%; | ||
23 | + height: 90%; | ||
24 | + overflow: hidden; | ||
25 | + li{ | ||
26 | + width: 25%; | ||
27 | + height: 100%; | ||
28 | + overflow: hidden; | ||
29 | + float: left; | ||
30 | + text-align: center; | ||
31 | + position: relative; | ||
32 | + font-size: 28px; | ||
33 | + i{ | ||
34 | + width: 100%; | ||
35 | + height: 40%; | ||
36 | + overflow: hidden; | ||
37 | + display: block; | ||
38 | + } | ||
39 | + span:not(.split-border){ | ||
40 | + width: 100%; | ||
41 | + height: auto; | ||
42 | + overflow: hidden; | ||
43 | + display: block; | ||
44 | + } | ||
45 | + | ||
46 | + .split-border { | ||
47 | + display: inline-block; | ||
48 | + width: 2px; | ||
49 | + height: 1rem; | ||
50 | + background-color: #e1e1e1; | ||
51 | + position: absolute; | ||
52 | + top: 30%; | ||
53 | + right: 0; | ||
54 | + } | ||
55 | + } | ||
56 | + | ||
57 | + li:last-child { | ||
58 | + .split-border { | ||
59 | + display: none; | ||
60 | + } | ||
61 | + } | ||
62 | + | ||
63 | + li.active { | ||
64 | + color: #444; | ||
65 | + } | ||
66 | + } | ||
67 | + } | ||
68 | + .newbrand-search { | ||
69 | + width: 93.75%; | ||
70 | + height: 60px; | ||
71 | + padding: 14px 3.125%; | ||
72 | + background-color: #f8f8f8; | ||
73 | + left: 0; | ||
74 | + top: 90px; | ||
75 | + position: fixed; | ||
76 | + z-index: 2; | ||
77 | + | ||
78 | + .search-box { | ||
79 | + position: relative; | ||
80 | + width: 500px; | ||
81 | + height: 60px; | ||
82 | + background-color: #FFF; | ||
83 | + border-radius: 30px; | ||
84 | + padding: 0 32px 0 52px; | ||
85 | + | ||
86 | + a { | ||
87 | + width: 100%; | ||
88 | + height: 60px; | ||
89 | + border: 0; | ||
90 | + display: block; | ||
91 | + span { | ||
92 | + line-height: 60px; | ||
93 | + color: #bdbdbd; | ||
94 | + font-size: 1.2em; | ||
95 | + padding-left: 18px; | ||
96 | + } | ||
97 | + } | ||
98 | + | ||
99 | + .search-icon { | ||
100 | + position: absolute; | ||
101 | + font-size: 24px; | ||
102 | + top: 0; | ||
103 | + left: 24px; | ||
104 | + line-height: 60px; | ||
105 | + color: #bdbdbd; | ||
106 | + } | ||
107 | + | ||
108 | + .search-input { | ||
109 | + border: none; | ||
110 | + width: 95%; | ||
111 | + height: 60px; | ||
112 | + font-size: 1.2em; | ||
113 | + padding: 0 10px; | ||
114 | + } | ||
115 | + | ||
116 | + .search-action { | ||
117 | + display: none; | ||
118 | + position: absolute; | ||
119 | + top: 0; | ||
120 | + right: -74px; | ||
121 | + font-size: 32px; | ||
122 | + line-height: 60px; | ||
123 | + color: #666; | ||
124 | + } | ||
125 | + | ||
126 | + .cancel-btn { | ||
127 | + display: inline; | ||
128 | + font-size: 28px; | ||
129 | + vertical-align: middle; | ||
130 | + color: #666; | ||
131 | + } | ||
132 | + | ||
133 | + .clear-text { | ||
134 | + margin-right: 20px; | ||
135 | + } | ||
136 | + } | ||
137 | + } | ||
138 | + | ||
139 | + .banner-top { | ||
140 | + padding-top: 258px; | ||
141 | + background-color:#f8f8f8; | ||
142 | + } | ||
143 | + | ||
144 | + .hot-brands { | ||
145 | + padding-top: 178px; | ||
146 | + | ||
147 | + .floor-header { | ||
148 | + padding: 0; | ||
149 | + } | ||
150 | + | ||
151 | + .brands-swiper { | ||
152 | + border-top: 0; | ||
153 | + } | ||
154 | + } | ||
155 | + | ||
156 | + .hot-brand { | ||
157 | + margin: (30px) 0 0; | ||
158 | + | ||
159 | + .hot-brand-list { | ||
160 | + background: #fff; | ||
161 | + | ||
162 | + li { | ||
163 | + float: left; | ||
164 | + width: 158px; | ||
165 | + height: 158px; | ||
166 | + | ||
167 | + .img-box { | ||
168 | + display: table-cell; | ||
169 | + vertical-align: middle; | ||
170 | + text-align: center; | ||
171 | + width: 158px; | ||
172 | + height: 158px; | ||
173 | + } | ||
174 | + | ||
175 | + img { | ||
176 | + max-width: 140px; | ||
177 | + max-height: 140px; | ||
178 | + } | ||
179 | + } | ||
180 | + } | ||
181 | + } | ||
182 | + | ||
183 | + .brand-list { | ||
184 | + width: 100%; | ||
185 | + | ||
186 | + .title-bar { | ||
187 | + width: 100%; | ||
188 | + background: #eeeeee; | ||
189 | + color: #999999; | ||
190 | + position: relative; | ||
191 | + | ||
192 | + h2 { | ||
193 | + padding: 0 20px; | ||
194 | + height: 50px; | ||
195 | + line-height: 50px; | ||
196 | + font-size: 34px; | ||
197 | + border-top: 1px solid #e6e6e6; | ||
198 | + background-color: #f4f4f4; | ||
199 | + } | ||
200 | + } | ||
201 | + | ||
202 | + p { | ||
203 | + cursor: pointer; | ||
204 | + padding: 0 20px; | ||
205 | + | ||
206 | + a { | ||
207 | + display: block; | ||
208 | + height: 76px; | ||
209 | + line-height: 76px; | ||
210 | + font-size: 28px; | ||
211 | + border-bottom: 1px solid #f3f3f3; | ||
212 | + border-top: 1px solid #f9f9f9; | ||
213 | + | ||
214 | + i { | ||
215 | + display: inline-block; | ||
216 | + margin-top: -4px; | ||
217 | + width: 108px; | ||
218 | + height: 42px; | ||
219 | + text-align: center; | ||
220 | + vertical-align: middle; | ||
221 | + font-size: 28px; | ||
222 | + line-height: 44px; | ||
223 | + color: #fff; | ||
224 | + border-radius: 50px; | ||
225 | + @include scale(.8) | ||
226 | + } | ||
227 | + | ||
228 | + .icon-hot { | ||
229 | + background: #ff0000; | ||
230 | + } | ||
231 | + | ||
232 | + .icon-new { | ||
233 | + background: #86c048; | ||
234 | + } | ||
235 | + } | ||
236 | + } | ||
237 | + } | ||
238 | + | ||
239 | + .right-bar { | ||
240 | + width: 60px; | ||
241 | + height: 75%; | ||
242 | + top: 20%; | ||
243 | + overflow: auto; | ||
244 | + position: fixed; | ||
245 | + right: 2px; | ||
246 | + border-radius: 12px; | ||
247 | + background: rgba(0, 0, 0, .8); | ||
248 | + z-index: 2; | ||
249 | + display: none; | ||
250 | + | ||
251 | + b { | ||
252 | + height: 36px; | ||
253 | + line-height: 36px; | ||
254 | + text-align: center; | ||
255 | + display: block; | ||
256 | + color: #999999; | ||
257 | + font-weight: bold; | ||
258 | + } | ||
259 | + } | ||
260 | + .right-bar::-webkit-scrollbar { | ||
261 | + display: none; | ||
262 | + } | ||
263 | + | ||
264 | + .con { | ||
265 | + padding-top: 10px; | ||
266 | + } | ||
267 | + | ||
268 | + .search-result { | ||
269 | + padding-top: 176px; | ||
270 | + } | ||
271 | +} |
static/sass/category/_hot-category.css
0 → 100644
1 | +.hot-category { | ||
2 | + margin: 30px 0 0; | ||
3 | + border-top: 1px solid #e0e0e0; | ||
4 | + .category-banner { | ||
5 | + height: 198px; | ||
6 | + img { | ||
7 | + display: block; | ||
8 | + width: 100%; | ||
9 | + height: 100%; | ||
10 | + } | ||
11 | + } | ||
12 | + .category-list { | ||
13 | + background: #fff; | ||
14 | + border-top: 1px solid #e0e0e0; | ||
15 | + li { | ||
16 | + float: left; | ||
17 | + width: 158px; | ||
18 | + height: 174px; | ||
19 | + border-bottom: 1px solid #e0e0e0; | ||
20 | + border-left: 1px solid #e0e0e0; | ||
21 | + .img-box { | ||
22 | + width: 100%; | ||
23 | + height: 138px; | ||
24 | + text-align: center; | ||
25 | + vertical-align: middle; | ||
26 | + img { | ||
27 | + max-width: 100%; | ||
28 | + max-height: 100%; | ||
29 | + vertical-align: middle; | ||
30 | + } | ||
31 | + } | ||
32 | + | ||
33 | + } | ||
34 | + } | ||
35 | +} |
static/sass/category/_index.css
0 → 100644
1 | +@import "brand"; | ||
2 | + | ||
3 | +.category-page { | ||
4 | + font-size: 30px; | ||
5 | + | ||
6 | + .search-input { | ||
7 | + position: relative; | ||
8 | + background-color: #f8f8f8; | ||
9 | + padding: 13px 20px; | ||
10 | + | ||
11 | + p { | ||
12 | + box-sizing: border-box; | ||
13 | + width: 100%; | ||
14 | + height: 60px; | ||
15 | + line-height: 60px; | ||
16 | + border: none; | ||
17 | + padding-left: 66px; | ||
18 | + border-radius: 60px; | ||
19 | + font-size: 26px; | ||
20 | + background: #fff; | ||
21 | + color: #999; | ||
22 | + } | ||
23 | + } | ||
24 | + | ||
25 | + .search-icon { | ||
26 | + position: absolute; | ||
27 | + top: 0; | ||
28 | + bottom: 0; | ||
29 | + left: 43px; | ||
30 | + line-height: 86px; | ||
31 | + color: #999; | ||
32 | + } | ||
33 | + | ||
34 | + .category-nav { | ||
35 | + height: 70px; | ||
36 | + border-bottom: 1px solid #e6e6e6; | ||
37 | + | ||
38 | + li { | ||
39 | + display: block; | ||
40 | + box-sizing: border-box; | ||
41 | + float: left; | ||
42 | + height: 100%; | ||
43 | + padding: 20px 0; | ||
44 | + width: 25%; | ||
45 | + text-align: center; | ||
46 | + color: #999; | ||
47 | + | ||
48 | + &:last-child { | ||
49 | + border-right: none; | ||
50 | + } | ||
51 | + | ||
52 | + &.focus { | ||
53 | + color: #000; | ||
54 | + } | ||
55 | + | ||
56 | + &.bytouch{ | ||
57 | + background:#eee; | ||
58 | + } | ||
59 | + } | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + span { | ||
64 | + display: block; | ||
65 | + width: 100%; | ||
66 | + height: 30px; | ||
67 | + line-height: 30px; | ||
68 | + font-size: 30px; | ||
69 | + border-right: 1px solid #e6e6e6; | ||
70 | + } | ||
71 | + | ||
72 | + li:last-child span { | ||
73 | + border-right: 0; | ||
74 | + } | ||
75 | + } | ||
76 | + | ||
77 | + .content { | ||
78 | + background: #f8f8f8; | ||
79 | + | ||
80 | + &.hide { | ||
81 | + display: none; | ||
82 | + } | ||
83 | + } | ||
84 | + | ||
85 | + .primary-level { | ||
86 | + float: left; | ||
87 | + box-sizing: border-box; | ||
88 | + width: 45%; | ||
89 | + | ||
90 | + > li { | ||
91 | + height: 89px; | ||
92 | + line-height: 89px; | ||
93 | + padding-left: 32px; | ||
94 | + | ||
95 | + &.focus { | ||
96 | + background-color: #fff; | ||
97 | + } | ||
98 | + | ||
99 | + &.highlight { | ||
100 | + background-color: #eee; | ||
101 | + } | ||
102 | + } | ||
103 | + } | ||
104 | + | ||
105 | + .sub-level-container { | ||
106 | + float: left; | ||
107 | + box-sizing: border-box; | ||
108 | + background: #fff; | ||
109 | + width: 55%; | ||
110 | + height: 100%; | ||
111 | + } | ||
112 | + | ||
113 | + .sub-level { | ||
114 | + width: 100%; | ||
115 | + | ||
116 | + &.hide { | ||
117 | + display: none; | ||
118 | + } | ||
119 | + | ||
120 | + > li { | ||
121 | + box-sizing: border-box; | ||
122 | + height: 89px; | ||
123 | + line-height: 89px; | ||
124 | + border-bottom: 1px solid #e6e6e6; | ||
125 | + padding-left: 20px; | ||
126 | + | ||
127 | + &.highlight { | ||
128 | + background: #eee; | ||
129 | + } | ||
130 | + | ||
131 | + &:last-child { | ||
132 | + border-bottom: none; | ||
133 | + } | ||
134 | + } | ||
135 | + | ||
136 | + a { | ||
137 | + display: block; | ||
138 | + height: 100%; | ||
139 | + width: 100%; | ||
140 | + color: #000; | ||
141 | + } | ||
142 | + } | ||
143 | +} |
@@ -183,8 +183,8 @@ a { | @@ -183,8 +183,8 @@ a { | ||
183 | @import "passport/index"; | 183 | @import "passport/index"; |
184 | @import "guang/index"; | 184 | @import "guang/index"; |
185 | @import "home/index"; | 185 | @import "home/index"; |
186 | -/* | ||
187 | @import "category/index"; | 186 | @import "category/index"; |
187 | +/* | ||
188 | @import "me/index"; | 188 | @import "me/index"; |
189 | 189 | ||
190 | @import "product/index"; | 190 | @import "product/index"; |
-
Please register or login to post a comment