import{_ as e,p as a,w as s,i as l,o as t,f as u,v as i,e as n,y as d,F as c,k as o,D as r,J as h,a0 as p,t as m,I as f,Z as _,W as w}from"./index-2PZN6pGH.js";const g=e({data:()=>({showSwiper:!1,imgUrls:["../../../static/shuijiao.jpg","https://web-assets.dcloud.net.cn/unidoc/zh/muwu.jpg","https://web-assets.dcloud.net.cn/unidoc/zh/cbd.jpg"],items:[{value:"img",name:"静态图",checked:!0},{value:"swiper",name:"轮播图",checked:!1}]}),methods:{radioChange(e){this.showSwiper="swiper"===e.detail.value}}},[["render",function(e,g,k,v,y,j){const b=r,C=l,S=f,x=h,U=_,z=w,I=p;return t(),a(C,{class:"page"},{default:s((()=>[y.showSwiper?i("",!0):(t(),a(C,{key:0,class:"img-view"},{default:s((()=>[u(b,{src:y.imgUrls[0]},null,8,["src"])])),_:1})),y.showSwiper?(t(),a(x,{key:1,"indicator-dots":"true"},{default:s((()=>[(t(!0),n(c,null,d(y.imgUrls,((e,l)=>(t(),a(S,{key:l},{default:s((()=>[u(b,{src:e},null,8,["src"])])),_:2},1024)))),128))])),_:1})):i("",!0),u(C,{class:"uni-padding-wrap uni-common-mt"},{default:s((()=>[u(C,{class:"uni-title"},{default:s((()=>[u(C,null,{default:s((()=>[o("在App端默认为标题栏透明，当用户向下滚动时，标题栏逐渐由透明转变为不透明；当用户再次向上滚动时，标题栏又从不透明变为透明状态。")])),_:1}),u(C,null,{default:s((()=>[o("在微信小程序端，导航栏始终为不透明样式。")])),_:1})])),_:1}),u(C,{class:"uni-title uni-common-mt"},{default:s((()=>[o("图片类型")])),_:1})])),_:1}),u(C,{class:"uni-list"},{default:s((()=>[u(I,{onChange:j.radioChange},{default:s((()=>[(t(!0),n(c,null,d(y.items,((e,l)=>(t(),a(z,{class:"uni-list-cell uni-list-cell-pd",key:l},{default:s((()=>[u(C,null,{default:s((()=>[o(m(e.name),1)])),_:2},1024),u(C,null,{default:s((()=>[u(U,{value:e.value,checked:e.checked},null,8,["value","checked"])])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["onChange"])])),_:1}),u(C,{style:{height:"1000rpx"}})])),_:1})}],["__scopeId","data-v-eb2347e2"]]);export{g as default};
