直接给相应的元素加id,然后再document.getElementById("id");获取,然后设置相应属性或样式;
使用ref,给相应的元素加ref=“name” 然后再this.$refs.name获取到该元素