v-bind:style="$index % 2 > 0?'background-color:#FFF;':'background-color:#D4EAFA;'" 转载于:https://www.cnblogs.com/wpcnblog/p/5729240.html