import{_ as l,b as e,d as a,p as n,w as t,H as u,i as s,o,f as i,k as d,L as r}from"./index-2PZN6pGH.js";const g=l({data:()=>({title:"slider 滑块"}),methods:{sliderChange(l){console.log("value 发生变化："+l.detail.value)}}},[["render",function(l,g,h,C,c,f){const _=e(a("page-head"),u),v=s,m=r;return o(),n(v,null,{default:t((()=>[i(_,{title:c.title},null,8,["title"]),i(v,{class:"uni-padding-wrap uni-common-mt"},{default:t((()=>[i(v,{class:"uni-title"},{default:t((()=>[d("显示当前value")])),_:1}),i(v,null,{default:t((()=>[i(m,{value:"50",onChange:f.sliderChange,"show-value":""},null,8,["onChange"])])),_:1}),i(v,{class:"uni-title"},{default:t((()=>[d("设置步进step跳动")])),_:1}),i(v,null,{default:t((()=>[i(m,{value:"60",onChange:f.sliderChange,step:"5"},null,8,["onChange"])])),_:1}),i(v,{class:"uni-title"},{default:t((()=>[d("设置最小/最大值")])),_:1}),i(v,null,{default:t((()=>[i(m,{value:"100",onChange:f.sliderChange,min:"50",max:"200","show-value":""},null,8,["onChange"])])),_:1}),i(v,{class:"uni-title"},{default:t((()=>[d("不同颜色和大小的滑块")])),_:1}),i(v,null,{default:t((()=>[i(m,{value:"50",onChange:f.sliderChange,activeColor:"#FFCC33",backgroundColor:"#000000","block-color":"#8A6DE9","block-size":"20"},null,8,["onChange"])])),_:1})])),_:1})])),_:1})}]]);export{g as default};
