Browse Source

股市温度计样式调整。

songjie/feature-20250628160649-上线前优化
宋杰 1 day ago
parent
commit
879cddb311
  1. 2
      src/views/components/marketTemperature.vue

2
src/views/components/marketTemperature.vue

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

Loading…
Cancel
Save