Commit dc5d640b by luyt

feat:调整table行状态颜色

1 parent 068dd55a
...@@ -275,7 +275,7 @@ export default { ...@@ -275,7 +275,7 @@ export default {
label: '直播间名称', label: '直播间名称',
prop: 'name', prop: 'name',
line: 1, line: 1,
width: 90 width: 120
// children:[ // children:[
// { // {
// label: '直播间名称1', // label: '直播间名称1',
...@@ -293,8 +293,8 @@ export default { ...@@ -293,8 +293,8 @@ export default {
label: '状态', label: '状态',
prop: 'status', prop: 'status',
enum: [ enum: [
{ label: '成功', value: 1 }, { label: '成功', value: 1,color:'red' },
{ label: '进行中', value: 1,color:'#fdb757' }, { label: '进行中', value: 2,color:'#fdb757' },
{ label: '失败', value: 3,color:'#999' } { label: '失败', value: 3,color:'#999' }
], ],
searchProps: { label: 'label', value: 'value' }, searchProps: { label: 'label', value: 'value' },
...@@ -317,7 +317,7 @@ export default { ...@@ -317,7 +317,7 @@ export default {
{ {
label: '直播状态', label: '直播状态',
prop: 'liveStatus', prop: 'liveStatus',
width: '80', width: '120',
enum: [ enum: [
{ label: '良好', value: 1 }, { label: '良好', value: 1 },
{ label: '一般', value: 2 }, { label: '一般', value: 2 },
...@@ -1281,7 +1281,7 @@ export default { ...@@ -1281,7 +1281,7 @@ export default {
padding-bottom: 50px; padding-bottom: 50px;
height: 2000px; height: 2000px;
font-size: 14px; font-size: 14px;
background-color: #f0f1f7; // background-color: #f0f1f7;
} }
.colorred { .colorred {
color: red; color: red;
......
...@@ -463,7 +463,7 @@ export default { ...@@ -463,7 +463,7 @@ export default {
}, },
mounted() { mounted() {
console.log(filterEnum) // console.log(filterEnum)
this.tableInit() this.tableInit()
// 注册事件 -- 防抖 // 注册事件 -- 防抖
window.onresize = () => { window.onresize = () => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!