/* 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%); background: linear-gradient(-73.0773379882089deg, rgba(193, 241, 254, 1) 0%, rgba(218, 247, 251, 1) 48%, rgba(174, 228, 251, 1) 100%); border: none; border-radius: 24rpx; // padding: 12rpx 15rpx 0; margin: 0 22.5rpx 30rpx; height: 234.5rpx; position: relative; .head { margin-bottom: 9rpx; position: absolute; top: 12rpx; left: 0; width: 100%; padding: 0 15rpx; .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(245, 154, 35, 1); border-radius: 19.5rpx; font-size: 21rpx; color: #FFFFFF; } } } } .content { // background-color: rgba(255, 255, 255, 1); // border-radius: 18rpx; // height: 120rpx; height: 100%; position: relative; z-index: 1; .more { width: 100rpx; height: 100rpx; position: absolute; top: 12rpx; right: 15rpx; height: 39rpx; } .item { position: relative; padding-left: 16.5rpx; background-color: rgba(255, 255, 255, 1); width: 100%; height: 120rpx; margin: 0 15rpx; border-radius: 18rpx; .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-box { height: 55rpx; padding: 20rpx 0; position: absolute; display: flex; justify-content: center; bottom: -8rpx; left: 50%; transform: translateX(-50%); z-index: 1; } .indicator { position: absolute; top: 50%; transform: translateY(-50%); .item { background-color: rgba(215, 215, 215, 1); border-radius: 30rpx; width: 0; height: 0; transition: all .3s; &.pitch { background-color: rgba(250, 107, 17, 1); } &.tiny { width: 10rpx; height: 10rpx; } &.pitch, &.tiny1 { width: 15rpx; height: 15rpx; } &.pitch, &.tiny, &.tiny1 { margin-right: 7.5rpx; display: block; } } } } .admissionState { width: 120rpx; height: 36rpx; vertical-align: middle; margin-right: 16.5rpx; margin-bottom: 5rpx; } .quick-answer { height: 214.5rpx; height: 234.5rpx; border-radius: 24rpx; } .quick-answer-pop { display: flex; flex-direction: column; background-color: rgba(0, 0, 0, 0.705882352941177); position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 101; animation: slideUp 0.3s forwards; @keyframes slideUp { 0% { top: 100%; } 100% { top: 0; } } .quick-answer-box { .quick-answer-img { width: 100vw; height: 1096.5rpx; position: absolute; bottom: 0; left: 0; border-radius: 35rpx; } .quick-answer-icon { width: 270rpx; height: 270rpx; position: absolute; left: 50%; transform: translateX(-50%); bottom: 260rpx; } } }