index.module.scss 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  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. gap: 10px;
  18. padding-right: 10px;
  19. position: relative;
  20. .topBar {
  21. padding-left: 0;
  22. padding-right: 0;
  23. justify-content: center;
  24. flex-direction: column;
  25. width: 85px;
  26. height: 65%;
  27. display: flex;
  28. align-items: center;
  29. position: relative;
  30. gap: 3px;
  31. margin-top: 30px;
  32. .beie {
  33. top: -60px;
  34. left: -414px;
  35. height: 60px;
  36. width: 120px;
  37. font-size: 10px;
  38. line-height: 50px;
  39. color: #fff;
  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: 34%;
  79. left: 50%;
  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. width: 100%;
  101. padding-left: 40px;
  102. padding-right: 20px;
  103. height: 15%;
  104. text-align: justify;
  105. font-size: 15px;
  106. line-height: 24px;
  107. font-weight: 400;
  108. color: #504e40;
  109. // transition: opacity 0.1s ease-out;
  110. display: flex;
  111. flex-direction: column;
  112. justify-content: center;
  113. .intro_title {
  114. height: 40px;
  115. font-size: 22px;
  116. line-height: 30px;
  117. color: rgba(255, 255, 255, 1);
  118. }
  119. .intro_txt {
  120. margin-top: 10px;
  121. height: fit-content;
  122. max-height: calc(100% - 110px);
  123. overflow-y: auto;
  124. margin-bottom: 10px;
  125. &::-webkit-scrollbar {
  126. width: 0px;
  127. }
  128. }
  129. .intro_btn {
  130. width: 180px;
  131. height: 50px;
  132. background-image: url(../../../../assets/img/A6_sangzang_btn2.png);
  133. background-position: center;
  134. background-size: 100% 100%;
  135. line-height: 50px;
  136. font-size: 17px;
  137. text-align: center;
  138. }
  139. }
  140. .translateModal {
  141. width: 80%;
  142. height: 86%;
  143. position: absolute;
  144. bottom: 0;
  145. left: 0;
  146. .txtWithTrans {
  147. margin-left: 30px;
  148. font-size: 16px !important;
  149. line-height: 22px !important;
  150. letter-spacing: 2px;
  151. height: 100%;
  152. text-align: justify;
  153. font-weight: 500;
  154. color: rgba(94, 52, 34, 1); // 原始颜色
  155. overflow: auto;
  156. padding-bottom: 10px;
  157. &::-webkit-scrollbar {
  158. width: 0px;
  159. }
  160. & > a {
  161. color: rgba(94, 52, 34, 1);
  162. position: relative;
  163. &::after {
  164. content: '';
  165. position: absolute;
  166. left: 0;
  167. bottom: -2px;
  168. width: 100%;
  169. height: 2px;
  170. background-color: rgba(166, 118, 67, 1);
  171. transform: scaleX(0.95);
  172. transform-origin: right center;
  173. }
  174. }
  175. .translate {
  176. color: rgba(148, 148, 148, 1);
  177. }
  178. }
  179. }
  180. .detailTxt {
  181. width: 100%;
  182. height: 62%;
  183. display: flex;
  184. justify-content: space-between;
  185. .left,
  186. .right {
  187. width: 49%;
  188. height: 100%;
  189. display: flex;
  190. flex-direction: column;
  191. gap: 10px;
  192. padding: 20px;
  193. .title {
  194. font-size: 16px;
  195. line-height: 0px;
  196. font-weight: bold;
  197. color: rgba(94, 52, 34, 1);
  198. }
  199. .txt {
  200. font-size: 16px !important;
  201. line-height: 22px !important;
  202. letter-spacing: 2px;
  203. text-align: justify;
  204. font-weight: 500;
  205. color: rgba(94, 52, 34, 1); // 原始颜色
  206. overflow: auto;
  207. padding-bottom: 10px;
  208. -webkit-overflow-scrolling: touch;
  209. /* 启用原生平滑滚动 */
  210. overflow-scrolling: touch;
  211. overscroll-behavior-y: none;
  212. .t1 {
  213. width: 100%;
  214. height: 17px;
  215. }
  216. .t2 {
  217. width: 100%;
  218. height: 370px;
  219. }
  220. &::-webkit-scrollbar {
  221. width: 0px;
  222. }
  223. &::-webkit-scrollbar-track {
  224. background-color: transparent;
  225. }
  226. &::-webkit-scrollbar-thumb {
  227. background-color: rgba(94, 52, 34, 0.226);
  228. border-radius: 4px;
  229. }
  230. &:has(> a:hover) {
  231. color: rgba(0, 0, 0, 0.25);
  232. }
  233. &:has(> a:hover) > a:not(:hover) {
  234. color: rgba(0, 0, 0, 0.25);
  235. }
  236. & > a {
  237. color: rgba(94, 52, 34, 1);
  238. position: relative;
  239. &::after {
  240. content: '';
  241. position: absolute;
  242. left: 0;
  243. bottom: -2px;
  244. width: 100%;
  245. height: 2px;
  246. background-color: rgba(166, 118, 67, 1);
  247. transform: scaleX(0.95);
  248. transform-origin: right center;
  249. }
  250. }
  251. }
  252. }
  253. .left {
  254. background: url(../../../../assets/img/detailTxt_l.png) no-repeat center center;
  255. background-size: 100% 100%;
  256. }
  257. .right {
  258. background: url(../../../../assets/img/detailTxt_r.png) no-repeat center center;
  259. background-size: 100% 100%;
  260. }
  261. }
  262. .content {
  263. width: 70%;
  264. height: 50%;
  265. padding-right: 20px;
  266. display: flex;
  267. justify-content: center;
  268. flex-direction: column;
  269. gap: 10px;
  270. color: rgba(94, 52, 34, 1);
  271. .title {
  272. font-size: 20px;
  273. line-height: 20px;
  274. font-weight: bold;
  275. }
  276. .text {
  277. width: 400px;
  278. line-height: 28px;
  279. font-size: 16px;
  280. text-align: justify;
  281. letter-spacing: 2px;
  282. color: #504e40;
  283. & > p {
  284. padding-bottom: 10px;
  285. }
  286. }
  287. .shufaBtn {
  288. width: 180px;
  289. height: 50px;
  290. background-image: url(../../../../assets/img/A6_sangzang_btn2.png);
  291. background-position: center;
  292. background-size: 100% 100%;
  293. line-height: 50px;
  294. font-size: 17px;
  295. text-align: center;
  296. cursor: pointer;
  297. }
  298. }
  299. }
  300. }
  301. }
  302. // -----------英文版
  303. .modalTxtEn {
  304. :global {
  305. // .modalTxtContainner {
  306. // .topBar {
  307. // .beie .txt {
  308. // width: auto;
  309. // font-size: 16px;
  310. // }
  311. // .tab0 {
  312. // width: 100px;
  313. // }
  314. // .tab0,
  315. // .tab1,
  316. // .tab2 {
  317. // .txt {
  318. // font-size: 12px !important;
  319. // }
  320. // }
  321. // .txtAc {
  322. // width: 300px !important;
  323. // max-width: 9999px;
  324. // position: absolute;
  325. // bottom: -5px;
  326. // left: 50%;
  327. // transform: translateX(-50%);
  328. // }
  329. // }
  330. // .content {
  331. // position: relative;
  332. // top: 20px;
  333. // .text {
  334. // text-align: start;
  335. // letter-spacing: 0;
  336. // }
  337. // }
  338. // }
  339. }
  340. }