diff --git a/src/views/screen/wsScreen/components/left/EquipItem.vue b/src/views/screen/wsScreen/components/left/EquipItem.vue index a892cade..11dc5fa8 100644 --- a/src/views/screen/wsScreen/components/left/EquipItem.vue +++ b/src/views/screen/wsScreen/components/left/EquipItem.vue @@ -137,8 +137,9 @@ export default { .left-tip { padding-top: 6px; padding-bottom: 15px; - font-size: 12px; + font-size: 11px; font-weight: 600; + width: 50px; } } @@ -146,7 +147,7 @@ export default { margin-left: 10px; margin-top: 16px; padding: 4px 0; - font-size: 12px; + font-size: 11px; font-weight: 600; width: 100px; text-align: center; diff --git a/src/views/screen/wsScreen/components/left/EquipItemMore.vue b/src/views/screen/wsScreen/components/left/EquipItemMore.vue index 34e58a81..ec9ce2b8 100644 --- a/src/views/screen/wsScreen/components/left/EquipItemMore.vue +++ b/src/views/screen/wsScreen/components/left/EquipItemMore.vue @@ -4,7 +4,7 @@ v-if="dialogVisible" v-loading="isLoading" :visible.sync="dialogVisible" - width="60%" + width="80%" :modal="false" class="dlg-box" > diff --git a/src/views/screen/wsScreen/components/left/RightItem.vue b/src/views/screen/wsScreen/components/left/RightItem.vue index d948ced7..46287430 100644 --- a/src/views/screen/wsScreen/components/left/RightItem.vue +++ b/src/views/screen/wsScreen/components/left/RightItem.vue @@ -59,6 +59,17 @@ export default { top: '20%', bottom: '15%', }, + tooltip: { + trigger: 'axis', + axisPointer: { + type: 'shadow', + }, + formatter: (params) => { + const item = params[0] + return `${item.name}
数量:${item.value}` + }, + }, + xAxis: { data: xData, axisTick: { show: false }, @@ -68,6 +79,7 @@ export default { color: '#ccc', fontSize: 12, margin: 10, + rotate: 45, }, }, yAxis: { @@ -143,7 +155,7 @@ export default {