1 line
11 KiB
JavaScript
1 line
11 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-mt-result"],{"1de5":function(t,e,n){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"20f4":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var a={uModal:n("5918").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"content"},[1==t.pay_state?n("v-uni-view",{staticClass:"top-content"},[n("v-uni-view",{staticClass:"result-logo"}),n("v-uni-view",{staticClass:"title"},[n("v-uni-text",[t._v("支付成功")])],1),n("v-uni-view",{staticClass:"text"},[n("v-uni-text",[t._v("返回美团可查看订单详情")])],1)],1):n("v-uni-view",{staticClass:"top-content"},[n("v-uni-view",{staticClass:"result-logo-fail"}),n("v-uni-view",{staticClass:"title"},[n("v-uni-text",[t._v("支付失败")])],1),n("v-uni-view",{staticClass:"text"},[n("v-uni-text",[t._v("重新支付或者返回美团查看订单详情")])],1)],1),n("u-modal",{attrs:{color:"#f56c6c",show:t.overdueDialog,showConfirmButton:!1,width:"560rpx"}},[n("v-uni-view",{staticClass:"slot-confirmButton"},[n("v-uni-view",{staticClass:"modal"},[n("v-uni-text",[t._v(t._s(t.modalContent))]),n("v-uni-view",{staticClass:"button-modal",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goBack.apply(void 0,arguments)}}},[t._v("返回")])],1)],1)],1),n("v-uni-view",{staticClass:"buttons"},[2==t.pay_state?n("v-uni-view",{staticClass:"button-repay",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),function(){t.payOrder()}.apply(void 0,arguments)}}},[t._v("重新支付")]):t._e(),n("v-uni-view",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goBack.apply(void 0,arguments)}}},[t._v("返回")])],1)],1)},i=[]},"2c49":function(t,e,n){t.exports=n.p+"static/images/success.png"},"447b":function(t,e,n){"use strict";n("7a82");var a=n("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(n("bbc8")),i=(n("d29d"),n("fa89")),s={data:function(){return{pay_state:1,overdueDialog:!1,modalContent:"未获取到订单号,请重试"}},methods:{getOrderInfo:function(){var t=this;o.default.payInfo({order_no:this.order_no}).then((function(e){200==e.data.code?(1==e.data.code&&i.payState.setIsPay(!0),2==e.data.state&&(t.order_state=2)):t.modalContent="未查询到订单信息,请联系客服"}))},getPayInfo:function(){var t=this;o.default.payQuery({order_no:this.order_no}).then((function(e){200==e.data.code?(console.log(e.data.data),t.pay_state=e.data.data.state):(t.modalContent="网络波动,请重试",t.overdueDialog=!0)}))},payOrder:function(){},goBack:function(){window.history.back()},onLoad:function(){i.payState.setIsPay(!0),this.order_no=this.$route.query.order_no,this.order_no?this.getPayInfo():(this.modalContent="未获取到订单号,请重试",this.overdueDialog=!0)}}};e.default=s},5507:function(t,e,n){"use strict";n.r(e);var a=n("20f4"),o=n("def8");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("9f7fb");var s=n("f0c5"),r=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"6b53fb42",null,!1,a["a"],void 0);e["default"]=r.exports},"7e0a":function(t,e,n){var a=n("24fb"),o=n("1de5"),i=n("2c49"),s=n("b311");e=a(!1);var r=o(i),l=o(s);e.push([t.i,".content[data-v-6b53fb42]{display:flex;flex-direction:column;align-items:center;justify-content:space-between;background-color:#f8f8f8;height:100%}.top-content[data-v-6b53fb42]{display:flex;flex-direction:column;align-items:center;justify-content:start;padding-top:%?240?%}.result-logo[data-v-6b53fb42]{height:%?240?%;width:%?240?%;\n\t/* margin-top: 22rpx; */background-image:url("+r+");background-repeat:no-repeat;background-size:contain;background-position:50%}.result-logo-fail[data-v-6b53fb42]{height:%?240?%;width:%?240?%;\n\t/* margin-top: 22rpx; */background-image:url("+l+");background-repeat:no-repeat;background-size:contain;background-position:50%}.title[data-v-6b53fb42]{font-size:%?48?%;font-weight:700;margin-top:%?36?%}.text[data-v-6b53fb42]{margin-top:%?36?%;color:#a4adb3}.buttons[data-v-6b53fb42]{display:flex;flex-direction:column;justify-content:flex-end;gap:%?40?%;margin-bottom:%?128?%}.button[data-v-6b53fb42]{width:%?640?%;height:%?72?%;background-color:#ffce00;border-radius:%?36?%;font-weight:400;font-size:%?36?%;color:#000;line-height:%?64?%;text-align:center;font-style:normal;text-transform:none;display:flex;justify-content:center;align-items:center}.button-repay[data-v-6b53fb42]{width:%?640?%;height:%?72?%;background-color:#000;border-radius:%?36?%;font-weight:400;font-size:%?36?%;color:#fff;line-height:%?64?%;text-align:center;font-style:normal;text-transform:none;display:flex;justify-content:center;align-items:center}.button-modal[data-v-6b53fb42]{width:%?360?%;height:%?72?%;background-color:#ffce00;border-radius:%?36?%;font-weight:400;font-size:%?36?%;color:#000;line-height:%?64?%;text-align:center;font-style:normal;text-transform:none;display:flex;justify-content:center;align-items:center}.modal[data-v-6b53fb42]{display:flex;flex-direction:column;justify-content:space-between;align-items:center;height:%?180?%;padding-top:%?48?%}",""]),t.exports=e},"9b8e":function(t,e,n){var a=n("7e0a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("4f06").default;o("00a3c806",a,!0,{sourceMap:!1,shadowMode:!1})},"9f7fb":function(t,e,n){"use strict";var a=n("9b8e"),o=n.n(a);o.a},b311:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAADydJREFUeF7tXVuQE2UW/k4nc2G8cNNJhpVSSy1l3bLWnSSICML0yIiu6y0T3n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ZNmlnLEgDkQCC6aV9ohrg3tmwN/BBUkpZUeLcMADkQiPaq7WWL5U00ooETQSUZMDLQyBhLAZADgWJj+3YjMtXzmOm271YJaTkANBB0hVxzxcwqRTm+DvM5Of1W8GQLAARjQ3LoWQI9ZAWTjb4Gg5/rUFIP26EH2wCggcA7PKrYZpVs8hghbisABAO5bePnvbMDI+Y4a8xRYnqwnO1dM5RsB8AUCLQDJAGCu80w18BjtxKrD5o92ClHX1UBQJ4xzyWUNpHdr/yZHFQVANoXwlRm0SNeetk5YNgP4k1GM3lKQ8nYiKoDQLAlcgwXz5MeYeBRL9sYZwh45tiwuslIDp8xsxof5QgA8uxpN2cl9VEC7jXOcv2MFHn7rErPlErdtlNiRwGQFyx3A+l+ABE7hXXR2gmJ8GJ7f/IVp3lyBQCmg0RxIRW8HoybnVaMLfQJHzBoc0d/4lVb1i9jUVcB4JevhUivRLyegYrOusvQhy1TCNipMm3uiCdEUStX/VwJgILPxrU0Vf9vLYhqq8U98xGIWoLAjo54aoerrF7AjKsBUKg0rYSd28FQI0Yv1GvNAKCQ6Ux3pEdlXk7Acob4m1qceMIYPEagvQzslYj2BnLlV53gpVyaNQmAQmG/WrWqtc330woVtIKAFQCWALAsYWKGYkXCyyADeyTwnpHs+XsuHxgYLVf5bphX8wAopkTRCEsan1jik6RrCLyEiZaAeQHAbURSG5jbGDgPQFtu/ggBP4NohFkdAWgERCeJeZBBg1lV/UJtbhpcvGvfSTcYzUoe/g9t2S+YSVwHTQAAAABJRU5ErkJggg=="},def8:function(t,e,n){"use strict";n.r(e);var a=n("447b"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a}}]); |