移除轮播图背景色
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="diy-banner-box mb20 pr" :class="itemData.style.imgShape"
|
<!-- <view class="diy-banner-box mb20 pr" :class="itemData.style.imgShape"
|
||||||
:style="'background-color:'+itemData.style.background+';'">
|
:style="'background-color:'+itemData.style.background+';'"> -->
|
||||||
|
<view class="diy-banner-box mb20 pr" :class="itemData.style.imgShape">
|
||||||
<swiper class="swiper" :autoplay="autoplay" :interval="interval" :duration="duration" @change="changeSwiper" :style="itemData.style.imgShape=='square'?'height:'+itemData.style.height+'rpx;':'height:'+(itemData.style.height*0.92)+'rpx;'">
|
<swiper class="swiper" :autoplay="autoplay" :interval="interval" :duration="duration" @change="changeSwiper" :style="itemData.style.imgShape=='square'?'height:'+itemData.style.height+'rpx;':'height:'+(itemData.style.height*0.92)+'rpx;'">
|
||||||
<swiper-item v-for="(item,index) in itemData.data" :key="index" @click="gotoPages(item)">
|
<swiper-item v-for="(item,index) in itemData.data" :key="index" @click="gotoPages(item)">
|
||||||
<image :style="itemData.style.imgShape=='square'?'height:'+itemData.style.height+'rpx;':'height:'+(itemData.style.height*0.92)+'rpx;'" :src="item.imgUrl"></image>
|
<image :style="itemData.style.imgShape=='square'?'height:'+itemData.style.height+'rpx;':'height:'+(itemData.style.height*0.92)+'rpx;'" :src="item.imgUrl"></image>
|
||||||
|
|||||||
Reference in New Issue
Block a user