参考链接:https://www.cnblogs.com/Chrimisia/p/6670303.html
vue 中封装svg:http://www.cnblogs.com/Jiangchuanwei/p/9386792.html
svg动画:
透明度:
<animate
attributeType="CSS"
attributeName="opacity"
from="0.5" to="1"
dur="1s"
repeatCount="indefinite" /> 放大缩小
<animateTransform attributeName="transform" begin="0s" dur="3s" type="scale" from="1" to="1.2" repeatCount="indefinite"/> x轴
<animate attributeName="width" attributeType="XML" type="scale" begin="0s" dur="1s" fill="freeze" repeatCount="indefinite" />