import{_ as a,b as e,d as l,p as u,w as n,i as t,o as d,f as o,k as s,C as i}from"./index-2PZN6pGH.js";import{_ as c}from"./uni-card.CpdfOoXJ.js";import{_ as p}from"./uni-data-select.DxKbGgsN.js";import{_ as m}from"./uni-section.BISPxi99.js";const r=a({data:()=>({value:0,range:[{value:0,text:"篮球",disable:!0},{value:1,text:"足球"},{value:2,text:"游泳"}]}),methods:{change(a){console.log("e:",a)}}},[["render",function(a,r,f,_,g,v){const h=i,V=e(l("uni-card"),c),b=e(l("uni-data-select"),p),x=t,C=e(l("uni-section"),m);return d(),u(x,null,{default:n((()=>[o(V,{"is-shadow":!1,"is-full":""},{default:n((()=>[o(h,{class:"uni-h6"},{default:n((()=>[s("通过数据驱动的单选框和复选框，可直接通过连接 uniCloud 获取数据，同时可以配合表单组件 uni-forms 使用")])),_:1})])),_:1}),o(C,{title:"本地数据",type:"line"},{default:n((()=>[o(x,{class:"uni-px-5 uni-pb-5"},{default:n((()=>[o(b,{modelValue:g.value,"onUpdate:modelValue":r[0]||(r[0]=a=>g.value=a),localdata:g.range,onChange:v.change},null,8,["modelValue","localdata","onChange"])])),_:1})])),_:1}),o(C,{title:"禁用状态",type:"line"},{default:n((()=>[o(x,{class:"uni-px-5 uni-pb-5"},{default:n((()=>[o(b,{modelValue:g.value,"onUpdate:modelValue":r[1]||(r[1]=a=>g.value=a),disabled:!0,localdata:g.range},null,8,["modelValue","localdata"])])),_:1})])),_:1}),o(C,{title:"是否可清除已选项",type:"line"},{default:n((()=>[o(x,{class:"uni-px-5 uni-pb-5"},{default:n((()=>[o(b,{modelValue:g.value,"onUpdate:modelValue":r[2]||(r[2]=a=>g.value=a),localdata:g.range,onChange:v.change,clear:!1},null,8,["modelValue","localdata","onChange"])])),_:1})])),_:1}),o(C,{title:"配置左侧标题",type:"line"},{default:n((()=>[o(x,{class:"uni-px-5 uni-pb-5"},{default:n((()=>[o(b,{modelValue:g.value,"onUpdate:modelValue":r[3]||(r[3]=a=>g.value=a),localdata:g.range,onChange:v.change,label:"应用选择"},null,8,["modelValue","localdata","onChange"])])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-d2be1203"]]);export{r as default};
