uni-swiper-dot.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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. /* 图片尺寸 */
  23. /* Border Radius */
  24. /* 水平间距 */
  25. /* 垂直间距 */
  26. /* 透明度 */
  27. /* 文章场景相关 */
  28. .uni-swiper__warp.data-v-80e7bbe4 {
  29. display: flex;
  30. flex: 1;
  31. flex-direction: column;
  32. position: relative;
  33. overflow: hidden;
  34. }
  35. .uni-swiper__dots-box.data-v-80e7bbe4 {
  36. position: absolute;
  37. bottom: 10px;
  38. left: 0;
  39. right: 0;
  40. display: flex;
  41. flex: 1;
  42. flex-direction: row;
  43. justify-content: center;
  44. align-items: center;
  45. }
  46. .uni-swiper__dots-item.data-v-80e7bbe4 {
  47. width: 8px;
  48. border-radius: 100px;
  49. margin-left: 6px;
  50. background-color: rgba(0, 0, 0, 0.4);
  51. cursor: pointer;
  52. }
  53. .uni-swiper__dots-item.data-v-80e7bbe4:first-child {
  54. margin: 0;
  55. }
  56. .uni-swiper__dots-default.data-v-80e7bbe4 {
  57. border-radius: 100px;
  58. }
  59. .uni-swiper__dots-long.data-v-80e7bbe4 {
  60. border-radius: 50px;
  61. }
  62. .uni-swiper__dots-bar.data-v-80e7bbe4 {
  63. border-radius: 50px;
  64. }
  65. .uni-swiper__dots-nav.data-v-80e7bbe4 {
  66. bottom: 0px;
  67. height: 40px;
  68. display: flex;
  69. flex: 1;
  70. flex-direction: row;
  71. justify-content: flex-start;
  72. align-items: center;
  73. background-color: rgba(0, 0, 0, 0.2);
  74. }
  75. .uni-swiper__dots-nav-item.data-v-80e7bbe4 {
  76. /* overflow: hidden;
  77. text-overflow: ellipsis;
  78. white-space: nowrap; */
  79. font-size: 28rpx;
  80. color: #fff;
  81. margin: 0 15px;
  82. }
  83. .uni-swiper__dots-indexes.data-v-80e7bbe4 {
  84. display: flex;
  85. justify-content: center;
  86. align-items: center;
  87. }
  88. .uni-swiper__dots-left.data-v-80e7bbe4 {
  89. left: unset;
  90. right: 24rpx;
  91. }
  92. .uni-swiper__dots-left-text.data-v-80e7bbe4 {
  93. display: block;
  94. height: 48rpx;
  95. border-radius: 24rpx;
  96. line-height: 48rpx;
  97. padding: 0 24rpx;
  98. font-size: 26rpx;
  99. font-family: PingFangSC;
  100. color: #ffffff;
  101. background-color: rgba(0, 0, 0, 0.3);
  102. }
  103. .uni-swiper__dots-indexes-text.data-v-80e7bbe4 {
  104. color: #fff;
  105. font-size: 24rpx;
  106. }