u-tabs-swiper.wxss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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. .my-fontsize-normal.data-v-9c8ef540 {
  15. font-size: 30rpx;
  16. color: #ffffff;
  17. }
  18. .my-fontsize-Large.data-v-9c8ef540 {
  19. font-size: 34rpx;
  20. }
  21. .my-fontsize-Small.data-v-9c8ef540 {
  22. font-size: 24rpx;
  23. }
  24. .my-fontsize-title.data-v-9c8ef540 {
  25. font-size: 36rpx;
  26. }
  27. .my-flex.data-v-9c8ef540 {
  28. display: flex;
  29. justify-content: center;
  30. align-items: center;
  31. }
  32. .flex-column.data-v-9c8ef540 {
  33. display: flex;
  34. flex-direction: column;
  35. justify-content: space-between;
  36. align-items: flex-start;
  37. }
  38. .flex-column-center.data-v-9c8ef540 {
  39. display: flex;
  40. flex-direction: column;
  41. justify-content: center;
  42. align-items: center;
  43. }
  44. .flex-between.data-v-9c8ef540 {
  45. display: flex;
  46. justify-content: space-between;
  47. align-items: center;
  48. }
  49. .flex-around.data-v-9c8ef540 {
  50. display: flex;
  51. justify-content: space-around;
  52. align-items: center;
  53. }
  54. .flex-start.data-v-9c8ef540 {
  55. display: flex;
  56. justify-content: flex-start;
  57. align-items: center;
  58. }
  59. .flex-end.data-v-9c8ef540 {
  60. display: flex;
  61. justify-content: flex-end;
  62. align-items: center;
  63. }
  64. .line.data-v-9c8ef540 {
  65. position: relative;
  66. }
  67. .line.data-v-9c8ef540::before {
  68. content: '';
  69. position: absolute;
  70. top: 50%;
  71. left: 0;
  72. -webkit-transform: translateY(-50%);
  73. transform: translateY(-50%);
  74. width: 6rpx;
  75. height: 30rpx;
  76. border-radius: 2rpx;
  77. background-color: #3F92F9;
  78. }
  79. /* 颜色变量 */
  80. /* 行为相关颜色 */
  81. /* 文字基本颜色 */
  82. /* 背景颜色 */
  83. /* 边框颜色 */
  84. /* 尺寸变量 */
  85. /* 文字尺寸 */
  86. /* 图片尺寸 */
  87. /* Border Radius */
  88. /* 水平间距 */
  89. /* 垂直间距 */
  90. /* 透明度 */
  91. /* 文章场景相关 */
  92. view.data-v-9c8ef540,
  93. scroll-view.data-v-9c8ef540 {
  94. box-sizing: border-box;
  95. }
  96. .u-tabs.data-v-9c8ef540 {
  97. width: 100%;
  98. transition-property: background-color, color;
  99. }
  100. .data-v-9c8ef540::-webkit-scrollbar,.data-v-9c8ef540::-webkit-scrollbar,.data-v-9c8ef540::-webkit-scrollbar {
  101. display: none;
  102. width: 0 !important;
  103. height: 0 !important;
  104. -webkit-appearance: none;
  105. background: transparent;
  106. }
  107. .u-scroll-view.data-v-9c8ef540 {
  108. width: 100%;
  109. white-space: nowrap;
  110. position: relative;
  111. }
  112. .u-tabs-scroll-box.data-v-9c8ef540 {
  113. position: relative;
  114. }
  115. .u-tabs-scorll-flex.data-v-9c8ef540 {
  116. display: flex;
  117. flex-direction: row;
  118. justify-content: space-between;
  119. }
  120. .u-tabs-scorll-flex .u-tabs-item.data-v-9c8ef540 {
  121. flex: 1;
  122. }
  123. .u-tabs-item.data-v-9c8ef540 {
  124. position: relative;
  125. display: inline-block;
  126. text-align: center;
  127. transition-property: background-color, color, font-weight;
  128. }
  129. .content.data-v-9c8ef540 {
  130. overflow: hidden;
  131. white-space: nowrap;
  132. text-overflow: ellipsis;
  133. }
  134. .boxStyle.data-v-9c8ef540 {
  135. pointer-events: none;
  136. position: absolute;
  137. transition-property: all;
  138. }
  139. .boxStyle2.data-v-9c8ef540 {
  140. pointer-events: none;
  141. position: absolute;
  142. bottom: 0;
  143. transition-property: all;
  144. -webkit-transform: translateY(-100%);
  145. transform: translateY(-100%);
  146. }
  147. .itemBackgroundBox.data-v-9c8ef540 {
  148. pointer-events: none;
  149. position: absolute;
  150. top: 0;
  151. transition-property: left, background-color;
  152. display: flex;
  153. flex-direction: row;
  154. flex-direction: row;
  155. justify-content: center;
  156. align-items: center;
  157. }
  158. .itemBackground.data-v-9c8ef540 {
  159. height: 100%;
  160. width: 100%;
  161. transition-property: all;
  162. }
  163. .u-scroll-bar.data-v-9c8ef540 {
  164. position: absolute;
  165. bottom: 4rpx;
  166. }