import{_ as a,b1 as n,b as t,d as e,p as l,w as s,H as i,i as u,o as d,f as o,k as c,Y as p,R as m}from"./index-2PZN6pGH.js";const b=a({data:()=>({title:"makePhoneCall",disabled:!0}),methods:{bindInput:function(a){this.inputValue=a.detail.value,this.inputValue.length>0?this.disabled=!1:this.disabled=!0},makePhoneCall:function(){n({phoneNumber:this.inputValue,success:()=>{console.log("成功拨打电话")}})}}},[["render",function(a,n,b,h,r,f){const _=t(e("page-head"),i),k=u,C=p,I=m;return d(),l(k,null,{default:s((()=>[o(_,{title:r.title},null,8,["title"]),o(k,{class:"uni-padding-wrap uni-common-mt"},{default:s((()=>[o(k,{class:"uni-hello-text uni-center"},{default:s((()=>[c("请在下方输入电话号码")])),_:1}),o(C,{class:"input uni-common-mt",type:"number",name:"input",onInput:f.bindInput},null,8,["onInput"]),o(k,{class:"uni-btn-v uni-common-mt"},{default:s((()=>[o(I,{onClick:f.makePhoneCall,type:"primary",disabled:r.disabled},{default:s((()=>[c("拨打")])),_:1},8,["onClick","disabled"])])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-58a8c0c5"]]);export{b as default};
