Commit 9037abc4 authored by 张俊's avatar 张俊

搜索引擎文字样式

parent 3a7c97ed
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
height="100%" height="100%"
border border
:header-cell-style="rowClass" :header-cell-style="rowClass"
:cell-style="cellClass"
style="width: 100%;border-radius:12px;overflow:hidden;border-top:0;"> style="width: 100%;border-radius:12px;overflow:hidden;border-top:0;">
<el-table-column <el-table-column
prop="index" prop="index"
...@@ -97,7 +98,6 @@ export default { ...@@ -97,7 +98,6 @@ export default {
.then(response => { .then(response => {
if(response.data.success){ if(response.data.success){
console.log(response.data); console.log(response.data);
debugger
this.listTotal = response.data.data.total this.listTotal = response.data.data.total
var temp = [] var temp = []
response.data.data.data.forEach((e,idx) => { response.data.data.data.forEach((e,idx) => {
...@@ -132,6 +132,9 @@ export default { ...@@ -132,6 +132,9 @@ export default {
return 'background:#faf2e2;color:#242c43;border:1px solid #ebd9b6;borderLeft:0;' return 'background:#faf2e2;color:#242c43;border:1px solid #ebd9b6;borderLeft:0;'
} }
},
cellClass({ row, column, rowIndex, columnIndex}){
return 'color:#242c43;'
} }
}, },
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment