u-swiper.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .u-swiper-wrap.data-v-a5b2d580 {
  28. position: relative;
  29. overflow: hidden;
  30. -webkit-transform: translateY(0);
  31. transform: translateY(0);
  32. }
  33. .u-swiper-image.data-v-a5b2d580 {
  34. width: 100%;
  35. will-change: transform;
  36. height: 100%;
  37. display: block;
  38. }
  39. .u-swiper-indicator.data-v-a5b2d580 {
  40. padding: 0 24rpx;
  41. position: absolute;
  42. display: -webkit-box;
  43. display: -webkit-flex;
  44. display: flex;
  45. -webkit-box-orient: horizontal;
  46. -webkit-box-direction: normal;
  47. -webkit-flex-direction: row;
  48. flex-direction: row;
  49. width: 100%;
  50. z-index: 1;
  51. }
  52. .u-indicator-item-rect.data-v-a5b2d580 {
  53. width: 26rpx;
  54. height: 8rpx;
  55. margin: 0 6rpx;
  56. -webkit-transition: all 0.5s;
  57. transition: all 0.5s;
  58. background-color: rgba(0, 0, 0, 0.3);
  59. }
  60. .u-indicator-item-rect-active.data-v-a5b2d580 {
  61. background-color: rgba(255, 255, 255, 0.8);
  62. }
  63. .u-indicator-item-dot.data-v-a5b2d580 {
  64. width: 14rpx;
  65. height: 14rpx;
  66. margin: 0 6rpx;
  67. border-radius: 20rpx;
  68. -webkit-transition: all 0.5s;
  69. transition: all 0.5s;
  70. background-color: rgba(0, 0, 0, 0.3);
  71. }
  72. .u-indicator-item-dot-active.data-v-a5b2d580 {
  73. background-color: rgba(255, 255, 255, 0.8);
  74. }
  75. .u-indicator-item-round.data-v-a5b2d580 {
  76. width: 14rpx;
  77. height: 14rpx;
  78. margin: 0 6rpx;
  79. border-radius: 20rpx;
  80. -webkit-transition: all 0.5s;
  81. transition: all 0.5s;
  82. background-color: rgba(0, 0, 0, 0.3);
  83. }
  84. .u-indicator-item-round-active.data-v-a5b2d580 {
  85. width: 34rpx;
  86. background-color: rgba(255, 255, 255, 0.8);
  87. }
  88. .u-indicator-item-number.data-v-a5b2d580 {
  89. padding: 6rpx 16rpx;
  90. line-height: 1;
  91. background-color: rgba(0, 0, 0, 0.3);
  92. border-radius: 100rpx;
  93. font-size: 26rpx;
  94. color: rgba(255, 255, 255, 0.8);
  95. }
  96. .u-list-scale.data-v-a5b2d580 {
  97. -webkit-transform-origin: center center;
  98. transform-origin: center center;
  99. }
  100. .u-list-image-wrap.data-v-a5b2d580 {
  101. width: 100%;
  102. height: 100%;
  103. -webkit-box-flex: 1;
  104. -webkit-flex: 1;
  105. flex: 1;
  106. -webkit-transition: all 0.5s;
  107. transition: all 0.5s;
  108. overflow: hidden;
  109. box-sizing: content-box;
  110. position: relative;
  111. }
  112. .u-swiper-title.data-v-a5b2d580 {
  113. position: absolute;
  114. background-color: rgba(0, 0, 0, 0.3);
  115. bottom: 0;
  116. left: 0;
  117. width: 100%;
  118. font-size: 28rpx;
  119. padding: 12rpx 24rpx;
  120. color: rgba(255, 255, 255, 0.9);
  121. }
  122. .u-swiper-item.data-v-a5b2d580 {
  123. display: -webkit-box;
  124. display: -webkit-flex;
  125. display: flex;
  126. -webkit-box-orient: horizontal;
  127. -webkit-box-direction: normal;
  128. -webkit-flex-direction: row;
  129. flex-direction: row;
  130. overflow: hidden;
  131. -webkit-box-align: center;
  132. -webkit-align-items: center;
  133. align-items: center;
  134. }