"use strict";const e=require("../../../common/vendor.js"),o=require("../../../utils/commUtils.js");if(!Array){(e.resolveComponent("wd-icon")+e.resolveComponent("layout-default-uni"))()}Math;const n=e.defineComponent({__name:"bind-phone",setup(n){const t=e.ref(""),a=e.ref(""),s=()=>{t.value?e.index.showToast({title:"验证码已发送",icon:"success"}):e.index.showToast({title:"请输入手机号",icon:"none"})},i=()=>{a.value?t.value||e.index.showToast({title:"请输入手机号",icon:"none"}):e.index.showToast({title:"请输入验证码",icon:"none"})};return(n,l)=>({a:e.p({name:"search",size:"24"}),b:t.value,c:e.o((e=>t.value=e.detail.value)),d:e.p({name:"search",size:"24"}),e:a.value,f:e.o((e=>a.value=e.detail.value)),g:e.o(s),h:e.o(i),i:e.o((n=>e.unref(o.toPath)("/")))})}}),t=e._export_sfc(n,[["__scopeId","data-v-8ea7e1c1"]]);wx.createPage(t);