"use strict";const o=require("../../common/vendor.js");if(!Array){o.resolveComponent("uni-icons")()}Math;const e=o.defineComponent({__name:"hs-button",props:["type","label","icon","size","openType","disabled","iconColor","buttonStyle"],emits:["click","onGetPhoneNumber"],setup(e,{emit:n}){const l=e,t=()=>{n("click")},i=o=>{var e;"getPhoneNumber:ok"===(null==(e=null==o?void 0:o.detail)?void 0:e.errMsg)&&n("onGetPhoneNumber",o)};return(e,n)=>o.e({a:null==l?void 0:l.icon},(null==l?void 0:l.icon)?{b:o.p({type:null==l?void 0:l.icon,size:"16",color:(null==l?void 0:l.iconColor)||"#0082fa"})}:{},{c:o.t((null==l?void 0:l.label)||"我是按钮"),d:o.s(l.buttonStyle),e:(null==l?void 0:l.openType)||"",f:o.n(`nchl_button ${null==l?void 0:l.type}_button ${(null==l?void 0:l.size)||"sm"}_size`),g:o.o(t),h:o.o(i),i:null==l?void 0:l.disabled})}}),n=o._export_sfc(e,[["__scopeId","data-v-ac93088e"]]);wx.createComponent(n);
