|
|
@@ -19,17 +19,17 @@
|
|
|
<ul class="association" v-show="showAssociate && searchType == 'product'"
|
|
|
@mouseenter="associate.focus=true" @mouseleave="associate.focus=false">
|
|
|
<li v-if="similarKeywords.data.component && similarKeywords.data.component.length > 0" class="similar-title">型号:</li>
|
|
|
- <li v-for="(k, index) in similarKeywords.data.component" :key="k.code" class="item"
|
|
|
+ <li v-for="(k, index) in similarKeywords.data.component" class="item"
|
|
|
:class="{'active': index==associate.activeIndex}"
|
|
|
@click.stop.prevent="onAssociateClick(k.code)">{{ k.code }}
|
|
|
</li>
|
|
|
<li v-if="similarKeywords.data.brand && similarKeywords.data.brand.length > 0" class="similar-title">品牌:</li>
|
|
|
- <li v-for="(k, index) in similarKeywords.data.brand" :key="k.nameCn" class="item"
|
|
|
+ <li v-for="(k, index) in similarKeywords.data.brand" class="item"
|
|
|
:class="{'active': index==associate.activeIndex}"
|
|
|
@click.stop.prevent="onAssociateClick(isCnStart() ? k.nameCn : k.nameEn)">{{ isCnStart() ? k.nameCn : k.nameEn }}
|
|
|
</li>
|
|
|
<li v-if="similarKeywords.data.kind && similarKeywords.data.kind.length > 0" class="similar-title">类目:</li>
|
|
|
- <li v-for="(k, index) in similarKeywords.data.kind" :key="k.nameCn" class="item"
|
|
|
+ <li v-for="(k, index) in similarKeywords.data.kind" class="item"
|
|
|
:class="{'active': index==associate.activeIndex}"
|
|
|
@click.stop.prevent="onAssociateClick(k.nameCn)">{{ k.nameCn }}
|
|
|
</li>
|