(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-65fb3654"],{3958:function(t,a,e){t.exports=e.p+"img/S.1db749bc.svg"},"3a4a":function(t,a,e){"use strict";e.r(a);var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("header",{staticClass:"header"},[e("div",{staticClass:"header-text"},[t._v("付款给"+t._s(t.merchantName))]),e("div",{staticClass:"header-img"},[e("img",{attrs:{src:t.avatar?t.avatar:t.icon_member_default,alt:""}})])]),e("div",{staticClass:"plus-input"},[t._m(0),e("div",{staticClass:"input-c"},[e("div",{staticClass:"input-c-div-1"},[t._v(t._s(t.amount))])]),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.amount,expression:"!amount"}],staticClass:"placeholder"},[t._v("请输入金额")])]),e("ul",{staticClass:"plus-ul"},[e("li",{staticStyle:{"border-radius":"10px"}},[e("div",{staticClass:"img-div"},[e("img",{attrs:{src:t.wxImg,alt:""}}),e("div",{staticClass:"div-text"},[t._v(" 云闪付支付 ")])])])]),e("div",{staticClass:"bnt-pay"})])},s=[function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"S"},[i("img",{attrs:{src:e("3958"),alt:""}})])}],n=e("4ec3"),c=e("f121"),r={data:function(){return{merchantName:"jeepay",avatar:e("d0bb"),amount:1,resData:{},wxImg:e("d0bb")}},mounted:function(){},methods:{pay:function(){var t=this;Object(n["c"])(this.amount).then((function(a){console.log(a),window.AlipayJSBridge?t.doAlipay(a.alipayTradeNo):document.addEventListener("AlipayJSBridgeReady",(function(){t.doAlipay(a.alipayTradeNo)}),!1)})).catch((function(a){t.$router.push({name:c["a"].errorPageRouteName,params:{errInfo:a.msg}})}))},doAlipay:function(t){AlipayJSBridge.call("tradePay",{tradeNO:t},(function(t){"9000"==t.resultCode&&alert("支付成功！")}))}}},d=r,o=(e("640d"),e("2877")),l=Object(o["a"])(d,i,s,!1,null,"5c798981",null);a["default"]=l.exports},"640d":function(t,a,e){"use strict";e("70c2")},"70c2":function(t,a,e){},d0bb:function(t,a,e){t.exports=e.p+"img/ysf.dbdf047a.jpg"}}]);
//# sourceMappingURL=chunk-65fb3654.8c87dbee.js.map