index.module.scss 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737
  1. .modalTxt {
  2. width: 62%;
  3. height: 100%;
  4. position: absolute;
  5. z-index: 1;
  6. right: 0;
  7. display: flex;
  8. align-items: center;
  9. justify-content: flex-end;
  10. :global {
  11. .modalTxtContainner {
  12. width: 100%;
  13. height: 100%;
  14. display: flex;
  15. justify-content: flex-end;
  16. align-items: center;
  17. padding-right: 10px;
  18. position: relative;
  19. .topBar {
  20. padding-left: 0;
  21. padding-right: 0;
  22. justify-content: center;
  23. flex-direction: column;
  24. width: 85px;
  25. height: 65%;
  26. display: flex;
  27. align-items: center;
  28. position: relative;
  29. gap: 3px;
  30. margin-top: 30px;
  31. .beie {
  32. top: -60px;
  33. left: -414px;
  34. height: 60px;
  35. width: 120px;
  36. font-size: 10px;
  37. line-height: 50px;
  38. color: #fff;
  39. text-shadow: 0px 0px 4px #7c4b36;
  40. position: absolute;
  41. align-self: flex-start;
  42. & > img {
  43. width: 100%;
  44. object-fit: contain;
  45. }
  46. .txt {
  47. width: 70px;
  48. text-align: center;
  49. position: absolute;
  50. top: 50%;
  51. left: 50%;
  52. transform: translate(-65%, -50%);
  53. cursor: pointer;
  54. margin-left: 6px;
  55. font-size: 18px;
  56. }
  57. }
  58. .tab0,
  59. .tab1,
  60. .tab2 {
  61. width: fit-content;
  62. min-width: 70px;
  63. width: 85px;
  64. height: 90px;
  65. display: flex;
  66. align-items: center;
  67. flex-direction: column;
  68. cursor: pointer;
  69. position: relative;
  70. & > img {
  71. height: 60px;
  72. object-fit: contain;
  73. }
  74. .tabNub {
  75. transition: all 0.3s ease-in-out;
  76. font-size: 18px;
  77. position: absolute;
  78. top: 32%;
  79. left: 48%;
  80. transform: translate(-50%, -73%) !important;
  81. color: rgba(255, 233, 182, 0.6);
  82. }
  83. .tabNubAc {
  84. color: rgba(255, 233, 182, 1);
  85. }
  86. .txt {
  87. line-height: 15px;
  88. text-align: center;
  89. color: rgba(255, 255, 255, 1);
  90. width: 100%;
  91. font-size: 14px;
  92. transition: all 0.3s ease-in-out;
  93. }
  94. }
  95. .tab:nth-child(3) {
  96. width: 100px;
  97. }
  98. }
  99. .intro {
  100. background-image: url(../../../../assets/img/A2_back.png);
  101. background-position: center;
  102. background-size: 100% 100%;
  103. background-repeat: no-repeat;
  104. width: 100%;
  105. padding-left: 40px;
  106. padding-right: 40px;
  107. padding-top: 40px;
  108. padding-bottom: 20px;
  109. height: fit-content;
  110. text-align: justify;
  111. font-size: 15px;
  112. line-height: 24px;
  113. font-weight: 400;
  114. color: rgba(69, 68, 55, 1);
  115. // transition: opacity 0.1s ease-out;
  116. display: flex;
  117. flex-direction: column;
  118. justify-content: center;
  119. // height: 330px;
  120. position: relative;
  121. &::before {
  122. content: '';
  123. position: absolute;
  124. top: 15px;
  125. left: 15px;
  126. width: 14px;
  127. height: 14px;
  128. background-image: url(../../../../assets/img/A2_backDian.png);
  129. background-size: 100% 100%;
  130. }
  131. .intro_title {
  132. height: 30px;
  133. font-size: 20px;
  134. line-height: 30px;
  135. color: rgba(124, 75, 54, 1);
  136. font-weight: bold;
  137. }
  138. .intro_txt {
  139. margin-top: 10px;
  140. height: fit-content;
  141. max-height: calc(100% - 90px);
  142. overflow-y: auto;
  143. margin-bottom: 10px;
  144. // text-align: justify;
  145. mask-image: linear-gradient(
  146. to bottom,
  147. rgba(0, 0, 0, 1) 0%,
  148. rgba(0, 0, 0, 1) 95%,
  149. /* 保留顶部70%不透明 */ rgba(0, 0, 0, 0) 100% /* 底部30%完全透明 */
  150. );
  151. -webkit-mask-image: linear-gradient(
  152. to bottom,
  153. rgba(0, 0, 0, 1) 0%,
  154. rgba(0, 0, 0, 1) 95%,
  155. rgba(0, 0, 0, 0) 100%
  156. );
  157. &::-webkit-scrollbar {
  158. width: 0px;
  159. }
  160. }
  161. .intro_btn {
  162. margin-top: 0px;
  163. width: 150px;
  164. height: 30px;
  165. background-image: url(../../../../assets/img/A2_ywyw_btn.png);
  166. background-position: center;
  167. background-size: 100% auto;
  168. padding-left: 35px;
  169. line-height: 30px;
  170. font-size: 15px;
  171. color: rgba(175, 135, 100, 1);
  172. align-self: flex-end;
  173. animation: fadeInOut 3s linear infinite;
  174. display: flex;
  175. align-items: center;
  176. position: relative;
  177. right: -15px;
  178. .intro_btn_dot {
  179. width: 6px;
  180. height: 2px;
  181. margin-left: 4px;
  182. text-align: center;
  183. border-left: 2px solid rgba(175, 135, 100, 1);
  184. }
  185. .intro_btn_arrow {
  186. width: 26px;
  187. height: 30px;
  188. text-align: center;
  189. font-size: 25px;
  190. }
  191. }
  192. }
  193. .translateModal {
  194. background-image: url(../../../../assets/img/A2_back.png);
  195. background-position: center;
  196. background-size: 100% 100%;
  197. width: 100%;
  198. height: 82%;
  199. display: flex;
  200. align-items: center;
  201. justify-content: center;
  202. position: relative;
  203. &::before {
  204. content: '';
  205. position: absolute;
  206. top: 15px;
  207. right: 15px;
  208. width: 14px;
  209. height: 14px;
  210. background-image: url(../../../../assets/img/A2_backDian.png);
  211. background-size: 100% 100%;
  212. }
  213. .txtWithTrans {
  214. font-size: 16px !important;
  215. line-height: 32px !important;
  216. height: 90%;
  217. width: 100%;
  218. text-align: justify;
  219. // font-weight: 500;
  220. color: black; // 原始颜色
  221. overflow: auto;
  222. padding: 20px 30px;
  223. mask-image: linear-gradient(
  224. to bottom,
  225. rgba(0, 0, 0, 1) 0%,
  226. rgba(0, 0, 0, 1) 80%,
  227. /* 保留顶部70%不透明 */ rgba(0, 0, 0, 0) 100% /* 底部30%完全透明 */
  228. );
  229. -webkit-mask-image: linear-gradient(
  230. to bottom,
  231. rgba(0, 0, 0, 1) 0%,
  232. rgba(0, 0, 0, 1) 80%,
  233. rgba(0, 0, 0, 0) 100%
  234. );
  235. &::-webkit-scrollbar {
  236. width: 0px;
  237. }
  238. & > a {
  239. color: black;
  240. position: relative;
  241. &::after {
  242. content: '';
  243. position: absolute;
  244. left: 0;
  245. bottom: -4px;
  246. width: 100%;
  247. height: 2px;
  248. background-color: rgba(208, 131, 63, 1);
  249. transform: scaleX(0.95);
  250. transform-origin: right center;
  251. }
  252. }
  253. .translate {
  254. color: rgba(148, 148, 148, 1);
  255. }
  256. }
  257. }
  258. .detailTxt {
  259. width: 100%;
  260. height: 62%;
  261. display: flex;
  262. justify-content: space-between;
  263. .left,
  264. .right {
  265. width: 49%;
  266. height: 100%;
  267. display: flex;
  268. flex-direction: column;
  269. gap: 10px;
  270. padding: 20px;
  271. .title {
  272. font-size: 16px;
  273. line-height: 0px;
  274. font-weight: bold;
  275. color: rgba(94, 52, 34, 1);
  276. }
  277. .txt {
  278. font-size: 16px !important;
  279. line-height: 22px !important;
  280. letter-spacing: 2px;
  281. text-align: justify;
  282. font-weight: 500;
  283. color: rgba(94, 52, 34, 1); // 原始颜色
  284. overflow: auto;
  285. padding-bottom: 10px;
  286. -webkit-overflow-scrolling: touch;
  287. /* 启用原生平滑滚动 */
  288. overflow-scrolling: touch;
  289. overscroll-behavior-y: none;
  290. .t1 {
  291. width: 100%;
  292. height: 17px;
  293. }
  294. .t2 {
  295. width: 100%;
  296. height: 370px;
  297. }
  298. &::-webkit-scrollbar {
  299. width: 0px;
  300. }
  301. &::-webkit-scrollbar-track {
  302. background-color: transparent;
  303. }
  304. &::-webkit-scrollbar-thumb {
  305. background-color: rgba(94, 52, 34, 0.226);
  306. border-radius: 4px;
  307. }
  308. &:has(> a:hover) {
  309. color: rgba(0, 0, 0, 0.25);
  310. }
  311. &:has(> a:hover) > a:not(:hover) {
  312. color: rgba(0, 0, 0, 0.25);
  313. }
  314. & > a {
  315. color: rgba(94, 52, 34, 1);
  316. position: relative;
  317. &::after {
  318. content: '';
  319. position: absolute;
  320. left: 0;
  321. bottom: -2px;
  322. width: 100%;
  323. height: 2px;
  324. background-color: rgba(166, 118, 67, 1);
  325. transform: scaleX(0.95);
  326. transform-origin: right center;
  327. }
  328. }
  329. }
  330. }
  331. .left {
  332. background: url(../../../../assets/img/detailTxt_l.png) no-repeat center center;
  333. background-size: 100% 100%;
  334. }
  335. .right {
  336. background: url(../../../../assets/img/detailTxt_r.png) no-repeat center center;
  337. background-size: 100% 100%;
  338. }
  339. }
  340. .content {
  341. padding-top: 40px;
  342. width: 70%;
  343. height: 50%;
  344. padding-right: 20px;
  345. display: flex;
  346. justify-content: center;
  347. flex-direction: column;
  348. gap: 10px;
  349. color: rgba(94, 52, 34, 1);
  350. .title {
  351. font-size: 20px;
  352. line-height: 20px;
  353. font-weight: bold;
  354. margin-bottom: 10px;
  355. }
  356. .text {
  357. width: 400px;
  358. line-height: 28px;
  359. font-size: 16px;
  360. text-align: justify;
  361. // letter-spacing: 2px;
  362. color: #504e40;
  363. & > p {
  364. padding-bottom: 10px;
  365. }
  366. }
  367. .shufaBtn {
  368. width: 150px;
  369. height: 50px;
  370. background-image: url(../../../../assets/img/A2_sfjs_btn.png);
  371. background-position: center;
  372. background-repeat: no-repeat;
  373. background-size: 100% auto;
  374. line-height: 50px;
  375. font-size: 17px;
  376. margin-top: 11px;
  377. text-align: center;
  378. letter-spacing: 2px;
  379. cursor: pointer;
  380. padding-left: 15px;
  381. }
  382. }
  383. }
  384. }
  385. }
  386. // -----------英文版
  387. .modalTxtEn {
  388. :global {
  389. .modalTxtContainner {
  390. width: 100%;
  391. height: 100%;
  392. display: flex;
  393. justify-content: flex-end;
  394. align-items: center;
  395. padding-right: 10px;
  396. position: relative;
  397. .topBar {
  398. .beie {
  399. .txt {
  400. width: 170px;
  401. transform: translate(-36%, -56%);
  402. font-size: 13px;
  403. }
  404. }
  405. .tab0,
  406. .tab1,
  407. .tab2 {
  408. width: fit-content;
  409. min-width: 70px;
  410. width: 85px;
  411. height: 105px;
  412. .tabNub {
  413. font-size: 15px;
  414. transform: translate(-50%, -90%) !important;
  415. }
  416. .txt {
  417. line-height: 10px;
  418. font-size: 10px;
  419. }
  420. }
  421. }
  422. .intro {
  423. background-image: url(../../../../assets/img/A2_back.png);
  424. background-position: center;
  425. background-size: 100% 100%;
  426. background-repeat: no-repeat;
  427. width: 100%;
  428. padding-left: 40px;
  429. padding-right: 40px;
  430. padding-top: 40px;
  431. padding-bottom: 20px;
  432. height: fit-content;
  433. text-align: justify;
  434. font-size: 15px;
  435. line-height: 24px;
  436. font-weight: 400;
  437. color: rgba(69, 68, 55, 1);
  438. // transition: opacity 0.1s ease-out;
  439. display: flex;
  440. flex-direction: column;
  441. justify-content: center;
  442. // height: 330px;
  443. position: relative;
  444. &::before {
  445. content: '';
  446. position: absolute;
  447. top: 15px;
  448. left: 15px;
  449. width: 14px;
  450. height: 14px;
  451. background-image: url(../../../../assets/img/A2_backDian.png);
  452. background-size: 100% 100%;
  453. }
  454. .intro_title {
  455. height: fit-content;
  456. line-height: 22px;
  457. }
  458. .intro_txt {
  459. max-height: 200px;
  460. line-height: 21px;
  461. text-align: left;
  462. }
  463. .intro_btn {
  464. width: 220px;
  465. background-image: url(../../../../assets/img/A2_ywyw_E.png);
  466. background-position: center;
  467. background-repeat: no-repeat;
  468. background-size: 100% auto;
  469. }
  470. }
  471. .translateModal {
  472. background-image: url(../../../../assets/img/A2_back.png);
  473. background-position: center;
  474. background-size: 100% 100%;
  475. width: 100%;
  476. height: 82%;
  477. display: flex;
  478. align-items: center;
  479. justify-content: center;
  480. position: relative;
  481. &::before {
  482. content: '';
  483. position: absolute;
  484. top: 15px;
  485. right: 15px;
  486. width: 14px;
  487. height: 14px;
  488. background-image: url(../../../../assets/img/A2_backDian.png);
  489. background-size: 100% 100%;
  490. }
  491. .txtWithTrans {
  492. font-size: 16px !important;
  493. line-height: 32px !important;
  494. height: 90%;
  495. width: 100%;
  496. text-align: justify;
  497. // font-weight: 500;
  498. color: black; // 原始颜色
  499. overflow: auto;
  500. padding: 20px 30px;
  501. mask-image: linear-gradient(
  502. to bottom,
  503. rgba(0, 0, 0, 1) 0%,
  504. rgba(0, 0, 0, 1) 80%,
  505. /* 保留顶部70%不透明 */ rgba(0, 0, 0, 0) 100% /* 底部30%完全透明 */
  506. );
  507. -webkit-mask-image: linear-gradient(
  508. to bottom,
  509. rgba(0, 0, 0, 1) 0%,
  510. rgba(0, 0, 0, 1) 80%,
  511. rgba(0, 0, 0, 0) 100%
  512. );
  513. &::-webkit-scrollbar {
  514. width: 0px;
  515. }
  516. & > a {
  517. color: black;
  518. position: relative;
  519. &::after {
  520. content: '';
  521. position: absolute;
  522. left: 0;
  523. bottom: -4px;
  524. width: 100%;
  525. height: 2px;
  526. background-color: rgba(208, 131, 63, 1);
  527. transform: scaleX(0.95);
  528. transform-origin: right center;
  529. }
  530. }
  531. .translate {
  532. color: rgba(148, 148, 148, 1);
  533. }
  534. }
  535. }
  536. .detailTxt {
  537. width: 100%;
  538. height: 62%;
  539. display: flex;
  540. justify-content: space-between;
  541. .left,
  542. .right {
  543. width: 49%;
  544. height: 100%;
  545. display: flex;
  546. flex-direction: column;
  547. gap: 10px;
  548. padding: 20px;
  549. .title {
  550. font-size: 16px;
  551. line-height: 0px;
  552. font-weight: bold;
  553. color: rgba(94, 52, 34, 1);
  554. }
  555. .txt {
  556. font-size: 16px !important;
  557. line-height: 22px !important;
  558. letter-spacing: 2px;
  559. text-align: justify;
  560. font-weight: 500;
  561. color: rgba(94, 52, 34, 1); // 原始颜色
  562. overflow: auto;
  563. padding-bottom: 10px;
  564. -webkit-overflow-scrolling: touch;
  565. /* 启用原生平滑滚动 */
  566. overflow-scrolling: touch;
  567. overscroll-behavior-y: none;
  568. .t1 {
  569. width: 100%;
  570. height: 17px;
  571. }
  572. .t2 {
  573. width: 100%;
  574. height: 370px;
  575. }
  576. &::-webkit-scrollbar {
  577. width: 0px;
  578. }
  579. &::-webkit-scrollbar-track {
  580. background-color: transparent;
  581. }
  582. &::-webkit-scrollbar-thumb {
  583. background-color: rgba(94, 52, 34, 0.226);
  584. border-radius: 4px;
  585. }
  586. &:has(> a:hover) {
  587. color: rgba(0, 0, 0, 0.25);
  588. }
  589. &:has(> a:hover) > a:not(:hover) {
  590. color: rgba(0, 0, 0, 0.25);
  591. }
  592. & > a {
  593. color: rgba(94, 52, 34, 1);
  594. position: relative;
  595. &::after {
  596. content: '';
  597. position: absolute;
  598. left: 0;
  599. bottom: -2px;
  600. width: 100%;
  601. height: 2px;
  602. background-color: rgba(166, 118, 67, 1);
  603. transform: scaleX(0.95);
  604. transform-origin: right center;
  605. }
  606. }
  607. }
  608. }
  609. .left {
  610. background: url(../../../../assets/img/detailTxt_l.png) no-repeat center center;
  611. background-size: 100% 100%;
  612. }
  613. .right {
  614. background: url(../../../../assets/img/detailTxt_r.png) no-repeat center center;
  615. background-size: 100% 100%;
  616. }
  617. }
  618. .content {
  619. padding-top: 40px;
  620. width: 70%;
  621. height: 50%;
  622. padding-right: 20px;
  623. display: flex;
  624. justify-content: center;
  625. flex-direction: column;
  626. gap: 10px;
  627. color: rgba(94, 52, 34, 1);
  628. .title {
  629. font-size: 20px;
  630. line-height: 20px;
  631. font-weight: bold;
  632. margin-bottom: 10px;
  633. }
  634. .text {
  635. width: 278px;
  636. line-height: 17px;
  637. font-size: 12px;
  638. text-align: left;
  639. }
  640. .shufaBtn {
  641. white-space: nowrap;
  642. font-size: 14px;
  643. padding-left: 40px;
  644. letter-spacing: 0px;
  645. }
  646. }
  647. }
  648. }
  649. }