min-project/component/projectShowText/projectShowText.less
2024-12-12 12:14:09 +08:00

67 lines
1.4 KiB
Plaintext

/* template/projectShowText/projectShowText.wxss */
.box {
position: relative;
padding-top: 30rpx;
padding-bottom: 34.5rpx;
.head {
position: relative;
text-align: center;
font-weight: 650;
font-size: 30rpx;
color: #000000;
padding-bottom: 30rpx;
.icon {
position: absolute;
top: -30rpx;
width: 24rpx;
height: 13.5rpx;
left: 50%;
transform: translateX(-50%);
}
}
swiper {
height: 510rpx;
}
.text {
word-break: break-all;
// height: 510rpx;
font-size: 27rpx;
color: #000000;
line-height: 51rpx;
white-space: pre-line;
padding: 0 22.5rpx;
overflow: hidden;
width: 567rpx;
&.hide {
position: absolute;
height: auto;
}
}
.pilot {
margin-top: 24rpx;
display: flex;
justify-content: center;
align-items: center;
.item {
width: 15rpx;
height: 6rpx;
background-color: rgba(215, 215, 215, 1);
border-radius: 30rpx;
&.pitch {
background-color: rgba(250, 107, 17, 1);
}
&:not(:last-of-type) {
margin-right: 6rpx;
}
}
}
}