u-swiper.wxss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. @charset "UTF-8";
  2. /**
  3. * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
  4. * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
  5. * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
  6. */
  7. view.data-v-6b019429, scroll-view.data-v-6b019429, swiper-item.data-v-6b019429 {
  8. display: flex;
  9. flex-direction: column;
  10. flex-shrink: 0;
  11. flex-grow: 0;
  12. flex-basis: auto;
  13. align-items: stretch;
  14. align-content: flex-start;
  15. }
  16. .u-swiper.data-v-6b019429 {
  17. display: flex;
  18. flex-direction: row;
  19. justify-content: center;
  20. align-items: center;
  21. position: relative;
  22. overflow: hidden;
  23. }
  24. .u-swiper__wrapper.data-v-6b019429 {
  25. flex: 1;
  26. }
  27. .u-swiper__wrapper__item.data-v-6b019429 {
  28. flex: 1;
  29. }
  30. .u-swiper__wrapper__item__wrapper.data-v-6b019429 {
  31. display: flex;
  32. flex-direction: row;
  33. position: relative;
  34. overflow: hidden;
  35. transition: -webkit-transform 0.3s;
  36. transition: transform 0.3s;
  37. transition: transform 0.3s, -webkit-transform 0.3s;
  38. flex: 1;
  39. }
  40. .u-swiper__wrapper__item__wrapper__image.data-v-6b019429 {
  41. flex: 1;
  42. }
  43. .u-swiper__wrapper__item__wrapper__video.data-v-6b019429 {
  44. flex: 1;
  45. }
  46. .u-swiper__wrapper__item__wrapper__title.data-v-6b019429 {
  47. position: absolute;
  48. background-color: rgba(0, 0, 0, 0.3);
  49. bottom: 0;
  50. left: 0;
  51. right: 0;
  52. font-size: 28rpx;
  53. padding: 12rpx 24rpx;
  54. color: #FFFFFF;
  55. flex: 1;
  56. }
  57. .u-swiper__indicator.data-v-6b019429 {
  58. position: absolute;
  59. bottom: 10px;
  60. }