|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<view class="simple-swiper">
|
|
|
- <uni-swiper-dot :info="mapList" :current="current" mode="dot" :dotsStyles="dotsStyles">
|
|
|
+ <uni-swiper-dot :info="mapList" :current="current" :mode="mode" :dotsStyles="dotsStyles">
|
|
|
<swiper
|
|
|
class="swiper"
|
|
|
:style="{ height: swiperHeight + 'rpx' }"
|
|
@@ -89,10 +89,13 @@ export default {
|
|
|
width() {
|
|
|
return 100 / this.columns + '%'
|
|
|
},
|
|
|
+ mode(){
|
|
|
+ return 'round'
|
|
|
+ },
|
|
|
dotsStyles() {
|
|
|
return {
|
|
|
- width: 6,
|
|
|
- bottom: 8,
|
|
|
+ width: 4,
|
|
|
+ bottom: 0,
|
|
|
color: 'background: rgba(255, 255, 255, 0.39)',
|
|
|
backgroundColor: 'background: rgba(255, 255, 255, 0.39)',
|
|
|
border: '0',
|