项目是:vue-li+element-ui+axios+qs+vue-router框架

当前样式表现为:

如果要将状态涂上不同的背景颜色来更明显的区分不同状态,该怎么实现

显示思路:

1.添加属性cell-style,并起名cellStyle,然后再methods添加cellStyle的实现代码。

注意:columnIndex是指向该行的对应列

 

GitHub 加速计划 / eleme / element
13
1
下载
A Vue.js 2.0 UI Toolkit for Web
最近提交(Master分支:16 天前 )
c345bb45 1 年前
a07f3a59 * Update transition.md * Update table.md * Update transition.md * Update table.md * Update transition.md * Update table.md * Update table.md * Update transition.md * Update popover.md 1 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐