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 @@