Commit b49ac6e8 authored by dingzhiwei's avatar dingzhiwei
Browse files

发布版本1.9.0

parent fb676be8
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1f7138b8"],{"0a06":function(e,t,n){"use strict";var r=n("c532"),o=n("30b5"),i=n("f6b4"),s=n("5270"),a=n("4a7b");function u(e){this.defaults=e,this.interceptors={request:new i,response:new i}}u.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=a(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[s,void 0],n=Promise.resolve(e);this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));while(t.length)n=n.then(t.shift(),t.shift());return n},u.prototype.getUri=function(e){return e=a(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(r.merge(n||{},{method:e,url:t}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,o){return this.request(r.merge(o||{},{method:e,url:t,data:n}))}})),e.exports=u},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},2444:function(e,t,n){"use strict";(function(t){var r=n("c532"),o=n("c8af"),i={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function a(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("b50d")),e}var u={adapter:a(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(s(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(i)})),e.exports=u}).call(this,n("4362"))},"2d83":function(e,t,n){"use strict";var r=n("387f");e.exports=function(e,t,n,o,i){var s=new Error(e);return r(s,t,n,o,i)}},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"30b5":function(e,t,n){"use strict";var r=n("c532");function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var s=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(o(t)+"="+o(e))})))})),i=s.join("&")}if(i){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},3934:function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"467f":function(e,t,n){"use strict";var r=n("2d83");e.exports=function(e,t,n){var o=n.config.validateStatus;!o||o(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},"4a7b":function(e,t,n){"use strict";var r=n("c532");e.exports=function(e,t){t=t||{};var n={},o=["url","method","params","data"],i=["headers","auth","proxy"],s=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,(function(e){"undefined"!==typeof t[e]&&(n[e]=t[e])})),r.forEach(i,(function(o){r.isObject(t[o])?n[o]=r.deepMerge(e[o],t[o]):"undefined"!==typeof t[o]?n[o]=t[o]:r.isObject(e[o])?n[o]=r.deepMerge(e[o]):"undefined"!==typeof e[o]&&(n[o]=e[o])})),r.forEach(s,(function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])}));var a=o.concat(i).concat(s),u=Object.keys(t).filter((function(e){return-1===a.indexOf(e)}));return r.forEach(u,(function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])})),n}},"4ec3":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}n.d(t,"d",(function(){return m})),n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return g})),n.d(t,"b",(function(){return v}));n("b64b"),n("d3b7");var s=n("bc3a"),a=n.n(s),u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";r(this,e),this.baseUrl=t,this.queue={}}return i(e,[{key:"baseConfig",value:function(){var e={};return{baseURL:this.baseUrl,headers:e}}},{key:"destroy",value:function(e){delete this.queue[e]}},{key:"interceptors",value:function(e,t,n,r){var o=this;e.interceptors.request.use((function(e){return Object.keys(o.queue).length,o.queue[t]=!0,e}),(function(e){return Promise.reject(e)})),e.interceptors.response.use((function(e){o.destroy(t,r);var n=e.data;return 0!==n.code?Promise.reject(n):n.data}),(function(e){o.destroy(t,r);var n=e.response&&e.response.data&&e.response.data.data;return n||(n=e.response.data),Promise.reject(n)}))}},{key:"request",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=a.a.create();return e=Object.assign(this.baseConfig(),e),t&&this.interceptors(o,e.url,n,r),o(e)}}]),e}(),c=u,f=new c,p=f,l=n("f7a4"),d=n("53f4"),h=n("f121");function m(){return p.request({url:"/api/cashier/redirectUrl",method:"POST",data:{wayCode:l["a"].getPayWay().wayCode,token:h["a"].cacheToken}})}function y(e){return p.request({url:"/api/cashier/channelUserId",method:"POST",data:Object.assign({wayCode:l["a"].getPayWay().wayCode,token:h["a"].cacheToken},e)})}function g(e){return p.request({url:"/api/cashier/pay",method:"POST",data:{wayCode:l["a"].getPayWay().wayCode,token:h["a"].cacheToken,amount:e,channelUserId:d["a"].getChannelUserId()}})}function v(){return p.request({url:"/api/cashier/payOrderInfo",method:"POST",data:{token:h["a"].cacheToken}})}},5270:function(e,t,n){"use strict";var r=n("c532"),o=n("c401"),i=n("2e67"),s=n("2444");function a(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){a(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||s.adapter;return t(e).then((function(t){return a(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(a(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"53f4":function(e,t,n){"use strict";var r=function(){return localStorage.getItem("channelUserId")},o=function(e){localStorage.setItem("channelUserId",e)};t["a"]={getChannelUserId:r,setChannelUserId:o}},"7a77":function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},"7aac":function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,o,i,s){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(o)&&a.push("path="+o),r.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"83b9":function(e,t,n){"use strict";var r=n("d925"),o=n("e683");e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},"8df4":function(e,t,n){"use strict";var r=n("7a77");function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e,t=new o((function(t){e=t}));return{token:t,cancel:e}},e.exports=o},b50d:function(e,t,n){"use strict";var r=n("c532"),o=n("467f"),i=n("30b5"),s=n("83b9"),a=n("c345"),u=n("3934"),c=n("2d83");e.exports=function(e){return new Promise((function(t,f){var p=e.data,l=e.headers;r.isFormData(p)&&delete l["Content-Type"];var d=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",m=e.auth.password||"";l.Authorization="Basic "+btoa(h+":"+m)}var y=s(e.baseURL,e.url);if(d.open(e.method.toUpperCase(),i(y,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,r=e.responseType&&"text"!==e.responseType?d.response:d.responseText,i={data:r,status:d.status,statusText:d.statusText,headers:n,config:e,request:d};o(t,f,i),d=null}},d.onabort=function(){d&&(f(c("Request aborted",e,"ECONNABORTED",d)),d=null)},d.onerror=function(){f(c("Network Error",e,null,d)),d=null},d.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),f(c(t,e,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var g=n("7aac"),v=(e.withCredentials||u(y))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;v&&(l[e.xsrfHeaderName]=v)}if("setRequestHeader"in d&&r.forEach(l,(function(e,t){"undefined"===typeof p&&"content-type"===t.toLowerCase()?delete l[t]:d.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),e.responseType)try{d.responseType=e.responseType}catch(b){if("json"!==e.responseType)throw b}"function"===typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){d&&(d.abort(),f(e),d=null)})),void 0===p&&(p=null),d.send(p)}))}},b64b:function(e,t,n){var r=n("23e7"),o=n("7b0b"),i=n("df75"),s=n("d039"),a=s((function(){i(1)}));r({target:"Object",stat:!0,forced:a},{keys:function(e){return i(o(e))}})},bc3a:function(e,t,n){e.exports=n("cee4")},c345:function(e,t,n){"use strict";var r=n("c532"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,s={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(s[t]&&o.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}})),s):s}},c401:function(e,t,n){"use strict";var r=n("c532");e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},c532:function(e,t,n){"use strict";var r=n("1d2b"),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function s(e){return"undefined"===typeof e}function a(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function u(e){return"[object ArrayBuffer]"===o.call(e)}function c(e){return"undefined"!==typeof FormData&&e instanceof FormData}function f(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function p(e){return"string"===typeof e}function l(e){return"number"===typeof e}function d(e){return null!==e&&"object"===typeof e}function h(e){return"[object Date]"===o.call(e)}function m(e){return"[object File]"===o.call(e)}function y(e){return"[object Blob]"===o.call(e)}function g(e){return"[object Function]"===o.call(e)}function v(e){return d(e)&&g(e.pipe)}function b(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function w(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function x(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function C(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function j(){var e={};function t(t,n){"object"===typeof e[n]&&"object"===typeof t?e[n]=j(e[n],t):e[n]=t}for(var n=0,r=arguments.length;n<r;n++)C(arguments[n],t);return e}function k(){var e={};function t(t,n){"object"===typeof e[n]&&"object"===typeof t?e[n]=k(e[n],t):e[n]="object"===typeof t?k({},t):t}for(var n=0,r=arguments.length;n<r;n++)C(arguments[n],t);return e}function E(e,t,n){return C(t,(function(t,o){e[o]=n&&"function"===typeof t?r(t,n):t})),e}e.exports={isArray:i,isArrayBuffer:u,isBuffer:a,isFormData:c,isArrayBufferView:f,isString:p,isNumber:l,isObject:d,isUndefined:s,isDate:h,isFile:m,isBlob:y,isFunction:g,isStream:v,isURLSearchParams:b,isStandardBrowserEnv:x,forEach:C,merge:j,deepMerge:k,extend:E,trim:w}},c8af:function(e,t,n){"use strict";var r=n("c532");e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},cee4:function(e,t,n){"use strict";var r=n("c532"),o=n("1d2b"),i=n("0a06"),s=n("4a7b"),a=n("2444");function u(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var c=u(a);c.Axios=i,c.create=function(e){return u(s(c.defaults,e))},c.Cancel=n("7a77"),c.CancelToken=n("8df4"),c.isCancel=n("2e67"),c.all=function(e){return Promise.all(e)},c.spread=n("0df6"),e.exports=c,e.exports.default=c},d925:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var s=i>=0?arguments[i]:e.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,r="/"===s.charAt(0))}return t=n(o(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),s="/"===i(e,-1);return e=n(o(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&s&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),s=Math.min(o.length,i.length),a=s,u=0;u<s;u++)if(o[u]!==i[u]){a=u;break}var c=[];for(u=a;u<o.length;u++)c.push("..");return c=c.concat(i.slice(a)),c.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,i=e.length-1;i>=1;--i)if(t=e.charCodeAt(i),47===t){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,s=e.length-1;s>=0;--s){var a=e.charCodeAt(s);if(47!==a)-1===r&&(o=!1,r=s+1),46===a?-1===t?t=s:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=s+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},e683:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},f6b4:function(e,t,n){"use strict";var r=n("c532");function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o}}]);
//# sourceMappingURL=chunk-1f7138b8.ebeaac1d.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1f980e9d"],{"0720":function(a,t,e){a.exports=e.p+"img/zfb.f9f04ed3.jpeg"},"2ee4":function(a,t,e){},3958:function(a,t,e){a.exports=e.p+"img/S.1db749bc.svg"},"3fc5":function(a,t,e){"use strict";e("2ee4")},d5eb:function(a,t,e){"use strict";e.r(t);var r=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",[e("header",{staticClass:"header"},[e("div",{staticClass:"header-text"},[a._v("付款给 "+a._s(a.payOrderInfo.mchName))]),e("div",{staticClass:"header-img"},[e("img",{attrs:{src:a.avatar?a.avatar:a.icon_member_default,alt:""}})])]),e("div",{staticClass:"plus-input"},[a._m(0),e("div",{staticClass:"input-c"},[e("div",{staticClass:"input-c-div-1"},[a._v(a._s(a.payOrderInfo.amount/100))])]),e("div",{directives:[{name:"show",rawName:"v-show",value:!a.amount,expression:"!amount"}],staticClass:"placeholder"},[a._v("请输入金额")])]),e("ul",{staticClass:"plus-ul"},[e("li",{staticStyle:{"border-radius":"10px"}},[e("div",{staticClass:"img-div"},[e("img",{attrs:{src:a.wxImg,alt:""}}),e("div",{staticClass:"div-text"},[a._v(" 支付宝支付 ")])])])]),e("div",{staticClass:"bnt-pay"},[e("div",{staticClass:"bnt-pay-text",staticStyle:{"background-color":"#1678ff"},on:{click:a.pay}},[a._v(" 付款 ")])])])},i=[function(){var a=this,t=a.$createElement,r=a._self._c||t;return r("div",{staticClass:"S"},[r("img",{attrs:{src:e("3958"),alt:""}})])}],s=e("4ec3"),n=e("f121"),c={data:function(){return{merchantName:"jeepay",avatar:e("0720"),amount:1,resData:{},wxImg:e("0720"),payOrderInfo:{}}},mounted:function(){this.setPayOrderInfo(!0)},methods:{setPayOrderInfo:function(a){var t=this;Object(s["b"])().then((function(e){t.payOrderInfo=e,a&&t.pay()})).catch((function(a){t.$router.push({name:n["a"].errorPageRouteName,params:{errInfo:a.msg}})}))},pay:function(){var a=this;Object(s["c"])(this.amount).then((function(t){return"0"!=t.code?alert(t.msg):1!=t.data.orderState?alert(t.data.errMsg):void(window.AlipayJSBridge?a.doAlipay(t.data.alipayTradeNo):document.addEventListener("AlipayJSBridgeReady",(function(){a.doAlipay(t.data.alipayTradeNo)}),!1))})).catch((function(t){a.$router.push({name:n["a"].errorPageRouteName,params:{errInfo:t.msg}})}))},doAlipay:function(a){var t=this;AlipayJSBridge.call("tradePay",{tradeNO:a},(function(a){"9000"==a.resultCode?t.payOrderInfo.returnUrl?location.href=t.payOrderInfo.returnUrl:(alert("支付成功!"),window.AlipayJSBridge.call("closeWebview")):"8000"==a.resultCode||"6004"==a.resultCode?(alert(JSON.stringify(a)),window.AlipayJSBridge.call("closeWebview")):(alert("用户已取消!"),window.AlipayJSBridge.call("closeWebview"))}))}}},o=c,d=(e("3fc5"),e("2877")),l=Object(d["a"])(o,r,i,!1,null,"3ccd70ed",null);t["default"]=l.exports}}]);
//# sourceMappingURL=chunk-1f980e9d.f4df51aa.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/assets/images/zfb.jpeg","webpack:///./src/assets/icon/S.svg","webpack:///./src/views/payway/Alipay.vue?24b2","webpack:///./src/views/payway/Alipay.vue?2a5c","webpack:///src/views/payway/Alipay.vue","webpack:///./src/views/payway/Alipay.vue?3602","webpack:///./src/views/payway/Alipay.vue"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","payOrderInfo","mchName","attrs","avatar","icon_member_default","_m","amount","directives","name","rawName","value","expression","staticStyle","wxImg","on","pay","staticRenderFns","data","merchantName","resData","mounted","methods","setPayOrderInfo","that","res","$router","push","alert","msg","errMsg","window","AlipayJSBridge","doAlipay","alipayTradeNo","document","addEventListener","call","tradeNO","resultCode","location","href","returnUrl","JS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+ \"img/zfb.f9f04ed3.jpeg\";","module.exports = __webpack_public_path__ + \"img/S.1db749bc.svg\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alipay.vue?vue&type=style&index=0&id=3ccd70ed&lang=css&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('header',{staticClass:\"header\"},[_c('div',{staticClass:\"header-text\"},[_vm._v(\"付款给 \"+_vm._s(_vm.payOrderInfo.mchName))]),_c('div',{staticClass:\"header-img\"},[_c('img',{attrs:{\"src\":_vm.avatar ? _vm.avatar : _vm.icon_member_default,\"alt\":\"\"}})])]),_c('div',{staticClass:\"plus-input\"},[_vm._m(0),_c('div',{staticClass:\"input-c\"},[_c('div',{staticClass:\"input-c-div-1\"},[_vm._v(_vm._s(_vm.payOrderInfo.amount/100))])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.amount),expression:\"!amount\"}],staticClass:\"placeholder\"},[_vm._v(\"请输入金额\")])]),_c('ul',{staticClass:\"plus-ul\"},[_c('li',{staticStyle:{\"border-radius\":\"10px\"}},[_c('div',{staticClass:\"img-div\"},[_c('img',{attrs:{\"src\":_vm.wxImg,\"alt\":\"\"}}),_c('div',{staticClass:\"div-text\"},[_vm._v(\" 支付宝支付 \")])])])]),_c('div',{staticClass:\"bnt-pay\"},[_c('div',{staticClass:\"bnt-pay-text\",staticStyle:{\"background-color\":\"#1678ff\"},on:{\"click\":_vm.pay}},[_vm._v(\" 付款 \")])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"S\"},[_c('img',{attrs:{\"src\":require(\"../../assets/icon/S.svg\"),\"alt\":\"\"}})])}]\n\nexport { render, staticRenderFns }","<template>\n <div>\n <header class=\"header\">\n <div class=\"header-text\">付款给 {{ payOrderInfo.mchName }}</div>\n <div class=\"header-img\">\n <img :src=\"avatar ? avatar : icon_member_default\" alt=\"\" />\n </div>\n </header>\n <div class=\"plus-input\">\n <!-- ¥字符 货币的符号-->\n <div class=\"S\">\n <img src=\"../../assets/icon/S.svg\" alt=\"\" />\n </div>\n\n <!-- 手写输入框 -->\n <div class=\"input-c\">\n <div class=\"input-c-div-1\">{{ payOrderInfo.amount/100 }}</div>\n </div>\n <!-- 手写输入框的提示文字 -->\n <div v-show=\"!amount\" class=\"placeholder\">请输入金额</div>\n </div>\n <ul class=\"plus-ul\" >\n <!-- 支付板块 -->\n <li style=\"border-radius:10px;\">\n <!-- 支付金额板块 -->\n <div class=\"img-div\">\n <img :src=\"wxImg\" alt=\"\" />\n <div class=\"div-text\">\n 支付宝支付\n </div>\n </div>\n </li>\n </ul>\n <div class=\"bnt-pay\">\n <div\n class=\"bnt-pay-text\"\n style=\"background-color:#1678ff\"\n @click=\"pay\"\n >\n 付款\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport { getPayPackage, getPayOrderInfo } from '@/api/api'\nimport config from \"@/config\";\nexport default {\n\n data: function (){\n return {\n merchantName: 'jeepay', // 付款的商户默认\n avatar: require(\"../../assets/images/zfb.jpeg\"), // 商户头像默认\n amount: 1, // 支付金额默认\n resData : {},\n wxImg: require(\"../../assets/images/zfb.jpeg\"), // 微信支付图片\n payOrderInfo: {}, //订单信息\n }\n },\n\n mounted() {\n this.setPayOrderInfo(true); //获取订单信息 & 调起支付插件\n },\n\n methods: {\n\n setPayOrderInfo(isAutoPay){\n const that = this\n getPayOrderInfo().then(res => {\n that.payOrderInfo = res\n\n if(isAutoPay){\n that.pay()\n }\n }).catch(res => {\n that.$router.push({name: config.errorPageRouteName, params: {errInfo: res.msg}})\n });\n },\n\n pay: function (){\n\n let that = this;\n getPayPackage(this.amount).then(res => {\n\n //订单创建异常\n if(res.code != '0') {\n return alert(res.msg);\n }\n\n if(res.data.orderState != 1 ) { //订单不是支付中,说明订单异常\n return alert(res.data.errMsg);\n }\n\n if (!window.AlipayJSBridge) {\n document.addEventListener('AlipayJSBridgeReady', function(){\n that.doAlipay(res.data.alipayTradeNo);\n }, false);\n }else{\n that.doAlipay(res.data.alipayTradeNo);\n }\n\n }).catch(res => {\n that.$router.push({name: config.errorPageRouteName, params: {errInfo: res.msg}})\n });\n },\n\n\n doAlipay(alipayTradeNo){\n\n const that = this\n\n // eslint-disable-next-line no-undef\n AlipayJSBridge.call(\"tradePay\", {\n tradeNO: alipayTradeNo\n }, function (data) {\n if (\"9000\" == data.resultCode) {\n // alert('支付成功!');\n\n // //重定向\n if(that.payOrderInfo.returnUrl){\n location.href = that.payOrderInfo.returnUrl;\n }else{\n alert('支付成功!');\n window.AlipayJSBridge.call('closeWebview')\n }\n\n //‘8000’:后台获取支付结果超时,暂时未拿到支付结果;\n // ‘6004’:支付过程中网络出错, 暂时未拿到支付结果;\n }else if(\"8000\" == data.resultCode || \"6004\" == data.resultCode){ //其他\n\n alert(JSON.stringify(data));\n window.AlipayJSBridge.call('closeWebview')\n\n }else{ ///其他异常信息, 需要取消订单\n alert('用户已取消!');\n window.AlipayJSBridge.call('closeWebview')\n }\n });\n },\n\n }\n\n\n}\n</script>\n<style lang=\"css\" scoped>\n @import './pay.css';\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alipay.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alipay.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Alipay.vue?vue&type=template&id=3ccd70ed&scoped=true&\"\nimport script from \"./Alipay.vue?vue&type=script&lang=js&\"\nexport * from \"./Alipay.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Alipay.vue?vue&type=style&index=0&id=3ccd70ed&lang=css&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3ccd70ed\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d20f936"],{b3e4:function(n,e,o){"use strict";o.r(e);var t=function(){var n=this,e=n.$createElement,o=n._self._c||e;return o("router-view")},c=[],u={components:{},mounted:function(){console.log("进入cashier页面")}},l=u,r=o("2877"),s=Object(r["a"])(l,t,c,!1,null,null,null);e["default"]=s.exports}}]);
//# sourceMappingURL=chunk-2d20f936.6952eb1c.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/views/Cashier.vue?009c","webpack:///src/views/Cashier.vue","webpack:///./src/views/Cashier.vue?1089","webpack:///./src/views/Cashier.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticRenderFns","components","mounted","console","log","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,gBAC/FE,EAAkB,GCKtB,GACEC,WAAY,GAEZC,QAHF,WAIIC,QAAQC,IAAI,iBCViU,I,YCO7UC,EAAY,eACd,EACAZ,EACAO,GACA,EACA,KACA,KACA,MAIa,aAAAK,E","file":"js/chunk-2d20f936.6952eb1c.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-view')}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <router-view></router-view>\n</template>\n\n<script>\n\nexport default {\n components: {\n },\n mounted() {\n console.log(\"进入cashier页面\");\n }\n\n}\n</script>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Cashier.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Cashier.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Cashier.vue?vue&type=template&id=2c9fba0d&\"\nimport script from \"./Cashier.vue?vue&type=script&lang=js&\"\nexport * from \"./Cashier.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3fd0b8a6"],{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.$createElement,a=e._self._c||t;return a("div",[a("header",{staticClass:"header"},[a("div",{staticClass:"header-text"},[e._v("付款给"+e._s(e.payOrderInfo.mchName))]),a("div",{staticClass:"header-img"},[a("img",{attrs:{src:e.avatar?e.avatar:e.icon_member_default,alt:""}})])]),a("div",{staticClass:"plus-input"},[e._m(0),a("div",{staticClass:"input-c"},[a("div",{staticClass:"input-c-div-1"},[e._v(e._s(e.payOrderInfo.amount/100))])]),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.amount,expression:"!amount"}],staticClass:"placeholder"},[e._v("请输入金额")])]),a("ul",{staticClass:"plus-ul"},[a("li",{staticStyle:{"border-radius":"10px"}},[a("div",{staticClass:"img-div"},[a("img",{attrs:{src:e.wxImg,alt:""}}),a("div",{staticClass:"div-text"},[e._v(" 微信支付 ")])])])]),a("div",{staticClass:"bnt-pay"},[a("div",{staticClass:"bnt-pay-text",staticStyle:{"background-color":"#07c160"},on:{click:e.pay}},[e._v(" 付款 ")])])])},n=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"S"},[r("img",{attrs:{src:a("3958"),alt:""}})])}],i=a("4ec3"),s=a("f121"),d={data:function(){return{merchantName:"jeepay",avatar:a("cbee"),amount:1,resData:{},wxImg:a("cbee"),payOrderInfo:{}}},mounted:function(){this.setPayOrderInfo(!0)},methods:{setPayOrderInfo:function(e){var t=this;Object(i["b"])().then((function(a){t.payOrderInfo=a,e&&t.pay()})).catch((function(e){t.$router.push({name:s["a"].errorPageRouteName,params:{errInfo:e.msg}})}))},pay:function(){var e=this;Object(i["c"])(this.amount).then((function(t){return"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((function(t){e.$router.push({name:s["a"].errorPageRouteName,params:{errInfo:t.msg}})}))},onBridgeReady:function(){var 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"))}))}}},c=d,o=(a("d223"),a("2877")),u=Object(o["a"])(c,r,n,!1,null,"5eb76256",null);t["default"]=u.exports},cbee:function(e,t,a){e.exports=a.p+"img/wx.ec067f2f.svg"},d223:function(e,t,a){"use strict";a("f362")},f362:function(e,t,a){}}]);
//# sourceMappingURL=chunk-3fd0b8a6.3548fd9b.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/assets/icon/S.svg","webpack:///./src/views/payway/Wxpay.vue?8e49","webpack:///src/views/payway/Wxpay.vue","webpack:///./src/views/payway/Wxpay.vue?adc6","webpack:///./src/views/payway/Wxpay.vue","webpack:///./src/assets/icon/wx.svg","webpack:///./src/views/payway/Wxpay.vue?ed29"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","payOrderInfo","mchName","attrs","avatar","icon_member_default","_m","amount","directives","name","rawName","value","expression","staticStyle","wxImg","on","pay","staticRenderFns","data","merchantName","resData","mounted","setPayOrderInfo","methods","that","res","$router","push","alert","msg","errMsg","WeixinJSBridge","document","addEventListener","onBridgeReady","attachEvent","invoke","component"],"mappings":"mGAAAA,EAAOC,QAAU,IAA0B,sB,yCCA3C,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,SAAS,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAACN,EAAIO,GAAG,MAAMP,EAAIQ,GAAGR,EAAIS,aAAaC,YAAYN,EAAG,MAAM,CAAC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PD,gBAFJ,SAEA,GACM,IAAN,OACM,OAAN,OAAM,GAAN,kBACQE,EAAKvB,aAAewB,EAE5B,GACUD,EAAKR,SAEf,mBACQQ,EAAKE,QAAQC,KAAK,CAA1B,4DAKIX,IAAK,WAEH,IAAN,OACM,OAAN,OAAM,CAAN,+BAEQ,MAAR,YACiBY,MAAMH,EAAII,KAG3B,qBACiBD,MAAMH,EAAIP,KAAKY,SAGxBN,EAAKJ,QAAUK,EAAIP,UACU,oBAAlBa,eACnB,0BACYC,SAASC,iBAAiB,sBAAuBT,EAAKU,eAAe,GACjF,uBACYF,SAASG,YAAY,sBAAuBX,EAAKU,eACjDF,SAASG,YAAY,wBAAyBX,EAAKU,gBAGrDV,EAAKU,qBAGf,mBACQV,EAAKE,QAAQC,KAAK,CAA1B,4DAMIO,cAhDJ,WAkDM,IAAN,OAGMH,eAAeK,OACrB,sDACA,YACA,0CAIA,yBACY,SAAZ,+BAEY,MAAZ,SACY,OAAZ,qCAIA,8CACU,MAAV,QACU,OAAV,oCAEA,4CACU,MAAV,2BACU,OAAV,oCAEA,yBACU,MAAV,QACU,OAAV,0CC7L8V,I,wBCQ1VC,EAAY,eACd,EACA9C,EACA0B,GACA,EACA,KACA,WACA,MAIa,aAAAoB,E,8BCnBfhD,EAAOC,QAAU,IAA0B,uB,kCCA3C,W","file":"js/chunk-3fd0b8a6.3548fd9b.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/S.1db749bc.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('header',{staticClass:\"header\"},[_c('div',{staticClass:\"header-text\"},[_vm._v(\"付款给\"+_vm._s(_vm.payOrderInfo.mchName))]),_c('div',{staticClass:\"header-img\"},[_c('img',{attrs:{\"src\":_vm.avatar ? _vm.avatar : _vm.icon_member_default,\"alt\":\"\"}})])]),_c('div',{staticClass:\"plus-input\"},[_vm._m(0),_c('div',{staticClass:\"input-c\"},[_c('div',{staticClass:\"input-c-div-1\"},[_vm._v(_vm._s(_vm.payOrderInfo.amount/100))])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.amount),expression:\"!amount\"}],staticClass:\"placeholder\"},[_vm._v(\"请输入金额\")])]),_c('ul',{staticClass:\"plus-ul\"},[_c('li',{staticStyle:{\"border-radius\":\"10px\"}},[_c('div',{staticClass:\"img-div\"},[_c('img',{attrs:{\"src\":_vm.wxImg,\"alt\":\"\"}}),_c('div',{staticClass:\"div-text\"},[_vm._v(\" 微信支付 \")])])])]),_c('div',{staticClass:\"bnt-pay\"},[_c('div',{staticClass:\"bnt-pay-text\",staticStyle:{\"background-color\":\"#07c160\"},on:{\"click\":_vm.pay}},[_vm._v(\" 付款 \")])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"S\"},[_c('img',{attrs:{\"src\":require(\"../../assets/icon/S.svg\"),\"alt\":\"\"}})])}]\n\nexport { render, staticRenderFns }","<template>\n <div>\n <header class=\"header\">\n <div class=\"header-text\">付款给{{ payOrderInfo.mchName }}</div>\n <div class=\"header-img\">\n <img :src=\"avatar ? avatar : icon_member_default\" alt=\"\" />\n </div>\n </header>\n <div class=\"plus-input\">\n <!-- ¥字符 货币的符号-->\n <div class=\"S\">\n <img src=\"../../assets/icon/S.svg\" alt=\"\" />\n </div>\n\n <!-- 输入框光标 -->\n <!-- <div class=\"ttt\">\n <div\n class=\"input-c-div\"\n style=\"background: #07c160\"\n ></div>\n </div> -->\n\n <!-- 手写输入框 -->\n <div class=\"input-c\">\n <div class=\"input-c-div-1\">{{ payOrderInfo.amount/100 }}</div>\n <!-- 数字金额后边的光标 -->\n <!-- <div class=\"input-c-div\" style=\"background:#07c160\"></div> -->\n </div>\n <!-- 手写输入框的提示文字 -->\n <div v-show=\"!amount\" class=\"placeholder\">请输入金额</div>\n </div>\n <ul class=\"plus-ul\" >\n <!-- 支付板块 -->\n <li\n style=\"border-radius:10px;\"\n >\n <!-- 支付金额板块 -->\n <div class=\"img-div\">\n <img :src=\"wxImg\" alt=\"\" />\n <div class=\"div-text\">\n 微信支付\n </div>\n </div>\n </li>\n </ul>\n <!-- 备注板块 ,目前不需要添加备注,隐藏-->\n <!-- <div class=\"remark-k\" :class=\"payType != 'wx' ? 'margin-top-30' : ''\">\n <div class=\"remark\">\n <div class=\"remark-hui\" v-show=\"remark\">{{ remark }}</div>\n <div @click=\"myDialogStateFn\">{{ remark ? \"修改\" : \"添加备注\" }}</div>\n </div>\n </div> -->\n <!-- dialog 对话框 目前不需要添加备注,隐藏-->\n <!-- <MyDialog\n v-show=\"myDialogState\"\n @myDialogStateFn=\"myDialogStateFn\"\n :remark=\"remark\"\n >\n </MyDialog> -->\n\n <!-- 键盘板块 目前不需要键盘 隐藏 -->\n <!-- <div class=\"keyboard-plus\" v-if=\"isAllowModifyAmount\">\n <Keyboard\n @delTheAmount=\"delTheAmount\"\n @conceal=\"conceal\"\n @enterTheAmount=\"enterTheAmount\"\n @payment=\"payment\"\n :money=\"money\"\n :concealSate=\"concealSate\"\n :typeColor=\"typeColor[payType]\"\n ></Keyboard>\n </div> -->\n\n <!-- jeepay中,付款的点击事件 由 payment 修改为 pay -->\n <!-- jeepay中,付款页面是唯一的,颜色不在需要v-bind,去掉即可 -->\n <!-- <div class=\"bnt-pay\" v-if=\"!isAllowModifyAmount\"> -->\n <div class=\"bnt-pay\">\n <div\n class=\"bnt-pay-text\"\n style=\"background-color:#07c160\"\n @click=\"pay\"\n >\n 付款\n </div>\n </div>\n </div>\n</template>\n\n<script>\n// import MyDialog from \"./../dialog/dialog\"; // 添加备注弹出的对话框\n// import Keyboard from \"./../keyboard/keyboard\"; // 手写键盘\nimport {getPayPackage, getPayOrderInfo }from '@/api/api'\nimport config from \"@/config\";\nexport default {\n // 注册备注对话框,和 手写键盘组件,由于这里是直接掉起支付事件,所以目前不应用\n // components: { MyDialog, Keyboard },\n data: function (){\n return {\n merchantName: 'jeepay', // 付款的商户默认\n avatar: require(\"../../assets/icon/wx.svg\"), // 商户头像默认\n amount: 1, // 支付金额默认\n resData : {},\n wxImg: require(\"../../assets/icon/wx.svg\"), // 微信支付图片\n payOrderInfo: {}, //订单信息\n }\n },\n\n mounted() {\n this.setPayOrderInfo(true); //获取订单信息 & 调起支付插件\n },\n\n methods: {\n\n setPayOrderInfo(isAutoPay){\n const that = this\n getPayOrderInfo().then(res => {\n that.payOrderInfo = res\n\n if(isAutoPay){\n that.pay()\n }\n }).catch(res => {\n that.$router.push({name: config.errorPageRouteName, params: {errInfo: res.msg}})\n });\n },\n\n // 支付事件\n pay: function (){\n // 该函数执行效果慢\n let that = this;\n getPayPackage(this.amount).then(res => {\n\n if(res.code != '0') {\n return alert(res.msg);\n }\n\n if(res.data.orderState != 1 ) { //订单不是支付中,说明订单异常\n return alert(res.data.errMsg);\n }\n\n that.resData = res.data;\n if (typeof WeixinJSBridge == \"undefined\"){\n if( document.addEventListener ){\n document.addEventListener('WeixinJSBridgeReady', that.onBridgeReady, false);\n }else if (document.attachEvent){\n document.attachEvent('WeixinJSBridgeReady', that.onBridgeReady);\n document.attachEvent('onWeixinJSBridgeReady', that.onBridgeReady);\n }\n }else{\n that.onBridgeReady();\n }\n\n }).catch(res => {\n that.$router.push({name: config.errorPageRouteName, params: {errInfo: res.msg}})\n });\n },\n\n\n /* 唤醒微信支付*/\n onBridgeReady() {\n\n let that = this;\n\n // eslint-disable-next-line no-undef\n WeixinJSBridge.invoke(\n 'getBrandWCPayRequest', JSON.parse(that.resData.payInfo),\n function(res) {\n if (res.err_msg == \"get_brand_wcpay_request:ok\") {\n // 使用以上方式判断前端返回,微信团队郑重提示:\n //res.err_msg将在用户支付成功后返回ok,但并不保证它绝对可靠。\n // //重定向\n if(that.payOrderInfo.returnUrl){\n location.href = that.payOrderInfo.returnUrl;\n }else{\n alert('支付成功!');\n window.WeixinJSBridge.call('closeWindow')\n }\n\n }\n if (res.err_msg == \"get_brand_wcpay_request:cancel\") {\n alert(\"支付取消\");\n window.WeixinJSBridge.call('closeWindow')\n }\n if (res.err_msg == \"get_brand_wcpay_request:fail\") {\n alert('支付失败:' + JSON.stringify(res))\n window.WeixinJSBridge.call('closeWindow')\n }\n if (res.err_msg == \"total_fee\") {\n alert('缺少参数')\n window.WeixinJSBridge.call('closeWindow')\n }\n }\n );\n },\n\n }\n\n\n}\n</script>\n<style lang=\"css\" scoped>\n @import './pay.css';\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Wxpay.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Wxpay.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Wxpay.vue?vue&type=template&id=5eb76256&scoped=true&\"\nimport script from \"./Wxpay.vue?vue&type=script&lang=js&\"\nexport * from \"./Wxpay.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Wxpay.vue?vue&type=style&index=0&id=5eb76256&lang=css&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5eb76256\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/wx.ec067f2f.svg\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Wxpay.vue?vue&type=style&index=0&id=5eb76256&lang=css&scoped=true&\""],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-64b2949f"],{"12ae":function(A,B){A.exports="data:image/gif;base64,R0lGODlhIAAgALMAAP///7Ozs/v7+9bW1uHh4fLy8rq6uoGBgTQ0NAEBARsbG8TExJeXl/39/VRUVAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBQAAACwAAAAAIAAgAAAE5xDISSlLrOrNp0pKNRCdFhxVolJLEJQUoSgOpSYT4RowNSsvyW1icA16k8MMMRkCBjskBTFDAZyuAEkqCfxIQ2hgQRFvAQEEIjNxVDW6XNE4YagRjuBCwe60smQUDnd4Rz1ZAQZnFAGDd0hihh12CEE9kjAEVlycXIg7BAsMB6SlnJ87paqbSKiKoqusnbMdmDC2tXQlkUhziYtyWTxIfy6BE8WJt5YEvpJivxNaGmLHT0VnOgGYf0dZXS7APdpB309RnHOG5gDqXGLDaC457D1zZ/V/nmOM82XiHQjYKhKP1oZmADdEAAAh+QQFBQAAACwAAAAAGAAXAAAEchDISasKNeuJFKoHs4mUYlJIkmjIV54Soypsa0wmLSnqoTEtBw52mG0AjhYpBxioEqRNy8V0qFzNw+GGwlJki4lBqx1IBgjMkRIghwjrzcDti2/Gh7D9qN774wQGAYOEfwCChIV/gYmDho+QkZKTR3p7EQAh+QQFBQAAACwBAAAAHQAOAAAEchDISWdANesNHHJZwE2DUSEo5SjKKB2HOKGYFLD1CB/DnEoIlkti2PlyuKGEATMBaAACSyGbEDYD4zN1YIEmh0SCQQgYehNmTNNaKsQJXmBuuEYPi9ECAU/UFnNzeUp9VBQEBoFOLmFxWHNoQw6RWEocEQAh+QQFBQAAACwHAAAAGQARAAAEaRDICdZZNOvNDsvfBhBDdpwZgohBgE3nQaki0AYEjEqOGmqDlkEnAzBU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6H6CVAJaCcT0CUBTgaTg5nTCu9GKiDEMPJg5YBBOpwlnVzLwtqyKnZagZWahoMB2M3GgsHSRsRACH5BAUFAAAALAEACAARABgAAARcMKR0gL34npkUyyCAcAmyhBijkGi2UW02VHFt33iu7yiDIDaD4/erEYGDlu/nuBAOJ9Dvc2EcDgFAYIuaXS3bbOh6MIC5IAP5Eh5fk2exC4tpgwZyiyFgvhEMBBEAIfkEBQUAAAAsAAACAA4AHQAABHMQyAnYoViSlFDGXBJ808Ep5KRwV8qEg+pRCOeoioKMwJK0Ekcu54h9AoghKgXIMZgAApQZcCCu2Ax2O6NUud2pmJcyHA4L0uDM/ljYDCnGfGakJQE5YH0wUBYBAUYfBIFkHwaBgxkDgX5lgXpHAXcpBIsRADs="},"2cfa":function(A,B,E){"use strict";E("8c5a")},"8c5a":function(A,B,E){},"91f5":function(A,B,E){"use strict";E.r(B);var o=function(){var A=this,B=A.$createElement;A._self._c;return A._m(0)},Q=[function(){var A=this,B=A.$createElement,o=A._self._c||B;return o("div",{staticClass:"jump"},[o("img",{attrs:{src:E("12ae"),alt:""}})])}],C=E("4ec3"),i=E("f121"),n={components:{},mounted:function(){console.log("正在跳转",this.$router.params);var A=this;Object(C["d"])().then((function(A){location.href=A})).catch((function(B){A.$router.push({name:i["a"].errorPageRouteName,params:{errInfo:B.msg}})}))}},a=n,g=(E("2cfa"),E("2877")),h=Object(g["a"])(a,o,Q,!1,null,"55ffd872",null);B["default"]=h.exports}}]);
//# sourceMappingURL=chunk-64b2949f.52bde52c.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/assets/images/loading.gif","webpack:///./src/views/Hub.vue?a51e","webpack:///./src/views/Hub.vue?0f72","webpack:///src/views/Hub.vue","webpack:///./src/views/Hub.vue?3112","webpack:///./src/views/Hub.vue?02b1"],"names":["module","exports","render","_vm","this","_h","$createElement","_self","_c","_m","staticRenderFns","staticClass","attrs","components","mounted","console","log","$router","params","location","href","res","that","push","component"],"mappings":"mGAAAA,EAA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tgwJMBFolDB4GoGGBCACKRcAAUWAmzOWJQExysQsJgWj0KqvKalTiYPhp1LBFTtp10Is6mT5gdVFx1bRN8FTsVCAqDOB9+KhEAIfkEBQUAAAAsAgASAB0ADgAABHgQyEmrBePS4bQdQZBdR5IcHmWEgUFQgWKaKbWwwSIhc4LonsXhBSCsQoOSScGQDJiWwOHQnAxWBIYJNXEoFCiEWDI9jCzESey7GwMM5doEwW4jJoypQQ743u1WcTV0CgFzbhJ5XClfHYd/EwZnHoYVDgiOfHKQNREAIfkEBQUAAAAsAAAPABkAEQAABGeQqUQruDjrW3vaYCZ5X2ie6EkcKaooTAsi7ytnTq046BBsNcTvItz4AotMwKZBIC6H6CVAJaCcT0CUBTgaTg5nTCu9GKiDEMPJg5YBBOpwlnVzLwtqyKnZagZWahoMB2M3GgsHSRsRACH5BAUFAAAALAEACAARABgAAARcMKR0gL34npkUyyCAcAmyhBijkGi2UW02VHFt33iu7yiDIDaD4/erEYGDlu/nuBAOJ9Dvc2EcDgFAYIuaXS3bbOh6MIC5IAP5Eh5fk2exC4tpgwZyiyFgvhEMBBEAIfkEBQUAAAAsAAACAA4AHQAABHMQyAnYoViSlFDGXBJ808Ep5KRwV8qEg+pRCOeoioKMwJK0Ekcu54h9AoghKgXIMZgAApQZcCCu2Ax2O6NUud2pmJcyHA4L0uDM/ljYDCnGfGakJQE5YH0wUBYBAUYfBIFkHwaBgxkDgX5lgXpHAXcpBIsRADs=\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Hub.vue?vue&type=style&index=0&id=55ffd872&lang=css&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"jump\"},[_c('img',{attrs:{\"src\":require(\"@/assets/images/loading.gif\"),\"alt\":\"\"}})])}]\n\nexport { render, staticRenderFns }","<template>\n <div class=\"jump\">\n <!-- <p style=\"24px\">\n 正在跳转到支付页面,请稍候~\n </p> -->\n <img src=\"@/assets/images/loading.gif\" alt=\"\" />\n </div>\n</template>\n\n<script>\nimport {getRedirectUrl} from '@/api/api';\nimport config from \"@/config\";\n\n// 分发器页面, 用户扫码后进入的第一个页面:\n// 判断是否存在channelUserId, 如果存在则直接跳到 对应的支付页面,如果不存在则重定向到对应的页面。\nexport default {\n components: {\n },\n\n mounted() {\n\n console.log(\"正在跳转\", this.$router.params)\n\n // eslint-disable-next-line no-constant-condition\n // if( true ){\n // this.$router.push({name: \"CashierAlipay\"})\n // return;\n // }\n\n\n //TODO 需要获取到不同的商户的userId\n // if(channelUserId.getChannelUserId()){// 存在\n //\n // //重定向到对应的支付页面\n // this.$router.push({name: wayCodeUtils.getPayWay().routeName})\n // return ;\n //\n // }\n\n const that = this;\n //以下为不存在\n getRedirectUrl().then(res => {\n location.href = res;\n }).catch(res => {\n that.$router.push({name: config.errorPageRouteName, params: {errInfo: res.msg}})\n });\n\n }\n\n\n}\n</script>\n<style lang=\"css\" scoped>\n .jump {\n height:100vh;\n width: 100vw;\n display:flex;\n justify-content: center;\n align-items: center;\n }\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Hub.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Hub.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Hub.vue?vue&type=template&id=55ffd872&scoped=true&\"\nimport script from \"./Hub.vue?vue&type=script&lang=js&\"\nexport * from \"./Hub.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Hub.vue?vue&type=style&index=0&id=55ffd872&lang=css&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"55ffd872\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
\ No newline at end of file
(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
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/assets/icon/S.svg","webpack:///./src/views/payway/Ysfpay.vue?ec32","webpack:///src/views/payway/Ysfpay.vue","webpack:///./src/views/payway/Ysfpay.vue?b5a8","webpack:///./src/views/payway/Ysfpay.vue","webpack:///./src/views/payway/Ysfpay.vue?1612","webpack:///./src/assets/images/ysf.jpg"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","merchantName","attrs","avatar","icon_member_default","_m","amount","directives","name","rawName","value","expression","staticStyle","wxImg","staticRenderFns","data","resData","mounted","methods","pay","console","log","res","window","AlipayJSBridge","that","doAlipay","alipayTradeNo","document","addEventListener","$router","push","call","tradeNO","resultCode","alert","component"],"mappings":"mGAAAA,EAAOC,QAAU,IAA0B,sB,2CCA3C,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,SAAS,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,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C,SAASJ,EAAIK,eAJlBC,SAASC,iBAAiB,uBAAuB,WAC/CJ,EAAKC,SAASJ,EAAIK,kBAC9B,MAKA,mBACQF,EAAKK,QAAQC,KAAK,CAA1B,4DAKIL,SAvBJ,SAuBA,GAGMF,eAAeQ,KAAK,WAAY,CAC9BC,QAASN,IACjB,YACY,QAAUZ,EAAKmB,YACjBC,MAAM,eC9F+U,I,wBCQ3VC,EAAY,eACd,EACA7C,EACAuB,GACA,EACA,KACA,WACA,MAIa,aAAAsB,E,6CCnBf,W,8CCAA/C,EAAOC,QAAU,IAA0B","file":"js/chunk-65fb3654.8c87dbee.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/S.1db749bc.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('header',{staticClass:\"header\"},[_c('div',{staticClass:\"header-text\"},[_vm._v(\"付款给\"+_vm._s(_vm.merchantName))]),_c('div',{staticClass:\"header-img\"},[_c('img',{attrs:{\"src\":_vm.avatar ? _vm.avatar : _vm.icon_member_default,\"alt\":\"\"}})])]),_c('div',{staticClass:\"plus-input\"},[_vm._m(0),_c('div',{staticClass:\"input-c\"},[_c('div',{staticClass:\"input-c-div-1\"},[_vm._v(_vm._s(_vm.amount))])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.amount),expression:\"!amount\"}],staticClass:\"placeholder\"},[_vm._v(\"请输入金额\")])]),_c('ul',{staticClass:\"plus-ul\"},[_c('li',{staticStyle:{\"border-radius\":\"10px\"}},[_c('div',{staticClass:\"img-div\"},[_c('img',{attrs:{\"src\":_vm.wxImg,\"alt\":\"\"}}),_c('div',{staticClass:\"div-text\"},[_vm._v(\" 云闪付支付 \")])])])]),_c('div',{staticClass:\"bnt-pay\"})])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"S\"},[_c('img',{attrs:{\"src\":require(\"../../assets/icon/S.svg\"),\"alt\":\"\"}})])}]\n\nexport { render, staticRenderFns }","<template>\n <div>\n <header class=\"header\">\n <div class=\"header-text\">付款给{{ merchantName }}</div>\n <div class=\"header-img\">\n <img :src=\"avatar ? avatar : icon_member_default\" alt=\"\" />\n </div>\n </header>\n <div class=\"plus-input\">\n <!-- ¥字符 货币的符号-->\n <div class=\"S\">\n <img src=\"../../assets/icon/S.svg\" alt=\"\" />\n </div>\n\n <!-- 手写输入框 -->\n <div class=\"input-c\">\n <div class=\"input-c-div-1\">{{ amount }}</div>\n </div>\n <!-- 手写输入框的提示文字 -->\n <div v-show=\"!amount\" class=\"placeholder\">请输入金额</div>\n </div>\n <ul class=\"plus-ul\" >\n <!-- 支付板块 -->\n <li style=\"border-radius:10px;\">\n <!-- 支付金额板块 -->\n <div class=\"img-div\">\n <img :src=\"wxImg\" alt=\"\" />\n <div class=\"div-text\">\n 云闪付支付\n </div>\n </div>\n </li>\n </ul>\n <div class=\"bnt-pay\">\n <!-- <div\n class=\"bnt-pay-text\"\n style=\"background-color:#ff534d\"\n @click=\"pay\"\n >\n 付款\n </div> -->\n </div>\n </div>\n</template>\n\n<script>\nimport {getPayPackage}from '@/api/api'\nimport config from \"@/config\";\nexport default {\n\n data: function (){\n return {\n merchantName: 'jeepay', // 付款的商户默认\n avatar: require(\"../../assets/images/ysf.jpg\"), // 商户头像默认\n amount: 1, // 支付金额默认\n resData : {},\n wxImg: require(\"../../assets/images/ysf.jpg\") // 微信支付图片\n }\n },\n\n mounted() {\n // this.pay(); //自动调起\n },\n\n methods: {\n\n pay: function (){\n\n let that = this;\n getPayPackage(this.amount).then(res => {\n\n console.log(res)\n\n if (!window.AlipayJSBridge) {\n document.addEventListener('AlipayJSBridgeReady', function(){\n that.doAlipay(res.alipayTradeNo);\n }, false);\n }else{\n that.doAlipay(res.alipayTradeNo);\n }\n\n }).catch(res => {\n that.$router.push({name: config.errorPageRouteName, params: {errInfo: res.msg}})\n });\n },\n\n\n doAlipay(alipayTradeNo){\n\n // eslint-disable-next-line no-undef\n AlipayJSBridge.call(\"tradePay\", {\n tradeNO: alipayTradeNo\n }, function (data) {\n if (\"9000\" == data.resultCode) {\n alert('支付成功!');\n }else{ //其他\n }\n });\n },\n\n }\n\n\n}\n</script>\n<style lang=\"css\" scoped>\n @import './pay.css';\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Ysfpay.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Ysfpay.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Ysfpay.vue?vue&type=template&id=5c798981&scoped=true&\"\nimport script from \"./Ysfpay.vue?vue&type=script&lang=js&\"\nexport * from \"./Ysfpay.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Ysfpay.vue?vue&type=style&index=0&id=5c798981&lang=css&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5c798981\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Ysfpay.vue?vue&type=style&index=0&id=5c798981&lang=css&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/ysf.dbdf047a.jpg\";"],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-73021616"],{"45ff":function(t,n,s){t.exports=s.p+"img/error.5bc34a8a.svg"},"57a2":function(t,n,s){"use strict";s("e65a")},dda8:function(t,n,s){"use strict";s.r(n);var e=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"center"},[e("img",{attrs:{src:s("45ff"),alt:""}}),e("p",[t._v("错误: "+t._s(t.msg))])])},a=[],r={data:function(){return{msg:"请重新扫码进入!"}},components:{},mounted:function(){this.msg=this.$route.params.errInfo||"请重新扫码进入!"}},c=r,o=(s("57a2"),s("2877")),i=Object(o["a"])(c,e,a,!1,null,"7374fd65",null);n["default"]=i.exports},e65a:function(t,n,s){}}]);
//# sourceMappingURL=chunk-73021616.8fc6b720.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/assets/icon/error.svg","webpack:///./src/views/Error.vue?bf10","webpack:///./src/views/Error.vue?6818","webpack:///src/views/Error.vue","webpack:///./src/views/Error.vue?46dc","webpack:///./src/views/Error.vue?9029"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_v","_s","msg","staticRenderFns","data","components","mounted","$route","params","errInfo","component"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,0B,oCCA3C,W,yCCAA,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACG,MAAM,CAAC,IAAM,EAAQ,QAA4B,IAAM,MAAMH,EAAG,IAAI,CAACJ,EAAIQ,GAAG,OAAOR,EAAIS,GAAGT,EAAIU,WACrOC,EAAkB,GCWtB,GACEC,KADF,WAEI,MAAO,CACL,IAAN,aAGEC,WAAY,GAGZC,QATF,WAUIb,KAAKS,IAAMT,KAAKc,OAAOC,OAAOC,SAAW,aCtBkS,I,wBCQ3UC,EAAY,eACd,EACAnB,EACAY,GACA,EACA,KACA,WACA,MAIa,aAAAO,E","file":"js/chunk-73021616.8fc6b720.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/error.5bc34a8a.svg\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Error.vue?vue&type=style&index=0&id=7374fd65&lang=css&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"center\"},[_c('img',{attrs:{\"src\":require(\"../assets/icon/error.svg\"),\"alt\":\"\"}}),_c('p',[_vm._v(\"错误: \"+_vm._s(_vm.msg))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"center\">\n <img src=\"../assets/icon/error.svg\" alt=\"\">\n<!-- <p>支付失败,请重新扫码进入!</p>-->\n <p>错误: {{msg}}</p>\n </div>\n</template>\n\n<script>\n\n// 分发器页面, 用户扫码后进入的第一个页面:\n// 判断是否存在channelUserId, 如果存在则直接跳到 对应的支付页面,如果不存在则重定向到对应的页面。\nexport default {\n data () {\n return {\n msg: \"请重新扫码进入!\",\n }\n },\n components: {\n\n },\n mounted() {\n this.msg = this.$route.params.errInfo || '请重新扫码进入!'\n }\n}\n</script>\n<style lang=\"css\" scoped>\n .center {\n margin-top:30%;\n display: flex;\n align-items: center;\n flex-direction: column;\n }\n p {\n font-size: 36px;\n margin-top: 50px;\n }\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Error.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Error.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Error.vue?vue&type=template&id=7374fd65&scoped=true&\"\nimport script from \"./Error.vue?vue&type=script&lang=js&\"\nexport * from \"./Error.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Error.vue?vue&type=style&index=0&id=7374fd65&lang=css&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7374fd65\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7616fb2a"],{1276:function(e,t,n){"use strict";var r=n("d784"),i=n("44e7"),c=n("825a"),a=n("1d80"),l=n("4840"),u=n("8aa5"),o=n("50c4"),s=n("14c3"),f=n("9263"),d=n("9f7f"),p=d.UNSUPPORTED_Y,h=[].push,g=Math.min,v=4294967295;r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),c=void 0===n?v:n>>>0;if(0===c)return[];if(void 0===e)return[r];if(!i(e))return t.call(r,e,c);var l,u,o,s=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,g=new RegExp(e.source,d+"g");while(l=f.call(g,r)){if(u=g.lastIndex,u>p&&(s.push(r.slice(p,l.index)),l.length>1&&l.index<r.length&&h.apply(s,l.slice(1)),o=l[0].length,p=u,s.length>=c))break;g.lastIndex===l.index&&g.lastIndex++}return p===r.length?!o&&g.test("")||s.push(""):s.push(r.slice(p)),s.length>c?s.slice(0,c):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=a(this),c=void 0==t?void 0:t[e];return void 0!==c?c.call(t,i,n):r.call(String(i),t,n)},function(e,i){var a=n(r,e,this,i,r!==t);if(a.done)return a.value;var f=c(e),d=String(this),h=l(f,RegExp),x=f.unicode,E=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(p?"g":"y"),b=new h(p?"^(?:"+f.source+")":f,E),m=void 0===i?v:i>>>0;if(0===m)return[];if(0===d.length)return null===s(b,d)?[d]:[];var I=0,R=0,y=[];while(R<d.length){b.lastIndex=p?0:R;var w,_=s(b,p?d.slice(R):d);if(null===_||(w=g(o(b.lastIndex+(p?R:0)),d.length))===I)R=u(d,R,x);else{if(y.push(d.slice(I,R)),y.length===m)return y;for(var S=1;S<=_.length-1;S++)if(y.push(_[S]),y.length===m)return y;R=I=w}}return y.push(d.slice(I)),y}]}),p)},"129f":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"14c3":function(e,t,n){var r=n("c6b6"),i=n("9263");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var c=n.call(e,t);if("object"!==typeof c)throw TypeError("RegExp exec method returned something other than an Object or null");return c}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},"841c":function(e,t,n){"use strict";var r=n("d784"),i=n("825a"),c=n("1d80"),a=n("129f"),l=n("14c3");r("search",1,(function(e,t,n){return[function(t){var n=c(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var c=i(e),u=String(this),o=c.lastIndex;a(o,0)||(c.lastIndex=0);var s=l(c,u);return a(c.lastIndex,o)||(c.lastIndex=o),null===s?-1:s.index}]}))},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},9263:function(e,t,n){"use strict";var r=n("ad6d"),i=n("9f7f"),c=n("5692"),a=RegExp.prototype.exec,l=c("native-string-replace",String.prototype.replace),u=a,o=function(){var e=/a/,t=/b*/g;return a.call(e,"a"),a.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),s=i.UNSUPPORTED_Y||i.BROKEN_CARET,f=void 0!==/()??/.exec("")[1],d=o||f||s;d&&(u=function(e){var t,n,i,c,u=this,d=s&&u.sticky,p=r.call(u),h=u.source,g=0,v=e;return d&&(p=p.replace("y",""),-1===p.indexOf("g")&&(p+="g"),v=String(e).slice(u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==e[u.lastIndex-1])&&(h="(?: "+h+")",v=" "+v,g++),n=new RegExp("^(?:"+h+")",p)),f&&(n=new RegExp("^"+h+"$(?!\\s)",p)),o&&(t=u.lastIndex),i=a.call(d?n:u,v),d?i?(i.input=i.input.slice(g),i[0]=i[0].slice(g),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:o&&i&&(u.lastIndex=u.global?i.index+i[0].length:t),f&&i&&i.length>1&&l.call(i[0],n,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(i[c]=void 0)})),i}),e.exports=u},"9f7f":function(e,t,n){"use strict";var r=n("d039");function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},ac1f:function(e,t,n){"use strict";var r=n("23e7"),i=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ad6d:function(e,t,n){"use strict";var r=n("825a");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},d784:function(e,t,n){"use strict";n("ac1f");var r=n("6eeb"),i=n("9263"),c=n("d039"),a=n("b622"),l=n("9112"),u=a("species"),o=RegExp.prototype,s=!c((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),f=function(){return"$0"==="a".replace(/./,"$0")}(),d=a("replace"),p=function(){return!!/./[d]&&""===/./[d]("a","$0")}(),h=!c((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,d){var g=a(e),v=!c((function(){var t={};return t[g]=function(){return 7},7!=""[e](t)})),x=v&&!c((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[u]=function(){return n},n.flags="",n[g]=/./[g]),n.exec=function(){return t=!0,null},n[g](""),!t}));if(!v||!x||"replace"===e&&(!s||!f||p)||"split"===e&&!h){var E=/./[g],b=n(g,""[e],(function(e,t,n,r,c){var a=t.exec;return a===i||a===o.exec?v&&!c?{done:!0,value:E.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),m=b[0],I=b[1];r(String.prototype,e,m),r(o,g,2==t?function(e,t){return I.call(e,this,t)}:function(e){return I.call(e,this)})}d&&l(o[g],"sham",!0)}},f203:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},i=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("p",{staticStyle:{"font-size":"16px"}},[e._v("正在跳转...")])])}],c=(n("ac1f"),n("841c"),n("1276"),n("4ec3")),a=n("f7a4"),l=n("53f4"),u=n("f121"),o={components:{},mounted:function(){var e=this,t=Object.assign({},this.searchToObject(),this.$route.query),n=this;Object(c["a"])(t).then((function(t){l["a"].setChannelUserId(t),e.$router.push({name:a["a"].getPayWay().routeName})})).catch((function(e){n.$router.push({name:u["a"].errorPageRouteName,params:{errInfo:e.msg}})}))},methods:{searchToObject:function(){if(!window.location.search)return{};var e,t,n=window.location.search.substring(1).split("&"),r={};for(t in n)""!==n[t]&&(e=n[t].split("="),r[decodeURIComponent(e[0])]=decodeURIComponent(e[1]));return r}}},s=o,f=n("2877"),d=Object(f["a"])(s,r,i,!1,null,null,null);t["default"]=d.exports}}]);
//# sourceMappingURL=chunk-7616fb2a.ca9d6967.js.map
\ No newline at end of file
放置打包好的html文件。
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment