mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-04-27 11:16:34 +08:00
7 lines
6.9 KiB
JavaScript
7 lines
6.9 KiB
JavaScript
/*!
|
|
* build: vue-admin-better
|
|
* vue-admin-beautiful.com
|
|
* https://gitee.com/chu1204505056/vue-admin-better
|
|
* time: 2022-2-26 00:26:40
|
|
*/
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-60bcadea"],{1890:function(t,e,a){"use strict";a("6e7e")},"18b3":function(t,e,a){"use strict";a("57bb")},2031:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"pay-container"},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{xs:24,sm:{span:20,offset:2},md:{span:20,offset:2},lg:{span:14,offset:5},xl:{span:12,offset:6}}},[a("el-steps",{staticClass:"steps",attrs:{space:200,active:t.active,"align-center":""}},[a("el-step",{attrs:{title:"填写转账信息"}}),a("el-step",{attrs:{title:"确认转账信息"}}),a("el-step",{attrs:{title:"完成"}})],1),1===t.active?a("step1",{on:{"change-step":t.handleSetStep}}):t._e(),2===t.active?a("step2",{attrs:{"info-data":t.form},on:{"change-step":t.handleSetStep}}):t._e(),3===t.active?a("step3",{attrs:{"info-data":t.form},on:{"change-step":t.handleSetStep}}):t._e()],1)],1)],1)},n=[],s=a("9a18"),i=a("a08a"),o=a("b4bd"),l={name:"Pay",components:{Step1:s["default"],Step2:i["default"],Step3:o["default"]},data:function(){return{active:1,form:{}}},methods:{handleSetStep:function(t,e){this.active=t,e&&(this.form=Object.assign(this.form,e))}}},c=l,u=(a("c130"),a("cba8")),f=Object(u["a"])(c,r,n,!1,null,"0c05f869",null);e["default"]=f.exports},"39d0":function(t,e,a){},"57bb":function(t,e,a){},"65cb":function(t,e,a){"use strict";a("39d0")},"6e7e":function(t,e,a){},"9a18":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{"label-width":"0"}},[a("el-alert",{attrs:{"show-icon":""}},[t._v("请务必仔细填写并核对")])],1),a("el-form-item",{attrs:{label:"付款账户",prop:"payAccount"}},[a("el-input",{model:{value:t.form.payAccount,callback:function(e){t.$set(t.form,"payAccount",e)},expression:"form.payAccount"}})],1),a("el-form-item",{attrs:{label:"收款账户",prop:"gatheringAccount"}},[a("el-input",{model:{value:t.form.gatheringAccount,callback:function(e){t.$set(t.form,"gatheringAccount",e)},expression:"form.gatheringAccount"}})],1),a("el-form-item",{attrs:{label:"收款人姓名",prop:"gatheringName"}},[a("el-input",{model:{value:t.form.gatheringName,callback:function(e){t.$set(t.form,"gatheringName",e)},expression:"form.gatheringName"}})],1),a("el-form-item",{attrs:{label:"转账金额",prop:"price"}},[a("el-input",{model:{value:t.form.price,callback:function(e){t.$set(t.form,"price",e)},expression:"form.price"}})],1)],1),a("div",{staticClass:"pay-button-group"},[a("el-button",{attrs:{type:"primary"},on:{click:t.handleSubmit}},[t._v("下一步")])],1)],1)},n=[],s={data:function(){return{form:{payAccount:"XXXXXXXXXXXXXXXX",gatheringAccount:"1204505056@qq.com",gatheringName:"chuzhixin",price:"100"},rules:{payAccount:[{required:!0,message:"请选择付款账户",trigger:"blur"}],gatheringAccount:[{required:!0,message:"请输入收款账户",trigger:"blur"},{type:"email",message:"账户名应为邮箱格式",trigger:"blur"}],gatheringName:[{required:!0,message:"请输入收款人姓名",trigger:"blur"}],price:[{required:!0,message:"请输入转账金额",trigger:"blur"},{pattern:/^(\d+)((?:\.\d+)?)$/,message:"请输入合法金额数字"}]}}},methods:{handleSubmit:function(){var t=this;this.$refs.form.validate((function(e){e&&t.$emit("change-step",2,t.form)}))}}},i=s,o=(a("1890"),a("cba8")),l=Object(o["a"])(i,r,n,!1,null,"7087cfc4",null);e["default"]=l.exports},a08a:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-form",{ref:"form",attrs:{model:t.form,rules:t.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{"label-width":"0"}},[a("el-alert",{attrs:{"show-icon":""}},[t._v(" 确认转账后,资金将直接打入对方账户,无法退回。 ")])],1),a("el-form-item",{attrs:{label:"付款账户:"}},[t._v(" "+t._s(t.infoData.payAccount)+" ")]),a("el-form-item",{attrs:{label:"收款账户:"}},[t._v(" "+t._s(t.infoData.gatheringAccount)+" ")]),a("el-form-item",{attrs:{label:"收款人姓名:"}},[t._v(" "+t._s(t.infoData.gatheringName)+" ")]),a("el-form-item",{attrs:{label:"转账金额:"}},[a("strong",[t._v(" "+t._s(t.infoData.price)+" ")])]),a("el-form-item",{attrs:{label:"支付密码:",prop:"password"}},[a("el-input",{attrs:{type:"password"},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1)],1),a("div",{staticClass:"pay-button-group"},[a("el-button",{attrs:{type:"primary",loading:t.loading},on:{click:t.handleSubmit}},[t._v(" 提交 ")]),a("el-button",{on:{click:t.handlePrev}},[t._v("上一步")])],1)],1)},n=[],s={props:{infoData:{type:Object,default:function(){return{}}}},data:function(){return{form:{password:"123456"},rules:{password:[{required:!0,message:"请输入支付密码",trigger:"blur"}]},loading:!1}},methods:{handleSubmit:function(){var t=this;this.$refs.form.validate((function(e){e?(t.loading=!0,setTimeout((function(){t.$emit("change-step",3),t.loading=!1}),2e3)):t.loading=!1}))},handlePrev:function(){this.$emit("change-step",1)}}},i=s,o=(a("65cb"),a("cba8")),l=Object(o["a"])(i,r,n,!1,null,"3a93403a",null);e["default"]=l.exports},a94f:function(t,e,a){},b4bd:function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"pay-top-content"},[a("vab-icon",{staticClass:"pay-success",attrs:{icon:["fas","check-circle"]}}),a("p",[t._v("支付成功")])],1),a("el-form",{ref:"form",staticClass:"pay-bottom",attrs:{model:t.form,rules:t.rules,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"付款账户:"}},[t._v(" "+t._s(t.infoData.payAccount)+" ")]),a("el-form-item",{attrs:{label:"收款账户:"}},[t._v(" "+t._s(t.infoData.gatheringAccount)+" ")]),a("el-form-item",{attrs:{label:"收款人姓名:"}},[t._v(" "+t._s(t.infoData.gatheringName)+" ")]),a("el-form-item",{attrs:{label:"转账金额:"}},[a("strong",[t._v(" "+t._s(t.infoData.price)+" ")])])],1),a("div",{staticClass:"pay-button-group"},[a("el-button",{attrs:{type:"primary"},on:{click:t.handlePrev}},[t._v("再转一笔")])],1)],1)},n=[],s={props:{infoData:{type:Object,default:function(){return{}}}},data:function(){return{form:{password:"123456"},rules:{password:[{required:!0,message:"请输入支付密码",trigger:"blur"}]},loading:!1}},methods:{handleSubmit:function(){var t=this;this.$refs.form.validate((function(e){e?(t.loading=!0,setTimeout((function(){t.$emit("change-step",3),t.loading=!1}),2e3)):t.loading=!1}))},handlePrev:function(){this.$emit("change-step",1)}}},i=s,o=(a("18b3"),a("cba8")),l=Object(o["a"])(i,r,n,!1,null,"10f0a18c",null);e["default"]=l.exports},c130:function(t,e,a){"use strict";a("a94f")}}]); |