index.wxss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. }
  11. .mediaBox .btns {
  12. position: absolute;
  13. bottom: 0;
  14. left: 0;
  15. width: 100%;
  16. display: flex;
  17. align-items: center;
  18. justify-content: space-between;
  19. box-sizing: border-box;
  20. padding: 25rpx 60rpx;
  21. padding-bottom: calc(env(safe-area-inset-bottom) + 25rpx);
  22. background-color: white;
  23. }
  24. .mediaBox .btns .btn {
  25. width: 275rpx;
  26. padding: 13rpx 0;
  27. text-align: center;
  28. font-size: 32rpx;
  29. color: #FFFFFF;
  30. background: linear-gradient(180deg, #6EC8FF 0%, #31BDFE 100%);
  31. box-shadow: 0rpx 6rpx 4rpx 0rpx rgba(0, 0, 0, 0.08);
  32. border-radius: 39rpx;
  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. }