/* pages/schoolHomepage/schoolHomepage.wxss */ view { box-sizing: border-box; font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif; } .container { min-height: 100vh; background-color: #f5f5f5; padding-bottom: 180rpx; } .header { background-color: #fbfbfb; padding-bottom: 24rpx; border-bottom: 1rpx solid #ebebeb; margin-bottom: 61.5rpx; } .header .info { padding: 36rpx 36rpx 42rpx; } .header .info .avatar { width: 180rpx; height: 180rpx; background-color: #ffffff; border: 1rpx solid #f2f2f2; border-radius: 15rpx; margin-right: 30rpx; } .header .info .avatar .img { width: 106.5rpx; height: 120rpx; } .header .info .right { flex-direction: column; } .header .info .right .name { font-weight: 650; font-size: 48rpx; color: #000000; font-family: 'PingFangSC-Semibold', 'PingFang SC Semibold', 'PingFang SC', sans-serif; margin-bottom: 9rpx; } .header .info .right .english { font-size: 24rpx; color: #333333; margin-bottom: 30rpx; } .header .info .right .ranking-box { height: 54rpx; background-color: #f9e7ed; border-radius: 9rpx; color: #933737; font-size: 27rpx; padding-left: 15rpx; width: fit-content; } .header .info .right .ranking-box .sum { margin-left: 15rpx; font-family: 'Arial-Black', 'Arial Black', sans-serif; font-weight: 900; font-size: 30rpx; color: #FFFFFF; height: 54rpx; line-height: 54rpx; background-color: #f95d5d; border-radius: 0 9rpx 9rpx 0; padding: 0 10.5rpx; } .header .info .right .world .head { width: 100%; height: 33rpx; position: relative; z-index: 1; margin-bottom: 10.5rpx; } .header .info .right .world .head::after { content: ""; position: absolute; top: 50%; width: 100%; height: 1rpx; z-index: -1; border-bottom: 1rpx solid #ebebeb; box-sizing: border-box; } .header .info .right .world .head .icon { width: 163.5rpx; background-color: #fbfbfb; } .header .info .right .world .head .icon .img { width: 96rpx; height: 33rpx; display: block; } .header .info .right .world .list { justify-content: space-between; padding-bottom: 25rpx; border-bottom: 1rpx solid #ebebeb; } .header .info .right .world .list .item { flex: 1; flex-direction: column; align-items: center; display: flex; } .header .info .right .world .list .item .quantity { text-align: center; font-family: 'Arial', 'Arial-Black', 'Arial Black', sans-serif; font-weight: 900; font-size: 27rpx; color: #000000; margin-bottom: 18rpx; } .header .info .right .world .list .item .ranking-name { text-align: center; font-family: 'HelveticaNeue', 'Helvetica Neue', sans-serif; font-weight: 400; font-size: 24rpx; color: #555555; width: fit-content; position: relative; line-height: 24rpx; } .header .info .right .world .list .item .ranking-name .ranking-icon { width: 12rpx; height: 12rpx; position: absolute; bottom: 0; right: -12rpx; transform: rotate(270deg); } .header .brief { font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif; font-size: 22.5rpx; color: #7F7F7F; line-height: 42rpx; padding: 0 36rpx; display: block; white-space: pre-line; word-break: break-word; transition: all 0.3s; overflow: hidden; } .header .brief.twoLines { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .header .brief#rich-text { position: absolute; z-index: -1; bottom: 0; color: transparent; } .header .brief-more { padding: 21rpx 0; } .header .brief-more .icon { width: 27rpx; height: 27rpx; transition: all 0.3s; } .header .brief-more .icon.spin { transform: rotate(180deg); } .item-header { padding: 0 22.5rpx; color: #000; font-weight: 650; font-size: 30rpx; margin-bottom: 30rpx; font-family: 'PingFangSC-Semibold', 'PingFang SC Semibold', 'PingFang SC', sans-serif; } .item-header .greenDot { margin-right: 18rpx; width: 11rpx; height: 24rpx; background-color: #ccd003; border: 1rpx solid #9a9d02; border-radius: 10rpx; } .hot { margin-left: 22.5rpx; margin-bottom: 60rpx; } .hot .hot-box { margin-bottom: 18rpx; white-space: nowrap; } .hot .hot-box .line { width: 526rpx; height: 285rpx; margin-right: 15rpx; display: inline-block; overflow: hidden; } .hot .hot-box .line .item { width: 525rpx; height: 135rpx; background-color: #ffffff; border: 1rpx solid #f2f2f2; border-radius: 18rpx; padding: 0 30rpx; justify-content: space-between; } .hot .hot-box .line .item:first-of-type { margin-bottom: 15rpx; } .hot .hot-box .line .item .name { font-size: 27rpx; color: #000000; margin-bottom: 6rpx; width: 380rpx; } .hot .hot-box .line .item .english { font-size: 21rpx; color: #7F7F7F; width: 380rpx; } .hot .indication { display: flex; justify-content: center; margin-right: 22.5rpx; } .hot .indication .item { width: 15rpx; height: 6rpx; background-color: #d7d7d7; border-radius: 30rpx; } .hot .indication .item:not(:last-of-type) { margin-right: 6rpx; } .hot .indication .item.pitch { background-color: #fa6b11; } .join { flex-direction: column; justify-content: center; align-items: center; font-size: 21rpx; color: #026277; } .join .add { width: 42rpx; height: 42rpx; background-color: #cff7ff; border: 1rpx solid #badee6; border-radius: 30rpx; } .join .add .icon { width: 18rpx; height: 18rpx; } .cancel { flex-direction: column; justify-content: center; align-items: center; font-size: 21rpx; color: #7F7F7F; text-align: center; } .cancel .cross { width: 42rpx; height: 42rpx; background-color: #f6f6f6; border: 1rpx solid #ebebeb; border-radius: 30rpx; } .cancel .cross .icon { width: 22.5rpx; height: 18rpx; } .screen { font-size: 24rpx; color: #555555; margin: 0 22.5rpx 15rpx; justify-content: space-between; } .screen .left { height: 84rpx; background-color: #ffffff; border: 1rpx solid #f2f2f2; border-radius: 237rpx; margin-right: 15rpx; padding: 0 9rpx; } .screen .left .item { height: 66rpx; line-height: 66rpx; border-radius: 237rpx; } .screen .left .item.pitch { color: #fff; background-color: #04b0d5; } .screen .tuition { width: 256.5rpx; height: 84rpx; background-color: #ffffff; border: 1rpx solid #f2f2f2; border-radius: 237rpx; color: #000; position: relative; } .screen .tuition .sort-icon { width: 30rpx; height: 30rpx; margin-left: 8rpx; } .screen .tuition .select-mask { width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: 100; } .screen .tuition .select-box { position: absolute; top: 100%; left: 0; width: 100%; border-radius: 15rpx; overflow: hidden; z-index: 100; border: 1rpx solid transparent; } .screen .tuition .select-box.show { border: 1rpx solid #f2f2f2; transition: all 0.3s; } .screen .tuition .select-box.show .item { height: 84rpx; } .screen .tuition .select-box .item { height: 0; overflow: hidden; transition: all 0.3s; background-color: #fff; } .screen .tuition .select-box .item.pitch { font-weight: 650; } .all-projects { background-color: #ffffff; border: 1rpx solid #f2f2f2; border-radius: 18rpx; margin: 0 30rpx; padding-top: 30rpx; } .all-projects .pitch { font-family: 'PingFangSC-Semibold', 'PingFang SC Semibold', 'PingFang SC', sans-serif; font-weight: 650; font-size: 27rpx; color: #000000; } .all-projects .pitch .text { line-height: 43.5rpx; position: relative; padding-bottom: 37.5rpx; } .all-projects .pitch .text::after { content: ""; position: absolute; top: 43.5rpx; width: 100%; height: 7.5rpx; display: block; background-color: #cff7ff; border-radius: 58.5rpx; } .all-projects .pitch .text .icon { width: 18rpx; height: 10.5rpx; margin-left: 13.5rpx; } .all-projects .total { font-size: 24rpx; color: #7F7F7F; margin: 0 30rpx 30rpx; } .all-projects .item { background-color: #fbfbfb; border: 1rpx solid #f2f2f2; border-radius: 18rpx; margin: 0 30rpx 34.5rpx; padding: 30rpx; position: relative; } .all-projects .item .title { align-items: flex-start; } .all-projects .item .name { font-weight: 650; font-size: 33rpx; color: #000000; font-family: 'PingFangSC-Semibold', 'PingFang SC Semibold', 'PingFang SC', sans-serif; margin-right: 15rpx; word-break: break-all; } .all-projects .item .more { width: 42rpx; height: 42rpx; background-color: #cff7ff; border: 1rpx solid #badee6; border-radius: 30rpx; position: relative; } .all-projects .item .more .icon { width: 27rpx; height: 12rpx; } .all-projects .item .more .more-select-mask { position: fixed; width: 100vw; height: 100vh; top: 0; left: 0; z-index: 1; } .all-projects .item .more .more-select { position: absolute; top: 55rpx; right: 0; width: 450rpx; height: 183rpx; background-color: #ffffff; border-radius: 12rpx; box-shadow: 0 0 7.5rpx rgba(0, 0, 0, 0.18039216); flex-direction: column; padding: 27rpx 30rpx 0; z-index: 1; } .all-projects .item .more .more-select .more-select-title { font-size: 21rpx; color: #7F7F7F; margin-bottom: 34.5rpx; } .all-projects .item .more .more-select .more-select-title .dot { width: 12rpx; height: 12rpx; border: 1rpx solid #ccd003; border-radius: 50%; background-color: #f6f6bd; margin-right: 12rpx; } .all-projects .item .more .more-select .more-select-btn { width: 240rpx; height: 60rpx; background-color: #cff7ff; border: 1rpx solid #badee6; border-radius: 237rpx; box-shadow: 0 0 4.5rpx rgba(0, 0, 0, 0.07058824); font-size: 24rpx; color: #026277; margin: 0 auto; } .all-projects .item .more .more-select .more-select-btn .more-select-icon { width: 24rpx; height: 24rpx; margin-right: 9rpx; } .all-projects .item .english { font-size: 21rpx; color: #7F7F7F; margin-top: 12rpx; word-break: break-all; } .all-projects .item .introduce { font-size: 25.5rpx; color: #555555; margin-top: 15rpx; flex-wrap: wrap; } .all-projects .item .introduce .line { color: #D7D7D7; margin: 0 12rpx; } .all-projects .item .introduce .quantity { font-family: 'Arial', 'Arial-Black', 'Arial Black', sans-serif; font-weight: 900; color: #000000; margin-left: 12rpx; } .all-projects .item .word { font-size: 24rpx; color: #858585; padding: 10.5rpx 15rpx; background-color: #f6f6f6; border-radius: 7.5rpx; margin-top: 15rpx; word-break: break-all; } .all-projects .item .tag { flex-wrap: wrap; margin-top: 25rpx; } .all-projects .item .tag .tag-item { font-size: 22.5rpx; color: #858585; padding: 0 10.5rpx; border: 1rpx solid #aaaaaa; border-radius: 9rpx; width: fit-content; margin-right: 15rpx; margin-bottom: 10rpx; word-break: break-all; height: 36rpx; line-height: 36rpx; } .all-projects .item .tag .tag-item.admissions { background-color: #73d1e5; border: none; color: #fff; } .all-projects .item .tag .tag-item.gray { border: none; color: #fff; background-color: #333333; } .all-projects .item .tag .tag-item.gray.semester { background-color: #f95d5d; } .all-projects .end { font-size: 19.5rpx; color: #D7D7D7; text-align: center; padding: 15rpx 0 45rpx; } .index-sidebar { position: relative; z-index: 99; }