|
@@ -79,7 +79,7 @@
|
|
|
<div class="search-list-bottom">
|
|
<div class="search-list-bottom">
|
|
|
<h5><i class="iconfont icon-remensousuo"></i>热搜器件</h5>
|
|
<h5><i class="iconfont icon-remensousuo"></i>热搜器件</h5>
|
|
|
<span v-for="item in hotwords">
|
|
<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>
|
|
</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -102,10 +102,10 @@
|
|
|
type: Array,
|
|
type: Array,
|
|
|
default () {
|
|
default () {
|
|
|
return [
|
|
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: '电池组', url: '/mobile/brand/componentDetail/346'},
|
|
|
|
|
+ {name: 'Vishay', url: '/mobile/brand/componentDetail/30327265e42a871be050007f01003d96'},
|
|
|
|
|
+ {name: 'Panasonic', url: '/mobile/brand/componentDetail/30327265e47d871be050007f01003d96'}
|
|
|
]
|
|
]
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -215,34 +215,10 @@
|
|
|
width:1.14rem;
|
|
width:1.14rem;
|
|
|
height:1.14rem;
|
|
height:1.14rem;
|
|
|
margin:0 auto;
|
|
margin:0 auto;
|
|
|
- position:relative;
|
|
|
|
|
- }
|
|
|
|
|
- .home-main .home-main-content div:first-child{
|
|
|
|
|
- background:rgb(255,48,100);
|
|
|
|
|
- }
|
|
|
|
|
- .home-main .home-main-content:nth-child(2) div{
|
|
|
|
|
- background:rgb(250,103,67);
|
|
|
|
|
- }
|
|
|
|
|
- .home-main .home-main-content:nth-child(3) div {
|
|
|
|
|
- background: rgb(252, 184, 54);
|
|
|
|
|
- }
|
|
|
|
|
- .home-main .home-main-content:nth-child(4) div{
|
|
|
|
|
- background:rgb(99,147,255);
|
|
|
|
|
- }
|
|
|
|
|
- .home-main .home-main-content:nth-child(5) div{
|
|
|
|
|
- background:rgb(67,201,173);
|
|
|
|
|
- }
|
|
|
|
|
- .home-main .home-main-content:last-child div{
|
|
|
|
|
- background:rgb(135,201,79);
|
|
|
|
|
}
|
|
}
|
|
|
.home-main .home-main-content div>img{
|
|
.home-main .home-main-content div>img{
|
|
|
- width: .8rem;
|
|
|
|
|
- height:.8rem;
|
|
|
|
|
- position:absolute;
|
|
|
|
|
- left:50%;
|
|
|
|
|
- top:50%;
|
|
|
|
|
- margin-left:-36%;
|
|
|
|
|
- margin-top:-36%;
|
|
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height:100%;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.home-main .home-main-content p{
|
|
.home-main .home-main-content p{
|