min-project/component/admission-box/admission-box.less

172 lines
3.9 KiB
Plaintext
Raw Normal View History

2024-12-13 10:32:46 +00:00
/* template/admission-box/admission-box.wxss */
.flexflex {
display: flex;
}
.flexcenter {
display: flex;
justify-content: center;
align-items: center;
}
.flexjcenter {
display: flex;
justify-content: center;
}
.flexacenter {
display: flex;
align-items: center;
}
.flex1 {
flex: 1;
}
.flexcolumn {
display: flex;
flex-direction: column;
}
.admission-box {
box-sizing: border-box;
background: linear-gradient(-78.6688125977936deg, rgba(207, 247, 255, 1) -12%, rgba(239, 240, 209, 1) 45%, rgba(207, 247, 255, 1) 155%);
border: none;
border-radius: 24rpx;
padding: 12rpx 15rpx 0;
margin: 0 22.5rpx 30rpx;
.head {
margin-bottom: 9rpx;
.icon {
width: 230rpx;
height: 28rpx;
margin-right: 15rpx;
}
.text {
width: 180rpx;
height: 30rpx;
border-radius: 9rpx;
position: relative;
font-size: 21rpx;
color: #FFFFFF;
z-index: 1;
.bj {
width: 180rpx;
height: 30rpx;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: -1;
}
}
.operate {
display: flex;
justify-content: flex-end;
align-items: center;
.more {
font-size: 22.5rpx;
color: #026277;
text-align: center;
line-height: 39rpx;
height: 39rpx;
.icon {
width: 21rpx;
height: 21rpx;
margin-left: 9rpx;
margin-right: 0;
vertical-align: middle;
}
}
.count-down {
font-size: 18rpx;
color: #000000;
line-height: 39rpx;
display: flex;
justify-content: center;
align-items: center;
.item {
width: 38rpx;
height: 38rpx;
margin: 0 5rpx;
background-color: rgba(2, 98, 119, 1);
background-color: rgba(249, 93, 93, 1);
border-radius: 19.5rpx;
font-size: 21rpx;
color: #FFFFFF;
}
}
}
}
.content {
background-color: rgba(255, 255, 255, 1);
border-radius: 18rpx;
height: 120rpx;
.item {
position: relative;
padding-left: 16.5rpx;
.schoolimg-box {
width: 60rpx;
margin-right: 18rpx;
}
.schoolimg {
width: 60rpx;
height: 60rpx;
}
.title {
font-size: 26rpx;
color: #000000;
line-height: 39rpx;
font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
padding: 0 30rpx 0 0;
position: relative;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
}
}
}
.indicator {
height: 27rpx;
.item {
width: 7.5rpx;
height: 7.5rpx;
background-color: rgba(215, 215, 215, 1);
border-radius: 30rpx;
&:not(:last-of-type) {
margin-right: 7.5rpx;
}
&.pitch {
background-color: rgba(250, 107, 17, 1);
}
}
}
}
.admissionState {
width: 120rpx;
height: 36rpx;
vertical-align: middle;
margin-right: 16.5rpx;
margin-bottom: 5rpx;
}