u-swiper.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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. -webkit-border-radius: 20rpx;
  68. border-radius: 20rpx;
  69. -webkit-transition: all 0.5s;
  70. transition: all 0.5s;
  71. background-color: rgba(0, 0, 0, 0.3);
  72. }
  73. .u-indicator-item-dot-active.data-v-a5b2d580 {
  74. background-color: rgba(255, 255, 255, 0.8);
  75. }
  76. .u-indicator-item-round.data-v-a5b2d580 {
  77. width: 14rpx;
  78. height: 14rpx;
  79. margin: 0 6rpx;
  80. -webkit-border-radius: 20rpx;
  81. border-radius: 20rpx;
  82. -webkit-transition: all 0.5s;
  83. transition: all 0.5s;
  84. background-color: rgba(0, 0, 0, 0.3);
  85. }
  86. .u-indicator-item-round-active.data-v-a5b2d580 {
  87. width: 34rpx;
  88. background-color: rgba(255, 255, 255, 0.8);
  89. }
  90. .u-indicator-item-number.data-v-a5b2d580 {
  91. padding: 6rpx 16rpx;
  92. line-height: 1;
  93. background-color: rgba(0, 0, 0, 0.3);
  94. -webkit-border-radius: 100rpx;
  95. border-radius: 100rpx;
  96. font-size: 26rpx;
  97. color: rgba(255, 255, 255, 0.8);
  98. }
  99. .u-list-scale.data-v-a5b2d580 {
  100. -webkit-transform-origin: center center;
  101. transform-origin: center center;
  102. }
  103. .u-list-image-wrap.data-v-a5b2d580 {
  104. width: 100%;
  105. height: 100%;
  106. -webkit-box-flex: 1;
  107. -webkit-flex: 1;
  108. flex: 1;
  109. -webkit-transition: all 0.5s;
  110. transition: all 0.5s;
  111. overflow: hidden;
  112. -webkit-box-sizing: content-box;
  113. box-sizing: content-box;
  114. position: relative;
  115. }
  116. .u-swiper-title.data-v-a5b2d580 {
  117. position: absolute;
  118. background-color: rgba(0, 0, 0, 0.3);
  119. bottom: 0;
  120. left: 0;
  121. width: 100%;
  122. font-size: 28rpx;
  123. padding: 12rpx 24rpx;
  124. color: rgba(255, 255, 255, 0.9);
  125. }
  126. .u-swiper-item.data-v-a5b2d580 {
  127. display: -webkit-box;
  128. display: -webkit-flex;
  129. display: flex;
  130. -webkit-box-orient: horizontal;
  131. -webkit-box-direction: normal;
  132. -webkit-flex-direction: row;
  133. flex-direction: row;
  134. overflow: hidden;
  135. -webkit-box-align: center;
  136. -webkit-align-items: center;
  137. align-items: center;
  138. }