mouseover(name, index) {
// console.log(this.$refs[name][index]);
this.$refs[name][index].style.color = "#02b2b5";
},
修改带横杠的样式改成驼峰
例如
border-bottom —> borderBottom
// this.$refs[name][index].style.border-bottom= "#02b2b5";
this.$refs[name][index].style.borderBottom= "#02b2b5";