this.refs.regular.style.color="#000"; this.refs.picWord.style.color="#94979c"; this.refs.interact.style.color="#94979c"; this.refs.regular.style.borderBottom = "solid 2px #373F42"; this.refs.picWord.style.borderBottom="none"; this.refs.interact.style.borderBottom="none";这段代码如何优雅点写?实在受不了这样一个一个style写下来。。
添加回答
举报
0/150
提交
取消