<div class="z-shebei-box1 x-mysh-p" v-for="item in deviceList" :class="{'bgActive':item.remind == 'false'}" style=" 100%;"><div>
css样式
.bgActive{background: #ffe4aa;}
<div class="z-shebei-box1 x-mysh-p" v-for="item in deviceList" :class="{'bgActive':item.remind == 'false'}" style=" 100%;"><div>
css样式
.bgActive{background: #ffe4aa;}