index.module.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. .A2danList {
  2. background-color: rgba(0, 0, 0, 0.6);
  3. backdrop-filter: blur(4px);
  4. padding: 60px 0 0;
  5. text-align: center;
  6. :global {
  7. .A2Dmain {
  8. max-width: 835px;
  9. margin: 0 auto;
  10. padding: 0 40px;
  11. height: calc(100% - 160px);
  12. overflow-y: auto;
  13. display: flex;
  14. flex-wrap: wrap;
  15. align-content: flex-start;
  16. .A2Drow {
  17. max-width: 180px;
  18. margin-right: 1%;
  19. width: 49%;
  20. height: 100px;
  21. margin-bottom: 10px;
  22. .adm-image {
  23. cursor: pointer;
  24. }
  25. img {
  26. width: 100%;
  27. height: 100px;
  28. object-fit: contain !important;
  29. }
  30. .adm-image-tip {
  31. width: 100%;
  32. height: 100px;
  33. }
  34. .imgLoding {
  35. width: 100%;
  36. height: 100px;
  37. display: flex;
  38. justify-content: center;
  39. align-items: center;
  40. color: #fff674;
  41. }
  42. }
  43. }
  44. .A2Dnum {
  45. margin: 20px 0 5px;
  46. font-size: 18px;
  47. font-weight: 700;
  48. /* 设置渐变背景 */
  49. background-image: linear-gradient(to bottom, #ffffff, #fff674, #ffb200, #fc7107);
  50. /* 以下行确保浏览器兼容性 */
  51. -webkit-background-clip: text; /* Safari/Chrome */
  52. -moz-background-clip: text; /* Firefox */
  53. -ms-background-clip: text; /* IE (部分版本) */
  54. background-clip: text; /* 标准属性 */
  55. color: transparent; /* 将文字颜色设置为透明,以显示背景渐变 */
  56. display: inline-block; /* 确保背景渐变适应文字内容 */
  57. }
  58. .A2Dtxt {
  59. color: #fff;
  60. }
  61. .A2Dclose {
  62. cursor: pointer;
  63. width: 36px;
  64. height: 36px;
  65. color: #fff;
  66. border-radius: 18px;
  67. border: 1px solid #fff;
  68. font-size: 22px;
  69. display: flex;
  70. justify-content: center;
  71. align-items: center;
  72. margin: 15px auto 0;
  73. }
  74. }
  75. }