This commit is contained in:
‘937886381’
2024-07-03 16:28:41 +08:00
parent aa6ae82607
commit 81c4af0cc8
19 changed files with 290 additions and 146 deletions

View File

@@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2024-05-30 08:58:39
* @LastEditTime: 2024-07-02 10:53:34
* @LastEditTime: 2024-07-03 14:10:06
* @LastEditors: zhp
* @Description:
-->
@@ -110,7 +110,7 @@ export default {
"<br/>" +
`<span style='display:inline-block;margin-right:4px;width:10px;height:10px;background-color:${color}'></span>` +
`<span style='display:inline-block;width:150px;color:rgba(255,255,255,.85);font-size:14px;'>${params[i].seriesName}</span>` +
`<span style='color:rgba(255,255,255,0.65);font-size:14px;'>${params[i].value + '片'}</span>`;
`<span style='color:rgba(255,255,255,0.65);font-size:14px;'>${params[i].value ? params[i].value + '片' : 0 + '片'}</span>`;
}
return res;
},
@@ -132,6 +132,7 @@ export default {
},
yAxis: {
name: "单位/片",
position: 'left',
nameTextStyle: {
color: "#fff",
fontSize: 12,
@@ -337,6 +338,7 @@ export default {
</script>
<style scoped lang="scss">
.bar-chart-base {
// position: relative;
@@ -350,7 +352,7 @@ export default {
position: relative;
// font-size: 12px;
margin-right:1.2vw;
color: #DFF1FE;
&::before {
content: "";
display: inline-block;