;(function(){function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value;}catch(error){reject(error);return;}if(info.done){resolve(value);}else{Promise.resolve(value).then(_next,_throw);}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value);}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err);}_next(undefined);});};}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var __vite_style__=document.createElement('style');__vite_style__.innerHTML="._tradeDetail_a3cxv_1 ._orderType_a3cxv_1{padding:.8rem 0 1.92rem;background:var(--van-primary);text-align:center;color:#fff;font-size:.64rem}._tradeDetail_a3cxv_1 ._orderType_a3cxv_1>p{display:flex;align-items:center;justify-content:center}._tradeDetail_a3cxv_1 ._orderType_a3cxv_1>p span{padding-top:.21333rem;padding-left:.34667rem}._tradeDetail_a3cxv_1 ._orderImg_a3cxv_17{width:1.12rem;height:1.25333rem}._tradeDetail_a3cxv_1._FAILED_a3cxv_21 ._orderType_a3cxv_1,._tradeDetail_a3cxv_1._CLOSE_a3cxv_22 ._orderType_a3cxv_1{background-color:#bdbdbd}._tradeDetail_a3cxv_1._FAILED_a3cxv_21 ._orderContent_a3cxv_25:before,._tradeDetail_a3cxv_1._CLOSE_a3cxv_22 ._orderContent_a3cxv_25:before{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAs4AAAAcCAMAAABGW8kTAAAAAXNSR0IArs4c6QAAAEtQTFRFAAAA////////////////////////////////////////////////////////vb29wMDAxsbG1NTU29vb6Ojo6enp/f39/v7+////It3KEQAAAA90Uk5TAAEhPj9UiYrCx9jn6/j5MskQvQAAASBJREFUeNrt3Ft2glAMRuEgglxbQcA9/5H2Qau9jCBn7W8IWXn4ITmJeKrqthtnpFTmsWvrKv5oBiujrIbmVzOfekuizPrTu5vPk/VQbtP51c0fAMe2LtdPKZXrsm4HwMezn08TwL5YGuW07ADTI2/0wP1mUZTX7Q70ERENgN2s3P0M0ERUA7BbD+W2A0MVNXCYm5U9Px9AHRdgsxrKbgPa6IDVYii7FehiBMwayp82gDFmwOmJ0rsCs+2sktrZsKGCwoafgiroU7D1R51K8PhR5xhFRWSNxxjFIbdK8Bxyu4KkAnyvILkgqgK6+bUg6vq+sufmn+v7Pq5SXv8eV/n0VSU9ffUwgUo6TODZGJV0NiYiqvriUS+lM4/d5X3U6wvntlpXf2D72AAAAABJRU5ErkJggg==) no-repeat center;background-size:contain}._tradeDetail_a3cxv_1._ING_a3cxv_30 ._orderType_a3cxv_1{background-color:#ff802c}._tradeDetail_a3cxv_1._ING_a3cxv_30 ._orderContent_a3cxv_25:before{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAs4AAAAcCAMAAABGW8kTAAAAAXNSR0IArs4c6QAAAFFQTFRFAAAA//8A/6ps/6lr/6Zt/6dq/6hs/6Zr/6dq/6ds/6Vq/6Zr/6dr/6Zq/6dr/6Zr/2YA/2kF/24P/28Q/3wm/4Mx/5BH/5FJ/6Ro/6Vq/6ZrLgvUsgAAABB0Uk5TAAEhPj9UiYrCwsfY5+v4+W3lgHoAAAEiSURBVHja7dxbdoJQDEbhIN5AwCoIuOc/0D6Uai8jyFn7G8K/8hBITiI2VX08dwNSKkN3PtZV/HG4mIyyuhx+FfOuNRJl1u7e1bzvzUO59ftXNV8B1nkabx9SKrdxmleA61bPux5guRuNcrovAP1Xv9ECz4ehKK/HE2gjIg4AVrNy1zPAIaK6AIt5KLcFuFRRA6t9s7L3zytQxwmYTUPZzcAxGmAyDGU3AU10wGgYym4EuhgApydK7wYMlrNKKmebDRXUbPgpqGI+Bc9x9EedSvD1o84xikqwjVEccqsE25DbFSQV4HsFyQVRFVDNrwVR1/eVvW/+ub7v4yrl9e9xlU9fVdLTVw8TqKTDBJ6NUUlnYyKiqk+NR72UzdA1p/dRr09Rqb7En1q5jgAAAABJRU5ErkJggg==) no-repeat center;background-size:contain}._tradeDetail_a3cxv_1 ._orderContent_a3cxv_25{border-radius:0 0 .26667rem .26667rem;margin:-.8rem .42667rem 0;position:relative}._tradeDetail_a3cxv_1 ._orderContent_a3cxv_25:before{content:\" \";position:absolute;top:-.16rem;left:-.21333rem;right:-.21333rem;height:.37333rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAs4AAAAcCAMAAABGW8kTAAAAAXNSR0IArs4c6QAAAFFQTFRFAAAAAP//PtjBOtq9Ot69Pdu+Otu8PNy+O9q8O9q8O9q9O9q8O9q9O9u9O9q8O9q8Otq8DaaJD6iLE62QHbibIr2gK8irLMmrOtm6Otm7O9q8KXIhtwAAABF0Uk5TAAEhPj4/VImKwsLH2Ofr+PmmWlXaAAABJUlEQVR42u3cWZaCUAxF0WADSiOWIOCZ/0DrQ8vqRpC3zh5CVj4uJC8RL9W+OQ8jUirjcG72VfxR91ZGWfX1r2bedZZEmXW7724+XqyHcrsc3918BdiWebp9SKncpnnZAK6vft5dANbJ0iinaQW4PPNGBzzuFkV53R9AFxFRA9jNyt3PAHVE1QOr9VBuK9BXcQA2c7Oy5+cN2McJWKyGsluAJlpgthjKbgbaGACzhvKnDWCIEXB6ovRuwGg7q6R2NmyooLDhp6CK+RQ8R+OPOpXg+aPOMYqKyBrPMYpDbpXgNeR2BUkF+FpBckFUBXTze0HU9X1lz80/1/d9XKW8/j2u8umrSnr66mEClXSYwLMxKulsTERUh1PrUS9lMw7t6fA+6vUJR6j2IEc60TQAAAAASUVORK5CYII=) no-repeat center;background-size:contain}._tradeDetail_a3cxv_1 ._orderContent_a3cxv_25 ._payPrice_a3cxv_52{color:#333;font-size:.85333rem;text-align:center;font-weight:500;padding:.26667rem 0 .13333rem}._tradeDetail_a3cxv_1 ._orderContent_a3cxv_25 ._payPrice_a3cxv_52>span{font-size:.32rem}._tradeDetail_a3cxv_1 ._tradeLogo_a3cxv_62{width:.93333rem;height:.93333rem;border-radius:50%;margin-right:.26667rem;overflow:hidden}._tradeDetail_a3cxv_1 ._title_a3cxv_69,._tradeDetail_a3cxv_1 ._content_a3cxv_70{padding-top:.02667rem;display:flex;justify-content:space-between;flex-direction:column;line-height:.48rem;color:#333;font-size:.37333rem}._tradeDetail_a3cxv_1 ._desc_a3cxv_79,._tradeDetail_a3cxv_1 ._num_a3cxv_80{padding-top:.08rem;font-size:.34667rem;color:#999}._tradeDetail_a3cxv_1 ._optionRow_a3cxv_85{line-height:.69333rem;display:flex;position:relative;padding-bottom:.4rem;box-sizing:border-box;color:#333;font-size:.37333rem}._tradeDetail_a3cxv_1 ._optionRow_a3cxv_85 .van-col{display:flex;line-height:1.5}._tradeDetail_a3cxv_1 ._optionRow_a3cxv_85 .van-col--8{color:#999;justify-content:flex-start}._tradeDetail_a3cxv_1 ._optionRow_a3cxv_85 .van-col--14{justify-content:flex-end;word-break:break-word;word-wrap:break-word;white-space:-moz-pre-wrap;white-space:-hp-pre-wrap;white-space:-o-pre-wrap;white-space:-pre-wrap;white-space:pre;white-space:pre-wrap;white-space:pre-line}\n";document.head.appendChild(__vite_style__);System.register(['./index-legacy.372e7f90.js','./vendor-legacy.73abbe39.js','./index-legacy.f25f109a2.js','./index-legacy.f25f109a.js','./index-legacy.637f3556.js','./index-legacy.f25f109a4.js','./index-legacy.cddcfa89.js','./icon_teacher-legacy.42ba77b1.js','./index-legacy.890d473e.js','./orderStatus-legacy.ac613bcd.js'],function(exports){'use strict';var ColHeader,defineComponent,createVNode,Fragment,Image,CellGroup,Cell,createTextVNode,Row,Col,goodsType,iconTeacher,state,request,orderStatus;return{setters:[function(module){ColHeader=module.C;},function(module){defineComponent=module.d;createVNode=module.b;Fragment=module.F;Image=module.I;CellGroup=module.m;Cell=module.p;createTextVNode=module.j;Row=module.k;Col=module.C;},function(){},function(){},function(){},function(){},function(module){goodsType=module.g;},function(module){iconTeacher=module.i;},function(module){state=module.s;request=module.r;},function(module){orderStatus=module.o;}],execute:function execute(){var _Object$freeze,_Object$freeze2,_Object$freeze3,_Object$freeze4,_Object$freeze5,_Object$freeze6;var icon_close="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFIAAABcCAMAAADK+BLZAAAAAXNSR0IArs4c6QAAAo5QTFRFAAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////gqK45QAAANl0Uk5TAAECAwQFBgcICQoLDA0ODxESFBUWFxgaGxwdHh8gISIjJCUmJygqLC0uLzAxMjM0NTY5Ojs8PT4/QUJDREVHSElKS0xNTk9QUVJTVFVWV1laW1xdXl9gYWJjZWZnaGprbm9wcXJzdHV2d3h5e36BgoOEhYaHiImKjI6PkJGSlJaXmJqbnKCio6Smp6mrrK2ur7CxsrO0tba3ubq7vL2+v8DBw8TFxsfIycrLzM3Oz9DR09TV1tfY2dvc3d7f4OHi4+Tl5+jp6uzt7/Dx8vP09fb3+Pn6+/z9/p3Wte0AAARGSURBVBgZ1cGJWxR1AAbgj11cDFg5PGCtVBJEUUArK7W0rLSsLDC71swrw9BKKy0tITvMIy/IDjzoUBO2CO8sRU1FPFhTZOf7b9qZWZbZ3d/M7szO0/P0vvhvuL/cOwH2eo7cC3t5yWbYy0s2wV5esgm2Sd3VzR7n74MdRlBjDeyQcZZhgZmwRcbostLl5OHS0jIP7OMlm2EvL9kMe80m98Fe+UevvYL/H8+kuWvWb999oLF+Q82iqQVOJGeYd+N5Rrr69etjUmBR/3lNFDv5VgEsKNnURX1S42SYNLZeYhxN02BC7mcBJqChEIl6uZ2JubHchURkbWbimoYivrI/aEbHDETzbOtsq0pB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xsCCksI8twNx/QvwqxJz/w8hWgAAAABJRU5ErkJggg==";var __glob_15_0=/*#__PURE__*/Object.freeze((_Object$freeze={__proto__:null},_defineProperty(_Object$freeze,Symbol.toStringTag,'Module'),_defineProperty(_Object$freeze,'default',icon_close),_Object$freeze));var icon_close_block="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAs4AAAAcCAMAAABGW8kTAAAAAXNSR0IArs4c6QAAAEtQTFRFAAAA////////////////////////////////////////////////////////vb29wMDAxsbG1NTU29vb6Ojo6enp/f39/v7+////It3KEQAAAA90Uk5TAAEhPj9UiYrCx9jn6/j5MskQvQAAASBJREFUeNrt3Ft2glAMRuEgglxbQcA9/5H2Qau9jCBn7W8IWXn4ITmJeKrqthtnpFTmsWvrKv5oBiujrIbmVzOfekuizPrTu5vPk/VQbtP51c0fAMe2LtdPKZXrsm4HwMezn08TwL5YGuW07ADTI2/0wP1mUZTX7Q70ERENgN2s3P0M0ERUA7BbD+W2A0MVNXCYm5U9Px9AHRdgsxrKbgPa6IDVYii7FehiBMwayp82gDFmwOmJ0rsCs+2sktrZsKGCwoafgiroU7D1R51K8PhR5xhFRWSNxxjFIbdK8Bxyu4KkAnyvILkgqgK6+bUg6vq+sufmn+v7Pq5SXv8eV/n0VSU9ffUwgUo6TODZGJV0NiYiqvriUS+lM4/d5X3U6wvntlpXf2D72AAAAABJRU5ErkJggg==";var __glob_15_1=/*#__PURE__*/Object.freeze((_Object$freeze2={__proto__:null},_defineProperty(_Object$freeze2,Symbol.toStringTag,'Module'),_defineProperty(_Object$freeze2,'default',icon_close_block),_Object$freeze2));var icon_paying="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFIAAABcCAMAAADK+BLZAAAAAXNSR0IArs4c6QAAAi5QTFRFAAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////IVAapwAAALl0Uk5TAAECAwQFBgcICgsMDQ4PERQVFxgaGxweHyAhIiMkJicoKiwtLi8wMTIzNDU2Ozw9PkFDREVHSElKS0xNT1BSU1VWV1pbXF1eX2BhY2VmZ2hqbm9xcnN0dXZ3eXt+gYKDhIWGh4iJioyOj5CRkpSWl5qbnKKjpKanqausra6vsLGztLW2u7y9v8DBxMXGx8jKy8zNzs/Q09TV19jZ29zd3t/g4eLk6Ors7e/w8fLz9PX29/j5+vv8/f5xPgE3AAADE0lEQVRYw9XZ+T8UcRgH8GnJRqK0VCQ61C6dKqWSUttNdJIOHRQlOpG7A92rIlQ6kKSshJ3Pf9cPM9PM2B07853n1Uuf32a/z+v9mp195ruzz3LcP0noneZ1xOQuoJmYzARa6UnXlCYDH41DSt8aEnIxFCkhIUN6ZdGTQfPOQ5Y77AVAh93uiJryTURN7gOeEZORnT8Pcf9fopKzS27XNb1oabh7/VhqbIBJbmFmRR/U+dF4fMU0Vm9Ojgu+030mlgVMqByFdviWjUbBpAYefuLaZgScfdMDHXkYp1s82A99GSkI0gWGVUF/XDE6RMcHGMlAuncj1w715Cr6LNUNY+FPThCndwJAnrxpjMJwLqs7fxMAoEc6zObBkBsq0gkAcItHGR4w5ZLqUroB4J5wsH4EjDmqNHe7gTYbx3EcF/OdVYQnRXWezi1Cvwa5wJ6vNl8NeRVm8tjHPrqWN0WqL6fw8PLWnIhBr7d+QrNWWPdvVkwQwwdNk/xKNXkapknUq8SZ/QQkv0xJHgEBiVtK8g0J6Q6VxaUgIbFfJouIyCaZ7CIix8Ik0cYTkdiq3ocpyCsSWU5GvpLIp2TksEUk+8lILBCfgEBHis9zSYTkYaE6mZDMFarTCMlzQvUeQrJYqD5ASJYK1TsIyYtCdQohmS9Ur9JD+o5XcY74e4mQ3Cm8HjBCRyaICx1kpCdYXKghI79IC7lkZKW0kAiqZEmkZYCKXPT3/KuJxE/yJUknIs/LpPUbDRmv+OTKSMSXymZY4qEg96oarJZA/BioIhN5wqYUU2da7LZOIKPdZsnNXrdrvkmxxnsHCGo3JQ7M8zUJHjIh8tu1JpfMuaax+7HfQ0+05kUBNYxie7jmJj2jhUn8HDnZPzNNDOL7ySda1irD4usIP/MxS7HBu/3BLP9Dt3Qj30Rjp3QNcaOf6/9gVuucX1qy9H1x/L4QbGCyXO5/nMffjzc2DJ5f+mvy+VW1w/jIem6e9pyntzCeY4u9sHXc23tXtsFiZv4fnna2sm1YxEa76ouckUR/V0XEJsTZQnWc3B/WiTndgnTaKwAAAABJRU5ErkJggg==";var __glob_15_2=/*#__PURE__*/Object.freeze((_Object$freeze3={__proto__:null},_defineProperty(_Object$freeze3,Symbol.toStringTag,'Module'),_defineProperty(_Object$freeze3,'default',icon_paying),_Object$freeze3));var icon_paying_block="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAs4AAAAcCAMAAABGW8kTAAAAAXNSR0IArs4c6QAAAFFQTFRFAAAA//8A/6ps/6lr/6Zt/6dq/6hs/6Zr/6dq/6ds/6Vq/6Zr/6dr/6Zq/6dr/6Zr/2YA/2kF/24P/28Q/3wm/4Mx/5BH/5FJ/6Ro/6Vq/6ZrLgvUsgAAABB0Uk5TAAEhPj9UiYrCwsfY5+v4+W3lgHoAAAEiSURBVHja7dxbdoJQDEbhIN5AwCoIuOc/0D6Uai8jyFn7G8K/8hBITiI2VX08dwNSKkN3PtZV/HG4mIyyuhx+FfOuNRJl1u7e1bzvzUO59ftXNV8B1nkabx9SKrdxmleA61bPux5guRuNcrovAP1Xv9ECz4ehKK/HE2gjIg4AVrNy1zPAIaK6AIt5KLcFuFRRA6t9s7L3zytQxwmYTUPZzcAxGmAyDGU3AU10wGgYym4EuhgApydK7wYMlrNKKmebDRXUbPgpqGI+Bc9x9EedSvD1o84xikqwjVEccqsE25DbFSQV4HsFyQVRFVDNrwVR1/eVvW/+ub7v4yrl9e9xlU9fVdLTVw8TqKTDBJ6NUUlnYyKiqk+NR72UzdA1p/dRr09Rqb7En1q5jgAAAABJRU5ErkJggg==";var __glob_15_3=/*#__PURE__*/Object.freeze((_Object$freeze4={__proto__:null},_defineProperty(_Object$freeze4,Symbol.toStringTag,'Module'),_defineProperty(_Object$freeze4,'default',icon_paying_block),_Object$freeze4));var icon_success="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFIAAABcCAMAAADK+BLZAAAAAXNSR0IArs4c6QAAAnZQTFRFAAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Kjcv+AAAANF0Uk5TAAECAwQFBgcICgsMDQ4PERIUFRcYGRobHB0eHyAhIiMkJicoKiwtLi8wMTIzNDU2Ozw9Pj9BQkNERUZHSElKS0xNT1BSU1VWV1haW1xdXl9gYWNlZmdoamtub3Fyc3R1dnd5e31+gIGCg4SFhoeIiYqMjY6PkJGSk5SWl5iam5yeoqOkpqeoqaqrrK2ur7Cxs7S1tri6u7y9v8DBxMXGx8jKy8zNzs/Q0dPU1dfY2dvc3d7f4OHi4+Tm5+jp6uzt7u/w8fLz9PX29/j5+vv8/f4uUO7/AAAD8UlEQVQYGdXBCVsUBQAG4A8WUYHAoxaSBAIyaMEIIyRJK7OsSMAgBDpAM9MOraAyMq0kIs9upIxcJPOqLDOKwDgXCNn5/lHs7Ow2uzOzc+w8PU/vi/9G0vsnSmCvR8gTsFcN2Qt71ZBu2KuGdMM2cV/OMmCgGHbIpUwr7JDQzyDvRtgiIb/AtYs873IVpME+NWQv7FVD9sJeleQ3sFfqhfHH8f+TVlrX+t7Rrm+7jx9868l1WQ5EJ7OmfYChxj5+6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sqUmGLhKVZednOpFjo+gfBhaqXH3XvogAAAABJRU5ErkJggg==";var __glob_15_4=/*#__PURE__*/Object.freeze((_Object$freeze5={__proto__:null},_defineProperty(_Object$freeze5,Symbol.toStringTag,'Module'),_defineProperty(_Object$freeze5,'default',icon_success),_Object$freeze5));var icon_success_block="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAs4AAAAcCAMAAABGW8kTAAAAAXNSR0IArs4c6QAAAFFQTFRFAAAAAP//PtjBOtq9Ot69Pdu+Otu8PNy+O9q8O9q8O9q9O9q8O9q9O9u9O9q8O9q8Otq8DaaJD6iLE62QHbibIr2gK8irLMmrOtm6Otm7O9q8KXIhtwAAABF0Uk5TAAEhPj4/VImKwsLH2Ofr+PmmWlXaAAABJUlEQVR42u3cWZaCUAxF0WADSiOWIOCZ/0DrQ8vqRpC3zh5CVj4uJC8RL9W+OQ8jUirjcG72VfxR91ZGWfX1r2bedZZEmXW7724+XqyHcrsc3918BdiWebp9SKncpnnZAK6vft5dANbJ0iinaQW4PPNGBzzuFkV53R9AFxFRA9jNyt3PAHVE1QOr9VBuK9BXcQA2c7Oy5+cN2McJWKyGsluAJlpgthjKbgbaGACzhvKnDWCIEXB6ovRuwGg7q6R2NmyooLDhp6CK+RQ8R+OPOpXg+aPOMYqKyBrPMYpDbpXgNeR2BUkF+FpBckFUBXTze0HU9X1lz80/1/d9XKW8/j2u8umrSnr66mEClXSYwLMxKulsTERUh1PrUS9lMw7t6fA+6vUJR6j2IEc60TQAAAAASUVORK5CYII=";var __glob_15_5=/*#__PURE__*/Object.freeze((_Object$freeze6={__proto__:null},_defineProperty(_Object$freeze6,Symbol.toStringTag,'Module'),_defineProperty(_Object$freeze6,'default',icon_success_block),_Object$freeze6));var tradeDetail$1="_tradeDetail_a3cxv_1";var orderType="_orderType_a3cxv_1";var orderImg="_orderImg_a3cxv_17";var FAILED="_FAILED_a3cxv_21";var CLOSE="_CLOSE_a3cxv_22";var orderContent="_orderContent_a3cxv_25";var ING="_ING_a3cxv_30";var payPrice="_payPrice_a3cxv_52";var tradeLogo="_tradeLogo_a3cxv_62";var title="_title_a3cxv_69";var content="_content_a3cxv_70";var desc="_desc_a3cxv_79";var num="_num_a3cxv_80";var optionRow="_optionRow_a3cxv_85";var styles={tradeDetail:tradeDetail$1,orderType:orderType,orderImg:orderImg,FAILED:FAILED,CLOSE:CLOSE,orderContent:orderContent,ING:ING,payPrice:payPrice,tradeLogo:tradeLogo,title:title,content:content,desc:desc,num:num,optionRow:optionRow};var getAssetsHomeFile=exports('getAssetsHomeFile',function(fileName){var path="./images/".concat(fileName);var modules={"./images/icon_close.png":__glob_15_0,"./images/icon_close_block.png":__glob_15_1,"./images/icon_paying.png":__glob_15_2,"./images/icon_paying_block.png":__glob_15_3,"./images/icon_success.png":__glob_15_4,"./images/icon_success_block.png":__glob_15_5};return modules[path].default;});// WAIT_PAY 待支付 PAYING 支付中 PAID 已付款 CLOSE 已关闭 FAIL 支付失败 var tradeDetail=exports('default',defineComponent({name:'tradeDetail',data:function data(){var query=this.$route.query;return{type:query.type||'ING',path:query.path,// 来源 orderNo:query.orderNo||'',paymentStatus:false,order:{ING:{img:getAssetsHomeFile('icon_paying.png'),background:'#FF802C',title:'支付中'},SUCCESS:{img:getAssetsHomeFile('icon_success.png'),background:'var(--van-primary)',title:'支付成功'},FAILED:{img:getAssetsHomeFile('icon_close.png'),background:'#BDBDBD',title:'支付失败'},CLOSE:{img:getAssetsHomeFile('icon_close.png'),background:'#BDBDBD',title:'订单关闭'}},result:{},loading:true,timerOut:null,timer:3};},computed:{orderDetailList:function orderDetailList(){var result=this.result;return result.orderDetailList||[];}},mounted:function mounted(){var _this=this;return _asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee2(){return regeneratorRuntime.wrap(function _callee2$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:setTimeout(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee(){return regeneratorRuntime.wrap(function _callee$(_context){while(1){switch(_context.prev=_context.next){case 0:_this.loading=true;_context.t0=_this.orderNo;if(!_context.t0){_context.next=5;break;}_context.next=5;return _this.getOrder();case 5:_this.loading=false;_this.type==='ING'&&_this.path!=='tradeRecord'&&_this.interval();case 7:case"end":return _context.stop();}}},_callee);})),0);case 1:case"end":return _context2.stop();}}},_callee2);}))();},unmounted:function unmounted(){clearInterval(this.timerOut);},methods:{onRePay:function onRePay(){orderStatus.orderInfo={orderNo:this.result.orderNo,actualPrice:this.result.actualPrice,payStatus:true};this.paymentStatus=true;this.interval();},interval:function interval(){var _this2=this;var countTime=0;this.timerOut=setInterval(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee3(){return regeneratorRuntime.wrap(function _callee3$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:countTime===25&&clearInterval(_this2.timerOut);_context3.next=3;return _this2.getOrder(true);case 3:countTime++;case 4:case"end":return _context3.stop();}}},_callee3);})),5000);},getOrder:function getOrder(status){var _this3=this;return _asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee4(){var urlFix,res;return regeneratorRuntime.wrap(function _callee4$(_context4){while(1){switch(_context4.prev=_context4.next){case 0:_context4.prev=0;urlFix=state.platformType==='TEACHER'?'/api-teacher':'/api-student';_context4.next=4;return request.get("".concat(urlFix,"/userOrder/detailByOrderNo/").concat(_this3.orderNo),{hideLoading:status});case 4:res=_context4.sent;_this3.result=res.data;// WAIT_PAY 待支付 PAYING 支付中 PAID 已付款 CLOSE 已关闭 FAIL 支付失败 _this3.type=_this3.formatType(_this3.result.status);_this3.type!=='ING'&&clearInterval(_this3.timerOut);_context4.next=12;break;case 10:_context4.prev=10;_context4.t0=_context4["catch"](0);case 12:case"end":return _context4.stop();}}},_callee4,null,[[0,10]]);}))();},formatType:function formatType(type){var str='PAYING';switch(type){case'WAIT_PAY':case'PAYING':str='ING';break;case'PAID':str='SUCCESS';break;case'CLOSE':str='CLOSE';break;case'FAIL':str='FAILED';break;default:str='ING';break;}return str;}},render:function render(){var _this4=this;return createVNode("div",{"class":[styles.tradeDetail,styles[this.type]]},[!this.loading&&createVNode(Fragment,null,[createVNode(ColHeader,{"background":this.order[this.type].background,"color":"#fff","title":"交易详情","backIconColor":"white","border":false},null),createVNode("div",{"class":styles.orderType},[createVNode("p",null,[createVNode(Image,{"class":styles.orderImg,"src":this.order[this.type].img,"fit":"cover"},null),createVNode("span",null,[this.order[this.type].title])])]),createVNode(CellGroup,{"border":false,"class":[styles.orderContent,'mb12']},{default:function _default(){return[createVNode(Cell,null,{title:function title(){return createVNode("div",{"class":styles.payPrice},[createVNode("span",null,[createTextVNode("\uFFE5")]),_this4.$filters.moneyFormat(_this4.result.actualPrice)]);}}),_this4.orderDetailList.map(function(item){return createVNode(Cell,{"border":false,"style":{paddingBottom:'15px'}},{icon:function icon(){return createVNode(Image,{"class":styles.tradeLogo,"src":item.goodUrl||iconTeacher,"fit":"cover"},null);},title:function title(){return createVNode("div",{"class":styles.title},[createVNode("span",null,[item.goodName]),createVNode("span",{"class":styles.desc},[goodsType[item.goodType]])]);},default:function _default(){return createVNode("div",{"class":styles.content},[createVNode("span",{"class":styles.price},[createTextVNode("\uFFE5"),_this4.$filters.moneyFormat(item.expectPrice)]),createVNode("span",{"class":styles.num},[createTextVNode("x"),1])]);}});}),createVNode(Row,{"class":styles.optionRow},{default:function _default(){return[createVNode(Col,{"span":"8","offset":1},{default:function _default(){return[createTextVNode("\u8BA2\u5355\u53F7:")];}}),createVNode(Col,{"span":"14"},{default:function _default(){return[_this4.result.orderNo];}}),createVNode(Col,{"span":"1"},{default:function _default(){return[createTextVNode(" ")];}})];}}),createVNode(Row,{"class":styles.optionRow},{default:function _default(){return[createVNode(Col,{"span":"8","offset":1},{default:function _default(){return[createTextVNode("\u4EA4\u6613\u6D41\u6C34\u53F7:")];}}),createVNode(Col,{"span":"14"},{default:function _default(){return[_this4.result.transNo];}}),createVNode(Col,{"span":"1"},{default:function _default(){return[createTextVNode(" ")];}})];}}),createVNode(Row,{"class":styles.optionRow},{default:function _default(){return[createVNode(Col,{"span":"8","offset":1},{default:function _default(){return[createTextVNode("\u521B\u5EFA\u65F6\u95F4:")];}}),createVNode(Col,{"span":"14"},{default:function _default(){return[_this4.result.createTime];}}),createVNode(Col,{"span":"1"},{default:function _default(){return[createTextVNode(" ")];}})];}}),createVNode(Row,{"class":styles.optionRow},{default:function _default(){return[createVNode(Col,{"span":"8","offset":1},{default:function _default(){return[createTextVNode("\u4ED8\u6B3E\u65F6\u95F4:")];}}),createVNode(Col,{"span":"14"},{default:function _default(){return[_this4.result.payTime];}}),createVNode(Col,{"span":"1"},{default:function _default(){return[createTextVNode(" ")];}})];}})];}})])]);}}));}};});})();