| | |
| | | <view class="banner"> |
| | | <u-swiper :list="list" keyName="imgurl" height="150" indicator indicatorMode="dot" @click="jumpBanner"></u-swiper> |
| | | </view> |
| | | <swiper class="cate" @change="changeCate"> |
| | | <swiper class="cate" @change="changeCate" v-if="labels.length > 0" :style="{ height: labels[0].length <= 4 ? '150rpx' : '' }"> |
| | | <swiper-item v-for="(item, index) in labels" :key="index"> |
| | | <view class="cate-list"> |
| | | <view class="cate-item" v-for="(child, a) in item" :key="a" @click="jumpSearch1(child, 1)"> |
| | |
| | | <view class="title"> |
| | | <view class="title-left">适用品牌</view> |
| | | </view> |
| | | <swiper class="pingpai" @change="changeBrand"> |
| | | <swiper class="pingpai" @change="changeBrand" v-if="brand.length > 0" :style="{ height: brand[0].length <= 2 ? '130rpx' : '' }"> |
| | | <swiper-item v-for="(item, index) in brand" :key="index"> |
| | | <view class="pingpai-list"> |
| | | <view class="pingpai-item" v-for="(child, a) in item" :key="a" @click="jumpSearch1(child, 2)"> |
| | |
| | | <text>.{{item.minPrice[1]}}</text> |
| | | </view> |
| | | <view class="commodity-item-box-price-b"> |
| | | ¥{{item.price}} |
| | | ¥{{item.linePrice || 0}} |
| | | </view> |
| | | </view> |
| | | <view class="commodity-item-shou"> |
| | |
| | | font-weight: 400; |
| | | font-size: 22rpx; |
| | | color: #999999; |
| | | text-decoration: line-through; |
| | | } |
| | | } |
| | | |
| | |
| | | margin-top: 40rpx; |
| | | .cate-list { |
| | | width: 100%; |
| | | height: 300rpx; |
| | | // height: 300rpx; |
| | | display: flex; |
| | | align-items: flex-start; |
| | | justify-content: space-between; |