/* pages/schoolHomepage/schoolHomepage.wxss */ view { box-sizing: border-box; font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif; } .container { min-height: 100vh; background-color: rgba(245, 245, 245, 1); padding-bottom: 180rpx; } .header { background-color: rgba(251, 251, 251, 1); padding-bottom: 24rpx; border-bottom: 1rpx solid #ebebeb; margin-bottom: 61.5rpx; .info { padding: 36rpx 36rpx 42rpx; .avatar { width: 180rpx; height: 180rpx; background-color: rgba(255, 255, 255, 1); border: 1rpx solid rgba(242, 242, 242, 1); border-radius: 15rpx; margin-right: 30rpx; .img { width: 106.5rpx; height: 120rpx; } } .right { flex-direction: column; .name { font-weight: 650; font-size: 48rpx; color: #000000; font-family: 'PingFangSC-Semibold', 'PingFang SC Semibold', 'PingFang SC', sans-serif; margin-bottom: 9rpx; } .english { font-size: 24rpx; color: #333333; margin-bottom: 30rpx; } .ranking-box { height: 54rpx; background-color: rgba(249, 231, 237, 1); border-radius: 9rpx; color: #933737; font-size: 27rpx; padding-left: 15rpx; width: fit-content; .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: rgba(249, 93, 93, 1); border-radius: 0 9rpx 9rpx 0; padding: 0 10.5rpx; } } .world { .head { width: 100%; height: 33rpx; position: relative; z-index: 1; margin-bottom: 10.5rpx; &::after { content: ""; position: absolute; top: 50%; // transform: translateY(-50%); width: 100%; height: 1rpx; z-index: -1; border-bottom: 1rpx solid #ebebeb; box-sizing: border-box; } .icon { width: 163.5rpx; background-color: rgba(251, 251, 251, 1); .img { width: 96rpx; height: 33rpx; display: block; } } } .list { justify-content: space-between; padding-bottom: 25rpx; border-bottom: 1rpx solid #ebebeb; .item { flex: 1; flex-direction: column; align-items: center; display: flex; .quantity { text-align: center; font-family: 'Arial', 'Arial-Black', 'Arial Black', sans-serif; font-weight: 900; font-size: 27rpx; color: #000000; margin-bottom: 18rpx; } .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; .ranking-icon { width: 12rpx; height: 12rpx; position: absolute; bottom: 0; right: -12rpx; transform: rotate(270deg); } } } } } } } .brief { font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif; font-size: 22.5rpx; color: #7F7F7F; line-height: 42rpx; padding: 0 36rpx; display: block; transition: all .3s; white-space: pre-line; word-break: break-word; transition: all .3s; overflow: hidden; &.twoLines { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } &#rich-text { position: absolute; z-index: -1; bottom: 0; color: transparent; // background-color: red; } } .brief-more { padding: 21rpx 0; .icon { width: 27rpx; height: 27rpx; transition: all .3s; &.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; .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-box { margin-bottom: 18rpx; white-space: nowrap; .line { width: 526rpx; margin-right: 15rpx; display: inline-block; overflow: hidden; .item { width: 525rpx; height: 135rpx; background-color: rgba(255, 255, 255, 1); border: 1rpx solid rgba(242, 242, 242, 1); border-radius: 18rpx; padding: 0 30rpx; justify-content: space-between; &:first-of-type { margin-bottom: 15rpx; } .name { font-size: 27rpx; color: #000000; margin-bottom: 6rpx; width: 380rpx; } .english { font-size: 21rpx; color: #7F7F7F; width: 380rpx; } } } } .indication { display: flex; justify-content: center; .item { width: 15rpx; height: 6rpx; background-color: rgba(215, 215, 215, 1); border-radius: 30rpx; margin-right: 6rpx; &.pitch { background-color: rgba(250, 107, 17, 1); } } } } .join { flex-direction: column; justify-content: center; align-items: center; font-size: 21rpx; color: #026277; .add { width: 42rpx; height: 42rpx; background-color: rgba(207, 247, 255, 1); border: 1rpx solid rgba(186, 222, 230, 1); border-radius: 30rpx; .icon { width: 18rpx; height: 18rpx; } } } .cancel { flex-direction: column; justify-content: center; align-items: center; font-size: 21rpx; color: #7F7F7F; text-align: center; .cross { width: 42rpx; height: 42rpx; background-color: rgba(246, 246, 246, 1); border: 1rpx solid rgba(235, 235, 235, 1); border-radius: 30rpx; .icon { width: 22.5rpx; height: 18rpx; } } } .screen { font-size: 24rpx; color: #555555; margin: 0 22.5rpx 15rpx; justify-content: space-between; .left { height: 84rpx; background-color: rgba(255, 255, 255, 1); border: 1rpx solid rgba(242, 242, 242, 1); border-radius: 237rpx; margin-right: 15rpx; padding: 0 9rpx; .item { height: 66rpx; line-height: 66rpx; border-radius: 237rpx; &.pitch { color: #fff; background-color: rgba(4, 176, 213, 1); } } } .tuition { width: 256.5rpx; height: 84rpx; background-color: rgba(255, 255, 255, 1); border: 1rpx solid rgba(242, 242, 242, 1); border-radius: 237rpx; color: #000; position: relative; .sort-icon { width: 30rpx; height: 30rpx; margin-left: 8rpx; } .select-mask { width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: 100; } .select-box { position: absolute; top: 100%; left: 0; width: 100%; border-radius: 15rpx; overflow: hidden; z-index: 100; border: 1rpx solid transparent; &.show { border: 1rpx solid rgba(242, 242, 242, 1); transition: all .3s; .item { height: 84rpx; } } .item { height: 0; overflow: hidden; transition: all .3s; background-color: #fff; &.pitch { font-weight: 650; } } } } } .all-projects { background-color: rgba(255, 255, 255, 1); border: 1rpx solid rgba(242, 242, 242, 1); border-radius: 18rpx; margin: 0 30rpx; padding-top: 30rpx; .pitch { font-family: 'PingFangSC-Semibold', 'PingFang SC Semibold', 'PingFang SC', sans-serif; font-weight: 650; font-size: 27rpx; color: #000000; .text { line-height: 43.5rpx; position: relative; padding-bottom: 37.5rpx; &::after { content: ""; position: absolute; top: 43.5rpx; width: 100%; height: 7.5rpx; display: block; background-color: rgba(207, 247, 255, 1); border-radius: 58.5rpx; } .icon { width: 18rpx; height: 10.5rpx; margin-left: 13.5rpx; } } } .total { font-size: 24rpx; color: #7F7F7F; margin: 0 30rpx 30rpx; } .item { background-color: rgba(251, 251, 251, 1); border: 1rpx solid rgba(242, 242, 242, 1); border-radius: 18rpx; margin: 0 30rpx 34.5rpx; padding: 30rpx; position: relative; .title { align-items: flex-start; } .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; } .more { width: 42rpx; height: 42rpx; background-color: rgba(207, 247, 255, 1); border: 1rpx solid rgba(186, 222, 230, 1); border-radius: 30rpx; position: relative; .icon { width: 27rpx; height: 12rpx; } .more-select-mask { position: fixed; width: 100vw; height: 100vh; top: 0; left: 0; z-index: 1; } .more-select { position: absolute; top: 55rpx; right: 0; width: 450rpx; height: 183rpx; background-color: rgba(255, 255, 255, 1); border-radius: 12rpx; box-shadow: 0 0 7.5rpx rgba(0, 0, 0, 0.180392156862745); flex-direction: column; padding: 27rpx 30rpx 0; z-index: 1; .more-select-title { font-size: 21rpx; color: #7F7F7F; margin-bottom: 34.5rpx; .dot { width: 12rpx; height: 12rpx; border: 1rpx solid rgb(204, 208, 3); border-radius: 50%; background-color: rgb(246, 246, 189); margin-right: 12rpx; } } .more-select-btn { width: 240rpx; height: 60rpx; background-color: rgba(207, 247, 255, 1); border: 1rpx solid rgba(186, 222, 230, 1); border-radius: 237rpx; box-shadow: 0 0 4.5rpx rgba(0, 0, 0, 0.0705882352941176); font-size: 24rpx; color: #026277; margin: 0 auto; .more-select-icon { width: 24rpx; height: 24rpx; margin-right: 9rpx; } } } } .english { font-size: 21rpx; color: #7F7F7F; margin-top: 12rpx; word-break: break-all; } .introduce { font-size: 25.5rpx; color: #555555; margin-top: 15rpx; flex-wrap: wrap; .line { color: #D7D7D7; margin: 0 12rpx; } .quantity { font-family: 'Arial', 'Arial-Black', 'Arial Black', sans-serif; font-weight: 900; color: #000000; margin-left: 12rpx; } } .word { font-size: 24rpx; color: #858585; padding: 10.5rpx 15rpx; background-color: rgba(246, 246, 246, 1); border-radius: 7.5rpx; margin-top: 15rpx; word-break: break-all; } .tag { flex-wrap: wrap; margin-top: 25rpx; .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; &.admissions { background-color: rgba(115, 209, 229, 1); border: none; color: #fff; } &.gray { border: none; color: #fff; background-color: rgba(51, 51, 51, 1); &.semester { background-color: #f95d5d; } } } } } .end { font-size: 19.5rpx; color: #D7D7D7; text-align: center; padding: 15rpx 0 45rpx; } } .index-sidebar { position: relative; z-index: 99; }