|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
* @Author: your name
|
|
|
|
|
* @Date: 2021-10-15 09:16:31
|
|
|
|
|
* @LastEditTime: 2021-11-21 14:43:22
|
|
|
|
|
* @LastEditTime: 2021-11-22 13:51:16
|
|
|
|
|
* @LastEditors: Please set LastEditors
|
|
|
|
|
* @Description: In User Settings Edit
|
|
|
|
|
* @FilePath: /data-show/src/lycomponents/iSwitchBrand/index.vue
|
|
|
|
@ -21,7 +21,7 @@
|
|
|
|
|
<div class="sb-dd">
|
|
|
|
|
<vue-scroll>
|
|
|
|
|
<div class="sb-bd">
|
|
|
|
|
<div class="s-item" :class="brandname === item.brandname ? 's-item-active': ''" v-for="(item,index) in showCars" :key="index" @click="handlerChoose(index,item)">
|
|
|
|
|
<div class="s-item" :class="brandname === item.brandname ? 's-item-active': ''" v-for="(item,index) in showCars" :key="index" @click="handlerChoose(item)">
|
|
|
|
|
<div class="d1">
|
|
|
|
|
<img class="m1" :src="item.img">
|
|
|
|
|
</div>
|
|
|
|
@ -143,6 +143,7 @@ export default {
|
|
|
|
|
handlerChoose(row) {
|
|
|
|
|
this.showActive = row.brandid;
|
|
|
|
|
this.chooseBrand = row;
|
|
|
|
|
console.log(this.chooseBrand)
|
|
|
|
|
this.brandname = this.chooseBrand.brandname;
|
|
|
|
|
this.getUserSeriesName(this.brandname);
|
|
|
|
|
},
|
|
|
|
|