prod
lily.zhang 3 years ago
parent 3fc9a3f1c0
commit 5398a2f66e

@ -1,7 +1,7 @@
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-10-15 09:16:31 * @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 * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: /data-show/src/lycomponents/iSwitchBrand/index.vue * @FilePath: /data-show/src/lycomponents/iSwitchBrand/index.vue
@ -21,7 +21,7 @@
<div class="sb-dd"> <div class="sb-dd">
<vue-scroll> <vue-scroll>
<div class="sb-bd"> <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"> <div class="d1">
<img class="m1" :src="item.img"> <img class="m1" :src="item.img">
</div> </div>
@ -143,6 +143,7 @@ export default {
handlerChoose(row) { handlerChoose(row) {
this.showActive = row.brandid; this.showActive = row.brandid;
this.chooseBrand = row; this.chooseBrand = row;
console.log(this.chooseBrand)
this.brandname = this.chooseBrand.brandname; this.brandname = this.chooseBrand.brandname;
this.getUserSeriesName(this.brandname); this.getUserSeriesName(this.brandname);
}, },

Loading…
Cancel
Save