import{_ as a,b as l,d as t,p as e,w as n,H as i,i as s,o as u,f as d,k as o,t as c,I as r,J as f,K as h,C as p,L as g}from"./index-2PZN6pGH.js";const _=a({data:()=>({background:["color1","color2","color3"],indicatorDots:!0,autoplay:!0,interval:2e3,duration:500}),methods:{changeIndicatorDots(a){this.indicatorDots=!this.indicatorDots},changeAutoplay(a){this.autoplay=!this.autoplay},intervalChange(a){this.interval=a.detail.value},durationChange(a){this.duration=a.detail.value}}},[["render",function(a,_,m,v,C,w){const y=l(t("page-head"),i),b=s,D=r,k=f,x=h,I=p,A=g;return u(),e(b,null,{default:n((()=>[d(y,{title:"swiper,可滑动视图"}),d(b,{class:"uni-margin-wrap"},{default:n((()=>[d(k,{class:"swiper",circular:"","indicator-dots":C.indicatorDots,autoplay:C.autoplay,interval:C.interval,duration:C.duration},{default:n((()=>[d(D,null,{default:n((()=>[d(b,{class:"swiper-item uni-bg-red"},{default:n((()=>[o("A")])),_:1})])),_:1}),d(D,null,{default:n((()=>[d(b,{class:"swiper-item uni-bg-green"},{default:n((()=>[o("B")])),_:1})])),_:1}),d(D,null,{default:n((()=>[d(b,{class:"swiper-item uni-bg-blue"},{default:n((()=>[o("C")])),_:1})])),_:1})])),_:1},8,["indicator-dots","autoplay","interval","duration"])])),_:1}),d(b,{class:"swiper-list"},{default:n((()=>[d(b,{class:"uni-list-cell uni-list-cell-pd"},{default:n((()=>[d(b,{class:"uni-list-cell-db"},{default:n((()=>[o("指示点")])),_:1}),d(x,{checked:C.indicatorDots,onChange:w.changeIndicatorDots},null,8,["checked","onChange"])])),_:1}),d(b,{class:"uni-list-cell uni-list-cell-pd"},{default:n((()=>[d(b,{class:"uni-list-cell-db"},{default:n((()=>[o("自动播放")])),_:1}),d(x,{checked:C.autoplay,onChange:w.changeAutoplay},null,8,["checked","onChange"])])),_:1})])),_:1}),d(b,{class:"uni-padding-wrap"},{default:n((()=>[d(b,{class:"uni-common-mt"},{default:n((()=>[d(I,null,{default:n((()=>[o("幻灯片切换时长(ms)")])),_:1}),d(I,{class:"info"},{default:n((()=>[o(c(C.duration),1)])),_:1})])),_:1}),d(A,{onChange:w.durationChange,value:C.duration,min:"500",max:"2000"},null,8,["onChange","value"]),d(b,{class:"uni-common-mt"},{default:n((()=>[d(I,null,{default:n((()=>[o("自动播放间隔时长(ms)")])),_:1}),d(I,{class:"info"},{default:n((()=>[o(c(C.interval),1)])),_:1})])),_:1}),d(A,{onChange:w.intervalChange,value:C.interval,min:"2000",max:"10000"},null,8,["onChange","value"])])),_:1})])),_:1})}],["__scopeId","data-v-f3ad77df"]]);export{_ as default};
