import{_ as t,G as e,b as s,d as a,p as n,w as l,i as u,o as i,f as o,k as c,e as d,y as r,F as _,C as f,a0 as m,t as p,Z as h}from"./index-2PZN6pGH.js";import{_ as y}from"./uni-card.CpdfOoXJ.js";import{_ as x}from"./uni-load-more.BMea_02e.js";import{_ as k}from"./uni-section.BISPxi99.js";const v=t({components:{},data:()=>({status:"more",statusTypes:[{value:"more",text:"加载前",checked:!0},{value:"loading",text:"加载中",checked:!1},{value:"noMore",text:"没有更多",checked:!1}],contentText:{contentdown:"查看更多",contentrefresh:"加载中",contentnomore:"没有更多"}}),methods:{onChange(t){this.status=t.detail.value},clickLoadMore(t){e({icon:"none",title:"当前状态："+t.detail.status})}}},[["render",function(t,e,v,T,g,C){const j=f,w=s(a("uni-card"),y),F=s(a("uni-load-more"),x),b=s(a("uni-section"),k),M=u,q=h,A=m;return i(),n(M,{class:"container"},{default:l((()=>[o(w,{"is-full":"","is-shadow":!1},{default:l((()=>[o(j,{class:"uni-h6"},{default:l((()=>[c("加载更多组件用于页面加载更多数据时，页面底部显示内容等场景")])),_:1})])),_:1}),o(b,{title:"基本用法",type:"line"},{default:l((()=>[o(F,{status:g.status},null,8,["status"])])),_:1}),o(b,{title:"修改默认文字",type:"line"},{default:l((()=>[o(F,{status:g.status,"content-text":g.contentText},null,8,["status","content-text"])])),_:1}),o(b,{title:"改变颜色",type:"line"},{default:l((()=>[o(F,{color:"#007AFF",status:g.status},null,8,["status"])])),_:1}),o(b,{title:"指定加载图标样式 - 按平台自动选择样式",type:"line"},{default:l((()=>[o(F,{iconType:"auto",status:g.status},null,8,["status"])])),_:1}),o(b,{title:"指定加载图标样式 - 环形",type:"line"},{default:l((()=>[o(F,{iconType:"circle",status:g.status},null,8,["status"])])),_:1}),o(b,{title:"改变组件状态",type:"line"},{default:l((()=>[o(A,{class:"uni-list",onChange:C.onChange},{default:l((()=>[(i(!0),d(_,null,r(g.statusTypes,((t,e)=>(i(),n(M,{key:e,class:"uni-list-item"},{default:l((()=>[o(M,{class:"uni-list-item__container"},{default:l((()=>[o(M,{class:"uni-list-item__content"},{default:l((()=>[o(j,{class:"uni-list-item__content-title"},{default:l((()=>[c(p(t.text),1)])),_:2},1024)])),_:2},1024),o(M,{class:"uni-list-item__extra"},{default:l((()=>[o(q,{value:t.value,checked:t.checked},null,8,["value","checked"])])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128))])),_:1},8,["onChange"])])),_:1})])),_:1})}],["__scopeId","data-v-de72e9ba"]]);export{v as default};
