【优化】优化首页【轮播图组件coreshop-imgSlide】展示效果,增加带指示器效果。

This commit is contained in:
大灰灰
2022-10-14 00:18:37 +08:00
parent 6afb16f0fb
commit 8e9fe0de98

View File

@@ -1,6 +1,6 @@
<template>
<view class="coreshop-margin-left-10 coreshop-margin-right-10 coreshop-margin-bottom-10 coreshop-margin-top-10 coreshop-bg-white">
<u-swiper :list="swiperItems" :height="swiperHeight" :interval="swiperDuration" keyName="image" @click="taped"></u-swiper>
<u-swiper :list="swiperItems" :height="swiperHeight" :interval="swiperDuration" keyName="image" @click="taped" indicator indicatorMode="line" circular></u-swiper>
</view>
</template>
@@ -16,7 +16,7 @@
data() {
return {
swiperItems: [],
swiperHeight: 130,
swiperHeight: 150,
swiperDuration: 2500,
};
},