doum
7 天以前 6805f6e09455c51e0e38d170538fbf757594d3c4
1
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"057e":function(t,e,n){"use strict";(function(e){var r=n("bdbb").default;n("5ef2"),n("7a76"),n("c9b5"),n("aa9c"),n("bf0f"),n("2797"),n("9327"),n("d4b5");var i=n("a4f9");t.exports=function(t,n){n=n||new FormData;var o=[];function a(t){return null===t?"":i.isDate(t)?t.toISOString():i.isArrayBuffer(t)||i.isTypedArray(t)?"function"===typeof Blob?new Blob([t]):e.from(t):t}return function t(e,s){if(i.isPlainObject(e)||i.isArray(e)){if(-1!==o.indexOf(e))throw Error("Circular reference detected in "+s);o.push(e),i.forEach(e,(function(e,o){if(!i.isUndefined(e)){var c,u=s?s+"."+o:o;if(e&&!s&&"object"===r(e))if(i.endsWith(o,"{}"))e=JSON.stringify(e);else if(i.endsWith(o,"[]")&&(c=i.toArray(e)))return void c.forEach((function(t){!i.isUndefined(t)&&n.append(u,a(t))}));t(e,u)}})),o.pop()}else n.append(s,a(e))}(t),n}}).call(this,n("12e3").Buffer)},"077e":function(t,e,n){"use strict";n.r(e);var r=n("abf1"),i=n("b9e4");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("d04a");var a=n("828b"),s=Object(a["a"])(i["default"],r["b"],r["c"],!1,null,"1fcb2c02",null,!1,r["a"],void 0);e["default"]=s.exports},"0e17":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0ec4":function(t,e,n){"use strict";n("bf0f"),n("2797");var r=n("a4f9"),i=n("6426");t.exports=function(t,e,n){var o=this||i;return r.forEach(n,(function(n){t=n.call(o,t,e)})),t}},"0f4a":function(t,e){t.exports=null},"0ff9":function(t,e,n){"use strict";n("7a76"),n("c9b5"),n("bf0f"),n("aa9c"),n("5ef2"),n("dd2b");var r=n("45ed");function i(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},i.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},i.source=function(){var t,e=new i((function(e){t=e}));return{token:e,cancel:t}},t.exports=i},"15f4":function(t,e,n){t.exports=n("44a8")},"1bdc":function(t,e,n){"use strict";n("5c47"),n("0506"),n("a1c1"),n("af8f");var r=n("a4f9");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(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 t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},2322:function(t,e,n){"use strict";n("bf0f"),n("2797"),n("3efd"),n("aa9c"),n("c223");var r=n("a4f9"),i=n("b579"),o=n("4cf9"),a=n("8a7a"),s=n("9aef"),c=n("98b2"),u=n("b6c1"),f=u.validators;function l(t){this.defaults=t,this.interceptors={request:new o,response:new o}}l.prototype.request=function(t,e){"string"===typeof t?(e=e||{},e.url=t):e=t||{},e=s(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;void 0!==n&&u.assertOptions(n,{silentJSONParsing:f.transitional(f.boolean),forcedJSONParsing:f.transitional(f.boolean),clarifyTimeoutError:f.transitional(f.boolean)},!1);var r=[],i=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(i=i&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var o,c=[];if(this.interceptors.response.forEach((function(t){c.push(t.fulfilled,t.rejected)})),!i){var l=[a,void 0];Array.prototype.unshift.apply(l,r),l=l.concat(c),o=Promise.resolve(e);while(l.length)o=o.then(l.shift(),l.shift());return o}var d=e;while(r.length){var p=r.shift(),h=r.shift();try{d=p(d)}catch(m){h(m);break}}try{o=a(d)}catch(m){return Promise.reject(m)}while(c.length)o=o.then(c.shift(),c.shift());return o},l.prototype.getUri=function(t){t=s(this.defaults,t);var e=c(t.baseURL,t.url);return i(e,t.params,t.paramsSerializer)},r.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,i){return this.request(s(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}l.prototype[t]=e(),l.prototype[t+"Form"]=e(!0)})),t.exports=l},"28d0":function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,r="/";e.cwd=function(){return r},e.chdir=function(e){t||(t=n("a3fc")),r=t.resolve(e,r)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"2a3b":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"2d78":function(t,e,n){"use strict";n("6a54");var r=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("2634")),o=r(n("2fdc"));n("5c47"),n("a1c1"),n("23f4"),n("7d2f"),n("9c4e"),n("ab80"),n("bf0f"),n("2797");r(n("15f4"));var a={data:function(){return{flag:"name",form:{type:0,name:"",phone:"",money:"",remark:"",userId:""}}},mounted:function(){this.form.userId=this.fetchParams("userId",window.location.href)},methods:{toSuccess:function(){uni.navigateTo({url:"/pages/success/success"})},fetchParams:function(t,e){t=t.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)"),r=n.exec(e);return console.log(r),r?r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):"":null},sendSave:function(){var t=this;return(0,o.default)((0,i.default)().mark((function e(){var n,r,o,a,s,c;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t,t.form.name){e.next=4;break}return uni.showToast({title:"请输入姓名",icon:"none"}),e.abrupt("return");case 4:if(t.form.phone){e.next=7;break}return uni.showToast({title:"请输入手机号",icon:"none"}),e.abrupt("return");case 7:if(t.form.money&&!(t.form.money<.01)){e.next=10;break}return uni.showToast({title:"请输入正确的金额",icon:"none"}),e.abrupt("return");case 10:return e.next=12,t.$u.api.orderCreate(t.form);case 12:if(n=e.sent,200===n.code){for(s in r=n.data.url,console.log(n),o=document.querySelectorAll("form"),o&&o.length&&o.forEach((function(t){t.remove()})),a=document.createElement("form"),a.action=r,a.id="tempFromId",a.method="post",a.style.display="block",n.data.param)n.data.param[s]&&(c=document.createElement("input"),console.log("============",s,n.data.param[s]),c.setAttribute("type","text"),c.setAttribute("name",s),c.setAttribute("value",n.data.param[s]),a.appendChild(c));document.body.appendChild(a),uni.showToast({title:"特挑剔",icon:"none"}),a.submit()}case 14:case"end":return e.stop()}}),e)})))()}}};e.default=a},"2f77":function(t,e,n){"use strict";n("5c47"),t.exports=function(t){var e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}},"2fbe":function(t,e){t.exports={version:"0.27.2"}},"3872ee":function(t,e,n){"use strict";var r=n("d278");t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(new r("Request failed with status code "+n.status,[r.ERR_BAD_REQUEST,r.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}},"3daa":function(t,e,n){"use strict";n("bf0f"),n("2797"),n("5ef2"),n("0c26"),n("c223");var r=n("a4f9"),i=["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"];t.exports=function(t){var e,n,o,a={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(a[e]&&i.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},"44a8":function(t,e,n){"use strict";n("bf0f"),n("18f7"),n("de6c");var r=n("a4f9"),i=n("64d3"),o=n("2322"),a=n("9aef"),s=n("6426");var c=function t(e){var n=new o(e),s=i(o.prototype.request,n);return r.extend(s,o.prototype,n),r.extend(s,n),s.create=function(n){return t(a(e,n))},s}(s);c.Axios=o,c.CanceledError=n("45ed"),c.CancelToken=n("0ff9"),c.isCancel=n("2a3b"),c.VERSION=n("2fbe").version,c.toFormData=n("057e"),c.AxiosError=n("d278"),c.Cancel=c.CanceledError,c.all=function(t){return Promise.all(t)},c.spread=n("0e17"),c.isAxiosError=n("49d5"),t.exports=c,t.exports.default=c},"45ed":function(t,e,n){"use strict";var r=n("d278"),i=n("a4f9");function o(t){r.call(this,null==t?"canceled":t,r.ERR_CANCELED),this.name="CanceledError"}i.inherits(o,r,{__CANCEL__:!0}),t.exports=o},"49d5":function(t,e,n){"use strict";var r=n("a4f9");t.exports=function(t){return r.isObject(t)&&!0===t.isAxiosError}},"4cf9":function(t,e,n){"use strict";n("aa9c"),n("bf0f"),n("2797");var r=n("a4f9");function i(){this.handlers=[]}i.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},"4d3f":function(t,e,n){var r=n("9c39");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("967d").default;i("30de61fc",r,!0,{sourceMap:!1,shadowMode:!1})},5040:function(t,e,n){"use strict";t.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},6426:function(t,e,n){"use strict";(function(e){n("bf0f"),n("0c26"),n("d4b5"),n("c9b5"),n("ab80"),n("2797");var r=n("a4f9"),i=n("a3ed"),o=n("d278"),a=n("5040"),s=n("057e"),c={"Content-Type":"application/x-www-form-urlencoded"};function u(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var f={transitional:a,adapter:function(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("b8b4")),t}(),transformRequest:[function(t,e){if(i(e,"Accept"),i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t))return t;if(r.isArrayBufferView(t))return t.buffer;if(r.isURLSearchParams(t))return u(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var n,o=r.isObject(t),a=e&&e["Content-Type"];if((n=r.isFileList(t))||o&&"multipart/form-data"===a){var c=this.env&&this.env.FormData;return s(n?{"files[]":t}:t,c&&new c)}return o||"application/json"===a?(u(e,"application/json"),function(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||f.transitional,n=e&&e.silentJSONParsing,i=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||i&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a){if("SyntaxError"===s.name)throw o.from(s,o.ERR_BAD_RESPONSE,this,null,this.response);throw s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:n("0f4a")},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){f.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){f.headers[t]=r.merge(c)})),t.exports=f}).call(this,n("28d0"))},"64d3":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},6928:function(t,e,n){"use strict";n("aa9c"),n("5c47"),n("2c10"),n("23f4"),n("7d2f"),n("9c4e"),n("ab80");var r=n("a4f9");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"8a7a":function(t,e,n){"use strict";n("bf0f"),n("2797");var r=n("a4f9"),i=n("0ec4"),o=n("2a3b"),a=n("6426"),s=n("45ed");function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new s}t.exports=function(t){c(t),t.headers=t.headers||{},t.data=i.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||a.adapter;return e(t).then((function(e){return c(t),e.data=i.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(c(t),e&&e.response&&(e.response.data=i.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},"8cd0":function(t,e,n){"use strict";n("5c47"),n("0506"),t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},9327:function(t,e,n){"use strict";var r=n("8bdb"),i=n("9f69"),o=n("1ded").f,a=n("c435"),s=n("9e70"),c=n("b6a1"),u=n("862c"),f=n("0931"),l=n("a734"),d=i("".slice),p=Math.min,h=f("endsWith"),m=!l&&!h&&!!function(){var t=o(String.prototype,"endsWith");return t&&!t.writable}();r({target:"String",proto:!0,forced:!m&&!h},{endsWith:function(t){var e=s(u(this));c(t);var n=arguments.length>1?arguments[1]:void 0,r=e.length,i=void 0===n?r:p(a(n),r),o=s(t);return d(e,i-o.length,i)===o}})},"98b2":function(t,e,n){"use strict";var r=n("8cd0"),i=n("bd58");t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},"9aef":function(t,e,n){"use strict";n("f7a5"),n("bf0f"),n("2797"),n("c223"),n("dc8a");var r=n("a4f9");t.exports=function(t,e){e=e||{};var n={};function i(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function o(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:i(void 0,t[n]):i(t[n],e[n])}function a(t){if(!r.isUndefined(e[t]))return i(void 0,e[t])}function s(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:i(void 0,t[n]):i(void 0,e[n])}function c(n){return n in e?i(t[n],e[n]):n in t?i(void 0,t[n]):void 0}var u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c};return r.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=u[t]||o,i=e(t);r.isUndefined(i)&&e!==c||(n[t]=i)})),n}},"9c39":function(t,e,n){var r=n("c86c");e=r(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.content[data-v-1fcb2c02]{width:100%;padding:%?20?% %?30?%;box-sizing:border-box}.content .btn[data-v-1fcb2c02]{position:fixed;left:%?30?%;bottom:calc(%?30?% + env(safe-area-inset-bottom));width:calc(100vw - %?60?%);height:%?88?%;line-height:%?88?%;text-align:center;background:#0464fc;border-radius:%?8?%;font-weight:500;font-size:%?32?%;color:#fff}.content .banner[data-v-1fcb2c02]{width:100%;height:%?400?%;overflow:hidden;display:flex;align-items:center;justify-content:center;border-radius:%?20?%}.content .banner uni-image[data-v-1fcb2c02]{width:100%}.content .list[data-v-1fcb2c02]{width:100%;height:calc(100% - %?800?%);overflow-y:auto;display:flex;flex-direction:column;margin-top:%?30?%}.content .list .list-item[data-v-1fcb2c02]{width:100%;height:%?100?%;display:flex;align-items:center;justify-content:space-between;border-bottom:%?1?% solid #e5e5e5}.content .list .list-item .list-item-label[data-v-1fcb2c02]{flex-shrink:0;width:%?160?%;font-weight:400;font-size:%?28?%;color:#333}.content .list .list-item .list-item-label uni-text[data-v-1fcb2c02]{color:red}.content .list .list-item .list-item-cate[data-v-1fcb2c02]{flex:1;display:flex;align-items:center;justify-content:flex-end}.content .list .list-item .list-item-cate .active[data-v-1fcb2c02]{background:#0464fc!important;color:#fff!important}.content .list .list-item .list-item-cate .list-item-cate-item[data-v-1fcb2c02]{padding:0 %?28?%;height:%?64?%;line-height:%?64?%;background:#f7f7f7;border-radius:%?8?%;font-weight:400;font-size:%?26?%;color:#333;margin-right:%?20?%}.content .list .list-item .list-item-cate .list-item-cate-item[data-v-1fcb2c02]:last-child{margin:0!important}.content .list .list-item .list-item-input[data-v-1fcb2c02]{flex:1}.content .list .list-item .list-item-input uni-input[data-v-1fcb2c02]{width:100%;font-weight:400;font-size:%?28?%;color:#999;text-align:right}',""]),t.exports=e},a3ed:function(t,e,n){"use strict";n("bf0f"),n("2797");var r=n("a4f9");t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},a3fc:function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,i="/"===a.charAt(0))}return e=n(r(e.split("/"),(function(t){return!!t})),!i).join("/"),(i?"/":"")+e||"."},e.normalize=function(t){var o=e.isAbsolute(t),a="/"===i(t,-1);return t=n(r(t.split("/"),(function(t){return!!t})),!o).join("/"),t||o||(t="."),t&&a&&(t+="/"),(o?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var n=t.length-1;n>=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c<a;c++)if(i[c]!==o[c]){s=c;break}var u=[];for(c=s;c<i.length;c++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,i=!0,o=t.length-1;o>=1;--o)if(e=t.charCodeAt(o),47===e){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=function(t){"string"!==typeof t&&(t+="");var e,n=0,r=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){n=e+1;break}}else-1===r&&(i=!1,r=e+1);return-1===r?"":t.slice(n,r)}(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,r=-1,i=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){n=a+1;break}}return-1===e||-1===r||0===o||1===o&&e===r-1&&e===n+1?"":t.slice(e,r)};var i="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("28d0"))},a4f9:function(t,e,n){"use strict";var r=n("bdbb").default;n("bf0f"),n("f7a5"),n("80e3"),n("4db2"),n("c753"),n("926e"),n("c9b5"),n("ab80"),n("0c26"),n("5c47"),n("a1c1"),n("7f48"),n("5ef2"),n("c976"),n("4d8f"),n("7b97"),n("668a"),n("c5b7"),n("8ff5"),n("2378"),n("641a"),n("64e0"),n("cce3"),n("efba"),n("d009"),n("bd7d"),n("7edd"),n("d798"),n("f547"),n("5e54"),n("b60a"),n("8c18"),n("12973"),n("f991"),n("198e"),n("8557"),n("63b1"),n("1954"),n("1cf1");var i=n("64d3"),o=Object.prototype.toString,a=function(t){return function(e){var n=o.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function s(t){return t=t.toLowerCase(),function(e){return a(e)===t}}function c(t){return Array.isArray(t)}function u(t){return"undefined"===typeof t}var f=s("ArrayBuffer");function l(t){return null!==t&&"object"===r(t)}function d(t){if("object"!==a(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}var p=s("Date"),h=s("File"),m=s("Blob"),v=s("FileList");function b(t){return"[object Function]"===o.call(t)}var g=s("URLSearchParams");function y(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==r(t)&&(t=[t]),c(t))for(var n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}var w=function(t){return function(e){return t&&e instanceof t}}("undefined"!==typeof Uint8Array&&Object.getPrototypeOf(Uint8Array));t.exports={isArray:c,isArrayBuffer:f,isBuffer:function(t){return null!==t&&!u(t)&&null!==t.constructor&&!u(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return t&&("function"===typeof FormData&&t instanceof FormData||"[object FormData]"===o.call(t)||b(t.toString)&&"[object FormData]"===t.toString())},isArrayBufferView:function(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&f(t.buffer),e},isString:function(t){return"string"===typeof t},isNumber:function(t){return"number"===typeof t},isObject:l,isPlainObject:d,isUndefined:u,isDate:p,isFile:h,isBlob:m,isFunction:b,isStream:function(t){return l(t)&&b(t.pipe)},isURLSearchParams:g,isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:y,merge:function t(){var e={};function n(n,r){d(e[r])&&d(n)?e[r]=t(e[r],n):d(n)?e[r]=t({},n):c(n)?e[r]=n.slice():e[r]=n}for(var r=0,i=arguments.length;r<i;r++)y(arguments[r],n);return e},extend:function(t,e,n){return y(e,(function(e,r){t[r]=n&&"function"===typeof e?i(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t},inherits:function(t,e,n,r){t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,n&&Object.assign(t.prototype,n)},toFlatObject:function(t,e,n){var r,i,o,a={};e=e||{};do{r=Object.getOwnPropertyNames(t),i=r.length;while(i-- >0)o=r[i],a[o]||(e[o]=t[o],a[o]=!0);t=Object.getPrototypeOf(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:a,kindOfTest:s,endsWith:function(t,e,n){t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;var r=t.indexOf(e,n);return-1!==r&&r===n},toArray:function(t){if(!t)return null;var e=t.length;if(u(e))return null;var n=new Array(e);while(e-- >0)n[e]=t[e];return n},isTypedArray:w,isFileList:v}},abf1:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"banner"},[n("v-uni-image",{attrs:{src:"/static/banner.png",mode:"widthFix"}})],1),n("v-uni-view",{staticClass:"list"},[n("v-uni-view",{staticClass:"list-item"},[n("v-uni-view",{staticClass:"list-item-label"},[n("v-uni-text",[t._v("*")]),t._v("付款事由")],1),n("v-uni-view",{staticClass:"list-item-cate"},[n("v-uni-view",{class:{"list-item-cate-item":!0,active:0===t.form.type},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.form.type=0}}},[t._v("车款")]),n("v-uni-view",{class:{"list-item-cate-item":!0,active:1===t.form.type},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.form.type=1}}},[t._v("延期款")])],1)],1),n("v-uni-view",{staticClass:"list-item"},[n("v-uni-view",{staticClass:"list-item-label"},[n("v-uni-text",[t._v("*")]),t._v("姓名")],1),n("v-uni-view",{staticClass:"list-item-input"},[n("v-uni-input",{attrs:{type:"text",focus:!0,placeholder:"请输入"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1)],1),n("v-uni-view",{staticClass:"list-item"},[n("v-uni-view",{staticClass:"list-item-label"},[n("v-uni-text",[t._v("*")]),t._v("手机号")],1),n("v-uni-view",{staticClass:"list-item-input"},[n("v-uni-input",{attrs:{type:"tel",placeholder:"请输入"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}})],1)],1),n("v-uni-view",{staticClass:"list-item"},[n("v-uni-view",{staticClass:"list-item-label"},[n("v-uni-text",[t._v("*")]),t._v("金额(元)")],1),n("v-uni-view",{staticClass:"list-item-input"},[n("v-uni-input",{attrs:{type:"number",placeholder:"请输入"},model:{value:t.form.money,callback:function(e){t.$set(t.form,"money",e)},expression:"form.money"}})],1)],1),n("v-uni-view",{staticClass:"list-item"},[n("v-uni-view",{staticClass:"list-item-label"},[t._v("备注")]),n("v-uni-view",{staticClass:"list-item-input"},[n("v-uni-input",{attrs:{type:"text",placeholder:"请输入","adjust-position":"true"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1)],1),n("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.sendSave.apply(void 0,arguments)}}},[t._v("去支付")])],1)},i=[]},b579:function(t,e,n){"use strict";n("5c47"),n("a1c1"),n("c9b5"),n("bf0f"),n("ab80"),n("2797"),n("d4b5"),n("aa9c"),n("5ef2"),n("f7a5");var r=n("a4f9");function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(i(e)+"="+i(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},b6c1:function(t,e,n){"use strict";var r=n("bdbb").default;n("bf0f"),n("dc8a");var i=n("2fbe").version,o=n("d278"),a={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){a[t]=function(n){return r(n)===t||"a"+(e<1?"n ":" ")+t}}));var s={};a.transitional=function(t,e,n){function r(t,e){return"[Axios v"+i+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,i,a){if(!1===t)throw new o(r(i," has been removed"+(e?" in "+e:"")),o.ERR_DEPRECATED);return e&&!s[i]&&(s[i]=!0,console.warn(r(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,i,a)}},t.exports={assertOptions:function(t,e,n){if("object"!==r(t))throw new o("options must be an object",o.ERR_BAD_OPTION_VALUE);var i=Object.keys(t),a=i.length;while(a-- >0){var s=i[a],c=e[s];if(c){var u=t[s],f=void 0===u||c(u,s,t);if(!0!==f)throw new o("option "+s+" must be "+f,o.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new o("Unknown option "+s,o.ERR_BAD_OPTION)}},validators:a}},b8b4:function(t,e,n){"use strict";n("bf0f"),n("c9b5"),n("d5c6"),n("5a56"),n("f074"),n("5ef2"),n("2797");var r=n("a4f9"),i=n("3872ee"),o=n("6928"),a=n("b579"),s=n("98b2"),c=n("3daa"),u=n("1bdc"),f=n("5040"),l=n("d278"),d=n("45ed"),p=n("2f77");t.exports=function(t){return new Promise((function(e,n){var h,m=t.data,v=t.headers,b=t.responseType;function g(){t.cancelToken&&t.cancelToken.unsubscribe(h),t.signal&&t.signal.removeEventListener("abort",h)}r.isFormData(m)&&r.isStandardBrowserEnv()&&delete v["Content-Type"];var y=new XMLHttpRequest;if(t.auth){var w=t.auth.username||"",E=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";v.Authorization="Basic "+btoa(w+":"+E)}var x=s(t.baseURL,t.url);function O(){if(y){var r="getAllResponseHeaders"in y?c(y.getAllResponseHeaders()):null,o=b&&"text"!==b&&"json"!==b?y.response:y.responseText,a={data:o,status:y.status,statusText:y.statusText,headers:r,config:t,request:y};i((function(t){e(t),g()}),(function(t){n(t),g()}),a),y=null}}if(y.open(t.method.toUpperCase(),a(x,t.params,t.paramsSerializer),!0),y.timeout=t.timeout,"onloadend"in y?y.onloadend=O:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(O)},y.onabort=function(){y&&(n(new l("Request aborted",l.ECONNABORTED,t,y)),y=null)},y.onerror=function(){n(new l("Network Error",l.ERR_NETWORK,t,y,y)),y=null},y.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||f;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new l(e,r.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,t,y)),y=null},r.isStandardBrowserEnv()){var R=(t.withCredentials||u(x))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;R&&(v[t.xsrfHeaderName]=R)}"setRequestHeader"in y&&r.forEach(v,(function(t,e){"undefined"===typeof m&&"content-type"===e.toLowerCase()?delete v[e]:y.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(y.withCredentials=!!t.withCredentials),b&&"json"!==b&&(y.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&y.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(h=function(t){y&&(n(!t||t&&t.type?new d:t),y.abort(),y=null)},t.cancelToken&&t.cancelToken.subscribe(h),t.signal&&(t.signal.aborted?h():t.signal.addEventListener("abort",h))),m||(m=null);var A=p(x);A&&-1===["http","https","file"].indexOf(A)?n(new l("Unsupported protocol "+A+":",l.ERR_BAD_REQUEST,t)):y.send(m)}))}},b9e4:function(t,e,n){"use strict";n.r(e);var r=n("2d78"),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=i.a},bd58:function(t,e,n){"use strict";n("5c47"),n("a1c1"),t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},c753:function(t,e,n){"use strict";var r=n("8bdb"),i=n("7ddb"),o=i.NATIVE_ARRAY_BUFFER_VIEWS;r({target:"ArrayBuffer",stat:!0,forced:!o},{isView:i.isView})},d04a:function(t,e,n){"use strict";var r=n("4d3f"),i=n.n(r);i.a},d278:function(t,e,n){"use strict";n("7a76"),n("c9b5"),n("01a2"),n("e39c"),n("bf0f"),n("a03a"),n("6a54");var r=n("a4f9");function i(t,e,n,r,i){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}r.inherits(i,Error,{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,status:this.response&&this.response.status?this.response.status:null}}});var o=i.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(t){a[t]={value:t}})),Object.defineProperties(i,a),Object.defineProperty(o,"isAxiosError",{value:!0}),i.from=function(t,e,n,a,s,c){var u=Object.create(o);return r.toFlatObject(t,u,(function(t){return t!==Error.prototype})),i.call(u,t.message,e,n,a,s),u.name=t.name,c&&Object.assign(u,c),u},t.exports=i}}]);