styles.scss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. .radar1 {
  2. width: 200rpx;
  3. height: 200rpx;
  4. position: relative;
  5. border-radius: 50%;
  6. border: 1px solid #cedbeb;
  7. background: #f2f4ff;
  8. display: flex;
  9. align-items: center;
  10. justify-content: center;
  11. overflow: hidden;
  12. .search {
  13. content: '';
  14. position: absolute;
  15. width: calc(200rpx / 2);
  16. height: calc(200rpx /2);
  17. background: linear-gradient(
  18. 45deg,
  19. rgba(0, 0, 0, 0) 50%,
  20. rgba(169, 200, 246, 1) 100%
  21. );
  22. border-radius: 100% 0 0 0;
  23. top: -0.5px;
  24. left: -0.5px;
  25. animation: scanning 2s linear infinite;
  26. transform-origin: 100% 100%;
  27. }
  28. .startSearch{
  29. animation-play-state:paused;
  30. }
  31. @keyframes scanning {
  32. to {
  33. transform: rotate(1turn);
  34. }
  35. }
  36. .radar2{
  37. background: #e8f2fe;
  38. width: 100rpx;
  39. height: 100rpx;
  40. border-radius: 50%;
  41. display: flex;
  42. align-items: center;
  43. justify-content: center;
  44. .radar3{
  45. background: #e0ecfc;
  46. width: 50rpx;
  47. height: 50rpx;
  48. border-radius: 50%;
  49. display: flex;
  50. align-items: center;
  51. justify-content: center;
  52. .radar4{
  53. background: #277afc;
  54. width:10rpx;
  55. height: 10rpx;
  56. border-radius: 50%;
  57. display: flex;
  58. align-items: center;
  59. justify-content: center;
  60. }
  61. }
  62. }
  63. }