Showing
2 changed files
with
3 additions
and
2 deletions
@@ -28,7 +28,8 @@ const handleBrandList = origin => { | @@ -28,7 +28,8 @@ const handleBrandList = origin => { | ||
28 | brands.push({ | 28 | brands.push({ |
29 | name: subValue.brand_name, | 29 | name: subValue.brand_name, |
30 | link: '/brand/' + subValue.brand_domain, | 30 | link: '/brand/' + subValue.brand_domain, |
31 | - logo: subValue.brand_ico | 31 | + logo: subValue.brand_ico, |
32 | + domain: subValue.brand_domain | ||
32 | }); | 33 | }); |
33 | }); | 34 | }); |
34 | 35 |
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | <div class="index"><a href="#{{item.index}}" name="{{item.index}}">{{item.index}}</a></div> | 4 | <div class="index"><a href="#{{item.index}}" name="{{item.index}}">{{item.index}}</a></div> |
5 | <div class="brand-big-box clearfix"> | 5 | <div class="brand-big-box clearfix"> |
6 | <div class="brand-box" v-for="brand in item.brands"> | 6 | <div class="brand-box" v-for="brand in item.brands"> |
7 | - <a href="{{brand.link}}"> | 7 | + <a href="{{brand.domain | brandUrl}}"> |
8 | <div class="brand-logo"> | 8 | <div class="brand-logo"> |
9 | <img v-lazy="brand.logo | resize 150 150" alt="{{brand.name}}"> | 9 | <img v-lazy="brand.logo | resize 150 150" alt="{{brand.name}}"> |
10 | </div> | 10 | </div> |
-
Please register or login to post a comment