"use strict";const e=require("../../common/vendor.js");if(!Array){(e.resolveComponent("hs-button")+e.resolveComponent("up-keyboard"))()}Math||((()=>"../../components/hs-button/hs-button.js")+(()=>"../../node-modules/uview-plus/components/u-keyboard/u-keyboard.js"))();const o=e.defineComponent({__name:"index",setup(o){const l=e.ref(""),n=e.ref(!0),u=e=>{var o,n,u;if((null==(o=l.value)?void 0:o.length)<12)if("."===e)(null==(n=l.value)?void 0:n.includes("."))||(l.value+=e);else{let o=null==(u=null==l?void 0:l.value)?void 0:u.split(".")[1];console.log(o,"inputNum"),(!o||(null==o?void 0:o.length)<2)&&(l.value+=e)}console.log(e)},s=()=>{e.index.showModal({title:"提示",content:"该功能在当前项目暂未开放，敬请期待",confirmColor:"#0082FA",success:function(e){e.confirm?console.log("用户点击确定"):e.cancel&&console.log("用户点击取消")}})},t=()=>{var e;l.value=null==(e=l.value)?void 0:e.slice(0,-1),console.log(l.value)};return(o,a)=>e.e({a:!l.value},l.value?{b:e.t(l.value)}:{},{c:e.o((e=>n.value=!0)),d:e.o(s),e:e.p({size:"md",label:"立即支付",type:"primary"}),f:e.o((e=>n.value=!1)),g:e.o(u),h:e.o(t),i:e.o((e=>n.value=!1)),j:e.o((e=>n.value=!1)),k:e.p({show:n.value})})}});wx.createPage(o);
