| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307 |
- .modalTxt {
- width: 55%;
- height: 100%;
- position: absolute;
- z-index: 1;
- top: 50%;
- left: 50%;
- transform: translate(-8%, -50%);
- display: flex;
- align-items: center;
- justify-content: flex-end;
- :global {
- .modalTxtContainner {
- width: 450px;
- height: 100%;
- display: flex;
- flex-direction: column;
- gap: 10px;
- .topBar {
- width: 100%;
- height: 70px;
- display: flex;
- align-items: center;
- justify-content: space-around;
- padding-right: 80px;
- position: relative;
- gap: 10px;
- margin-top: 10px;
- .beie {
- width: 100px;
- height: 50px;
- font-size: 10px;
- line-height: 50px;
- color: #fff;
- position: absolute;
- align-self: flex-start;
- top: 35px;
- left: -109px;
- &>img {
- width: 100px;
- object-fit: contain;
- }
- .txt {
- width: 70px;
- text-align: center;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-65%, -50%);
- cursor: pointer;
- }
- }
- .tab {
- width: fit-content;
- min-width: 70px;
- height: 50px;
- display: flex;
- align-items: center;
- flex-direction: column;
- cursor: pointer;
- position: relative;
- &>img {
- height: 45px;
- object-fit: contain;
- }
- .tabNub {
- font-size: 10px;
- line-height: 45px;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -53%);
- color: rgba(94, 52, 34, 1);
- }
- .tabNubAc {
- color: rgba(255, 233, 182, 1);
- }
- .txt {
- font-size: 10px;
- line-height: 15px;
- text-align: center;
- font-weight: lighter;
- color: rgba(255, 255, 255, 1);
- width: 200%;
- font-weight: 700;
- }
- }
- .tab:nth-child(3) {
- width: 100px;
- }
- }
- .intro {
- width: 100%;
- padding-right: 40px;
- height: 15%;
- font-size: 10px;
- line-height: 15px;
- font-weight: lighter;
- color: rgba(255, 255, 255, 1);
- text-align: justify;
- overflow-y: auto;
- color: black;
- }
- .detailTxt {
- width: 100%;
- padding-right: 40px;
- height: 62%;
- display: flex;
- justify-content: space-between;
- .left,
- .right {
- width: 49%;
- height: 100%;
- display: flex;
- flex-direction: column;
- gap: 10px;
- padding: 20px;
- .title {
- font-size: 13px;
- line-height: 20px;
- font-weight: bold;
- color: rgba(94, 52, 34, 1);
- }
- .txt {
- text-align: justify;
- font-size: 9px;
- line-height: 17px;
- font-weight: 500;
- color: rgba(94, 52, 34, 1); // 原始颜色
- overflow: auto;
- padding-bottom: 10px;
- &::-webkit-scrollbar {
- width: 2px;
- }
- &::-webkit-scrollbar-track {
- background-color: transparent;
- }
- &::-webkit-scrollbar-thumb {
- background-color: rgba(94, 52, 34, 0.226);
- border-radius: 4px;
- }
- &:has(> a:hover) {
- color: rgba(0, 0, 0, 0.25);
- }
- &:has(> a:hover)>a:not(:hover) {
- color: rgba(0, 0, 0, 0.25);
- }
- &>a {
- color: rgba(94, 52, 34, 1);
- position: relative;
- &::after {
- content: '';
- position: absolute;
- left: 0;
- bottom: -1px;
- width: 100%;
- height: 1px;
- background-color: rgba(166, 118, 67, 1);
- transform: scaleX(0.95);
- transform-origin: right center;
- }
- }
- }
- }
- .left {
- background: url(../../../../assets/img/detailTxt_l.png) no-repeat center center;
- background-size: 100% 100%;
- }
- .right {
- background: url(../../../../assets/img/detailTxt_r.png) no-repeat center center;
- background-size: 100% 100%;
- }
- }
- .content {
- width: 100%;
- height: 60%;
- display: flex;
- flex-direction: column;
- gap: 10px;
- color: rgba(94, 52, 34, 1);
- .title {
- font-size: 13px;
- line-height: 20px;
- font-weight: bold;
- }
- .text {
- width: 400px;
- line-height: 15px;
- font-size: 9px;
- text-align: justify;
- letter-spacing: 2px;
- color: #504e40;
- &>p {}
- }
- }
- }
- }
- }
- // -----------移动端
- .modalTxtMo {
- :global {
- .modalTxtContainner {
- .topBar {
- .beie {
- height: 60px;
- width: 120px;
- &>img {
- width: 100%;
- }
- .txt {
- margin-left: 6px;
- font-size: 18px;
- }
- }
- .tab {
- height: 60px;
- img {
- height: 50px;
- }
- .txt {
- font-size: 14px;
- }
- }
- }
- .content {
- .title {
- font-size: 20px;
- }
- .text {
- line-height: 20px;
- font-size: 16px;
- line-height: 24px;
- }
- }
- .intro {
- font-size: 16px;
- line-height: 18px;
- }
- .detailTxt {
- .title {
- font-size: 18px !important;
- }
- .txt {
- font-size: 16px !important;
- line-height: 22px !important;
- letter-spacing: 2px;
- a::after {
- bottom: -2px !important;
- height: 2px !important;
- }
- }
- }
- }
- }
- }
|