loading.svg 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <svg viewBox="0 0 200 200" version="1.1"
  3. xmlns="http://www.w3.org/2000/svg"
  4. xmlns:xlink="http://www.w3.org/1999/xlink">
  5. <style type="text/css">
  6. .left-linear {
  7. fill: url(#left-linear);
  8. }
  9. .right-linear {
  10. fill: url(#right-linear);
  11. }
  12. .top {
  13. fill: #64acff;
  14. }
  15. .bottom {
  16. fill: #9dbfe4;
  17. }
  18. @keyframes load {
  19. 0% {
  20. transform: rotate(-360deg);
  21. }
  22. 100% {
  23. transform: rotate(0);
  24. }
  25. }
  26. .load {
  27. animation: load 1.4s linear infinite;
  28. transform-origin: center center;
  29. }
  30. svg {
  31. display: block;
  32. }
  33. .tip {
  34. display: block;
  35. min-width: 100px;
  36. margin-top: 4px;
  37. font-size: 13px;
  38. color: #303133;
  39. text-align: left;
  40. }
  41. </style>
  42. <circle cx="97" cy="97" r="81" stroke-width="16" stroke="#327fd8" fill="none"></circle>
  43. <g class="load">
  44. <!--右半圆环-->
  45. <linearGradient id="left-linear" gradientUnits="userSpaceOnUse" x1="50" y1="0" x2="100" y2="180">
  46. <stop offset="0" style="stop-color: #64acff;" />
  47. <stop offset="1" style="stop-color: #9DBFE4;" />
  48. </linearGradient>
  49. <path class="left-linear" d="M20,100c0-44.1,35.9-80,80-80V0C44.8,0,0,44.8,0,100s44.8,100,100,100v-20C55.9,180,20,144.1,20,100z" />
  50. <!--左半圆环-->
  51. <circle class="bottom" cx="100" cy="190" r="10" />
  52. <linearGradient id="right-linear" gradientUnits="userSpaceOnUse" x1="100" y1="120" x2="100" y2="180">
  53. <stop offset="0" style="stop-color: transparent;" />
  54. <stop offset="1" style="stop-color: transparent;" />
  55. </linearGradient>
  56. <path class="right-linear" d="M100,0v20c44.1,0,80,35.9,80,80c0,44.1-35.9,80-80,80v20c55.2,0,100-44.8,100-100S155.2,0,100,0z" />
  57. <!--左半圆环-->
  58. <circle class="top" cx="100" cy="10" r="10" />
  59. </g>
  60. </svg>