Commit b5b237e4 by zhanghaozhe

pre

parent e56f3a26
......@@ -3,8 +3,8 @@
"BargainMiddlePage.js": "/static/js/BargainMiddlePage.e9fa548d.chunk.js",
"BargainMiddlePage.js.map": "/static/js/BargainMiddlePage.e9fa548d.chunk.js.map",
"Classify.css": "/static/css/Classify.e3e9b348.chunk.css",
"Classify.js": "/static/js/Classify.af059a46.chunk.js",
"Classify.js.map": "/static/js/Classify.af059a46.chunk.js.map",
"Classify.js": "/static/js/Classify.ba29a5fa.chunk.js",
"Classify.js.map": "/static/js/Classify.ba29a5fa.chunk.js.map",
"CourseList.css": "/static/css/CourseList.369bce9d.chunk.css",
"CourseList.js": "/static/js/CourseList.9f29cd97.chunk.js",
"CourseList.js.map": "/static/js/CourseList.9f29cd97.chunk.js.map",
......@@ -22,8 +22,8 @@
"Orderinfo.js": "/static/js/Orderinfo.ec770473.chunk.js",
"Orderinfo.js.map": "/static/js/Orderinfo.ec770473.chunk.js.map",
"PayOrder.css": "/static/css/PayOrder.ef3c6288.chunk.css",
"PayOrder.js": "/static/js/PayOrder.a1bec969.chunk.js",
"PayOrder.js.map": "/static/js/PayOrder.a1bec969.chunk.js.map",
"PayOrder.js": "/static/js/PayOrder.cde513f6.chunk.js",
"PayOrder.js.map": "/static/js/PayOrder.cde513f6.chunk.js.map",
"Preferential.css": "/static/css/Preferential.7456653e.chunk.css",
"Preferential.js": "/static/js/Preferential.70bd3cf5.chunk.js",
"Preferential.js.map": "/static/js/Preferential.70bd3cf5.chunk.js.map",
......@@ -42,7 +42,7 @@
"detail.css": "/static/css/detail.1ccb2ab2.chunk.css",
"detail.js": "/static/js/detail.80854228.chunk.js",
"detail.js.map": "/static/js/detail.80854228.chunk.js.map",
"main.css": "/static/css/main.dc97cf69.chunk.css",
"main.css": "/static/css/main.e27d9d2b.chunk.css",
"main.js": "/static/js/main.65a601d7.chunk.js",
"main.js.map": "/static/js/main.65a601d7.chunk.js.map",
"myorders.css": "/static/css/myorders.5434bc7e.chunk.css",
......@@ -51,8 +51,8 @@
"purchased.css": "/static/css/purchased.6f6ffdf9.chunk.css",
"purchased.js": "/static/js/purchased.fda2c384.chunk.js",
"purchased.js.map": "/static/js/purchased.fda2c384.chunk.js.map",
"runtime~main.js": "/static/js/runtime~main.57670d79.js",
"runtime~main.js.map": "/static/js/runtime~main.57670d79.js.map",
"runtime~main.js": "/static/js/runtime~main.9ac258ca.js",
"runtime~main.js.map": "/static/js/runtime~main.9ac258ca.js.map",
"search.css": "/static/css/search.01106b05.chunk.css",
"search.js": "/static/js/search.3932de6c.chunk.js",
"search.js.map": "/static/js/search.3932de6c.chunk.js.map",
......@@ -91,7 +91,7 @@
"static/js/31.39103831.chunk.js": "/static/js/31.39103831.chunk.js",
"static/js/31.39103831.chunk.js.map": "/static/js/31.39103831.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.b2641980fd75e5044643928759fe13f3.js": "/precache-manifest.b2641980fd75e5044643928759fe13f3.js",
"precache-manifest.4e7bd0687259be4eed6db29cac1e102b.js": "/precache-manifest.4e7bd0687259be4eed6db29cac1e102b.js",
"service-worker.js": "/service-worker.js",
"static/css/24.257b0329.chunk.css.map": "/static/css/24.257b0329.chunk.css.map",
"static/css/26.1b3a6258.chunk.css.map": "/static/css/26.1b3a6258.chunk.css.map",
......@@ -112,7 +112,7 @@
"static/css/aist-share.bef8c404.chunk.css.map": "/static/css/aist-share.bef8c404.chunk.css.map",
"static/css/coupons.9ece7350.chunk.css.map": "/static/css/coupons.9ece7350.chunk.css.map",
"static/css/detail.1ccb2ab2.chunk.css.map": "/static/css/detail.1ccb2ab2.chunk.css.map",
"static/css/main.dc97cf69.chunk.css.map": "/static/css/main.dc97cf69.chunk.css.map",
"static/css/main.e27d9d2b.chunk.css.map": "/static/css/main.e27d9d2b.chunk.css.map",
"static/css/myorders.5434bc7e.chunk.css.map": "/static/css/myorders.5434bc7e.chunk.css.map",
"static/css/purchased.6f6ffdf9.chunk.css.map": "/static/css/purchased.6f6ffdf9.chunk.css.map",
"static/css/search.01106b05.chunk.css.map": "/static/css/search.01106b05.chunk.css.map",
......
......@@ -8,12 +8,12 @@ self.__precacheManifest = [
"url": "/static/css/BargainMiddlePage.9e05243b.chunk.css"
},
{
"revision": "8c29d2085fead46685f5",
"revision": "534a90f50ba7f2813b54",
"url": "/static/css/Classify.e3e9b348.chunk.css"
},
{
"revision": "8c29d2085fead46685f5",
"url": "/static/js/Classify.af059a46.chunk.js"
"revision": "534a90f50ba7f2813b54",
"url": "/static/js/Classify.ba29a5fa.chunk.js"
},
{
"revision": "9fb2473e10fa58274da8",
......@@ -56,12 +56,12 @@ self.__precacheManifest = [
"url": "/static/js/Orderinfo.ec770473.chunk.js"
},
{
"revision": "a7d68070f8edd0384093",
"revision": "439c14f2d1e5db8babae",
"url": "/static/css/PayOrder.ef3c6288.chunk.css"
},
{
"revision": "a7d68070f8edd0384093",
"url": "/static/js/PayOrder.a1bec969.chunk.js"
"revision": "439c14f2d1e5db8babae",
"url": "/static/js/PayOrder.cde513f6.chunk.js"
},
{
"revision": "68b779b486455527de81",
......@@ -112,11 +112,11 @@ self.__precacheManifest = [
"url": "/static/js/detail.80854228.chunk.js"
},
{
"revision": "a9c26f6d002aedb4c365",
"url": "/static/css/main.dc97cf69.chunk.css"
"revision": "85830089f80eb74e6a33",
"url": "/static/css/main.e27d9d2b.chunk.css"
},
{
"revision": "a9c26f6d002aedb4c365",
"revision": "85830089f80eb74e6a33",
"url": "/static/js/main.65a601d7.chunk.js"
},
{
......@@ -136,8 +136,8 @@ self.__precacheManifest = [
"url": "/static/js/BargainMiddlePage.e9fa548d.chunk.js"
},
{
"revision": "225ee373d0b2d809cfd2",
"url": "/static/js/runtime~main.57670d79.js"
"revision": "176a75c97fb0dc8fea19",
"url": "/static/js/runtime~main.9ac258ca.js"
},
{
"revision": "224b9f508a3a5597468b",
......@@ -260,7 +260,7 @@ self.__precacheManifest = [
"url": "/static/css/24.257b0329.chunk.css"
},
{
"revision": "e01fb0cc15e78bcd1edc13f95883d1a0",
"revision": "70943fa758fa3b27ebebba71d579486f",
"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.b2641980fd75e5044643928759fe13f3.js"
"/precache-manifest.4e7bd0687259be4eed6db29cac1e102b.js"
);
workbox.clientsClaim();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{1162:function(e,a,t){"use strict";t.r(a),t.d(a,"default",function(){return R});t(155);var n=t(75),i=t.n(n),o=(t(89),t(25)),c=t.n(o),r=(t(154),t(35)),l=t.n(r),s=(t(43),t(14)),d=t.n(s),u=t(7),p=t(8),m=t(11),y=t(9),g=t(10),f=(t(890),t(892)),h=t.n(f),b=(t(115),t(46)),v=t.n(b),w=t(0),E=t.n(w),x=t(4),k=t(30),N=t(19),_=(t(894),v.a.Item.Brief,h.a.RadioItem),S=[];S=x.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 R=function(e){function a(e){var t;return Object(u.a)(this,a),(t=Object(m.a)(this,Object(y.a)(a).call(this,e))).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(x.e)()?window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri="+encodeURIComponent(window.location.href+"&aa=bb").toLowerCase()+"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect":x.c.get("".concat(API["base-api"],"/pay/wxpay/wap_charge/oid/").concat(e)).then(function(e){console.log(e),0===e.data.errno?window.location.href=e.data.data.url+"&redirect_url="+encodeURIComponent(window.location.href+"&weixinpay=1").toLowerCase():d.a.info(e.data.msg,2)})},t.isweixinPay=function(){var e=Object(x.b)("code");if(e){if(void 0===Object(x.b)("oid"))return;x.c.get("".concat(API["base-api"],"/pay/wxpay/pub_charge/oid/").concat(Object(x.b)("oid"),"/code/").concat(e)).then(function(e){if(0===e.data.errno){var a=e.data.data;t.onBridgeReady(a),"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()}else d.a.info(e.data.msg,2)})}},t.payCallback=function(){},t.onBridgeReady=function(e){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){x.c.get("".concat(API["base-api"],"/pay/alipay/wap_charge/oid/").concat(e)).then(function(e){0===e.data.errno?window.location=e.data.data.url:d.a.info(e.data.msg,2)})},t.huabeiPay=function(e){var a=t.state,n=(a.singleMoney,a.periodNumber);console.log("\u82b1\u5457\u5206\u671f\u652f\u4ed8"),x.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,2)})},t.state={pay_amount:0,payType:0,stageNumber:0,checkPeriod:!1,singleMoney:0,periodNumber:0,orderId:Object(x.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(g.a)(a,e),Object(p.a)(a,[{key:"componentDidMount",value:function(){var e=this;x.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,2)}),(1===Object(x.b)("is_class")||Object(x.b)("weixinpay"))&&this.payCallback(),Object(x.e)()&&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,u=a.huabei,p=a.fenqiList,m=a.categoryList,y=a.stageNumber;return E.a.createElement("div",{className:"pay-order"},E.a.createElement(k.e,{title:"\u786e\u8ba4\u652f\u4ed8",arrow:!0}),E.a.createElement(l.a,{size:"sm"}),E.a.createElement("div",{className:"order-number"},E.a.createElement(i.a,null,E.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},E.a.createElement("span",null,"\u8ba2\u5355\u53f7"),E.a.createElement("span",{className:"number"},t)))),E.a.createElement(l.a,{size:"md"}),m.map(function(a,t){var n=E.a.createElement("div",{className:"order-info"},E.a.createElement("p",{className:"order-title text-overflow-one"},E.a.createElement(N.b,{to:"/detail?id=".concat(a.course_id)},a.course_title)),E.a.createElement("p",{className:"order-content text-overflow-2"},a.simpledescription),E.a.createElement("p",{className:"order-des"},E.a.createElement("span",{className:"order-newprice"},"\xa5",a.price1),E.a.createElement("span",{className:"order-price"},"\xa5",a.price0)));return E.a.createElement(k.i,{handleClick:e.print,key:t,img:a.image_name,id:a.course_id,info:n})}),E.a.createElement(l.a,{size:"md"}),E.a.createElement("div",{className:"order-number"},E.a.createElement(i.a,null,E.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},E.a.createElement("span",null,"\u652f\u4ed8\u91d1\u989d"),E.a.createElement("span",{className:"money"},"\uffe5".concat(n))))),E.a.createElement(l.a,{size:"md"}),E.a.createElement(v.a,{renderHeader:function(){return"\u652f\u4ed8\u65b9\u5f0f"},className:"pay-type-list"},S.map(function(a){return E.a.createElement(_,{thumb:E.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?E.a.createElement(c.a,{direction:"column",align:"start",style:{width:"100%",marginTop:"6px"}},E.a.createElement(c.a,{direction:"row",justify:"between",style:{width:"100%",paddingRight:"30px"}},E.a.createElement("span",{style:{color:"#555555",fontSize:"14px"}},a.label),r?E.a.createElement("span",{style:{color:"#333333",fontSize:"12px"}},"".concat(s,"\u5143 \xd7 ").concat(d,"\u671f")):null),E.a.createElement(c.a,{justify:"start"},E.a.createElement("span",{style:{color:"#999999",fontSize:"12px"}},"\u652f\u4ed8\u4e0a\u9650\u53d7\u9650\u4e8e\u60a8\u7684\u82b1\u5457\u989d\u5ea6"))):a.label)})),E.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"),E.a.createElement("div",{className:"pay-button",onClick:this.pay},"\u786e\u8ba4\u652f\u4ed8"),u?E.a.createElement("div",{className:"check-staging"},E.a.createElement("div",{className:"container"},E.a.createElement("p",{className:"check-title"},"\u8bf7\u9009\u62e9\u5206\u671f"),p.map(function(a){return E.a.createElement(_,{key:a.value,checked:y===a.value,onChange:function(){return e.checkStaging(a)}},"".concat(a.everyTotal,"\u5143 \xd7 ").concat(a.stage,"\u671f"),E.a.createElement(v.a.Item.Brief,null,"\u624b\u7eed\u8d39".concat(a.serviceFee,"\u5143/\u671f\uff0c\u8d39\u7387").concat(a.moneyRate)))}))):null)}}]),a}(w.Component)},894:function(e,a,t){}}]);
//# sourceMappingURL=PayOrder.a1bec969.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 R});t(155);var n=t(75),i=t.n(n),o=(t(89),t(25)),c=t.n(o),r=(t(154),t(35)),l=t.n(r),s=(t(43),t(14)),d=t.n(s),u=t(7),p=t(8),m=t(11),y=t(9),g=t(10),h=(t(890),t(892)),f=t.n(h),b=(t(115),t(46)),v=t.n(b),w=t(0),E=t.n(w),x=t(4),k=t(30),N=t(19),_=(t(894),v.a.Item.Brief,f.a.RadioItem),S=[];S=x.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 R=function(e){function a(e){var t;return Object(u.a)(this,a),(t=Object(m.a)(this,Object(y.a)(a).call(this,e))).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(x.e)()?window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri="+encodeURIComponent(window.location.href+"&aa=bb").toLowerCase()+"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect":x.c.get("".concat(API["base-api"],"/pay/wxpay/wap_charge/oid/").concat(e)).then(function(e){console.log(e),0===e.data.errno?window.location.href=e.data.data.url+"&redirect_url="+encodeURIComponent(window.location.href+"&weixinpay=1").toLowerCase():d.a.info(e.data.msg,2)})},t.isweixinPay=function(){var e=Object(x.b)("code");if(e){if(void 0===Object(x.b)("oid"))return;x.c.get("".concat(API["base-api"],"/pay/wxpay/pub_charge/oid/").concat(Object(x.b)("oid"),"/code/").concat(e)).then(function(e){if(0===e.data.errno){var a=e.data.data;t.onBridgeReady(a),"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()}else d.a.info(e.data.msg,2)})}},t.payCallback=function(){},t.onBridgeReady=function(e){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){x.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,2)})},t.huabeiPay=function(e){var a=t.state,n=(a.singleMoney,a.periodNumber);console.log("\u82b1\u5457\u5206\u671f\u652f\u4ed8"),x.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,2)})},t.state={pay_amount:0,payType:0,stageNumber:0,checkPeriod:!1,singleMoney:0,periodNumber:0,orderId:Object(x.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(g.a)(a,e),Object(p.a)(a,[{key:"componentDidMount",value:function(){var e=this;x.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,2)}),(1===Object(x.b)("is_class")||Object(x.b)("weixinpay"))&&this.payCallback(),Object(x.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,u=a.huabei,p=a.fenqiList,m=a.categoryList,y=a.stageNumber;return E.a.createElement("div",{className:"pay-order"},E.a.createElement(k.e,{title:"\u786e\u8ba4\u652f\u4ed8",arrow:!0}),E.a.createElement(l.a,{size:"sm"}),E.a.createElement("div",{className:"order-number"},E.a.createElement(i.a,null,E.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},E.a.createElement("span",null,"\u8ba2\u5355\u53f7"),E.a.createElement("span",{className:"number"},t)))),E.a.createElement(l.a,{size:"md"}),m.map(function(a,t){var n=E.a.createElement("div",{className:"order-info"},E.a.createElement("p",{className:"order-title text-overflow-one"},E.a.createElement(N.b,{to:"/detail?id=".concat(a.course_id)},a.course_title)),E.a.createElement("p",{className:"order-content text-overflow-2"},a.simpledescription),E.a.createElement("p",{className:"order-des"},E.a.createElement("span",{className:"order-newprice"},"\xa5",a.price1),E.a.createElement("span",{className:"order-price"},"\xa5",a.price0)));return E.a.createElement(k.i,{handleClick:e.print,key:t,img:a.image_name,id:a.course_id,info:n})}),E.a.createElement(l.a,{size:"md"}),E.a.createElement("div",{className:"order-number"},E.a.createElement(i.a,null,E.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},E.a.createElement("span",null,"\u652f\u4ed8\u91d1\u989d"),E.a.createElement("span",{className:"money"},"\uffe5".concat(n))))),E.a.createElement(l.a,{size:"md"}),E.a.createElement(v.a,{renderHeader:function(){return"\u652f\u4ed8\u65b9\u5f0f"},className:"pay-type-list"},S.map(function(a){return E.a.createElement(_,{thumb:E.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?E.a.createElement(c.a,{direction:"column",align:"start",style:{width:"100%",marginTop:"6px"}},E.a.createElement(c.a,{direction:"row",justify:"between",style:{width:"100%",paddingRight:"30px"}},E.a.createElement("span",{style:{color:"#555555",fontSize:"14px"}},a.label),r?E.a.createElement("span",{style:{color:"#333333",fontSize:"12px"}},"".concat(s,"\u5143 \xd7 ").concat(d,"\u671f")):null),E.a.createElement(c.a,{justify:"start"},E.a.createElement("span",{style:{color:"#999999",fontSize:"12px"}},"\u652f\u4ed8\u4e0a\u9650\u53d7\u9650\u4e8e\u60a8\u7684\u82b1\u5457\u989d\u5ea6"))):a.label)})),E.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"),E.a.createElement("div",{className:"pay-button",onClick:this.pay},"\u786e\u8ba4\u652f\u4ed8"),u?E.a.createElement("div",{className:"check-staging"},E.a.createElement("div",{className:"container"},E.a.createElement("p",{className:"check-title"},"\u8bf7\u9009\u62e9\u5206\u671f"),p.map(function(a){return E.a.createElement(_,{key:a.value,checked:y===a.value,onChange:function(){return e.checkStaging(a)}},"".concat(a.everyTotal,"\u5143 \xd7 ").concat(a.stage,"\u671f"),E.a.createElement(v.a.Item.Brief,null,"\u624b\u7eed\u8d39".concat(a.serviceFee,"\u5143/\u671f\uff0c\u8d39\u7387").concat(a.moneyRate)))}))):null)}}]),a}(w.Component)},894:function(e,a,t){}}]);
//# sourceMappingURL=PayOrder.cde513f6.chunk.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,a,f=r[0],i=r[1],u=r[2],d=0,l=[];d<f.length;d++)a=f[d],o[a]&&l.push(o[a][0]),o[a]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,u||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,a=1;a<t.length;a++){var i=t[a];0!==o[i]&&(n=!1)}n&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var n={},a={18:0},o={18:0},c=[];function f(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,f),t.l=!0,t.exports}f.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[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(a[e]=new Promise(function(r,t){for(var n="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:"9e05243b",1:"e3e9b348",2:"369bce9d",3:"2e7d81ca",4:"f2cc3163",5:"31d6cfe0",6:"34d6f553",7:"31d6cfe0",8:"ef3c6288",9:"7456653e",10:"0d7e3fa7",11:"742fe9ff",12:"bef8c404",13:"9ece7350",14:"1ccb2ab2",16:"5434bc7e",17:"6f6ffdf9",19:"01106b05",20:"82081d02",21:"65fae490",22:"49988cae",23:"af7bcdf8",25:"31d6cfe0",26:"1b3a6258",27:"31d6cfe0",28:"694b4628",29:"5ed15c7e",30:"ecbb6f9a",31:"bc06dce4"}[e]+".chunk.css",o=f.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var u=(s=c[i]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(u===n||u===o))return r()}var d=document.getElementsByTagName("style");for(i=0;i<d.length;i++){var s;if((u=(s=d[i]).getAttribute("data-href"))===n||u===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.request=n,delete a[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var c,i=document.createElement("script");i.charset="utf-8",i.timeout=120,f.nc&&i.setAttribute("nonce",f.nc),i.src=function(e){return f.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:"e9fa548d",1:"af059a46",2:"9f29cd97",3:"39af102b",4:"fc6423bb",5:"d0b19073",6:"13dc8973",7:"ec770473",8:"a1bec969",9:"70bd3cf5",10:"fff53593",11:"b02ea981",12:"305be3b7",13:"847e634b",14:"80854228",16:"260fcdd9",17:"fda2c384",19:"3932de6c",20:"b9e27762",21:"1920335a",22:"68e5ec81",23:"b39bf88f",25:"dc48eee8",26:"3f952262",27:"451e15ff",28:"c45ad1a2",29:"e7db81e7",30:"ac1c9411",31:"39103831"}[e]+".chunk.js"}(e),c=function(r){i.onerror=i.onload=null,clearTimeout(u);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var u=setTimeout(function(){c({type:"timeout",target:i})},12e4);i.onerror=i.onload=c,document.head.appendChild(i)}return Promise.all(r)},f.m=e,f.c=n,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,r){if(1&r&&(e=f(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)f.d(t,n,function(r){return e[r]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/",f.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],u=i.push.bind(i);i.push=r,i=i.slice();for(var d=0;d<i.length;d++)r(i[d]);var s=u;t()}([]);
//# sourceMappingURL=runtime~main.57670d79.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,a,f=r[0],i=r[1],u=r[2],d=0,l=[];d<f.length;d++)a=f[d],o[a]&&l.push(o[a][0]),o[a]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,u||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,a=1;a<t.length;a++){var i=t[a];0!==o[i]&&(n=!1)}n&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var n={},a={18:0},o={18:0},c=[];function f(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,f),t.l=!0,t.exports}f.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[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(a[e]=new Promise(function(r,t){for(var n="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:"9e05243b",1:"e3e9b348",2:"369bce9d",3:"2e7d81ca",4:"f2cc3163",5:"31d6cfe0",6:"34d6f553",7:"31d6cfe0",8:"ef3c6288",9:"7456653e",10:"0d7e3fa7",11:"742fe9ff",12:"bef8c404",13:"9ece7350",14:"1ccb2ab2",16:"5434bc7e",17:"6f6ffdf9",19:"01106b05",20:"82081d02",21:"65fae490",22:"49988cae",23:"af7bcdf8",25:"31d6cfe0",26:"1b3a6258",27:"31d6cfe0",28:"694b4628",29:"5ed15c7e",30:"ecbb6f9a",31:"bc06dce4"}[e]+".chunk.css",o=f.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var u=(s=c[i]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(u===n||u===o))return r()}var d=document.getElementsByTagName("style");for(i=0;i<d.length;i++){var s;if((u=(s=d[i]).getAttribute("data-href"))===n||u===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.request=n,delete a[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var c,i=document.createElement("script");i.charset="utf-8",i.timeout=120,f.nc&&i.setAttribute("nonce",f.nc),i.src=function(e){return f.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:"e9fa548d",1:"ba29a5fa",2:"9f29cd97",3:"39af102b",4:"fc6423bb",5:"d0b19073",6:"13dc8973",7:"ec770473",8:"cde513f6",9:"70bd3cf5",10:"fff53593",11:"b02ea981",12:"305be3b7",13:"847e634b",14:"80854228",16:"260fcdd9",17:"fda2c384",19:"3932de6c",20:"b9e27762",21:"1920335a",22:"68e5ec81",23:"b39bf88f",25:"dc48eee8",26:"3f952262",27:"451e15ff",28:"c45ad1a2",29:"e7db81e7",30:"ac1c9411",31:"39103831"}[e]+".chunk.js"}(e),c=function(r){i.onerror=i.onload=null,clearTimeout(u);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var u=setTimeout(function(){c({type:"timeout",target:i})},12e4);i.onerror=i.onload=c,document.head.appendChild(i)}return Promise.all(r)},f.m=e,f.c=n,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,r){if(1&r&&(e=f(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)f.d(t,n,function(r){return e[r]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/",f.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],u=i.push.bind(i);i.push=r,i=i.slice();for(var d=0;d<i.length;d++)r(i[d]);var s=u;t()}([]);
//# sourceMappingURL=runtime~main.9ac258ca.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