```
<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
```
- webpack-dev-server不是内部或外部命令
- vue+ele添加笑脸表情
- from UglifyJs Unexpected token: punc (()
- vmodel-ref
- jscopy
- watch_or_computed
- checkbox-group
- array_filter
- array many filter
- js array unshift
- vue watch one
- sku
- edit-button
- el-select clearable placeholder
- 必填
- 如何设置一个索引从1开始
- Injection "elForm" not found
- $refs
- resetFields
- table 二级数据
- Table 合并
- switch 开关
- radio group 单选
- 二级菜单
- 访问页面出错后退到上一页
- 编辑器tinymce
- v-for从1开始索引
- 图片绑定路径
- 分栏间隔
- class绑定card底色
- 动态增减表单项
- watch deep
- form 获取值
- table索引方法
- table两个改一个另一个也跟着变解决方法
- table标题改整列
- vue echarts