126 lines
2.1 KiB
Plaintext
126 lines
2.1 KiB
Plaintext
.am-tabs-tab-bar-wrap {
|
|
width: 100%;
|
|
}
|
|
|
|
.am-tabs-bar {
|
|
background: #fff;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
height: 42px;
|
|
display: flex;
|
|
}
|
|
|
|
.am-tabs-scroll-left {
|
|
width: 36px;
|
|
height: 39px;
|
|
position: absolute;
|
|
top: 1px;
|
|
left: 0;
|
|
z-index: 99;
|
|
background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0)) left no-repeat;
|
|
background-size: 100%;
|
|
}
|
|
|
|
.am-tabs-scroll-right {
|
|
width: 36px;
|
|
height: 39px;
|
|
position: absolute;
|
|
top: 1px;
|
|
right: 0;
|
|
z-index: 99;
|
|
background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0)) left no-repeat;
|
|
background-size: 100%;
|
|
}
|
|
|
|
.am-tabs-plus-wrap {
|
|
display: none;
|
|
position: relative;
|
|
width: 24px;
|
|
height: 43px;
|
|
}
|
|
|
|
.am-tabs-plus-wrap.show {
|
|
display: block;
|
|
}
|
|
|
|
.am-tabs-plus {
|
|
position: absolute;
|
|
z-index: 100;
|
|
top: 4px;
|
|
left: 0;
|
|
transform: translateX(-50%);
|
|
width: 32px;
|
|
height: 32px;
|
|
background-image: url('https://gw.alipayobjects.com/zos/rmsportal/DObPgppwxyNHeejHANtu.png');
|
|
background-size: 16px 16px;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.am-tabs-bar-content-wrap {
|
|
position: relative;
|
|
flex: 1;
|
|
}
|
|
|
|
.am-tabs-bar-content {
|
|
width: 100%;
|
|
height: 50px;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.am-tabs-bar-tab {
|
|
height: 42px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 25%;
|
|
flex-shrink: 0;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.am-tabs-bar-title {
|
|
height: 42px;
|
|
line-height: 42px;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
border-bottom-width: 2px;
|
|
border-bottom-style: solid;
|
|
border-bottom-color: transparent;
|
|
}
|
|
|
|
.am-tabs-bar-badge.dot {
|
|
position: absolute;
|
|
top: 3px;
|
|
right: 0px;
|
|
transform: translateX(8px);
|
|
}
|
|
|
|
.am-tabs-bar-badge.text {
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 2px;
|
|
transform: translateX(100%);
|
|
height: 16px;
|
|
}
|
|
|
|
.am-tabs-content-wrap {
|
|
margin-top: 1px;
|
|
display: flex;
|
|
background: #fff;
|
|
flex-direction: row;
|
|
overflow: hidden;
|
|
height: auto;
|
|
}
|
|
|
|
.am-tabs-content-wrap.fix {
|
|
height: auto !important;
|
|
}
|
|
|
|
.am-tabs-slides {
|
|
display: flex;
|
|
transition-duration: 500ms;
|
|
}
|