u-swiper.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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-7b038a67 {
  28. position: relative;
  29. overflow: hidden;
  30. -webkit-transform: translateY(0);
  31. transform: translateY(0);
  32. }
  33. .u-swiper-image.data-v-7b038a67 {
  34. width: 100%;
  35. will-change: transform;
  36. height: 100%;
  37. display: block;
  38. }
  39. .u-swiper-indicator.data-v-7b038a67 {
  40. padding: 0 24rpx;
  41. position: absolute;
  42. display: flex;
  43. flex-direction: row;
  44. width: 100%;
  45. z-index: 1;
  46. }
  47. .u-indicator-item-rect.data-v-7b038a67 {
  48. width: 26rpx;
  49. height: 8rpx;
  50. margin: 0 6rpx;
  51. transition: all 0.5s;
  52. background-color: rgba(0, 0, 0, 0.3);
  53. }
  54. .u-indicator-item-rect-active.data-v-7b038a67 {
  55. background-color: rgba(255, 255, 255, 0.8);
  56. }
  57. .u-indicator-item-dot.data-v-7b038a67 {
  58. width: 14rpx;
  59. height: 14rpx;
  60. margin: 0 6rpx;
  61. border-radius: 20rpx;
  62. transition: all 0.5s;
  63. background-color: rgba(0, 0, 0, 0.3);
  64. }
  65. .u-indicator-item-dot-active.data-v-7b038a67 {
  66. background-color: rgba(255, 255, 255, 0.8);
  67. }
  68. .u-indicator-item-round.data-v-7b038a67 {
  69. width: 14rpx;
  70. height: 14rpx;
  71. margin: 0 6rpx;
  72. border-radius: 20rpx;
  73. transition: all 0.5s;
  74. background-color: rgba(0, 0, 0, 0.3);
  75. }
  76. .u-indicator-item-round-active.data-v-7b038a67 {
  77. width: 34rpx;
  78. background-color: rgba(255, 255, 255, 0.8);
  79. }
  80. .u-indicator-item-number.data-v-7b038a67 {
  81. padding: 6rpx 16rpx;
  82. line-height: 1;
  83. background-color: rgba(0, 0, 0, 0.3);
  84. border-radius: 100rpx;
  85. font-size: 26rpx;
  86. color: rgba(255, 255, 255, 0.8);
  87. }
  88. .u-list-scale.data-v-7b038a67 {
  89. -webkit-transform-origin: center center;
  90. transform-origin: center center;
  91. }
  92. .u-list-image-wrap.data-v-7b038a67 {
  93. width: 100%;
  94. height: 100%;
  95. flex: 1;
  96. transition: all 0.5s;
  97. overflow: hidden;
  98. box-sizing: content-box;
  99. position: relative;
  100. }
  101. .u-swiper-title.data-v-7b038a67 {
  102. position: absolute;
  103. background-color: rgba(0, 0, 0, 0.3);
  104. bottom: 0;
  105. left: 0;
  106. width: 100%;
  107. font-size: 28rpx;
  108. padding: 12rpx 24rpx;
  109. color: rgba(255, 255, 255, 0.9);
  110. }
  111. .u-swiper-item.data-v-7b038a67 {
  112. display: flex;
  113. flex-direction: row;
  114. overflow: hidden;
  115. align-items: center;
  116. }