From 8722d1317fe739e1ba50b81dbaf2af9350b97f72 Mon Sep 17 00:00:00 2001 From: baicai <18221243570@163.com> Date: Thu, 31 Jul 2025 14:24:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E4=BD=93=E7=94=B5=E6=B1=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/work/dtdc/Chart.vue | 11 ++++-- pages/work/dtdc/index.vue | 70 +++++++++++++++++++++++++-------------- 2 files changed, 54 insertions(+), 27 deletions(-) diff --git a/pages/work/dtdc/Chart.vue b/pages/work/dtdc/Chart.vue index dc31c03..7eb8f13 100644 --- a/pages/work/dtdc/Chart.vue +++ b/pages/work/dtdc/Chart.vue @@ -9,8 +9,8 @@ + canvasId="scrollcolumnid" :optsWatch='false' :inScrollView="true" :pageScrollTop="pageScrollTop" + :opts="options" :ontouch="true" /> @@ -34,6 +34,12 @@ data() { return { options: { + enableScroll: true, + xAxis: { + scrollShow: true, + itemCount: 4, + disableGrid: true + }, update: true, duration: 0, animation: false, @@ -166,6 +172,7 @@ .chart-container { width: 100%; height: 250px; + margin-top: 20px; } ::v-deep { diff --git a/pages/work/dtdc/index.vue b/pages/work/dtdc/index.vue index 15167ec..1993b62 100644 --- a/pages/work/dtdc/index.vue +++ b/pages/work/dtdc/index.vue @@ -1,21 +1,7 @@