/* pages/projectLibrary/projectLibrary.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); } .header-nav { position: absolute; top: 0; } .header-box { width: 750rpx; background: -webkit-linear-gradient(270deg, rgba(246, 246, 189, 1) 0%, rgba(245, 245, 245, 1) 100%); background: -moz-linear-gradient(180deg, rgba(246, 246, 189, 1) 0%, rgba(245, 245, 245, 1) 100%); background: linear-gradient(180deg, rgba(246, 246, 189, 1) 0%, rgba(245, 245, 245, 1) 100%); padding-top: 127.5rpx; margin-bottom: 45rpx; display: flex; align-items: center; overflow: hidden; padding-bottom: 100rpx; .header-left { display: inline-block; padding-left: 90rpx; margin-right: 63rpx; .header-title { border-bottom: 1rpx solid rgb(121, 121, 121); padding: 14rpx 0; display: flex; justify-content: center; .header-title-icon { width: 276rpx; height: 72rpx; } text { font-family: 'ArialRoundedMTBold', 'Arial Rounded MT Bold', 'Arial', sans-serif; } } .header-brief { border-bottom: 1rpx solid rgb(121, 121, 121); height: 43.5rpx; line-height: 43.5rpx; letter-spacing: normal; font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif; font-weight: 400; font-style: normal; font-size: 26rpx; color: #333333; } } .header-right { width: 246rpx; height: 268.5rpx; position: relative; .header-right-icon { position: absolute; top: -150rpx; left: -105rpx; width: 546rpx; height: 568.5rpx; } } } .search-box { margin: -100rpx 22.5rpx 36rpx; padding-left: 34.5rpx; height: 84rpx; background-color: rgba(255, 255, 255, 1); border: 1rpx solid rgba(242, 242, 242, 1); border-radius: 237rpx; position: relative; .icon { width: 39rpx; height: 39rpx; } .input { font-size: 24rpx; padding: 0 21rpx; } .btn { .vs { width: 40.5rpx; height: 30rpx; margin-right: 9rpx; } padding: 0 25.5rpx; font-size: 24rpx; color: #333333; border-left: 1rpx solid #d7d7d7; } } .select { margin: 0 22.5rpx 30rpx; .classify { height: 109.5rpx; background-color: rgba(237, 240, 244, 1); border-radius: 15rpx 15rpx 0 0; -moz-box-shadow: 0 -1.5rpx 4.5rpx rgba(0, 0, 0, 0.0549019607843137); -webkit-box-shadow: 0 -1.5rpx 4.5rpx rgba(0, 0, 0, 0.0549019607843137); box-shadow: 0 -1.5rpx 4.5rpx rgba(0, 0, 0, 0.0549019607843137); padding-top: 21rpx; font-size: 30rpx; color: #555555; .classify-item { justify-content: center; position: relative; .extension { position: absolute; top: -25rpx; left: 0; width: 100%; height: 100%; } .pitch { position: absolute; top: -28rpx; width: 352.5rpx; height: 90rpx; height: 92rpx; font-weight: 650; font-size: 30rpx; color: #000000; right: 2rpx; &.right { .text { margin-left: 115.5rpx; } } .icon { position: absolute; left: -4.5rpx; top: -4.5rpx; width: 363rpx; // height: 100.5rpx; height: 106.5rpx; } &::after { content: ""; display: block; width: 100%; height: 10.5rpx; background-color: #ffffff; position: absolute; top: 100%; } .text { position: relative; display: inline-block; z-index: 1; margin-top: 27rpx; margin-left: 73.5rpx; &::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 15rpx; background-color: rgba(207, 247, 255, 1); border-radius: 58.5rpx; z-index: -1; } } } } } .list { background-color: rgba(255, 255, 255, 1); border-radius: 15rpx; -moz-box-shadow: 0px 0 4.5rpx rgba(0, 0, 0, 0.0705882352941176); -webkit-box-shadow: 0px 0 4.5rpx rgba(0, 0, 0, 0.0705882352941176); box-shadow: 0 0 4.5rpx rgba(0, 0, 0, 0.0705882352941176); padding: 45rpx 30rpx; margin-top: -25.5rpx; font-size: 25.5rpx; .item { height: 60rpx; background-color: rgba(251, 251, 251, 1); border: 1rpx solid rgba(235, 235, 235, 1); border-radius: 18rpx; } &.school-list { display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 15rpx; row-gap: 24rpx; .item { width: 117rpx; &.font22 { font-size: 24rpx; } } } &.subject-list { display: flex; flex-wrap: wrap; .item { padding: 0 23.25rpx; margin-right: 15rpx; margin-bottom: 24rpx; } } } } .fate { margin: 0 22.5rpx 30rpx; padding-bottom: 25rpx; background: linear-gradient(180deg, rgba(237, 244, 246, 1) 0%, rgba(207, 223, 229, 1) 100%); border: 1rpx solid rgba(217, 228, 232, 1); border-radius: 18rpx; .head { height: 89rpx; justify-content: space-between; padding-left: 30rpx; margin-bottom: 4rpx; .text { width: 219rpx; height: 51rpx; } .refresh { padding: 0 30rpx; height: 100%; .icon { width: 30rpx; height: 30rpx; } } } .fate-box { padding: 0 12rpx; .fate-item { justify-content: space-between; position: relative; z-index: 1; .fate-content { background-color: rgba(255, 255, 255, 1); border: 1rpx solid rgba(215, 215, 215, 1); border-radius: 34.5rpx 0 34.5rpx 0; padding: 16rpx 16rpx 37.5rpx; } &::after { content: ""; width: calc(100% - 10rpx); height: 100%; background-color: rgba(104, 132, 138, 1); display: block; position: absolute; top: -8rpx; left: 0; z-index: -1; border-radius: 40rpx 0 34.5rpx 0; } &:not(:first-of-type) { margin-top: 30rpx; } .title { font-weight: 650; font-size: 27rpx; color: #026277; z-index: 1; position: relative; height: 54rpx; padding: 0 15rpx; margin: 0 auto 32rpx; width: fit-content; border: 1rpx solid rgb(205, 229, 229); background: linear-gradient(to bottom, #e2f3fb, #edf8fa, #e9fffa); .angle { position: absolute; top: -1rpx; right: -1rpx; width: 15rpx; height: 15rpx; } .icon-box { position: relative; margin-right: 6rpx; .icon-red { width: 18rpx; height: 30rpx; display: block; margin-right: -9rpx; z-index: 1; } .icon-thin { display: block; width: 18rpx; height: 30rpx; } } } .content { .project-list { .project-item { font-size: 24rpx; color: #333333; line-height: 33.75rpx; &:not(:last-of-type) { margin-bottom: 19.5rpx; } .icon { width: 24rpx; height: 27rpx; margin-right: 7.5rpx; } .arrows { width: 18rpx; height: 18rpx; margin: 0 13.5rpx; } .text { width: 340rpx; } } } .btn { width: 132rpx; height: 60rpx; font-weight: 650; background-color: rgb(249, 93, 93); border-radius: 172.5rpx; font-size: 24rpx; color: #FFFFFF; } } } } } .admission { margin: 0 22.5rpx 30rpx; padding-bottom: 7.5rpx; // height: 873rpx; background: -webkit-linear-gradient(104.032264875252deg, rgba(207, 247, 255, 1) -39%, rgba(239, 240, 209, 1) 59%, rgba(207, 247, 255, 1) 178%); background: -moz-linear-gradient(-14.0322648752516deg, rgba(207, 247, 255, 1) -39%, rgba(239, 240, 209, 1) 59%, rgba(207, 247, 255, 1) 178%); background: linear-gradient(-14.0322648752516deg, rgba(207, 247, 255, 1) -39%, rgba(239, 240, 209, 1) 59%, rgba(207, 247, 255, 1) 178%); border-radius: 24rpx; .head { padding-left: 30rpx; justify-content: space-between; height: 82.5rpx; .img { width: 166.5rpx; height: 43.5rpx; } .arrows { padding: 30rpx; .icon { width: 27rpx; height: 27rpx; } } } .box { margin: 0 7.5rpx; background-color: #ffffff; border: 1rpx solid rgba(242, 242, 242, 1); border-radius: 18rpx; height: 783rpx; .swiper { height: 738rpx; .swiper-item { .item:last-of-type { .more-select { top: auto; bottom: 55rpx; } } } .item { padding-top: 31.5rpx; padding-left: 22.5rpx; padding-right: 25.5rpx; &:not(:last-of-type) { .content { border-bottom: 1rpx dotted #ebebeb; } } .img { width: 48rpx; height: 48rpx; margin-right: 15rpx; } .content { padding-bottom: 31.5rpx; justify-content: space-between; .info { flex-direction: column; .name { font-weight: 650; font-size: 24rpx; color: #000000; margin-bottom: 12rpx; max-width: 435rpx; } .subject { color: #333333; font-size: 30rpx; margin-bottom: 6rpx; max-width: 435rpx; } .project { color: #7F7F7F; font-size: 21rpx; max-width: 435rpx; } } } } } .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: 36rpx; height: 36rpx; background-color: rgba(207, 247, 255, 1); border: 1rpx solid rgba(186, 222, 230, 1); border-radius: 30rpx; margin-bottom: 6rpx; .icon { width: 15rpx; height: 15rpx; } } } .cancel { flex-direction: column; justify-content: center; align-items: center; font-size: 21rpx; color: #7F7F7F; text-align: center; .cross { width: 36rpx; height: 36rpx; background-color: rgba(246, 246, 246, 1); border: 1rpx solid rgba(235, 235, 235, 1); border-radius: 30rpx; margin-bottom: 6rpx; .icon { width: 19.5rpx; height: 15rpx; } } } .waterfall { display: flex; justify-content: space-between; align-items: flex-start; margin: 0 22.5rpx 80rpx; .img { width: 345rpx; border-radius: 18rpx; margin-bottom: 15rpx; display: block; } .waterfall-left { .more { margin: 0 auto 30rpx; .more-select { left: 0; } } } .item { width: 345rpx; // height: 438rpx; background-color: rgba(255, 255, 255, 1); border: 1rpx solid rgba(235, 235, 235, 1); border-radius: 18rpx; padding: 22.5rpx 22.5rpx 0; margin-bottom: 15rpx; position: relative; .school { .icon { width: 30rpx; height: 30rpx; margin-right: 12rpx; } font-size: 24rpx; color: #333333; margin-bottom: 19.5rpx; } .name { font-weight: 650; font-size: 30rpx; color: #000000; margin-bottom: 15rpx; } .english { font-size: 21rpx; color: #555555; margin-bottom: 15rpx; } .text { font-size: 22.5rpx; color: #858585; margin-bottom: 30rpx; } .tag { flex-wrap: wrap; // margin-top: 25rpx; margin-bottom: 15rpx; .tag-item { height: 36rpx; line-height: 36rpx; 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; &.gray { border: none; color: #fff; background-color: rgba(51, 51, 51, 1); &.semester { background-color: #f95d5d; } } } } .view { height: 42rpx; margin-bottom: 30rpx; position: relative; z-index: 1; .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: row; .cross { margin-bottom: 0; margin-right: 13.5rpx; } } } .more { margin: 0 auto 30rpx; } .type { position: relative; height: 60rpx; justify-content: center; .type-icon { position: absolute; left: -22.5rpx; bottom: 0; width: 345rpx; height: 120rpx; } .type-name { position: absolute; bottom: 15rpx; width: 118.5rpx; height: 31.5rpx; } } .cancel { .cross { width: 30rpx; height: 30rpx; .icon { width: 15rpx; height: 12rpx; } } } } } .end { font-size: 19.5rpx; color: #D7D7D7; text-align: center; display: flex; justify-content: center; width: 100%; margin-bottom: 50rpx; } .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; // background-color: #000000; } .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; } } } } .index-sidebar { position: relative; z-index: 100; } .slideshow-box { padding: 12rpx 22.5rpx 0; margin-bottom: 33rpx; .swiper { transition: all 0.3s; margin-bottom: 18rpx; .swiper-item { .slideshow-img { width: 100%; border-radius: 15rpx; } } } .indication-point { .indication-point-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); } } } } .ranking { margin: 0 22.5rpx 30rpx; height: 540rpx; background-color: rgba(255, 255, 255, 1); border: 1rpx solid rgba(235, 235, 235, 1); border-radius: 18rpx; font-family: 'PingFangSC-Semibold', 'PingFang SC Semibold', 'PingFang SC', sans-serif; .side { width: 36rpx; height: 36rpx; background-color: #f2f2f2; border-radius: 50%; &.right .icon { transform: rotate(180deg); } .icon { width: 10.5rpx; height: 18rpx; } } .swiper-box { flex-direction: column; width: calc(100% - 110rpx); height: 100%; .btn { width: 225rpx; height: 54rpx; background-color: rgba(4, 176, 213, 1); border-radius: 172.5rpx; font-size: 24rpx; color: #FFFFFF; margin: 0 auto 30rpx; .icon { width: 16.5rpx; height: 18rpx; margin-left: 9rpx; } } } .swiper { height: calc(100% - 84rpx); margin: 0 30rpx; .swiper-item { .title { font-weight: 650; font-size: 30rpx; color: #000000; margin: 30rpx auto 10.5rpx; text-align: center; } .list { .item { height: 72rpx; &:not(:last-of-type) { .content { border-bottom: 1rpx dotted #ebebeb; } } .spot { width: 12rpx; height: 12rpx; background-color: rgba(253, 223, 109, 1); border: 1rpx solid rgba(202, 177, 87, 1); border-radius: 50%; margin-right: 19.5rpx; } .content1 { font-size: 22.5rpx; color: #333333; width: calc(100% - 31.5rpx); height: 100%; line-height: 100%; .name { font-family: 'PingFangSC-Semibold', 'PingFang SC Semibold', 'PingFang SC', sans-serif; font-weight: 650; color: #000000; } .icon { width: 18rpx; height: 18rpx; margin: 0 9rpx; flex-shrink: 0; } .text { // max-width: 260rpx; line-height: 72rpx; height: 72rpx; // display: contents; // flex: 1; // display: contents; } .year { white-space: nowrap; margin-left: 10rpx; } } .content2 { display: inline; font-size: 22.5rpx; color: #333333; width: calc(100% - 31.5rpx); } } } } } }