index.module.scss 16 KB

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