userLoginPopup.js 659 B

1
  1. "use strict";const e=require("../common/vendor.js"),o=require("../utils/system.js");if(!Array){e.resolveComponent("wd-popup")()}Math;const t=e.defineComponent({__name:"userLoginPopup",props:{path:{type:String,default:""},refresh:{type:Boolean,default:!1}},setup(t,{expose:s,emit:n}){let p=e.ref(!1);const r=n,a=t,i=async e=>{const t=await o.getMobile(e.detail.code,a.path);r("getPhone",t),p.value=!1};return s({show:p}),(o,t)=>({a:e.o(i),b:e.o(o.handleClose),c:e.o((o=>e.isRef(p)?p.value=o:p=o)),d:e.p({position:"bottom","custom-style":"height: 400rpx;",modelValue:e.unref(p)})})}}),s=e._export_sfc(t,[["__scopeId","data-v-b9e38754"]]);wx.createComponent(s);