mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-26 08:19:15 +08:00
* upgrade dependencies * 更改所有 saladcss 写法 * fix: 升级依赖导致的样式错误 * fix: build vant css * use es module when pack && webpack scope hoisting * fix: vue module version * delete unused npm script * fix: build:vant script not work * fix: webpack config format * fix: build minify vant.js * fix: captain ui relative link
55 lines
786 B
CSS
55 lines
786 B
CSS
@import './common/var.css';
|
|
|
|
.van-swipe {
|
|
position: relative;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
&__indicators {
|
|
position: absolute;
|
|
bottom: 10px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
&__indicator {
|
|
width: 5px;
|
|
height: 5px;
|
|
display: inline-block;
|
|
border-radius: 100%;
|
|
background: #999;
|
|
opacity: .8;
|
|
margin: 0 3px;
|
|
z-index: 1;
|
|
|
|
&--active {
|
|
background: $c-orange;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
&__items {
|
|
position: relative;
|
|
overflow: hidden;
|
|
position: relative;
|
|
height: 100%;
|
|
}
|
|
|
|
&-item {
|
|
display: none;
|
|
height: 100%;
|
|
width: 100%;
|
|
text-align: center;
|
|
|
|
img {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
&:first-child {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|