|
|
@ -14,7 +14,7 @@ |
|
|
|
<scroll-view class="typeList" scroll-x="true"> |
|
|
|
<scroll-view class="typeList" scroll-x="true"> |
|
|
|
<view v-for="(item,index) in tabbar" :key="index" class="bandsImg" @click="onChage(item,1)" |
|
|
|
<view v-for="(item,index) in tabbar" :key="index" class="bandsImg" @click="onChage(item,1)" |
|
|
|
:style="{'color':item.category_id==isBanrdActive?'#F43B21':'#5A5A5A','border':item.category_id==isBanrdActive?'1rpx solid #F22029':'1rpx solid #E7E7E7'}"> |
|
|
|
:style="{'color':item.category_id==isBanrdActive?'#F43B21':'#5A5A5A','border':item.category_id==isBanrdActive?'1rpx solid #F22029':'1rpx solid #E7E7E7'}"> |
|
|
|
<image :src="item.image" mode=""></image> |
|
|
|
<image :src="item.image?item.image.external_url:''" mode=""></image> |
|
|
|
<view class="typeItem">{{item.name}}</view> |
|
|
|
<view class="typeItem">{{item.name}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</scroll-view> |
|
|
|
</scroll-view> |
|
|
|