import{_ as e,b as a,d as t,p as i,w as l,H as r,i as d,o as s,f as n,k as u,R as o}from"./index-2PZN6pGH.js";const p=e({data:()=>({title:"button",loading:!1}),onLoad(){this._timer=null},onShow(){this.clearTimer(),this._timer=setTimeout((()=>{this.loading=!0}),300)},onUnload(){this.clearTimer(),this.loading=!1},methods:{openTypeError(e){console.error("open-type error:",e)},clearTimer(){null!=this._timer&&clearTimeout(this._timer)}}},[["render",function(e,p,m,f,_,y){const c=a(t("page-head"),r),b=o,h=d;return s(),i(h,null,{default:l((()=>[n(c,{title:_.title},null,8,["title"]),n(h,{class:"uni-padding-wrap uni-common-mt"},{default:l((()=>[n(b,{type:"primary"},{default:l((()=>[u("页面主操作 Normal")])),_:1}),n(b,{type:"primary",loading:_.loading},{default:l((()=>[u("页面主操作 Loading")])),_:1},8,["loading"]),n(b,{type:"primary",disabled:"true"},{default:l((()=>[u("页面主操作 Disabled")])),_:1}),n(b,{type:"default"},{default:l((()=>[u("页面次要操作 Normal")])),_:1}),n(b,{type:"default",disabled:"true"},{default:l((()=>[u("页面次要操作 Disabled")])),_:1}),n(b,{type:"warn"},{default:l((()=>[u("警告类操作 Normal")])),_:1}),n(b,{type:"warn",disabled:"true"},{default:l((()=>[u("警告类操作 Disabled")])),_:1}),n(h,{class:"button-sp-area"},{default:l((()=>[n(b,{type:"primary",plain:"true"},{default:l((()=>[u("按钮")])),_:1}),n(b,{type:"primary",disabled:"true",plain:"true"},{default:l((()=>[u("不可点击的按钮")])),_:1}),n(b,{type:"default",plain:"true"},{default:l((()=>[u("按钮")])),_:1}),n(b,{type:"default",disabled:"true",plain:"true"},{default:l((()=>[u("按钮")])),_:1}),n(b,{class:"mini-btn",type:"primary",size:"mini"},{default:l((()=>[u("按钮")])),_:1}),n(b,{class:"mini-btn",type:"default",size:"mini"},{default:l((()=>[u("按钮")])),_:1}),n(b,{class:"mini-btn",type:"warn",size:"mini"},{default:l((()=>[u("按钮")])),_:1})])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-c751f824"]]);export{p as default};
