diff --git a/pages/component/slider-100/slider-100.uvue b/pages/component/slider-100/slider-100.uvue index e7885d05e11df6d703091dfa2c6e034fabed3d1a..77c77f87ef38bba1ea82e847240b495b6b37693b 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; }