import"./index-2a45336b.js";import{u as g}from"./useForm-269e95cd.js";import{a as k,b as t,o as h,k as P,e,w as a,E as l,u as s}from"./ant-design-vue-710243d9.js";import"./tinymce-3184e0f1.js";import"./echarts-ca5d9323.js";import"./cropper-47c8e461.js";import"./lodash-es-7cb071db.js";import"./qrcode-bec2257a.js";import"./jschardet-bd496279.js";const D=Object.assign({name:"Step2"},{__name:"Step2",emits:["next","prev"],setup(C,{emit:m}){const{formData:r,formRules:p,formRef:u}=g(),n=k(!1);p.value={paymentPassword:[{required:!0,message:"请输入支付密码"}]};function f(){n.value=!0,u.value.validate().then(()=>{setTimeout(()=>{n.value=!1,m("next")},1500)}).catch(()=>{n.value=!1})}function d(){m("prev")}return(B,_)=>{const i=t("a-alert"),o=t("a-form-item"),v=t("a-divider"),b=t("a-input"),c=t("a-button"),w=t("a-space"),x=t("a-form");return h(),P("div",null,[e(x,{ref_key:"formRef",ref:u,model:s(r),"label-col":{lg:{span:5},sm:{span:5}},"wrapper-col":{lg:{span:19},sm:{span:19}},rules:s(p)},{default:a(()=>[e(i,{message:"确认转账后，资金将直接打入对方账户，无法退回。",style:{marginBottom:"24px"},closable:!0}),e(o,{label:"付款账户"},{default:a(()=>[l(" ****@***.com ")]),_:1}),e(o,{label:"收款账户"},{default:a(()=>[l(" test@example.com ")]),_:1}),e(o,{label:"收款人姓名"},{default:a(()=>[l(" Alex ")]),_:1}),e(o,{label:"转账金额"},{default:a(()=>[l(" ￥ 5,000.00 ")]),_:1}),e(v),e(o,{label:"支付密码",name:"paymentPassword"},{default:a(()=>[e(b,{value:s(r).paymentPassword,"onUpdate:value":_[0]||(_[0]=y=>s(r).paymentPassword=y),type:"password",style:{width:"80%"}},null,8,["value"])]),_:1}),e(o,{"wrapper-col":{span:19,offset:5}},{default:a(()=>[e(w,null,{default:a(()=>[e(c,{type:"primary",loading:n.value,onClick:f},{default:a(()=>[l(" 提交 ")]),_:1},8,["loading"]),e(c,{onClick:d},{default:a(()=>[l("上一步 ")]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])])}}});export{D as default};
