Commit 6d7fe914 by xuzhenghua

bug

parent 31b7a5c2
......@@ -22,8 +22,8 @@
"Orderinfo.js": "/static/js/Orderinfo.229e2d92.chunk.js",
"Orderinfo.js.map": "/static/js/Orderinfo.229e2d92.chunk.js.map",
"PayOrder.css": "/static/css/PayOrder.71617dc9.chunk.css",
"PayOrder.js": "/static/js/PayOrder.984725bc.chunk.js",
"PayOrder.js.map": "/static/js/PayOrder.984725bc.chunk.js.map",
"PayOrder.js": "/static/js/PayOrder.282dadb8.chunk.js",
"PayOrder.js.map": "/static/js/PayOrder.282dadb8.chunk.js.map",
"Preferential.css": "/static/css/Preferential.a285bc5d.chunk.css",
"Preferential.js": "/static/js/Preferential.1ac4da1c.chunk.js",
"Preferential.js.map": "/static/js/Preferential.1ac4da1c.chunk.js.map",
......@@ -51,8 +51,8 @@
"purchased.css": "/static/css/purchased.bd80fb0a.chunk.css",
"purchased.js": "/static/js/purchased.1a0cc90e.chunk.js",
"purchased.js.map": "/static/js/purchased.1a0cc90e.chunk.js.map",
"runtime~main.js": "/static/js/runtime~main.f565d386.js",
"runtime~main.js.map": "/static/js/runtime~main.f565d386.js.map",
"runtime~main.js": "/static/js/runtime~main.68d0a616.js",
"runtime~main.js.map": "/static/js/runtime~main.68d0a616.js.map",
"search.css": "/static/css/search.68fd6acc.chunk.css",
"search.js": "/static/js/search.449ffe8e.chunk.js",
"search.js.map": "/static/js/search.449ffe8e.chunk.js.map",
......@@ -91,7 +91,7 @@
"static/js/31.1bf13040.chunk.js": "/static/js/31.1bf13040.chunk.js",
"static/js/31.1bf13040.chunk.js.map": "/static/js/31.1bf13040.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.051b35d9abb98746beb5ff9903f45a20.js": "/precache-manifest.051b35d9abb98746beb5ff9903f45a20.js",
"precache-manifest.f17b94b621a1409e23bf037c02e2d0c1.js": "/precache-manifest.f17b94b621a1409e23bf037c02e2d0c1.js",
"service-worker.js": "/service-worker.js",
"static/css/24.965d713a.chunk.css.map": "/static/css/24.965d713a.chunk.css.map",
"static/css/26.73976871.chunk.css.map": "/static/css/26.73976871.chunk.css.map",
......
......@@ -56,12 +56,12 @@ self.__precacheManifest = [
"url": "/static/js/Orderinfo.229e2d92.chunk.js"
},
{
"revision": "f7633f59e43104344e60",
"revision": "7ea4bbc4c4b6a571f03d",
"url": "/static/css/PayOrder.71617dc9.chunk.css"
},
{
"revision": "f7633f59e43104344e60",
"url": "/static/js/PayOrder.984725bc.chunk.js"
"revision": "7ea4bbc4c4b6a571f03d",
"url": "/static/js/PayOrder.282dadb8.chunk.js"
},
{
"revision": "1240dac1ab2ba52e20d9",
......@@ -136,8 +136,8 @@ self.__precacheManifest = [
"url": "/static/js/BargainMiddlePage.c17d2450.chunk.js"
},
{
"revision": "2d7bfd305363844174f0",
"url": "/static/js/runtime~main.f565d386.js"
"revision": "67781da2a3c45704a188",
"url": "/static/js/runtime~main.68d0a616.js"
},
{
"revision": "43dbc7a6a2095dc3c29a",
......@@ -212,16 +212,16 @@ self.__precacheManifest = [
"url": "/static/js/28.ab85697f.chunk.js"
},
{
"revision": "10b7bd5b99a2a0a2f1a30d7ed72ec1a0",
"url": "/static/media/iconfont.10b7bd5b.eot"
"revision": "55ad4bbcfbe7879698a2538de5145a09",
"url": "/static/media/iconfont.55ad4bbc.ttf"
},
{
"revision": "0ddb8222b83ddc441ccb",
"url": "/static/js/29.52529984.chunk.js"
},
{
"revision": "55ad4bbcfbe7879698a2538de5145a09",
"url": "/static/media/iconfont.55ad4bbc.ttf"
"revision": "10b7bd5b99a2a0a2f1a30d7ed72ec1a0",
"url": "/static/media/iconfont.10b7bd5b.eot"
},
{
"revision": "e0787ad15d0a12c4d4fc",
......@@ -260,7 +260,7 @@ self.__precacheManifest = [
"url": "/static/css/24.965d713a.chunk.css"
},
{
"revision": "be17dbd0dc3f65d441c12dc34d56c609",
"revision": "f97f50f036d59a6bd0eacc0d2c592259",
"url": "/index.html"
}
];
\ No newline at end of file
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
"/precache-manifest.051b35d9abb98746beb5ff9903f45a20.js"
"/precache-manifest.f17b94b621a1409e23bf037c02e2d0c1.js"
);
workbox.clientsClaim();
......
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{1162:function(e,a,t){"use strict";t.r(a),t.d(a,"default",function(){return j});t(155);var n=t(75),i=t.n(n),o=(t(89),t(26)),c=t.n(o),r=(t(154),t(35)),l=t.n(r),s=(t(44),t(14)),d=t.n(s),p=t(7),u=t(8),m=t(11),y=t(9),g=t(157),h=t(10),b=(t(890),t(892)),f=t.n(b),v=(t(115),t(47)),w=t.n(v),E=t(0),x=t.n(E),k=t(4),P=t(30),_=t(20),S=(t(894),w.a.Item.Brief,f.a.RadioItem),N=[];N=k.a.isWeixin?[{value:1,label:"\u5fae\u4fe1\u652f\u4ed8",icon:"iconweixinzhifu"}]:[{value:0,label:"\u652f\u4ed8\u5b9d",icon:"iconzhifubaox-"},{value:1,label:"\u5fae\u4fe1\u652f\u4ed8",icon:"iconweixinzhifu"}];var j=function(e){function a(e){var t;return Object(p.a)(this,a),(t=Object(m.a)(this,Object(y.a)(a).call(this,e))).redirectAfterPay=function(){var e=Object(k.b)("status"),a=Object(k.b)("type"),n=Object(k.b)("oid"),i=t.props.history;(e||a)&&(0===parseInt(e,10)?2===parseInt(a,10)?i.push("/togroup?id=".concat(n)):i.push("/purchased"):d.a.info("\u652f\u4ed8\u5f02\u5e38",2))},t.onChange=function(e){t.setState({payType:e,checkPeriod:!1}),2===e&&t.setState({huabei:!0})},t.checkStaging=function(e){console.log(e),t.setState({huabei:!1,stageNumber:e.value,singleMoney:e.everyTotal,periodNumber:e.stage,checkPeriod:!0})},t.print=function(){for(var e=arguments.length,a=new Array(e),t=0;t<e;t++)a[t]=arguments[t];console.log(a)},t.pay=function(){var e=t.state,a=e.payType,n=e.orderId;0===a?t.alipayPay(n):1===a&&t.weixinPay(n)},t.weixinPay=function(e){Object(k.e)()?window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri="+encodeURIComponent(window.location.href+"&aa=bb&oid="+e).toLowerCase()+"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect":k.c.get("".concat(API["base-api"],"/pay/wxpay/wap_charge/oid/").concat(e)).then(function(a){console.log(a),0===a.data.errno?window.location.href=a.data.data.url+"&redirect_url="+encodeURIComponent(window.location.href+"&weixinpay=1&oid="+e).toLowerCase():d.a.info(a.data.msg+"weixinPay",2)})},t.isweixinPay=function(){var e=Object(k.b)("code");if(e){if(void 0===Object(k.b)("oid"))return;k.c.get("".concat(API["base-api"],"/pay/wxpay/pub_charge/oid/").concat(Object(k.b)("oid"),"/code/").concat(e)).then(function(e){0===e.data.errno?(t.bridgeData=e.data.data,t.onBridgeReady(),"undefined"==typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",t.onBridgeReady,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",t.onBridgeReady),document.attachEvent("onWeixinJSBridgeReady",t.onBridgeReady)):t.onBridgeReady()):d.a.info(e.data.msg+"isweixinPay",2)})}},t.payCallback=function(){var e=Object(g.a)(t);e.intervalPayStatus=setInterval(function(){var a=this;k.c.get("".concat(API.home,"/m/orderState/oid/").concat(Object(k.b)("oid"))).then(function(t){401===t.data.errno&&(clearInterval(e.intervalPayStatus),e.intervalPayStatus=null,k.c.get("".concat(API.home,"/m/app_order/detail/").concat(Object(k.b)("oid"))).then(function(e){"2"===e.data.data.course_type?a.props.history.replace("/togroup?id=".concat(Object(k.b)("oid"))):a.props.history.replace("/purchased")}))})},1e3)},t.onBridgeReady=function(){var e=t.bridgeData;console.log(t.bridgeData),WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:e.appId,timeStamp:e.timeStamp,nonceStr:e.nonceStr,package:e.package,signType:e.signType,paySign:e.paySign},function(e){"get_brand_wcpay_request:ok"==e.err_msg?this.payCallback():alert("\u652f\u4ed8\u5931\u8d25")})},t.alipayPay=function(e){k.c.get("".concat(API["base-api"],"/pay/alipay/wap_charge_new/oid/").concat(e)).then(function(e){0===e.data.errno?(window.location=e.data.data.url,t.payCallback()):d.a.info(e.data.msg+"alipayPay",2)})},t.huabeiPay=function(e){var a=t.state,n=(a.singleMoney,a.periodNumber);console.log("\u82b1\u5457\u5206\u671f\u652f\u4ed8"),k.c.get("/pay/alipay/wap_charge/oid/".concat(e,"/plat/{plat} /hb_num/").concat(n)).then(function(e){console.log(e),0===e.data.errno?window.location=e.data.data.url:d.a.info(e.data.msg+"huabeiPay",2)})},t.state={pay_amount:0,payType:0,stageNumber:0,checkPeriod:!1,singleMoney:0,periodNumber:0,orderId:Object(k.b)("oid"),huabei:!1,fenqiList:[{value:"zhifubao",qishu:"3",lilv:"2.30%",everyMoney:300,feiyong:2.3},{value:"weixin",qishu:"6",lilv:"4.50%",everyMoney:150,feiyong:4.5},{value:"huabei",qishu:"9",lilv:"7.50%",everyMoney:100,feiyong:7.5}],categoryList:[]},t}return Object(h.a)(a,e),Object(u.a)(a,[{key:"componentDidMount",value:function(){var e=this;this.redirectAfterPay(),k.c.post("".concat(API["base-api"],"/m/order/detail"),{order_id:this.state.orderId}).then(function(a){if(console.log(a),200===a.data.errno){var t=a.data.data,n=t.course,i=t.pay_amount,o=[];[1,2,3].map(function(e){var a={};a.value=e,1===e?(a.stage=3,a.moneyRate="2.30%",a.rate=.023,a.periodic=(i/3).toFixed(2)):2===e?(a.stage=6,a.moneyRate="4.50%",a.rate=.045,a.periodic=(i/6).toFixed(2)):(a.stage=12,a.moneyRate="7.50%",a.rate=.075,a.periodic=(i/9).toFixed(2)),a.serviceFee=(i*a.rate/a.stage).toFixed(2),a.everyTotal=(parseFloat(a.periodic)+parseFloat(a.serviceFee)).toFixed(2),o.push(a)}),console.log(o),e.setState({pay_amount:i,categoryList:n,fenqiList:o})}else d.a.info(a.data.msg+"componentDidMount",2)}),(1===Object(k.b)("is_class")||Object(k.b)("weixinpay"))&&this.payCallback(),Object(k.e)()&&(this.setState({payType:1}),this.isweixinPay())}},{key:"render",value:function(){var e=this,a=this.state,t=a.orderId,n=a.pay_amount,o=a.payType,r=a.checkPeriod,s=a.singleMoney,d=a.periodNumber,p=a.huabei,u=a.fenqiList,m=a.categoryList,y=a.stageNumber;return x.a.createElement("div",{className:"pay-order"},x.a.createElement(P.e,{title:"\u786e\u8ba4\u652f\u4ed8",arrow:!0}),x.a.createElement(l.a,{size:"sm"}),x.a.createElement("div",{className:"order-number"},x.a.createElement(i.a,null,x.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},x.a.createElement("span",null,"\u8ba2\u5355\u53f7"),x.a.createElement("span",{className:"number"},t)))),x.a.createElement(l.a,{size:"md"}),m.map(function(a,t){var n=x.a.createElement("div",{className:"order-info"},x.a.createElement("p",{className:"order-title text-overflow-one"},x.a.createElement(_.b,{to:"/detail?id=".concat(a.course_id)},a.course_title)),x.a.createElement("p",{className:"order-content text-overflow-2"},a.simpledescription),x.a.createElement("p",{className:"order-des"},x.a.createElement("span",{className:"order-newprice"},"\xa5",a.price1),x.a.createElement("span",{className:"order-price"},"\xa5",a.price0)));return x.a.createElement(P.i,{handleClick:e.print,key:t,img:a.image_name,id:a.course_id,info:n})}),x.a.createElement(l.a,{size:"md"}),x.a.createElement("div",{className:"order-number"},x.a.createElement(i.a,null,x.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},x.a.createElement("span",null,"\u652f\u4ed8\u91d1\u989d"),x.a.createElement("span",{className:"money"},"\uffe5".concat(n))))),x.a.createElement(l.a,{size:"md"}),x.a.createElement(w.a,{renderHeader:function(){return"\u652f\u4ed8\u65b9\u5f0f"},className:"pay-type-list"},N.map(function(a){return x.a.createElement(S,{thumb:x.a.createElement("i",{className:"iconfont ".concat(a.icon," ").concat(o===a.value?"checked":"")}),key:a.value,checked:o===a.value,onChange:function(){return e.onChange(a.value)}},2===a.value?x.a.createElement(c.a,{direction:"column",align:"start",style:{width:"100%",marginTop:"6px"}},x.a.createElement(c.a,{direction:"row",justify:"between",style:{width:"100%",paddingRight:"30px"}},x.a.createElement("span",{style:{color:"#555555",fontSize:"14px"}},a.label),r?x.a.createElement("span",{style:{color:"#333333",fontSize:"12px"}},"".concat(s,"\u5143 \xd7 ").concat(d,"\u671f")):null),x.a.createElement(c.a,{justify:"start"},x.a.createElement("span",{style:{color:"#999999",fontSize:"12px"}},"\u652f\u4ed8\u4e0a\u9650\u53d7\u9650\u4e8e\u60a8\u7684\u82b1\u5457\u989d\u5ea6"))):a.label)})),x.a.createElement("div",{className:"pay-tip"},"\u8bf7\u572815\u5206\u949f\u5185\u5b8c\u6210\u652f\u4ed8\uff0c\u5426\u5219\u5c4a\u65f6\u7cfb\u7edf\u5c06\u5173\u95ed\u8be5\u8ba2\u5355\u3002"),x.a.createElement("div",{className:"pay-button",onClick:this.pay},"\u786e\u8ba4\u652f\u4ed8"),p?x.a.createElement("div",{className:"check-staging"},x.a.createElement("div",{className:"container"},x.a.createElement("p",{className:"check-title"},"\u8bf7\u9009\u62e9\u5206\u671f"),u.map(function(a){return x.a.createElement(S,{key:a.value,checked:y===a.value,onChange:function(){return e.checkStaging(a)}},"".concat(a.everyTotal,"\u5143 \xd7 ").concat(a.stage,"\u671f"),x.a.createElement(w.a.Item.Brief,null,"\u624b\u7eed\u8d39".concat(a.serviceFee,"\u5143/\u671f\uff0c\u8d39\u7387").concat(a.moneyRate)))}))):null)}}]),a}(E.Component)},894:function(e,a,t){}}]);
//# sourceMappingURL=PayOrder.282dadb8.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{1162:function(e,a,t){"use strict";t.r(a),t.d(a,"default",function(){return j});t(155);var n=t(75),i=t.n(n),o=(t(89),t(26)),c=t.n(o),r=(t(154),t(35)),l=t.n(r),s=(t(44),t(14)),d=t.n(s),p=t(7),u=t(8),m=t(11),y=t(9),g=t(157),h=t(10),b=(t(890),t(892)),f=t.n(b),v=(t(115),t(47)),w=t.n(v),E=t(0),x=t.n(E),k=t(4),P=t(30),_=t(20),S=(t(894),w.a.Item.Brief,f.a.RadioItem),N=[];N=k.a.isWeixin?[{value:1,label:"\u5fae\u4fe1\u652f\u4ed8",icon:"iconweixinzhifu"}]:[{value:0,label:"\u652f\u4ed8\u5b9d",icon:"iconzhifubaox-"},{value:1,label:"\u5fae\u4fe1\u652f\u4ed8",icon:"iconweixinzhifu"}];var j=function(e){function a(e){var t;return Object(p.a)(this,a),(t=Object(m.a)(this,Object(y.a)(a).call(this,e))).redirectAfterPay=function(){var e=Object(k.b)("status"),a=Object(k.b)("type"),n=Object(k.b)("oid"),i=t.props.history;(e||a)&&(0===parseInt(e,10)?2===parseInt(a,10)?i.push("/togroup?id=".concat(n)):i.push("/purchased"):d.a.info("\u652f\u4ed8\u5f02\u5e38",2))},t.onChange=function(e){t.setState({payType:e,checkPeriod:!1}),2===e&&t.setState({huabei:!0})},t.checkStaging=function(e){console.log(e),t.setState({huabei:!1,stageNumber:e.value,singleMoney:e.everyTotal,periodNumber:e.stage,checkPeriod:!0})},t.print=function(){for(var e=arguments.length,a=new Array(e),t=0;t<e;t++)a[t]=arguments[t];console.log(a)},t.pay=function(){var e=t.state,a=e.payType,n=e.orderId;0===a?t.alipayPay(n):1===a&&t.weixinPay(n)},t.weixinPay=function(e){Object(k.e)()?window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri="+encodeURIComponent(window.location.href+"&aa=bb&oid="+e).toLowerCase()+"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect":k.c.get("".concat(API["base-api"],"/pay/wxpay/wap_charge/oid/").concat(e)).then(function(a){console.log(a),0===a.data.errno?window.location.href=a.data.data.url+"&redirect_url="+encodeURIComponent(window.location.href+"&weixinpay=1&oid="+e).toLowerCase():d.a.info(a.data.msg+"weixinPay",2)})},t.isweixinPay=function(){var e=Object(k.b)("code");if(e){if(void 0===Object(k.b)("oid"))return;k.c.get("".concat(API["base-api"],"/pay/wxpay/pub_charge/oid/").concat(Object(k.b)("oid"),"/code/").concat(e)).then(function(e){0===e.data.errno?(t.bridgeData=e.data.data,"undefined"==typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",t.onBridgeReady,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",t.onBridgeReady),document.attachEvent("onWeixinJSBridgeReady",t.onBridgeReady)):t.onBridgeReady()):d.a.info(e.data.msg+"isweixinPay",2)})}},t.payCallback=function(){var e=Object(g.a)(t);e.intervalPayStatus=setInterval(function(){var a=this;k.c.get("".concat(API.home,"/m/orderState/oid/").concat(Object(k.b)("oid"))).then(function(t){401===t.data.errno&&(clearInterval(e.intervalPayStatus),e.intervalPayStatus=null,k.c.get("".concat(API.home,"/m/app_order/detail/").concat(Object(k.b)("oid"))).then(function(e){"2"===e.data.data.course_type?a.props.history.replace("/togroup?id=".concat(Object(k.b)("oid"))):a.props.history.replace("/purchased")}))})},1e3)},t.onBridgeReady=function(){var e=t.bridgeData;console.log(t.bridgeData),WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:e.appId,timeStamp:e.timeStamp,nonceStr:e.nonceStr,package:e.package,signType:e.signType,paySign:e.paySign},function(e){"get_brand_wcpay_request:ok"==e.err_msg?this.payCallback():alert("\u652f\u4ed8\u5931\u8d25")})},t.alipayPay=function(e){k.c.get("".concat(API["base-api"],"/pay/alipay/wap_charge_new/oid/").concat(e)).then(function(e){0===e.data.errno?window.location=e.data.data.url:d.a.info(e.data.msg+"alipayPay",2)})},t.huabeiPay=function(e){var a=t.state,n=(a.singleMoney,a.periodNumber);console.log("\u82b1\u5457\u5206\u671f\u652f\u4ed8"),k.c.get("/pay/alipay/wap_charge/oid/".concat(e,"/plat/{plat} /hb_num/").concat(n)).then(function(e){console.log(e),0===e.data.errno?window.location=e.data.data.url:d.a.info(e.data.msg+"huabeiPay",2)})},t.state={pay_amount:0,payType:0,stageNumber:0,checkPeriod:!1,singleMoney:0,periodNumber:0,orderId:Object(k.b)("oid"),huabei:!1,fenqiList:[{value:"zhifubao",qishu:"3",lilv:"2.30%",everyMoney:300,feiyong:2.3},{value:"weixin",qishu:"6",lilv:"4.50%",everyMoney:150,feiyong:4.5},{value:"huabei",qishu:"9",lilv:"7.50%",everyMoney:100,feiyong:7.5}],categoryList:[]},t}return Object(h.a)(a,e),Object(u.a)(a,[{key:"componentDidMount",value:function(){var e=this;this.redirectAfterPay(),k.c.post("".concat(API["base-api"],"/m/order/detail"),{order_id:this.state.orderId}).then(function(a){if(console.log(a),200===a.data.errno){var t=a.data.data,n=t.course,i=t.pay_amount,o=[];[1,2,3].map(function(e){var a={};a.value=e,1===e?(a.stage=3,a.moneyRate="2.30%",a.rate=.023,a.periodic=(i/3).toFixed(2)):2===e?(a.stage=6,a.moneyRate="4.50%",a.rate=.045,a.periodic=(i/6).toFixed(2)):(a.stage=12,a.moneyRate="7.50%",a.rate=.075,a.periodic=(i/9).toFixed(2)),a.serviceFee=(i*a.rate/a.stage).toFixed(2),a.everyTotal=(parseFloat(a.periodic)+parseFloat(a.serviceFee)).toFixed(2),o.push(a)}),console.log(o),e.setState({pay_amount:i,categoryList:n,fenqiList:o})}else d.a.info(a.data.msg+"componentDidMount",2)}),(1===Object(k.b)("is_class")||Object(k.b)("weixinpay"))&&this.payCallback(),Object(k.e)()&&(this.setState({payType:1}),this.isweixinPay())}},{key:"render",value:function(){var e=this,a=this.state,t=a.orderId,n=a.pay_amount,o=a.payType,r=a.checkPeriod,s=a.singleMoney,d=a.periodNumber,p=a.huabei,u=a.fenqiList,m=a.categoryList,y=a.stageNumber;return x.a.createElement("div",{className:"pay-order"},x.a.createElement(P.e,{title:"\u786e\u8ba4\u652f\u4ed8",arrow:!0}),x.a.createElement(l.a,{size:"sm"}),x.a.createElement("div",{className:"order-number"},x.a.createElement(i.a,null,x.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},x.a.createElement("span",null,"\u8ba2\u5355\u53f7"),x.a.createElement("span",{className:"number"},t)))),x.a.createElement(l.a,{size:"md"}),m.map(function(a,t){var n=x.a.createElement("div",{className:"order-info"},x.a.createElement("p",{className:"order-title text-overflow-one"},x.a.createElement(_.b,{to:"/detail?id=".concat(a.course_id)},a.course_title)),x.a.createElement("p",{className:"order-content text-overflow-2"},a.simpledescription),x.a.createElement("p",{className:"order-des"},x.a.createElement("span",{className:"order-newprice"},"\xa5",a.price1),x.a.createElement("span",{className:"order-price"},"\xa5",a.price0)));return x.a.createElement(P.i,{handleClick:e.print,key:t,img:a.image_name,id:a.course_id,info:n})}),x.a.createElement(l.a,{size:"md"}),x.a.createElement("div",{className:"order-number"},x.a.createElement(i.a,null,x.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},x.a.createElement("span",null,"\u652f\u4ed8\u91d1\u989d"),x.a.createElement("span",{className:"money"},"\uffe5".concat(n))))),x.a.createElement(l.a,{size:"md"}),x.a.createElement(w.a,{renderHeader:function(){return"\u652f\u4ed8\u65b9\u5f0f"},className:"pay-type-list"},N.map(function(a){return x.a.createElement(S,{thumb:x.a.createElement("i",{className:"iconfont ".concat(a.icon," ").concat(o===a.value?"checked":"")}),key:a.value,checked:o===a.value,onChange:function(){return e.onChange(a.value)}},2===a.value?x.a.createElement(c.a,{direction:"column",align:"start",style:{width:"100%",marginTop:"6px"}},x.a.createElement(c.a,{direction:"row",justify:"between",style:{width:"100%",paddingRight:"30px"}},x.a.createElement("span",{style:{color:"#555555",fontSize:"14px"}},a.label),r?x.a.createElement("span",{style:{color:"#333333",fontSize:"12px"}},"".concat(s,"\u5143 \xd7 ").concat(d,"\u671f")):null),x.a.createElement(c.a,{justify:"start"},x.a.createElement("span",{style:{color:"#999999",fontSize:"12px"}},"\u652f\u4ed8\u4e0a\u9650\u53d7\u9650\u4e8e\u60a8\u7684\u82b1\u5457\u989d\u5ea6"))):a.label)})),x.a.createElement("div",{className:"pay-tip"},"\u8bf7\u572815\u5206\u949f\u5185\u5b8c\u6210\u652f\u4ed8\uff0c\u5426\u5219\u5c4a\u65f6\u7cfb\u7edf\u5c06\u5173\u95ed\u8be5\u8ba2\u5355\u3002"),x.a.createElement("div",{className:"pay-button",onClick:this.pay},"\u786e\u8ba4\u652f\u4ed8"),p?x.a.createElement("div",{className:"check-staging"},x.a.createElement("div",{className:"container"},x.a.createElement("p",{className:"check-title"},"\u8bf7\u9009\u62e9\u5206\u671f"),u.map(function(a){return x.a.createElement(S,{key:a.value,checked:y===a.value,onChange:function(){return e.checkStaging(a)}},"".concat(a.everyTotal,"\u5143 \xd7 ").concat(a.stage,"\u671f"),x.a.createElement(w.a.Item.Brief,null,"\u624b\u7eed\u8d39".concat(a.serviceFee,"\u5143/\u671f\uff0c\u8d39\u7387").concat(a.moneyRate)))}))):null)}}]),a}(E.Component)},894:function(e,a,t){}}]);
//# sourceMappingURL=PayOrder.984725bc.chunk.js.map
\ No newline at end of file
!function(e){function r(r){for(var a,n,i=r[0],d=r[1],f=r[2],u=0,l=[];u<i.length;u++)n=i[u],o[n]&&l.push(o[n][0]),o[n]=0;for(a in d)Object.prototype.hasOwnProperty.call(d,a)&&(e[a]=d[a]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,f||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],a=!0,n=1;n<t.length;n++){var d=t[n];0!==o[d]&&(a=!1)}a&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var a={},n={18:0},o={18:0},c=[];function i(r){if(a[r])return a[r].exports;var t=a[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[];n[e]?r.push(n[e]):0!==n[e]&&{0:1,1:1,2:1,3:1,4:1,6:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,26:1,28:1,29:1,30:1,31:1}[e]&&r.push(n[e]=new Promise(function(r,t){for(var a="static/css/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"6d24aba4",1:"2ef92576",2:"49ca5e9b",3:"aeb3f822",4:"7bb0622b",5:"31d6cfe0",6:"c25de43a",7:"31d6cfe0",8:"71617dc9",9:"a285bc5d",10:"706b43f2",11:"fa7d91fc",12:"a97e13d0",13:"f2c7a13b",14:"2f69295d",16:"789a128d",17:"bd80fb0a",19:"68fd6acc",20:"175bee2a",21:"95315632",22:"f08bc5f3",23:"a4013dc8",25:"31d6cfe0",26:"73976871",27:"31d6cfe0",28:"42a89c77",29:"bf839917",30:"35e22f8c",31:"57d8b033"}[e]+".chunk.css",o=i.p+a,c=document.getElementsByTagName("link"),d=0;d<c.length;d++){var f=(s=c[d]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(f===a||f===o))return r()}var u=document.getElementsByTagName("style");for(d=0;d<u.length;d++){var s;if((f=(s=u[d]).getAttribute("data-href"))===a||f===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var a=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.request=a,delete n[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){n[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var a=new Promise(function(r,a){t=o[e]=[r,a]});r.push(t[2]=a);var c,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=function(e){return i.p+"static/js/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"c17d2450",1:"17ebd626",2:"df1427b5",3:"7fd9d55d",4:"681b3739",5:"539ac99a",6:"36a03aa7",7:"229e2d92",8:"984725bc",9:"1ac4da1c",10:"21f335ee",11:"a3aa3523",12:"645eee55",13:"72b220db",14:"70bdafef",16:"fa5a3185",17:"1a0cc90e",19:"449ffe8e",20:"2842f7fe",21:"7d4b3c37",22:"d73bccb5",23:"46b1913c",25:"403aae65",26:"f842ed87",27:"33496196",28:"ab85697f",29:"52529984",30:"3e2101f4",31:"1bf13040"}[e]+".chunk.js"}(e),c=function(r){d.onerror=d.onload=null,clearTimeout(f);var t=o[e];if(0!==t){if(t){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+a+": "+n+")");c.type=a,c.request=n,t[1](c)}o[e]=void 0}};var f=setTimeout(function(){c({type:"timeout",target:d})},12e4);d.onerror=d.onload=c,document.head.appendChild(d)}return Promise.all(r)},i.m=e,i.c=a,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)i.d(t,a,function(r){return e[r]}.bind(null,a));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var d=window.webpackJsonp=window.webpackJsonp||[],f=d.push.bind(d);d.push=r,d=d.slice();for(var u=0;u<d.length;u++)r(d[u]);var s=f;t()}([]);
//# sourceMappingURL=runtime~main.f565d386.js.map
\ No newline at end of file
!function(e){function r(r){for(var a,n,i=r[0],d=r[1],f=r[2],u=0,l=[];u<i.length;u++)n=i[u],o[n]&&l.push(o[n][0]),o[n]=0;for(a in d)Object.prototype.hasOwnProperty.call(d,a)&&(e[a]=d[a]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,f||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],a=!0,n=1;n<t.length;n++){var d=t[n];0!==o[d]&&(a=!1)}a&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var a={},n={18:0},o={18:0},c=[];function i(r){if(a[r])return a[r].exports;var t=a[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[];n[e]?r.push(n[e]):0!==n[e]&&{0:1,1:1,2:1,3:1,4:1,6:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,26:1,28:1,29:1,30:1,31:1}[e]&&r.push(n[e]=new Promise(function(r,t){for(var a="static/css/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"6d24aba4",1:"2ef92576",2:"49ca5e9b",3:"aeb3f822",4:"7bb0622b",5:"31d6cfe0",6:"c25de43a",7:"31d6cfe0",8:"71617dc9",9:"a285bc5d",10:"706b43f2",11:"fa7d91fc",12:"a97e13d0",13:"f2c7a13b",14:"2f69295d",16:"789a128d",17:"bd80fb0a",19:"68fd6acc",20:"175bee2a",21:"95315632",22:"f08bc5f3",23:"a4013dc8",25:"31d6cfe0",26:"73976871",27:"31d6cfe0",28:"42a89c77",29:"bf839917",30:"35e22f8c",31:"57d8b033"}[e]+".chunk.css",o=i.p+a,c=document.getElementsByTagName("link"),d=0;d<c.length;d++){var f=(s=c[d]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(f===a||f===o))return r()}var u=document.getElementsByTagName("style");for(d=0;d<u.length;d++){var s;if((f=(s=u[d]).getAttribute("data-href"))===a||f===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var a=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.request=a,delete n[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){n[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var a=new Promise(function(r,a){t=o[e]=[r,a]});r.push(t[2]=a);var c,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=function(e){return i.p+"static/js/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"c17d2450",1:"17ebd626",2:"df1427b5",3:"7fd9d55d",4:"681b3739",5:"539ac99a",6:"36a03aa7",7:"229e2d92",8:"282dadb8",9:"1ac4da1c",10:"21f335ee",11:"a3aa3523",12:"645eee55",13:"72b220db",14:"70bdafef",16:"fa5a3185",17:"1a0cc90e",19:"449ffe8e",20:"2842f7fe",21:"7d4b3c37",22:"d73bccb5",23:"46b1913c",25:"403aae65",26:"f842ed87",27:"33496196",28:"ab85697f",29:"52529984",30:"3e2101f4",31:"1bf13040"}[e]+".chunk.js"}(e),c=function(r){d.onerror=d.onload=null,clearTimeout(f);var t=o[e];if(0!==t){if(t){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+a+": "+n+")");c.type=a,c.request=n,t[1](c)}o[e]=void 0}};var f=setTimeout(function(){c({type:"timeout",target:d})},12e4);d.onerror=d.onload=c,document.head.appendChild(d)}return Promise.all(r)},i.m=e,i.c=a,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)i.d(t,a,function(r){return e[r]}.bind(null,a));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var d=window.webpackJsonp=window.webpackJsonp||[],f=d.push.bind(d);d.push=r,d=d.slice();for(var u=0;u<d.length;u++)r(d[u]);var s=f;t()}([]);
//# sourceMappingURL=runtime~main.68d0a616.js.map
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment