123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179 |
- .tabs-index {
- display: block;
- height: initial;
- }
- @import "../common/index.acss";
- .tabs-index .van-tabs {
- position: relative;
- -webkit-tap-highlight-color: transparent;
- }
- .tabs-index .van-tabs__wrap {
- display: -webkit-flex;
- display: flex;
- overflow: hidden;
- }
- .tabs-index .van-tabs__wrap--scrollable .van-tab {
- -webkit-flex: 0 0 22%;
- flex: 0 0 22%;
- }
- .tabs-index .van-tabs__wrap--scrollable .van-tab--complete {
- -webkit-flex: 1 0 auto !important;
- flex: 1 0 auto !important;
- padding: 0 12px;
- }
- .tabs-index .van-tabs__wrap--scrollable .van-tabs__nav--complete {
- padding-right: 8px;
- padding-left: 8px;
- }
- .tabs-index .van-tabs__scroll {
- background-color: #fff;
- background-color: var(--tabs-nav-background-color, #fff);
- }
- .tabs-index .van-tabs__scroll--line {
- box-sizing: initial;
- height: calc(100% + 15px);
- }
- .tabs-index .van-tabs__scroll--card {
- margin: 0 16px;
- margin: 0 var(--padding-md, 16px);
- }
- .tabs-index .van-tabs__scroll::-webkit-scrollbar {
- display: none;
- }
- .tabs-index .van-tabs__nav {
- position: relative;
- display: -webkit-flex;
- display: flex;
- -webkit-user-select: none;
- user-select: none;
- }
- .tabs-index .van-tabs__nav--card {
- box-sizing: border-box;
- height: 30px;
- height: var(--tabs-card-height, 30px);
- border: 1px solid #ee0a24;
- border: var(--border-width-base, 1px) solid
- var(--tabs-default-color, #ee0a24);
- border-radius: 2px;
- border-radius: var(--border-radius-sm, 2px);
- }
- .tabs-index .van-tabs__nav--card .van-tab {
- color: #ee0a24;
- color: var(--tabs-default-color, #ee0a24);
- line-height: 28px;
- line-height: calc(
- var(--tabs-card-height, 30px) - var(--border-width-base, 1px) * 2
- );
- border-right: 1px solid #ee0a24;
- border-right: var(--border-width-base, 1px) solid
- var(--tabs-default-color, #ee0a24);
- }
- .tabs-index .van-tabs__nav--card .van-tab:last-child {
- border-right: none;
- }
- .tabs-index .van-tabs__nav--card .van-tab.van-tab--active {
- color: #fff;
- color: var(--white, #fff);
- background-color: #ee0a24;
- background-color: var(--tabs-default-color, #ee0a24);
- }
- .tabs-index .van-tabs__nav--card .van-tab--disabled {
- color: #c8c9cc;
- color: var(--tab-disabled-text-color, #c8c9cc);
- }
- .tabs-index .van-tabs__line {
- position: absolute;
- bottom: 0;
- left: 0;
- z-index: 1;
- height: 3px;
- height: var(--tabs-bottom-bar-height, 3px);
- border-radius: 3px;
- border-radius: var(--tabs-bottom-bar-height, 3px);
- background-color: #ee0a24;
- background-color: var(--tabs-bottom-bar-color, #ee0a24);
- }
- .tabs-index .van-tabs__track {
- position: relative;
- width: 100%;
- height: 100%;
- }
- .tabs-index .van-tabs__track--animated {
- display: -webkit-flex;
- display: flex;
- transition-property: left;
- }
- .tabs-index .van-tabs__content {
- overflow: hidden;
- }
- .tabs-index .van-tabs--line .van-tabs__wrap {
- height: 44px;
- height: var(--tabs-line-height, 44px);
- }
- .tabs-index .van-tabs--card .van-tabs__wrap {
- height: 30px;
- height: var(--tabs-card-height, 30px);
- }
- .tabs-index .van-tab {
- position: relative;
- -webkit-flex: 1;
- flex: 1;
- box-sizing: border-box;
- min-width: 0;
- padding: 0 5px;
- text-align: center;
- cursor: pointer;
- color: #646566;
- color: var(--tab-text-color, #646566);
- font-size: 14px;
- font-size: var(--tab-font-size, 14px);
- line-height: 44px;
- line-height: var(--tabs-line-height, 44px);
- }
- .tabs-index .van-tab--active {
- font-weight: 500;
- font-weight: var(--font-weight-bold, 500);
- color: #323233;
- color: var(--tab-active-text-color, #323233);
- }
- .tabs-index .van-tab--disabled {
- color: #c8c9cc;
- color: var(--tab-disabled-text-color, #c8c9cc);
- }
- .tabs-index .van-tab__title__info {
- position: relative !important;
- top: -1px !important;
- display: inline-block !important;
- -webkit-transform: translateX(0) !important;
- transform: translateX(0) !important;
- }
- .tabs-index .van-tab__title__info.van-info--dot {
- position: absolute !important;
- top: 40% !important;
- }
|