| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384 |
- .modalTxt {
- width: 62%;
- height: 100%;
- position: absolute;
- z-index: 1;
- right: 0;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- :global {
- .modalTxtContainner {
- width: 100%;
- height: 100%;
- display: flex;
- justify-content: flex-end;
- align-items: center;
- gap: 10px;
- padding-right: 10px;
- position: relative;
- .topBar {
- padding-left: 0;
- padding-right: 0;
- justify-content: center;
- flex-direction: column;
- width: 85px;
- height: 65%;
- display: flex;
- align-items: center;
- position: relative;
- gap: 3px;
- margin-top: 30px;
- .beie {
- top: -60px;
- left: -414px;
- height: 60px;
- width: 120px;
- font-size: 10px;
- line-height: 50px;
- color: #fff;
- position: absolute;
- align-self: flex-start;
- & > img {
- width: 100%;
- object-fit: contain;
- }
- .txt {
- width: 70px;
- text-align: center;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-65%, -50%);
- cursor: pointer;
- margin-left: 6px;
- font-size: 18px;
- }
- }
- .tab0,
- .tab1,
- .tab2 {
- width: fit-content;
- min-width: 70px;
- width: 85px;
- height: 90px;
- display: flex;
- align-items: center;
- flex-direction: column;
- cursor: pointer;
- position: relative;
- & > img {
- height: 60px;
- object-fit: contain;
- }
- .tabNub {
- transition: all 0.3s ease-in-out;
- font-size: 18px;
- position: absolute;
- top: 34%;
- left: 50%;
- transform: translate(-50%, -73%) !important;
- color: rgba(255, 233, 182, 0.6);
- }
- .tabNubAc {
- color: rgba(255, 233, 182, 1);
- }
- .txt {
- line-height: 15px;
- text-align: center;
- color: rgba(255, 255, 255, 1);
- width: 100%;
- font-size: 14px;
- transition: all 0.3s ease-in-out;
- }
- }
- .tab:nth-child(3) {
- width: 100px;
- }
- }
- .intro {
- width: 100%;
- padding-left: 40px;
- padding-right: 20px;
- height: 15%;
- text-align: justify;
- font-size: 15px;
- line-height: 24px;
- font-weight: 400;
- color: #504e40;
- // transition: opacity 0.1s ease-out;
- display: flex;
- flex-direction: column;
- justify-content: center;
- .intro_title {
- height: 40px;
- font-size: 22px;
- line-height: 30px;
- color: rgba(255, 255, 255, 1);
- }
- .intro_txt {
- margin-top: 10px;
- height: fit-content;
- max-height: calc(100% - 110px);
- overflow-y: auto;
- margin-bottom: 10px;
- &::-webkit-scrollbar {
- width: 0px;
- }
- }
- .intro_btn {
- width: 180px;
- height: 50px;
- background-image: url(../../../../assets/img/A6_sangzang_btn2.png);
- background-position: center;
- background-size: 100% 100%;
- line-height: 50px;
- font-size: 17px;
- text-align: center;
- }
- }
- .translateModal {
- width: 80%;
- height: 86%;
- position: absolute;
- bottom: 0;
- left: 0;
- .txtWithTrans {
- margin-left: 30px;
- font-size: 16px !important;
- line-height: 22px !important;
- letter-spacing: 2px;
- height: 100%;
- text-align: justify;
- font-weight: 500;
- color: rgba(94, 52, 34, 1); // 原始颜色
- overflow: auto;
- padding-bottom: 10px;
- &::-webkit-scrollbar {
- width: 0px;
- }
- & > a {
- color: rgba(94, 52, 34, 1);
- position: relative;
- &::after {
- content: '';
- position: absolute;
- left: 0;
- bottom: -2px;
- width: 100%;
- height: 2px;
- background-color: rgba(166, 118, 67, 1);
- transform: scaleX(0.95);
- transform-origin: right center;
- }
- }
- .translate {
- color: rgba(148, 148, 148, 1);
- }
- }
- }
- .detailTxt {
- width: 100%;
- 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: 16px;
- line-height: 0px;
- font-weight: bold;
- color: rgba(94, 52, 34, 1);
- }
- .txt {
- font-size: 16px !important;
- line-height: 22px !important;
- letter-spacing: 2px;
- text-align: justify;
- font-weight: 500;
- color: rgba(94, 52, 34, 1); // 原始颜色
- overflow: auto;
- padding-bottom: 10px;
- -webkit-overflow-scrolling: touch;
- /* 启用原生平滑滚动 */
- overflow-scrolling: touch;
- overscroll-behavior-y: none;
- .t1 {
- width: 100%;
- height: 17px;
- }
- .t2 {
- width: 100%;
- height: 370px;
- }
- &::-webkit-scrollbar {
- width: 0px;
- }
- &::-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: -2px;
- width: 100%;
- height: 2px;
- 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: 70%;
- height: 50%;
- padding-right: 20px;
- display: flex;
- justify-content: center;
- flex-direction: column;
- gap: 10px;
- color: rgba(94, 52, 34, 1);
- .title {
- font-size: 20px;
- line-height: 20px;
- font-weight: bold;
- }
- .text {
- width: 400px;
- line-height: 28px;
- font-size: 16px;
- text-align: justify;
- letter-spacing: 2px;
- color: #504e40;
- & > p {
- padding-bottom: 10px;
- }
- }
- .shufaBtn {
- width: 180px;
- height: 50px;
- background-image: url(../../../../assets/img/A6_sangzang_btn2.png);
- background-position: center;
- background-size: 100% 100%;
- line-height: 50px;
- font-size: 17px;
- text-align: center;
- cursor: pointer;
- }
- }
- }
- }
- }
- // -----------英文版
- .modalTxtEn {
- :global {
- // .modalTxtContainner {
- // .topBar {
- // .beie .txt {
- // width: auto;
- // font-size: 16px;
- // }
- // .tab0 {
- // width: 100px;
- // }
- // .tab0,
- // .tab1,
- // .tab2 {
- // .txt {
- // font-size: 12px !important;
- // }
- // }
- // .txtAc {
- // width: 300px !important;
- // max-width: 9999px;
- // position: absolute;
- // bottom: -5px;
- // left: 50%;
- // transform: translateX(-50%);
- // }
- // }
- // .content {
- // position: relative;
- // top: 20px;
- // .text {
- // text-align: start;
- // letter-spacing: 0;
- // }
- // }
- // }
- }
- }
|