index.less 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. .btns {
  11. position: absolute;
  12. bottom: 0;
  13. left: 0;
  14. width: 100%;
  15. display: flex;
  16. align-items: center;
  17. justify-content: space-between;
  18. box-sizing: border-box;
  19. padding: 25rpx 60rpx;
  20. padding-bottom: calc(env(safe-area-inset-bottom) + 25rpx);
  21. background-color: white;
  22. .btn {
  23. width: 275rpx;
  24. padding: 13rpx 0;
  25. text-align: center;
  26. font-size: 32rpx;
  27. color: #FFFFFF;
  28. background: linear-gradient(180deg, #6EC8FF 0%, #31BDFE 100%);
  29. box-shadow: 0rpx 6rpx 4rpx 0rpx rgba(0, 0, 0, 0.08);
  30. border-radius: 39rpx;
  31. }
  32. }
  33. }
  34. /* 转圈动画 */
  35. @keyframes falsh-identifier {
  36. 0% {
  37. transform: rotate(0deg) scale(0.7);
  38. }
  39. 50% {
  40. transform: rotate(180deg) scale(1);
  41. }
  42. 100% {
  43. transform: rotate(360deg) scale(0.7);
  44. }
  45. }
  46. @keyframes falsh-scale {
  47. 0% {
  48. transform: scale(1);
  49. }
  50. 50% {
  51. transform: scale(1.2);
  52. }
  53. 100% {
  54. transform: scale(1);
  55. }
  56. }