From 7effa0f0994bf8def821f925fd98dbd9bb7e7199 Mon Sep 17 00:00:00 2001 From: A1300399510 Date: Thu, 21 Nov 2024 17:55:29 +0800 Subject: [PATCH] no message --- css/details.css | 209 ++++++++++++++-- css/details.less | 429 +++++++++++++++++++++++---------- html/details.html | 181 +++++++++++--- img/talk-live-icon.png | Bin 0 -> 5020 bytes img/triangle-dark-cyan.svg | 6 + img/triangle-white-lucency.svg | 6 + img/word-answer.png | Bin 0 -> 1861 bytes img/word-live.png | Bin 0 -> 1379 bytes img/word-playback.png | Bin 0 -> 1359 bytes 9 files changed, 644 insertions(+), 187 deletions(-) create mode 100644 img/talk-live-icon.png create mode 100644 img/triangle-dark-cyan.svg create mode 100644 img/triangle-white-lucency.svg create mode 100644 img/word-answer.png create mode 100644 img/word-live.png create mode 100644 img/word-playback.png diff --git a/css/details.css b/css/details.css index 8feec9b..93062a0 100644 --- a/css/details.css +++ b/css/details.css @@ -960,20 +960,181 @@ width: 14px; margin-right: 5px; } -.else { +.right { width: 290px; + margin-left: 10px; +} +.right .live { + width: 100%; + margin-bottom: 20px; + background: linear-gradient(-24.24254087deg, #d6dcf0 0%, #dae6f2 19%, #eff2cc 62%, #eff9f1 100%); + border-radius: 11px; + padding-top: 20px; + padding-bottom: 30px; +} +.right .live .head { + margin-bottom: 17px; +} +.right .live .head .icon { + width: 89px; + height: 28px; + margin-right: 8px; +} +.right .live .head .text { + width: 104px; + height: 24px; + background-color: #026277; + border-radius: 4px; + color: #ffffff; + font-size: 13px; + position: relative; +} +.right .live .head .text .triangle { + position: absolute; + top: 50%; + left: -3px; + transform: translateY(-50%); + width: 6px; + height: 11px; +} +.right .live .content-box { + position: relative; +} +.right .live .content-box .triangle { + width: 14px; + height: 5px; + position: absolute; + bottom: -4px; + left: 50%; + transform: translateX(-50%) rotate(180deg); +} +.right .live .content-box .point { + position: absolute; + left: 50%; + transform: translateX(-50%); + bottom: 28px; +} +.right .live .content-box .point .item { + width: 10px; + height: 4px; + background-color: #d7d7d7; + border-radius: 20px; + cursor: pointer; +} +.right .live .content-box .point .item:not(:last-of-type) { + margin-right: 4px; +} +.right .live .content-box .point .item.pitch { + background-color: #fa6b11; +} +.right .live .content { + height: 340px; + background-color: rgba(255, 255, 255, 0.80392157); + border-radius: 8px; + margin: 0 11px 27px; + display: flex; + overflow: hidden; + position: relative; +} +.right .live .content .swiper { + margin-bottom: 5px; + display: flex; +} +.right .live .content .swiper .swiper-item { + width: 268px; + padding-top: 8px; +} +.right .live .content .swiper .swiper-item .item { + position: relative; + padding-bottom: 13px; +} +.right .live .content .swiper .swiper-item .item:not(:last-of-type)::after { + content: ""; + position: absolute; + width: calc(100% - 50px); + height: 1px; + right: 0; + bottom: 0; + border-bottom: 1px dotted #ebebeb; +} +.right .live .content .swiper .swiper-item .item .icon-box { + padding-left: 9px; + padding-right: 13px; +} +.right .live .content .swiper .swiper-item .item .icon-box .icon { + width: 28px; +} +.right .live .content .swiper .swiper-item .item .text { + font-size: 14px; + color: #000000; + line-height: 26px; + display: -webkit-box; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + -webkit-line-clamp: 2; + padding-top: 8px; + padding-right: 8px; +} +.right .live .content .swiper .swiper-item .item .text .admissionState { + height: 20px; + background-color: #b30081; + border-radius: 115px; + color: #ffffff; + font-size: 13px; + padding: 0 6px; + display: inline-flex; + width: fit-content; +} +.right .live .content .swiper .swiper-item .item .text .admissionState.state2 { + background-color: #bec105; +} +.right .live .content .swiper .swiper-item .item .text .admissionState.state3 { + background-color: #04b0d5; +} +.right .live .word { + margin-bottom: 9px; +} +.right .live .word .item { + width: 34px; + height: 22px; + padding: 0 5px; + box-sizing: content-box; +} +.right .live .word .item:not(:last-of-type) { + border-right: 1px solid #aaaaaa; +} +.right .live .hint { + font-size: 13px; + color: #333333; + line-height: 26px; + text-align: center; + margin-bottom: 13px; +} +.right .live .QR-code { + width: 120px; + height: 120px; + background-color: #ffffff; + border-radius: 8px; + margin: 0 auto; +} +.right .live .QR-code .icon { + width: 103px; + height: 103px; +} +.right .else { + width: 100%; background: -webkit-linear-gradient(270.00883066deg, #f7fbf7 0%, #eaf6ea 100%); background: -moz-linear-gradient(179.99116934deg, #f7fbf7 0%, #eaf6ea 100%); background: linear-gradient(179.99116934deg, #f7fbf7 0%, #eaf6ea 100%); border: none; border-radius: 12px; padding: 20px 10px 0; - margin-left: 10px; } -.else .school { +.right .else .school { margin-bottom: 20px; } -.else .school .logo { +.right .else .school .logo { width: 50px; height: 50px; background-color: #ffffff; @@ -981,10 +1142,10 @@ border-radius: 8px; margin-right: 10px; } -.else .school .logo .img { +.right .else .school .logo .img { height: 30px; } -.else .school .info .name { +.right .else .school .info .name { font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; font-weight: 650; font-style: normal; @@ -992,17 +1153,17 @@ color: #000000; margin-bottom: 5px; } -.else .school .info .name-en { +.right .else .school .info .name-en { font-size: 13px; color: #555555; } -.else .case { +.right .else .case { width: 270px; background-color: #ffffff; border-radius: 8px; margin-bottom: 20px; } -.else .case .head { +.right .else .case .head { width: 270px; height: 45px; border-bottom: 1px dotted #ebebeb; @@ -1011,7 +1172,7 @@ border-radius: 8px 8px 0 0; overflow: hidden; } -.else .case .head .dot { +.right .else .case .head .dot { width: 14px; height: 14px; background-color: #e7f7ee; @@ -1020,7 +1181,7 @@ position: relative; margin-right: 10px; } -.else .case .head .dot::after { +.right .else .case .head .dot::after { content: ""; width: 6px; height: 6px; @@ -1034,59 +1195,59 @@ left: 50%; transform: translate(-50%, -50%); } -.else .case .head .text { +.right .else .case .head .text { font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; font-weight: 650; font-style: normal; font-size: 16px; color: #000000; } -.else .case .head .img { +.right .else .case .head .img { width: 14px; height: 14px; transform: rotate(270deg); } -.else .case .list .item { +.right .else .case .list .item { padding: 20px 10px; display: block; } -.else .case .list .item:not(:last-of-type) { +.right .else .case .list .item:not(:last-of-type) { border-bottom: 1px solid #f6f6f6; } -.else .case .list .item .name { +.right .else .case .list .item .name { font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; font-weight: 650; font-size: 15px; color: #000000; margin-bottom: 8px; } -.else .case .list .item .brief { +.right .else .case .list .item .brief { font-size: 14px; color: #7f7f7f; } -.else .case .list .item .brief span { +.right .else .case .list .item .brief span { color: #d7d7d7; margin: 0 8px; } -.else .case.mj .list .item { +.right .else .case.mj .list .item { padding-top: 15px; } -.else .case.mj .list .item:not(:last-of-type) { +.right .else .case.mj .list .item:not(:last-of-type) { border-bottom: 1px dotted #ebebeb; } -.else .case.mj .list .name { +.right .else .case.mj .list .name { font-weight: 650; font-style: normal; font-size: 15px; color: #000000; } -.else .case.mj .list .brief-box { +.right .else .case.mj .list .brief-box { padding: 10px 15px 10px 10px; width: 251px; border-radius: 6px; background-color: #f7f7f7; } -.else .case.mj .list .brief { +.right .else .case.mj .list .brief { display: inline-block; font-family: "PingFangSC-Regular", "PingFang SC", sans-serif; font-weight: 400; @@ -1100,7 +1261,7 @@ -webkit-line-clamp: 2; -webkit-box-orient: vertical; } -.else .case.mj .list .brief .avatar { +.right .else .case.mj .list .brief .avatar { width: 20px; height: 20px; margin-right: 5px; diff --git a/css/details.less b/css/details.less index 8dfb565..a4379a8 100644 --- a/css/details.less +++ b/css/details.less @@ -1104,166 +1104,345 @@ } } -.else { +.right { width: 290px; - background: -webkit-linear-gradient(270.008830663227deg, rgba(247, 251, 247, 1) 0%, rgba(234, 246, 234, 1) 100%); - background: -moz-linear-gradient(179.991169336773deg, rgba(247, 251, 247, 1) 0%, rgba(234, 246, 234, 1) 100%); - background: linear-gradient(179.991169336773deg, rgba(247, 251, 247, 1) 0%, rgba(234, 246, 234, 1) 100%); - border: none; - border-radius: 12px; - padding: 20px 10px 0; margin-left: 10px; - .school { + .live { + width: 100%; margin-bottom: 20px; + background: linear-gradient(-24.2425408707597deg, rgba(214, 220, 240, 1) 0%, rgba(218, 230, 242, 1) 19%, rgba(239, 242, 204, 1) 62%, rgba(239, 249, 241, 1) 100%); + border-radius: 11px; + padding-top: 20px; - .logo { - width: 50px; - height: 50px; - background-color: rgba(255, 255, 255, 1); - border: 1px solid rgba(246, 246, 246, 1); - border-radius: 8px; - margin-right: 10px; - .img { - height: 30px; + padding-bottom: 30px; + .head { + margin-bottom: 17px; + .icon { + width: 89px; + height: 28px; + margin-right: 8px; + } + + .text { + width: 104px; + height: 24px; + background-color: rgba(2, 98, 119, 1); + border-radius: 4px; + color: #ffffff; + font-size: 13px; + position: relative; + .triangle { + position: absolute; + top: 50%; + left: -3px; + transform: translateY(-50%); + width: 6px; + height: 11px; + } } } - .info { - .name { - font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; - font-weight: 650; - font-style: normal; - font-size: 18px; - color: #000000; - margin-bottom: 5px; + + .content-box { + position: relative; + .triangle { + width: 14px; + height: 5px; + position: absolute; + bottom: -4px; + left: 50%; + transform: translateX(-50%) rotate(180deg); } - .name-en { - font-size: 13px; - color: #555555; + .point { + position: absolute; + left: 50%; + transform: translateX(-50%); + bottom: 28px; + .item { + &:not(:last-of-type) { + margin-right: 4px; + } + width: 10px; + height: 4px; + background-color: rgba(215, 215, 215, 1); + border-radius: 20px; + cursor: pointer; + + &.pitch { + background-color: rgba(250, 107, 17, 1); + } + } + } + } + + .content { + // width: 268px; + height: 340px; + background-color: rgba(255, 255, 255, 0.803921568627451); + border-radius: 8px; + margin: 0 11px 27px; + display: flex; + overflow: hidden; + position: relative; + .swiper { + margin-bottom: 5px; + display: flex; + .swiper-item { + width: 268px; + padding-top: 8px; + .item { + position: relative; + padding-bottom: 13px; + + &:not(:last-of-type)::after { + content: ""; + position: absolute; + width: calc(100% - 50px); + height: 1px; + right: 0; + bottom: 0; + border-bottom: 1px dotted rgb(235, 235, 235); + } + + .icon-box { + padding-left: 9px; + padding-right: 13px; + .icon { + width: 28px; + } + } + + .text { + .admissionState { + height: 20px; + background-color: rgba(179, 0, 129, 1); + border-radius: 115px; + color: #ffffff; + font-size: 13px; + padding: 0 6px; + display: inline-flex; + width: fit-content; + + &.state2 { + background-color: #bec105; + } + + &.state3 { + background-color: rgba(4, 176, 213, 1); + } + } + font-size: 14px; + color: #000000; + line-height: 26px; + display: -webkit-box; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + -webkit-line-clamp: 2; + padding-top: 8px; + padding-right: 8px; + } + } + } + } + } + + .word { + .item { + width: 34px; + height: 22px; + padding: 0 5px; + box-sizing: content-box; + &:not(:last-of-type) { + border-right: 1px solid #aaaaaa; + } + } + + margin-bottom: 9px; + } + + .hint { + font-size: 13px; + color: #333333; + line-height: 26px; + text-align: center; + margin-bottom: 13px; + } + + .QR-code { + width: 120px; + height: 120px; + background-color: rgba(255, 255, 255, 1); + border-radius: 8px; + margin: 0 auto; + .icon { + width: 103px; + height: 103px; } } } - .case { - width: 270px; - background-color: #ffffff; - border-radius: 8px; - margin-bottom: 20px; - .head { - width: 270px; - height: 45px; - border-bottom: 1px dotted rgb(235, 235, 235); - padding: 0 10px; - background: linear-gradient(to right, #d8f1d8, rgba(255, 255, 255, 0.501961)); - border-radius: 8px 8px 0 0; - overflow: hidden; - .dot { - width: 14px; - height: 14px; - background-color: rgba(231, 247, 238, 1); - border: 1px solid rgba(183, 196, 189, 1); - border-radius: 39px; - position: relative; + .else { + width: 100%; + background: -webkit-linear-gradient(270.008830663227deg, rgba(247, 251, 247, 1) 0%, rgba(234, 246, 234, 1) 100%); + background: -moz-linear-gradient(179.991169336773deg, rgba(247, 251, 247, 1) 0%, rgba(234, 246, 234, 1) 100%); + background: linear-gradient(179.991169336773deg, rgba(247, 251, 247, 1) 0%, rgba(234, 246, 234, 1) 100%); + border: none; + border-radius: 12px; + padding: 20px 10px 0; + + .school { + margin-bottom: 20px; + + .logo { + width: 50px; + height: 50px; + background-color: rgba(255, 255, 255, 1); + border: 1px solid rgba(246, 246, 246, 1); + border-radius: 8px; margin-right: 10px; - &::after { - content: ""; - width: 6px; - height: 6px; - display: block; - background-color: rgba(114, 219, 134, 1); - border: 1px solid rgba(87, 168, 105, 1); - border-radius: 39px; - box-sizing: border-box; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); + .img { + height: 30px; } } - - .text { - font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; - font-weight: 650; - font-style: normal; - font-size: 16px; - color: #000000; - } - - .img { - width: 14px; - height: 14px; - transform: rotate(270deg); - } - } - - .list { - .item { - &:not(:last-of-type) { - border-bottom: 1px solid rgb(246, 246, 246); - } - padding: 20px 10px; - display: block; + .info { .name { font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; font-weight: 650; - font-size: 15px; + font-style: normal; + font-size: 18px; color: #000000; - margin-bottom: 8px; + margin-bottom: 5px; } - .brief { - font-size: 14px; - color: #7f7f7f; - span { - color: #d7d7d7; - margin: 0 8px; - } + .name-en { + font-size: 13px; + color: #555555; } } } - &.mj { - .list { - .item { - padding-top: 15px; - &:not(:last-of-type) { - border-bottom: 1px dotted rgb(235, 235, 235); + .case { + width: 270px; + background-color: #ffffff; + border-radius: 8px; + margin-bottom: 20px; + .head { + width: 270px; + height: 45px; + border-bottom: 1px dotted rgb(235, 235, 235); + padding: 0 10px; + background: linear-gradient(to right, #d8f1d8, rgba(255, 255, 255, 0.501961)); + border-radius: 8px 8px 0 0; + overflow: hidden; + .dot { + width: 14px; + height: 14px; + background-color: rgba(231, 247, 238, 1); + border: 1px solid rgba(183, 196, 189, 1); + border-radius: 39px; + position: relative; + margin-right: 10px; + &::after { + content: ""; + width: 6px; + height: 6px; + display: block; + background-color: rgba(114, 219, 134, 1); + border: 1px solid rgba(87, 168, 105, 1); + border-radius: 39px; + box-sizing: border-box; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); } } - .name { + + .text { + font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; font-weight: 650; font-style: normal; - font-size: 15px; + font-size: 16px; color: #000000; } - .brief-box { - padding: 10px 15px 10px 10px; - width: 251px; - border-radius: 6px; - background-color: rgba(247, 247, 247, 1); + + .img { + width: 14px; + height: 14px; + transform: rotate(270deg); } - .brief { - display: inline-block; - font-family: "PingFangSC-Regular", "PingFang SC", sans-serif; - font-weight: 400; - font-style: normal; - color: #555555; - line-height: 20px; - font-size: 13px; + } - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical; + .list { + .item { + &:not(:last-of-type) { + border-bottom: 1px solid rgb(246, 246, 246); + } + padding: 20px 10px; + display: block; + .name { + font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; + font-weight: 650; + font-size: 15px; + color: #000000; + margin-bottom: 8px; + } + .brief { + font-size: 14px; + color: #7f7f7f; - .avatar { - width: 20px; - height: 20px; - margin-right: 5px; - vertical-align: bottom; - border-radius: 50%; + span { + color: #d7d7d7; + margin: 0 8px; + } + } + } + } + + &.mj { + .list { + .item { + padding-top: 15px; + &:not(:last-of-type) { + border-bottom: 1px dotted rgb(235, 235, 235); + } + } + .name { + font-weight: 650; + font-style: normal; + font-size: 15px; + color: #000000; + } + .brief-box { + padding: 10px 15px 10px 10px; + width: 251px; + border-radius: 6px; + background-color: rgba(247, 247, 247, 1); + } + .brief { + display: inline-block; + font-family: "PingFangSC-Regular", "PingFang SC", sans-serif; + font-weight: 400; + font-style: normal; + color: #555555; + line-height: 20px; + font-size: 13px; + + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + + .avatar { + width: 20px; + height: 20px; + margin-right: 5px; + vertical-align: bottom; + border-radius: 50%; + } } } } diff --git a/html/details.html b/html/details.html index 0042d23..59388bf 100644 --- a/html/details.html +++ b/html/details.html @@ -483,57 +483,112 @@ -
-
-