mirror of
https://github.com/jeequan/jeepay
synced 2024-11-17 14:58:04 +08:00
cashier重新打包
This commit is contained in:
parent
da1dcec5b9
commit
55175e9f10
@ -1 +1 @@
|
||||
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><link rel="icon" href="favicon.ico"><title>Jeepay-收银台</title><link href="css/chunk-0a8a1f2c.8266418e.css" rel="prefetch"><link href="css/chunk-2be7c2e5.841b0312.css" rel="prefetch"><link href="css/chunk-4e2a97a6.841b0312.css" rel="prefetch"><link href="css/chunk-74b110af.841b0312.css" rel="prefetch"><link href="css/chunk-93b06108.d5ba12fa.css" rel="prefetch"><link href="js/chunk-0a8a1f2c.9bd81b70.js" rel="prefetch"><link href="js/chunk-235ac4ce.e3ca4e4c.js" rel="prefetch"><link href="js/chunk-2be7c2e5.cceb5256.js" rel="prefetch"><link href="js/chunk-2d20f936.1ce40f42.js" rel="prefetch"><link href="js/chunk-2d22c085.ef49138c.js" rel="prefetch"><link href="js/chunk-4e2a97a6.b7a6c537.js" rel="prefetch"><link href="js/chunk-74b110af.a4fee9cb.js" rel="prefetch"><link href="js/chunk-93b06108.56757d92.js" rel="prefetch"><link href="css/app.b0d6b471.css" rel="preload" as="style"><link href="js/app.9f66f599.js" rel="preload" as="script"><link href="js/chunk-vendors.2e0d2416.js" rel="preload" as="script"><link href="css/app.b0d6b471.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but jeepay-ui-cashier doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.2e0d2416.js"></script><script src="js/app.9f66f599.js"></script></body></html>
|
||||
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><link rel="icon" href="favicon.ico"><title>Jeepay-收银台</title><link href="css/chunk-0a8a1f2c.8266418e.css" rel="prefetch"><link href="css/chunk-206ff9e2.841b0312.css" rel="prefetch"><link href="css/chunk-65dd90fc.841b0312.css" rel="prefetch"><link href="css/chunk-74b110af.841b0312.css" rel="prefetch"><link href="css/chunk-93b06108.d5ba12fa.css" rel="prefetch"><link href="js/chunk-0a8a1f2c.9bd81b70.js" rel="prefetch"><link href="js/chunk-206ff9e2.c0881330.js" rel="prefetch"><link href="js/chunk-235ac4ce.e3ca4e4c.js" rel="prefetch"><link href="js/chunk-2d20f936.1ce40f42.js" rel="prefetch"><link href="js/chunk-2d22c085.ef49138c.js" rel="prefetch"><link href="js/chunk-65dd90fc.b4aa0c91.js" rel="prefetch"><link href="js/chunk-74b110af.a4fee9cb.js" rel="prefetch"><link href="js/chunk-93b06108.56757d92.js" rel="prefetch"><link href="css/app.b0d6b471.css" rel="preload" as="style"><link href="js/app.cebd468e.js" rel="preload" as="script"><link href="js/chunk-vendors.2e0d2416.js" rel="preload" as="script"><link href="css/app.b0d6b471.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but jeepay-ui-cashier doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.2e0d2416.js"></script><script src="js/app.cebd468e.js"></script></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,2 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-206ff9e2"],{3958:function(e,t,a){e.exports=a.p+"img/S.1db749bc.svg"},4472:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",[t("header",{staticClass:"header"},[t("div",{staticClass:"header-text"},[e._v("付款给"+e._s(e.payOrderInfo.mchName))]),t("div",{staticClass:"header-img"},[t("img",{attrs:{src:e.avatar?e.avatar:e.icon_member_default,alt:""}})])]),t("div",{staticClass:"plus-input"},[e._m(0),t("div",{staticClass:"input-c",staticStyle:{width:"100%"}},[e.payOrderInfo.amount?t("div",{staticClass:"input-c-div-1"},[e._v(e._s(e.payOrderInfo.amount/100))]):t("input",{directives:[{name:"model",rawName:"v-model",value:e.amount,expression:"amount"}],staticStyle:{height:"120px"},attrs:{type:"number",placeholder:"请输入金额"},domProps:{value:e.amount},on:{input:function(t){t.target.composing||(e.amount=t.target.value)}}})])]),t("ul",{staticClass:"plus-ul"},[t("li",{staticStyle:{"border-radius":"10px"}},[t("div",{staticClass:"img-div"},[t("img",{attrs:{src:e.wxImg,alt:""}}),t("div",{staticClass:"div-text"},[e._v(" 微信支付 ")])])])]),t("div",{staticClass:"bnt-pay"},[t("div",{staticClass:"bnt-pay-text",staticStyle:{"background-color":"#07c160"},on:{click:e.pay}},[e._v(" 付款 ")])])])},i=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"S"},[t("img",{attrs:{src:a("3958"),alt:""}})])}],n=(a("14d9"),a("4ec3")),s=a("f121"),o={data:function(){return{merchantName:"jeepay",avatar:a("cbee"),amount:null,resData:{},wxImg:a("cbee"),payOrderInfo:{}}},mounted(){this.setPayOrderInfo()},methods:{setPayOrderInfo(){const e=this;Object(n["b"])().then(t=>{e.payOrderInfo=t,t.amount&&(this.amount=t.amount/100,e.pay())}).catch(t=>{e.$router.push({name:s["a"].errorPageRouteName,params:{errInfo:t.msg}})})},pay:function(){if(isNaN(this.amount)||this.amount<=0)return alert("请输入金额");let e=this;Object(n["c"])(this.amount).then(t=>"0"!=t.code?alert(t.msg):1!=t.data.orderState?alert(t.data.errMsg):(e.resData=t.data,void("undefined"==typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",e.onBridgeReady,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",e.onBridgeReady),document.attachEvent("onWeixinJSBridgeReady",e.onBridgeReady)):e.onBridgeReady()))).catch(t=>{e.$router.push({name:s["a"].errorPageRouteName,params:{errInfo:t.msg}})})},onBridgeReady(){let e=this;WeixinJSBridge.invoke("getBrandWCPayRequest",JSON.parse(e.resData.payInfo),(function(t){"get_brand_wcpay_request:ok"==t.err_msg&&(e.payOrderInfo.returnUrl?location.href=e.payOrderInfo.returnUrl:(alert("支付成功!"),window.WeixinJSBridge.call("closeWindow"))),"get_brand_wcpay_request:cancel"==t.err_msg&&(alert("支付取消"),window.WeixinJSBridge.call("closeWindow")),"get_brand_wcpay_request:fail"==t.err_msg&&(alert("支付失败:"+JSON.stringify(t)),window.WeixinJSBridge.call("closeWindow")),"total_fee"==t.err_msg&&(alert("缺少参数"),window.WeixinJSBridge.call("closeWindow"))}))}}},d=o,c=(a("6226"),a("2877")),u=Object(c["a"])(d,r,i,!1,null,"79b3be68",null);t["default"]=u.exports},6226:function(e,t,a){"use strict";a("fc83")},cbee:function(e,t,a){e.exports=a.p+"img/wx.ec067f2f.svg"},fc83:function(e,t,a){}}]);
|
||||
//# sourceMappingURL=chunk-206ff9e2.c0881330.js.map
|
File diff suppressed because one or more lines are too long
@ -1,2 +0,0 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2be7c2e5"],{3958:function(e,t,a){e.exports=a.p+"img/S.1db749bc.svg"},4472:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e._self._c;return t("div",[t("header",{staticClass:"header"},[t("div",{staticClass:"header-text"},[e._v("付款给"+e._s(e.payOrderInfo.mchName))]),t("div",{staticClass:"header-img"},[t("img",{attrs:{src:e.avatar?e.avatar:e.icon_member_default,alt:""}})])]),t("div",{staticClass:"plus-input"},[e._m(0),t("div",{staticClass:"input-c",staticStyle:{width:"100%"}},[e.payOrderInfo.amount?t("div",{staticClass:"input-c-div-1"},[e._v(e._s(e.payOrderInfo.amount/100))]):t("input",{directives:[{name:"model",rawName:"v-model",value:e.amount,expression:"amount"}],staticStyle:{height:"120px"},attrs:{type:"number",placeholder:"请输入金额"},domProps:{value:e.amount},on:{input:function(t){t.target.composing||(e.amount=t.target.value)}}})])]),t("ul",{staticClass:"plus-ul"},[t("li",{staticStyle:{"border-radius":"10px"}},[t("div",{staticClass:"img-div"},[t("img",{attrs:{src:e.wxImg,alt:""}}),t("div",{staticClass:"div-text"},[e._v(" 微信支付 ")])])])]),t("div",{staticClass:"bnt-pay"},[t("div",{staticClass:"bnt-pay-text",staticStyle:{"background-color":"#07c160"},on:{click:e.pay}},[e._v(" 付款 ")])])])},i=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"S"},[t("img",{attrs:{src:a("3958"),alt:""}})])}],n=(a("14d9"),a("4ec3")),s=a("f121"),o={data:function(){return{merchantName:"jeepay",avatar:a("cbee"),amount:1,resData:{},wxImg:a("cbee"),payOrderInfo:{}}},mounted(){this.setPayOrderInfo()},methods:{setPayOrderInfo(){const e=this;Object(n["b"])().then(t=>{e.payOrderInfo=t,t.amount&&(this.amount=t.amount/100,e.pay())}).catch(t=>{e.$router.push({name:s["a"].errorPageRouteName,params:{errInfo:t.msg}})})},pay:function(){if(isNaN(this.amount)||this.amount<=0)return alert("请输入金额");let e=this;Object(n["c"])(this.amount).then(t=>"0"!=t.code?alert(t.msg):1!=t.data.orderState?alert(t.data.errMsg):(e.resData=t.data,void("undefined"==typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",e.onBridgeReady,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",e.onBridgeReady),document.attachEvent("onWeixinJSBridgeReady",e.onBridgeReady)):e.onBridgeReady()))).catch(t=>{e.$router.push({name:s["a"].errorPageRouteName,params:{errInfo:t.msg}})})},onBridgeReady(){let e=this;WeixinJSBridge.invoke("getBrandWCPayRequest",JSON.parse(e.resData.payInfo),(function(t){"get_brand_wcpay_request:ok"==t.err_msg&&(e.payOrderInfo.returnUrl?location.href=e.payOrderInfo.returnUrl:(alert("支付成功!"),window.WeixinJSBridge.call("closeWindow"))),"get_brand_wcpay_request:cancel"==t.err_msg&&(alert("支付取消"),window.WeixinJSBridge.call("closeWindow")),"get_brand_wcpay_request:fail"==t.err_msg&&(alert("支付失败:"+JSON.stringify(t)),window.WeixinJSBridge.call("closeWindow")),"total_fee"==t.err_msg&&(alert("缺少参数"),window.WeixinJSBridge.call("closeWindow"))}))}}},d=o,c=(a("ed2e"),a("2877")),u=Object(c["a"])(d,r,i,!1,null,"18b16208",null);t["default"]=u.exports},cbee:function(e,t,a){e.exports=a.p+"img/wx.ec067f2f.svg"},e823:function(e,t,a){},ed2e:function(e,t,a){"use strict";a("e823")}}]);
|
||||
//# sourceMappingURL=chunk-2be7c2e5.cceb5256.js.map
|
File diff suppressed because one or more lines are too long
@ -1,2 +0,0 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4e2a97a6"],{"0720":function(t,a,e){t.exports=e.p+"img/zfb.f9f04ed3.jpeg"},3958:function(t,a,e){t.exports=e.p+"img/S.1db749bc.svg"},"8a15":function(t,a,e){"use strict";e("b91d")},b91d:function(t,a,e){},d5eb:function(t,a,e){"use strict";e.r(a);var r=function(){var t=this,a=t._self._c;return a("div",[a("header",{staticClass:"header"},[a("div",{staticClass:"header-text"},[t._v("付款给 "+t._s(t.payOrderInfo.mchName))]),a("div",{staticClass:"header-img"},[a("img",{attrs:{src:t.avatar?t.avatar:t.icon_member_default,alt:""}})])]),a("div",{staticClass:"plus-input"},[t._m(0),a("div",{staticClass:"input-c",staticStyle:{width:"100%"}},[t.payOrderInfo.amount?a("div",{staticClass:"input-c-div-1"},[t._v(t._s(t.payOrderInfo.amount/100))]):a("input",{directives:[{name:"model",rawName:"v-model",value:t.amount,expression:"amount"}],staticStyle:{height:"120px"},attrs:{type:"number",placeholder:"请输入金额"},domProps:{value:t.amount},on:{input:function(a){a.target.composing||(t.amount=a.target.value)}}})])]),a("ul",{staticClass:"plus-ul"},[a("li",{staticStyle:{"border-radius":"10px"}},[a("div",{staticClass:"img-div"},[a("img",{attrs:{src:t.wxImg,alt:""}}),a("div",{staticClass:"div-text"},[t._v(" 支付宝支付 ")])])])]),a("div",{staticClass:"bnt-pay"},[a("div",{staticClass:"bnt-pay-text",staticStyle:{"background-color":"#1678ff"},on:{click:t.pay}},[t._v(" 付款 ")])])])},i=[function(){var t=this,a=t._self._c;return a("div",{staticClass:"S"},[a("img",{attrs:{src:e("3958"),alt:""}})])}],s=(e("14d9"),e("4ec3")),n=e("f121"),o={data:function(){return{merchantName:"jeepay",avatar:e("0720"),amount:1,resData:{},wxImg:e("0720"),payOrderInfo:{}}},mounted(){this.setPayOrderInfo()},methods:{setPayOrderInfo(){const t=this;Object(s["b"])().then(a=>{t.payOrderInfo=a,a.amount&&(this.amount=a.amount/100,t.pay())}).catch(a=>{t.$router.push({name:n["a"].errorPageRouteName,params:{errInfo:a.msg}})})},pay:function(){if(isNaN(this.amount)||this.amount<=0)return alert("请输入金额");let t=this;Object(s["c"])(this.amount).then(a=>"0"!=a.code?alert(a.msg):1!=a.data.orderState?alert(a.data.errMsg):void(window.AlipayJSBridge?t.doAlipay(a.data.alipayTradeNo):document.addEventListener("AlipayJSBridgeReady",(function(){t.doAlipay(a.data.alipayTradeNo)}),!1))).catch(a=>{t.$router.push({name:n["a"].errorPageRouteName,params:{errInfo:a.msg}})})},doAlipay(t){const a=this;AlipayJSBridge.call("tradePay",{tradeNO:t},(function(t){"9000"==t.resultCode?a.payOrderInfo.returnUrl?location.href=a.payOrderInfo.returnUrl:(alert("支付成功!"),window.AlipayJSBridge.call("closeWebview")):"8000"==t.resultCode||"6004"==t.resultCode?(alert(JSON.stringify(t)),window.AlipayJSBridge.call("closeWebview")):(alert("用户已取消!"),window.AlipayJSBridge.call("closeWebview"))}))}}},d=o,l=(e("8a15"),e("2877")),c=Object(l["a"])(d,r,i,!1,null,"7c1a12e0",null);a["default"]=c.exports}}]);
|
||||
//# sourceMappingURL=chunk-4e2a97a6.b7a6c537.js.map
|
@ -0,0 +1,2 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-65dd90fc"],{"0720":function(t,a,e){t.exports=e.p+"img/zfb.f9f04ed3.jpeg"},"336c":function(t,a,e){"use strict";e("3b2b")},3958:function(t,a,e){t.exports=e.p+"img/S.1db749bc.svg"},"3b2b":function(t,a,e){},d5eb:function(t,a,e){"use strict";e.r(a);var r=function(){var t=this,a=t._self._c;return a("div",[a("header",{staticClass:"header"},[a("div",{staticClass:"header-text"},[t._v("付款给 "+t._s(t.payOrderInfo.mchName))]),a("div",{staticClass:"header-img"},[a("img",{attrs:{src:t.avatar?t.avatar:t.icon_member_default,alt:""}})])]),a("div",{staticClass:"plus-input"},[t._m(0),a("div",{staticClass:"input-c",staticStyle:{width:"100%"}},[t.payOrderInfo.amount?a("div",{staticClass:"input-c-div-1"},[t._v(t._s(t.payOrderInfo.amount/100))]):a("input",{directives:[{name:"model",rawName:"v-model",value:t.amount,expression:"amount"}],staticStyle:{height:"120px"},attrs:{type:"number",placeholder:"请输入金额"},domProps:{value:t.amount},on:{input:function(a){a.target.composing||(t.amount=a.target.value)}}})])]),a("ul",{staticClass:"plus-ul"},[a("li",{staticStyle:{"border-radius":"10px"}},[a("div",{staticClass:"img-div"},[a("img",{attrs:{src:t.wxImg,alt:""}}),a("div",{staticClass:"div-text"},[t._v(" 支付宝支付 ")])])])]),a("div",{staticClass:"bnt-pay"},[a("div",{staticClass:"bnt-pay-text",staticStyle:{"background-color":"#1678ff"},on:{click:t.pay}},[t._v(" 付款 ")])])])},i=[function(){var t=this,a=t._self._c;return a("div",{staticClass:"S"},[a("img",{attrs:{src:e("3958"),alt:""}})])}],s=(e("14d9"),e("4ec3")),n=e("f121"),o={data:function(){return{merchantName:"jeepay",avatar:e("0720"),amount:null,resData:{},wxImg:e("0720"),payOrderInfo:{}}},mounted(){this.setPayOrderInfo()},methods:{setPayOrderInfo(){const t=this;Object(s["b"])().then(a=>{t.payOrderInfo=a,a.amount&&(this.amount=a.amount/100,t.pay())}).catch(a=>{t.$router.push({name:n["a"].errorPageRouteName,params:{errInfo:a.msg}})})},pay:function(){if(isNaN(this.amount)||this.amount<=0)return alert("请输入金额");let t=this;Object(s["c"])(this.amount).then(a=>"0"!=a.code?alert(a.msg):1!=a.data.orderState?alert(a.data.errMsg):void(window.AlipayJSBridge?t.doAlipay(a.data.alipayTradeNo):document.addEventListener("AlipayJSBridgeReady",(function(){t.doAlipay(a.data.alipayTradeNo)}),!1))).catch(a=>{t.$router.push({name:n["a"].errorPageRouteName,params:{errInfo:a.msg}})})},doAlipay(t){const a=this;AlipayJSBridge.call("tradePay",{tradeNO:t},(function(t){"9000"==t.resultCode?a.payOrderInfo.returnUrl?location.href=a.payOrderInfo.returnUrl:(alert("支付成功!"),window.AlipayJSBridge.call("closeWebview")):"8000"==t.resultCode||"6004"==t.resultCode?(alert(JSON.stringify(t)),window.AlipayJSBridge.call("closeWebview")):(alert("用户已取消!"),window.AlipayJSBridge.call("closeWebview"))}))}}},d=o,l=(e("336c"),e("2877")),c=Object(l["a"])(d,r,i,!1,null,"74425432",null);a["default"]=c.exports}}]);
|
||||
//# sourceMappingURL=chunk-65dd90fc.b4aa0c91.js.map
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user