u-swiper.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. @charset "UTF-8";
  2. /**
  3. * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
  4. * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
  5. * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
  6. */
  7. .u-swiper-wrap.data-v-a5b2d580 {
  8. position: relative;
  9. overflow: hidden;
  10. -webkit-transform: translateY(0);
  11. transform: translateY(0);
  12. }
  13. .u-swiper-image.data-v-a5b2d580 {
  14. width: 100%;
  15. will-change: transform;
  16. height: 100%;
  17. display: block;
  18. }
  19. .u-swiper-indicator.data-v-a5b2d580 {
  20. padding: 0 24rpx;
  21. position: absolute;
  22. display: -webkit-box;
  23. display: -webkit-flex;
  24. display: flex;
  25. -webkit-box-orient: horizontal;
  26. -webkit-box-direction: normal;
  27. -webkit-flex-direction: row;
  28. flex-direction: row;
  29. width: 100%;
  30. z-index: 1;
  31. }
  32. .u-indicator-item-rect.data-v-a5b2d580 {
  33. width: 26rpx;
  34. height: 8rpx;
  35. margin: 0 6rpx;
  36. -webkit-transition: all 0.5s;
  37. transition: all 0.5s;
  38. background-color: rgba(0, 0, 0, 0.3);
  39. }
  40. .u-indicator-item-rect-active.data-v-a5b2d580 {
  41. background-color: rgba(255, 255, 255, 0.8);
  42. }
  43. .u-indicator-item-dot.data-v-a5b2d580 {
  44. width: 14rpx;
  45. height: 14rpx;
  46. margin: 0 6rpx;
  47. border-radius: 20rpx;
  48. -webkit-transition: all 0.5s;
  49. transition: all 0.5s;
  50. background-color: rgba(0, 0, 0, 0.3);
  51. }
  52. .u-indicator-item-dot-active.data-v-a5b2d580 {
  53. background-color: rgba(255, 255, 255, 0.8);
  54. }
  55. .u-indicator-item-round.data-v-a5b2d580 {
  56. width: 14rpx;
  57. height: 14rpx;
  58. margin: 0 6rpx;
  59. border-radius: 20rpx;
  60. -webkit-transition: all 0.5s;
  61. transition: all 0.5s;
  62. background-color: rgba(0, 0, 0, 0.3);
  63. }
  64. .u-indicator-item-round-active.data-v-a5b2d580 {
  65. width: 34rpx;
  66. background-color: rgba(255, 255, 255, 0.8);
  67. }
  68. .u-indicator-item-number.data-v-a5b2d580 {
  69. padding: 6rpx 16rpx;
  70. line-height: 1;
  71. background-color: rgba(0, 0, 0, 0.3);
  72. border-radius: 100rpx;
  73. font-size: 26rpx;
  74. color: rgba(255, 255, 255, 0.8);
  75. }
  76. .u-list-scale.data-v-a5b2d580 {
  77. -webkit-transform-origin: center center;
  78. transform-origin: center center;
  79. }
  80. .u-list-image-wrap.data-v-a5b2d580 {
  81. width: 100%;
  82. height: 100%;
  83. -webkit-box-flex: 1;
  84. -webkit-flex: 1;
  85. flex: 1;
  86. -webkit-transition: all 0.5s;
  87. transition: all 0.5s;
  88. overflow: hidden;
  89. box-sizing: content-box;
  90. position: relative;
  91. }
  92. .u-swiper-title.data-v-a5b2d580 {
  93. position: absolute;
  94. background-color: rgba(0, 0, 0, 0.3);
  95. bottom: 0;
  96. left: 0;
  97. width: 100%;
  98. font-size: 28rpx;
  99. padding: 12rpx 24rpx;
  100. color: rgba(255, 255, 255, 0.9);
  101. }
  102. .u-swiper-item.data-v-a5b2d580 {
  103. display: -webkit-box;
  104. display: -webkit-flex;
  105. display: flex;
  106. -webkit-box-orient: horizontal;
  107. -webkit-box-direction: normal;
  108. -webkit-flex-direction: row;
  109. flex-direction: row;
  110. overflow: hidden;
  111. -webkit-box-align: center;
  112. -webkit-align-items: center;
  113. align-items: center;
  114. }