vue-slider-component icon indicating copy to clipboard operation
vue-slider-component copied to clipboard

大佬好,我想问下多滑块情况下 每段轨道颜色可以设置? 例如 0-50 一个颜色 50-100 ...

Open RPK-G opened this issue 3 years ago • 3 comments

RPK-G avatar Jul 29 '22 07:07 RPK-G

@RPK-G 可以的,在线文档里有

https://nightcatsama.github.io/vue-slider-component/#/zh-CN/basics/process?hash=%E5%BD%93%E5%80%BC%E7%9A%84%E7%B1%BB%E5%9E%8B%E4%B8%BA-function

NightCatSama avatar Jul 29 '22 07:07 NightCatSama

@RPK-G可以的,在线文档里有

https://nightcatsama.github.io/vue-slider-component/#/zh-CN/basics/process?hash=%E5%BD%93%E5%80%BC%E7%9A%84%E7%B1 %BB%E5%9E%8B%E4%B8%BA-功能

你好,这是线颜色吗, 我想实现是根据滑块间段 设置 轨道的颜色

RPK-G avatar Jul 29 '22 10:07 RPK-G

@RPK-G 轨道的话动态设置 railStyle 就行了,写个 computed 去根据值判断

NightCatSama avatar Jul 30 '22 05:07 NightCatSama