mrr.sj.front/unpackage/dist/build/app-plus/app-service.js

17 lines
2.8 MiB
JavaScript
Raw Normal View History

2026-03-25 15:27:45 +08:00
(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{"000e":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"OrderCard",props:{dataItem:{type:Object},typeId:{type:Number},showState:{type:Boolean,default:!0}},computed:{photo:function(){return JSON.parse(this.dataItem.photo)},useTime:function(){var t=this.dataItem.reserve_start_time,e=this.dataItem.reserve_end_time;return function(t,e){var s=new Date(t.replace(/-/g,"/")),i=new Date(e.replace(/-/g,"/"));if(isNaN(s.getTime()))throw new Error("\u65e0\u6548\u7684\u5f00\u59cb\u65f6\u95f4\u683c\u5f0f\uff0c\u8bf7\u4f7f\u7528\u7c7b\u4f3c'2025-08-04 14:00:00'\u7684\u683c\u5f0f");var a=function(t){var e=String(t.getMonth()+1).padStart(2,"0"),s=String(t.getDate()).padStart(2,"0"),i=String(t.getHours()).padStart(2,"0"),a=String(t.getMinutes()).padStart(2,"0");return"".concat(e,".").concat(s," ").concat(i,":").concat(a)};return"".concat(a(s)," \u2014\u2014 ").concat(a(i))}(t,e)},stateText:function(){return["","\u5f85\u652f\u4ed8","\u5f85\u63a5\u5355","\u5f85\u670d\u52a1","\u5f00\u59cb\u670d\u52a1","\u5df2\u5b8c\u6210","\u5df2\u8bc4\u4ef7","\u5df2\u53d6\u6d88"][this.dataItem.state]}},methods:{emitCancel:function(){this.$emit("cancel",this.dataItem)},emitAccept:function(){this.$emit("accept",this.dataItem)},emitStart:function(){this.$emit("start",this.dataItem)},goDetail:function(){this.$emit("goDetail",this.dataItem)},emitDone:function(){this.$emit("done",this.dataItem)}}};e.default=i},"0091":function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"jp-verification-literalness",props:{securityCode:{type:String,default:""},codeLength:{type:Number,default:4},contentWidth:{type:Number,default:120},contentHeight:{type:Number,default:60},lineLength:{type:Number,default:8},backgroundColor:{type:String,default:"rgb(238,226,224)"},lineColorList:{type:Array,default:function(){return["rgba(238,0,0,.5)","rgba(0, 170, 255,.5)","rgba(0, 170, 0,.5)","rgba(0, 0, 0,.5)","rgba(153, 146, 255,.5)"]}},colorList:{type:Array,default:function(){return["rgb(238,0,0)","rgb(0, 170, 255)","rgb(0, 170, 0)","rgb(0, 0, 0)","rgb(153, 146, 255)"]}},isCaseCheck:{type:Boolean,default:!0}},computed:{canvasId:function(){return"lime-signature".concat(this._uid)}},data:function(){return{identifyCode:""}},watch:{securityCode:function(){this.drawPic()}},methods:{verification:function(t){return this.isCaseCheck?this.identifyCode==t:this.identifyCode.toLowerCase()==t.toLowerCase()},gainCode:function(){return this.identifyCode},randomNum:function(t,e){return Math.floor(Math.random()*(e-t)+t)},getcheckCode:function(){for(var t="",e=this.codeLength,s=[1,2,3,4,5,6,7,8,9,"A","B","C","D","E","F","G","H","I","J","K","L","M","N","P","Q","R","S","T","U","V","W","X","Y","Z"],i=0;i<e;i++){var a=Math.floor(34*Math.random());t+=s[a]}this.identifyCode=t},drawTap:function(){this.securityCode?this.$emit("getCode"):this.drawPic()},drawPic:function(){this.securityCode?this.identifyCode=this.securityCode:this.getcheckCode();var t=uni.createCanvasContext(this.canvasId,this);t.setTextBaseline("bottom"),t.setFillStyle(this.backgroundColor),t.fillRect(0,0,this.contentWidth,this.contentHeight);for(var e=0;e<this.identifyCode.length;e++)this.drawText(t,this.identifyCode[e],e);this.drawLine(t),t.draw()},drawText:function(t,e,s){var i=Math.floor(Math.random()*this.colorList.length);t.setFillStyle(this.colorList[i]);var a=Math.trunc(this.contentWidth/this.identifyCode.length);t.setFontSize(this.randomNum(a,a));var r=s*(this.contentWidth/(this.identifyCode.length+1))+Math.trunc(a/2),c=this.randomNum(a,this.contentHeight-5),n=this.randomNum(-10,10);t.translate(r,c),t.rotate(n*Math.PI/180),t.fillText(e,0,0),t.rotate(-n*Math.PI/180),t.translate(-r,-c)},drawLine:function(t){for(var e=0;e<this.lineLength;e++){var s=Math.floor(Math.random()*this.lineColorList.length);t.setStrokeStyle(this.lineColorList[s]),t.beginPath();var i=this.randomNum(0,this.contentWidth),a=this.randomNum(0,this.contentHeight),r=this.randomNum(0,this.contentWidth)
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
var i=s("10ab"),a=s("ba37"),r=s("b0e4");function c(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function n(t,e){if(c()<e)throw new RangeError("Invalid typed array length");return o.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=o.prototype):(null===t&&(t=new o(e)),t.length=e),t}function o(t,e,s){if(!o.TYPED_ARRAY_SUPPORT&&!(this instanceof o))return new o(t,e,s);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return u(this,t)}return d(this,t,e,s)}function d(t,e,s,i){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,s,i){if(e.byteLength,s<0||e.byteLength<s)throw new RangeError("'offset' is out of bounds");if(e.byteLength<s+(i||0))throw new RangeError("'length' is out of bounds");e=void 0===s&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,s):new Uint8Array(e,s,i);o.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=o.prototype):t=f(t,e);return t}(t,e,s,i):"string"===typeof e?function(t,e,s){"string"===typeof s&&""!==s||(s="utf8");if(!o.isEncoding(s))throw new TypeError('"encoding" must be a valid string encoding');var i=0|p(e,s);t=n(t,i);var a=t.write(e,s);a!==i&&(t=t.slice(0,a));return t}(t,e,s):function(t,e){if(o.isBuffer(e)){var s=0|_(e.length);return t=n(t,s),0===t.length?t:(e.copy(t,0,0,s),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||function(t){return t!==t}(e.length)?n(t,0):f(t,e);if("Buffer"===e.type&&r(e.data))return f(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function l(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function u(t,e){if(l(e),t=n(t,e<0?0:0|_(e)),!o.TYPED_ARRAY_SUPPORT)for(var s=0;s<e;++s)t[s]=0;return t}function f(t,e){var s=e.length<0?0:0|_(e.length);t=n(t,s);for(var i=0;i<s;i+=1)t[i]=255&e[i];return t}function _(t){if(t>=c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c().toString(16)+" bytes");return 0|t}function p(t,e){if(o.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var s=t.length;if(0===s)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return s;case"utf8":case"utf-8":case void 0:return R(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*s;case"hex":return s>>>1;case"base64":return q(t).length;default:if(i)return R(t).length;e=(""+e).toLowerCase(),i=!0}}function v(t,e,s){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===s||s>this.length)&&(s=this.length),s<=0)return"";if(s>>>=0,e>>>=0,s<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return I(this,e,s);case"utf8":case"utf-8":return S(this,e,s);case"ascii":return D(this,e,s);case"latin1":case"binary":return T(this,e,s);case"base64":return k(this,e,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,e,s);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function h(t,e,s){var i=t[e];t[e]=t[s],t[s]=i}function m(t,e,s,i,a){if(0===t.length)return-1;if("string"===typeof s?(i=s,s=0):s>2147483647?s=2147483647:s<-2147483648&&(s=-2147483648),s=+s,isNaN(s)&&(s=a?0:t.length-1),s<0&&(s=t.length+s),s>=t.length){if(a)return-1;s=t.length-1}else if(s<0){if(!a)return-1;s=0}if("string"===typeof e&&(e=o.from(e,i)),o.isBuffer(e))return 0===e.length?-1:g(t,e,s,i,a);if("number"===typeof e)return e&=255,o.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(t,e,s):Uint8Array.prototype.lastIndexOf.call(t,e,s):g(t,[e],s,i,a);throw new TypeError("val must be string, number or Buffer")}function g(t,e,s,i,a){var r,c=1,n=t.length,o=e.length;if
/*!
* vuex v3.6.2
* (c) 2021 Evan You
* @license MIT
*/
function(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:i});else{var s=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,s.call(this,t)}}function i(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(l))}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(t){0},u.prototype.commit=function(t,e,s){var i=this,a=g(t,e,s),r=a.type,c=a.payload,n=(a.options,{type:r,payload:c}),o=this._mutations[r];o&&(this._withCommit((function(){o.forEach((function(t){t(c)}))})),this._subscribers.slice().forEach((function(t){return t(n,i.state)})))},u.prototype.dispatch=function(t,e){var s=this,i=g(t,e),a=i.type,r=i.payload,c={type:a,payload:r},n=this._actions[a];if(n){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(c,s.state)}))}catch(d){0}var o=n.length>1?Promise.all(n.map((function(t){return t(r)}))):n[0](r);return new Promise((function(t,e){o.then((function(e){try{s._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(c,s.state)}))}catch(d){0}t(e)}),(function(t){try{s._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(c,s.state,t)}))}catch(d){0}e(t)}))}))}},u.prototype.subscribe=function(t,e){return _(t,this._subscribers,e)},u.prototype.subscribeAction=function(t,e){var s="function"===typeof t?{before:t}:t;return _(s,this._actionSubscribers,e)},u.prototype.watch=function(t,e,s){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,s)},u.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},u.prototype.registerModule=function(t,e,s){void 0===s&&(s={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),h(this,this.state,t,this._modules.get(t),s.preserveState),v(this,this.state)},u.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var s=m(e.state,t.slice(0,-1));l.delete(s,t[t.length-1])})),p(this)},u.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},u.prototype[[104,111,116,85,112,100,97,116,101].map((function(t){return String.fromCharCode(t)})).join("")]=function(t){this._modules.update(t),p(this,!0)},u.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(u.prototype,f);var b=k((function(t,e){var s={};return x(e).forEach((function(e){var i=e.key,a=e.val;s[i]=function(){var e=this.$store.state,s=this.$store.getters;if(t){var i=S(this.$store,"mapState",t);if(!i)return;e=i.context.state,s=i.context.getters}return"function"===typeof a?a.call(this,e,s):e[a]},s[i].vuex=!0})),s})),w=k((function(t,e){var s={};return x(e).forEach((function(e){var i=e.key,a=e.val;s[i]=function(){var e=[],s=arguments.length;while(s--)e[s]=arguments[s];var i=this.$store.commit;if(t){var r=S(this.$store,"mapMutations",t);if(!r)return;i=r.context.commit}return"function"===typeof a?a.apply(this,[i].concat(e)):i.apply(this.$store,[a].concat(e))}})),s})),$=k((function(t,e){var s={};return x(e).forEach((function(e){var i=e.key,a=e.val;a=t+a,s[i]=function(){if(!t||S(this.$store,"mapGetters",t))return this.$store.getters[a]},s[i].vuex=!0})),s})),C=k((function(t,e){var s={};return x(e).forEach((function(e){var i=e.key,a=e.val;s[i]=function(){var e=[],s=arguments.length;while(s--)e[s]=arguments[s];var i=this.$store.dispatch;if(t){var r=S(this.$store,"mapActions",t);if(!r)return;i=r.context.dispatch}return"function"===typeof a?a.apply(this,[i].concat(e)):i.apply(this.$store,[a].concat(e))}})),s}));function x(t){return function(t){return Array.isArray(t)||c(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function k(t){return function(e,s){return"string"!==typeof e?(s=e,e=""):"/"!==e.ch
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=a=function(){return s},t.exports.__esModule=!0,t.exports["default"]=t.exports;var e,s={},r=Object.prototype,c=r.hasOwnProperty,n=Object.defineProperty||function(t,e,s){t[e]=s.value},o="function"==typeof Symbol?Symbol:{},d=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function f(t,e,s){return Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(e){f=function(t,e,s){return t[e]=s}}function _(t,e,s,i){var a=e&&e.prototype instanceof y?e:y,r=Object.create(a.prototype),c=new j(i||[]);return n(r,"_invoke",{value:T(t,s,c)}),r}function p(t,e,s){try{return{type:"normal",arg:t.call(e,s)}}catch(t){return{type:"throw",arg:t}}}s.wrap=_;var v="suspendedStart",h="executing",m="completed",g={};function y(){}function b(){}function w(){}var $={};f($,d,(function(){return this}));var C=Object.getPrototypeOf,x=C&&C(C(L([])));x&&x!==r&&c.call(x,d)&&($=x);var k=w.prototype=y.prototype=Object.create($);function S(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function D(t,e){function s(a,r,n,o){var d=p(t[a],t,r);if("throw"!==d.type){var l=d.arg,u=l.value;return u&&"object"==i(u)&&c.call(u,"__await")?e.resolve(u.__await).then((function(t){s("next",t,n,o)}),(function(t){s("throw",t,n,o)})):e.resolve(u).then((function(t){l.value=t,n(l)}),(function(t){return s("throw",t,n,o)}))}o(d.arg)}var a;n(this,"_invoke",{value:function(t,i){function r(){return new e((function(e,a){s(t,i,e,a)}))}return a=a?a.then(r,r):r()}})}function T(t,s,i){var a=v;return function(r,c){if(a===h)throw Error("Generator is already running");if(a===m){if("throw"===r)throw c;return{value:e,done:!0}}for(i.method=r,i.arg=c;;){var n=i.delegate;if(n){var o=I(n,i);if(o){if(o===g)continue;return o}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(a===v)throw a=m,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);a=h;var d=p(t,s,i);if("normal"===d.type){if(a=i.done?m:"suspendedYield",d.arg===g)continue;return{value:d.arg,done:i.done}}"throw"===d.type&&(a=m,i.method="throw",i.arg=d.arg)}}}function I(t,s){var i=s.method,a=t.iterator[i];if(a===e)return s.delegate=null,"throw"===i&&t.iterator["return"]&&(s.method="return",s.arg=e,I(t,s),"throw"===s.method)||"return"!==i&&(s.method="throw",s.arg=new TypeError("The iterator does not provide a '"+i+"' method")),g;var r=p(a,t.iterator,s.arg);if("throw"===r.type)return s.method="throw",s.arg=r.arg,s.delegate=null,g;var c=r.arg;return c?c.done?(s[t.resultName]=c.value,s.next=t.nextLoc,"return"!==s.method&&(s.method="next",s.arg=e),s.delegate=null,g):c:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function L(t){if(t||""===t){var s=t[d];if(s)return s.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,r=function s(){for(;++a<t.length;)if(c.call(t,a))return s.value=t[a],s.done=!1,s;return s.value=e,s.done=!0,s};return r.next=r}}throw new TypeError(i(t)+" is not iterable")}return b.prototype=w,n(k,"constructor",{value:w,configurable:!0}),n(w,"constructor",{value:b,configurable:!0}),b.displayName=f(w,u,"GeneratorFunction"),s.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},s.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,f(t,u,"GeneratorFunction")),t.prototype=Object.create(k),t},s.awrap=function(t){return{__await:t}},S(D.prototype),f(D.prototype,l,(function(){return this})),s.AsyncIterator=D,s.async=functi
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
e.read=function(t,e,s,i,a){var r,c,n=8*a-i-1,o=(1<<n)-1,d=o>>1,l=-7,u=s?a-1:0,f=s?-1:1,_=t[e+u];for(u+=f,r=_&(1<<-l)-1,_>>=-l,l+=n;l>0;r=256*r+t[e+u],u+=f,l-=8);for(c=r&(1<<-l)-1,r>>=-l,l+=i;l>0;c=256*c+t[e+u],u+=f,l-=8);if(0===r)r=1-d;else{if(r===o)return c?NaN:1/0*(_?-1:1);c+=Math.pow(2,i),r-=d}return(_?-1:1)*c*Math.pow(2,r-i)},e.write=function(t,e,s,i,a,r){var c,n,o,d=8*r-a-1,l=(1<<d)-1,u=l>>1,f=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,_=i?0:r-1,p=i?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(n=isNaN(e)?1:0,c=l):(c=Math.floor(Math.log(e)/Math.LN2),e*(o=Math.pow(2,-c))<1&&(c--,o*=2),e+=c+u>=1?f/o:f*Math.pow(2,1-u),e*o>=2&&(c++,o/=2),c+u>=l?(n=0,c=l):c+u>=1?(n=(e*o-1)*Math.pow(2,a),c+=u):(n=e*Math.pow(2,u-1)*Math.pow(2,a),c=0));a>=8;t[s+_]=255&n,_+=p,n/=256,a-=8);for(c=c<<a|n,d+=a;d>0;t[s+_]=255&c,_+=p,c/=256,d-=8);t[s+_-p]|=128*v}},ba8b:function(t,e,s){"use strict";s.r(e);var i=s("b0ba"),a=s.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){s.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},bb0c:function(t,e,s){"use strict";s.r(e);var i=s("8f2e"),a=s.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){s.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},bb13:function(t,e,s){"use strict";(function(t){var i=s("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(s("127e")),r=i(s("7ca3")),c=i(s("ee10")),n=i(s("e7e3")),o=(s("2b23"),i(s("e739")));function d(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function l(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?d(Object(s),!0).forEach((function(e){(0,r.default)(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):d(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var u={components:{customNavbar:n.default},data:function(){return{orderInfo:{id:"",pay_money:"",number:""},serverTitle:"",selectedPayment:"wechat",balance:"98489.98",timer:null,isPay:!1,methodList:[{id:1,name:"\u5fae\u4fe1",payment:"wechat",icon:"/static/images/wechat.png",selected:!0},{id:2,name:"\u652f\u4ed8\u5b9d",payment:"alipay",icon:"/static/images/alipay.png",selected:!1}]}},onLoad:function(e){t("log",e," at pages/shop/pay-order.vue:96"),e.id&&(this.orderInfo.id=e.id,this.orderInfo.number=e.number,this.orderInfo.pay_money=e.money,this.serverTitle=e.title,t("log",this.orderInfo," at pages/shop/pay-order.vue:102"))},onUnload:function(){this.timer&&(clearInterval(this.timer),this.timer=null)},methods:{getUserInfo:function(){var t=this;o.default.post("/user/getuser",{type:1}).then((function(e){t.address.name=e.data.username,t.address.phone=e.data.account}))},getOrderInfo:function(){var e=this;return(0,c.default)(a.default.mark((function s(){var i;return a.default.wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,o.default.post("/order/detail",{id:e.orderInfo.id});case 3:i=s.sent,0===i.code&&(e.orderInfo=i.data),s.next=10;break;case 7:s.prev=7,s.t0=s["catch"](0),t("error","\u83b7\u53d6\u8ba2\u5355\u4fe1\u606f\u5931\u8d25:",s.t0," at pages/shop/pay-order.vue:130");case 10:case"end":return s.stop()}}),s,null,[[0,7]])})))()},selectMethod:function(t){this.selectedPayment=t.payment,this.methodList.forEach((function(e){e.selected=e.id===t.id}))},startCountdown:function(){var t=this,e=1800;this.timer=setInterval((function(){if(e--,e<=0)return clearInterval(t.timer),t.timer=null,uni.showToast({title:"\u652f\u4ed8\u8d85\u65f6\uff0c\u8bf7\u91cd\u65b0\u4e0b\u5355",icon:"none"}),void setTimeout((function(){uni.navigateBack()}),1500);var s=Math.floor(e/60),i=e%60;t.countdown="".concat(String(s).padStart(2,"0"),":").concat(String(i).padStart(2,"0"))}),1e3)},confirmPay:function(){var e=this;return(0,c.default)(a.default.mark((function s(){var i,r,c,n,d,u,f;return a.default.wrap((function(s){while(1)switch(s.prev=s.n