一、接口的流畅性好的接口是流畅易懂的,他主要体现如下几个方面:1.简单操作某个元素的css属性,下面是原生的方法:?1document.querySelectorAll('#id').style.color='red';封装之后?1234f…