Commit 307c0bfe by FE

build

parent bd72eec2
......@@ -13,8 +13,8 @@
"Activity.js": "/mrstatic/js/Activity.9d2bcd02.chunk.js",
"Activity.js.map": "/mrstatic/js/Activity.9d2bcd02.chunk.js.map",
"BargainMiddlePage.css": "/mrstatic/css/BargainMiddlePage.2a913483.chunk.css",
"BargainMiddlePage.js": "/mrstatic/js/BargainMiddlePage.ee9f49e7.chunk.js",
"BargainMiddlePage.js.map": "/mrstatic/js/BargainMiddlePage.ee9f49e7.chunk.js.map",
"BargainMiddlePage.js": "/mrstatic/js/BargainMiddlePage.5792095d.chunk.js",
"BargainMiddlePage.js.map": "/mrstatic/js/BargainMiddlePage.5792095d.chunk.js.map",
"Classify.css": "/mrstatic/css/Classify.127d35ae.chunk.css",
"Classify.js": "/mrstatic/js/Classify.cc0bcec2.chunk.js",
"Classify.js.map": "/mrstatic/js/Classify.cc0bcec2.chunk.js.map",
......@@ -97,8 +97,8 @@
"purchased.css": "/mrstatic/css/purchased.7558403e.chunk.css",
"purchased.js": "/mrstatic/js/purchased.642c09b0.chunk.js",
"purchased.js.map": "/mrstatic/js/purchased.642c09b0.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.54805691.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.54805691.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.688ccc4d.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.688ccc4d.js.map",
"search.css": "/mrstatic/css/search.efa1dd44.chunk.css",
"search.js": "/mrstatic/js/search.80d1b3d1.chunk.js",
"search.js.map": "/mrstatic/js/search.80d1b3d1.chunk.js.map",
......@@ -186,6 +186,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff",
"mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png",
"mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png",
"precache-manifest.c73386dfc5c302b28a3fdfffd242244b.js": "/precache-manifest.c73386dfc5c302b28a3fdfffd242244b.js",
"precache-manifest.a390e97e684c951f63f731866dedfafa.js": "/precache-manifest.a390e97e684c951f63f731866dedfafa.js",
"service-worker.js": "/service-worker.js"
}
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>七月在线 - 国内领先的人工智能教育平台</title><link href="/mrstatic/css/41.2c1f7d7c.chunk.css" rel="stylesheet"><link href="/mrstatic/css/main.fe158352.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/api.js"></script><script>!function(i){function e(e){for(var r,t,n=e[0],a=e[1],o=e[2],c=0,d=[];c<n.length;c++)t=n[c],l[t]&&d.push(l[t][0]),l[t]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(i[r]=a[r]);for(p&&p(e);d.length;)d.shift()();return f.push.apply(f,o||[]),s()}function s(){for(var e,r=0;r<f.length;r++){for(var t=f[r],n=!0,a=1;a<t.length;a++){var o=t[a];0!==l[o]&&(n=!1)}n&&(f.splice(r--,1),e=b(b.s=t[0]))}return e}var t={},u={34:0},l={34:0},f=[];function b(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return i[e].call(r.exports,r,r.exports,b),r.l=!0,r.exports}b.e=function(f){var e=[];u[f]?e.push(u[f]):0!==u[f]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,13:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,32:1,33:1,35:1,36:1,37:1,38:1,39:1,40:1,42:1,43:1,44:1,45:1,46:1,47:1}[f]&&e.push(u[f]=new Promise(function(e,n){for(var r="mrstatic/css/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[f]||f)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"e96ee8f8",3:"1133c967",4:"08739942",5:"2a913483",6:"127d35ae",7:"400393b7",8:"fed92c83",9:"1bd3da48",10:"17af9370",11:"08739942",12:"31d6cfe0",13:"83a999aa",14:"31d6cfe0",15:"68a25070",16:"ccebc534",17:"6d7d1b77",18:"6e885738",19:"887eb690",20:"affb05d7",21:"32a9cccc",22:"5dc65c0d",23:"39fb77c8",24:"0ce3fd3d",25:"2e5f43c4",26:"e8363b32",27:"55b938da",29:"841d0cfb",30:"dc74ab02",31:"a4d7bd4b",32:"ce85cb83",33:"7558403e",35:"efa1dd44",36:"cde549fc",37:"62b8863b",38:"4fbf61d8",39:"ffd8be6c",40:"b3755c1b",42:"976b2058",43:"51412fcd",44:"e292ab6b",45:"37fb0c23",46:"56b04545",47:"ce17075b"}[f]+".chunk.css",a=b.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var c=(i=t[o]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(c===r||c===a))return e()}var d=document.getElementsByTagName("style");for(o=0;o<d.length;o++){var i;if((c=(i=d[o]).getAttribute("data-href"))===r||c===a)return e()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=e,s.onerror=function(e){var r=e&&e.target&&e.target.src||a,t=new Error("Loading CSS chunk "+f+" failed.\n("+r+")");t.request=r,delete u[f],s.parentNode.removeChild(s),n(t)},s.href=a,document.getElementsByTagName("head")[0].appendChild(s)}).then(function(){u[f]=0}));var t=l[f];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=l[f]=[e,r]});e.push(t[2]=r);var n,o=document.createElement("script");o.charset="utf-8",o.timeout=120,b.nc&&o.setAttribute("nonce",b.nc),o.src=b.p+"mrstatic/js/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[f]||f)+"."+{0:"43dd2336",1:"3394dc8f",2:"d350c155",3:"ac471c3d",4:"9d2bcd02",5:"ee9f49e7",6:"cc0bcec2",7:"23462b73",8:"a70eadab",9:"3a281ff6",10:"6e059753",11:"e94f1325",12:"136b402e",13:"bb18574c",14:"49b78136",15:"2f6bc85a",16:"7732eb2c",17:"898dfad9",18:"9f726830",19:"71012ab4",20:"85264d37",21:"e9282439",22:"e8383d61",23:"82da66de",24:"9306a2b6",25:"cd73a69e",26:"4203b243",27:"f5f551f5",29:"978cb0a2",30:"4d6d7c5c",31:"818cb755",32:"5b063df8",33:"642c09b0",35:"80d1b3d1",36:"a78abb9e",37:"3f2591ee",38:"79233bf3",39:"dbd3f54c",40:"61161570",42:"df4177bc",43:"9ebd27e5",44:"bb8f8269",45:"47c128cc",46:"c5238c5f",47:"cc32b75c"}[f]+".chunk.js",n=function(e){o.onerror=o.onload=null,clearTimeout(c);var r=l[f];if(0!==r){if(r){var t=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,a=new Error("Loading chunk "+f+" failed.\n("+t+": "+n+")");a.type=t,a.request=n,r[1](a)}l[f]=void 0}};var c=setTimeout(function(){n({type:"timeout",target:o})},12e4);o.onerror=o.onload=n,document.head.appendChild(o)}return Promise.all(e)},b.m=i,b.c=t,b.d=function(e,r,t){b.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},b.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.t=function(r,e){if(1&e&&(r=b(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(b.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)b.d(t,n,function(e){return r[e]}.bind(null,n));return t},b.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(r,"a",r),r},b.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},b.p="/",b.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var a=0;a<r.length;a++)e(r[a]);var p=n;s()}([])</script><script src="/mrstatic/js/41.809e5d73.chunk.js"></script><script src="/mrstatic/js/main.6c7258d0.chunk.js"></script></body></html>
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>七月在线 - 国内领先的人工智能教育平台</title><link href="/mrstatic/css/41.2c1f7d7c.chunk.css" rel="stylesheet"><link href="/mrstatic/css/main.fe158352.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/api.js"></script><script>!function(i){function e(e){for(var r,t,n=e[0],a=e[1],o=e[2],c=0,d=[];c<n.length;c++)t=n[c],l[t]&&d.push(l[t][0]),l[t]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(i[r]=a[r]);for(p&&p(e);d.length;)d.shift()();return f.push.apply(f,o||[]),s()}function s(){for(var e,r=0;r<f.length;r++){for(var t=f[r],n=!0,a=1;a<t.length;a++){var o=t[a];0!==l[o]&&(n=!1)}n&&(f.splice(r--,1),e=b(b.s=t[0]))}return e}var t={},u={34:0},l={34:0},f=[];function b(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return i[e].call(r.exports,r,r.exports,b),r.l=!0,r.exports}b.e=function(f){var e=[];u[f]?e.push(u[f]):0!==u[f]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,13:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,32:1,33:1,35:1,36:1,37:1,38:1,39:1,40:1,42:1,43:1,44:1,45:1,46:1,47:1}[f]&&e.push(u[f]=new Promise(function(e,n){for(var r="mrstatic/css/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[f]||f)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"e96ee8f8",3:"1133c967",4:"08739942",5:"2a913483",6:"127d35ae",7:"400393b7",8:"fed92c83",9:"1bd3da48",10:"17af9370",11:"08739942",12:"31d6cfe0",13:"83a999aa",14:"31d6cfe0",15:"68a25070",16:"ccebc534",17:"6d7d1b77",18:"6e885738",19:"887eb690",20:"affb05d7",21:"32a9cccc",22:"5dc65c0d",23:"39fb77c8",24:"0ce3fd3d",25:"2e5f43c4",26:"e8363b32",27:"55b938da",29:"841d0cfb",30:"dc74ab02",31:"a4d7bd4b",32:"ce85cb83",33:"7558403e",35:"efa1dd44",36:"cde549fc",37:"62b8863b",38:"4fbf61d8",39:"ffd8be6c",40:"b3755c1b",42:"976b2058",43:"51412fcd",44:"e292ab6b",45:"37fb0c23",46:"56b04545",47:"ce17075b"}[f]+".chunk.css",a=b.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var c=(i=t[o]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(c===r||c===a))return e()}var d=document.getElementsByTagName("style");for(o=0;o<d.length;o++){var i;if((c=(i=d[o]).getAttribute("data-href"))===r||c===a)return e()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=e,s.onerror=function(e){var r=e&&e.target&&e.target.src||a,t=new Error("Loading CSS chunk "+f+" failed.\n("+r+")");t.request=r,delete u[f],s.parentNode.removeChild(s),n(t)},s.href=a,document.getElementsByTagName("head")[0].appendChild(s)}).then(function(){u[f]=0}));var t=l[f];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=l[f]=[e,r]});e.push(t[2]=r);var n,o=document.createElement("script");o.charset="utf-8",o.timeout=120,b.nc&&o.setAttribute("nonce",b.nc),o.src=b.p+"mrstatic/js/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[f]||f)+"."+{0:"43dd2336",1:"3394dc8f",2:"d350c155",3:"ac471c3d",4:"9d2bcd02",5:"5792095d",6:"cc0bcec2",7:"23462b73",8:"a70eadab",9:"3a281ff6",10:"6e059753",11:"e94f1325",12:"136b402e",13:"bb18574c",14:"49b78136",15:"2f6bc85a",16:"7732eb2c",17:"898dfad9",18:"9f726830",19:"71012ab4",20:"85264d37",21:"e9282439",22:"e8383d61",23:"82da66de",24:"9306a2b6",25:"cd73a69e",26:"4203b243",27:"f5f551f5",29:"978cb0a2",30:"4d6d7c5c",31:"818cb755",32:"5b063df8",33:"642c09b0",35:"80d1b3d1",36:"a78abb9e",37:"3f2591ee",38:"79233bf3",39:"dbd3f54c",40:"61161570",42:"df4177bc",43:"9ebd27e5",44:"bb8f8269",45:"47c128cc",46:"c5238c5f",47:"cc32b75c"}[f]+".chunk.js",n=function(e){o.onerror=o.onload=null,clearTimeout(c);var r=l[f];if(0!==r){if(r){var t=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,a=new Error("Loading chunk "+f+" failed.\n("+t+": "+n+")");a.type=t,a.request=n,r[1](a)}l[f]=void 0}};var c=setTimeout(function(){n({type:"timeout",target:o})},12e4);o.onerror=o.onload=n,document.head.appendChild(o)}return Promise.all(e)},b.m=i,b.c=t,b.d=function(e,r,t){b.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},b.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.t=function(r,e){if(1&e&&(r=b(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(b.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)b.d(t,n,function(e){return r[e]}.bind(null,n));return t},b.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(r,"a",r),r},b.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},b.p="/",b.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var a=0;a<r.length;a++)e(r[a]);var p=n;s()}([])</script><script src="/mrstatic/js/41.809e5d73.chunk.js"></script><script src="/mrstatic/js/main.6c7258d0.chunk.js"></script></body></html>
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{1266:function(e,a,t){"use strict";t.r(a);var i,s=t(19),n=(t(41),t(12)),r=t.n(n),c=t(5),o=t(7),l=t(6),m=t(8),u=t(9),d=t(0),p=t.n(d),g=(t(911),t(28)),h=t(3),b=t(15),v=t(49),f=t(685),E=t(155),j=t(640),y=t(22),N=(t(73),t(17)),S=t.n(N),A=t(587),k=t.n(A),C=(t(912),function(e){function a(e){var t;return Object(c.a)(this,a),(t=Object(l.a)(this,Object(m.a)(a).call(this,e))).state={url:"",codeUrl:""},t}return Object(u.a)(a,e),Object(o.a)(a,[{key:"componentDidMount",value:function(){var e=this;console.log(this.props);var a=this.props.userInfo.uid,t=void 0===a?"":a;t&&h.d.get("".concat(API["base-api"],"/wx/user_temporary_qrcode/").concat(t)).then(function(a){var t=a.data,i=t.errno,s=t.data;if(console.log(a),0==i){e.setState({url:s.url});var n=e;return new Promise(function(e){k.a.toDataURL(s.url,{},function(e,a){n.setState({codeUrl:a})}),e()})}})}},{key:"render",value:function(){var e=this.state.codeUrl,a=this.props,t=a.firendBaigainPrice,i=a.userInfo.avatar,s=a.money;return p.a.createElement("div",{className:"bargain-popup__barcode"},p.a.createElement("i",{className:"bargain-popup__avatar",style:{backgroundImage:"url(".concat(i,")")}}),t&&p.a.createElement("p",{className:"bargain-popup__title"},"\u8c22\u8c22\u4f60\u5e2e\u6211\u780d\u4e86",s,"\u5143\uff01"),p.a.createElement("p",{className:"bargain-popup__desc"},"\u5173\u6ce8\u516c\u4f17\u53f7\uff0c\u53ef\u4ee5\u518d\u780d\u4e00\u5200\u54e6~"),p.a.createElement("img",{className:"bargain-popup__imgage",src:e,alt:""}))}}]),a}(d.Component)),B=Object(y.b)(function(e){return{user:e.user}})(i=function(e){function a(e){var i;return Object(c.a)(this,a),(i=Object(l.a)(this,Object(m.a)(a).call(this,e))).getBargainInfo=function(){h.d.get("".concat(API.home,"/m/bargain/info?bargaincode=").concat(Object(h.c)("bargaincode"),"&is_originator=").concat(Object(h.c)("is_originator"))).then(function(e){200===e.data.code?i.setState({data:e.data.data,isOriginator:e.data.data.is_originator,originatorUid:e.data.data.originator_uid,course:e.data.data.course,limitPeople:e.data.data.course.limit_people,bargainData:e.data.data.bargain,width:100*(e.data.data.bargain.bargain_price/e.data.data.bargain.total_price).toFixed(2)+"%"},function(){if(i.state.bargainData.expire_time){var e=1e3*i.state.bargainData.expire_time,a=Date.now();clearInterval(i.timer),i.timer=setInterval(function(){var t=new Date(e-=1e3),s=Object(E.differenceInSeconds)(t,a)%60,n=Object(E.differenceInMinutes)(t,a)%60,r=Object(E.differenceInHours)(t,a)%24,c=Object(E.differenceInDays)(t,a)%24;i.setState({hour:r,min:n,sec:s,day:c})},1e3)}}):r.a.info(e.data.msg,2)})},i.getBargainCourse=function(){h.d.get("".concat(API.home,"/m/bargain/courseList")).then(function(e){200===e.data.code?i.setState({courseList:e.data.data}):r.a.info(e.data.msg,2)})},i.getBargainRankList=function(){var e={courseId:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",type:arguments.length>1?arguments[1]:void 0,bargain_code:Object(h.c)("bargaincode")||""};h.d.post("".concat(API.home,"/m/bargain/rankList"),e).then(function(e){if(200===e.data.code){var a=["\u5200\u795e","\u5200\u738b","\u5200\u9738"],t=e.data.data.out_list.map(function(e,t){return Object(s.a)({},e,{rank:a[t]})});i.setState({list:e.data.data.list,outList:t})}else 4030==e.data.code||4040==e.data.code||r.a.info(e.data.msg,2)})},i.toCart=function(){h.d.get("".concat(API["base-api"],"/m/cart/addtopreorder/[").concat(Object(h.c)("id"),"]")).then(function(e){0===e.data.errno?i.props.history.push("/order?id=[".concat(Object(h.c)("id"),"]"),{bargain:1}):r.a.info(e.data.msg,2)})},i.toCartBottom=function(e){h.d.get("".concat(API["base-api"],"/m/cart/addtopreorder/[").concat(e,"]")).then(function(e){0===e.data.errno?i.props.history.push("/order?id=[".concat(Object(h.c)("id"),"]"),{bargain:1}):r.a.info(e.data.msg,2)})},i.getMore=function(){i.setState({isShowMore:!0})},i.boxHide=function(e){i.setState({isShowMore:e})},i.toArtifact=function(){var e=i.state.course.course_id,a=void 0===e?"":e,t={courseId:Object(h.c)("id")?Object(h.c)("id"):a};h.d.post("".concat(API.home,"/m/bargain/receiveLimit"),t).then(function(e){200===e.data.code?(i.setState({isShowOverlay:!0,status:5}),i.getBargainInfo()):r.a.info(e.data.msg,2)})},i.useArtifact=function(){var e=i.state.course.course_id,a=void 0===e?"":e,t=Object(h.c)("id")?Object(h.c)("id"):a;i.toKanjia(t,2,0)},i.toKanjia=function(e,a,t){var s={course_id:e,type:a,parent_uid:t};h.d.post("".concat(API.home,"/m/bargain/toBargain"),s).then(function(e){if(200===e.data.code)i.setState({amount:e.data.data.amount}),2===a&&(i.setState({isShowOverlay:!0,status:6}),i.getBargainInfo(),i.getBargainRankList("",1)),1===e.data.data.is_success?i.setState({isShowOverlay:!0,status:4}):2===e.data.data.is_success?3===a?i.setState({isShowOverlay:!0,status:2}):4===a&&i.setState({isShowOverlay:!0,status:1,firendBaigainPrice:!1}):0===e.data.data.is_success&&(3===a?i.setState({isShowOverlay:!0,status:2}):4===a&&i.setState({isShowOverlay:!0,status:3})),i.getBargainInfo(),i.getBargainRankList(Object(h.c)("id"),1);else if(4030==e.data.code||4040==e.data.code)if(h.b.isWeixin){var t=window.location.href;if(t.includes("code=")&&t.includes("state=STATE")){var s=t.lastIndexOf("code=");t=t.substr(0,s-1)}window.location.assign("https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=".concat(encodeURIComponent(t),"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect"))}else i.props.history.push("/passport");else r.a.info(e.data.msg,2)})},i.friendBargainFirst=function(){var e=i.state.course.course_id,a=void 0===e?"":e,t=Object(h.c)("id")?Object(h.c)("id"):a;i.toKanjia(t,3,i.state.originatorUid)},i.friendBargainSecond=function(){var e=i.state.course.course_id,a=void 0===e?"":e,t=Object(h.c)("id")?Object(h.c)("id"):a;i.toKanjia(t,4,i.state.originatorUid)},i.shareFriendBargain=function(){i.props.history.push("/bargain-middle-page?id=".concat(Object(h.c)("id"),"&bargaincode=").concat(Object(h.c)("bargaincode"),"&is_originator=1")),i.setState({isShowOverlay:!0,status:7,isshowYindao:!!h.b.isWeixin}),Object(h.i)({title:"\u6211\u53d1\u73b0\u4e00\u95e8\u597d\u8bfe\uff0c\u5feb\u6765\u5e2e\u6211\u780d\u4ef7\u5427\uff01",desc:"\u6211\u5df2\u7ecf\u780d\u4e86".concat(i.state.bargainData.bargain_price,"\u5143\uff0c\u770b\u770b\u4f60\u80fd\u780d\u591a\u5c11"),link:encodeURI(location.href),imgUrl:i.state.course.course_img})},i.close=function(){i.setState({isShowOverlay:!1,status:""})},i.toCourseDetail=function(e){var a=i.props;a.dispatch;return a.history.push("/detail?id=".concat(e)),!1},i.state={isShowOverlay:!1,isOriginator:"",kanjiaIcon:t(639),course:{},courseList:[],data:"",bargainData:"",limitPeople:0,outList:[],list:[],width:"0",isShowMore:"",status:"",hour:"",min:"",sec:"",day:"",amount:"",firendBaigainPrice:!0,isshowYindao:!1,isLoaidng:!0,imglink:"https://julyedu-img-public.oss-cn-beijing.aliyuncs.com/Public/Image/"},i}return Object(u.a)(a,e),Object(o.a)(a,[{key:"componentDidMount",value:function(){this.getBargainRankList(Object(h.c)("id"),1),this.getBargainCourse(),this.getBargainInfo()}},{key:"componentDidUpdate",value:function(e){var a=this.props.user,t=e.user;a.hasError||a.hasError===t.hasError||(this.getBargainRankList(Object(h.c)("id"),1),this.getBargainCourse(),this.getBargainInfo())}},{key:"render",value:function(){var e,a,t=this;0===this.state.bargainData.is_artifact?e=p.a.createElement("div",null,"\u518d\u9080\u8bf7",p.a.createElement("span",{className:"indicator"},this.state.bargainData.invite_num),"\u4f4d\u597d\u53cb\u52a9\u529b\u5373\u53ef\u83b7\u5f97",p.a.createElement("span",{className:"indicator"},"\u3010\u780d\u4ef7\u795e\u5668\u3011")):1===this.state.bargainData.is_artifact?(e=p.a.createElement("div",null,"\u606d\u559c\u4f60\u83b7\u5f97",p.a.createElement("span",{className:"indicator"},"\u3010\u780d\u4ef7\u795e\u5668\u3011")),a=p.a.createElement("button",{className:"artifact-btn",onClick:this.toArtifact},"\u7acb\u5373\u9886\u53d6")):2===this.state.bargainData.is_artifact&&(e=p.a.createElement("div",null,"\u606d\u559c\u4f60\u83b7\u5f97",p.a.createElement("span",{className:"indicator"},"\u3010\u780d\u4ef7\u795e\u5668\u3011")),a=p.a.createElement("button",{className:"artifact-btn",onClick:this.useArtifact},"\u7acb\u5373\u4f7f\u7528"));var i=this.state.data,s=i.is_originator,n=void 0===s?0:s,r=i.assist_status,c=void 0===r?0:r,o=i.bargain_status,l=void 0===o?0:o,m="";return n?m=0===l?p.a.createElement("button",{className:"active-btn",onClick:this.shareFriendBargain},"\u9080\u8bf7\u597d\u53cb\u780d\u4ef7"):p.a.createElement("button",{className:"invalid-btn"},"\u780d\u4ef7\u7ed3\u675f"):0===c&&0===l?m=p.a.createElement("button",{className:"active-btn",onClick:this.friendBargainFirst},"\u5e2e\u597d\u53cb\u780d\u4e00\u5200"):1===c&&0===l?m=p.a.createElement("button",{className:"active-btn",onClick:this.friendBargainSecond},"\u518d\u780d\u4e00\u5200"):2===c&&0===l?m=p.a.createElement("button",{className:"invalid-btn"},"\u5df2\u5e2e\u597d\u53cb\u52a9\u529b"):0!==l&&(m=p.a.createElement("button",{className:"invalid-btn"},"\u780d\u4ef7\u7ed3\u675f")),p.a.createElement("div",{className:"bargain-middle-page"},p.a.createElement(g.e,{title:"\u780d\u4ef7\u8be6\u60c5",arrow:!0,cart:!0,toHref:"/"}),p.a.createElement("div",{className:"top"},p.a.createElement("div",{className:"bargain-area"},1!==this.state.isOriginator&&p.a.createElement("p",{className:"bargain-tip"},"\u4f60\u7684\u597d\u53cb\u53d1\u73b0\u4e00\u95e8\u7cbe\u54c1\u8bfe\u7a0b\uff0c\u5feb\u6765\u4e00\u8d77\u5e2e\u4ed6\u780d\u4ef7\uff1a"),p.a.createElement("ul",null,p.a.createElement(g.j,{img:this.state.course.course_img,info:p.a.createElement(O,{isOriginator:this.state.isOriginator,data:this.state.data,toCart:this.toCart})})),p.a.createElement("div",{className:"bargain-detail"},(0==this.state.data.bargain_status||1==this.state.data.bargain_status)&&p.a.createElement("div",null,p.a.createElement("div",{className:"top"},p.a.createElement("div",null,"\u5df2\u780d",p.a.createElement("span",{className:"reduced-price"},this.state.bargainData.bargain_price,"\u5143")),0===this.state.data.bargain_status&&p.a.createElement("div",null,p.a.createElement("span",{className:"time hour"},String(this.state.hour).padStart(2,0))," :\xa0",p.a.createElement("span",{className:"time min"},String(this.state.min).padStart(2,0))," :\xa0",p.a.createElement("span",{className:"time sec"},String(this.state.sec).padStart(2,0)),p.a.createElement("span",{className:"inactive"}," \u540e\u780d\u4ef7\u7ed3\u675f")),1===this.state.data.bargain_status&&1===this.state.isOriginator&&p.a.createElement("span",{className:"inactive"},"\u780d\u4ef7\u7ed3\u675f")),p.a.createElement("div",{className:"middle"},p.a.createElement("span",{style:{width:this.state.width}}))),1===this.state.isOriginator&&0===this.state.data.bargain_status&&p.a.createElement("div",null,e,a),1===this.state.isOriginator&&1===this.state.data.bargain_status&&p.a.createElement("div",null,"\u780d\u4ef7\u91d1\u989d\u5c06\u4e8e",p.a.createElement("span",{className:"time hour"},String(this.state.day).padStart(2,0)),p.a.createElement("span",{className:"unit"}," \u5929 "),p.a.createElement("span",{className:"time min"},String(this.state.hour).padStart(2,0)),p.a.createElement("span",{className:"unit"}," \u65f6 "),p.a.createElement("span",{className:"time sec"},String(this.state.min).padStart(2,0)),p.a.createElement("span",{className:"unit"},"\u5206"),"\u540e\u6e05\u96f6\uff0c\u8bf7\u5c3d\u5feb\u5b8c\u6210\u652f\u4ed8"),p.a.createElement("div",{className:"button"},m))),p.a.createElement("div",{className:"bargain-records"},p.a.createElement("div",{className:"title"},"\u780d\u4ef7\u8bb0\u5f55"),p.a.createElement("ul",null,this.state.outList&&this.state.outList.length>0&&this.state.outList.map(function(e,a){return p.a.createElement("li",{key:a},p.a.createElement("div",{className:"left"},p.a.createElement("img",{className:"avatar",src:e.avatar_file,alt:""}),p.a.createElement("span",{className:"nickname"},e.user_name),p.a.createElement("span",{className:"rank-tag"},e.rank)),p.a.createElement("div",{className:"right"},p.a.createElement("img",{className:"kanjia-icon",src:t.state.kanjiaIcon,alt:""}),"\u780d\u6389",p.a.createElement("span",{className:"price"},e.amount)))})),p.a.createElement("div",{className:"more",onClick:this.getMore},"\u67e5\u770b\u66f4\u591a>>"))),p.a.createElement("div",{className:"bargain-course-list",id:"bargainCourse"},p.a.createElement("div",{className:"title-wrapper"},p.a.createElement("div",{className:"title"},"\u6211\u8981\u780d\u4ef7"),p.a.createElement("div",{className:"subtitle"},"\u9080\u8bf7",this.state.limitPeople,"\u4f4d\u4ee5\u4e0a\u597d\u53cb\u5e2e\u5fd9\u780d\u4ef7\u53ef\u83b7\u5f97\u3010\u780d\u4ef7\u795e\u5668\u3011")),p.a.createElement("ul",null,this.state.courseList&&this.state.courseList.length>0&&this.state.courseList.map(function(e,a){return p.a.createElement(g.d,{className:"text-overflow-2",key:a,id:e.course_id,img:e.image_name,title:e.course_title,toDetail:t.toCourseDetail,bottom:p.a.createElement(U,{user:t.props.user,item:e,toCartBottom:t.toCartBottom.bind(t,e.course_id),toDetail:t.toCourseDetail})})}))),p.a.createElement(b.b,{to:"/classify",className:"preferential"},"\u67e5\u770b\u66f4\u591a\u7cbe\u54c1\u8bfe\u7a0b >>"),p.a.createElement(f.a,{list:this.state.list,icon:this.state.kanjiaIcon,limitPeople:this.state.limitPeople,isShowMore:this.state.isShowMore,boxHide:this.boxHide}),this.state.isShowOverlay&&p.a.createElement(j.a,null,p.a.createElement("div",{className:"bargain-popup__content"},7===this.state.status&&p.a.createElement(x,{isshowYindao:this.state.isshowYindao,limitPeople:this.state.limitPeople,close:this.close}),1===this.state.status&&p.a.createElement(C,{userInfo:this.props.user.data,money:this.state.amount,firendBaigainPrice:this.state.firendBaigainPrice}),2===this.state.status&&p.a.createElement(w,{bargainSecond:this.friendBargainSecond,money:this.state.amount}),3===this.state.status&&p.a.createElement(D,{close:this.close,money:this.state.amount}),4===this.state.status&&p.a.createElement(L,{close:this.close,limitPeople:this.state.limitPeople}),5===this.state.status&&p.a.createElement(T,{useArtifact:this.useArtifact}),6===this.state.status&&p.a.createElement(I,{toCart:this.toCart,money:this.state.amount,allMoney:this.state.bargainData.bargain_price}),7!==this.state.status&&p.a.createElement("i",{onClick:this.close,className:"iconfont iconiconfront-2 bargain-popup__button--close"}))))}}]),a}(d.Component))||i;function O(e){var a=e.data,t=a.bargain_status,i=void 0===t?0:t,s=a.course,n=void 0===s?{}:s,r=a.is_originator,c=void 0===r?0:r,o=e.toCart;return p.a.createElement("div",{className:"des"},p.a.createElement("div",{className:"course-title text-overflow-2"},n.course_title),p.a.createElement("div",{className:"price-bar"},p.a.createElement("span",{className:"discount-price"},"\uffe5",n.course_price),1==c&&3!=i&&p.a.createElement("button",{className:"purchase-btn",onClick:o},"\xa5",n.pay_price,"\u53bb\u652f\u4ed8"),1==c&&3==i&&p.a.createElement("span",{className:"course-button__buy--done"},"\u5df2\u8d2d\u4e70")))}function U(e){var a,t=e.item||{},i=t.course_id,s=void 0===i?"":i,n=t.bargain_status,r=void 0===n?"":n,c=t.price1,o=void 0===c?"":c,l=t.pay_price,m=void 0===l?"":l,u=e.user.data,d=2===r?o:m;return a=(void 0===u?{}:u).uid?2===e.item.bargain_status?p.a.createElement("div",{className:""},p.a.createElement("a",{onClick:function(){return e.toDetail(e.item.course_id)},className:"bargain bargian-study"},"\u6211\u8981\u780d\u4ef7")):3===r?139===s?p.a.createElement("a",{onClick:function(){return e.toDetail(e.item.course_id)},className:"bargain bargian-study"},"\u6211\u8981\u780d\u4ef7"):p.a.createElement(b.b,{to:"/play/video?id=".concat(e.item.v_course_id),className:S()("bargain","button--study")},"\u53bb\u5b66\u4e60"):p.a.createElement("div",{className:"btns"},1===r&&p.a.createElement("button",{className:"invalid"},"\u780d\u4ef7\u7ed3\u675f"),0===r&&p.a.createElement("a",{onClick:function(){return e.toDetail(e.item.course_id)},className:"bargain-btn"},"\u7ee7\u7eed\u780d\u4ef7"),p.a.createElement("button",{onClick:function(){return e.toCartBottom(e.item.course_id)},className:"purchase-btn"},"\xa5",d,"\u53bb\u652f\u4ed8")):p.a.createElement("a",{onClick:function(){return e.toDetail(e.item.course_id)},className:"bargain bargian-study"},"\u6211\u8981\u780d\u4ef7"),p.a.createElement("div",{className:"course-bottom"},p.a.createElement("div",{className:"course-price"},p.a.createElement("span",{className:"discount-price"},"\xa5",e.item.price1),p.a.createElement("span",{className:"original-price"},"\xa5",e.item.price0)),a)}function w(e){return p.a.createElement("div",{className:"bargain-first"},p.a.createElement("img",{className:"top-img",src:t(688),alt:""}),p.a.createElement("p",{className:"status-title"},"\u8c22\u8c22\u4f60\u5e2e\u6211\u780d\u4e86",p.a.createElement("span",{className:"ff4"},e.money,"\u5143"),"\uff01"),p.a.createElement("p",{className:"status-dec"},"\u4f60\u8fd8\u53ef\u4ee5\u5e2e\u6211\u518d\u780d\u4e00\u5200\u54e6~"),p.a.createElement("button",{className:"bargain-href",onClick:e.bargainSecond},"\u518d\u780d\u4e00\u5200"))}function D(e){return p.a.createElement("div",{className:"bargain-second"},p.a.createElement("img",{className:"top-img",src:t(688),alt:""}),p.a.createElement("p",{className:"status-title"},"\u5389\u5bb3\u4e86\uff0c\u53c8\u5e2e\u597d\u53cb\u780d\u6389",p.a.createElement("span",{className:"ff4"},e.money,"\u5143"),"\uff01"),p.a.createElement("a",{className:"bargain-href",href:"#bargainCourse",onClick:e.close},"\u6211\u4e5f\u8981\u780d\u4ef7"))}function L(e){return p.a.createElement("div",{className:"not-bargain"},p.a.createElement("img",{className:"middle-img",src:t(913),alt:""}),p.a.createElement("p",{className:"status-title"},"\u4f60\u7684\u597d\u53cb\u7528\u3010\u780d\u4ef7\u795e\u5668\u3011\u628a\u6211\u780d\u8499\u5708\u4e86",p.a.createElement("br",null),"\u4e0d\u80fd\u518d\u780d\u4e86\u54e6~"),p.a.createElement("p",{className:"status-dec"},"\u9080\u8bf7",e.limitPeople,"\u4f4d\u4ee5\u4e0a\u597d\u53cb\u5e2e\u5fd9\u780d\u4ef7\u53ef\u83b7\u5f97\u3010\u780d\u4ef7\u795e\u5668\u3011"),p.a.createElement("a",{className:"bargain-href",href:"#bargainCourse",onClick:e.close},"\u6211\u4e5f\u8981\u780d\u4ef7"))}function T(e){return p.a.createElement("div",{className:"artifact-box"},p.a.createElement("p",{className:"top-tip"},"\u606d\u559c\u4f60\u83b7\u5f97\u3010\u780d\u4ef7\u795e\u5668\u3011\uff01"),p.a.createElement("p",{className:"middle-tip"},"\u60a8\u53ef\u4ee5\u4f7f\u7528",p.a.createElement("span",{className:"indicator"},"\u3010\u780d\u4ef7\u795e\u5668\u3011"),"\u518d\u780d\u4e00\u5200"),p.a.createElement("button",{className:"use-artifact",onClick:e.useArtifact},"\u7acb\u5373\u4f7f\u7528"))}function I(e){return p.a.createElement("div",{className:"use-artifact-box"},p.a.createElement("img",{className:"top-img",src:t(688),alt:""}),p.a.createElement("p",{className:"top-tip"},"\u5389\u5bb3\u4e86\uff0c\u53c8\u780d\u6389\u4e86",e.money,"\u5143\uff01"),p.a.createElement("p",{className:"middle-tip"},"\u4f60\u5df2\u7ecf\u780d\u4e86",p.a.createElement("span",{className:"indicator"},e.allMoney,"\u5143"),"\u6ca1\u89c1\u8fc7\u4f60\u8fd9\u4e48\u80fd\u780d\u7684\u4eba..."),p.a.createElement("p",{className:"btm-tip"},"\u4e0d\u80fd\u518d\u780d\u4e86\u54e6~"),p.a.createElement("button",{className:"tubuy",onClick:e.toCart},"\u53bb\u652f\u4ed8"))}function x(e){return p.a.createElement("div",null,p.a.createElement("div",{className:"close-bargain-success",onClick:e.close}),p.a.createElement("div",{className:"bargain-success"},e.isshowYindao&&p.a.createElement("i",{className:"iconfont iconyindao"}),p.a.createElement("p",null,"\u5206\u4eab\u5230\u5fae\u4fe1\u7fa4\u9080\u8bf7\u66f4\u591a\u597d\u53cb\u5e2e\u5fd9\u780d\u4ef7"),p.a.createElement("p",null,"\u8d85\u8fc7",e.limitPeople,"\u4f4d\u597d\u53cb\u52a9\u529b\u53ef\u83b7\u5f97",p.a.createElement("span",{className:"indicator",style:{color:"#FF4000"}},"\u3010\u780d\u4ef7\u795e\u5668\u3011"),"\u54e6")))}a.default=Object(v.g)(B)},639:function(e,a){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAA51BMVEUAAAD3yyr4zCr60jD61DT4zSz4zi360C770jL93jn94UH3yin4yyz4ziz4zi34zS361TX50i/50jD61DP72Dj61jP+4kH+4ED4zCv3zCz4zSz4zS350jL61jb61jT6zir50DH83Dz71DP83Dj+5ET2zDD50C77zyj93j/930H82zv3yir3yCj/6072xib3yyv/6kz2xiT/7lD/8FL2wyL2xCP/8VT/7E//8lb83T74zS32wiH/81b/6Er71zj94kT72zz50zP+5kj84EH/9Vj+5Uf61TX50TH83j/4zy//9Ff3xyb0vBpXStORAAAAK3RSTlMA8+yrk9q7gTsdBPfnysGyoJ+IhWhMFg3w5d7QvKSbmI9eWich+nxTRjARluH5lgAAAm5JREFUOMt1lddi4jAQRYVp6b1vspvdZKvG6pI7NjWQ7P9/T7BFQBBzXnjw0YyvxhJonZ1fzcODRuPgsNndQVvZPW9DCca4/Lk7e6rV/rUwIdiBcNy6+uz98DjgDYDffN/0WsTR3Kpf171j13MB3Vn38Fb0/cr7BpsdgeIl6uTD++16FDQhMQanu1okuv4JjpbAkMZm4JoEX9vGxFmNJ9Eoy1KGyeodaPJQelfUWZz0RpIJIYeEa0WAx7RaDrtz8Yw4TWIh/JIgm0b5hOayp6s8rbnoOQV5njK/QozGLJ+lr0NeFbhBaMeNzPsi8C1hL+E9IwcAlfkHdcGdbWSsxoTpFy+FEZlNoM/RsStC5NuKwYD1BybzBbMiv0df3NaQTM1H45hJwURmN/StjTx3KupFBkIGzJfFbFIWN2NSieCh/bURMynHPSl8EfmSlZULZR81UMMRk2nqh5P/UeiznJUvK8SMf4ie07hvAjPmhA8My6rs6VBji+eEIYTJQL5omvRNFZ6ZAMgi5R1qLieoopCFQ1Xu0kBW0UWs6aLIEeqSZWITCEF5uaQIfV+mWayW3c7sCG1jw8IiqeYwGYWSFW+cLsXL5UehpimTzL4TxMOoDwpWXmMPoUeySCzm81DUfudcu6ec6vLQ7gLYrWZm7Dx1AXhGc044xjpKWbU1dR5VTXu4MGCdj9hrrnEtBK4W1w7BfCZefcrrG6sLtOCUUB73KKe1om1sOQJMFKn39CFy6BBcD/CjPeRyuuXa0w9og4v9zyro/YuaG/wUr6uEw8kzquPp8dbe9fayv239RdvYu+x22vO/D6/dOb9cD/EONO7gZ+bVU9IAAAAASUVORK5CYII="},640:function(e,a,t){"use strict";var i=t(5),s=t(7),n=t(6),r=t(8),c=t(9),o=t(0),l=t.n(o),m=t(21),u=t.n(m),d=(t(687),document.body||document.documentElement),p=["touchmove","mousewheel"],g=function(e){function a(e){var t;return Object(i.a)(this,a),(t=Object(n.a)(this,Object(r.a)(a).call(this,e))).preventScroll=function(e){e.preventDefault()},t.overlayBox=null,t}return Object(c.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){var e=this;p.forEach(function(a){e.overlayBox.addEventListener(a,e.preventScroll,{passive:!1})})}},{key:"componentWillUnmount",value:function(){var e=this;p.forEach(function(a){e.overlayBox.removeEventListener(a,e.preventScroll)})}},{key:"render",value:function(){var e=this;return u.a.createPortal(l.a.createElement("div",{className:"overlay",ref:function(a){return e.overlayBox=a},style:{top:"".concat(window.scrollY,"px")}},this.props.children),d)}}]),a}(o.Component);a.a=g},685:function(e,a,t){"use strict";var i=t(5),s=t(7),n=t(6),r=t(8),c=t(9),o=t(0),l=t.n(o),m=(t(686),function(e){function a(e){var s;return Object(i.a)(this,a),(s=Object(n.a)(this,Object(r.a)(a).call(this,e))).closeMore=function(){s.props.boxHide(!1)},s.state={kanjiaIcon:t(639)},s}return Object(c.a)(a,e),Object(s.a)(a,[{key:"render",value:function(){return l.a.createElement("div",{className:"ranking-box"},this.props.isShowMore&&l.a.createElement(u,{list:this.props.list,limitPeople:this.props.limitPeople,closeMore:this.closeMore,img:this.props.icon}))}}]),a}(o.Component));function u(e){return l.a.createElement("div",{className:"moreMbc"},l.a.createElement("div",{className:"content"},l.a.createElement("div",{className:"title-box"},"\u597d\u53cb\u52a9\u529b\u8be6\u60c5"),l.a.createElement("ul",{className:"more-bargain-list"},e.list&&e.list.length>0&&e.list.map(function(a,t){return l.a.createElement("li",{key:t,className:"bargain-item"},l.a.createElement("img",{className:"avatar",src:a.avatar_file,alt:""}),l.a.createElement("p",{className:"name"},a.user_name),l.a.createElement("p",{className:"bargain-status"},l.a.createElement("img",{className:"kanjia-icon",src:e.img,alt:""}),"\u780d\u6389",l.a.createElement("span",{className:"price"},a.amount)))})),l.a.createElement("div",{className:"more-bargain-dec"},"\u8d85\u8fc7",e.limitPeople,"\u4f4d\u597d\u53cb\u52a9\u529b\u53ef\u83b7\u5f97\u3010\u780d\u4ef7\u795e\u5668\u3011")),l.a.createElement("i",{onClick:e.closeMore,className:"iconfont iconiconfront-2 close"}))}a.a=m},686:function(e,a,t){},687:function(e,a,t){},688:function(e,a,t){e.exports=t.p+"mrstatic/media/kanjia_cg_icon.81a489ac.png"},911:function(e,a,t){},912:function(e,a,t){},913:function(e,a){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGUAAABmCAMAAADlNq9TAAAC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BQtBGBBHBxlKwUzyCt3jNMrYBDXY2c4Itt9lyNycIKcSbqUEhEyxMYL8LTPEPb03KAUkcSVkgiR0pYyQxImWKFPakTZDChlpmSGBLLRt8mcqWD1egjzxTr7+kljU+7J0lBOESnV0jM0u0uYr/K/+NhZld7gM68+JsFOGQoTanttUAtUr4JcL6HlccHvxmG/uiDVEz3gnfKxNP6KzwcMws4dzIom2/AS/mApgcPRSZsaW7WZVF2eEvz1bqZ0VBKIrj+NkILhLdSBBpROZKhtoV7QyKmHmKw8GW81AudJfaX4Ji6MlmIqaUbveY9Vnd3ZffWdxwtduHWIoKAh3knY50FpfqdEHAQ9Yqo4toj7wpCDT4CF1lJ2Q1Kl0sjOhmO0dWG+4YyIkp7wdZLbjTYqdklLfhx5gVKjsq2iPHrnCx+DIhTdJIcjJmCygotyWidB2crc/vI3J8uKeiXER0CP4lREtkdEBghnJESXCT8pURCBjclk2Qs8jYig4iDkotD0FeEnMHq4GIr6BMvChU1jv2sxTro8yqWFmE7BQxzUOJ+XcRylnwiDHGd3HgsZqK7/GhgYyr4Bv0gWFMX+40TOAZvSG+YKhrUIpmOx2sRrU0KE8b9CfK04mZD0/TvqzupNz1FM9xzTZU1/YH9qfu9prOSPXG9Tr+UerDsaeOnGbP1S3bbNXggV9XIWYP5SLNCwAAAABJRU5ErkJggg=="}}]);
//# sourceMappingURL=BargainMiddlePage.5792095d.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/bargainMiddlePage/barcode/index.js","components/bargainMiddlePage/index.js","components/bargainMiddlePage/image/kanjia_icon.png","components/detail/overlay/index.js","components/bargainMiddlePage/ranking/index.js","components/bargainMiddlePage/image/kanjia_cg_icon.png","components/bargainMiddlePage/image/kanjia_no_iccon.png"],"names":["FollowBarcode","props","_this","Object","classCallCheck","this","possibleConstructorReturn","getPrototypeOf","call","state","url","codeUrl","_this2","console","log","_this$props$userInfo$","userInfo","uid","http","get","concat","API","then","res","_res$data","data","errno","setState","Promise","resolve","QRCode","toDataURL","err","_this$props","firendBaigainPrice","avatar","money","react_default","a","createElement","className","style","backgroundImage","src","alt","Component","BargainMiddlePage","connect","user","getBargainInfo","home","getParam","code","isOriginator","is_originator","originatorUid","originator_uid","course","limitPeople","limit_people","bargainData","bargain","width","bargain_price","total_price","toFixed","expire_time","date","now","Date","clearInterval","timer","setInterval","_d","s","differenceInSeconds","m","differenceInMinutes","h","differenceInHours","d","differenceInDays","hour","min","sec","day","toast_default","info","msg","getBargainCourse","courseList","getBargainRankList","courseId","arguments","length","undefined","type","bargain_code","post","arr","newList","out_list","map","item","i","objectSpread","rank","list","outList","toCart","history","push","toCartBottom","id","getMore","isShowMore","boxHide","val","toArtifact","_this$state$course$co","course_id","isShowOverlay","status","useArtifact","_this$state$course$co2","toKanjia","parent_uid","amount","is_success","browser","isWeixin","redirectURI","window","location","href","includes","index","lastIndexOf","substr","assign","encodeURIComponent","friendBargainFirst","_this$state$course$co3","friendBargainSecond","_this$state$course$co4","shareFriendBargain","isshowYindao","wxShare","title","desc","link","encodeURI","imgUrl","course_img","close","toCourseDetail","dispatch","kanjiaIcon","require","isLoaidng","imglink","prevProps","prevUser","hasError","thirdRow","btn","is_artifact","invite_num","onClick","_this$state$data","_this$state$data$is_o","_this$state$data$assi","assist_status","_this$state$data$barg","bargain_status","bargainBtn","common","arrow","cart","toHref","img","CourseDes","String","padStart","key","avatar_file","user_name","image_name","course_title","toDetail","bottom","CourseBottom","bind","react_router_dom","to","ranking","icon","overlay","BargainSuccess","bargainMiddlePage_barcode","BargainFirst","bargainSecond","BargainSecond","NotBargain","Artifact","UseArtifact","allMoney","_props$data","_props$data$bargain_s","_props$data$course","_props$data$is_origin","course_price","pay_price","Buttons","_ref","_ref$course_id","_ref$bargain_status","_ref$price","price1","_ref$pay_price","_props$user$data","price","v_course_id","classnames","price0","color","withRouter","module","exports","root","document","body","documentElement","events","Overlay","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__","preventScroll","e","preventDefault","overlayBox","forEach","addEventListener","passive","_this3","removeEventListener","_this4","ReactDom","createPortal","react__WEBPACK_IMPORTED_MODULE_5___default","ref","el","top","scrollY","children","Ranking","closeMore","MoreList","__webpack_require__","p"],"mappings":"kTAyDeA,sBAlDb,SAAAA,EAAYC,GAAO,IAAAC,EAAA,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAL,IACjBE,EAAAC,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAH,GAAAQ,KAAAH,KAAMJ,KACDQ,MAAQ,CACXC,IAAK,GACLC,QAAS,IAJMT,mFAQC,IAAAU,EAAAP,KAClBQ,QAAQC,IAAIT,KAAKJ,OADC,IAAAc,EAEiBV,KAAKJ,MAAhCe,SAAYC,WAFF,IAAAF,EAEQ,GAFRA,EAGfE,GACDC,IAAKC,IAAL,GAAAC,OAAYC,IAAI,YAAhB,8BAAAD,OAAwDH,IAAOK,KAAK,SAACC,GAAQ,IAAAC,EACnDD,EAAIE,KAApBC,EADmEF,EACnEE,MAAOD,EAD4DD,EAC5DC,KAEf,GADAZ,QAAQC,IAAIS,GACC,GAATG,EAAY,CACdd,EAAKe,SAAS,CACZjB,IAAKe,EAAKf,MAEZ,IAAMR,EAAQU,EACd,OAAO,IAAIgB,QAAQ,SAAAC,GACjBC,IAAOC,UAAUN,EAAKf,IAAK,GAAI,SAAUsB,EAAKtB,GAC5CR,EAAMyB,SAAS,CACbhB,QAASD,MAGbmB,0CAOD,IACClB,EAAYN,KAAKI,MAAjBE,QADDsB,EAEqD5B,KAAKJ,MAAzDiC,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G,KAAKL,IAAI,SAACC,EAAMiC,GACzD,OACIkH,EAAApN,EAAAC,cAAA,MAAIiJ,IAAKhD,EAAOhG,UAAU,gBACtBkN,EAAApN,EAAAC,cAAA,OAAKC,UAAU,SAASG,IAAK4D,EAAKkF,YAAa7I,IAAI,KACnD8M,EAAApN,EAAAC,cAAA,KAAGC,UAAU,QAAQ+D,EAAKmF,WAC1BgE,EAAApN,EAAAC,cAAA,KAAGC,UAAU,kBACTkN,EAAApN,EAAAC,cAAA,OAAKC,UAAU,cAAcG,IAAK1C,EAAMmL,IAAKxI,IAAI,KADrD,eAEM8M,EAAApN,EAAAC,cAAA,QAAMC,UAAW,SAAU+D,EAAKwB,aAO1D2H,EAAApN,EAAAC,cAAA,OAAKC,UAAU,oBAAf,eACOvC,EAAMyD,YADb,yFAIJgM,EAAApN,EAAAC,cAAA,KAAGiI,QAASvK,EAAMgQ,UAAWzN,UAAW,oCAKrCwN,uEC9Df7B,EAAAC,QAAiB+B,EAAAC,EAAuB,4GCAxCjC,EAAAC,QAAA","file":"mrstatic/js/BargainMiddlePage.5792095d.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport QRCode from 'qrcode';\nimport { http } from \"@/utils\"\nimport './index.scss';\n\nclass FollowBarcode extends Component {\n\n constructor(props) {\n super(props);\n this.state = {\n url: '',\n codeUrl: ''\n }\n }\n\n componentDidMount() {\n console.log(this.props);\n const { userInfo: { uid = '' } } = this.props;\n if(uid) {\n http.get(`${API['base-api']}/wx/user_temporary_qrcode/${uid}`).then((res) => {\n const { errno, data } = res.data;\n console.log(res);\n if (errno == 0) {\n this.setState({\n url: data.url\n });\n const _this = this;\n return new Promise(resolve => {\n QRCode.toDataURL(data.url, {}, function (err, url) {\n _this.setState({\n codeUrl: url\n });\n });\n resolve();\n });\n }\n });\n }\n }\n\n render() {\n const { codeUrl } = this.state;\n const { firendBaigainPrice, userInfo: { avatar }, money } = this.props;\n return (\n <div className='bargain-popup__barcode'>\n <i className='bargain-popup__avatar' style={{backgroundImage: `url(${avatar})`}} />\n {\n firendBaigainPrice &&\n <p className='bargain-popup__title'>谢谢你帮我砍了{money}元!</p>\n }\n <p className='bargain-popup__desc'>关注公众号,可以再砍一刀哦~</p>\n <img className=\"bargain-popup__imgage\" src={codeUrl} alt=\"\" />\n </div>\n );\n }\n}\n\nexport default FollowBarcode;","import React, {Component} from 'react'\nimport './bargain-middle-page.scss'\nimport {HeaderBar, VList} from '@common'\nimport {Course} from '@common'\nimport {api, getParam, http, browser, wxShare} from \"@/utils\"\nimport {Toast} from \"antd-mobile\"\nimport {Link, withRouter} from \"react-router-dom\"\nimport Ranking from './ranking'\nimport {differenceInSeconds, differenceInMinutes, differenceInHours, differenceInDays} from \"date-fns\"\nimport Overlay from '../detail/overlay'\nimport {compose} from \"redux\"\nimport {connect} from \"react-redux\";\nimport {getCourses} from './../detail/actions';\nimport classnames from 'classnames';\nimport FollowBarcode from './barcode/index';\n\n@connect(state => ({\n user: state.user\n}))\nclass BargainMiddlePage extends Component {\n\n timer\n\n constructor(props) {\n super(props)\n this.state = {\n isShowOverlay: false,\n isOriginator: '',\n kanjiaIcon: require('./image/kanjia_icon.png'),\n course: {}, // 当前砍价课程\n courseList: [], // 所有砍价课程\n data: '',\n bargainData: '',\n limitPeople: 0,\n outList: [],\n list: [],\n width: '0',\n isShowMore: '',\n status: '',\n hour: '',\n min: '',\n sec: '',\n day: '',\n amount: '', // 每次砍掉的价格\n firendBaigainPrice: true,\n isshowYindao: false,\n isLoaidng: true,\n imglink: 'https://julyedu-img-public.oss-cn-beijing.aliyuncs.com/Public/Image/',\n }\n }\n\n componentDidMount() {\n this.getBargainRankList(getParam('id'), 1)\n this.getBargainCourse()\n this.getBargainInfo()\n }\n\n componentDidUpdate(prevProps) {\n let {user} = this.props\n let {user: prevUser} = prevProps\n if(!user.hasError && user.hasError !== prevUser.hasError){\n this.getBargainRankList(getParam('id'), 1)\n this.getBargainCourse()\n this.getBargainInfo()\n }\n }\n\n\n // 获取砍价信息\n getBargainInfo = () => {\n // is_originator 来源,0-PC端扫码 1-M端分享 2-APP端分享\n http.get(`${API.home}/m/bargain/info?bargaincode=${getParam('bargaincode')}&is_originator=${getParam('is_originator')}`).then((res) => {\n if (res.data.code === 200) {\n this.setState(\n {\n data: res.data.data,\n isOriginator: res.data.data.is_originator,\n originatorUid: res.data.data.originator_uid,\n course: res.data.data.course,\n limitPeople: res.data.data.course.limit_people,\n bargainData: res.data.data.bargain,\n width: (res.data.data.bargain.bargain_price / res.data.data.bargain.total_price).toFixed(2) * 100 + '%'\n },\n () => {\n if (this.state.bargainData.expire_time) {\n let date = this.state.bargainData.expire_time * 1000\n let now = Date.now()\n clearInterval(this.timer)\n this.timer = setInterval(() => {\n date -= 1000\n let _d = new Date(date)\n let s = differenceInSeconds(_d, now) % 60,\n m = differenceInMinutes(_d, now) % 60,\n h = differenceInHours(_d, now) % 24,\n d = differenceInDays(_d, now) % 24\n this.setState({\n hour: h,\n min: m,\n sec: s,\n day: d\n })\n\n }, 1000)\n }\n }\n )\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n\n // 获取砍价课程\n getBargainCourse = () => {\n http.get(`${API.home}/m/bargain/courseList`).then((res) => {\n if (res.data.code === 200) {\n this.setState({\n courseList: res.data.data\n })\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n\n // 获取助理好友\n getBargainRankList = (id = '', type) => {\n const bargain_code = getParam('bargaincode') || '';\n let data = {\n courseId: id,\n type: type,\n bargain_code\n }\n http.post(`${API.home}/m/bargain/rankList`, data).then((res) => {\n if (res.data.code === 200) {\n let arr = ['刀神', '刀王', '刀霸']\n let newList = res.data.data.out_list.map((item, i) => {\n return {\n ...item,\n rank: arr[i]\n }\n })\n this.setState({\n list: res.data.data.list,\n outList: newList\n })\n } else if (res.data.code == 4030 || res.data.code == 4040) {\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n\n // 直接支付\n toCart = () => {\n http.get(`${API['base-api']}/m/cart/addtopreorder/[${getParam('id')}]`).then((res) => {\n if (res.data.errno === 0) {\n this.props.history.push(`/order?id=[${getParam('id')}]`, {bargain: 1});\n } else {\n Toast.info(res.data.msg, 2);\n }\n })\n // let data = {\n // course_id: getParam('id')\n // }\n // http.post(`${API.home}/m/cart/add`, data).then((res) => {\n // if (res.data.code === 200 || res.data.code === 15001) {\n // this.props.history.push('/shopcart')\n // } else {\n // Toast.info(res.data.msg, 2);\n // }\n // })\n }\n\n // 我要砍价列表的去支付\n toCartBottom = (id) => {\n http.get(`${API['base-api']}/m/cart/addtopreorder/[${id}]`).then((res) => {\n if (res.data.errno === 0) {\n this.props.history.push(`/order?id=[${getParam('id')}]`, {bargain: 1});\n } else {\n Toast.info(res.data.msg, 2);\n }\n })\n // http.post(`${API.home}/m/cart/add`, data).then((res) => {\n // if (res.data.code === 200 || res.data.code === 15001) {\n // this.props.history.push('/shopcart')\n // } else {\n // Toast.info(res.data.msg, 2);\n // }\n // })\n }\n\n // 查看更多\n getMore = () => {\n this.setState({\n isShowMore: true\n })\n }\n\n // 自组件传给父组件的boxHide\n boxHide = (val) => {\n this.setState({isShowMore: val})\n }\n\n // 领取砍价神器\n toArtifact = () => {\n const { course: { course_id = '' } } = this.state;\n let data = {\n courseId: getParam('id')? getParam('id') : course_id\n }\n http.post(`${API.home}/m/bargain/receiveLimit`, data).then((res) => {\n if (res.data.code === 200) {\n this.setState({\n isShowOverlay: true,\n status: 5,\n });\n this.getBargainInfo();\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n\n // 使用砍价神器\n useArtifact = () => {\n const { course: { course_id = '' } } = this.state;\n const id = getParam('id')? getParam('id') : course_id;\n this.toKanjia(id, 2, 0);\n }\n\n // 砍价接口\n toKanjia = (id, type, uid) => {\n let data = {\n course_id: id,\n type: type, // 1 用户自己砍价 2 使用砍价神器 3 好友助力砍价 4 好友第二次助力\n parent_uid: uid // 被助力人id 【自己本人操作传0】\n }\n http.post(`${API.home}/m/bargain/toBargain`, data).then((res) => {\n if (res.data.code === 200) {\n\n // is_success =0一切正常 =1 不能在砍了 =2关注公众号,可以再砍一刀!\n this.setState({\n amount: res.data.data.amount\n })\n if (type === 2) {\n this.setState({\n isShowOverlay: true,\n status: 6\n });\n this.getBargainInfo();\n this.getBargainRankList('', 1);\n }\n\n if (res.data.data.is_success === 1) {\n this.setState({\n isShowOverlay: true,\n status: 4\n })\n } else if (res.data.data.is_success === 2) {\n if (type === 3) {\n this.setState({\n isShowOverlay: true,\n status: 2\n })\n } else if (type === 4) {\n this.setState({\n isShowOverlay: true,\n status: 1,\n firendBaigainPrice: false\n })\n }\n } else if (res.data.data.is_success === 0) {\n if (type === 3) {\n this.setState({\n isShowOverlay: true,\n status: 2\n })\n } else if (type === 4) {\n this.setState({\n isShowOverlay: true,\n status: 3\n })\n }\n }\n\n this.getBargainInfo()\n this.getBargainRankList(getParam('id'), 1)\n\n\n } else if (res.data.code == 4030 || res.data.code == 4040) {\n if (browser.isWeixin) {\n let redirectURI = window.location.href\n if (redirectURI.includes('code=') && redirectURI.includes('state=STATE')) {\n let index = redirectURI.lastIndexOf('code=');\n redirectURI = redirectURI.substr(0, index - 1);\n }\n window.location.assign(`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=${encodeURIComponent(redirectURI)}&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`)\n } else {\n this.props.history.push('/passport')\n }\n\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n\n\n // 帮好友砍价第一刀\n friendBargainFirst = () => {\n const { course: { course_id = '' } } = this.state;\n const id = getParam('id')? getParam('id') : course_id;\n this.toKanjia(id, 3, this.state.originatorUid);\n }\n\n // 帮好友砍价第二刀\n friendBargainSecond = () => {\n const { course: { course_id = '' } } = this.state;\n const id = getParam('id')? getParam('id') : course_id;\n this.toKanjia(id, 4, this.state.originatorUid);\n }\n\n // 邀请好友砍价\n shareFriendBargain = () => {\n const { history } = this.props;\n history.push(`/bargain-middle-page?id=${getParam('id')}&bargaincode=${getParam('bargaincode')}&is_originator=1`);\n this.setState({\n isShowOverlay: true,\n status: 7,\n isshowYindao: browser.isWeixin ? true : false\n });\n\n wxShare({\n title: `我发现一门好课,快来帮我砍价吧!`,\n desc: `我已经砍了${this.state.bargainData.bargain_price}元,看看你能砍多少`,\n link: encodeURI(location.href),\n imgUrl: this.state.course.course_img,\n });\n }\n\n // 关闭弹窗\n close = () => {\n this.setState({\n isShowOverlay: false,\n status: '',\n });\n }\n\n toCourseDetail = (id) => {\n const {dispatch, history} = this.props;\n // dispatch(getCourses(id, () => {\n history.push(`/detail?id=${id}`);\n return false;\n // }));\n }\n\n render() {\n // console.log(this.props);\n let thirdRow, btn\n // is_artifact\t 0-再邀请多少人可以使用 1-可以使用未领取 2-已领取 3-已使用\n if (this.state.bargainData.is_artifact === 0) {\n thirdRow =\n <div>再邀请<span className={'indicator'}>{this.state.bargainData.invite_num}</span>位好友助力即可获得<span\n className={'indicator'}>【砍价神器】</span></div>\n } else if (this.state.bargainData.is_artifact === 1) {\n thirdRow = <div>恭喜你获得<span className={'indicator'}>【砍价神器】</span></div>\n btn = <button className={'artifact-btn'} onClick={this.toArtifact}>立即领取</button>\n } else if (this.state.bargainData.is_artifact === 2) {\n thirdRow = <div>恭喜你获得<span className={'indicator'}>【砍价神器】</span></div>\n btn = <button className={'artifact-btn'} onClick={this.useArtifact}>立即使用</button>\n }\n\n const { data: { is_originator = 0, assist_status = 0, bargain_status = 0 } } = this.state;\n let bargainBtn = '';\n // assist_status 助力状态 0-未助力,1-已助力一次 2-已助力两次,不能再助力\n // is_originator 是否发起人 0-否 1-是\n // bargain_status 砍价状态 0-砍价中,1砍价结束,待支付,2砍价过期(没有砍价记录没有砍价信息),3已购买\n if(is_originator) {\n if(bargain_status === 0) {\n bargainBtn = <button className='active-btn' onClick={this.shareFriendBargain}>邀请好友砍价</button>\n }\n else {\n bargainBtn = <button className={'invalid-btn'}>砍价结束</button>\n }\n }else {\n if(assist_status === 0 && bargain_status === 0) {\n bargainBtn = <button className='active-btn' onClick={this.friendBargainFirst}>帮好友砍一刀</button>\n }else if (assist_status === 1 && bargain_status === 0) {\n bargainBtn = <button className='active-btn' onClick={this.friendBargainSecond}>再砍一刀</button>\n }else if (assist_status === 2 && bargain_status === 0) {\n bargainBtn = <button className={'invalid-btn'}>已帮好友助力</button>\n }else if (bargain_status !== 0) {\n bargainBtn = <button className={'invalid-btn'}>砍价结束</button>\n }\n }\n\n // if (this.state.isOriginator !== 1 && this.state.data.assist_status === 0 && this.state.data.bargain_status === 0) {\n // bargainBtn = <button className='active-btn' onClick={this.friendBargainFirst}>帮好友砍一刀</button>\n // } else if (this.state.isOriginator !== 1 && this.state.data.assist_status === 1) {\n // bargainBtn = <button className='active-btn' onClick={this.friendBargainSecond}>再砍一刀1</button>\n // } else if (this.state.isOriginator !== 1 && this.state.data.assist_status === 2) {\n // bargainBtn = <button className={'invalid-btn'}>已帮好友助力</button>\n // } else if (this.state.data.bargain_status === 1 || this.state.data.bargain_status === 2) {\n // bargainBtn = <button className={'invalid-btn'}>砍价结束</button>\n // } else if (this.state.isOriginator === 1 && this.state.data.bargain_status === 0) {\n // bargainBtn = <button className='active-btn' onClick={this.shareFriendBargain}>邀请好友砍价</button>\n // }\n return (\n <div className={'bargain-middle-page'}>\n <HeaderBar title='砍价详情' arrow={true} cart={true} toHref={'/'}></HeaderBar>\n {/*<Loading isLoading={this.state.isLoaidng}>*/}\n <div className=\"top\">\n <div className=\"bargain-area\">\n {\n this.state.isOriginator !== 1 &&\n <p className='bargain-tip'>你的好友发现一门精品课程,快来一起帮他砍价:</p>\n }\n\n <ul>\n <VList\n img={this.state.course.course_img}\n info={\n <CourseDes\n isOriginator={this.state.isOriginator}\n data={this.state.data}\n toCart={this.toCart}/>\n }\n />\n </ul>\n <div className=\"bargain-detail\">\n {\n (this.state.data.bargain_status == 0 || this.state.data.bargain_status == 1) &&\n <div>\n <div className=\"top\">\n <div>\n 已砍<span className={'reduced-price'}>{this.state.bargainData.bargain_price}元</span>\n </div>\n {\n this.state.data.bargain_status === 0 &&\n <div>\n <span\n className={'time hour'}>{String(this.state.hour).padStart(2, 0)}</span> :&nbsp;\n <span\n className={'time min'}>{String(this.state.min).padStart(2, 0)}</span> :&nbsp;\n <span className={'time sec'}>{String(this.state.sec).padStart(2, 0)}</span>\n <span className={'inactive'}> 后砍价结束</span>\n </div>\n }\n {\n this.state.data.bargain_status === 1 && this.state.isOriginator === 1 &&\n <span className={'inactive'}>砍价结束</span>\n }\n\n </div>\n <div className=\"middle\">\n <span style={{width: this.state.width}}></span>\n </div>\n </div>\n }\n {\n this.state.isOriginator === 1 && this.state.data.bargain_status === 0 &&\n <div>\n {thirdRow}\n {btn}\n </div>\n }\n\n {\n this.state.isOriginator === 1 && this.state.data.bargain_status === 1 &&\n <div>\n 砍价金额将于\n <span className={'time hour'}>{String(this.state.day).padStart(2, 0)}</span><span\n className={'unit'}> 天 </span>\n <span className={'time min'}>{String(this.state.hour).padStart(2, 0)}</span><span\n className={'unit'}> 时 </span>\n <span className={'time sec'}>{String(this.state.min).padStart(2, 0)}</span><span\n className={'unit'}>分</span>\n 后清零,请尽快完成支付\n </div>\n }\n\n <div className={'button'}>\n {bargainBtn}\n </div>\n\n </div>\n </div>\n <div className=\"bargain-records\">\n <div className=\"title\">砍价记录</div>\n <ul>\n {\n this.state.outList && this.state.outList.length > 0 && this.state.outList.map((item, index) => {\n return (\n <li key={index}>\n <div className=\"left\">\n <img className='avatar' src={item.avatar_file} alt=\"\"/>\n <span className={'nickname'}>{item.user_name}</span>\n <span className=\"rank-tag\">{item.rank}</span>\n </div>\n <div className=\"right\">\n <img className='kanjia-icon' src={this.state.kanjiaIcon} alt=\"\"/>\n 砍掉<span className={'price'}>{item.amount}</span>\n </div>\n </li>\n )\n })\n\n }\n\n </ul>\n <div className=\"more\" onClick={this.getMore}>查看更多>></div>\n </div>\n </div>\n <div className=\"bargain-course-list\" id='bargainCourse'>\n <div className=\"title-wrapper\">\n <div className=\"title\">我要砍价</div>\n <div className=\"subtitle\">邀请{this.state.limitPeople}位以上好友帮忙砍价可获得【砍价神器】</div>\n </div>\n <ul>\n {\n this.state.courseList && this.state.courseList.length > 0 && this.state.courseList.map((item, index) => {\n return <Course\n className={'text-overflow-2'}\n key={index}\n id={item.course_id}\n img={item.image_name}\n title={item.course_title}\n toDetail={this.toCourseDetail}\n bottom={\n <CourseBottom\n user={this.props.user}\n item={item}\n toCartBottom={this.toCartBottom.bind(this, item.course_id)}\n toDetail={this.toCourseDetail}\n />\n }\n />\n })\n }\n </ul>\n </div>\n <Link to={'/classify'} className={'preferential'}>查看更多精品课程 >></Link>\n\n\n {/*更多好友砍价*/}\n <Ranking list={this.state.list} icon={this.state.kanjiaIcon} limitPeople={this.state.limitPeople}\n isShowMore={this.state.isShowMore} boxHide={this.boxHide}></Ranking>\n\n\n {\n this.state.isShowOverlay &&\n <Overlay>\n <div className=\"bargain-popup__content\">\n\n\n\n {/*砍价成功去分享*/}\n {\n this.state.status === 7 &&\n <BargainSuccess isshowYindao={this.state.isshowYindao} limitPeople={this.state.limitPeople}\n close={this.close}/>\n }\n\n\n {/*引导关注公众号*/}\n {/* {\n this.state.status === 1 &&\n <PublicNumber\n money={this.state.amount}\n avatar={this.props.user.data.avatar}\n firendBaigainPrice={this.state.firendBaigainPrice}/>\n } */}\n {\n this.state.status === 1 &&\n <FollowBarcode\n userInfo={this.props.user.data}\n money={this.state.amount}\n firendBaigainPrice={this.state.firendBaigainPrice}\n />\n }\n\n {/*好友成功砍第一刀*/}\n {\n this.state.status === 2 &&\n <BargainFirst\n bargainSecond={this.friendBargainSecond}\n money={this.state.amount}\n />\n }\n {/*好友成功砍第二刀*/}\n {\n this.state.status === 3 &&\n <BargainSecond close={this.close} money={this.state.amount}/>\n }\n {/*不能在砍了*/}\n {\n this.state.status === 4 &&\n <NotBargain close={this.close} limitPeople={this.state.limitPeople}/>\n }\n {/*领取砍价神器*/}\n {\n this.state.status === 5 &&\n <Artifact useArtifact={this.useArtifact}/>\n }\n {/*使用砍价神器*/}\n {\n this.state.status === 6 &&\n <UseArtifact toCart={this.toCart} money={this.state.amount}\n allMoney={this.state.bargainData.bargain_price}/>\n }\n\n {\n this.state.status !== 7 &&\n <i onClick={this.close} className={'iconfont iconiconfront-2 bargain-popup__button--close'}></i>\n }\n </div>\n </Overlay>\n\n }\n {/*</Loading>*/}\n\n </div>\n );\n }\n}\n\n// 课程信息 -- 右侧\nfunction CourseDes(props) {\n const { data: { bargain_status = 0, course = {}, is_originator = 0 }, toCart } = props;\n return (\n <div className={'des'}>\n <div className=\"course-title text-overflow-2\">\n {course.course_title}\n </div>\n <div className=\"price-bar\">\n <span className={'discount-price'}>¥{course.course_price}</span>\n {/* is_originator 是否发起人 0-否 1-是 */}\n {\n (is_originator == 1 && bargain_status !=3) &&\n <button className={'purchase-btn'} onClick={toCart}>\n ¥{course.pay_price}去支付\n </button>\n }\n {\n (is_originator == 1 && bargain_status == 3) &&\n <span className=\"course-button__buy--done\">已购买</span>\n }\n </div>\n </div>\n );\n}\n\nfunction CourseBottom(props) {\n\n // bargain_status 砍价状态 0-砍价中,1砍价结束,待支付,2砍价过期(没有砍价记录没有砍价信息),3已购买\n const {course_id = '', bargain_status = '', price1 = '', pay_price = '' } = props.item || {};\n const { user: { data = {} } } = props;\n const price = bargain_status === 2? price1 : pay_price;\n let Buttons\n if(data.uid) {\n if (props.item.bargain_status === 2) {\n // Buttons = <Link to={`/detail?id=${props.item.course_id}`} className={'bargain'}>我要砍价</Link>\n Buttons = (\n <div className=\"\">\n <a onClick={() => props.toDetail(props.item.course_id)} className={'bargain bargian-study'}>我要砍价</a>\n </div>\n\n )\n } else if (bargain_status === 3) {\n if(course_id === 139) {\n Buttons = (\n <a\n onClick={() => props.toDetail(props.item.course_id)}\n className={'bargain bargian-study'}\n >我要砍价</a>\n );\n }else {\n Buttons = (\n <Link\n to={`/play/video?id=${props.item.v_course_id}`}\n className={classnames('bargain', 'button--study')}\n >去学习</Link>\n );\n }\n } else {\n Buttons = (\n <div className=\"btns\">\n {/*<button className={classnames('bargain-btn', {invalid: props.item.bargain_status === 2})}>*/}\n {/*{props.item.bargain_status === 2 ? '砍价结束' : '继续砍价'}*/}\n {/*</button>*/}\n {\n bargain_status === 1 &&\n <button className='invalid'>砍价结束</button>\n }\n {\n bargain_status === 0 &&\n <a onClick={() => props.toDetail(props.item.course_id)} className={'bargain-btn'}>继续砍价</a>\n }\n <button\n onClick={() => props.toCartBottom(props.item.course_id)}\n className={'purchase-btn'}\n >\n ¥{price}去支付\n </button>\n </div>\n )\n }\n\n }else {\n Buttons = (\n <a\n onClick={() => props.toDetail(props.item.course_id)}\n className={'bargain bargian-study'}\n >我要砍价</a>\n );\n }\n\n return (\n <div className=\"course-bottom\">\n <div className={'course-price'}>\n <span className={'discount-price'}>¥{props.item.price1}</span>\n <span className={'original-price'}>¥{props.item.price0}</span>\n </div>\n {Buttons}\n </div>\n )\n}\n\n\nfunction PublicNumber(props) {\n return (\n <div className='bargain-public-number'>\n <img className='avait' src={props.avatar} alt=\"\" />\n {\n props.firendBaigainPrice &&\n <p className='status-title ff4'>谢谢你帮我砍了{props.money}元!</p>\n }\n <p className='status-dec'>关注公众号,可以再砍一刀哦~</p>\n <img\n className='public-number-img'\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png\"\n alt=\"\"\n />\n </div>\n )\n}\n\nfunction BargainFirst(props) {\n return (\n <div className='bargain-first'>\n <img className='top-img' src={require('./image/kanjia_cg_icon.png')} alt=\"\"/>\n <p className='status-title'>谢谢你帮我砍了<span className='ff4'>{props.money}元</span>!</p>\n <p className='status-dec'>你还可以帮我再砍一刀哦~</p>\n <button className='bargain-href' onClick={props.bargainSecond}>再砍一刀</button>\n </div>\n )\n}\n\nfunction BargainSecond(props) {\n return (\n <div className='bargain-second'>\n <img className='top-img' src={require('./image/kanjia_cg_icon.png')} alt=\"\"/>\n <p className='status-title'>厉害了,又帮好友砍掉<span className='ff4'>{props.money}元</span>!</p>\n <a className='bargain-href' href='#bargainCourse' onClick={props.close}>我也要砍价</a>\n </div>\n )\n}\n\nfunction NotBargain(props) {\n return (\n <div className='not-bargain'>\n <img className='middle-img' src={require('./image/kanjia_no_iccon.png')} alt=\"\"/>\n <p className='status-title'>你的好友用【砍价神器】把我砍蒙圈了<br/>不能再砍了哦~</p>\n <p className='status-dec'>邀请{props.limitPeople}位以上好友帮忙砍价可获得【砍价神器】</p>\n <a className='bargain-href' href='#bargainCourse' onClick={props.close}>我也要砍价</a>\n </div>\n )\n}\n\nfunction Artifact(props) {\n return (\n <div className='artifact-box'>\n <p className='top-tip'>恭喜你获得【砍价神器】!</p>\n <p className='middle-tip'>\n 您可以使用\n <span className={'indicator'}>【砍价神器】</span>\n 再砍一刀\n </p>\n <button className='use-artifact' onClick={props.useArtifact}>立即使用</button>\n </div>\n )\n}\n\nfunction UseArtifact(props) {\n return (\n <div className='use-artifact-box'>\n <img className='top-img' src={require('./image/kanjia_cg_icon.png')} alt=\"\"/>\n <p className='top-tip'>厉害了,又砍掉了{props.money}元!</p>\n <p className='middle-tip'>\n 你已经砍了\n <span className={'indicator'}>{props.allMoney}元</span>\n 没见过你这么能砍的人...\n </p>\n <p className='btm-tip'>\n 不能再砍了哦~\n </p>\n <button className='tubuy' onClick={props.toCart}>去支付</button>\n </div>\n )\n}\n\n\nfunction BargainSuccess(props) {\n return (\n <div>\n <div className='close-bargain-success' onClick={props.close}></div>\n\n <div className=\"bargain-success\">\n {\n props.isshowYindao &&\n <i className='iconfont iconyindao'></i>\n }\n <p>分享到微信群邀请更多好友帮忙砍价</p>\n <p>超过{props.limitPeople}位好友助力可获得<span className={'indicator'} style={{color: '#FF4000'}}>【砍价神器】</span>哦\n </p>\n </div>\n </div>\n )\n}\n\n\nexport default withRouter(BargainMiddlePage);\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAA51BMVEUAAAD3yyr4zCr60jD61DT4zSz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CFy6BBcD/CjPeRyuuXa0w9og4v9zyro/YuaG/wUr6uEw8kzquPp8dbe9fayv239RdvYu+x22vO/D6/dOb9cD/EONO7gZ+bVU9IAAAAASUVORK5CYII=\"","import React, { Component } from 'react';\nimport ReactDom from \"react-dom\";\n\nimport './overlay.scss'\n\nconst root = document.body || document.documentElement\n\nconst events = ['touchmove', 'mousewheel']\n\nclass Overlay extends Component {\n constructor(props) {\n super(props);\n this.overlayBox = null\n }\n\n preventScroll = e => {\n e.preventDefault()\n }\n\n componentDidMount() {\n events.forEach(item => {\n this.overlayBox.addEventListener(item, this.preventScroll, {\n passive: false\n })\n })\n }\n\n componentWillUnmount() {\n events.forEach(item => {\n this.overlayBox.removeEventListener(item, this.preventScroll)\n })\n }\n\n render() {\n return ReactDom.createPortal(\n (<div className={'overlay'}\n ref={el => this.overlayBox = el}\n style={{top: `${window.scrollY}px`}}\n >{this.props.children}</div>),\n root\n )\n }\n}\n\nexport default Overlay;","import React, {Component} from 'react'\nimport './index.scss'\n\nclass Ranking extends Component {\n\n constructor(props) {\n super(props)\n this.state = {\n kanjiaIcon: require('../image/kanjia_icon.png')\n }\n }\n\n // 关闭更多窗口\n closeMore = () => {\n this.props.boxHide(false);\n }\n\n render() {\n return (\n <div className={'ranking-box'}>\n {\n this.props.isShowMore &&\n <MoreList list={this.props.list} limitPeople={this.props.limitPeople} closeMore={this.closeMore}\n img={this.props.icon}/>\n }\n </div>\n );\n }\n}\n\nfunction MoreList(props) {\n return (\n <div className=\"moreMbc\">\n <div className=\"content\">\n <div className=\"title-box\">\n 好友助力详情\n </div>\n <ul className='more-bargain-list'>\n {\n props.list && props.list.length > 0 && props.list.map((item, index) => {\n return (\n <li key={index} className='bargain-item'>\n <img className='avatar' src={item.avatar_file} alt=\"\"/>\n <p className='name'>{item.user_name}</p>\n <p className='bargain-status'>\n <img className='kanjia-icon' src={props.img} alt=\"\"/>\n 砍掉<span className={'price'}>{item.amount}</span>\n </p>\n </li>\n )\n })\n }\n </ul>\n <div className='more-bargain-dec'>\n 超过{props.limitPeople}位好友助力可获得【砍价神器】\n </div>\n </div>\n <i onClick={props.closeMore} className={'iconfont iconiconfront-2 close'}></i>\n </div>\n )\n}\n\nexport default Ranking","module.exports = __webpack_public_path__ + \"mrstatic/media/kanjia_cg_icon.81a489ac.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGUAAABmCAMAAADlNq9TAAACSVBMVEUAAABeTUZoSDp2QytSUlL/1jRSUlJhTEL/1jRSUlJ2QytVUE780jP/1jRSUlL/1jT/1jR1QyxSUlJSUlJ2Qyv/1jRmSj3/1jR2QytSUlL/1jR3RCv/1jT/1jT/1jT/1jRcTkj/1jSPXS3/1jT/1jT/1jT/1jR1QytSUlJ2QytSUlJSUlL/1jRTUVD/1jR2Qyv/1jT/1jRSUlJ2QytSUlJ2Qyt8SixSUlL/1jT/1jRSUlL/1TR6Ryt2QytSUlJSUlJSUlJSUlL/1jT/1jR2Qyt2Qyv/1jT/1jR2Qyv/1jRSUlL/1jT/1jR2QyuUYy1+TCtyRC9SUlJ2Qyt2QyuTYS3dsTF2QyvovTK6jC9aTknKnjG8jjCKWSzzyTPNoDGldi5qSDiOXS3/1jR2QyvoVFRSUlLznJL+1DRXVlGVcUnqxjj40TWBdkmIe0igjUT+z0B7cUu6oUDKrj3yzDZrZU3Gqz7iwDn2zjX60TSwmkHuyTfvxTN7SCtfXFBbWVCNgEjStDznwjikdC6XZi2HVSxiXk+adkiYiEbdvDrWqjF/TCtmYU5vaE12bUyShEacikW1nkHitjLQojGlkkPTrDzZuTrHmTDDljC2iC+sfS6slkK9o0DHoT/OsTz2zDOebS6EUiy2kELApj/9yTfeszLarjHAkjDqXFPxg0imgUWuiETZtTvswTPovTKygy/0oIbxhmXveGDpWFTtbk33qj/0n3rqYVbsaFT2n0HBm0D5sj3huTq7jS/ykmzvekqfe0f0lkS7lkH7vjoJQEVHAAAAYnRSTlMABQv7ufmfH8etZBYUBpFwHvXsy8NFJ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gmU/72LtmxYPddgoLA3uLSOtxsz8d0jjRHWotw+iDqPLxq9zZkoHCXeD9GBl86tqiThss2ZBhAnOs/ZDvFUZurnQM4a2o8uYzhHVLZ/BA1dtVH2T4W+bYbh4DQ0e1byC9k5PYa0jZqPVufV8w9IlSOEtFJd1JAUjGboLC0usL4RWWzLHXW+f9bo//sDeuqkLv6/OX0IvF7BpnqMJYPC0xGf7hNy11jIIwEERheBrBQtBGBBHBxlKwUzyCt3jNMrYBDXY2c4Itt9lyNycIKcSbqUEhEyxMYL8LTPEPb03KAUkcSVkgiR0pYyQxImWKFPakTZDChlpmSGBLLRt8mcqWD1egjzxTr7+kljU+7J0lBOESnV0jM0u0uYr/K/+NhZld7gM68+JsFOGQoTanttUAtUr4JcL6HlccHvxmG/uiDVEz3gnfKxNP6KzwcMws4dzIom2/AS/mApgcPRSZsaW7WZVF2eEvz1bqZ0VBKIrj+NkILhLdSBBpROZKhtoV7QyKmHmKw8GW81AudJfaX4Ji6MlmIqaUbveY9Vnd3ZffWdxwtduHWIoKAh3knY50FpfqdEHAQ9Yqo4toj7wpCDT4CF1lJ2Q1Kl0sjOhmO0dWG+4YyIkp7wdZLbjTYqdklLfhx5gVKjsq2iPHrnCx+DIhTdJIcjJmCygotyWidB2crc/vI3J8uKeiXER0CP4lREtkdEBghnJESXCT8pURCBjclk2Qs8jYig4iDkotD0FeEnMHq4GIr6BMvChU1jv2sxTro8yqWFmE7BQxzUOJ+XcRylnwiDHGd3HgsZqK7/GhgYyr4Bv0gWFMX+40TOAZvSG+YKhrUIpmOx2sRrU0KE8b9CfK04mZD0/TvqzupNz1FM9xzTZU1/YH9qfu9prOSPXG9Tr+UerDsaeOnGbP1S3bbNXggV9XIWYP5SLNCwAAAABJRU5ErkJggg==\""],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{1266:function(e,a,t){"use strict";t.r(a);var i,s=t(19),n=(t(41),t(12)),r=t.n(n),c=t(5),o=t(7),l=t(6),m=t(8),u=t(9),d=t(0),p=t.n(d),g=(t(911),t(28)),h=t(3),b=t(15),v=t(49),f=t(685),E=t(155),j=t(640),y=t(22),N=(t(73),t(17)),S=t.n(N),A=t(587),k=t.n(A),C=(t(912),function(e){function a(e){var t;return Object(c.a)(this,a),(t=Object(l.a)(this,Object(m.a)(a).call(this,e))).state={url:"",codeUrl:""},t}return Object(u.a)(a,e),Object(o.a)(a,[{key:"componentDidMount",value:function(){var e=this;console.log(this.props);var a=this.props.userInfo.uid,t=void 0===a?"":a;t&&h.d.get("".concat(API["base-api"],"/wx/user_temporary_qrcode/").concat(t)).then(function(a){var t=a.data,i=t.errno,s=t.data;if(console.log(a),0==i){e.setState({url:s.url});var n=e;return new Promise(function(e){k.a.toDataURL(s.url,{},function(e,a){n.setState({codeUrl:a})}),e()})}})}},{key:"render",value:function(){var e=this.state.codeUrl,a=this.props,t=a.firendBaigainPrice,i=a.userInfo.avatar,s=a.money;return p.a.createElement("div",{className:"bargain-popup__barcode"},p.a.createElement("i",{className:"bargain-popup__avatar",style:{backgroundImage:"url(".concat(i,")")}}),t&&p.a.createElement("p",{className:"bargain-popup__title"},"\u8c22\u8c22\u4f60\u5e2e\u6211\u780d\u4e86",s,"\u5143\uff01"),p.a.createElement("p",{className:"bargain-popup__desc"},"\u5173\u6ce8\u516c\u4f17\u53f7\uff0c\u53ef\u4ee5\u518d\u780d\u4e00\u5200\u54e6~"),p.a.createElement("img",{className:"bargain-popup__imgage",src:e,alt:""}))}}]),a}(d.Component)),B=Object(y.b)(function(e){return{user:e.user}})(i=function(e){function a(e){var i;return Object(c.a)(this,a),(i=Object(l.a)(this,Object(m.a)(a).call(this,e))).getBargainInfo=function(){h.d.get("".concat(API.home,"/m/bargain/info?bargaincode=").concat(Object(h.c)("bargaincode"),"&is_originator=").concat(Object(h.c)("is_originator"))).then(function(e){200===e.data.code?i.setState({data:e.data.data,isOriginator:e.data.data.is_originator,originatorUid:e.data.data.originator_uid,course:e.data.data.course,limitPeople:e.data.data.course.limit_people,bargainData:e.data.data.bargain,width:100*(e.data.data.bargain.bargain_price/e.data.data.bargain.total_price).toFixed(2)+"%"},function(){if(i.state.bargainData.expire_time){var e=1e3*i.state.bargainData.expire_time,a=Date.now();clearInterval(i.timer),i.timer=setInterval(function(){var t=new Date(e-=1e3),s=Object(E.differenceInSeconds)(t,a)%60,n=Object(E.differenceInMinutes)(t,a)%60,r=Object(E.differenceInHours)(t,a)%24,c=Object(E.differenceInDays)(t,a)%24;i.setState({hour:r,min:n,sec:s,day:c})},1e3)}}):r.a.info(e.data.msg,2)})},i.getBargainCourse=function(){h.d.get("".concat(API.home,"/m/bargain/courseList")).then(function(e){200===e.data.code?i.setState({courseList:e.data.data}):r.a.info(e.data.msg,2)})},i.getBargainRankList=function(){var e={courseId:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",type:arguments.length>1?arguments[1]:void 0,bargain_code:Object(h.c)("bargaincode")||""};h.d.post("".concat(API.home,"/m/bargain/rankList"),e).then(function(e){if(200===e.data.code){var a=["\u5200\u795e","\u5200\u738b","\u5200\u9738"],t=e.data.data.out_list.map(function(e,t){return Object(s.a)({},e,{rank:a[t]})});i.setState({list:e.data.data.list,outList:t})}else 4030==e.data.code||4040==e.data.code||r.a.info(e.data.msg,2)})},i.toCart=function(){h.d.get("".concat(API["base-api"],"/m/cart/addtopreorder/[").concat(Object(h.c)("id"),"]")).then(function(e){0===e.data.errno?i.props.history.push("/order?id=[".concat(Object(h.c)("id"),"]"),{bargain:1}):r.a.info(e.data.msg,2)})},i.toCartBottom=function(e){h.d.get("".concat(API["base-api"],"/m/cart/addtopreorder/[").concat(e,"]")).then(function(e){0===e.data.errno?i.props.history.push("/order?id=[".concat(Object(h.c)("id"),"]"),{bargain:1}):r.a.info(e.data.msg,2)})},i.getMore=function(){i.setState({isShowMore:!0})},i.boxHide=function(e){i.setState({isShowMore:e})},i.toArtifact=function(){var e=i.state.course.course_id,a=void 0===e?"":e,t={courseId:Object(h.c)("id")?Object(h.c)("id"):a};h.d.post("".concat(API.home,"/m/bargain/receiveLimit"),t).then(function(e){200===e.data.code?(i.setState({isShowOverlay:!0,status:5}),i.getBargainInfo()):r.a.info(e.data.msg,2)})},i.useArtifact=function(){var e=i.state.course.course_id,a=void 0===e?"":e,t=Object(h.c)("id")?Object(h.c)("id"):a;i.toKanjia(t,2,0)},i.toKanjia=function(e,a,t){var s={course_id:e,type:a,parent_uid:t};h.d.post("".concat(API.home,"/m/bargain/toBargain"),s).then(function(e){if(200===e.data.code)i.setState({amount:e.data.data.amount}),2===a&&(i.setState({isShowOverlay:!0,status:6}),i.getBargainInfo(),i.getBargainRankList("",1)),1===e.data.data.is_success?i.setState({isShowOverlay:!0,status:4}):2===e.data.data.is_success?3===a?i.setState({isShowOverlay:!0,status:2}):4===a&&i.setState({isShowOverlay:!0,status:1,firendBaigainPrice:!1}):0===e.data.data.is_success&&(3===a?i.setState({isShowOverlay:!0,status:2}):4===a&&i.setState({isShowOverlay:!0,status:3})),i.getBargainInfo(),i.getBargainRankList(Object(h.c)("id"),1);else if(4030==e.data.code||4040==e.data.code)if(h.b.isWeixin){var t=window.location.href;if(t.includes("code=")&&t.includes("state=STATE")){var s=t.lastIndexOf("code=");t=t.substr(0,s-1)}window.location.assign("https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=".concat(encodeURIComponent(t),"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect"))}else i.props.history.push("/passport");else r.a.info(e.data.msg,2)})},i.friendBargainFirst=function(){var e=i.state.course.course_id,a=void 0===e?"":e,t=Object(h.c)("id")?Object(h.c)("id"):a;i.toKanjia(t,3,i.state.originatorUid)},i.friendBargainSecond=function(){var e=i.state.course.course_id,a=void 0===e?"":e,t=Object(h.c)("id")?Object(h.c)("id"):a;i.toKanjia(t,4,i.state.originatorUid)},i.shareFriendBargain=function(){i.setState({isShowOverlay:!0,status:7,isshowYindao:!!h.b.isWeixin}),Object(h.i)({title:"\u6211\u53d1\u73b0\u4e00\u95e8\u597d\u8bfe\uff0c\u5feb\u6765\u5e2e\u6211\u780d\u4ef7\u5427\uff01",desc:"\u6211\u5df2\u7ecf\u780d\u4e86".concat(i.state.bargainData.bargain_price,"\u5143\uff0c\u770b\u770b\u4f60\u80fd\u780d\u591a\u5c11"),link:encodeURI(location.href),imgUrl:i.state.course.course_img})},i.close=function(){i.setState({isShowOverlay:!1,status:""})},i.toCourseDetail=function(e){var a=i.props;a.dispatch;return a.history.push("/detail?id=".concat(e)),!1},i.state={isShowOverlay:!1,isOriginator:"",kanjiaIcon:t(639),course:{},courseList:[],data:"",bargainData:"",limitPeople:0,outList:[],list:[],width:"0",isShowMore:"",status:"",hour:"",min:"",sec:"",day:"",amount:"",firendBaigainPrice:!0,isshowYindao:!1,isLoaidng:!0,imglink:"https://julyedu-img-public.oss-cn-beijing.aliyuncs.com/Public/Image/"},i}return Object(u.a)(a,e),Object(o.a)(a,[{key:"componentDidMount",value:function(){this.getBargainRankList(Object(h.c)("id"),1),this.getBargainCourse(),this.getBargainInfo()}},{key:"componentDidUpdate",value:function(e){var a=this.props.user,t=e.user;a.hasError||a.hasError===t.hasError||(this.getBargainRankList(Object(h.c)("id"),1),this.getBargainCourse(),this.getBargainInfo())}},{key:"render",value:function(){var e,a,t=this;0===this.state.bargainData.is_artifact?e=p.a.createElement("div",null,"\u518d\u9080\u8bf7",p.a.createElement("span",{className:"indicator"},this.state.bargainData.invite_num),"\u4f4d\u597d\u53cb\u52a9\u529b\u5373\u53ef\u83b7\u5f97",p.a.createElement("span",{className:"indicator"},"\u3010\u780d\u4ef7\u795e\u5668\u3011")):1===this.state.bargainData.is_artifact?(e=p.a.createElement("div",null,"\u606d\u559c\u4f60\u83b7\u5f97",p.a.createElement("span",{className:"indicator"},"\u3010\u780d\u4ef7\u795e\u5668\u3011")),a=p.a.createElement("button",{className:"artifact-btn",onClick:this.toArtifact},"\u7acb\u5373\u9886\u53d6")):2===this.state.bargainData.is_artifact&&(e=p.a.createElement("div",null,"\u606d\u559c\u4f60\u83b7\u5f97",p.a.createElement("span",{className:"indicator"},"\u3010\u780d\u4ef7\u795e\u5668\u3011")),a=p.a.createElement("button",{className:"artifact-btn",onClick:this.useArtifact},"\u7acb\u5373\u4f7f\u7528"));var i=this.state.data,s=i.is_originator,n=void 0===s?0:s,r=i.assist_status,c=void 0===r?0:r,o=i.bargain_status,l=void 0===o?0:o,m="";return n?m=0===l?p.a.createElement("button",{className:"active-btn",onClick:this.shareFriendBargain},"\u9080\u8bf7\u597d\u53cb\u780d\u4ef7"):p.a.createElement("button",{className:"invalid-btn"},"\u780d\u4ef7\u7ed3\u675f"):0===c&&0===l?m=p.a.createElement("button",{className:"active-btn",onClick:this.friendBargainFirst},"\u5e2e\u597d\u53cb\u780d\u4e00\u5200"):1===c&&0===l?m=p.a.createElement("button",{className:"active-btn",onClick:this.friendBargainSecond},"\u518d\u780d\u4e00\u5200"):2===c&&0===l?m=p.a.createElement("button",{className:"invalid-btn"},"\u5df2\u5e2e\u597d\u53cb\u52a9\u529b"):0!==l&&(m=p.a.createElement("button",{className:"invalid-btn"},"\u780d\u4ef7\u7ed3\u675f")),p.a.createElement("div",{className:"bargain-middle-page"},p.a.createElement(g.e,{title:"\u780d\u4ef7\u8be6\u60c5",arrow:!0,cart:!0,toHref:"/"}),p.a.createElement("div",{className:"top"},p.a.createElement("div",{className:"bargain-area"},1!==this.state.isOriginator&&p.a.createElement("p",{className:"bargain-tip"},"\u4f60\u7684\u597d\u53cb\u53d1\u73b0\u4e00\u95e8\u7cbe\u54c1\u8bfe\u7a0b\uff0c\u5feb\u6765\u4e00\u8d77\u5e2e\u4ed6\u780d\u4ef7\uff1a"),p.a.createElement("ul",null,p.a.createElement(g.j,{img:this.state.course.course_img,info:p.a.createElement(U,{isOriginator:this.state.isOriginator,data:this.state.data,toCart:this.toCart})})),p.a.createElement("div",{className:"bargain-detail"},(0==this.state.data.bargain_status||1==this.state.data.bargain_status)&&p.a.createElement("div",null,p.a.createElement("div",{className:"top"},p.a.createElement("div",null,"\u5df2\u780d",p.a.createElement("span",{className:"reduced-price"},this.state.bargainData.bargain_price,"\u5143")),0===this.state.data.bargain_status&&p.a.createElement("div",null,p.a.createElement("span",{className:"time hour"},String(this.state.hour).padStart(2,0))," :\xa0",p.a.createElement("span",{className:"time min"},String(this.state.min).padStart(2,0))," :\xa0",p.a.createElement("span",{className:"time sec"},String(this.state.sec).padStart(2,0)),p.a.createElement("span",{className:"inactive"}," \u540e\u780d\u4ef7\u7ed3\u675f")),1===this.state.data.bargain_status&&1===this.state.isOriginator&&p.a.createElement("span",{className:"inactive"},"\u780d\u4ef7\u7ed3\u675f")),p.a.createElement("div",{className:"middle"},p.a.createElement("span",{style:{width:this.state.width}}))),1===this.state.isOriginator&&0===this.state.data.bargain_status&&p.a.createElement("div",null,e,a),1===this.state.isOriginator&&1===this.state.data.bargain_status&&p.a.createElement("div",null,"\u780d\u4ef7\u91d1\u989d\u5c06\u4e8e",p.a.createElement("span",{className:"time hour"},String(this.state.day).padStart(2,0)),p.a.createElement("span",{className:"unit"}," \u5929 "),p.a.createElement("span",{className:"time min"},String(this.state.hour).padStart(2,0)),p.a.createElement("span",{className:"unit"}," \u65f6 "),p.a.createElement("span",{className:"time sec"},String(this.state.min).padStart(2,0)),p.a.createElement("span",{className:"unit"},"\u5206"),"\u540e\u6e05\u96f6\uff0c\u8bf7\u5c3d\u5feb\u5b8c\u6210\u652f\u4ed8"),p.a.createElement("div",{className:"button"},m))),p.a.createElement("div",{className:"bargain-records"},p.a.createElement("div",{className:"title"},"\u780d\u4ef7\u8bb0\u5f55"),p.a.createElement("ul",null,this.state.outList&&this.state.outList.length>0&&this.state.outList.map(function(e,a){return p.a.createElement("li",{key:a},p.a.createElement("div",{className:"left"},p.a.createElement("img",{className:"avatar",src:e.avatar_file,alt:""}),p.a.createElement("span",{className:"nickname"},e.user_name),p.a.createElement("span",{className:"rank-tag"},e.rank)),p.a.createElement("div",{className:"right"},p.a.createElement("img",{className:"kanjia-icon",src:t.state.kanjiaIcon,alt:""}),"\u780d\u6389",p.a.createElement("span",{className:"price"},e.amount)))})),p.a.createElement("div",{className:"more",onClick:this.getMore},"\u67e5\u770b\u66f4\u591a>>"))),p.a.createElement("div",{className:"bargain-course-list",id:"bargainCourse"},p.a.createElement("div",{className:"title-wrapper"},p.a.createElement("div",{className:"title"},"\u6211\u8981\u780d\u4ef7"),p.a.createElement("div",{className:"subtitle"},"\u9080\u8bf7",this.state.limitPeople,"\u4f4d\u4ee5\u4e0a\u597d\u53cb\u5e2e\u5fd9\u780d\u4ef7\u53ef\u83b7\u5f97\u3010\u780d\u4ef7\u795e\u5668\u3011")),p.a.createElement("ul",null,this.state.courseList&&this.state.courseList.length>0&&this.state.courseList.map(function(e,a){return p.a.createElement(g.d,{className:"text-overflow-2",key:a,id:e.course_id,img:e.image_name,title:e.course_title,toDetail:t.toCourseDetail,bottom:p.a.createElement(O,{user:t.props.user,item:e,toCartBottom:t.toCartBottom.bind(t,e.course_id),toDetail:t.toCourseDetail})})}))),p.a.createElement(b.b,{to:"/classify",className:"preferential"},"\u67e5\u770b\u66f4\u591a\u7cbe\u54c1\u8bfe\u7a0b >>"),p.a.createElement(f.a,{list:this.state.list,icon:this.state.kanjiaIcon,limitPeople:this.state.limitPeople,isShowMore:this.state.isShowMore,boxHide:this.boxHide}),this.state.isShowOverlay&&p.a.createElement(j.a,null,p.a.createElement("div",{className:"bargain-popup__content"},7===this.state.status&&p.a.createElement(x,{isshowYindao:this.state.isshowYindao,limitPeople:this.state.limitPeople,close:this.close}),1===this.state.status&&p.a.createElement(C,{userInfo:this.props.user.data,money:this.state.amount,firendBaigainPrice:this.state.firendBaigainPrice}),2===this.state.status&&p.a.createElement(w,{bargainSecond:this.friendBargainSecond,money:this.state.amount}),3===this.state.status&&p.a.createElement(D,{close:this.close,money:this.state.amount}),4===this.state.status&&p.a.createElement(L,{close:this.close,limitPeople:this.state.limitPeople}),5===this.state.status&&p.a.createElement(T,{useArtifact:this.useArtifact}),6===this.state.status&&p.a.createElement(I,{toCart:this.toCart,money:this.state.amount,allMoney:this.state.bargainData.bargain_price}),7!==this.state.status&&p.a.createElement("i",{onClick:this.close,className:"iconfont iconiconfront-2 bargain-popup__button--close"}))))}}]),a}(d.Component))||i;function U(e){var a=e.data,t=a.bargain_status,i=void 0===t?0:t,s=a.course,n=void 0===s?{}:s,r=a.is_originator,c=void 0===r?0:r,o=e.toCart;return p.a.createElement("div",{className:"des"},p.a.createElement("div",{className:"course-title text-overflow-2"},n.course_title),p.a.createElement("div",{className:"price-bar"},p.a.createElement("span",{className:"discount-price"},"\uffe5",n.course_price),1==c&&3!=i&&p.a.createElement("button",{className:"purchase-btn",onClick:o},"\xa5",n.pay_price,"\u53bb\u652f\u4ed8"),1==c&&3==i&&p.a.createElement("span",{className:"course-button__buy--done"},"\u5df2\u8d2d\u4e70")))}function O(e){var a,t=e.item||{},i=t.course_id,s=void 0===i?"":i,n=t.bargain_status,r=void 0===n?"":n,c=t.price1,o=void 0===c?"":c,l=t.pay_price,m=void 0===l?"":l,u=e.user.data,d=2===r?o:m;return a=(void 0===u?{}:u).uid?2===e.item.bargain_status?p.a.createElement("div",{className:""},p.a.createElement("a",{onClick:function(){return e.toDetail(e.item.course_id)},className:"bargain bargian-study"},"\u6211\u8981\u780d\u4ef7")):3===r?139===s?p.a.createElement("a",{onClick:function(){return e.toDetail(e.item.course_id)},className:"bargain bargian-study"},"\u6211\u8981\u780d\u4ef7"):p.a.createElement(b.b,{to:"/play/video?id=".concat(e.item.v_course_id),className:S()("bargain","button--study")},"\u53bb\u5b66\u4e60"):p.a.createElement("div",{className:"btns"},1===r&&p.a.createElement("button",{className:"invalid"},"\u780d\u4ef7\u7ed3\u675f"),0===r&&p.a.createElement("a",{onClick:function(){return e.toDetail(e.item.course_id)},className:"bargain-btn"},"\u7ee7\u7eed\u780d\u4ef7"),p.a.createElement("button",{onClick:function(){return e.toCartBottom(e.item.course_id)},className:"purchase-btn"},"\xa5",d,"\u53bb\u652f\u4ed8")):p.a.createElement("a",{onClick:function(){return e.toDetail(e.item.course_id)},className:"bargain bargian-study"},"\u6211\u8981\u780d\u4ef7"),p.a.createElement("div",{className:"course-bottom"},p.a.createElement("div",{className:"course-price"},p.a.createElement("span",{className:"discount-price"},"\xa5",e.item.price1),p.a.createElement("span",{className:"original-price"},"\xa5",e.item.price0)),a)}function w(e){return p.a.createElement("div",{className:"bargain-first"},p.a.createElement("img",{className:"top-img",src:t(688),alt:""}),p.a.createElement("p",{className:"status-title"},"\u8c22\u8c22\u4f60\u5e2e\u6211\u780d\u4e86",p.a.createElement("span",{className:"ff4"},e.money,"\u5143"),"\uff01"),p.a.createElement("p",{className:"status-dec"},"\u4f60\u8fd8\u53ef\u4ee5\u5e2e\u6211\u518d\u780d\u4e00\u5200\u54e6~"),p.a.createElement("button",{className:"bargain-href",onClick:e.bargainSecond},"\u518d\u780d\u4e00\u5200"))}function D(e){return p.a.createElement("div",{className:"bargain-second"},p.a.createElement("img",{className:"top-img",src:t(688),alt:""}),p.a.createElement("p",{className:"status-title"},"\u5389\u5bb3\u4e86\uff0c\u53c8\u5e2e\u597d\u53cb\u780d\u6389",p.a.createElement("span",{className:"ff4"},e.money,"\u5143"),"\uff01"),p.a.createElement("a",{className:"bargain-href",href:"#bargainCourse",onClick:e.close},"\u6211\u4e5f\u8981\u780d\u4ef7"))}function L(e){return p.a.createElement("div",{className:"not-bargain"},p.a.createElement("img",{className:"middle-img",src:t(913),alt:""}),p.a.createElement("p",{className:"status-title"},"\u4f60\u7684\u597d\u53cb\u7528\u3010\u780d\u4ef7\u795e\u5668\u3011\u628a\u6211\u780d\u8499\u5708\u4e86",p.a.createElement("br",null),"\u4e0d\u80fd\u518d\u780d\u4e86\u54e6~"),p.a.createElement("p",{className:"status-dec"},"\u9080\u8bf7",e.limitPeople,"\u4f4d\u4ee5\u4e0a\u597d\u53cb\u5e2e\u5fd9\u780d\u4ef7\u53ef\u83b7\u5f97\u3010\u780d\u4ef7\u795e\u5668\u3011"),p.a.createElement("a",{className:"bargain-href",href:"#bargainCourse",onClick:e.close},"\u6211\u4e5f\u8981\u780d\u4ef7"))}function T(e){return p.a.createElement("div",{className:"artifact-box"},p.a.createElement("p",{className:"top-tip"},"\u606d\u559c\u4f60\u83b7\u5f97\u3010\u780d\u4ef7\u795e\u5668\u3011\uff01"),p.a.createElement("p",{className:"middle-tip"},"\u60a8\u53ef\u4ee5\u4f7f\u7528",p.a.createElement("span",{className:"indicator"},"\u3010\u780d\u4ef7\u795e\u5668\u3011"),"\u518d\u780d\u4e00\u5200"),p.a.createElement("button",{className:"use-artifact",onClick:e.useArtifact},"\u7acb\u5373\u4f7f\u7528"))}function I(e){return p.a.createElement("div",{className:"use-artifact-box"},p.a.createElement("img",{className:"top-img",src:t(688),alt:""}),p.a.createElement("p",{className:"top-tip"},"\u5389\u5bb3\u4e86\uff0c\u53c8\u780d\u6389\u4e86",e.money,"\u5143\uff01"),p.a.createElement("p",{className:"middle-tip"},"\u4f60\u5df2\u7ecf\u780d\u4e86",p.a.createElement("span",{className:"indicator"},e.allMoney,"\u5143"),"\u6ca1\u89c1\u8fc7\u4f60\u8fd9\u4e48\u80fd\u780d\u7684\u4eba..."),p.a.createElement("p",{className:"btm-tip"},"\u4e0d\u80fd\u518d\u780d\u4e86\u54e6~"),p.a.createElement("button",{className:"tubuy",onClick:e.toCart},"\u53bb\u652f\u4ed8"))}function x(e){return p.a.createElement("div",null,p.a.createElement("div",{className:"close-bargain-success",onClick:e.close}),p.a.createElement("div",{className:"bargain-success"},e.isshowYindao&&p.a.createElement("i",{className:"iconfont iconyindao"}),p.a.createElement("p",null,"\u5206\u4eab\u5230\u5fae\u4fe1\u7fa4\u9080\u8bf7\u66f4\u591a\u597d\u53cb\u5e2e\u5fd9\u780d\u4ef7"),p.a.createElement("p",null,"\u8d85\u8fc7",e.limitPeople,"\u4f4d\u597d\u53cb\u52a9\u529b\u53ef\u83b7\u5f97",p.a.createElement("span",{className:"indicator",style:{color:"#FF4000"}},"\u3010\u780d\u4ef7\u795e\u5668\u3011"),"\u54e6")))}a.default=Object(v.g)(B)},639:function(e,a){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAA51BMVEUAAAD3yyr4zCr60jD61DT4zSz4zi360C770jL93jn94UH3yin4yyz4ziz4zi34zS361TX50i/50jD61DP72Dj61jP+4kH+4ED4zCv3zCz4zSz4zS350jL61jb61jT6zir50DH83Dz71DP83Dj+5ET2zDD50C77zyj93j/930H82zv3yir3yCj/6072xib3yyv/6kz2xiT/7lD/8FL2wyL2xCP/8VT/7E//8lb83T74zS32wiH/81b/6Er71zj94kT72zz50zP+5kj84EH/9Vj+5Uf61TX50TH83j/4zy//9Ff3xyb0vBpXStORAAAAK3RSTlMA8+yrk9q7gTsdBPfnysGyoJ+IhWhMFg3w5d7QvKSbmI9eWich+nxTRjARluH5lgAAAm5JREFUOMt1lddi4jAQRYVp6b1vspvdZKvG6pI7NjWQ7P9/T7BFQBBzXnjw0YyvxhJonZ1fzcODRuPgsNndQVvZPW9DCca4/Lk7e6rV/rUwIdiBcNy6+uz98DjgDYDffN/0WsTR3Kpf171j13MB3Vn38Fb0/cr7BpsdgeIl6uTD++16FDQhMQanu1okuv4JjpbAkMZm4JoEX9vGxFmNJ9Eoy1KGyeodaPJQelfUWZz0RpIJIYeEa0WAx7RaDrtz8Yw4TWIh/JIgm0b5hOayp6s8rbnoOQV5njK/QozGLJ+lr0NeFbhBaMeNzPsi8C1hL+E9IwcAlfkHdcGdbWSsxoTpFy+FEZlNoM/RsStC5NuKwYD1BybzBbMiv0df3NaQTM1H45hJwURmN/StjTx3KupFBkIGzJfFbFIWN2NSieCh/bURMynHPSl8EfmSlZULZR81UMMRk2nqh5P/UeiznJUvK8SMf4ie07hvAjPmhA8My6rs6VBji+eEIYTJQL5omvRNFZ6ZAMgi5R1qLieoopCFQ1Xu0kBW0UWs6aLIEeqSZWITCEF5uaQIfV+mWayW3c7sCG1jw8IiqeYwGYWSFW+cLsXL5UehpimTzL4TxMOoDwpWXmMPoUeySCzm81DUfudcu6ec6vLQ7gLYrWZm7Dx1AXhGc044xjpKWbU1dR5VTXu4MGCdj9hrrnEtBK4W1w7BfCZefcrrG6sLtOCUUB73KKe1om1sOQJMFKn39CFy6BBcD/CjPeRyuuXa0w9og4v9zyro/YuaG/wUr6uEw8kzquPp8dbe9fayv239RdvYu+x22vO/D6/dOb9cD/EONO7gZ+bVU9IAAAAASUVORK5CYII="},640:function(e,a,t){"use strict";var i=t(5),s=t(7),n=t(6),r=t(8),c=t(9),o=t(0),l=t.n(o),m=t(21),u=t.n(m),d=(t(687),document.body||document.documentElement),p=["touchmove","mousewheel"],g=function(e){function a(e){var t;return Object(i.a)(this,a),(t=Object(n.a)(this,Object(r.a)(a).call(this,e))).preventScroll=function(e){e.preventDefault()},t.overlayBox=null,t}return Object(c.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){var e=this;p.forEach(function(a){e.overlayBox.addEventListener(a,e.preventScroll,{passive:!1})})}},{key:"componentWillUnmount",value:function(){var e=this;p.forEach(function(a){e.overlayBox.removeEventListener(a,e.preventScroll)})}},{key:"render",value:function(){var e=this;return u.a.createPortal(l.a.createElement("div",{className:"overlay",ref:function(a){return e.overlayBox=a},style:{top:"".concat(window.scrollY,"px")}},this.props.children),d)}}]),a}(o.Component);a.a=g},685:function(e,a,t){"use strict";var i=t(5),s=t(7),n=t(6),r=t(8),c=t(9),o=t(0),l=t.n(o),m=(t(686),function(e){function a(e){var s;return Object(i.a)(this,a),(s=Object(n.a)(this,Object(r.a)(a).call(this,e))).closeMore=function(){s.props.boxHide(!1)},s.state={kanjiaIcon:t(639)},s}return Object(c.a)(a,e),Object(s.a)(a,[{key:"render",value:function(){return l.a.createElement("div",{className:"ranking-box"},this.props.isShowMore&&l.a.createElement(u,{list:this.props.list,limitPeople:this.props.limitPeople,closeMore:this.closeMore,img:this.props.icon}))}}]),a}(o.Component));function u(e){return l.a.createElement("div",{className:"moreMbc"},l.a.createElement("div",{className:"content"},l.a.createElement("div",{className:"title-box"},"\u597d\u53cb\u52a9\u529b\u8be6\u60c5"),l.a.createElement("ul",{className:"more-bargain-list"},e.list&&e.list.length>0&&e.list.map(function(a,t){return l.a.createElement("li",{key:t,className:"bargain-item"},l.a.createElement("img",{className:"avatar",src:a.avatar_file,alt:""}),l.a.createElement("p",{className:"name"},a.user_name),l.a.createElement("p",{className:"bargain-status"},l.a.createElement("img",{className:"kanjia-icon",src:e.img,alt:""}),"\u780d\u6389",l.a.createElement("span",{className:"price"},a.amount)))})),l.a.createElement("div",{className:"more-bargain-dec"},"\u8d85\u8fc7",e.limitPeople,"\u4f4d\u597d\u53cb\u52a9\u529b\u53ef\u83b7\u5f97\u3010\u780d\u4ef7\u795e\u5668\u3011")),l.a.createElement("i",{onClick:e.closeMore,className:"iconfont iconiconfront-2 close"}))}a.a=m},686:function(e,a,t){},687:function(e,a,t){},688:function(e,a,t){e.exports=t.p+"mrstatic/media/kanjia_cg_icon.81a489ac.png"},911:function(e,a,t){},912:function(e,a,t){},913:function(e,a){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGUAAABmCAMAAADlNq9TAAACSVBMVEUAAABeTUZoSDp2QytSUlL/1jRSUlJhTEL/1jRSUlJ2QytVUE780jP/1jRSUlL/1jT/1jR1QyxSUlJSUlJ2Qyv/1jRmSj3/1jR2QytSUlL/1jR3RCv/1jT/1jT/1jT/1jRcTkj/1jSPXS3/1jT/1jT/1jT/1jR1QytSUlJ2QytSUlJSUlL/1jRTUVD/1jR2Qyv/1jT/1jRSUlJ2QytSUlJ2Qyt8SixSUlL/1jT/1jRSUlL/1TR6Ryt2QytSUlJSUlJSUlJSUlL/1jT/1jR2Qyt2Qyv/1jT/1jR2Qyv/1jRSUlL/1jT/1jR2QyuUYy1+TCtyRC9SUlJ2Qyt2QyuTYS3dsTF2QyvovTK6jC9aTknKnjG8jjCKWSzzyTPNoDGldi5qS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gVKjsq2iPHrnCx+DIhTdJIcjJmCygotyWidB2crc/vI3J8uKeiXER0CP4lREtkdEBghnJESXCT8pURCBjclk2Qs8jYig4iDkotD0FeEnMHq4GIr6BMvChU1jv2sxTro8yqWFmE7BQxzUOJ+XcRylnwiDHGd3HgsZqK7/GhgYyr4Bv0gWFMX+40TOAZvSG+YKhrUIpmOx2sRrU0KE8b9CfK04mZD0/TvqzupNz1FM9xzTZU1/YH9qfu9prOSPXG9Tr+UerDsaeOnGbP1S3bbNXggV9XIWYP5SLNCwAAAABJRU5ErkJggg=="}}]);
//# sourceMappingURL=BargainMiddlePage.ee9f49e7.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/bargainMiddlePage/barcode/index.js","components/bargainMiddlePage/index.js","components/bargainMiddlePage/image/kanjia_icon.png","components/detail/overlay/index.js","components/bargainMiddlePage/ranking/index.js","components/bargainMiddlePage/image/kanjia_cg_icon.png","components/bargainMiddlePage/image/kanjia_no_iccon.png"],"names":["FollowBarcode","props","_this","Object","classCallCheck","this","possibleConstructorReturn","getPrototypeOf","call","state","url","codeUrl","_this2","console","log","_this$props$userInfo$","userInfo","uid","http","get","concat","API","then","res","_res$data","data","errno","setState","Promise","resolve","QRCode","toDataURL","err","_this$props","firendBaigainPrice","avatar","money","react_default","a","createElement","className","style","backgroundImage","src","alt","Component","BargainMiddlePage","connect","user","getBargainInfo","home","getParam","code","isOriginator","is_originator","originatorUid","originator_uid","course","limitPeople","limit_people","bargainData","bargain","width","bargain_price","total_price","toFixed","expire_time","date","now","Date","clearInterval","timer","setInterval","_d","s","differenceInSeconds","m","differenceInMinutes","h","differenceInHours","d","differenceInDays","hour","min","sec","day","toast_default","info","msg","getBargainCourse","courseList","getBargainRankList","courseId","arguments","length","undefined","type","bargain_code","post","arr","newList","out_list","map","item","i","objectSpread","rank","list","outList","toCart","history","push","toCartBottom","id","getMore","isShowMore","boxHide","val","toArtifact","_this$state$course$co","course_id","isShowOverlay","status","useArtifact","_this$state$course$co2","toKanjia","parent_uid","amount","is_success","browser","isWeixin","redirectURI","window","location","href","includes","index","lastIndexOf","substr","assign","encodeURIComponent","friendBargainFirst","_this$state$course$co3","friendBargainSecond","_this$state$course$co4","shareFriendBargain","isshowYindao","wxShare","title","desc","link","encodeURI","imgUrl","course_img","close","toCourseDetail","dispatch","kanjiaIcon","require","isLoaidng","imglink","prevProps","prevUser","hasError","thirdRow","btn","is_artifact","invite_num","onClick","_this$state$data","_this$state$data$is_o","_this$state$data$assi","assist_status","_this$state$data$barg","bargain_status","bargainBtn","common","arrow","cart","toHref","img","CourseDes","String","padStart","key","avatar_file","user_name","image_name","course_title","toDetail","bottom","CourseBottom","bind","react_router_dom","to","ranking","icon","overlay","BargainSuccess","bargainMiddlePage_barcode","BargainFirst","bargainSecond","BargainSecond","NotBargain","Artifact","UseArtifact","allMoney","_props$data","_props$data$bargain_s","_props$data$course","_props$data$is_origin","course_price","pay_price","Buttons","_ref","_ref$course_id","_ref$bargain_status","_ref$price","price1","_ref$pay_price","_props$user$data","price","v_course_id","classnames","price0","color","withRouter","module","exports","root","document","body","documentElement","events","Overlay","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__","preventScroll","e","preventDefault","overlayBox","forEach","addEventListener","passive","_this3","removeEventListener","_this4","ReactDom","createPortal","react__WEBPACK_IMPORTED_MODULE_5___default","ref","el","top","scrollY","children","Ranking","closeMore","MoreList","__webpack_require__","p"],"mappings":"kTAyDeA,sBAlDb,SAAAA,EAAYC,GAAO,IAAAC,EAAA,OAAAC,OAAAC,EAAA,EAAAD,CAA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KrCwN,uEC9Df7B,EAAAC,QAAiB+B,EAAAC,EAAuB,4GCAxCjC,EAAAC,QAAA","file":"mrstatic/js/BargainMiddlePage.ee9f49e7.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport QRCode from 'qrcode';\nimport { http } from \"@/utils\"\nimport './index.scss';\n\nclass FollowBarcode extends Component {\n\n constructor(props) {\n super(props);\n this.state = {\n url: '',\n codeUrl: ''\n }\n }\n\n componentDidMount() {\n console.log(this.props);\n const { userInfo: { uid = '' } } = this.props;\n if(uid) {\n http.get(`${API['base-api']}/wx/user_temporary_qrcode/${uid}`).then((res) => {\n const { errno, data } = res.data;\n console.log(res);\n if (errno == 0) {\n this.setState({\n url: data.url\n });\n const _this = this;\n return new Promise(resolve => {\n QRCode.toDataURL(data.url, {}, function (err, url) {\n _this.setState({\n codeUrl: url\n });\n });\n resolve();\n });\n }\n });\n }\n }\n\n render() {\n const { codeUrl } = this.state;\n const { firendBaigainPrice, userInfo: { avatar }, money } = this.props;\n return (\n <div className='bargain-popup__barcode'>\n <i className='bargain-popup__avatar' style={{backgroundImage: `url(${avatar})`}} />\n {\n firendBaigainPrice &&\n <p className='bargain-popup__title'>谢谢你帮我砍了{money}元!</p>\n }\n <p className='bargain-popup__desc'>关注公众号,可以再砍一刀哦~</p>\n <img className=\"bargain-popup__imgage\" src={codeUrl} alt=\"\" />\n </div>\n );\n }\n}\n\nexport default FollowBarcode;","import React, {Component} from 'react'\nimport './bargain-middle-page.scss'\nimport {HeaderBar, VList} from '@common'\nimport {Course} from '@common'\nimport {api, getParam, http, browser, wxShare} from \"@/utils\"\nimport {Toast} from \"antd-mobile\"\nimport {Link, withRouter} from \"react-router-dom\"\nimport Ranking from './ranking'\nimport {differenceInSeconds, differenceInMinutes, differenceInHours, differenceInDays} from \"date-fns\"\nimport Overlay from '../detail/overlay'\nimport {compose} from \"redux\"\nimport {connect} from \"react-redux\";\nimport {getCourses} from './../detail/actions';\nimport classnames from 'classnames';\nimport FollowBarcode from './barcode/index';\n\n@connect(state => ({\n user: state.user\n}))\nclass BargainMiddlePage extends Component {\n\n timer\n\n constructor(props) {\n super(props)\n this.state = {\n isShowOverlay: false,\n isOriginator: '',\n kanjiaIcon: require('./image/kanjia_icon.png'),\n course: {}, // 当前砍价课程\n courseList: [], // 所有砍价课程\n data: '',\n bargainData: '',\n limitPeople: 0,\n outList: [],\n list: [],\n width: '0',\n isShowMore: '',\n status: '',\n hour: '',\n min: '',\n sec: '',\n day: '',\n amount: '', // 每次砍掉的价格\n firendBaigainPrice: true,\n isshowYindao: false,\n isLoaidng: true,\n imglink: 'https://julyedu-img-public.oss-cn-beijing.aliyuncs.com/Public/Image/',\n }\n }\n\n componentDidMount() {\n this.getBargainRankList(getParam('id'), 1)\n this.getBargainCourse()\n this.getBargainInfo()\n }\n\n componentDidUpdate(prevProps) {\n let {user} = this.props\n let {user: prevUser} = prevProps\n if(!user.hasError && user.hasError !== prevUser.hasError){\n this.getBargainRankList(getParam('id'), 1)\n this.getBargainCourse()\n this.getBargainInfo()\n }\n }\n\n\n // 获取砍价信息\n getBargainInfo = () => {\n\n http.get(`${API.home}/m/bargain/info?bargaincode=${getParam('bargaincode')}&is_originator=${getParam('is_originator')}`).then((res) => {\n if (res.data.code === 200) {\n this.setState(\n {\n data: res.data.data,\n isOriginator: res.data.data.is_originator,\n originatorUid: res.data.data.originator_uid,\n course: res.data.data.course,\n limitPeople: res.data.data.course.limit_people,\n bargainData: res.data.data.bargain,\n width: (res.data.data.bargain.bargain_price / res.data.data.bargain.total_price).toFixed(2) * 100 + '%'\n },\n () => {\n if (this.state.bargainData.expire_time) {\n let date = this.state.bargainData.expire_time * 1000\n let now = Date.now()\n clearInterval(this.timer)\n this.timer = setInterval(() => {\n date -= 1000\n let _d = new Date(date)\n let s = differenceInSeconds(_d, now) % 60,\n m = differenceInMinutes(_d, now) % 60,\n h = differenceInHours(_d, now) % 24,\n d = differenceInDays(_d, now) % 24\n this.setState({\n hour: h,\n min: m,\n sec: s,\n day: d\n })\n\n }, 1000)\n }\n }\n )\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n\n // 获取砍价课程\n getBargainCourse = () => {\n http.get(`${API.home}/m/bargain/courseList`).then((res) => {\n if (res.data.code === 200) {\n this.setState({\n courseList: res.data.data\n })\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n\n // 获取助理好友\n getBargainRankList = (id = '', type) => {\n const bargain_code = getParam('bargaincode') || '';\n let data = {\n courseId: id,\n type: type,\n bargain_code\n }\n http.post(`${API.home}/m/bargain/rankList`, data).then((res) => {\n if (res.data.code === 200) {\n let arr = ['刀神', '刀王', '刀霸']\n let newList = res.data.data.out_list.map((item, i) => {\n return {\n ...item,\n rank: arr[i]\n }\n })\n this.setState({\n list: res.data.data.list,\n outList: newList\n })\n } else if (res.data.code == 4030 || res.data.code == 4040) {\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n\n // 直接支付\n toCart = () => {\n http.get(`${API['base-api']}/m/cart/addtopreorder/[${getParam('id')}]`).then((res) => {\n if (res.data.errno === 0) {\n this.props.history.push(`/order?id=[${getParam('id')}]`, {bargain: 1});\n } else {\n Toast.info(res.data.msg, 2);\n }\n })\n // let data = {\n // course_id: getParam('id')\n // }\n // http.post(`${API.home}/m/cart/add`, data).then((res) => {\n // if (res.data.code === 200 || res.data.code === 15001) {\n // this.props.history.push('/shopcart')\n // } else {\n // Toast.info(res.data.msg, 2);\n // }\n // })\n }\n\n // 我要砍价列表的去支付\n toCartBottom = (id) => {\n http.get(`${API['base-api']}/m/cart/addtopreorder/[${id}]`).then((res) => {\n if (res.data.errno === 0) {\n this.props.history.push(`/order?id=[${getParam('id')}]`, {bargain: 1});\n } else {\n Toast.info(res.data.msg, 2);\n }\n })\n // http.post(`${API.home}/m/cart/add`, data).then((res) => {\n // if (res.data.code === 200 || res.data.code === 15001) {\n // this.props.history.push('/shopcart')\n // } else {\n // Toast.info(res.data.msg, 2);\n // }\n // })\n }\n\n // 查看更多\n getMore = () => {\n this.setState({\n isShowMore: true\n })\n }\n\n // 自组件传给父组件的boxHide\n boxHide = (val) => {\n this.setState({isShowMore: val})\n }\n\n // 领取砍价神器\n toArtifact = () => {\n const { course: { course_id = '' } } = this.state;\n let data = {\n courseId: getParam('id')? getParam('id') : course_id\n }\n http.post(`${API.home}/m/bargain/receiveLimit`, data).then((res) => {\n if (res.data.code === 200) {\n this.setState({\n isShowOverlay: true,\n status: 5,\n });\n this.getBargainInfo();\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n\n // 使用砍价神器\n useArtifact = () => {\n const { course: { course_id = '' } } = this.state;\n const id = getParam('id')? getParam('id') : course_id;\n this.toKanjia(id, 2, 0);\n }\n\n // 砍价接口\n toKanjia = (id, type, uid) => {\n let data = {\n course_id: id,\n type: type, // 1 用户自己砍价 2 使用砍价神器 3 好友助力砍价 4 好友第二次助力\n parent_uid: uid // 被助力人id 【自己本人操作传0】\n }\n http.post(`${API.home}/m/bargain/toBargain`, data).then((res) => {\n if (res.data.code === 200) {\n\n // is_success =0一切正常 =1 不能在砍了 =2关注公众号,可以再砍一刀!\n this.setState({\n amount: res.data.data.amount\n })\n if (type === 2) {\n this.setState({\n isShowOverlay: true,\n status: 6\n });\n this.getBargainInfo();\n this.getBargainRankList('', 1);\n }\n\n if (res.data.data.is_success === 1) {\n this.setState({\n isShowOverlay: true,\n status: 4\n })\n } else if (res.data.data.is_success === 2) {\n if (type === 3) {\n this.setState({\n isShowOverlay: true,\n status: 2\n })\n } else if (type === 4) {\n this.setState({\n isShowOverlay: true,\n status: 1,\n firendBaigainPrice: false\n })\n }\n } else if (res.data.data.is_success === 0) {\n if (type === 3) {\n this.setState({\n isShowOverlay: true,\n status: 2\n })\n } else if (type === 4) {\n this.setState({\n isShowOverlay: true,\n status: 3\n })\n }\n }\n\n this.getBargainInfo()\n this.getBargainRankList(getParam('id'), 1)\n\n\n } else if (res.data.code == 4030 || res.data.code == 4040) {\n if (browser.isWeixin) {\n let redirectURI = window.location.href\n if (redirectURI.includes('code=') && redirectURI.includes('state=STATE')) {\n let index = redirectURI.lastIndexOf('code=');\n redirectURI = redirectURI.substr(0, index - 1);\n }\n window.location.assign(`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=${encodeURIComponent(redirectURI)}&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`)\n } else {\n this.props.history.push('/passport')\n }\n\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n\n\n // 帮好友砍价第一刀\n friendBargainFirst = () => {\n const { course: { course_id = '' } } = this.state;\n const id = getParam('id')? getParam('id') : course_id;\n this.toKanjia(id, 3, this.state.originatorUid);\n }\n\n // 帮好友砍价第二刀\n friendBargainSecond = () => {\n const { course: { course_id = '' } } = this.state;\n const id = getParam('id')? getParam('id') : course_id;\n this.toKanjia(id, 4, this.state.originatorUid);\n }\n\n // 邀请好友砍价\n shareFriendBargain = () => {\n this.setState({\n isShowOverlay: true,\n status: 7,\n isshowYindao: browser.isWeixin ? true : false\n });\n\n wxShare({\n title: `我发现一门好课,快来帮我砍价吧!`,\n desc: `我已经砍了${this.state.bargainData.bargain_price}元,看看你能砍多少`,\n link: encodeURI(location.href),\n imgUrl: this.state.course.course_img,\n });\n }\n\n // 关闭弹窗\n close = () => {\n this.setState({\n isShowOverlay: false,\n status: '',\n });\n }\n\n toCourseDetail = (id) => {\n const {dispatch, history} = this.props;\n // dispatch(getCourses(id, () => {\n history.push(`/detail?id=${id}`);\n return false;\n // }));\n }\n\n render() {\n // console.log(this.props);\n let thirdRow, btn\n // is_artifact\t 0-再邀请多少人可以使用 1-可以使用未领取 2-已领取 3-已使用\n if (this.state.bargainData.is_artifact === 0) {\n thirdRow =\n <div>再邀请<span className={'indicator'}>{this.state.bargainData.invite_num}</span>位好友助力即可获得<span\n className={'indicator'}>【砍价神器】</span></div>\n } else if (this.state.bargainData.is_artifact === 1) {\n thirdRow = <div>恭喜你获得<span className={'indicator'}>【砍价神器】</span></div>\n btn = <button className={'artifact-btn'} onClick={this.toArtifact}>立即领取</button>\n } else if (this.state.bargainData.is_artifact === 2) {\n thirdRow = <div>恭喜你获得<span className={'indicator'}>【砍价神器】</span></div>\n btn = <button className={'artifact-btn'} onClick={this.useArtifact}>立即使用</button>\n }\n\n const { data: { is_originator = 0, assist_status = 0, bargain_status = 0 } } = this.state;\n let bargainBtn = '';\n // assist_status 助力状态 0-未助力,1-已助力一次 2-已助力两次,不能再助力\n // is_originator 是否发起人 0-否 1-是\n // bargain_status 砍价状态 0-砍价中,1砍价结束,待支付,2砍价过期(没有砍价记录没有砍价信息),3已购买\n if(is_originator) {\n if(bargain_status === 0) {\n bargainBtn = <button className='active-btn' onClick={this.shareFriendBargain}>邀请好友砍价</button>\n }\n else {\n bargainBtn = <button className={'invalid-btn'}>砍价结束</button>\n }\n }else {\n if(assist_status === 0 && bargain_status === 0) {\n bargainBtn = <button className='active-btn' onClick={this.friendBargainFirst}>帮好友砍一刀</button>\n }else if (assist_status === 1 && bargain_status === 0) {\n bargainBtn = <button className='active-btn' onClick={this.friendBargainSecond}>再砍一刀</button>\n }else if (assist_status === 2 && bargain_status === 0) {\n bargainBtn = <button className={'invalid-btn'}>已帮好友助力</button>\n }else if (bargain_status !== 0) {\n bargainBtn = <button className={'invalid-btn'}>砍价结束</button>\n }\n }\n\n // if (this.state.isOriginator !== 1 && this.state.data.assist_status === 0 && this.state.data.bargain_status === 0) {\n // bargainBtn = <button className='active-btn' onClick={this.friendBargainFirst}>帮好友砍一刀</button>\n // } else if (this.state.isOriginator !== 1 && this.state.data.assist_status === 1) {\n // bargainBtn = <button className='active-btn' onClick={this.friendBargainSecond}>再砍一刀1</button>\n // } else if (this.state.isOriginator !== 1 && this.state.data.assist_status === 2) {\n // bargainBtn = <button className={'invalid-btn'}>已帮好友助力</button>\n // } else if (this.state.data.bargain_status === 1 || this.state.data.bargain_status === 2) {\n // bargainBtn = <button className={'invalid-btn'}>砍价结束</button>\n // } else if (this.state.isOriginator === 1 && this.state.data.bargain_status === 0) {\n // bargainBtn = <button className='active-btn' onClick={this.shareFriendBargain}>邀请好友砍价</button>\n // }\n return (\n <div className={'bargain-middle-page'}>\n <HeaderBar title='砍价详情' arrow={true} cart={true} toHref={'/'}></HeaderBar>\n {/*<Loading isLoading={this.state.isLoaidng}>*/}\n <div className=\"top\">\n <div className=\"bargain-area\">\n {\n this.state.isOriginator !== 1 &&\n <p className='bargain-tip'>你的好友发现一门精品课程,快来一起帮他砍价:</p>\n }\n\n <ul>\n <VList\n img={this.state.course.course_img}\n info={\n <CourseDes\n isOriginator={this.state.isOriginator}\n data={this.state.data}\n toCart={this.toCart}/>\n }\n />\n </ul>\n <div className=\"bargain-detail\">\n {\n (this.state.data.bargain_status == 0 || this.state.data.bargain_status == 1) &&\n <div>\n <div className=\"top\">\n <div>\n 已砍<span className={'reduced-price'}>{this.state.bargainData.bargain_price}元</span>\n </div>\n {\n this.state.data.bargain_status === 0 &&\n <div>\n <span\n className={'time hour'}>{String(this.state.hour).padStart(2, 0)}</span> :&nbsp;\n <span\n className={'time min'}>{String(this.state.min).padStart(2, 0)}</span> :&nbsp;\n <span className={'time sec'}>{String(this.state.sec).padStart(2, 0)}</span>\n <span className={'inactive'}> 后砍价结束</span>\n </div>\n }\n {\n this.state.data.bargain_status === 1 && this.state.isOriginator === 1 &&\n <span className={'inactive'}>砍价结束</span>\n }\n\n </div>\n <div className=\"middle\">\n <span style={{width: this.state.width}}></span>\n </div>\n </div>\n }\n {\n this.state.isOriginator === 1 && this.state.data.bargain_status === 0 &&\n <div>\n {thirdRow}\n {btn}\n </div>\n }\n\n {\n this.state.isOriginator === 1 && this.state.data.bargain_status === 1 &&\n <div>\n 砍价金额将于\n <span className={'time hour'}>{String(this.state.day).padStart(2, 0)}</span><span\n className={'unit'}> 天 </span>\n <span className={'time min'}>{String(this.state.hour).padStart(2, 0)}</span><span\n className={'unit'}> 时 </span>\n <span className={'time sec'}>{String(this.state.min).padStart(2, 0)}</span><span\n className={'unit'}>分</span>\n 后清零,请尽快完成支付\n </div>\n }\n\n <div className={'button'}>\n {bargainBtn}\n </div>\n\n </div>\n </div>\n <div className=\"bargain-records\">\n <div className=\"title\">砍价记录</div>\n <ul>\n {\n this.state.outList && this.state.outList.length > 0 && this.state.outList.map((item, index) => {\n return (\n <li key={index}>\n <div className=\"left\">\n <img className='avatar' src={item.avatar_file} alt=\"\"/>\n <span className={'nickname'}>{item.user_name}</span>\n <span className=\"rank-tag\">{item.rank}</span>\n </div>\n <div className=\"right\">\n <img className='kanjia-icon' src={this.state.kanjiaIcon} alt=\"\"/>\n 砍掉<span className={'price'}>{item.amount}</span>\n </div>\n </li>\n )\n })\n\n }\n\n </ul>\n <div className=\"more\" onClick={this.getMore}>查看更多>></div>\n </div>\n </div>\n <div className=\"bargain-course-list\" id='bargainCourse'>\n <div className=\"title-wrapper\">\n <div className=\"title\">我要砍价</div>\n <div className=\"subtitle\">邀请{this.state.limitPeople}位以上好友帮忙砍价可获得【砍价神器】</div>\n </div>\n <ul>\n {\n this.state.courseList && this.state.courseList.length > 0 && this.state.courseList.map((item, index) => {\n return <Course\n className={'text-overflow-2'}\n key={index}\n id={item.course_id}\n img={item.image_name}\n title={item.course_title}\n toDetail={this.toCourseDetail}\n bottom={\n <CourseBottom\n user={this.props.user}\n item={item}\n toCartBottom={this.toCartBottom.bind(this, item.course_id)}\n toDetail={this.toCourseDetail}\n />\n }\n />\n })\n }\n </ul>\n </div>\n <Link to={'/classify'} className={'preferential'}>查看更多精品课程 >></Link>\n\n\n {/*更多好友砍价*/}\n <Ranking list={this.state.list} icon={this.state.kanjiaIcon} limitPeople={this.state.limitPeople}\n isShowMore={this.state.isShowMore} boxHide={this.boxHide}></Ranking>\n\n\n {\n this.state.isShowOverlay &&\n <Overlay>\n <div className=\"bargain-popup__content\">\n\n\n\n {/*砍价成功去分享*/}\n {\n this.state.status === 7 &&\n <BargainSuccess isshowYindao={this.state.isshowYindao} limitPeople={this.state.limitPeople}\n close={this.close}/>\n }\n\n\n {/*引导关注公众号*/}\n {/* {\n this.state.status === 1 &&\n <PublicNumber\n money={this.state.amount}\n avatar={this.props.user.data.avatar}\n firendBaigainPrice={this.state.firendBaigainPrice}/>\n } */}\n {\n this.state.status === 1 &&\n <FollowBarcode\n userInfo={this.props.user.data}\n money={this.state.amount}\n firendBaigainPrice={this.state.firendBaigainPrice}\n />\n }\n\n {/*好友成功砍第一刀*/}\n {\n this.state.status === 2 &&\n <BargainFirst\n bargainSecond={this.friendBargainSecond}\n money={this.state.amount}\n />\n }\n {/*好友成功砍第二刀*/}\n {\n this.state.status === 3 &&\n <BargainSecond close={this.close} money={this.state.amount}/>\n }\n {/*不能在砍了*/}\n {\n this.state.status === 4 &&\n <NotBargain close={this.close} limitPeople={this.state.limitPeople}/>\n }\n {/*领取砍价神器*/}\n {\n this.state.status === 5 &&\n <Artifact useArtifact={this.useArtifact}/>\n }\n {/*使用砍价神器*/}\n {\n this.state.status === 6 &&\n <UseArtifact toCart={this.toCart} money={this.state.amount}\n allMoney={this.state.bargainData.bargain_price}/>\n }\n\n {\n this.state.status !== 7 &&\n <i onClick={this.close} className={'iconfont iconiconfront-2 bargain-popup__button--close'}></i>\n }\n </div>\n </Overlay>\n\n }\n {/*</Loading>*/}\n\n </div>\n );\n }\n}\n\n// 课程信息 -- 右侧\nfunction CourseDes(props) {\n const { data: { bargain_status = 0, course = {}, is_originator = 0 }, toCart } = props;\n return (\n <div className={'des'}>\n <div className=\"course-title text-overflow-2\">\n {course.course_title}\n </div>\n <div className=\"price-bar\">\n <span className={'discount-price'}>¥{course.course_price}</span>\n {/* is_originator 是否发起人 0-否 1-是 */}\n {\n (is_originator == 1 && bargain_status !=3) &&\n <button className={'purchase-btn'} onClick={toCart}>\n ¥{course.pay_price}去支付\n </button>\n }\n {\n (is_originator == 1 && bargain_status == 3) &&\n <span className=\"course-button__buy--done\">已购买</span>\n }\n </div>\n </div>\n );\n}\n\nfunction CourseBottom(props) {\n\n // bargain_status 砍价状态 0-砍价中,1砍价结束,待支付,2砍价过期(没有砍价记录没有砍价信息),3已购买\n const {course_id = '', bargain_status = '', price1 = '', pay_price = '' } = props.item || {};\n const { user: { data = {} } } = props;\n const price = bargain_status === 2? price1 : pay_price;\n let Buttons\n if(data.uid) {\n if (props.item.bargain_status === 2) {\n // Buttons = <Link to={`/detail?id=${props.item.course_id}`} className={'bargain'}>我要砍价</Link>\n Buttons = (\n <div className=\"\">\n <a onClick={() => props.toDetail(props.item.course_id)} className={'bargain bargian-study'}>我要砍价</a>\n </div>\n\n )\n } else if (bargain_status === 3) {\n if(course_id === 139) {\n Buttons = (\n <a\n onClick={() => props.toDetail(props.item.course_id)}\n className={'bargain bargian-study'}\n >我要砍价</a>\n );\n }else {\n Buttons = (\n <Link\n to={`/play/video?id=${props.item.v_course_id}`}\n className={classnames('bargain', 'button--study')}\n >去学习</Link>\n );\n }\n } else {\n Buttons = (\n <div className=\"btns\">\n {/*<button className={classnames('bargain-btn', {invalid: props.item.bargain_status === 2})}>*/}\n {/*{props.item.bargain_status === 2 ? '砍价结束' : '继续砍价'}*/}\n {/*</button>*/}\n {\n bargain_status === 1 &&\n <button className='invalid'>砍价结束</button>\n }\n {\n bargain_status === 0 &&\n <a onClick={() => props.toDetail(props.item.course_id)} className={'bargain-btn'}>继续砍价</a>\n }\n <button\n onClick={() => props.toCartBottom(props.item.course_id)}\n className={'purchase-btn'}\n >\n ¥{price}去支付\n </button>\n </div>\n )\n }\n\n }else {\n Buttons = (\n <a\n onClick={() => props.toDetail(props.item.course_id)}\n className={'bargain bargian-study'}\n >我要砍价</a>\n );\n }\n\n return (\n <div className=\"course-bottom\">\n <div className={'course-price'}>\n <span className={'discount-price'}>¥{props.item.price1}</span>\n <span className={'original-price'}>¥{props.item.price0}</span>\n </div>\n {Buttons}\n </div>\n )\n}\n\n\nfunction PublicNumber(props) {\n return (\n <div className='bargain-public-number'>\n <img className='avait' src={props.avatar} alt=\"\" />\n {\n props.firendBaigainPrice &&\n <p className='status-title ff4'>谢谢你帮我砍了{props.money}元!</p>\n }\n <p className='status-dec'>关注公众号,可以再砍一刀哦~</p>\n <img\n className='public-number-img'\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png\"\n alt=\"\"\n />\n </div>\n )\n}\n\nfunction BargainFirst(props) {\n return (\n <div className='bargain-first'>\n <img className='top-img' src={require('./image/kanjia_cg_icon.png')} alt=\"\"/>\n <p className='status-title'>谢谢你帮我砍了<span className='ff4'>{props.money}元</span>!</p>\n <p className='status-dec'>你还可以帮我再砍一刀哦~</p>\n <button className='bargain-href' onClick={props.bargainSecond}>再砍一刀</button>\n </div>\n )\n}\n\nfunction BargainSecond(props) {\n return (\n <div className='bargain-second'>\n <img className='top-img' src={require('./image/kanjia_cg_icon.png')} alt=\"\"/>\n <p className='status-title'>厉害了,又帮好友砍掉<span className='ff4'>{props.money}元</span>!</p>\n <a className='bargain-href' href='#bargainCourse' onClick={props.close}>我也要砍价</a>\n </div>\n )\n}\n\nfunction NotBargain(props) {\n return (\n <div className='not-bargain'>\n <img className='middle-img' src={require('./image/kanjia_no_iccon.png')} alt=\"\"/>\n <p className='status-title'>你的好友用【砍价神器】把我砍蒙圈了<br/>不能再砍了哦~</p>\n <p className='status-dec'>邀请{props.limitPeople}位以上好友帮忙砍价可获得【砍价神器】</p>\n <a className='bargain-href' href='#bargainCourse' onClick={props.close}>我也要砍价</a>\n </div>\n )\n}\n\nfunction Artifact(props) {\n return (\n <div className='artifact-box'>\n <p className='top-tip'>恭喜你获得【砍价神器】!</p>\n <p className='middle-tip'>\n 您可以使用\n <span className={'indicator'}>【砍价神器】</span>\n 再砍一刀\n </p>\n <button className='use-artifact' onClick={props.useArtifact}>立即使用</button>\n </div>\n )\n}\n\nfunction UseArtifact(props) {\n return (\n <div className='use-artifact-box'>\n <img className='top-img' src={require('./image/kanjia_cg_icon.png')} alt=\"\"/>\n <p className='top-tip'>厉害了,又砍掉了{props.money}元!</p>\n <p className='middle-tip'>\n 你已经砍了\n <span className={'indicator'}>{props.allMoney}元</span>\n 没见过你这么能砍的人...\n </p>\n <p className='btm-tip'>\n 不能再砍了哦~\n </p>\n <button className='tubuy' onClick={props.toCart}>去支付</button>\n </div>\n )\n}\n\n\nfunction BargainSuccess(props) {\n return (\n <div>\n <div className='close-bargain-success' onClick={props.close}></div>\n\n <div className=\"bargain-success\">\n {\n props.isshowYindao &&\n <i className='iconfont iconyindao'></i>\n }\n <p>分享到微信群邀请更多好友帮忙砍价</p>\n <p>超过{props.limitPeople}位好友助力可获得<span className={'indicator'} style={{color: '#FF4000'}}>【砍价神器】</span>哦\n </p>\n </div>\n </div>\n )\n}\n\n\nexport default withRouter(BargainMiddlePage);\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAA51BMVEUAAAD3yyr4zCr60jD61DT4zSz4zi360C770jL93jn94UH3yin4yyz4ziz4zi34zS361TX50i/50jD61DP72Dj61jP+4kH+4ED4zCv3zCz4zSz4zS350jL61jb61jT6zir50DH83Dz71DP83Dj+5ET2zDD50C77zyj93j/930H82zv3yir3yCj/6072xib3yyv/6kz2xiT/7lD/8FL2wyL2xCP/8VT/7E//8lb83T74zS32wiH/81b/6Er71zj94kT72zz50zP+5kj84EH/9Vj+5Uf61TX50TH83j/4zy//9Ff3xyb0vBpXStORAAAAK3RSTlMA8+yrk9q7gTsdBPfnysGyoJ+IhWhMFg3w5d7QvKSbmI9eWich+nxTRjARluH5lgAAAm5JREFUOMt1lddi4jAQRYVp6b1vspvdZKvG6pI7NjWQ7P9/T7BFQBBzXnjw0YyvxhJonZ1fzcODRuPgsNndQVvZPW9DCca4/Lk7e6rV/rUwIdiBcNy6+uz98DjgDYDffN/0WsTR3Kpf171j13MB3Vn38Fb0/cr7BpsdgeIl6uTD++16FDQhMQanu1okuv4JjpbAkMZm4JoEX9vGxFmNJ9Eoy1KGyeodaPJQelfUWZz0RpIJIYeEa0WAx7RaDrtz8Yw4TWIh/JIgm0b5hOayp6s8rbnoOQV5njK/QozGLJ+lr0NeFbhBaMeNzPsi8C1hL+E9IwcAlfkHdcGdbWSsxoTpFy+FEZlNoM/RsStC5NuKwYD1BybzBbMiv0df3NaQTM1H45hJwURmN/StjTx3KupFBkIGzJfFbFIWN2NSieCh/bURMynHPSl8EfmSlZULZR81UMMRk2nqh5P/UeiznJUvK8SMf4ie07hvAjPmhA8My6rs6VBji+eEIYTJQL5omvRNFZ6ZAMgi5R1qLieoopCFQ1Xu0kBW0UWs6aLIEeqSZWITCEF5uaQIfV+mWayW3c7sCG1jw8IiqeYwGYWSFW+cLsXL5UehpimTzL4TxMOoDwpWXmMPoUeySCzm81DUfudcu6ec6vLQ7gLYrWZm7Dx1AXhGc044xjpKWbU1dR5VTXu4MGCdj9hrrnEtBK4W1w7BfCZefcrrG6sLtOCUUB73KKe1om1sOQJMFKn39CFy6BBcD/CjPeRyuuXa0w9og4v9zyro/YuaG/wUr6uEw8kzquPp8dbe9fayv239RdvYu+x22vO/D6/dOb9cD/EONO7gZ+bVU9IAAAAASUVORK5CYII=\"","import React, { Component } from 'react';\nimport ReactDom from \"react-dom\";\n\nimport './overlay.scss'\n\nconst root = document.body || document.documentElement\n\nconst events = ['touchmove', 'mousewheel']\n\nclass Overlay extends Component {\n constructor(props) {\n super(props);\n this.overlayBox = null\n }\n\n preventScroll = e => {\n e.preventDefault()\n }\n\n componentDidMount() {\n events.forEach(item => {\n this.overlayBox.addEventListener(item, this.preventScroll, {\n passive: false\n })\n })\n }\n\n componentWillUnmount() {\n events.forEach(item => {\n this.overlayBox.removeEventListener(item, this.preventScroll)\n })\n }\n\n render() {\n return ReactDom.createPortal(\n (<div className={'overlay'}\n ref={el => this.overlayBox = el}\n style={{top: `${window.scrollY}px`}}\n >{this.props.children}</div>),\n root\n )\n }\n}\n\nexport default Overlay;","import React, {Component} from 'react'\nimport './index.scss'\n\nclass Ranking extends Component {\n\n constructor(props) {\n super(props)\n this.state = {\n kanjiaIcon: require('../image/kanjia_icon.png')\n }\n }\n\n // 关闭更多窗口\n closeMore = () => {\n this.props.boxHide(false);\n }\n\n render() {\n return (\n <div className={'ranking-box'}>\n {\n this.props.isShowMore &&\n <MoreList list={this.props.list} limitPeople={this.props.limitPeople} closeMore={this.closeMore}\n img={this.props.icon}/>\n }\n </div>\n );\n }\n}\n\nfunction MoreList(props) {\n return (\n <div className=\"moreMbc\">\n <div className=\"content\">\n <div className=\"title-box\">\n 好友助力详情\n </div>\n <ul className='more-bargain-list'>\n {\n props.list && props.list.length > 0 && props.list.map((item, index) => {\n return (\n <li key={index} className='bargain-item'>\n <img className='avatar' src={item.avatar_file} alt=\"\"/>\n <p className='name'>{item.user_name}</p>\n <p className='bargain-status'>\n <img className='kanjia-icon' src={props.img} alt=\"\"/>\n 砍掉<span className={'price'}>{item.amount}</span>\n </p>\n </li>\n )\n })\n }\n </ul>\n <div className='more-bargain-dec'>\n 超过{props.limitPeople}位好友助力可获得【砍价神器】\n </div>\n </div>\n <i onClick={props.closeMore} className={'iconfont iconiconfront-2 close'}></i>\n </div>\n )\n}\n\nexport default Ranking","module.exports = __webpack_public_path__ + \"mrstatic/media/kanjia_cg_icon.81a489ac.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGUAAABmCAMAAADlNq9TAAACSVBMVEUAAABeTUZoSDp2QytSUlL/1jRSUlJhTEL/1jRSUlJ2QytVUE780jP/1jRSUlL/1jT/1jR1QyxSUlJSUlJ2Qyv/1jRmSj3/1jR2QytSUlL/1jR3RCv/1jT/1jT/1jT/1jRcTkj/1jSPXS3/1jT/1jT/1jT/1jR1QytSUlJ2QytSUlJSUlL/1jRTUVD/1jR2Qyv/1jT/1jRSUlJ2QytSUlJ2Qyt8SixSUlL/1jT/1jRSUlL/1TR6Ryt2QytSUlJSUlJSUlJSUlL/1jT/1jR2Qyt2Qyv/1jT/1jR2Qyv/1jRSUlL/1jT/1jR2QyuUYy1+TCtyRC9SUlJ2Qyt2QyuTY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lJ2Q1Kl0sjOhmO0dWG+4YyIkp7wdZLbjTYqdklLfhx5gVKjsq2iPHrnCx+DIhTdJIcjJmCygotyWidB2crc/vI3J8uKeiXER0CP4lREtkdEBghnJESXCT8pURCBjclk2Qs8jYig4iDkotD0FeEnMHq4GIr6BMvChU1jv2sxTro8yqWFmE7BQxzUOJ+XcRylnwiDHGd3HgsZqK7/GhgYyr4Bv0gWFMX+40TOAZvSG+YKhrUIpmOx2sRrU0KE8b9CfK04mZD0/TvqzupNz1FM9xzTZU1/YH9qfu9prOSPXG9Tr+UerDsaeOnGbP1S3bbNXggV9XIWYP5SLNCwAAAABJRU5ErkJggg==\""],"sourceRoot":""}
\ No newline at end of file
!function(e){function r(r){for(var n,a,d=r[0],i=r[1],s=r[2],f=0,l=[];f<d.length;f++)a=d[f],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(u&&u(r);l.length;)l.shift()();return c.push.apply(c,s||[]),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=d(d.s=t[0]))}return e}var n={},a={34:0},o={34:0},c=[];function d(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,d),t.l=!0,t.exports}d.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,13:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,32:1,33:1,35:1,36:1,37:1,38:1,39:1,40:1,42:1,43:1,44:1,45:1,46:1,47:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"e96ee8f8",3:"1133c967",4:"08739942",5:"2a913483",6:"127d35ae",7:"400393b7",8:"fed92c83",9:"1bd3da48",10:"17af9370",11:"08739942",12:"31d6cfe0",13:"83a999aa",14:"31d6cfe0",15:"68a25070",16:"ccebc534",17:"6d7d1b77",18:"6e885738",19:"887eb690",20:"affb05d7",21:"32a9cccc",22:"5dc65c0d",23:"39fb77c8",24:"0ce3fd3d",25:"2e5f43c4",26:"e8363b32",27:"55b938da",29:"841d0cfb",30:"dc74ab02",31:"a4d7bd4b",32:"ce85cb83",33:"7558403e",35:"efa1dd44",36:"cde549fc",37:"62b8863b",38:"4fbf61d8",39:"ffd8be6c",40:"b3755c1b",42:"976b2058",43:"51412fcd",44:"e292ab6b",45:"37fb0c23",46:"56b04545",47:"ce17075b"}[e]+".chunk.css",o=d.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var s=(u=c[i]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(s===n||s===o))return r()}var f=document.getElementsByTagName("style");for(i=0;i<f.length;i++){var u;if((s=(u=f[i]).getAttribute("data-href"))===n||s===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,d.nc&&i.setAttribute("nonce",d.nc),i.src=function(e){return d.p+"mrstatic/js/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[e]||e)+"."+{0:"43dd2336",1:"3394dc8f",2:"d350c155",3:"ac471c3d",4:"9d2bcd02",5:"ee9f49e7",6:"cc0bcec2",7:"23462b73",8:"a70eadab",9:"3a281ff6",10:"6e059753",11:"e94f1325",12:"136b402e",13:"bb18574c",14:"49b78136",15:"2f6bc85a",16:"7732eb2c",17:"898dfad9",18:"9f726830",19:"71012ab4",20:"85264d37",21:"e9282439",22:"e8383d61",23:"82da66de",24:"9306a2b6",25:"cd73a69e",26:"4203b243",27:"f5f551f5",29:"978cb0a2",30:"4d6d7c5c",31:"818cb755",32:"5b063df8",33:"642c09b0",35:"80d1b3d1",36:"a78abb9e",37:"3f2591ee",38:"79233bf3",39:"dbd3f54c",40:"61161570",42:"df4177bc",43:"9ebd27e5",44:"bb8f8269",45:"47c128cc",46:"c5238c5f",47:"cc32b75c"}[e]+".chunk.js"}(e),c=function(r){i.onerror=i.onload=null,clearTimeout(s);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 s=setTimeout(function(){c({type:"timeout",target:i})},12e4);i.onerror=i.onload=c,document.head.appendChild(i)}return Promise.all(r)},d.m=e,d.c=n,d.d=function(e,r,t){d.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,r){if(1&r&&(e=d(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)d.d(t,n,function(r){return e[r]}.bind(null,n));return t},d.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(r,"a",r),r},d.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},d.p="/",d.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],s=i.push.bind(i);i.push=r,i=i.slice();for(var f=0;f<i.length;f++)r(i[f]);var u=s;t()}([]);
//# sourceMappingURL=runtime~main.54805691.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,a,d=r[0],i=r[1],s=r[2],f=0,l=[];f<d.length;f++)a=d[f],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(u&&u(r);l.length;)l.shift()();return c.push.apply(c,s||[]),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=d(d.s=t[0]))}return e}var n={},a={34:0},o={34:0},c=[];function d(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,d),t.l=!0,t.exports}d.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,13:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,32:1,33:1,35:1,36:1,37:1,38:1,39:1,40:1,42:1,43:1,44:1,45:1,46:1,47:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"e96ee8f8",3:"1133c967",4:"08739942",5:"2a913483",6:"127d35ae",7:"400393b7",8:"fed92c83",9:"1bd3da48",10:"17af9370",11:"08739942",12:"31d6cfe0",13:"83a999aa",14:"31d6cfe0",15:"68a25070",16:"ccebc534",17:"6d7d1b77",18:"6e885738",19:"887eb690",20:"affb05d7",21:"32a9cccc",22:"5dc65c0d",23:"39fb77c8",24:"0ce3fd3d",25:"2e5f43c4",26:"e8363b32",27:"55b938da",29:"841d0cfb",30:"dc74ab02",31:"a4d7bd4b",32:"ce85cb83",33:"7558403e",35:"efa1dd44",36:"cde549fc",37:"62b8863b",38:"4fbf61d8",39:"ffd8be6c",40:"b3755c1b",42:"976b2058",43:"51412fcd",44:"e292ab6b",45:"37fb0c23",46:"56b04545",47:"ce17075b"}[e]+".chunk.css",o=d.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var s=(u=c[i]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(s===n||s===o))return r()}var f=document.getElementsByTagName("style");for(i=0;i<f.length;i++){var u;if((s=(u=f[i]).getAttribute("data-href"))===n||s===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,d.nc&&i.setAttribute("nonce",d.nc),i.src=function(e){return d.p+"mrstatic/js/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[e]||e)+"."+{0:"43dd2336",1:"3394dc8f",2:"d350c155",3:"ac471c3d",4:"9d2bcd02",5:"5792095d",6:"cc0bcec2",7:"23462b73",8:"a70eadab",9:"3a281ff6",10:"6e059753",11:"e94f1325",12:"136b402e",13:"bb18574c",14:"49b78136",15:"2f6bc85a",16:"7732eb2c",17:"898dfad9",18:"9f726830",19:"71012ab4",20:"85264d37",21:"e9282439",22:"e8383d61",23:"82da66de",24:"9306a2b6",25:"cd73a69e",26:"4203b243",27:"f5f551f5",29:"978cb0a2",30:"4d6d7c5c",31:"818cb755",32:"5b063df8",33:"642c09b0",35:"80d1b3d1",36:"a78abb9e",37:"3f2591ee",38:"79233bf3",39:"dbd3f54c",40:"61161570",42:"df4177bc",43:"9ebd27e5",44:"bb8f8269",45:"47c128cc",46:"c5238c5f",47:"cc32b75c"}[e]+".chunk.js"}(e),c=function(r){i.onerror=i.onload=null,clearTimeout(s);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 s=setTimeout(function(){c({type:"timeout",target:i})},12e4);i.onerror=i.onload=c,document.head.appendChild(i)}return Promise.all(r)},d.m=e,d.c=n,d.d=function(e,r,t){d.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,r){if(1&r&&(e=d(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)d.d(t,n,function(r){return e[r]}.bind(null,n));return t},d.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(r,"a",r),r},d.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},d.p="/",d.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],s=i.push.bind(i);i.push=r,i=i.slice();for(var f=0;f<i.length;f++)r(i[f]);var u=s;t()}([]);
//# sourceMappingURL=runtime~main.688ccc4d.js.map
\ No newline at end of file
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","34","exports","module","l","e","promises","2","3","4","5","6","7","8","9","10","11","13","15","16","17","18","19","20","21","22","23","24","25","26","27","29","30","31","32","33","35","36","37","38","39","40","42","43","44","45","46","47","Promise","resolve","reject","href","12","14","0","1","fullhref","p","existingLinkTags","document","getElementsByTagName","dataHref","tag","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","parentNode","removeChild","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","jsonpScriptSrc","clearTimeout","chunk","errorType","realSrc","error","undefined","setTimeout","head","all","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,EAAA,GACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAKA,IAFAe,KAAAhB,GAEAO,EAAAC,QACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,GAAA,IAGAe,IAEA,SAAAA,IAEA,IADA,IAAAC,EACAf,EAAA,EAAiBA,EAAAY,EAAAV,OAA4BF,IAAA,CAG7C,IAFA,IAAAgB,EAAAJ,EAAAZ,GACAiB,GAAA,EACAC,EAAA,EAAkBA,EAAAF,EAAAd,OAA2BgB,IAAA,CAC7C,IAAAC,EAAAH,EAAAE,GACA,IAAAf,EAAAgB,KAAAF,GAAA,GAEAA,IACAL,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wG,EAAAE,EAAA,IAAAA,GACAA,GAIA1G,EAAA2G,EAAA,SAAAgB,EAAAC,GAAsD,OAAA5I,OAAAC,UAAAC,eAAAC,KAAAwI,EAAAC,IAGtD5H,EAAA4D,EAAA,IAGA5D,EAAA6H,GAAA,SAAA/C,GAA8D,MAApBgD,QAAA7B,MAAAnB,GAAoBA,GAE9D,IAAAiD,EAAAC,OAAA,aAAAA,OAAA,iBACAC,EAAAF,EAAAhJ,KAAA0I,KAAAM,GACAA,EAAAhJ,KAAAX,EACA2J,IAAAG,QACA,QAAAvJ,EAAA,EAAgBA,EAAAoJ,EAAAlJ,OAAuBF,IAAAP,EAAA2J,EAAApJ,IACvC,IAAAU,EAAA4I,EAIAxI","file":"mrstatic/js/runtime~main.54805691.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t34: 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t34: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"mrstatic/js/\" + ({\"4\":\"Activity\",\"5\":\"BargainMiddlePage\",\"6\":\"Classify\",\"7\":\"Country\",\"8\":\"CourseList\",\"9\":\"DrawDocument\",\"10\":\"Examination\",\"11\":\"Invite\",\"12\":\"MyEdit\",\"13\":\"Order\",\"14\":\"Orderinfo\",\"15\":\"PayOrder\",\"16\":\"Preferential\",\"17\":\"SearchResult\",\"18\":\"ShareCourse\",\"19\":\"ShopCart\",\"20\":\"aist-share\",\"21\":\"blessing-getPrize\",\"22\":\"blessing-preheat\",\"23\":\"blessing-rank\",\"24\":\"coupons\",\"25\":\"deposit-order\",\"26\":\"deposit-pay-order\",\"27\":\"detail\",\"29\":\"myorders\",\"30\":\"newyear-2019-landing\",\"31\":\"newyear-yearIndex\",\"32\":\"prize-winner-list\",\"33\":\"purchased\",\"35\":\"search\",\"36\":\"shareposter\",\"37\":\"study\",\"38\":\"system-notices\",\"39\":\"togroup\",\"40\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"43dd2336\",\"1\":\"3394dc8f\",\"2\":\"d350c155\",\"3\":\"ac471c3d\",\"4\":\"9d2bcd02\",\"5\":\"ee9f49e7\",\"6\":\"cc0bcec2\",\"7\":\"23462b73\",\"8\":\"a70eadab\",\"9\":\"3a281ff6\",\"10\":\"6e059753\",\"11\":\"e94f1325\",\"12\":\"136b402e\",\"13\":\"bb18574c\",\"14\":\"49b78136\",\"15\":\"2f6bc85a\",\"16\":\"7732eb2c\",\"17\":\"898dfad9\",\"18\":\"9f726830\",\"19\":\"71012ab4\",\"20\":\"85264d37\",\"21\":\"e9282439\",\"22\":\"e8383d61\",\"23\":\"82da66de\",\"24\":\"9306a2b6\",\"25\":\"cd73a69e\",\"26\":\"4203b243\",\"27\":\"f5f551f5\",\"29\":\"978cb0a2\",\"30\":\"4d6d7c5c\",\"31\":\"818cb755\",\"32\":\"5b063df8\",\"33\":\"642c09b0\",\"35\":\"80d1b3d1\",\"36\":\"a78abb9e\",\"37\":\"3f2591ee\",\"38\":\"79233bf3\",\"39\":\"dbd3f54c\",\"40\":\"61161570\",\"42\":\"df4177bc\",\"43\":\"9ebd27e5\",\"44\":\"bb8f8269\",\"45\":\"47c128cc\",\"46\":\"c5238c5f\",\"47\":\"cc32b75c\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"2\":1,\"3\":1,\"4\":1,\"5\":1,\"6\":1,\"7\":1,\"8\":1,\"9\":1,\"10\":1,\"11\":1,\"13\":1,\"15\":1,\"16\":1,\"17\":1,\"18\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"25\":1,\"26\":1,\"27\":1,\"29\":1,\"30\":1,\"31\":1,\"32\":1,\"33\":1,\"35\":1,\"36\":1,\"37\":1,\"38\":1,\"39\":1,\"40\":1,\"42\":1,\"43\":1,\"44\":1,\"45\":1,\"46\":1,\"47\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"mrstatic/css/\" + ({\"4\":\"Activity\",\"5\":\"BargainMiddlePage\",\"6\":\"Classify\",\"7\":\"Country\",\"8\":\"CourseList\",\"9\":\"DrawDocument\",\"10\":\"Examination\",\"11\":\"Invite\",\"12\":\"MyEdit\",\"13\":\"Order\",\"14\":\"Orderinfo\",\"15\":\"PayOrder\",\"16\":\"Preferential\",\"17\":\"SearchResult\",\"18\":\"ShareCourse\",\"19\":\"ShopCart\",\"20\":\"aist-share\",\"21\":\"blessing-getPrize\",\"22\":\"blessing-preheat\",\"23\":\"blessing-rank\",\"24\":\"coupons\",\"25\":\"deposit-order\",\"26\":\"deposit-pay-order\",\"27\":\"detail\",\"29\":\"myorders\",\"30\":\"newyear-2019-landing\",\"31\":\"newyear-yearIndex\",\"32\":\"prize-winner-list\",\"33\":\"purchased\",\"35\":\"search\",\"36\":\"shareposter\",\"37\":\"study\",\"38\":\"system-notices\",\"39\":\"togroup\",\"40\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"31d6cfe0\",\"2\":\"e96ee8f8\",\"3\":\"1133c967\",\"4\":\"08739942\",\"5\":\"2a913483\",\"6\":\"127d35ae\",\"7\":\"400393b7\",\"8\":\"fed92c83\",\"9\":\"1bd3da48\",\"10\":\"17af9370\",\"11\":\"08739942\",\"12\":\"31d6cfe0\",\"13\":\"83a999aa\",\"14\":\"31d6cfe0\",\"15\":\"68a25070\",\"16\":\"ccebc534\",\"17\":\"6d7d1b77\",\"18\":\"6e885738\",\"19\":\"887eb690\",\"20\":\"affb05d7\",\"21\":\"32a9cccc\",\"22\":\"5dc65c0d\",\"23\":\"39fb77c8\",\"24\":\"0ce3fd3d\",\"25\":\"2e5f43c4\",\"26\":\"e8363b32\",\"27\":\"55b938da\",\"29\":\"841d0cfb\",\"30\":\"dc74ab02\",\"31\":\"a4d7bd4b\",\"32\":\"ce85cb83\",\"33\":\"7558403e\",\"35\":\"efa1dd44\",\"36\":\"cde549fc\",\"37\":\"62b8863b\",\"38\":\"4fbf61d8\",\"39\":\"ffd8be6c\",\"40\":\"b3755c1b\",\"42\":\"976b2058\",\"43\":\"51412fcd\",\"44\":\"e292ab6b\",\"45\":\"37fb0c23\",\"46\":\"56b04545\",\"47\":\"ce17075b\"}[chunkId] + \".chunk.css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\tvar error = new Error('Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')');\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","34","exports","module","l","e","promises","2","3","4","5","6","7","8","9","10","11","13","15","16","17","18","19","20","21","22","23","24","25","26","27","29","30","31","32","33","35","36","37","38","39","40","42","43","44","45","46","47","Promise","resolve","reject","href","12","14","0","1","fullhref","p","existingLinkTags","document","getElementsByTagName","dataHref","tag","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","parentNode","removeChild","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","jsonpScriptSrc","clearTimeout","chunk","errorType","realSrc","error","undefined","setTimeout","head","all","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,EAAA,GACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAKA,IAFAe,KAAAhB,GAEAO,EAAAC,QACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,GAAA,IAGAe,IAEA,SAAAA,IAEA,IADA,IAAAC,EACAf,EAAA,EAAiBA,EAAAY,EAAAV,OAA4BF,IAAA,CAG7C,IAFA,IAAAgB,EAAAJ,EAAAZ,GACAiB,GAAA,EACAC,EAAA,EAAkBA,EAAAF,EAAAd,OAA2BgB,IAAA,CAC7C,IAAAC,EAAAH,EAAAE,GACA,IAAAf,EAAAgB,KAAAF,GAAA,GAEAA,IACAL,EAAAQ,OAAApB,IAAA,GAC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GACAA,GAIA1G,EAAA2G,EAAA,SAAAgB,EAAAC,GAAsD,OAAA5I,OAAAC,UAAAC,eAAAC,KAAAwI,EAAAC,IAGtD5H,EAAA4D,EAAA,IAGA5D,EAAA6H,GAAA,SAAA/C,GAA8D,MAApBgD,QAAA7B,MAAAnB,GAAoBA,GAE9D,IAAAiD,EAAAC,OAAA,aAAAA,OAAA,iBACAC,EAAAF,EAAAhJ,KAAA0I,KAAAM,GACAA,EAAAhJ,KAAAX,EACA2J,IAAAG,QACA,QAAAvJ,EAAA,EAAgBA,EAAAoJ,EAAAlJ,OAAuBF,IAAAP,EAAA2J,EAAApJ,IACvC,IAAAU,EAAA4I,EAIAxI","file":"mrstatic/js/runtime~main.688ccc4d.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t34: 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t34: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"mrstatic/js/\" + ({\"4\":\"Activity\",\"5\":\"BargainMiddlePage\",\"6\":\"Classify\",\"7\":\"Country\",\"8\":\"CourseList\",\"9\":\"DrawDocument\",\"10\":\"Examination\",\"11\":\"Invite\",\"12\":\"MyEdit\",\"13\":\"Order\",\"14\":\"Orderinfo\",\"15\":\"PayOrder\",\"16\":\"Preferential\",\"17\":\"SearchResult\",\"18\":\"ShareCourse\",\"19\":\"ShopCart\",\"20\":\"aist-share\",\"21\":\"blessing-getPrize\",\"22\":\"blessing-preheat\",\"23\":\"blessing-rank\",\"24\":\"coupons\",\"25\":\"deposit-order\",\"26\":\"deposit-pay-order\",\"27\":\"detail\",\"29\":\"myorders\",\"30\":\"newyear-2019-landing\",\"31\":\"newyear-yearIndex\",\"32\":\"prize-winner-list\",\"33\":\"purchased\",\"35\":\"search\",\"36\":\"shareposter\",\"37\":\"study\",\"38\":\"system-notices\",\"39\":\"togroup\",\"40\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"43dd2336\",\"1\":\"3394dc8f\",\"2\":\"d350c155\",\"3\":\"ac471c3d\",\"4\":\"9d2bcd02\",\"5\":\"5792095d\",\"6\":\"cc0bcec2\",\"7\":\"23462b73\",\"8\":\"a70eadab\",\"9\":\"3a281ff6\",\"10\":\"6e059753\",\"11\":\"e94f1325\",\"12\":\"136b402e\",\"13\":\"bb18574c\",\"14\":\"49b78136\",\"15\":\"2f6bc85a\",\"16\":\"7732eb2c\",\"17\":\"898dfad9\",\"18\":\"9f726830\",\"19\":\"71012ab4\",\"20\":\"85264d37\",\"21\":\"e9282439\",\"22\":\"e8383d61\",\"23\":\"82da66de\",\"24\":\"9306a2b6\",\"25\":\"cd73a69e\",\"26\":\"4203b243\",\"27\":\"f5f551f5\",\"29\":\"978cb0a2\",\"30\":\"4d6d7c5c\",\"31\":\"818cb755\",\"32\":\"5b063df8\",\"33\":\"642c09b0\",\"35\":\"80d1b3d1\",\"36\":\"a78abb9e\",\"37\":\"3f2591ee\",\"38\":\"79233bf3\",\"39\":\"dbd3f54c\",\"40\":\"61161570\",\"42\":\"df4177bc\",\"43\":\"9ebd27e5\",\"44\":\"bb8f8269\",\"45\":\"47c128cc\",\"46\":\"c5238c5f\",\"47\":\"cc32b75c\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"2\":1,\"3\":1,\"4\":1,\"5\":1,\"6\":1,\"7\":1,\"8\":1,\"9\":1,\"10\":1,\"11\":1,\"13\":1,\"15\":1,\"16\":1,\"17\":1,\"18\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"25\":1,\"26\":1,\"27\":1,\"29\":1,\"30\":1,\"31\":1,\"32\":1,\"33\":1,\"35\":1,\"36\":1,\"37\":1,\"38\":1,\"39\":1,\"40\":1,\"42\":1,\"43\":1,\"44\":1,\"45\":1,\"46\":1,\"47\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"mrstatic/css/\" + ({\"4\":\"Activity\",\"5\":\"BargainMiddlePage\",\"6\":\"Classify\",\"7\":\"Country\",\"8\":\"CourseList\",\"9\":\"DrawDocument\",\"10\":\"Examination\",\"11\":\"Invite\",\"12\":\"MyEdit\",\"13\":\"Order\",\"14\":\"Orderinfo\",\"15\":\"PayOrder\",\"16\":\"Preferential\",\"17\":\"SearchResult\",\"18\":\"ShareCourse\",\"19\":\"ShopCart\",\"20\":\"aist-share\",\"21\":\"blessing-getPrize\",\"22\":\"blessing-preheat\",\"23\":\"blessing-rank\",\"24\":\"coupons\",\"25\":\"deposit-order\",\"26\":\"deposit-pay-order\",\"27\":\"detail\",\"29\":\"myorders\",\"30\":\"newyear-2019-landing\",\"31\":\"newyear-yearIndex\",\"32\":\"prize-winner-list\",\"33\":\"purchased\",\"35\":\"search\",\"36\":\"shareposter\",\"37\":\"study\",\"38\":\"system-notices\",\"39\":\"togroup\",\"40\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"31d6cfe0\",\"2\":\"e96ee8f8\",\"3\":\"1133c967\",\"4\":\"08739942\",\"5\":\"2a913483\",\"6\":\"127d35ae\",\"7\":\"400393b7\",\"8\":\"fed92c83\",\"9\":\"1bd3da48\",\"10\":\"17af9370\",\"11\":\"08739942\",\"12\":\"31d6cfe0\",\"13\":\"83a999aa\",\"14\":\"31d6cfe0\",\"15\":\"68a25070\",\"16\":\"ccebc534\",\"17\":\"6d7d1b77\",\"18\":\"6e885738\",\"19\":\"887eb690\",\"20\":\"affb05d7\",\"21\":\"32a9cccc\",\"22\":\"5dc65c0d\",\"23\":\"39fb77c8\",\"24\":\"0ce3fd3d\",\"25\":\"2e5f43c4\",\"26\":\"e8363b32\",\"27\":\"55b938da\",\"29\":\"841d0cfb\",\"30\":\"dc74ab02\",\"31\":\"a4d7bd4b\",\"32\":\"ce85cb83\",\"33\":\"7558403e\",\"35\":\"efa1dd44\",\"36\":\"cde549fc\",\"37\":\"62b8863b\",\"38\":\"4fbf61d8\",\"39\":\"ffd8be6c\",\"40\":\"b3755c1b\",\"42\":\"976b2058\",\"43\":\"51412fcd\",\"44\":\"e292ab6b\",\"45\":\"37fb0c23\",\"46\":\"56b04545\",\"47\":\"ce17075b\"}[chunkId] + \".chunk.css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\tvar error = new Error('Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')');\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
......@@ -32,12 +32,12 @@ self.__precacheManifest = [
"url": "/mrstatic/js/Activity.9d2bcd02.chunk.js"
},
{
"revision": "ff8848c7381336b09272",
"revision": "cf2bec1e36d5a3b8b85a",
"url": "/mrstatic/css/BargainMiddlePage.2a913483.chunk.css"
},
{
"revision": "ff8848c7381336b09272",
"url": "/mrstatic/js/BargainMiddlePage.ee9f49e7.chunk.js"
"revision": "cf2bec1e36d5a3b8b85a",
"url": "/mrstatic/js/BargainMiddlePage.5792095d.chunk.js"
},
{
"revision": "6c2ccf870f121d21b858",
......@@ -256,8 +256,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/purchased.642c09b0.chunk.js"
},
{
"revision": "196307986227555f0a30",
"url": "/mrstatic/js/runtime~main.54805691.js"
"revision": "45dffd20362d7880744a",
"url": "/mrstatic/js/runtime~main.688ccc4d.js"
},
{
"revision": "5747051d76fabb313d37",
......@@ -368,14 +368,14 @@ self.__precacheManifest = [
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
},
{
"revision": "e0655d4da66dce391e6b5227b400e037",
"url": "/mrstatic/media/iconfont.e0655d4d.woff"
},
{
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
},
{
"revision": "e0655d4da66dce391e6b5227b400e037",
"url": "/mrstatic/media/iconfont.e0655d4d.woff"
},
{
"revision": "b9b072e1116fd1830cc8f425dc163a6b",
"url": "/mrstatic/media/iconfont.b9b072e1.svg"
},
......@@ -396,23 +396,23 @@ self.__precacheManifest = [
"url": "/mrstatic/media/progress-share-bg.80011994.png"
},
{
"revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae",
"url": "/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png"
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
},
{
"revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
},
{
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
},
{
"revision": "79139f6aad350256e151f9f73c226348",
"url": "/mrstatic/media/hb_bj.79139f6a.png"
},
{
"revision": "e1a14be38722ea63d326c01df82deb2c",
"revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae",
"url": "/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png"
},
{
"revision": "20e94db2924d20c76b05960427368e78",
"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.c73386dfc5c302b28a3fdfffd242244b.js"
"/precache-manifest.a390e97e684c951f63f731866dedfafa.js"
);
workbox.clientsClaim();
......
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