master
xy 1 year ago
parent 43ed6faf1f
commit 88fb8a9ac4

@ -100,16 +100,21 @@ export default {
grid: { grid: {
top: 10, top: 10,
left: "2%", left: "2%",
right: "5.4%", right: "5.8%",
bottom: "3%", bottom: "3%",
containLabel: true, containLabel: true,
}, },
xAxis: { xAxis: {
type: "value", type: "log",
axisLine: {
lineStyle: {
color: '#5b7be8' // x线
}
},
splitLine: { splitLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: "#384b8f", // X 线 color: "#5b7be8",
}, },
}, },
}, },
@ -133,6 +138,9 @@ export default {
position: 'insideRight', position: 'insideRight',
color: "#fff", color: "#fff",
fontWeight: "bold", fontWeight: "bold",
formatter: params => {
return params.data > 10000 ? `${params.data/10000}`: params.data
}
}, },
itemStyle: { itemStyle: {
color: (params) => { color: (params) => {
@ -151,7 +159,7 @@ export default {
trigger: "axis", trigger: "axis",
axisPointer: { axisPointer: {
lineStyle: { lineStyle: {
color: "#384b8f", color: "#6786f1",
}, },
}, },
}, },

@ -609,7 +609,7 @@ export default {
oddRowBGC: "#0a1b5632", oddRowBGC: "#0a1b5632",
evenRowBGC: "#0a1b5632", evenRowBGC: "#0a1b5632",
rowNum: 5, rowNum: 5,
data: this.companies.map(i => [i]), data: this.companies.map(i => [`<span style="font-weight: bold; color: #f6aa2c;">${i}</span>`]),
} }
}, },
listConfig() { listConfig() {

@ -143,7 +143,7 @@
searchFields: { searchFields: {
keyword: "", keyword: "",
page: 1, page: 1,
page_size: 20, page_size: 15,
}, },
tableData: [] tableData: []
} }

Loading…
Cancel
Save