index.less 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. .mediaBox {
  2. position: fixed;
  3. top: 0px;
  4. left: 0px;
  5. width: 100vw;
  6. height: 100vh;
  7. display: flex;
  8. justify-content: center;
  9. background-color: rgba(0, 0, 0, 0.35);
  10. .media {
  11. position: relative;
  12. margin-top: 200rpx;
  13. width: 480rpx;
  14. height: 620rpx;
  15. padding: 24rpx;
  16. box-sizing: border-box;
  17. background-color: #FEF2C7;
  18. border-radius: 20rpx;
  19. .close {
  20. position: absolute;
  21. right: -50rpx;
  22. top: -50rpx;
  23. width: 58rpx;
  24. height: 58rpx;
  25. }
  26. .body {
  27. position: relative;
  28. width: 100%;
  29. height: 100%;
  30. padding: 24rpx 0rpx 30rpx;
  31. text-align: center;
  32. box-sizing: border-box;
  33. background-color: white;
  34. border-radius: 20rpx;
  35. .title {
  36. font-size: 38rpx;
  37. letter-spacing: 4rpx;
  38. }
  39. .falsh {
  40. position: absolute;
  41. bottom: 20rpx;
  42. left: -95rpx;
  43. width: 570rpx;
  44. height: 570rpx;
  45. animation: falsh-identifier 4.5s infinite linear;
  46. }
  47. .mediaImg {
  48. position: relative;
  49. z-index: 2;
  50. padding: 70rpx 0rpx 60rpx;
  51. width: 274rpx;
  52. height: 240rpx;
  53. animation: falsh-scale 2s infinite linear;
  54. }
  55. .see {
  56. position: relative;
  57. z-index: 2;
  58. display: inline-block;
  59. padding: 14rpx 66rpx;
  60. font-size: 30rpx;
  61. background-image: linear-gradient(270deg, #FC5556 0%, #F84041 100%, #14C962 100%);
  62. box-shadow: 0 6rpx 14rpx 0 rgba(251, 79, 80, 0.76);
  63. border-radius: 50rpx;
  64. color: white;
  65. }
  66. }
  67. }
  68. }
  69. /* 转圈动画 */
  70. @keyframes falsh-identifier {
  71. 0% {
  72. transform: rotate(0deg) scale(0.7);
  73. }
  74. 50% {
  75. transform: rotate(180deg) scale(1);
  76. }
  77. 100% {
  78. transform: rotate(360deg) scale(0.7);
  79. }
  80. }
  81. @keyframes falsh-scale {
  82. 0% {
  83. transform: scale(1);
  84. }
  85. 50% {
  86. transform: scale(1.2);
  87. }
  88. 100% {
  89. transform: scale(1);
  90. }
  91. }