|
|
@@ -23,27 +23,27 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="home-main">
|
|
|
- <nuxt-link to="/mobile/brand" class="home-main-content">
|
|
|
+ <a class="home-main-content">
|
|
|
<div>
|
|
|
<img src="/imgs/home/brand@2x.png" alt="1">
|
|
|
</div>
|
|
|
<h2>4036万</h2>
|
|
|
<p>品牌</p>
|
|
|
- </nuxt-link>
|
|
|
- <nuxt-link to="/mobile/brand" class="home-main-content">
|
|
|
+ </a>
|
|
|
+ <a class="home-main-content">
|
|
|
<div>
|
|
|
<img src="/imgs/home/modelbrand@2x.png" alt="1">
|
|
|
</div>
|
|
|
<h2>3250万</h2>
|
|
|
<p>型号</p>
|
|
|
- </nuxt-link>
|
|
|
- <nuxt-link to="/brand" class="home-main-content">
|
|
|
+ </a>
|
|
|
+ <a class="home-main-content">
|
|
|
<div>
|
|
|
<img src="/imgs/home/bookbrand@2x.png" alt="1">
|
|
|
</div>
|
|
|
<h2>926万</h2>
|
|
|
<p>规格书</p>
|
|
|
- </nuxt-link>
|
|
|
+ </a>
|
|
|
<nuxt-link to="/mobile/shop" class="home-main-content">
|
|
|
<div>
|
|
|
<img src="/imgs/home/shopbrand@2x.png" alt="1">
|
|
|
@@ -79,7 +79,7 @@
|
|
|
<div class="search-list-bottom">
|
|
|
<h5><i class="iconfont icon-remensousuo"></i>热搜器件</h5>
|
|
|
<span v-for="item in hotwords">
|
|
|
- <nuxt-link to="item.url" >{{item.name}}</nuxt-link>
|
|
|
+ <nuxt-link :to="item.url" >{{item.name}}</nuxt-link>
|
|
|
</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -102,10 +102,9 @@
|
|
|
type: Array,
|
|
|
default () {
|
|
|
return [
|
|
|
- {name: 'SCT2080KEC', url: '/product/component/1100400300009990'},
|
|
|
- {name: '电池组', url: '/product/kind/346'},
|
|
|
- {name: 'Vishay', url: '/product/brand/30327265e42a871be050007f01003d96'},
|
|
|
- {name: 'Panasonic', url: '/product/brand/30327265e47d871be050007f01003d96'}
|
|
|
+ {name: 'SCT2080KEC', url: '/mobile/brand/componentDetail/1100400300009990'},
|
|
|
+ {name: 'Vishay', url: '/mobile/brand/30327265e42a871be050007f01003d96'},
|
|
|
+ {name: 'Panasonic', url: '/mobile/brand/30327265e47d871be050007f01003d96'}
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
@@ -128,6 +127,7 @@
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
.home{
|
|
|
+ margin-top: .88rem;
|
|
|
font-size:.28rem;
|
|
|
margin-bottom:1rem;
|
|
|
.home-header{
|