index.less 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. .fixhead {
  2. height: 70rpx;
  3. }
  4. .at-tab {
  5. display: flex;
  6. width: calc(100vw - 24px);
  7. background: #fff;
  8. position: fixed;
  9. z-index: 99;
  10. }
  11. .at-tabitem {
  12. flex: 1;
  13. text-align: center;
  14. border-top-left-radius: 10rpx;
  15. border-top-right-radius: 10rpx;
  16. line-height: 70rpx;
  17. font-size: 32rpx;
  18. &.active {
  19. background-color: #f0f0f0;
  20. }
  21. }
  22. .at-content {
  23. background-color: #f0f0f0;
  24. }
  25. .atphoto-list {
  26. display: flex;
  27. flex-wrap: wrap;
  28. padding: 20rpx;
  29. }
  30. .atphoto-item {
  31. margin: 10rpx;
  32. width: calc(50% - 20rpx);
  33. aspect-ratio: 4 / 3;
  34. overflow: hidden;
  35. display: flex;
  36. align-items: center;
  37. display: flex;
  38. animation: goshow 0.3s forwards;
  39. transform: translateY(-10px);
  40. opacity: 0;
  41. border-radius: 8rpx;
  42. &.cate {
  43. padding-bottom: 40rpx;
  44. flex-direction: column;
  45. align-items: stretch;
  46. justify-content: center;
  47. position: relative;
  48. .floatname {
  49. position: absolute;
  50. bottom: 0;
  51. left: 0;
  52. right: 0;
  53. text-align: center;
  54. font-size: 26rpx;
  55. }
  56. }
  57. t-image {
  58. flex: 1;
  59. }
  60. .caseimage {
  61. width: 100%;
  62. height: 100%;
  63. border-radius: 8rpx;
  64. }
  65. }
  66. @keyframes goshow {
  67. 0% {
  68. opacity: 0;
  69. }
  70. 100% {
  71. opacity: 1;
  72. transform: translateY(0);
  73. }
  74. }