.index-slide-view{ position: relative; } .index-slide, .index-slide-image { width: 100%; height: 465rpx; } .index-slide-view .dots{ position: absolute; left: 0; right: 0; bottom: 20rpx; display: flex; justify-content: center; } .index-slide-view .dots .dot{ margin: 0 8rpx; width: 30rpx; height: 8rpx; background: #fff; border-radius: 100rpx; transition: all .6s; opacity: 0.5; } .index-slide-view .dots .dot.active{ background: #FFFFFF; opacity: 1; }