tabs.wxss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. .data-v-21da2544::-webkit-scrollbar,.data-v-21da2544::-webkit-scrollbar,.data-v-21da2544::-webkit-scrollbar {
  17. display: none;
  18. width: 0 !important;
  19. height: 0 !important;
  20. -webkit-appearance: none;
  21. background: transparent;
  22. }
  23. .scroll-box.data-v-21da2544 {
  24. height: 100%;
  25. position: relative;
  26. }
  27. .tab-fixed.data-v-21da2544 {
  28. position: -webkit-sticky;
  29. position: sticky;
  30. top: 0;
  31. width: 100%;
  32. }
  33. .scroll-view.data-v-21da2544 {
  34. width: 100%;
  35. white-space: nowrap;
  36. position: relative;
  37. }
  38. .tab-item.data-v-21da2544 {
  39. position: relative;
  40. display: inline-block;
  41. text-align: center;
  42. transition-property: background-color, color;
  43. }
  44. .tab-bar.data-v-21da2544 {
  45. position: absolute;
  46. bottom: 6rpx;
  47. }
  48. .tabs-scorll-flex.data-v-21da2544 {
  49. display: flex;
  50. justify-content: space-between;
  51. }