Commit 7be9a9c7 by FE

build

parent 8beaca10
......@@ -2,8 +2,8 @@
"mrstatic/js/0.f7d72649.chunk.js": "/mrstatic/js/0.f7d72649.chunk.js",
"mrstatic/js/0.f7d72649.chunk.js.map": "/mrstatic/js/0.f7d72649.chunk.js.map",
"BargainMiddlePage.css": "/mrstatic/css/BargainMiddlePage.36de17cb.chunk.css",
"BargainMiddlePage.js": "/mrstatic/js/BargainMiddlePage.e4be8e0f.chunk.js",
"BargainMiddlePage.js.map": "/mrstatic/js/BargainMiddlePage.e4be8e0f.chunk.js.map",
"BargainMiddlePage.js": "/mrstatic/js/BargainMiddlePage.77603bbe.chunk.js",
"BargainMiddlePage.js.map": "/mrstatic/js/BargainMiddlePage.77603bbe.chunk.js.map",
"Classify.css": "/mrstatic/css/Classify.127d35ae.chunk.css",
"Classify.js": "/mrstatic/js/Classify.b83ef43f.chunk.js",
"Classify.js.map": "/mrstatic/js/Classify.b83ef43f.chunk.js.map",
......@@ -53,8 +53,8 @@
"purchased.css": "/mrstatic/css/purchased.c9466779.chunk.css",
"purchased.js": "/mrstatic/js/purchased.fa603b7f.chunk.js",
"purchased.js.map": "/mrstatic/js/purchased.fa603b7f.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.289adf1a.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.289adf1a.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.b4ae14d0.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.b4ae14d0.js.map",
"search.css": "/mrstatic/css/search.e26f3ee9.chunk.css",
"search.js": "/mrstatic/js/search.987e041e.chunk.js",
"search.js.map": "/mrstatic/js/search.987e041e.chunk.js.map",
......@@ -130,6 +130,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.28e0b31cc667d3f2e3c5d936b2653bda.js": "/precache-manifest.28e0b31cc667d3f2e3c5d936b2653bda.js",
"precache-manifest.99e752ab674ac37cc586d795030a5a26.js": "/precache-manifest.99e752ab674ac37cc586d795030a5a26.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/25.60a38a0f.chunk.css" rel="stylesheet"><link href="/mrstatic/css/main.5c451943.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,f=[];c<n.length;c++)t=n[c],l[t]&&f.push(l[t][0]),l[t]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(i[r]=a[r]);for(h&&h(e);f.length;)f.shift()();return d.push.apply(d,o||[]),u()}function u(){for(var e,r=0;r<d.length;r++){for(var t=d[r],n=!0,a=1;a<t.length;a++){var o=t[a];0!==l[o]&&(n=!1)}n&&(d.splice(r--,1),e=p(p.s=t[0]))}return e}var t={},s={19:0},l={19:0},d=[];function p(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,p),r.l=!0,r.exports}p.e=function(d){var e=[];s[d]?e.push(s[d]):0!==s[d]&&{1:1,2:1,3:1,4:1,5:1,7:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,17:1,18:1,20:1,21:1,22:1,23:1,24:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1}[d]&&e.push(s[d]=new Promise(function(e,n){for(var r="mrstatic/css/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[d]||d)+"."+{0:"31d6cfe0",1:"36de17cb",2:"127d35ae",3:"edc539ff",4:"1bd3da48",5:"17af9370",6:"31d6cfe0",7:"e46f87f2",8:"31d6cfe0",9:"68a25070",10:"312f2a43",11:"b11acd73",12:"887eb690",13:"f4398072",14:"cf38c16e",15:"63ef174e",17:"e3d68b58",18:"c9466779",20:"e26f3ee9",21:"cde549fc",22:"c5bde985",23:"ffd8be6c",24:"b8d615d9",26:"31d6cfe0",27:"0710e3e3",28:"51412fcd",29:"e292ab6b",30:"1133c967",31:"37fb0c23",32:"6e885738",33:"400393b7"}[d]+".chunk.css",a=p.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 f=document.getElementsByTagName("style");for(o=0;o<f.length;o++){var i;if((c=(i=f[o]).getAttribute("data-href"))===r||c===a)return e()}var u=document.createElement("link");u.rel="stylesheet",u.type="text/css",u.onload=e,u.onerror=function(e){var r=e&&e.target&&e.target.src||a,t=new Error("Loading CSS chunk "+d+" failed.\n("+r+")");t.request=r,delete s[d],u.parentNode.removeChild(u),n(t)},u.href=a,document.getElementsByTagName("head")[0].appendChild(u)}).then(function(){s[d]=0}));var t=l[d];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=l[d]=[e,r]});e.push(t[2]=r);var n,o=document.createElement("script");o.charset="utf-8",o.timeout=120,p.nc&&o.setAttribute("nonce",p.nc),o.src=p.p+"mrstatic/js/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[d]||d)+"."+{0:"f7d72649",1:"e4be8e0f",2:"b83ef43f",3:"7674fbe9",4:"64517bad",5:"715386e2",6:"fe4ce0d0",7:"493a3c85",8:"74536538",9:"86c5345c",10:"9b1d015f",11:"8f828883",12:"708254be",13:"936a4b09",14:"86ed52ec",15:"6ce2aff4",17:"135a788e",18:"fa603b7f",20:"987e041e",21:"f5c3672b",22:"87355657",23:"a17c7832",24:"0fdc04ec",26:"4f6e8aa4",27:"609e1388",28:"0e072caa",29:"3aa86bb6",30:"4df9490e",31:"c642c90d",32:"27cc44c2",33:"1115ca31"}[d]+".chunk.js",n=function(e){o.onerror=o.onload=null,clearTimeout(c);var r=l[d];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 "+d+" failed.\n("+t+": "+n+")");a.type=t,a.request=n,r[1](a)}l[d]=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)},p.m=i,p.c=t,p.d=function(e,r,t){p.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},p.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p.t=function(r,e){if(1&e&&(r=p(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(p.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)p.d(t,n,function(e){return r[e]}.bind(null,n));return t},p.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return p.d(r,"a",r),r},p.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},p.p="/",p.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 h=n;u()}([])</script><script src="/mrstatic/js/25.ba7bf222.chunk.js"></script><script src="/mrstatic/js/main.0aa48be8.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/25.60a38a0f.chunk.css" rel="stylesheet"><link href="/mrstatic/css/main.5c451943.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(f){function e(e){for(var r,t,n=e[0],a=e[1],o=e[2],c=0,i=[];c<n.length;c++)t=n[c],l[t]&&i.push(l[t][0]),l[t]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(f[r]=a[r]);for(h&&h(e);i.length;)i.shift()();return d.push.apply(d,o||[]),u()}function u(){for(var e,r=0;r<d.length;r++){for(var t=d[r],n=!0,a=1;a<t.length;a++){var o=t[a];0!==l[o]&&(n=!1)}n&&(d.splice(r--,1),e=p(p.s=t[0]))}return e}var t={},s={19:0},l={19:0},d=[];function p(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return f[e].call(r.exports,r,r.exports,p),r.l=!0,r.exports}p.e=function(d){var e=[];s[d]?e.push(s[d]):0!==s[d]&&{1:1,2:1,3:1,4:1,5:1,7:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,17:1,18:1,20:1,21:1,22:1,23:1,24:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1}[d]&&e.push(s[d]=new Promise(function(e,n){for(var r="mrstatic/css/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[d]||d)+"."+{0:"31d6cfe0",1:"36de17cb",2:"127d35ae",3:"edc539ff",4:"1bd3da48",5:"17af9370",6:"31d6cfe0",7:"e46f87f2",8:"31d6cfe0",9:"68a25070",10:"312f2a43",11:"b11acd73",12:"887eb690",13:"f4398072",14:"cf38c16e",15:"63ef174e",17:"e3d68b58",18:"c9466779",20:"e26f3ee9",21:"cde549fc",22:"c5bde985",23:"ffd8be6c",24:"b8d615d9",26:"31d6cfe0",27:"0710e3e3",28:"51412fcd",29:"e292ab6b",30:"1133c967",31:"37fb0c23",32:"6e885738",33:"400393b7"}[d]+".chunk.css",a=p.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var c=(f=t[o]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(c===r||c===a))return e()}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){var f;if((c=(f=i[o]).getAttribute("data-href"))===r||c===a)return e()}var u=document.createElement("link");u.rel="stylesheet",u.type="text/css",u.onload=e,u.onerror=function(e){var r=e&&e.target&&e.target.src||a,t=new Error("Loading CSS chunk "+d+" failed.\n("+r+")");t.request=r,delete s[d],u.parentNode.removeChild(u),n(t)},u.href=a,document.getElementsByTagName("head")[0].appendChild(u)}).then(function(){s[d]=0}));var t=l[d];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=l[d]=[e,r]});e.push(t[2]=r);var n,o=document.createElement("script");o.charset="utf-8",o.timeout=120,p.nc&&o.setAttribute("nonce",p.nc),o.src=p.p+"mrstatic/js/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[d]||d)+"."+{0:"f7d72649",1:"77603bbe",2:"b83ef43f",3:"7674fbe9",4:"64517bad",5:"715386e2",6:"fe4ce0d0",7:"493a3c85",8:"74536538",9:"86c5345c",10:"9b1d015f",11:"8f828883",12:"708254be",13:"936a4b09",14:"86ed52ec",15:"6ce2aff4",17:"135a788e",18:"fa603b7f",20:"987e041e",21:"f5c3672b",22:"87355657",23:"a17c7832",24:"0fdc04ec",26:"4f6e8aa4",27:"609e1388",28:"0e072caa",29:"3aa86bb6",30:"4df9490e",31:"c642c90d",32:"27cc44c2",33:"1115ca31"}[d]+".chunk.js",n=function(e){o.onerror=o.onload=null,clearTimeout(c);var r=l[d];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 "+d+" failed.\n("+t+": "+n+")");a.type=t,a.request=n,r[1](a)}l[d]=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)},p.m=f,p.c=t,p.d=function(e,r,t){p.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},p.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p.t=function(r,e){if(1&e&&(r=p(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(p.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)p.d(t,n,function(e){return r[e]}.bind(null,n));return t},p.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return p.d(r,"a",r),r},p.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},p.p="/",p.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 h=n;u()}([])</script><script src="/mrstatic/js/25.ba7bf222.chunk.js"></script><script src="/mrstatic/js/main.0aa48be8.chunk.js"></script></body></html>
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{1198:function(e,a,t){"use strict";t.r(a);var i,s=t(19),n=(t(43),t(13)),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(902),t(27)),h=t(3),b=t(15),f=t(49),v=t(671),E=t(155),j=t(631),y=t(20),N=(t(73),t(16)),S=t.n(N),A=t(662),k=t.n(A),C=(t(903),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:""},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)return e.setState({url:s.url}),new Promise(function(e){k.a.toDataURL(s.url,{},function(e,a){this.setState({codeUrl:a})}),e()})})}},{key:"render",value:function(){var e=this.state.codeSrc,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("i",{className:"bargain-popup__imgage",style:{backgroundImage:"url(".concat(e,")")}}))}}]),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(e,a){var t={courseId:e,type:a,bargain_code:Object(h.c)("bargaincode")||""};h.d.post("".concat(API.home,"/m/bargain/rankList"),t).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={courseId:Object(h.c)("id")};h.d.post("".concat(API.home,"/m/bargain/receiveLimit"),e).then(function(e){200===e.data.code?i.setState({isShowOverlay:!0,status:5}):r.a.info(e.data.msg,2)})},i.useArtifact=function(){i.toKanjia(Object(h.c)("id"),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}),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();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(){i.toKanjia(Object(h.c)("id"),3,i.state.originatorUid)},i.friendBargainSecond=function(){i.toKanjia(Object(h.c)("id"),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(630),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?0===l&&(m=p.a.createElement("button",{className:"active-btn",onClick:this.shareFriendBargain},"\u9080\u8bf7\u597d\u53cb\u780d\u4ef7")):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"},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(w,{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(v.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(D,{bargainSecond:this.friendBargainSecond,money:this.state.amount}),3===this.state.status&&p.a.createElement(O,{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 w(e){var a;return 2===e.item.bargain_status?a=p.a.createElement("a",{onClick:function(){return e.toDetail(e.item.course_id)},className:"bargain bargian-study"},"\u6211\u8981\u780d\u4ef7"):3===e.item.bargain_status?(a=p.a.createElement(b.b,{to:"/play/video?id=".concat(e.item.v_course_id),className:S()("bargain","button--study")},"\u53bb\u5b66\u4e60"),139===e.item.course_id&&(a=p.a.createElement("a",{onClick:function(){return e.toDetail(e.item.course_id)},className:"bargain bargian-study"},"\u6211\u8981\u780d\u4ef7"))):a=p.a.createElement("div",{className:"btns"},1===e.item.bargain_status&&p.a.createElement("button",{className:"invalid"},"\u780d\u4ef7\u7ed3\u675f"),0===e.item.bargain_status&&p.a.createElement("a",{onClick:function(){return e.toDetail(e.item.course_id)},className:"bargain-btn"},"\u6211\u8981\u780d\u4ef7"),p.a.createElement("button",{onClick:function(){return e.toCartBottom(e.item.course_id)},className:"purchase-btn"},"\xa5",e.item.pay_price,"\u53bb\u652f\u4ed8")),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 D(e){return p.a.createElement("div",{className:"bargain-first"},p.a.createElement("img",{className:"top-img",src:t(674),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 O(e){return p.a.createElement("div",{className:"bargain-second"},p.a.createElement("img",{className:"top-img",src:t(674),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(904),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(674),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(f.g)(B)},630:function(e,a){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAA51BMVEUAAAD3yyr4zCr60jD61DT4zSz4zi360C770jL93jn94UH3yin4yyz4ziz4zi34zS361TX50i/50jD61DP72Dj61jP+4kH+4ED4zCv3zCz4zSz4zS350jL61jb61jT6zir50DH83Dz71DP83Dj+5ET2zDD50C77zyj93j/930H82zv3yir3yCj/6072xib3yyv/6kz2xiT/7lD/8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),o=t(0),l=t.n(o),m=t(25),u=t.n(m),d=(t(673),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},671: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(672),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(630)},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},672:function(e,a,t){},673:function(e,a,t){},674:function(e,a,t){e.exports=t.p+"mrstatic/media/kanjia_cg_icon.81a489ac.png"},902:function(e,a,t){},903:function(e,a,t){},904: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+TCtyRC9SUlJ2Qyt2QyuTYS3dsTF2QyvovTK6jC9aTknKnjG8jjCKWSzzyTPNoDGldi5qSDiOXS3/1jR2QyvoVFRSUlLznJL+1DRXVlGVcUnqxjj40TWBdkmIe0igjUT+z0B7cUu6oUDKrj3yzDZrZU3Gqz7iwDn2zjX60TSwmkHuyTfvxTN7SCtfXFBbWVCNgEjStDznwjikdC6XZi2HVSxiXk+adkiYiEbdvDrWqjF/TCtmYU5vaE12bUyShEacikW1nkHitjLQojGlkkPTrDzZuTrHmTDDljC2iC+sfS6slkK9o0DHoT/OsTz2zDOebS6EUiy2kELApj/9yTfeszLarjHAkjDqXFPxg0imgUWuiETZtTvswTPovTKygy/0oIbxhmXveGDpWFTtbk33q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ainMiddlePage.77603bbe.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","_this2","console","log","_this$props$userInfo$","userInfo","uid","http","get","concat","API","then","res","_res$data","data","errno","setState","Promise","resolve","QRCode","toDataURL","err","codeUrl","codeSrc","_this$props","firendBaigainPrice","avatar","money","react_default","a","createElement","className","style","backgroundImage","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","id","type","courseId","bargain_code","post","arr","newList","out_list","map","item","i","objectSpread","rank","list","outList","toCart","history","push","toCartBottom","getMore","isShowMore","boxHide","val","toArtifact","isShowOverlay","status","useArtifact","toKanjia","course_id","parent_uid","amount","is_success","browser","isWeixin","redirectURI","window","location","href","includes","index","lastIndexOf","substr","assign","encodeURIComponent","friendBargainFirst","friendBargainSecond","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","length","key","src","avatar_file","alt","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","v_course_id","classnames","price1","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":"kTAuDeA,sBAhDb,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,IAHUR,mFAOC,IAAAS,EAAAN,KAClBO,QAAQC,IAAIR,KAAKJ,OADC,IAAAa,EAEiBT,KAAKJ,MAAhCc,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,EAIF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AAAC,cAAA,OAAKC,UAAU,WACXqM,EAAAvM,EAAAC,cAAA,OAAKC,UAAU,WACXqM,EAAAvM,EAAAC,cAAA,OAAKC,UAAU,aAAf,wCAGAqM,EAAAvM,EAAAC,cAAA,MAAIC,UAAU,qBAENxC,EAAMuG,MAAQvG,EAAMuG,KAAKwE,OAAS,GAAK/K,EAAMuG,KAAKL,IAAI,SAACC,EAAM8B,GACzD,OACI4G,EAAAvM,EAAAC,cAAA,MAAIyI,IAAK/C,EAAOzF,UAAU,gBACtBqM,EAAAvM,EAAAC,cAAA,OAAKC,UAAU,SAASyI,IAAK9E,EAAK+E,YAAaC,IAAI,KACnD0D,EAAAvM,EAAAC,cAAA,KAAGC,UAAU,QAAQ2D,EAAKiF,WAC1ByD,EAAAvM,EAAAC,cAAA,KAAGC,UAAU,kBACTqM,EAAAvM,EAAAC,cAAA,OAAKC,UAAU,cAAcyI,IAAKjL,EAAM2K,IAAKQ,IAAI,KADrD,eAEM0D,EAAAvM,EAAAC,cAAA,QAAMC,UAAW,SAAU2D,EAAKqB,aAO1DqH,EAAAvM,EAAAC,cAAA,OAAKC,UAAU,oBAAf,eACOxC,EAAMwD,YADb,yFAIJqL,EAAAvM,EAAAC,cAAA,KAAGwH,QAAS/J,EAAMoP,UAAW5M,UAAW,oCAKrC2M,uEC9Df7B,EAAAC,QAAiB+B,EAAAC,EAAuB,4GCAxCjC,EAAAC,QAAA","file":"mrstatic/js/BargainMiddlePage.77603bbe.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 }\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 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 { codeSrc } = 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 <i className=\"bargain-popup__imgage\" style={{backgroundImage: `url(${codeSrc})`}}></i>\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 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 // 自组件传给父组件的boxHide\n boxHide = (val) => {\n this.setState({isShowMore: val})\n }\n\n // 领取砍价神器\n toArtifact = () => {\n let data = {\n courseId: getParam('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 } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n\n // 使用砍价神器\n useArtifact = () => {\n this.toKanjia(getParam('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 // 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 }\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\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 this.toKanjia(getParam('id'), 3, this.state.originatorUid)\n }\n\n // 帮好友砍价第二刀\n friendBargainSecond = () => {\n this.toKanjia(getParam('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\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 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 <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 {\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 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 let Buttons\n if (props.item.bargain_status === 2) {\n // Buttons = <Link to={`/detail?id=${props.item.course_id}`} className={'bargain'}>我要砍价</Link>\n Buttons = <a onClick={() => props.toDetail(props.item.course_id)} className={'bargain bargian-study'}>我要砍价</a>\n } else if (props.item.bargain_status === 3) {\n Buttons = <Link to={`/play/video?id=${props.item.v_course_id}`}\n className={classnames('bargain', 'button--study')}>去学习</Link>\n if(props.item.course_id === 139) {\n Buttons = <a onClick={() => props.toDetail(props.item.course_id)} className={'bargain bargian-study'}>我要砍价</a>\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 props.item.bargain_status === 1 &&\n <button className='invalid'>砍价结束</button>\n }\n {\n props.item.bargain_status === 0 &&\n <a onClick={() => props.toDetail(props.item.course_id)} className={'bargain-btn'}>我要砍价</a>\n\n }\n\n\n <button onClick={() => props.toCartBottom(props.item.course_id)}\n className={'purchase-btn'}>¥{props.item.pay_price}去支付\n </button>\n </div>\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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8GW81AudJfaX4Ji6MlmIqaUbveY9Vnd3ZffWdxwtduHWIoKAh3knY50FpfqdEHAQ9Yqo4toj7wpCDT4CF1lJ2Q1Kl0sjOhmO0dWG+4YyIkp7wdZLbjTYqdklLfhx5gVKjsq2iPHrnCx+DIhTdJIcjJmCygotyWidB2crc/vI3J8uKeiXER0CP4lREtkdEBghnJESXCT8pURCBjclk2Qs8jYig4iDkotD0FeEnMHq4GIr6BMvChU1jv2sxTro8yqWFmE7BQxzUOJ+XcRylnwiDHGd3HgsZqK7/GhgYyr4Bv0gWFMX+40TOAZvSG+YKhrUIpmOx2sRrU0KE8b9CfK04mZD0/TvqzupNz1FM9xzTZU1/YH9qfu9prOSPXG9Tr+UerDsaeOnGbP1S3bbNXggV9XIWYP5SLNCwAAAABJRU5ErkJggg==\""],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{1198:function(e,a,t){"use strict";t.r(a);var i,s=t(19),n=(t(43),t(13)),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(902),t(27)),h=t(3),b=t(15),f=t(49),v=t(671),E=t(155),j=t(631),y=t(20),N=(t(73),t(16)),S=t.n(N),A=t(662),k=t.n(A),C=(t(903),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:""},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)return e.setState({url:s.url}),new Promise(function(e){k.a.toDataURL(s.url,{},function(e,a){this.setState({codeUrl:a})}),e()})})}},{key:"render",value:function(){var e=this.state.codeSrc,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("i",{className:"bargain-popup__imgage",style:{backgroundImage:"url(".concat(e,")")}}))}}]),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(e,a){var t={courseId:e,type:a,bargain_code:Object(h.c)("bargaincode")||""};h.d.post("".concat(API.home,"/m/bargain/rankList"),t).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={courseId:Object(h.c)("id")};h.d.post("".concat(API.home,"/m/bargain/receiveLimit"),e).then(function(e){200===e.data.code?i.setState({isShowOverlay:!0,status:5}):r.a.info(e.data.msg,2)})},i.useArtifact=function(){i.toKanjia(Object(h.c)("id"),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}),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();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(){i.toKanjia(Object(h.c)("id"),3,i.state.originatorUid)},i.friendBargainSecond=function(){i.toKanjia(Object(h.c)("id"),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(630),course:{},courseList:[],data:"",bargainData:"",limitPeople:0,outList:[],list:[],width:"0",isShowMore:"",status:5,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?0===l&&(m=p.a.createElement("button",{className:"active-btn",onClick:this.shareFriendBargain},"\u9080\u8bf7\u597d\u53cb\u780d\u4ef7")):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"},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(w,{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(v.a,{list:this.state.list,icon:this.state.kanjiaIcon,limitPeople:this.state.limitPeople,isShowMore:this.state.isShowMore,boxHide:this.boxHide}),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(D,{bargainSecond:this.friendBargainSecond,money:this.state.amount}),3===this.state.status&&p.a.createElement(O,{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 w(e){var a;return 2===e.item.bargain_status?a=p.a.createElement("a",{onClick:function(){return e.toDetail(e.item.course_id)},className:"bargain bargian-study"},"\u6211\u8981\u780d\u4ef7"):3===e.item.bargain_status?(a=p.a.createElement(b.b,{to:"/play/video?id=".concat(e.item.v_course_id),className:S()("bargain","button--study")},"\u53bb\u5b66\u4e60"),139===e.item.course_id&&(a=p.a.createElement("a",{onClick:function(){return e.toDetail(e.item.course_id)},className:"bargain bargian-study"},"\u6211\u8981\u780d\u4ef7"))):a=p.a.createElement("div",{className:"btns"},1===e.item.bargain_status&&p.a.createElement("button",{className:"invalid"},"\u780d\u4ef7\u7ed3\u675f"),0===e.item.bargain_status&&p.a.createElement("a",{onClick:function(){return e.toDetail(e.item.course_id)},className:"bargain-btn"},"\u6211\u8981\u780d\u4ef7"),p.a.createElement("button",{onClick:function(){return e.toCartBottom(e.item.course_id)},className:"purchase-btn"},"\xa5",e.item.pay_price,"\u53bb\u652f\u4ed8")),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 D(e){return p.a.createElement("div",{className:"bargain-first"},p.a.createElement("img",{className:"top-img",src:t(674),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 O(e){return p.a.createElement("div",{className:"bargain-second"},p.a.createElement("img",{className:"top-img",src:t(674),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(904),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(674),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(f.g)(B)},630: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="},631: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(25),u=t.n(m),d=(t(673),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},671: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(672),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(630)},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},672:function(e,a,t){},673:function(e,a,t){},674:function(e,a,t){e.exports=t.p+"mrstatic/media/kanjia_cg_icon.81a489ac.png"},902:function(e,a,t){},903:function(e,a,t){},904: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+TCtyRC9SUlJ2Qyt2QyuTYS3dsTF2QyvovTK6jC9aTknKnjG8jjCKWSzzyTPNoDGldi5qSDi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Kjsq2iPHrnCx+DIhTdJIcjJmCygotyWidB2crc/vI3J8uKeiXER0CP4lREtkdEBghnJESXCT8pURCBjclk2Qs8jYig4iDkotD0FeEnMHq4GIr6BMvChU1jv2sxTro8yqWFmE7BQxzUOJ+XcRylnwiDHGd3HgsZqK7/GhgYyr4Bv0gWFMX+40TOAZvSG+YKhrUIpmOx2sRrU0KE8b9CfK04mZD0/TvqzupNz1FM9xzTZU1/YH9qfu9prOSPXG9Tr+UerDsaeOnGbP1S3bbNXggV9XIWYP5SLNCwAAAABJRU5ErkJggg=="}}]);
//# sourceMappingURL=BargainMiddlePage.e4be8e0f.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","_this2","console","log","_this$props$userInfo$","userInfo","uid","http","get","concat","API","then","res","_res$data","data","errno","setState","Promise","resolve","QRCode","toDataURL","err","codeUrl","codeSrc","_this$props","firendBaigainPrice","avatar","money","react_default","a","createElement","className","style","backgroundImage","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","id","type","courseId","bargain_code","post","arr","newList","out_list","map","item","i","objectSpread","rank","list","outList","toCart","history","push","toCartBottom","getMore","isShowMore","boxHide","val","toArtifact","isShowOverlay","status","useArtifact","toKanjia","course_id","parent_uid","amount","is_success","browser","isWeixin","redirectURI","window","location","href","includes","index","lastIndexOf","substr","assign","encodeURIComponent","friendBargainFirst","friendBargainSecond","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","length","key","src","avatar_file","alt","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","v_course_id","classnames","price1","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":"kTAuDeA,sBAhDb,SAAAA,EAAYC,GAAO,IAAAC,EAAA,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAL,IACjBE,EAAAC,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAH,GAAAQ,KAAAH,KA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static/js/BargainMiddlePage.e4be8e0f.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 }\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 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 { codeSrc } = 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 <i className=\"bargain-popup__imgage\" style={{backgroundImage: `url(${codeSrc})`}}></i>\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: 5,\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 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 // 自组件传给父组件的boxHide\n boxHide = (val) => {\n this.setState({isShowMore: val})\n }\n\n // 领取砍价神器\n toArtifact = () => {\n let data = {\n courseId: getParam('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 } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n\n // 使用砍价神器\n useArtifact = () => {\n this.toKanjia(getParam('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 // 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 }\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\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 this.toKanjia(getParam('id'), 3, this.state.originatorUid)\n }\n\n // 帮好友砍价第二刀\n friendBargainSecond = () => {\n this.toKanjia(getParam('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\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 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 <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 {\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 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 let Buttons\n if (props.item.bargain_status === 2) {\n // Buttons = <Link to={`/detail?id=${props.item.course_id}`} className={'bargain'}>我要砍价</Link>\n Buttons = <a onClick={() => props.toDetail(props.item.course_id)} className={'bargain bargian-study'}>我要砍价</a>\n } else if (props.item.bargain_status === 3) {\n Buttons = <Link to={`/play/video?id=${props.item.v_course_id}`}\n className={classnames('bargain', 'button--study')}>去学习</Link>\n if(props.item.course_id === 139) {\n Buttons = <a onClick={() => props.toDetail(props.item.course_id)} className={'bargain bargian-study'}>我要砍价</a>\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 props.item.bargain_status === 1 &&\n <button className='invalid'>砍价结束</button>\n }\n {\n props.item.bargain_status === 0 &&\n <a onClick={() => props.toDetail(props.item.course_id)} className={'bargain-btn'}>我要砍价</a>\n\n }\n\n\n <button onClick={() => props.toCartBottom(props.item.course_id)}\n className={'purchase-btn'}>¥{props.item.pay_price}去支付\n </button>\n </div>\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,iVBORw0KGgoAAAANSUh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pnqMJYPC0xGf7hNy11jIIwEERheBrBQtBGBBHBxlKwUzyCt3jNMrYBDXY2c4Itt9lyNycIKcSbqUEhEyxMYL8LTPEPb03KAUkcSVkgiR0pYyQxImWKFPakTZDChlpmSGBLLRt8mcqWD1egjzxTr7+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
!function(e){function r(r){for(var n,a,f=r[0],i=r[1],u=r[2],d=0,l=[];d<f.length;d++)a=f[d],o[a]&&l.push(o[a][0]),o[a]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,u||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,a=1;a<t.length;a++){var i=t[a];0!==o[i]&&(n=!1)}n&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var n={},a={19:0},o={19:0},c=[];function f(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,f),t.l=!0,t.exports}f.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{1:1,2:1,3:1,4:1,5:1,7:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,17:1,18:1,20:1,21:1,22:1,23:1,24:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"36de17cb",2:"127d35ae",3:"edc539ff",4:"1bd3da48",5:"17af9370",6:"31d6cfe0",7:"e46f87f2",8:"31d6cfe0",9:"68a25070",10:"312f2a43",11:"b11acd73",12:"887eb690",13:"f4398072",14:"cf38c16e",15:"63ef174e",17:"e3d68b58",18:"c9466779",20:"e26f3ee9",21:"cde549fc",22:"c5bde985",23:"ffd8be6c",24:"b8d615d9",26:"31d6cfe0",27:"0710e3e3",28:"51412fcd",29:"e292ab6b",30:"1133c967",31:"37fb0c23",32:"6e885738",33:"400393b7"}[e]+".chunk.css",o=f.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var u=(s=c[i]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(u===n||u===o))return r()}var d=document.getElementsByTagName("style");for(i=0;i<d.length;i++){var s;if((u=(s=d[i]).getAttribute("data-href"))===n||u===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.request=n,delete a[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var c,i=document.createElement("script");i.charset="utf-8",i.timeout=120,f.nc&&i.setAttribute("nonce",f.nc),i.src=function(e){return f.p+"mrstatic/js/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"f7d72649",1:"e4be8e0f",2:"b83ef43f",3:"7674fbe9",4:"64517bad",5:"715386e2",6:"fe4ce0d0",7:"493a3c85",8:"74536538",9:"86c5345c",10:"9b1d015f",11:"8f828883",12:"708254be",13:"936a4b09",14:"86ed52ec",15:"6ce2aff4",17:"135a788e",18:"fa603b7f",20:"987e041e",21:"f5c3672b",22:"87355657",23:"a17c7832",24:"0fdc04ec",26:"4f6e8aa4",27:"609e1388",28:"0e072caa",29:"3aa86bb6",30:"4df9490e",31:"c642c90d",32:"27cc44c2",33:"1115ca31"}[e]+".chunk.js"}(e),c=function(r){i.onerror=i.onload=null,clearTimeout(u);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var u=setTimeout(function(){c({type:"timeout",target:i})},12e4);i.onerror=i.onload=c,document.head.appendChild(i)}return Promise.all(r)},f.m=e,f.c=n,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,r){if(1&r&&(e=f(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)f.d(t,n,function(r){return e[r]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/",f.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],u=i.push.bind(i);i.push=r,i=i.slice();for(var d=0;d<i.length;d++)r(i[d]);var s=u;t()}([]);
//# sourceMappingURL=runtime~main.289adf1a.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,a,i=r[0],f=r[1],u=r[2],d=0,l=[];d<i.length;d++)a=i[d],o[a]&&l.push(o[a][0]),o[a]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,u||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,a=1;a<t.length;a++){var f=t[a];0!==o[f]&&(n=!1)}n&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},a={19:0},o={19:0},c=[];function i(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,i),t.l=!0,t.exports}i.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{1:1,2:1,3:1,4:1,5:1,7:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,17:1,18:1,20:1,21:1,22:1,23:1,24:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"36de17cb",2:"127d35ae",3:"edc539ff",4:"1bd3da48",5:"17af9370",6:"31d6cfe0",7:"e46f87f2",8:"31d6cfe0",9:"68a25070",10:"312f2a43",11:"b11acd73",12:"887eb690",13:"f4398072",14:"cf38c16e",15:"63ef174e",17:"e3d68b58",18:"c9466779",20:"e26f3ee9",21:"cde549fc",22:"c5bde985",23:"ffd8be6c",24:"b8d615d9",26:"31d6cfe0",27:"0710e3e3",28:"51412fcd",29:"e292ab6b",30:"1133c967",31:"37fb0c23",32:"6e885738",33:"400393b7"}[e]+".chunk.css",o=i.p+n,c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var u=(s=c[f]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(u===n||u===o))return r()}var d=document.getElementsByTagName("style");for(f=0;f<d.length;f++){var s;if((u=(s=d[f]).getAttribute("data-href"))===n||u===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.request=n,delete a[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var c,f=document.createElement("script");f.charset="utf-8",f.timeout=120,i.nc&&f.setAttribute("nonce",i.nc),f.src=function(e){return i.p+"mrstatic/js/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"f7d72649",1:"77603bbe",2:"b83ef43f",3:"7674fbe9",4:"64517bad",5:"715386e2",6:"fe4ce0d0",7:"493a3c85",8:"74536538",9:"86c5345c",10:"9b1d015f",11:"8f828883",12:"708254be",13:"936a4b09",14:"86ed52ec",15:"6ce2aff4",17:"135a788e",18:"fa603b7f",20:"987e041e",21:"f5c3672b",22:"87355657",23:"a17c7832",24:"0fdc04ec",26:"4f6e8aa4",27:"609e1388",28:"0e072caa",29:"3aa86bb6",30:"4df9490e",31:"c642c90d",32:"27cc44c2",33:"1115ca31"}[e]+".chunk.js"}(e),c=function(r){f.onerror=f.onload=null,clearTimeout(u);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var u=setTimeout(function(){c({type:"timeout",target:f})},12e4);f.onerror=f.onload=c,document.head.appendChild(f)}return Promise.all(r)},i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var f=window.webpackJsonp=window.webpackJsonp||[],u=f.push.bind(f);f.push=r,f=f.slice();for(var d=0;d<f.length;d++)r(f[d]);var s=u;t()}([]);
//# sourceMappingURL=runtime~main.b4ae14d0.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","19","exports","module","l","e","promises","1","2","3","4","5","7","9","10","11","12","13","14","15","17","18","20","21","22","23","24","27","28","29","30","31","32","33","Promise","resolve","reject","href","6","8","0","26","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,SA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AAiD+F,OAAA,KAQjDpG,EAAAqG,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAApG,EAAAoG,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,kBAAAF,QAAAG,WAAA,OAAAH,EACA,IAAAI,EAAAxH,OAAAyH,OAAA,MAGA,GAFAzG,EAAAiG,EAAAO,GACAxH,OAAA8G,eAAAU,EAAA,WAAyCT,YAAA,EAAAK,UACzC,EAAAE,GAAA,iBAAAF,EAAA,QAAAM,KAAAN,EAAApG,EAAA0F,EAAAc,EAAAE,EAAA,SAAAA,GAAgH,OAAAN,EAAAM,IAAqBC,KAAA,KAAAD,IACrI,OAAAF,GAIAxG,EAAA4G,EAAA,SAAAtG,GACA,IAAAsF,EAAAtF,KAAAiG,WACA,WAA2B,OAAAjG,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAN,EAAA0F,EAAAE,EAAA,IAAAA,GACAA,GAIA5F,EAAA6F,EAAA,SAAAgB,EAAAC,GAAsD,OAAA9H,OAAAC,UAAAC,eAAAC,KAAA0H,EAAAC,IAGtD9G,EAAA8C,EAAA,IAGA9C,EAAA+G,GAAA,SAAA/C,GAA8D,MAApBgD,QAAA7B,MAAAnB,GAAoBA,GAE9D,IAAAiD,EAAAC,OAAA,aAAAA,OAAA,iBACAC,EAAAF,EAAAlI,KAAA4H,KAAAM,GACAA,EAAAlI,KAAAX,EACA6I,IAAAG,QACA,QAAAzI,EAAA,EAAgBA,EAAAsI,EAAApI,OAAuBF,IAAAP,EAAA6I,EAAAtI,IACvC,IAAAU,EAAA8H,EAIA1H","file":"mrstatic/js/runtime~main.289adf1a.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\t19: 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\t19: 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/\" + ({\"1\":\"BargainMiddlePage\",\"2\":\"Classify\",\"3\":\"CourseList\",\"4\":\"DrawDocument\",\"5\":\"Examination\",\"6\":\"MyEdit\",\"7\":\"Order\",\"8\":\"Orderinfo\",\"9\":\"PayOrder\",\"10\":\"Preferential\",\"11\":\"SearchResult\",\"12\":\"ShopCart\",\"13\":\"aist-share\",\"14\":\"coupons\",\"15\":\"detail\",\"17\":\"myorders\",\"18\":\"purchased\",\"20\":\"search\",\"21\":\"shareposter\",\"22\":\"study\",\"23\":\"togroup\",\"24\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"f7d72649\",\"1\":\"e4be8e0f\",\"2\":\"b83ef43f\",\"3\":\"7674fbe9\",\"4\":\"64517bad\",\"5\":\"715386e2\",\"6\":\"fe4ce0d0\",\"7\":\"493a3c85\",\"8\":\"74536538\",\"9\":\"86c5345c\",\"10\":\"9b1d015f\",\"11\":\"8f828883\",\"12\":\"708254be\",\"13\":\"936a4b09\",\"14\":\"86ed52ec\",\"15\":\"6ce2aff4\",\"17\":\"135a788e\",\"18\":\"fa603b7f\",\"20\":\"987e041e\",\"21\":\"f5c3672b\",\"22\":\"87355657\",\"23\":\"a17c7832\",\"24\":\"0fdc04ec\",\"26\":\"4f6e8aa4\",\"27\":\"609e1388\",\"28\":\"0e072caa\",\"29\":\"3aa86bb6\",\"30\":\"4df9490e\",\"31\":\"c642c90d\",\"32\":\"27cc44c2\",\"33\":\"1115ca31\"}[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 = {\"1\":1,\"2\":1,\"3\":1,\"4\":1,\"5\":1,\"7\":1,\"9\":1,\"10\":1,\"11\":1,\"12\":1,\"13\":1,\"14\":1,\"15\":1,\"17\":1,\"18\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"27\":1,\"28\":1,\"29\":1,\"30\":1,\"31\":1,\"32\":1,\"33\":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/\" + ({\"1\":\"BargainMiddlePage\",\"2\":\"Classify\",\"3\":\"CourseList\",\"4\":\"DrawDocument\",\"5\":\"Examination\",\"6\":\"MyEdit\",\"7\":\"Order\",\"8\":\"Orderinfo\",\"9\":\"PayOrder\",\"10\":\"Preferential\",\"11\":\"SearchResult\",\"12\":\"ShopCart\",\"13\":\"aist-share\",\"14\":\"coupons\",\"15\":\"detail\",\"17\":\"myorders\",\"18\":\"purchased\",\"20\":\"search\",\"21\":\"shareposter\",\"22\":\"study\",\"23\":\"togroup\",\"24\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"36de17cb\",\"2\":\"127d35ae\",\"3\":\"edc539ff\",\"4\":\"1bd3da48\",\"5\":\"17af9370\",\"6\":\"31d6cfe0\",\"7\":\"e46f87f2\",\"8\":\"31d6cfe0\",\"9\":\"68a25070\",\"10\":\"312f2a43\",\"11\":\"b11acd73\",\"12\":\"887eb690\",\"13\":\"f4398072\",\"14\":\"cf38c16e\",\"15\":\"63ef174e\",\"17\":\"e3d68b58\",\"18\":\"c9466779\",\"20\":\"e26f3ee9\",\"21\":\"cde549fc\",\"22\":\"c5bde985\",\"23\":\"ffd8be6c\",\"24\":\"b8d615d9\",\"26\":\"31d6cfe0\",\"27\":\"0710e3e3\",\"28\":\"51412fcd\",\"29\":\"e292ab6b\",\"30\":\"1133c967\",\"31\":\"37fb0c23\",\"32\":\"6e885738\",\"33\":\"400393b7\"}[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","19","exports","module","l","e","promises","1","2","3","4","5","7","9","10","11","12","13","14","15","17","18","20","21","22","23","24","27","28","29","30","31","32","33","Promise","resolve","reject","href","6","8","0","26","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,EAA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AAAlI,KAAA4H,KAAAM,GACAA,EAAAlI,KAAAX,EACA6I,IAAAG,QACA,QAAAzI,EAAA,EAAgBA,EAAAsI,EAAApI,OAAuBF,IAAAP,EAAA6I,EAAAtI,IACvC,IAAAU,EAAA8H,EAIA1H","file":"mrstatic/js/runtime~main.b4ae14d0.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\t19: 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\t19: 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/\" + ({\"1\":\"BargainMiddlePage\",\"2\":\"Classify\",\"3\":\"CourseList\",\"4\":\"DrawDocument\",\"5\":\"Examination\",\"6\":\"MyEdit\",\"7\":\"Order\",\"8\":\"Orderinfo\",\"9\":\"PayOrder\",\"10\":\"Preferential\",\"11\":\"SearchResult\",\"12\":\"ShopCart\",\"13\":\"aist-share\",\"14\":\"coupons\",\"15\":\"detail\",\"17\":\"myorders\",\"18\":\"purchased\",\"20\":\"search\",\"21\":\"shareposter\",\"22\":\"study\",\"23\":\"togroup\",\"24\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"f7d72649\",\"1\":\"77603bbe\",\"2\":\"b83ef43f\",\"3\":\"7674fbe9\",\"4\":\"64517bad\",\"5\":\"715386e2\",\"6\":\"fe4ce0d0\",\"7\":\"493a3c85\",\"8\":\"74536538\",\"9\":\"86c5345c\",\"10\":\"9b1d015f\",\"11\":\"8f828883\",\"12\":\"708254be\",\"13\":\"936a4b09\",\"14\":\"86ed52ec\",\"15\":\"6ce2aff4\",\"17\":\"135a788e\",\"18\":\"fa603b7f\",\"20\":\"987e041e\",\"21\":\"f5c3672b\",\"22\":\"87355657\",\"23\":\"a17c7832\",\"24\":\"0fdc04ec\",\"26\":\"4f6e8aa4\",\"27\":\"609e1388\",\"28\":\"0e072caa\",\"29\":\"3aa86bb6\",\"30\":\"4df9490e\",\"31\":\"c642c90d\",\"32\":\"27cc44c2\",\"33\":\"1115ca31\"}[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 = {\"1\":1,\"2\":1,\"3\":1,\"4\":1,\"5\":1,\"7\":1,\"9\":1,\"10\":1,\"11\":1,\"12\":1,\"13\":1,\"14\":1,\"15\":1,\"17\":1,\"18\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"27\":1,\"28\":1,\"29\":1,\"30\":1,\"31\":1,\"32\":1,\"33\":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/\" + ({\"1\":\"BargainMiddlePage\",\"2\":\"Classify\",\"3\":\"CourseList\",\"4\":\"DrawDocument\",\"5\":\"Examination\",\"6\":\"MyEdit\",\"7\":\"Order\",\"8\":\"Orderinfo\",\"9\":\"PayOrder\",\"10\":\"Preferential\",\"11\":\"SearchResult\",\"12\":\"ShopCart\",\"13\":\"aist-share\",\"14\":\"coupons\",\"15\":\"detail\",\"17\":\"myorders\",\"18\":\"purchased\",\"20\":\"search\",\"21\":\"shareposter\",\"22\":\"study\",\"23\":\"togroup\",\"24\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"36de17cb\",\"2\":\"127d35ae\",\"3\":\"edc539ff\",\"4\":\"1bd3da48\",\"5\":\"17af9370\",\"6\":\"31d6cfe0\",\"7\":\"e46f87f2\",\"8\":\"31d6cfe0\",\"9\":\"68a25070\",\"10\":\"312f2a43\",\"11\":\"b11acd73\",\"12\":\"887eb690\",\"13\":\"f4398072\",\"14\":\"cf38c16e\",\"15\":\"63ef174e\",\"17\":\"e3d68b58\",\"18\":\"c9466779\",\"20\":\"e26f3ee9\",\"21\":\"cde549fc\",\"22\":\"c5bde985\",\"23\":\"ffd8be6c\",\"24\":\"b8d615d9\",\"26\":\"31d6cfe0\",\"27\":\"0710e3e3\",\"28\":\"51412fcd\",\"29\":\"e292ab6b\",\"30\":\"1133c967\",\"31\":\"37fb0c23\",\"32\":\"6e885738\",\"33\":\"400393b7\"}[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
......@@ -8,8 +8,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/0.f7d72649.chunk.js"
},
{
"revision": "4452316cf545f4ef3403",
"url": "/mrstatic/js/BargainMiddlePage.e4be8e0f.chunk.js"
"revision": "ff13766e0ecccaef0769",
"url": "/mrstatic/js/BargainMiddlePage.77603bbe.chunk.js"
},
{
"revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae",
......@@ -20,16 +20,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/Classify.b83ef43f.chunk.js"
},
{
"revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
},
{
"revision": "87b04ad822a18c0f63bf",
"url": "/mrstatic/js/CourseList.7674fbe9.chunk.js"
},
{
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
"revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
},
{
"revision": "717996ff98f26de86a75",
......@@ -76,16 +76,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/Preferential.9b1d015f.chunk.js"
},
{
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
},
{
"revision": "33aee3ca1346e493375a",
"url": "/mrstatic/js/SearchResult.8f828883.chunk.js"
},
{
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
},
{
"revision": "409e75107ebdabd2ca5e",
......@@ -140,8 +140,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/purchased.fa603b7f.chunk.js"
},
{
"revision": "575502e8470dd4cca37a",
"url": "/mrstatic/js/runtime~main.289adf1a.js"
"revision": "d232eff8fa33a108c2f5",
"url": "/mrstatic/js/runtime~main.b4ae14d0.js"
},
{
"revision": "ad94476ed8ec27a5d282",
......@@ -200,7 +200,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/27.0710e3e3.chunk.css"
},
{
"revision": "4452316cf545f4ef3403",
"revision": "ff13766e0ecccaef0769",
"url": "/mrstatic/css/BargainMiddlePage.36de17cb.chunk.css"
},
{
......@@ -292,7 +292,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/Classify.127d35ae.chunk.css"
},
{
"revision": "34f50a1fd734f7a851e1ffc3f81b4fe0",
"revision": "a2b2741ab3416ed7c6a53c543593a580",
"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.28e0b31cc667d3f2e3c5d936b2653bda.js"
"/precache-manifest.99e752ab674ac37cc586d795030a5a26.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