多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
``` <el-card :class="Imgid == index?ka:''" :body-style="{ padding: '20px' }" shadow="hover"> <div v-show="Imgid == index" slot="header" class="clearfix"> <span style="color: #409EFF;">使用中</span> </div> <img :src="img_src+'1'+'-'+o+'.png'" class="image"> <div style="padding: 25px;"> <span style="font-size: 13px;margin-bottom: 20px;">{{img_text[index]}}</span> <div class="bottom clearfix "> <el-button style="font-size: 13px;margin-top: 20px;" @click="getImgid(index)" type="primary" plain size="small" class="button">设置默认</el-button> </div> </div> </el-card> ``` ``` 不管用 <el-card :class="Imgid == index?ka:''" :body-style="{ padding: '20px' }" shadow="hover"> ``` 管用 ``` :class="Imgid == index?'ka':''" ``` 管用 <el-card :class="ka" :body-style="{ padding: '20px' }" shadow="hover"> ``` ``` <style lang="sass"> #edit-pro .ka background: #fcac4b ```