style.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. .tab-screen{
  2. width: 100%;
  3. height: 100%;
  4. }
  5. .tab-header{
  6. height: 90upx;
  7. /*background-color: #fff;*/
  8. display: flex;
  9. flex-direction: row;
  10. position: relative;
  11. }
  12. .tab-header-item{
  13. display: flex;
  14. justify-content: center;
  15. align-items: center;
  16. flex:1;
  17. font-size: 28upx;
  18. line-height: 32upx;
  19. color: #333;
  20. font-weight: 400;
  21. position: relative;
  22. z-index: 2;
  23. }
  24. .tab-header-item-compact{
  25. flex: none;
  26. }
  27. .tab-header-line {
  28. position: absolute;
  29. left: 0;
  30. transition:.3s;
  31. height: 90upx;
  32. background-color: #fff;
  33. }
  34. .tab-header-default-line{
  35. width: 50upx;
  36. height: 4upx;
  37. background-color: #FC3538;
  38. }
  39. /*.tab-header-line{*/
  40. /* width: 54upx;*/
  41. /* */
  42. /* height: 4upx;*/
  43. /* border-radius: 4upx;*/
  44. /* !*background-color: #8DD4BD;*!*/
  45. /* background-color: #D90B1F;*/
  46. /* position: absolute;*/
  47. /* left: 0;*/
  48. /* bottom: 6upx;*/
  49. /* transition: .3s;*/
  50. /*}*/
  51. .tab-header-item-select{
  52. /*color: #8DD4BD;*/
  53. color: #FC3538;
  54. }
  55. .tab-content{
  56. flex: 1;
  57. }
  58. .tab-swiper{
  59. width: 100%;
  60. height: 100%;
  61. }
  62. /* line模式 */
  63. .tab-mode-line,.tab-style-line,.tab-mode-scrollLine,.tab-style-scrollLine{
  64. height: 70upx;
  65. background-color: transparent !important;
  66. }
  67. .tab-mode-item-line,.tab-mode-item-scrollLine {
  68. font-size: 32upx;
  69. }
  70. .tab-style-line,.tab-style-scrollLine{
  71. background-color: transparent !important;
  72. }
  73. .tab-style-line .tab-header-default-line {
  74. width: 40upx;
  75. border-radius: 2upx;
  76. }
  77. /* line模式 */
  78. /* scrollLine 模式 */
  79. .tab-style-scrollLine .tab-header-default-scrollLine{
  80. width: 100%;
  81. }
  82. /* scrollLine 模式 */