index.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. /**index.wxss**/
  2. .page-wrap {
  3. height: calc(100vh - constant(safe-area-inset-bottom) - 100rpx);
  4. height: calc(100vh - env(safe-area-inset-bottom) - 100rpx);
  5. }
  6. .userinfo {
  7. display: flex;
  8. flex-direction: column;
  9. align-items: center;
  10. color: #aaa;
  11. }
  12. .userinfo-avatar {
  13. overflow: hidden;
  14. width: 128rpx;
  15. height: 128rpx;
  16. margin: 20rpx;
  17. border-radius: 50%;
  18. }
  19. .usermotto {
  20. margin-top: 200px;
  21. }
  22. .swiper-wrap {
  23. margin-top: 20rpx;
  24. }
  25. .t-image__swiper {
  26. width: 100%;
  27. height: 300rpx;
  28. border-radius: 10rpx;
  29. }
  30. .row-class {
  31. background-color: yellow;
  32. }
  33. .home-swiper {
  34. height: 481rpx;
  35. }
  36. .t-image__swiper {
  37. height: 481rpx;
  38. }
  39. .cateimage {
  40. height: 50rpx;
  41. }
  42. .timg1 {
  43. width: 516rpx;
  44. height: 193rpx;
  45. }
  46. .timg2 {
  47. width: 217rpx;
  48. height: 291rpx;
  49. }
  50. .timgactive {
  51. width: 672rpx;
  52. height: 234rpx;
  53. }
  54. .timgcasourel {
  55. width: 750rpx;
  56. height: 1466rpx;
  57. transform: scale(1.3);
  58. transform-origin: center 74%;
  59. transition: all 0.4s cubic-bezier(0.18, 0.89, 0.32, 1);
  60. }
  61. .movefloatbtn {
  62. position: absolute;
  63. bottom: 16%;
  64. left: 50%;
  65. width: 275rpx;
  66. height: 62rpx;
  67. background-color: transparent;
  68. background-size: 100% 100%;
  69. border: 0;
  70. transform: translateX(-50%);
  71. image-rendering: -moz-crisp-edges; /* Firefox */
  72. image-rendering: -o-crisp-edges; /* Opera */
  73. image-rendering: -webkit-optimize-contrast; /* Safari */
  74. image-rendering: optimize-contrast; /* CSS3 Proposed */
  75. image-rendering: crisp-edges; /* CSS4 Proposed */
  76. }
  77. .movecenter {
  78. position: absolute;
  79. bottom: 0;
  80. left: 50%;
  81. transform: translate3d(-50%, 0, 0);
  82. .movebtn {
  83. background: rgba(0, 0, 0, 0);
  84. border: 0;
  85. color: #fff;
  86. }
  87. .t-icon-base {
  88. animation: movement 1s infinite;
  89. }
  90. @keyframes movement {
  91. 0% {
  92. transform: translate3d(0, -30%, 0);
  93. }
  94. 100% {
  95. transform: translate3d(0, 30%, 0);
  96. }
  97. }
  98. }
  99. .zoom {
  100. .movefloatbtn {
  101. top: 824rpx;
  102. }
  103. .movecenter {
  104. .t-icon-base {
  105. animation: movement2 0.4s forwards;
  106. }
  107. @keyframes movement2 {
  108. 0% {
  109. transform: rotate(0deg);
  110. }
  111. 100% {
  112. transform: rotate(180deg);
  113. }
  114. }
  115. }
  116. .timgcasourel {
  117. object-fit: scale-down;
  118. transform: scale(1);
  119. }
  120. }