Showing
5 changed files
with
45 additions
and
58 deletions
@@ -52,7 +52,8 @@ module.exports = { | @@ -52,7 +52,8 @@ module.exports = { | ||
52 | }, { | 52 | }, { |
53 | textCn: '只看男生', | 53 | textCn: '只看男生', |
54 | textEn: 'Boys', | 54 | textEn: 'Boys', |
55 | - url: '' | 55 | + url: '', |
56 | + isSelect: true | ||
56 | }, { | 57 | }, { |
57 | textCn: '只看女生', | 58 | textCn: '只看女生', |
58 | textEn: 'Girls', | 59 | textEn: 'Girls', |
@@ -16,67 +16,53 @@ module.exports = { | @@ -16,67 +16,53 @@ module.exports = { | ||
16 | searchUrl: '', | 16 | searchUrl: '', |
17 | sideNav: [{ | 17 | sideNav: [{ |
18 | textCn: '男生', | 18 | textCn: '男生', |
19 | - textEn: 'Boys', | ||
20 | - url: false, | ||
21 | - subNav: { | ||
22 | - list: [{ | ||
23 | - textCn: '男生', | ||
24 | - textEn: 'Boys', | ||
25 | - img: '', | ||
26 | - url: false | ||
27 | - }, { | ||
28 | - textCn: '首页', | ||
29 | - img: 'http://res.yohoboys.com/res/new/boys/images/about/thirdbtn-sina.png', | ||
30 | - url: '' | ||
31 | - }, { | ||
32 | - textCn: '新品到着', | ||
33 | - img: '', | ||
34 | - url: '' | ||
35 | - }] | ||
36 | - } | 19 | + textEn: 'BOYS', |
20 | + styleClass: 'boys', | ||
21 | + url: '' | ||
37 | }, { | 22 | }, { |
38 | textCn: '女生', | 23 | textCn: '女生', |
39 | - textEn: 'Girls', | ||
40 | - current: true, | ||
41 | - url: false, | 24 | + textEn: 'GIRLS', |
25 | + styleClass: 'girls', | ||
26 | + url: '' | ||
27 | + }, { | ||
28 | + textCn: '潮童', | ||
29 | + textEn: 'KIDS', | ||
30 | + styleClass: 'kids', | ||
31 | + url: '' | ||
32 | + }, { | ||
33 | + textCn: '创意生活', | ||
34 | + textEn: 'LIFE STYLE', | ||
35 | + styleClass: 'life', | ||
36 | + url: '' | ||
37 | + }, { | ||
38 | + textCn: '新品节', | ||
39 | + textEn: 'NEW', | ||
40 | + styleClass: 'new', | ||
41 | + url: '' | ||
42 | + }, { | ||
43 | + textCn: '逛', | ||
44 | + textEn: 'TRENDFINDER', | ||
45 | + styleClass: 'guang', | ||
42 | subNav: { | 46 | subNav: { |
43 | list: [{ | 47 | list: [{ |
44 | - textCn: '女生', | ||
45 | - textEn: 'Girls', | ||
46 | - img: '', | ||
47 | - url: false | ||
48 | - }, { | ||
49 | - textCn: '首页', | ||
50 | - img: '', | ||
51 | - url: '' | ||
52 | - }, { | ||
53 | - textCn: '新品到着', | ||
54 | - img: '', | ||
55 | - url: '' | ||
56 | - }, { | ||
57 | - textCn: '上衣', | ||
58 | - img: '', | ||
59 | - url: '' | 48 | + textCn: '逛', |
49 | + textEn: 'TrendFinder', | ||
50 | + back: true, | ||
51 | + bgColor: '#fd307f' | ||
60 | }, { | 52 | }, { |
61 | - textCn: '鞋靴', | ||
62 | - img: '', | 53 | + textCn: '查看全部', |
63 | url: '' | 54 | url: '' |
64 | }, { | 55 | }, { |
65 | - textCn: '裤装', | ||
66 | - img: '', | 56 | + textCn: '只看男生', |
57 | + textEn: 'Boys', | ||
67 | url: '' | 58 | url: '' |
68 | }, { | 59 | }, { |
69 | - textCn: '品牌一览', | ||
70 | - img: '', | ||
71 | - url: '' | 60 | + textCn: '只看女生', |
61 | + textEn: 'Girls', | ||
62 | + url: '', | ||
63 | + isSelect: true | ||
72 | }] | 64 | }] |
73 | } | 65 | } |
74 | - }, { | ||
75 | - textCn: '潮童', | ||
76 | - textEn: 'Kids' | ||
77 | - }, { | ||
78 | - textCn: '家居', | ||
79 | - textEn: 'Life Style' | ||
80 | }], | 66 | }], |
81 | content: [{ | 67 | content: [{ |
82 | bannerTop: { | 68 | bannerTop: { |
@@ -172,10 +172,10 @@ | @@ -172,10 +172,10 @@ | ||
172 | height: 87rem / $pxConvertRem; | 172 | height: 87rem / $pxConvertRem; |
173 | background: image-url("yohologo02.png") no-repeat center center; | 173 | background: image-url("yohologo02.png") no-repeat center center; |
174 | background-size: 100%; | 174 | background-size: 100%; |
175 | - animation: 60s turn infinite; | ||
176 | - -webkit-animation: 60s turn infinite; | ||
177 | - -moz-animation: 60s turn infinite; | ||
178 | - -o-animation: 60s turn infinite; | 175 | + animation: 60s turn infinite ease-out; |
176 | + -webkit-animation: 60s turn infinite ease-out; | ||
177 | + -moz-animation: 60s turn infinite ease-out; | ||
178 | + -o-animation: 60s turn infinite ease-out; | ||
179 | } | 179 | } |
180 | .logo.animate{ | 180 | .logo.animate{ |
181 | background: image-url("yohologo01.png") no-repeat center center; | 181 | background: image-url("yohologo01.png") no-repeat center center; |
@@ -95,7 +95,7 @@ | @@ -95,7 +95,7 @@ | ||
95 | } | 95 | } |
96 | 96 | ||
97 | li.guang, li.trendfinder { | 97 | li.guang, li.trendfinder { |
98 | - i { | 98 | + .nav-icon { |
99 | background: image-url("side-nav/guang.png") no-repeat left center; | 99 | background: image-url("side-nav/guang.png") no-repeat left center; |
100 | background-size: 100% 100%; | 100 | background-size: 100% 100%; |
101 | } | 101 | } |
@@ -156,7 +156,7 @@ | @@ -156,7 +156,7 @@ | ||
156 | } | 156 | } |
157 | } | 157 | } |
158 | 158 | ||
159 | - li:hover { | 159 | + li:hover, li.current { |
160 | .nav-point { | 160 | .nav-point { |
161 | color: #3e3e3e; | 161 | color: #3e3e3e; |
162 | } | 162 | } |
@@ -22,7 +22,7 @@ | @@ -22,7 +22,7 @@ | ||
22 | {{# subNav}} | 22 | {{# subNav}} |
23 | <ul class="sub-nav"> | 23 | <ul class="sub-nav"> |
24 | {{# list}} | 24 | {{# list}} |
25 | - <li> | 25 | + <li class="{{# isSelect}}current{{/ isSelect}}" style="background-color:{{bgColor}}"> |
26 | {{# url}} | 26 | {{# url}} |
27 | <a href="{{.}}"> | 27 | <a href="{{.}}"> |
28 | {{/ url}} | 28 | {{/ url}} |
-
Please register or login to post a comment