|
|
@@ -53,7 +53,8 @@
|
|
|
<ul class="product-list" v-if="productList.totalElements > 0">
|
|
|
<li v-for="product in searchLists">
|
|
|
<nuxt-link class="text-left" :to="'/mobile/brand/componentDetail/' + product.uuid">{{product.code}}</nuxt-link>
|
|
|
- <a class="text-right" @click="toShowPdf(product.attach)">规格书 <i class="icon-chakan iconfont"></i></a>
|
|
|
+ <a class="text-right" @click="toShowPdf(product.attach)" v-if="product.attach">规格书 <i class="icon-chakan iconfont"></i></a>
|
|
|
+ <a class="text-right grey" v-if="!product.attach">规格书 <i>-</i></a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
<div class="no-product" v-if="!productList.totalElements || productList.totalElements == 0">
|
|
|
@@ -442,6 +443,16 @@
|
|
|
margin-right: .27rem;
|
|
|
margin-left: .54rem;
|
|
|
color: #6fcafe;
|
|
|
+ width: .55rem;
|
|
|
+ height: .65rem;
|
|
|
+ display: inline-block;
|
|
|
+ text-align: center;
|
|
|
+ font-style: normal;
|
|
|
+ }
|
|
|
+ &.grey{
|
|
|
+ i {
|
|
|
+ color: #999;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -459,7 +470,7 @@
|
|
|
span {
|
|
|
width: 1.64rem;
|
|
|
height: .6rem;
|
|
|
- line-height: .6rem;
|
|
|
+ line-height: .52rem;
|
|
|
border: .04rem solid rgb(195,195,195);
|
|
|
border-radius: .05rem;
|
|
|
font-size: .28rem;
|
|
|
@@ -506,9 +517,13 @@
|
|
|
max-height: 3.15rem;
|
|
|
overflow-y: auto;
|
|
|
z-index: 1;
|
|
|
- &::-webkit-scrollbar
|
|
|
- {
|
|
|
- display: none;
|
|
|
+ &::-webkit-scrollbar {
|
|
|
+ display: block;
|
|
|
+ background: rgba(0,0,0,.6);
|
|
|
+ width: 0.05rem;
|
|
|
+ }
|
|
|
+ &::-webkit-scrollbar-thumb {
|
|
|
+ background-color: #999;
|
|
|
}
|
|
|
li {
|
|
|
width: 1.64rem;
|