!function(){function e(e,t,r,a,n,A,o){try{var c=e[A](o),i=c.value}catch(s){return void r(s)}c.done?t(i):Promise.resolve(i).then(a,n)}function t(t){return function(){var r=this,a=arguments;return new Promise((function(n,A){var o=t.apply(r,a);function c(t){e(o,n,A,c,i,"next",t)}function i(t){e(o,n,A,c,i,"throw",t)}c(void 0)}))}}var r=document.createElement("style");r.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(r),System.register(["./index-legacy.78c8492b.js","./index-legacy.f8641610.js","./index-legacy.fc510843.js","./index-legacy.c36297f9.js","./index-legacy.8bfe8003.js","./index-legacy.c8b60294.js","./icon_teacher-legacy.42ba77b1.js","./orderStatus-legacy.43d498d4.js","./shop-mall-legacy.abf66ea2.js","./index-legacy.90f7f902.js","./use-height-legacy.be763bb2.js"],(function(e){"use strict";var r,a,n,A,o,c,i,s,u,d,l,g,p,v;return{setters:[function(e){r=e.C},function(e){a=e.d,n=e.e,A=e.i,o=e.F,c=e.A},function(e){i=e.C},function(e){s=e.C},function(e){u=e.R,d=e.C},function(e){l=e.I},function(e){g=e.i},function(e){p=e.o},function(e){v=e.o},function(){},function(){}],execute:function(){var m=Object.freeze(Object.defineProperty({__proto__:null,default:"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/aEbHDETzbOtsq0pB2FQ/zZHeQKQ+Rxm0BD1md9G0D1Kg9TBlbQiZK9GCT6FVSZkfqpkBWvI+NDx+Bn0FxYM3aNFCaFT4yZY8yIZeplWBKdDwVD7qgszVROsu5kHgIybjBydi3C8xKQsRLfUQk3MlD1EWM1kbESn7Ck25Pu84o0jjEGEZTWm/B9kNjLIDWpntFPMFKHByOIDUekaSRkFjPsXqXAsY6+AABE30M8oX0PiNQnUuYAWj1Wcg6IFORvO7ETaSQnUuBH3CSLVOBI2/xlgvIGwVRepckDk2U0OqhuzuqxTYjbBjFLiQCZWrgWE3KyAbd5kit7IQkidRZE8WVJm/MKRjAmTlHRR7DCGVFGv1QJV7hIq2YsjGXKKODxGyjjrOjIRq8GkGteRDVtJOPT6E/Ew9lydCVXSR/L4fZMUXqeu6A6p26rpZAVX51c/7QDbiAg3cCUUuDUhvQlUAReHfNDIZirE0VONEr7vO0dCrUEyisR3p6DHsDI1VQTGdcezvD9WQ04zjHShmMY4WD1RTuxjHaihepLGdbvR46haNrYXiaRpa60SvZ7tp6D0optBA9wKosqCY1U0jS6G4l/o6p0E14MiGvpC9FKCBeVAMo65zZVDltpIHBkHmlajvGSicN6jj98FQ5bQwqG00ZK9J1FUC1WGKfeuGKttHRecTkM2XqCOQDtVWCtU4oco6yJBANWSLqeM0QqooEFiEEPd+9lqfhqBqim1CSDkFTuRAlfkjtfYNRNAyCs1BiKODAr4cyNIbGenUKATtochw9NhCEV8OgNt2Mdq1x4FqivyFsBkU8uUg7TvGClRVU2gFwtIuUcg3aCfNKEKvWor5acZBaBQHaIPnobWNyfszFVrlEpM2B5G2M1kn0xBpiJ9JegTRljI5WxHD1cpkdNyOWCM6aZ30JERm07qPIVZLq35yQcy5lda0ZkNP30ZacSof+ty7ad6JoTCStplm/ToQxhyrJZryTT/ENaODibtVnYIEDNnPRJ0aj8Q45lxiIm6+m46E9V/XxXiknUUw5Y61/9BIYEsZTBu05BD1nF1ZBGtKVzZ3M8bx2occSEL29Lc3tVynquvYjlWV+bBFxsCCksI8twNx/QvwqxJz/w8hWgAAAABJRU5ErkJggg=="},Symbol.toStringTag,{value:"Module"})),_=Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAs4AAAAcCAMAAABGW8kTAAAAAXNSR0IArs4c6QAAAEtQTFRFAAAA////////////////////////////////////////////////////////vb29wMDAxsbG1NTU29vb6Ojo6enp/f39/v7+////It3KEQAAAA90Uk5TAAEhPj9UiYrCx9jn6/j5MskQvQAAASBJREFUeNrt3Ft2glAMRuEgglxbQcA9/5H2Qau9jCBn7W8IWXn4ITmJeKrqthtnpFTmsWvrKv5oBiujrIbmVzOfekuizPrTu5vPk/VQbtP51c0fAMe2LtdPKZXrsm4HwMezn08TwL5YGuW07ADTI2/0wP1mUZTX7Q70ERENgN2s3P0M0ERUA7BbD+W2A0MVNXCYm5U9Px9AHRdgsxrKbgPa6IDVYii7FehiBMwayp82gDFmwOmJ0rsCs+2sktrZsKGCwoafgiroU7D1R51K8PhR5xhFRWSNxxjFIbdK8Bxyu4KkAnyvILkgqgK6+bUg6vq+sufmn+v7Pq5SXv8eV/n0VSU9ffUwgUo6TODZGJV0NiYiqvriUS+lM4/d5X3U6wvntlpXf2D72AAAAABJRU5ErkJggg=="},Symbol.toStringTag,{value:"Module"})),f=Object.freeze(Object.defineProperty({__proto__:null,default:"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=="},Symbol.toStringTag,{value:"Module"})),x=Object.freeze(Object.defineProperty({__proto__:null,default:"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=="},Symbol.toStringTag,{value:"Module"})),R=Object.freeze(Object.defineProperty({__proto__:null,default:"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+6rYYWLSk3k11l3ZkwYK8jhlqE7rXwKSVxwXqcN8PExbv99KAL7Jh1OYhGjO9Kx5GJHfSOHcG9BX8RDOGNyBc2pGJK00xCFrnoTnCMwg17wLnNCOgcoamvRIDuXvocwWSOoEWvAO5Cvp44LfRS0tehkyah3M+gmj1NC1qhMyjHvKMEz4ZI7TKWw6ZtIp74+ET76Z1g06oeJ3R+MoBhVUCo9KIcHHnGJ1RJ8I8zWi1I1TKKM0a+YMhhNsRYjvN6skeY6hjkEscokkH5uUzjHArZBpojrAVeJjh3oXMdzTFWwegnuE8SQhaQVO8mzFnOxWqELSHpjTA5zkqdCHoIs3YCdGzVLiWDIlToAkfxkDUSKX7IKmgCX0L4VdJpdcg2UfjBpZBUkal05CcpGHTRQjIpNJkLPyGaFgDghxTVLoJosU07Ahkeqi0BqKVNKp/EYLyO6eo9AREpTRIKEPAghYv1TRBtJ4GvYmA9D6q2wnRY9TSOUqZSwmQFP5JDS0QVVPDqygaY5BQAsld49SyF6IHqW4HgOJxBuyHpGySml6CqJxqhCb43DlBv8FF8FvlobZtEBVRhXcL/Eo8FFXBzzXGCOohyqTSbDUCSic552QMRJkDjOQhiBzTVBA+SEfA3VOk1wVR8gVGlAe/81ThaY6DpHyKByByfMaIvAvhd5iqTudCsvYvJ0StjOxXSJqobmoLJE6IqqmjA5JCamlPhMwKD3XUQhI7TC3f34igxIvUczMCDlHT7y4EHKSeXxC0gdpGiuG3ibpeQND8q9TmWQ2f9FHqysG/2hjBRBHmfE5dpyBzi5cRjOQDVdS3CXJHGMlvN6QMUtfPcZArFBjJqbeprxahjjJal+Yj1HIPo7QW4bYxOoehEH+W0RheBqXcCVonPAA1lbTuDahro1Vfx0Od4zCtOZsCLQu6acXlVGhL6qJ5P2YgkvmdNKtvKSKLbRFoyqfXQdeGYRp3bWsMDFjeQ6Mu3wFjYmuv0oi/X1wIw5bsm6Ee4ZMcmJK+d4qReA8VwLTrm89RS//uHFjj2t07S4Uf2spiEYWU9c93nJmk38zFY3sqUmGLhKVZednOpFjo+gfBhaqXH3XvogAAAABJRU5ErkJggg=="},Symbol.toStringTag,{value:"Module"})),b=Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAs4AAAAcCAMAAABGW8kTAAAAAXNSR0IArs4c6QAAAFFQTFRFAAAAAP//PtjBOtq9Ot69Pdu+Otu8PNy+O9q8O9q8O9q9O9q8O9q9O9u9O9q8O9q8Otq8DaaJD6iLE62QHbibIr2gK8irLMmrOtm6Otm7O9q8KXIhtwAAABF0Uk5TAAEhPj4/VImKwsLH2Ofr+PmmWlXaAAABJUlEQVR42u3cWZaCUAxF0WADSiOWIOCZ/0DrQ8vqRpC3zh5CVj4uJC8RL9W+OQ8jUirjcG72VfxR91ZGWfX1r2bedZZEmXW7724+XqyHcrsc3918BdiWebp9SKncpnnZAK6vft5dANbJ0iinaQW4PPNGBzzuFkV53R9AFxFRA9jNyt3PAHVE1QOr9VBuK9BXcQA2c7Oy5+cN2McJWKyGsluAJlpgthjKbgbaGACzhvKnDWCIEXB6ovRuwGg7q6R2NmyooLDhp6CK+RQ8R+OPOpXg+aPOMYqKyBrPMYpDbpXgNeR2BUkF+FpBckFUBXTze0HU9X1lz80/1/d9XKW8/j2u8umrSnr66mEClXSYwLMxKulsTERUh1PrUS9lMw7t6fA+6vUJR6j2IEc60TQAAAAASUVORK5CYII="},Symbol.toStringTag,{value:"Module"})),U={tradeDetail:"_tradeDetail_a3cxv_1",orderType:"_orderType_a3cxv_1",orderImg:"_orderImg_a3cxv_17",FAILED:"_FAILED_a3cxv_21",CLOSE:"_CLOSE_a3cxv_22",orderContent:"_orderContent_a3cxv_25",ING:"_ING_a3cxv_30",payPrice:"_payPrice_a3cxv_52",tradeLogo:"_tradeLogo_a3cxv_62",title:"_title_a3cxv_69",content:"_content_a3cxv_70",desc:"_desc_a3cxv_79",num:"_num_a3cxv_80",optionRow:"_optionRow_a3cxv_85"},y=e("getAssetsHomeFile",(function(e){var t="./images/".concat(e);return{"./images/icon_close.png":m,"./images/icon_close_block.png":_,"./images/icon_paying.png":f,"./images/icon_paying_block.png":x,"./images/icon_success.png":R,"./images/icon_success_block.png":b}[t].default}));e("default",a({name:"tradeDetail",data:function(){var e=this.$route.query;return{type:e.type||"ING",path:e.path,orderNo:e.orderNo||"",orderId:e.id||"",paymentStatus:!1,order:{ING:{img:y("icon_paying.png"),background:"#FF802C",title:"支付中"},SUCCESS:{img:y("icon_success.png"),background:"var(--van-primary)",title:"支付成功"},FAILED:{img:y("icon_close.png"),background:"#BDBDBD",title:"支付失败"},CLOSE:{img:y("icon_close.png"),background:"#BDBDBD",title:"订单关闭"}},result:{},loading:!0,timerOut:null,timer:3}},computed:{orderDetailList:function(){return this.result.orderItemList||[]}},mounted:function(){var e=this;return t(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:setTimeout(t(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.getOrder();case 3:e.loading=!1,"ING"===e.type&&"tradeRecord"!==e.path&&e.interval();case 5:case"end":return t.stop()}}),t)}))),0);case 1:case"end":return r.stop()}}),r)})))()},unmounted:function(){clearInterval(this.timerOut)},methods:{onRePay:function(){p.orderInfo={orderNo:this.result.orderNo,actualPrice:this.result.actualPrice,payStatus:!0},this.paymentStatus=!0,this.interval()},interval:function(){var e=this,r=0;this.timerOut=setInterval(t(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return 25===r&&clearInterval(e.timerOut),t.next=3,e.getOrder(!0);case 3:r++;case 4:case"end":return t.stop()}}),t)}))),5e3)},getOrder:function(e){var r=this;return t(regeneratorRuntime.mark((function t(){var a,A;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=r.orderId?"/api-mall-portal/order/detail/".concat(r.orderId):"/api-mall-portal/order/detail/sn/".concat(r.orderNo),t.prev=1,t.next=4,n.get(a,{hideLoading:e});case 4:A=t.sent,r.result=A.data,r.type=r.formatType(r.result.status),"ING"!==r.type&&clearInterval(r.timerOut),t.next=12;break;case 10:t.prev=10,t.t0=t.catch(1);case 12:case"end":return t.stop()}}),t,null,[[1,10]])})))()},formatType:function(e){var t="PAYING";switch(console.log(v[e],e),e){case 0:case 6:default:t="ING";break;case 1:case 2:case 3:t="SUCCESS";break;case 4:t="CLOSE";break;case 5:t="FAILED"}return t}},render:function(){var e=this;return A("div",{class:[U.tradeDetail,U[this.type]]},[!this.loading&&A(o,null,[A(r,{background:this.order[this.type].background,color:"#fff",title:"交易详情",backIconColor:"white",border:!1},null),A("div",{class:U.orderType},[A("p",null,[A(l,{class:U.orderImg,src:this.order[this.type].img,fit:"cover"},null),A("span",null,[this.order[this.type].title])])]),A(s,{border:!1,class:[U.orderContent,"mb12"]},{default:function(){return[A(i,null,{title:function(){return A("div",{class:U.payPrice},[A("span",null,[c("¥")]),e.$filters.moneyFormat(e.result.payAmount)])}}),e.orderDetailList.map((function(t){return A(i,{border:!1,style:{paddingBottom:"15px"}},{icon:function(){return A(l,{class:U.tradeLogo,src:t.productPic||g,fit:"cover"},null)},title:function(){return A("div",{class:U.title},[A("span",null,[t.productName]),A("span",{class:U.desc},[c("商品购买")])])},default:function(){return A("div",{class:U.content},[A("span",{class:U.price},[c("¥"),e.$filters.moneyFormat(t.productPrice)]),A("span",{class:U.num},[c("x"),t.productQuantity])])}})})),A(u,{class:U.optionRow},{default:function(){return[A(d,{span:"8",offset:1},{default:function(){return[c("订单号:")]}}),A(d,{span:"14"},{default:function(){return[e.result.orderSn]}}),A(d,{span:"1"},{default:function(){return[c(" ")]}})]}}),A(u,{class:U.optionRow},{default:function(){return[A(d,{span:"8",offset:1},{default:function(){return[c("创建时间:")]}}),A(d,{span:"14"},{default:function(){return[e.result.createTime]}}),A(d,{span:"1"},{default:function(){return[c(" ")]}})]}}),A(u,{class:U.optionRow},{default:function(){return[A(d,{span:"8",offset:1},{default:function(){return[c("付款时间:")]}}),A(d,{span:"14"},{default:function(){return[e.result.paymentTime]}}),A(d,{span:"1"},{default:function(){return[c(" ")]}})]}})]}})])])}}))}}}))}();