2 Commits

  1. 4
      src/views/components/emoEnergyConverter.vue
  2. 2
      src/views/components/marketTemperature.vue

4
src/views/components/emoEnergyConverter.vue

@ -850,12 +850,12 @@ function initQXNLZHEcharts(kline, qxnlzhqData) {
// }
],
grid: {
left: "13%",
left: window.innerWidth >= 768 ? "13%" : "18%",
right: "10",
top: '10',
bottom: "60",
containLabel: false,
width: '80%',
width: window.innerWidth >= 768 ? '80%': '70%',
height: 'auto',
overflow: 'hidden'
},

2
src/views/components/marketTemperature.vue

@ -493,7 +493,7 @@ function initChart(raw, klineDataRawValue, WDRLValue) {
textStyle: { color: "white", fontSize: window.innerWidth <= 768 ? 14 : 18 },
},
grid: {
left: window.innerWidth <= 768 ? '50px' : '100px', // 使
left: window.innerWidth <= 768 ? '40px' : '100px', // 使
right: window.innerWidth <= 768 ? '40px' : '100px', // y
top: window.innerWidth <= 768 ? '40px' : '60px',
bottom: window.innerWidth <= 768 ? '60px' : '80px', // dataZoom

Loading…
Cancel
Save