1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ac955fbc","chunk-74a499e8","chunk-17d8943d","chunk-7514a610","chunk-2d0dde11"],{"0068":function(t,a,e){"use strict";e("0541")},"0169":function(t,a,e){},"0541":function(t,a,e){},"27cf":function(t,a,e){"use strict";e("6603")},6603:function(t,a,e){},"82ef":function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t._self._c;return a("div",[a("a-form",{staticStyle:{"max-width":"500px",margin:"40px auto 0"}},[a("a-form-item",{attrs:{label:"付款账户",labelCol:{span:5},wrapperCol:{span:19}}},[a("a-select",{attrs:{value:"1",placeholder:"ant-design@alipay.com"}},[a("a-select-option",{attrs:{value:"1"}},[t._v("ant-design@alipay.com")])],1)],1),a("a-form-item",{attrs:{label:"收款账户",labelCol:{span:5},wrapperCol:{span:19}}},[a("a-input-group",{staticStyle:{display:"inline-block","vertical-align":"middle"},attrs:{compact:!0}},[a("a-select",{staticStyle:{width:"100px"},attrs:{defaultValue:"alipay"}},[a("a-select-option",{attrs:{value:"alipay"}},[t._v("支付宝")]),a("a-select-option",{attrs:{value:"wexinpay"}},[t._v("微信")])],1),a("a-input",{style:{width:"calc(100% - 100px)"},attrs:{value:"test@example.com"}})],1)],1),a("a-form-item",{attrs:{label:"收款人姓名",labelCol:{span:5},wrapperCol:{span:19}}},[a("a-input",{attrs:{value:"Alex"}})],1),a("a-form-item",{attrs:{label:"转账金额",labelCol:{span:5},wrapperCol:{span:19}}},[a("a-input",{attrs:{prefix:"¥",value:"5000"}})],1),a("a-form-item",{attrs:{wrapperCol:{span:19,offset:5}}},[a("a-button",{attrs:{type:"primary"},on:{click:t.nextStep}},[t._v("下一步")])],1)],1)],1)},n=[],i={name:"Step1",methods:{nextStep:function(){this.$emit("nextStep")}}},r=i,l=e("2877"),c=Object(l["a"])(r,s,n,!1,null,"1745cd50",null);a["default"]=c.exports},"9a3d":function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"result"},[a("div",[a("a-icon",{class:[t.isSuccess?"success":"error","icon"],attrs:{type:t.isSuccess?"check-circle":"close-circle"}})],1),t.title?a("div",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t.description?a("div",{staticClass:"description"},[t._v(t._s(t.description))]):t._e(),t.content?a("div",{staticClass:"content"},[t._t("default")],2):t._e(),a("div",{staticClass:"action"},[t._t("action")],2)])},n=[],i={name:"Result",props:{isSuccess:{type:Boolean,default:!1},title:{type:String,default:""},description:{type:String,default:""},content:{type:Boolean,default:!0}}},r=i,l=(e("0068"),e("2877")),c=Object(l["a"])(r,s,n,!1,null,"5cd17224",null);a["default"]=c.exports},a462:function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t._self._c;return a("div",[a("a-form",{staticStyle:{margin:"40px auto 0"}},[a("result",{attrs:{title:"操作成功","is-success":!0,description:"预计两小时内到账"}},[a("div",{staticClass:"information"},[a("a-row",[a("a-col",{attrs:{sm:8,xs:24}},[t._v("付款账户:")]),a("a-col",{attrs:{sm:16,xs:24}},[t._v("ant-design@alipay.com")])],1),a("a-row",[a("a-col",{attrs:{sm:8,xs:24}},[t._v("收款账户:")]),a("a-col",{attrs:{sm:16,xs:24}},[t._v("test@example.com")])],1),a("a-row",[a("a-col",{attrs:{sm:8,xs:24}},[t._v("收款人姓名:")]),a("a-col",{attrs:{sm:16,xs:24}},[t._v("辉夜")])],1),a("a-row",[a("a-col",{attrs:{sm:8,xs:24}},[t._v("转账金额:")]),a("a-col",{attrs:{sm:16,xs:24}},[a("span",{staticClass:"money"},[t._v("500")]),t._v(" 元")])],1)],1),a("div",{attrs:{slot:"action"},slot:"action"},[a("a-button",{attrs:{type:"primary"},on:{click:t.finish}},[t._v("再转一笔")]),a("a-button",{staticStyle:{"margin-left":"8px"},on:{click:t.toOrderList}},[t._v("查看账单")])],1)])],1)],1)},n=[],i=e("9a3d"),r={name:"Step3",components:{Result:i["default"]},data:function(){return{loading:!1}},methods:{finish:function(){this.$emit("finish")},toOrderList:function(){this.$router.push("/list/query-list")}}},l=r,c=(e("27cf"),e("2877")),o=Object(c["a"])(l,s,n,!1,null,"c5b7ccc6",null);a["default"]=o.exports},b1bc:function(t,a,e){"use strict";e("0169")},c09d:function(t,a,e){"use strict";e("ec70")},ec70:function(t,a,e){},f311:function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t._self._c;return a("a-card",{attrs:{bordered:!1}},[a("a-steps",{staticClass:"steps",attrs:{current:t.currentTab}},[a("a-step",{attrs:{title:"填写转账信息"}}),a("a-step",{attrs:{title:"确认转账信息"}}),a("a-step",{attrs:{title:"完成"}})],1),a("div",{staticClass:"content"},[0===t.currentTab?a("step1",{on:{nextStep:t.nextStep}}):t._e(),1===t.currentTab?a("step2",{on:{nextStep:t.nextStep,prevStep:t.prevStep}}):t._e(),2===t.currentTab?a("step3",{on:{prevStep:t.prevStep,finish:t.finish}}):t._e()],1)],1)},n=[],i=e("82ef"),r=e("f4a3"),l=e("a462"),c={name:"StepForm",components:{Step1:i["default"],Step2:r["default"],Step3:l["default"]},data:function(){return{description:"将一个冗长或用户不熟悉的表单任务分成多个步骤,指导用户完成。",currentTab:0,form:null}},methods:{nextStep:function(){this.currentTab<2&&(this.currentTab+=1)},prevStep:function(){this.currentTab>0&&(this.currentTab-=1)},finish:function(){this.currentTab=0}}},o=c,p=(e("c09d"),e("2877")),u=Object(p["a"])(o,s,n,!1,null,"147b9e4d",null);a["default"]=u.exports},f4a3:function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t._self._c;return a("div",[a("a-form",{staticStyle:{"max-width":"500px",margin:"40px auto 0"}},[a("a-alert",{staticStyle:{"margin-bottom":"24px"},attrs:{closable:!0,message:"确认转账后,资金将直接打入对方账户,无法退回。"}}),a("a-form-item",{staticClass:"stepFormText",attrs:{label:"付款账户",labelCol:{span:5},wrapperCol:{span:19}}},[t._v("\n ant-design@alipay.com\n ")]),a("a-form-item",{staticClass:"stepFormText",attrs:{label:"收款账户",labelCol:{span:5},wrapperCol:{span:19}}},[t._v("\n test@example.com\n ")]),a("a-form-item",{staticClass:"stepFormText",attrs:{label:"收款人姓名",labelCol:{span:5},wrapperCol:{span:19}}},[t._v("\n Alex\n ")]),a("a-form-item",{staticClass:"stepFormText",attrs:{label:"转账金额",labelCol:{span:5},wrapperCol:{span:19}}},[t._v("\n ¥ 5,000.00\n ")]),a("a-form-item",{attrs:{wrapperCol:{span:19,offset:5}}},[a("a-button",{attrs:{loading:t.loading,type:"primary"},on:{click:t.nextStep}},[t._v("提交")]),a("a-button",{staticStyle:{"margin-left":"8px"},on:{click:t.prevStep}},[t._v("上一步")])],1)],1)],1)},n=[],i={name:"Step2",data:function(){return{loading:!1}},methods:{nextStep:function(){var t=this;t.loading=!0,setTimeout((function(){t.$emit("nextStep")}),1500)},prevStep:function(){this.$emit("prevStep")}}},r=i,l=(e("b1bc"),e("2877")),c=Object(l["a"])(r,s,n,!1,null,"73ad4b02",null);a["default"]=c.exports}}]);
|