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