对象语法: v-bind:style 的对象语法和CSS语法很像,但他其实是一个 JavaScript 对象 <div v-bind:style="{ color: activeColor, fontSize: fontSize + 'px' ,line-height: '50px'