import{_ as a}from"./el-navbar.DVIyjZEN.js";import{r as s,o as e,ag as t,b as l,d as r,e as u,f as o,w as n,g as i,l as c,h as d,i as p,F as g,v as _,A as f,j as m,p as y,T as v,x as b,R as x}from"./index-DVkgSHpn.js";import{_ as h,a as j}from"./el-layout._U-vZTft.js";const k=h({__name:"picture",setup(h){s(0);let k=s([]),I=s(!1),w=s(!1),$=s(500),A=s(!0),C=s(0);s(!1),e((()=>{F()})),t((()=>{}));const F=()=>{C.value=uni.$storage.get("picIndex",0),k.value=uni.$storage.getJson("picList",[])},J=a=>{C.value=a.detail.current};return(s,e)=>{const t=l(r("el-navbar"),a),h=y,F=x,L=v,P=l(r("el-layout"),j);return u(),o(P,null,{default:n((()=>[i(t,{opacity:0,border:!1,fixed:!0,title:""}),i(h,{class:"mask"},{default:n((()=>[i(L,{onChange:J,class:"my_swiper",current:c(C),circular:c(A),"indicator-dots":c(I),autoplay:c(w),duration:c($)},{default:n((()=>[(u(!0),d(g,null,p(c(k),((a,s)=>(u(),o(F,{key:s},{default:n((()=>[i(h,{class:"bg_img",style:b({backgroundImage:"url("+a+")"})},null,8,["style"])])),_:2},1024)))),128))])),_:1},8,["current","circular","indicator-dots","autoplay","duration"])])),_:1}),c(k).length>0?(u(),o(h,{key:0,class:"page"},{default:n((()=>[_(f(c(C)+1)+" / "+f(c(k).length),1)])),_:1})):m("",!0)])),_:1})}}},[["__scopeId","data-v-e14e150c"]]);export{k as default};
//# sourceMappingURL=pages-public-picture.BLezExnZ.js.map
