1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- /**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- /* uni.scss */
- view.data-v-eda42115, scroll-view.data-v-eda42115, swiper-item.data-v-eda42115 {
- display: flex;
- flex-direction: column;
- flex-shrink: 0;
- flex-grow: 0;
- flex-basis: auto;
- align-items: stretch;
- align-content: flex-start;
- }
- .u-swiper.data-v-eda42115 {
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- position: relative;
- overflow: hidden;
- }
- .u-swiper__wrapper.data-v-eda42115 {
- flex: 1;
- }
- .u-swiper__wrapper__item.data-v-eda42115 {
- flex: 1;
- }
- .u-swiper__wrapper__item__wrapper.data-v-eda42115 {
- display: flex;
- flex-direction: row;
- position: relative;
- overflow: hidden;
- transition: transform 0.3s;
- flex: 1;
- }
- .u-swiper__wrapper__item__wrapper__image.data-v-eda42115 {
- flex: 1;
- }
- .u-swiper__wrapper__item__wrapper__video.data-v-eda42115 {
- flex: 1;
- }
- .u-swiper__wrapper__item__wrapper__title.data-v-eda42115 {
- position: absolute;
- background-color: rgba(0, 0, 0, 0.3);
- bottom: 0;
- left: 0;
- right: 0;
- font-size: 28rpx;
- padding: 12rpx 24rpx;
- color: #FFFFFF;
- flex: 1;
- }
- .u-swiper__indicator.data-v-eda42115 {
- position: absolute;
- bottom: 10px;
- }
|