点击svg的circle ,并改变circle fill属性,在手机上改变circle 属性特别慢
svg:
<circle r='35' id="nei" cy='50%' cx='50%' filter='' ></circle>
js:
var aa=document.getElementById('nei');
aa.addEventListener('touchstart', function(){
this.setAttribute('fill','url(#radia2)')
}, false)
aa.addEventListener('touchend', function(){
this.setAttribute('fill','url(#radial)')
}, false)