|
|
@@ -4,6 +4,7 @@
|
|
|
<li v-for="kind in kindsToShow" class="kind-main-item" :class="{active: kind.id==activeKindId}"
|
|
|
@mouseenter="showChildrenLayout(kind)">
|
|
|
<nuxt-link :to="`/product/kind/${kind.id}`">
|
|
|
+ <img :src="kind.img" alt="">
|
|
|
<span>{{ kind.nameCn }}</span>
|
|
|
<i class="iconfont icon-arrow-right icon-sm pull-right"></i>
|
|
|
</nuxt-link>
|
|
|
@@ -92,8 +93,9 @@
|
|
|
}
|
|
|
.kind-category {
|
|
|
position: absolute;
|
|
|
- width: 200px;
|
|
|
+ width: 220px;
|
|
|
height: 477px;
|
|
|
+ z-index: 2;
|
|
|
|
|
|
.kind-main {
|
|
|
margin: 0;
|
|
|
@@ -103,7 +105,7 @@
|
|
|
.kind-main-item {
|
|
|
height: 34.1px;
|
|
|
line-height: 34.1px;
|
|
|
- padding: 0 10px 0 20px;
|
|
|
+ padding: 0 10px 0 23px;
|
|
|
background: rgba(80, 120, 203, 0.9);
|
|
|
display: block;
|
|
|
|
|
|
@@ -113,12 +115,18 @@
|
|
|
> .iconfont {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
+ img {
|
|
|
+ margin-right: 16px;
|
|
|
+ width: 14px;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
&.item-more {
|
|
|
background-color: #4c66bb;
|
|
|
font-weight: bold;
|
|
|
- font-size: 12px;
|
|
|
+ font-size: 14px;
|
|
|
+ padding: 0;
|
|
|
+ text-align: center;
|
|
|
}
|
|
|
|
|
|
&.active,&:hover {
|
|
|
@@ -138,7 +146,7 @@
|
|
|
.kind-children {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
- left: 200px;
|
|
|
+ left: 220px;
|
|
|
z-index: 9;
|
|
|
box-shadow: 1px 0 3px #666;
|
|
|
|