From 7dd58912eb1557c40b00d689c8463d2ad8a90060 Mon Sep 17 00:00:00 2001 From: hdx Date: Mon, 14 Aug 2023 19:13:21 +0800 Subject: [PATCH] wip: slider-100 --- pages/component/slider-100/slider-100.uvue | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/pages/component/slider-100/slider-100.uvue b/pages/component/slider-100/slider-100.uvue index e7885d05..77c77f87 100644 --- a/pages/component/slider-100/slider-100.uvue +++ b/pages/component/slider-100/slider-100.uvue @@ -6,19 +6,19 @@ + :block-size="20" :show-value="true" /> + :block-size="20" :show-value="true" /> + :block-size="20" :show-value="true" /> + :block-size="20" :show-value="true" /> @@ -31,12 +31,11 @@ data() { return { title: 'slider 滑块 x 100', - sliderValue: 50, - sliderBlockSize: 20 + sliderValue: 50 } }, methods: { - sliderChanging(e: SliderChangeEvent) { + sliderChanging(e : SliderChangeEvent) { this.sliderValue = e.detail.value }, }, @@ -56,11 +55,6 @@ flex: 1; } - .first-slider { - margin: 12px 0; - background-color: rgba(0, 0, 0, 0.1); - } - .slider { margin: 2px 0.5px; } -- GitLab