index.module.scss 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750
  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: flex-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. width: 100%;
  146. height: 10%;
  147. flex-direction: column;
  148. align-items: center;
  149. .ant-pagination-item-active {
  150. background-color: rgba(248, 241, 226, 1);
  151. border: none;
  152. }
  153. }
  154. .detail {
  155. position: absolute;
  156. width: 100%;
  157. height: 100%;
  158. top: 0;
  159. left: 0;
  160. background-color: rgba(255, 251, 244, 1);
  161. & > iframe {
  162. width: 100%;
  163. height: 100%;
  164. border: none;
  165. }
  166. .info {
  167. position: absolute;
  168. top: 8%;
  169. left: 3%;
  170. display: flex;
  171. align-items: center;
  172. width: 350px;
  173. height: 280px;
  174. background-color: rgba(251, 242, 227, 1);
  175. border: 1px solid rgba(230, 203, 160, 1);
  176. border-radius: 10px;
  177. padding: 30px 10px;
  178. .arrow {
  179. width: 33px;
  180. padding-right: 20px;
  181. height: 100%;
  182. display: flex;
  183. align-items: center;
  184. cursor: pointer;
  185. & > img {
  186. width: 100%;
  187. object-fit: contain;
  188. }
  189. }
  190. .arrowR {
  191. width: 23px;
  192. padding: 0;
  193. padding-left: 10px;
  194. }
  195. .content {
  196. width: 350px;
  197. height: 100%;
  198. display: flex;
  199. flex-direction: column;
  200. gap: 10px;
  201. & > div {
  202. width: 100%;
  203. font-size: 15px;
  204. color: rgba(159, 91, 44, 1);
  205. letter-spacing: 1px;
  206. }
  207. .title {
  208. text-align: left;
  209. width: fit-content;
  210. height: 20px;
  211. font-size: 18px;
  212. font-weight: bold;
  213. color: rgba(159, 91, 44, 1);
  214. &::after {
  215. content: '';
  216. position: relative;
  217. bottom: 8px;
  218. left: -10%;
  219. display: block;
  220. width: 120%;
  221. height: 10px;
  222. background-color: rgba(159, 91, 44, 0.5);
  223. }
  224. }
  225. .texture {
  226. margin-top: 20px;
  227. }
  228. .size {
  229. height: 80px;
  230. }
  231. }
  232. }
  233. .hideInfo {
  234. transform: translateX(-320px);
  235. transition: all 0.3s ease-in-out;
  236. .arrow {
  237. transform: rotate(180deg);
  238. opacity: 0;
  239. }
  240. .arrowR {
  241. transform: translateX(0);
  242. opacity: 1;
  243. }
  244. }
  245. .showInfo {
  246. transform: translateX(0);
  247. transition: all 0.3s ease-in-out;
  248. .arrowR {
  249. transform: rotate(180deg);
  250. opacity: 0;
  251. }
  252. }
  253. .close {
  254. position: absolute;
  255. top: 30px;
  256. right: 30px;
  257. width: 35px;
  258. height: 35px;
  259. background: url('../../../../assets/img/close.png') no-repeat center center;
  260. background-size: 100% 100%;
  261. cursor: pointer;
  262. & > img {
  263. width: 100%;
  264. object-fit: contain;
  265. }
  266. }
  267. .bigger {
  268. position: absolute;
  269. bottom: 90px;
  270. right: 30px;
  271. width: 35px;
  272. height: 35px;
  273. background: url('../../../../assets/img/enlarge_on.png') no-repeat center center;
  274. background-size: 100% 100%;
  275. cursor: pointer;
  276. & > img {
  277. width: 100%;
  278. object-fit: contain;
  279. }
  280. }
  281. .smaller {
  282. position: absolute;
  283. bottom: 30px;
  284. right: 30px;
  285. width: 35px;
  286. height: 35px;
  287. background: url('../../../../assets/img/narrow_off.png') no-repeat center center;
  288. background-size: 100% 100%;
  289. cursor: pointer;
  290. & > img {
  291. width: 100%;
  292. object-fit: contain;
  293. }
  294. }
  295. }
  296. .detail2 {
  297. position: absolute;
  298. width: 100%;
  299. height: 100%;
  300. top: 0;
  301. left: 0;
  302. background-color: rgba(255, 251, 244, 1);
  303. display: flex;
  304. flex-direction: column;
  305. align-items: center;
  306. justify-content: center;
  307. .swiper_container {
  308. width: 50%;
  309. height: 60%;
  310. perspective: 1500px;
  311. .swiper-slide-shadow-coverflow {
  312. background-image: none;
  313. }
  314. .swiper-button-arr-custom {
  315. width: 50px;
  316. height: 65px;
  317. &:after {
  318. content: '';
  319. }
  320. & > img {
  321. width: 50px;
  322. height: 55px;
  323. object-fit: cover;
  324. }
  325. }
  326. .itemCard {
  327. border-radius: 20px;
  328. margin: 0 auto;
  329. width: 90%;
  330. height: 100%;
  331. position: relative;
  332. cursor: pointer;
  333. transition: transform 0.3s ease;
  334. .name {
  335. width: 100%;
  336. height: 7%;
  337. text-align: center;
  338. font-weight: 600;
  339. font-size: 30px;
  340. color: #9d0800;
  341. letter-spacing: 5px;
  342. }
  343. .itemImage {
  344. width: 100%;
  345. height: 93%;
  346. background-color: rgba(241, 229, 208, 1);
  347. border-radius: 20px;
  348. & > img {
  349. border-radius: 20px;
  350. width: 100%;
  351. height: 100%;
  352. object-fit: cover;
  353. transition: all 0.3s ease;
  354. }
  355. }
  356. }
  357. }
  358. .swiper-button-arr-custom {
  359. left: 50%;
  360. transform: translateX(-50%);
  361. &:after {
  362. content: '' !important;
  363. }
  364. &.swiper-button-prev {
  365. transform: translate(-550px, -100px);
  366. }
  367. &.swiper-button-next {
  368. transform: translate(550px, -100px);
  369. }
  370. }
  371. .detail2Info {
  372. width: 40%;
  373. height: 20%;
  374. display: flex;
  375. flex-direction: column;
  376. align-items: center;
  377. gap: 10px;
  378. & > div {
  379. width: 100%;
  380. font-size: 17px;
  381. color: rgba(159, 91, 44, 1);
  382. letter-spacing: 1px;
  383. }
  384. .title {
  385. text-align: center;
  386. width: fit-content;
  387. height: 20px;
  388. font-size: 20px;
  389. font-weight: bold;
  390. color: rgba(159, 91, 44, 1);
  391. &::after {
  392. content: '';
  393. position: relative;
  394. bottom: 8px;
  395. left: -10%;
  396. display: block;
  397. width: 120%;
  398. height: 10px;
  399. background-color: rgba(159, 91, 44, 0.5);
  400. }
  401. }
  402. .texture {
  403. margin-top: 20px;
  404. }
  405. .size {
  406. height: fit-content;
  407. }
  408. }
  409. .close {
  410. position: absolute;
  411. top: 30px;
  412. right: 30px;
  413. width: 35px;
  414. height: 35px;
  415. background: url('../../../../assets/img/close.png') no-repeat center center;
  416. background-size: 100% 100%;
  417. cursor: pointer;
  418. & > img {
  419. width: 100%;
  420. object-fit: contain;
  421. }
  422. }
  423. }
  424. }
  425. }
  426. @media screen and (max-width: 768px) {
  427. .Appreciate {
  428. padding: 0;
  429. background-image: none;
  430. background-color: rgba(255, 251, 244, 1);
  431. :global {
  432. .top_A {
  433. height: 100px;
  434. gap: 8px;
  435. align-items: center;
  436. padding: 0 20px;
  437. flex-wrap: wrap;
  438. .txt_A {
  439. width: 75px;
  440. white-space: nowrap;
  441. font-size: 18px;
  442. font-weight: bold;
  443. color: rgba(159, 91, 44, 1);
  444. }
  445. .search {
  446. max-width: 60%;
  447. width: calc(100% - 120px);
  448. height: 30px;
  449. background-color: rgba(248, 241, 226, 1);
  450. display: flex;
  451. align-items: center;
  452. border-radius: 25px;
  453. border: 1px solid rgba(248, 241, 226, 1);
  454. & > input {
  455. width: calc(100% - 45px);
  456. height: 30px;
  457. line-height: 30px;
  458. background-color: transparent;
  459. border: none;
  460. outline: none;
  461. font-size: 13px;
  462. color: rgba(159, 91, 44, 1);
  463. margin-left: 10px;
  464. &::placeholder {
  465. font-size: 10px;
  466. font-weight: 500;
  467. }
  468. }
  469. & > img {
  470. width: 15px;
  471. height: 15px;
  472. margin-left: 10px;
  473. cursor: pointer;
  474. }
  475. }
  476. .texture,
  477. .type {
  478. width: 48%;
  479. height: 30px;
  480. color: rgba(159, 91, 44, 1);
  481. display: flex;
  482. align-items: center;
  483. .label {
  484. width: 50px;
  485. height: 100%;
  486. line-height: 30px;
  487. text-align: center;
  488. font-size: 13px;
  489. }
  490. .ant-select {
  491. color: rgba(159, 91, 44, 1);
  492. width: 100px;
  493. .ant-select-selector {
  494. background-color: rgba(248, 241, 226, 1);
  495. height: 30px;
  496. border-radius: 50px;
  497. .ant-select-selection-item {
  498. line-height: 30px;
  499. text-align: center;
  500. }
  501. &:hover {
  502. border: none;
  503. }
  504. }
  505. }
  506. }
  507. .type {
  508. .label {
  509. width: 80px;
  510. }
  511. }
  512. .total {
  513. display: none;
  514. }
  515. }
  516. .content {
  517. width: 100%;
  518. height: calc(100% - 235px);
  519. overflow: auto;
  520. &::-webkit-scrollbar {
  521. width: 0;
  522. height: 0;
  523. }
  524. .scroll {
  525. width: 100%;
  526. height: 100%;
  527. display: flex;
  528. align-items: center;
  529. justify-content: flex-start;
  530. align-content: flex-start;
  531. gap: 5%;
  532. flex-wrap: wrap;
  533. padding: 0 10px;
  534. }
  535. .item {
  536. width: 47%;
  537. height: 170px;
  538. border-radius: 10px;
  539. display: flex;
  540. flex-direction: column;
  541. align-items: center;
  542. cursor: pointer;
  543. .img {
  544. width: 100%;
  545. height: 80%;
  546. border-radius: 10px;
  547. background-color: rgba(250, 241, 227, 1);
  548. & > img {
  549. border-radius: 10px;
  550. width: 100%;
  551. height: 100%;
  552. object-fit: cover;
  553. }
  554. }
  555. .txt {
  556. width: 100%;
  557. height: 32px;
  558. line-height: 30px;
  559. text-align: center;
  560. font-size: 14px;
  561. color: rgba(159, 91, 44, 1);
  562. white-space: nowrap;
  563. overflow: hidden;
  564. text-overflow: ellipsis;
  565. }
  566. }
  567. }
  568. .detail {
  569. .info {
  570. position: absolute;
  571. top: auto;
  572. bottom: -4%;
  573. left: 50%;
  574. display: flex;
  575. align-items: center;
  576. width: 90%;
  577. height: 280px;
  578. background-color: rgba(251, 242, 227, 1);
  579. border: 1px solid rgba(230, 203, 160, 1);
  580. border-radius: 10px;
  581. padding: 10px 30px;
  582. flex-direction: column;
  583. .arrow {
  584. height: 33px;
  585. padding: 0;
  586. padding-bottom: 20px;
  587. width: 100%;
  588. display: flex;
  589. align-items: center;
  590. cursor: pointer;
  591. & > img {
  592. height: 100%;
  593. object-fit: contain;
  594. }
  595. }
  596. .arrowR {
  597. height: 23px;
  598. padding: 0;
  599. padding-top: 10px;
  600. }
  601. .content {
  602. height: 260px;
  603. width: 100%;
  604. display: flex;
  605. flex-direction: column;
  606. align-items: center;
  607. gap: 10px;
  608. & > div {
  609. width: 100%;
  610. font-size: 15px;
  611. color: rgba(159, 91, 44, 1);
  612. letter-spacing: 1px;
  613. }
  614. .title {
  615. height: 20px;
  616. font-size: 18px;
  617. font-weight: bold;
  618. color: rgba(159, 91, 44, 1);
  619. &::after {
  620. content: '';
  621. position: relative;
  622. bottom: 8px;
  623. left: -10px;
  624. display: block;
  625. width: 100px;
  626. height: 10px;
  627. background-color: rgba(159, 91, 44, 0.5);
  628. }
  629. }
  630. .time {
  631. margin-top: 20px;
  632. }
  633. .size {
  634. height: 80px;
  635. }
  636. }
  637. }
  638. .hideInfo {
  639. transform: translate(-50%, 250px);
  640. transition: all 0.3s ease-in-out;
  641. .arrow {
  642. transform: rotate(0);
  643. opacity: 1;
  644. }
  645. .arrowR {
  646. opacity: 0;
  647. }
  648. }
  649. .showInfo {
  650. transform: translate(-50%, 0);
  651. transition: all 0.3s ease-in-out;
  652. .arrow {
  653. opacity: 0;
  654. }
  655. .arrowR {
  656. transform: rotate(0);
  657. opacity: 1;
  658. }
  659. }
  660. .bigger,
  661. .smaller {
  662. display: none;
  663. }
  664. }
  665. .detail2 {
  666. position: absolute;
  667. width: 100%;
  668. height: 100%;
  669. top: 0;
  670. left: 0;
  671. background-color: rgba(255, 251, 244, 1);
  672. display: flex;
  673. flex-direction: column;
  674. align-items: center;
  675. justify-content: center;
  676. .swiper_container {
  677. width: 90%;
  678. height: 60%;
  679. }
  680. .detail2Info {
  681. width: 90%;
  682. height: 20%;
  683. display: flex;
  684. flex-direction: column;
  685. align-items: center;
  686. gap: 10px;
  687. & > div {
  688. width: 100%;
  689. font-size: 17px;
  690. color: rgba(159, 91, 44, 1);
  691. letter-spacing: 1px;
  692. }
  693. .title {
  694. text-align: center;
  695. width: fit-content;
  696. height: 20px;
  697. font-size: 20px;
  698. font-weight: bold;
  699. color: rgba(159, 91, 44, 1);
  700. &::after {
  701. content: '';
  702. position: relative;
  703. bottom: 8px;
  704. left: -10%;
  705. display: block;
  706. width: 120%;
  707. height: 10px;
  708. background-color: rgba(159, 91, 44, 0.5);
  709. }
  710. }
  711. .texture {
  712. margin-top: 20px;
  713. }
  714. .size {
  715. height: 80px;
  716. overflow: auto;
  717. &::-webkit-scrollbar {
  718. width: 0;
  719. height: 0;
  720. }
  721. }
  722. }
  723. .close {
  724. position: absolute;
  725. top: 30px;
  726. right: 30px;
  727. width: 35px;
  728. height: 35px;
  729. background: url('../../../../assets/img/close.png') no-repeat center center;
  730. background-size: 100% 100%;
  731. cursor: pointer;
  732. & > img {
  733. width: 100%;
  734. object-fit: contain;
  735. }
  736. }
  737. }
  738. }
  739. }
  740. }