|
@@ -20,15 +20,15 @@
|
|
|
<ul v-if="emptyStatus && type == 'default' && keyword && keyword !== '' && showSimilarWord">
|
|
|
<template v-if="similarList.brand && similarList.brand.length && (similarType == 'all' || similarType == 'brand')">
|
|
|
<li class="title text-ellipse" v-if="similarType == 'all'">品牌</li>
|
|
|
- <li class="text-ellipse" v-for="brand in similarList.brand.slice(0, 4)" @click="onSearch(brand.nameEn, 'brand', $event)">{{brand.nameEn}}</li>
|
|
|
+ <li class="text-ellipse" v-for="brand in similarList.brand.slice(0, 8)" @click="onSearch(brand.nameEn, 'brand', $event)">{{brand.nameEn}}</li>
|
|
|
</template>
|
|
|
<template v-if="similarList.kind && similarList.kind.length && (similarType == 'all' || similarType == 'kind')">
|
|
|
<li class="title text-ellipse" v-if="similarType == 'all'">物料名称</li>
|
|
|
- <li class="text-ellipse" v-for="kind in similarList.kind.slice(0, 4)" @click="onSearch(kind.nameCn, 'kind', $event)">{{kind.nameCn}}</li>
|
|
|
+ <li class="text-ellipse" v-for="kind in similarList.kind.slice(0, 8)" @click="onSearch(kind.nameCn, 'kind', $event)">{{kind.nameCn}}</li>
|
|
|
</template>
|
|
|
<template v-if="similarList.component && similarList.component.length && (similarType == 'all' || similarType == 'code')">
|
|
|
<li class="title text-ellipse" v-if="similarType == 'all'">型号</li>
|
|
|
- <li class="text-ellipse" v-for="code in similarList.component.slice(0, 4)" @click="onSearch(code.code, 'code', $event)">{{code.code}}</li>
|
|
|
+ <li class="text-ellipse" v-for="code in similarList.component.slice(0, 8)" @click="onSearch(code.code, 'code', $event)">{{code.code}}</li>
|
|
|
</template>
|
|
|
</ul>
|
|
|
</div>
|
|
@@ -215,7 +215,7 @@
|
|
|
top: .72rem;
|
|
|
border: 1px solid #ccc;
|
|
|
border-radius: .05rem;
|
|
|
- max-height: 4.5rem;
|
|
|
+ max-height: 4.9rem;
|
|
|
overflow-y: auto;
|
|
|
li {
|
|
|
height: .6rem;
|