102 lines
1.7 KiB
Plaintext
102 lines
1.7 KiB
Plaintext
/* pages/index/tab/tab.wxss */
|
|
|
|
.tab-box {
|
|
/* border-top: 1px solid #e4e4e4; */
|
|
line-height: 128rpx;
|
|
height: 128rpx;
|
|
background: #f2f2f2;
|
|
font-size: 0;
|
|
text-align: center;
|
|
color: #666;
|
|
}
|
|
|
|
.tab-box .tab {
|
|
display: inline-flex;
|
|
flex: 1;
|
|
font-size: 34rpx;
|
|
}
|
|
|
|
.tab.active {
|
|
background: #fff;
|
|
color: #333;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.tab .text {
|
|
position: relative;
|
|
width: auto;
|
|
display: inline-flex;
|
|
}
|
|
|
|
.tab.active .text:after {
|
|
content: '';
|
|
width: 100%;
|
|
position: absolute;
|
|
/* bottom:-4rpx; */
|
|
bottom: -2rpx;
|
|
left: 0;
|
|
height: 8rpx;
|
|
background: rgb(255, 192, 95);
|
|
border-radius: 8rpx;
|
|
|
|
}
|
|
|
|
.irent-tab-box {
|
|
/* height: 130rpx; */
|
|
height: 120rpx;
|
|
display: flex;
|
|
/* align-items: center; */
|
|
/* border-bottom: 1px solid #e8e8e8; */
|
|
border-bottom: 2rpx solid #d5d5d5;
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
.irent-tab-box .tab {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.irent-tab-box .new {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
width: 90rpx;
|
|
height: 90rpx;
|
|
/* color: #C63E3A;
|
|
font-size: 46rpx;
|
|
transform: rotateZ(20deg) translate(-30%,-34%);
|
|
transform-origin: center;
|
|
font-weight: 700; */
|
|
}
|
|
|
|
.irent-tab-box .new image {
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
}
|
|
|
|
.irent-tab-box .icon-box {
|
|
width: 84rpx;
|
|
height: 84rpx;
|
|
margin-right: 24rpx;
|
|
display: inline-flex;
|
|
border-radius: 50%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.irent-tab-box .personal {
|
|
background-color: #a8bed9;
|
|
}
|
|
|
|
.irent-tab-box .apartment {
|
|
background: #ddd;
|
|
}
|
|
|
|
.irent-tab-box image {
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
} |