Commit 704b3461 by FE

merge 11-11

parents 6e055ead 7c092772
......@@ -38,8 +38,13 @@
"Orderinfo.js": "/mrstatic/js/Orderinfo.57e0641d.chunk.js",
"Orderinfo.js.map": "/mrstatic/js/Orderinfo.57e0641d.chunk.js.map",
"PayOrder.css": "/mrstatic/css/PayOrder.7eb7d317.chunk.css",
<<<<<<< HEAD
"PayOrder.js": "/mrstatic/js/PayOrder.da800e1a.chunk.js",
"PayOrder.js.map": "/mrstatic/js/PayOrder.da800e1a.chunk.js.map",
=======
"PayOrder.js": "/mrstatic/js/PayOrder.21e0b5d0.chunk.js",
"PayOrder.js.map": "/mrstatic/js/PayOrder.21e0b5d0.chunk.js.map",
>>>>>>> 11-11
"Preferential.css": "/mrstatic/css/Preferential.0c91fa43.chunk.css",
"Preferential.js": "/mrstatic/js/Preferential.a868f51f.chunk.js",
"Preferential.js.map": "/mrstatic/js/Preferential.a868f51f.chunk.js.map",
......@@ -55,9 +60,15 @@
"aist-share.css": "/mrstatic/css/aist-share.40873df0.chunk.css",
"aist-share.js": "/mrstatic/js/aist-share.3a04b022.chunk.js",
"aist-share.js.map": "/mrstatic/js/aist-share.3a04b022.chunk.js.map",
<<<<<<< HEAD
"blessing-preheat.css": "/mrstatic/css/blessing-preheat.d6b567fb.chunk.css",
"blessing-preheat.js": "/mrstatic/js/blessing-preheat.35e9a6bc.chunk.js",
"blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.35e9a6bc.chunk.js.map",
=======
"blessing-preheat.css": "/mrstatic/css/blessing-preheat.3ea8b615.chunk.css",
"blessing-preheat.js": "/mrstatic/js/blessing-preheat.6dff43d3.chunk.js",
"blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.6dff43d3.chunk.js.map",
>>>>>>> 11-11
"blessing-rank.css": "/mrstatic/css/blessing-rank.edf00bf8.chunk.css",
"blessing-rank.js": "/mrstatic/js/blessing-rank.9beb2e6a.chunk.js",
"blessing-rank.js.map": "/mrstatic/js/blessing-rank.9beb2e6a.chunk.js.map",
......@@ -74,19 +85,32 @@
"detail.js": "/mrstatic/js/detail.34640f52.chunk.js",
"detail.js.map": "/mrstatic/js/detail.34640f52.chunk.js.map",
"main.css": "/mrstatic/css/main.f9f26bcf.chunk.css",
<<<<<<< HEAD
"main.js": "/mrstatic/js/main.e50a2e09.chunk.js",
"main.js.map": "/mrstatic/js/main.e50a2e09.chunk.js.map",
"myorders.css": "/mrstatic/css/myorders.494a90ad.chunk.css",
"myorders.js": "/mrstatic/js/myorders.5cdbf8f6.chunk.js",
"myorders.js.map": "/mrstatic/js/myorders.5cdbf8f6.chunk.js.map",
=======
"main.js": "/mrstatic/js/main.2b14c8b9.chunk.js",
"main.js.map": "/mrstatic/js/main.2b14c8b9.chunk.js.map",
"myorders.css": "/mrstatic/css/myorders.494a90ad.chunk.css",
"myorders.js": "/mrstatic/js/myorders.5b24e8bb.chunk.js",
"myorders.js.map": "/mrstatic/js/myorders.5b24e8bb.chunk.js.map",
>>>>>>> 11-11
"prize-winner-list.css": "/mrstatic/css/prize-winner-list.7ff5ff63.chunk.css",
"prize-winner-list.js": "/mrstatic/js/prize-winner-list.44109093.chunk.js",
"prize-winner-list.js.map": "/mrstatic/js/prize-winner-list.44109093.chunk.js.map",
"purchased.css": "/mrstatic/css/purchased.bb758677.chunk.css",
"purchased.js": "/mrstatic/js/purchased.a38723f4.chunk.js",
"purchased.js.map": "/mrstatic/js/purchased.a38723f4.chunk.js.map",
<<<<<<< HEAD
"runtime~main.js": "/mrstatic/js/runtime~main.ea29eed6.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.ea29eed6.js.map",
=======
"runtime~main.js": "/mrstatic/js/runtime~main.867a9d58.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.867a9d58.js.map",
>>>>>>> 11-11
"search.css": "/mrstatic/css/search.5716d9b3.chunk.css",
"search.js": "/mrstatic/js/search.589ab26a.chunk.js",
"search.js.map": "/mrstatic/js/search.589ab26a.chunk.js.map",
......@@ -147,7 +171,11 @@
"mrstatic/css/ShareCourse.8046fb41.chunk.css.map": "/mrstatic/css/ShareCourse.8046fb41.chunk.css.map",
"mrstatic/css/ShopCart.92ab48a3.chunk.css.map": "/mrstatic/css/ShopCart.92ab48a3.chunk.css.map",
"mrstatic/css/aist-share.40873df0.chunk.css.map": "/mrstatic/css/aist-share.40873df0.chunk.css.map",
<<<<<<< HEAD
"mrstatic/css/blessing-preheat.d6b567fb.chunk.css.map": "/mrstatic/css/blessing-preheat.d6b567fb.chunk.css.map",
=======
"mrstatic/css/blessing-preheat.3ea8b615.chunk.css.map": "/mrstatic/css/blessing-preheat.3ea8b615.chunk.css.map",
>>>>>>> 11-11
"mrstatic/css/blessing-rank.edf00bf8.chunk.css.map": "/mrstatic/css/blessing-rank.edf00bf8.chunk.css.map",
"mrstatic/css/coupons.466858c7.chunk.css.map": "/mrstatic/css/coupons.466858c7.chunk.css.map",
"mrstatic/css/deposit-order.5ea077aa.chunk.css.map": "/mrstatic/css/deposit-order.5ea077aa.chunk.css.map",
......@@ -166,6 +194,10 @@
"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",
<<<<<<< HEAD
"precache-manifest.1d57c91feb0ad006df0d50e74ade2aac.js": "/precache-manifest.1d57c91feb0ad006df0d50e74ade2aac.js",
=======
"precache-manifest.adc2d73282fb1dc223c86cdc4ce50684.js": "/precache-manifest.adc2d73282fb1dc223c86cdc4ce50684.js",
>>>>>>> 11-11
"service-worker.js": "/service-worker.js"
}
\ No newline at end of file
<<<<<<< HEAD
<!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/36.2c78a65e.chunk.css" rel="stylesheet"><link href="/mrstatic/css/main.f9f26bcf.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(c){function e(e){for(var r,t,a=e[0],n=e[1],o=e[2],f=0,i=[];f<a.length;f++)t=a[f],l[t]&&i.push(l[t][0]),l[t]=0;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(c[r]=n[r]);for(p&&p(e);i.length;)i.shift()();return s.push.apply(s,o||[]),d()}function d(){for(var e,r=0;r<s.length;r++){for(var t=s[r],a=!0,n=1;n<t.length;n++){var o=t[n];0!==l[o]&&(a=!1)}a&&(s.splice(r--,1),e=b(b.s=t[0]))}return e}var t={},u={30:0},l={30:0},s=[];function b(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return c[e].call(r.exports,r,r.exports,b),r.l=!0,r.exports}b.e=function(s){var e=[];u[s]?e.push(u[s]):0!==u[s]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,12:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,27:1,28:1,29:1,31:1,32:1,33:1,34:1,35:1,37:1,38:1,39:1,40:1,41:1,42:1}[s]&&e.push(u[s]=new Promise(function(e,a){for(var r="mrstatic/css/"+({3:"Activity",4:"BargainMiddlePage",5:"Classify",6:"Country",7:"CourseList",8:"DrawDocument",9:"Examination",10:"Invite",11:"MyEdit",12:"Order",13:"Orderinfo",14:"PayOrder",15:"Preferential",16:"SearchResult",17:"ShareCourse",18:"ShopCart",19:"aist-share",20:"blessing-preheat",21:"blessing-rank",22:"coupons",23:"deposit-order",24:"deposit-pay-order",25:"detail",27:"myorders",28:"prize-winner-list",29:"purchased",31:"search",32:"shareposter",33:"study",34:"togroup",35:"video"}[s]||s)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"bf839917",3:"fa2c419d",4:"eb686c74",5:"fb4bedde",6:"2d34330b",7:"afc8902e",8:"aeb3f822",9:"7bb0622b",10:"fa2c419d",11:"31d6cfe0",12:"8c058a7a",13:"31d6cfe0",14:"7eb7d317",15:"0c91fa43",16:"cdf852c1",17:"8046fb41",18:"92ab48a3",19:"40873df0",20:"d6b567fb",21:"edf00bf8",22:"466858c7",23:"5ea077aa",24:"09ce6fd5",25:"c31f1b41",27:"494a90ad",28:"7ff5ff63",29:"bb758677",31:"5716d9b3",32:"76774ba4",33:"bf6b9b43",34:"f08bc5f3",35:"1c1131c9",37:"c76b300d",38:"bff100af",39:"820320a6",40:"35e22f8c",41:"76fe3935",42:"b02d1de6"}[s]+".chunk.css",n=b.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var f=(c=t[o]).getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(f===r||f===n))return e()}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){var c;if((f=(c=i[o]).getAttribute("data-href"))===r||f===n)return e()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=e,d.onerror=function(e){var r=e&&e.target&&e.target.src||n,t=new Error("Loading CSS chunk "+s+" failed.\n("+r+")");t.request=r,delete u[s],d.parentNode.removeChild(d),a(t)},d.href=n,document.getElementsByTagName("head")[0].appendChild(d)}).then(function(){u[s]=0}));var t=l[s];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=l[s]=[e,r]});e.push(t[2]=r);var a,o=document.createElement("script");o.charset="utf-8",o.timeout=120,b.nc&&o.setAttribute("nonce",b.nc),o.src=b.p+"mrstatic/js/"+({3:"Activity",4:"BargainMiddlePage",5:"Classify",6:"Country",7:"CourseList",8:"DrawDocument",9:"Examination",10:"Invite",11:"MyEdit",12:"Order",13:"Orderinfo",14:"PayOrder",15:"Preferential",16:"SearchResult",17:"ShareCourse",18:"ShopCart",19:"aist-share",20:"blessing-preheat",21:"blessing-rank",22:"coupons",23:"deposit-order",24:"deposit-pay-order",25:"detail",27:"myorders",28:"prize-winner-list",29:"purchased",31:"search",32:"shareposter",33:"study",34:"togroup",35:"video"}[s]||s)+"."+{0:"19bf510b",1:"1ae9bc37",2:"f02a0573",3:"73c8f0a9",4:"7dc150ca",5:"87e5a787",6:"b77d0054",7:"55b9cd02",8:"7376b4ea",9:"ef054c07",10:"1ca5eb03",11:"fea133fd",12:"40f1e2cd",13:"57e0641d",14:"da800e1a",15:"a868f51f",16:"c6a31aa7",17:"a1843d18",18:"5bce9778",19:"3a04b022",20:"35e9a6bc",21:"9beb2e6a",22:"7e9d8a64",23:"3386f2f1",24:"77f90737",25:"34640f52",27:"5cdbf8f6",28:"44109093",29:"a38723f4",31:"589ab26a",32:"bc3debb9",33:"7bbf8730",34:"59f6d7fd",35:"ee79f0c1",37:"60ac9e86",38:"6484232f",39:"abfd1e74",40:"f027a2bf",41:"0620caf1",42:"7d3b7120"}[s]+".chunk.js",a=function(e){o.onerror=o.onload=null,clearTimeout(f);var r=l[s];if(0!==r){if(r){var t=e&&("load"===e.type?"missing":e.type),a=e&&e.target&&e.target.src,n=new Error("Loading chunk "+s+" failed.\n("+t+": "+a+")");n.type=t,n.request=a,r[1](n)}l[s]=void 0}};var f=setTimeout(function(){a({type:"timeout",target:o})},12e4);o.onerror=o.onload=a,document.head.appendChild(o)}return Promise.all(e)},b.m=c,b.c=t,b.d=function(e,r,t){b.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},b.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.t=function(r,e){if(1&e&&(r=b(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(b.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var a in r)b.d(t,a,function(e){return r[e]}.bind(null,a));return t},b.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(r,"a",r),r},b.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},b.p="/",b.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp=window.webpackJsonp||[],a=r.push.bind(r);r.push=e,r=r.slice();for(var n=0;n<r.length;n++)e(r[n]);var p=a;d()}([])</script><script src="/mrstatic/js/36.be086e62.chunk.js"></script><script src="/mrstatic/js/main.e50a2e09.chunk.js"></script></body></html>
=======
<!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/36.2c78a65e.chunk.css" rel="stylesheet"><link href="/mrstatic/css/main.f9f26bcf.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(c){function e(e){for(var r,t,a=e[0],n=e[1],o=e[2],f=0,i=[];f<a.length;f++)t=a[f],l[t]&&i.push(l[t][0]),l[t]=0;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(c[r]=n[r]);for(p&&p(e);i.length;)i.shift()();return s.push.apply(s,o||[]),d()}function d(){for(var e,r=0;r<s.length;r++){for(var t=s[r],a=!0,n=1;n<t.length;n++){var o=t[n];0!==l[o]&&(a=!1)}a&&(s.splice(r--,1),e=b(b.s=t[0]))}return e}var t={},u={30:0},l={30:0},s=[];function b(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return c[e].call(r.exports,r,r.exports,b),r.l=!0,r.exports}b.e=function(s){var e=[];u[s]?e.push(u[s]):0!==u[s]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,12:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,27:1,28:1,29:1,31:1,32:1,33:1,34:1,35:1,37:1,38:1,39:1,40:1,41:1,42:1}[s]&&e.push(u[s]=new Promise(function(e,a){for(var r="mrstatic/css/"+({3:"Activity",4:"BargainMiddlePage",5:"Classify",6:"Country",7:"CourseList",8:"DrawDocument",9:"Examination",10:"Invite",11:"MyEdit",12:"Order",13:"Orderinfo",14:"PayOrder",15:"Preferential",16:"SearchResult",17:"ShareCourse",18:"ShopCart",19:"aist-share",20:"blessing-preheat",21:"blessing-rank",22:"coupons",23:"deposit-order",24:"deposit-pay-order",25:"detail",27:"myorders",28:"prize-winner-list",29:"purchased",31:"search",32:"shareposter",33:"study",34:"togroup",35:"video"}[s]||s)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"bf839917",3:"fa2c419d",4:"eb686c74",5:"fb4bedde",6:"2d34330b",7:"afc8902e",8:"aeb3f822",9:"7bb0622b",10:"fa2c419d",11:"31d6cfe0",12:"8c058a7a",13:"31d6cfe0",14:"7eb7d317",15:"0c91fa43",16:"cdf852c1",17:"8046fb41",18:"92ab48a3",19:"40873df0",20:"3ea8b615",21:"edf00bf8",22:"466858c7",23:"5ea077aa",24:"09ce6fd5",25:"c31f1b41",27:"494a90ad",28:"7ff5ff63",29:"bb758677",31:"5716d9b3",32:"76774ba4",33:"bf6b9b43",34:"f08bc5f3",35:"1c1131c9",37:"c76b300d",38:"bff100af",39:"820320a6",40:"35e22f8c",41:"76fe3935",42:"b02d1de6"}[s]+".chunk.css",n=b.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var f=(c=t[o]).getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(f===r||f===n))return e()}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){var c;if((f=(c=i[o]).getAttribute("data-href"))===r||f===n)return e()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=e,d.onerror=function(e){var r=e&&e.target&&e.target.src||n,t=new Error("Loading CSS chunk "+s+" failed.\n("+r+")");t.request=r,delete u[s],d.parentNode.removeChild(d),a(t)},d.href=n,document.getElementsByTagName("head")[0].appendChild(d)}).then(function(){u[s]=0}));var t=l[s];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=l[s]=[e,r]});e.push(t[2]=r);var a,o=document.createElement("script");o.charset="utf-8",o.timeout=120,b.nc&&o.setAttribute("nonce",b.nc),o.src=b.p+"mrstatic/js/"+({3:"Activity",4:"BargainMiddlePage",5:"Classify",6:"Country",7:"CourseList",8:"DrawDocument",9:"Examination",10:"Invite",11:"MyEdit",12:"Order",13:"Orderinfo",14:"PayOrder",15:"Preferential",16:"SearchResult",17:"ShareCourse",18:"ShopCart",19:"aist-share",20:"blessing-preheat",21:"blessing-rank",22:"coupons",23:"deposit-order",24:"deposit-pay-order",25:"detail",27:"myorders",28:"prize-winner-list",29:"purchased",31:"search",32:"shareposter",33:"study",34:"togroup",35:"video"}[s]||s)+"."+{0:"19bf510b",1:"1ae9bc37",2:"f02a0573",3:"73c8f0a9",4:"7dc150ca",5:"87e5a787",6:"b77d0054",7:"55b9cd02",8:"7376b4ea",9:"ef054c07",10:"1ca5eb03",11:"fea133fd",12:"40f1e2cd",13:"57e0641d",14:"21e0b5d0",15:"a868f51f",16:"c6a31aa7",17:"a1843d18",18:"5bce9778",19:"3a04b022",20:"6dff43d3",21:"9beb2e6a",22:"7e9d8a64",23:"3386f2f1",24:"77f90737",25:"34640f52",27:"5b24e8bb",28:"44109093",29:"a38723f4",31:"589ab26a",32:"bc3debb9",33:"7bbf8730",34:"59f6d7fd",35:"ee79f0c1",37:"60ac9e86",38:"6484232f",39:"abfd1e74",40:"f027a2bf",41:"0620caf1",42:"7d3b7120"}[s]+".chunk.js",a=function(e){o.onerror=o.onload=null,clearTimeout(f);var r=l[s];if(0!==r){if(r){var t=e&&("load"===e.type?"missing":e.type),a=e&&e.target&&e.target.src,n=new Error("Loading chunk "+s+" failed.\n("+t+": "+a+")");n.type=t,n.request=a,r[1](n)}l[s]=void 0}};var f=setTimeout(function(){a({type:"timeout",target:o})},12e4);o.onerror=o.onload=a,document.head.appendChild(o)}return Promise.all(e)},b.m=c,b.c=t,b.d=function(e,r,t){b.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},b.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.t=function(r,e){if(1&e&&(r=b(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(b.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var a in r)b.d(t,a,function(e){return r[e]}.bind(null,a));return t},b.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(r,"a",r),r},b.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},b.p="/",b.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp=window.webpackJsonp||[],a=r.push.bind(r);r.push=e,r=r.slice();for(var n=0;n<r.length;n++)e(r[n]);var p=a;d()}([])</script><script src="/mrstatic/js/36.be086e62.chunk.js"></script><script src="/mrstatic/js/main.2b14c8b9.chunk.js"></script></body></html>
>>>>>>> 11-11
.rule-popup__container{display:flex;flex-direction:column;align-items:center;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);z-index:999}.rule-popup__container .iconfont{margin:4.266667vw 0 0;font-size:6.4vw;color:#fff;cursor:pointer}.rule-popup{width:80vw;height:86.133333vw;padding:5.333333vw 0 0;border-radius:2.666667vw;box-sizing:border-box;text-align:center;background-color:#fff}.rule-popup__title{margin:0 0 4vw;font-size:4.266667vw;font-weight:500;color:#525c65;text-align:center;line-height:1}.rule-popup__list{padding:0 5.333333vw}.rule-popup__item{font-size:3.733333vw;color:rgba(82,92,101,.9);text-align:left;line-height:5.6vw}.course-popup__container{display:flex;flex-direction:column;align-items:center;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5)}.course-popup__container .iconfont{margin:4.266667vw 0 0;font-size:6.4vw;color:#fff;cursor:pointer}.course-popup{width:80vw;height:73.333333vw;padding:5.333333vw 0 0;border-radius:2.666667vw;box-sizing:border-box;background-color:#fff}.course-popup__title{margin:0 0 5.333333vw;font-size:4.266667vw;font-weight:500;color:#525c65;text-align:center;line-height:1}.course-popup__list{height:50.666667vw;padding:0 4vw;overflow-y:auto}.course-popup__item{display:flex;align-items:center;justify-content:space-between;width:100%;height:8vw;padding:0 2.666667vw;border-radius:1.066667vw;box-sizing:border-box;color:rgba(82,92,101,.6);background-color:#e7edf2}.course-popup__item:nth-child(n+2){margin-top:2.666667vw}.course-popup__item:hover{color:#fff;background-color:rgba(0,153,255,.6)}.course-popup__name{width:53.333333vw;font-size:3.2vw;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.record__mark{position:fixed;left:0;top:0;bottom:0;right:0;width:100%;height:100%;background-color:rgba(0,0,0,.6);display:flex;justify-content:center;align-items:center}.gift__record{width:80vw;height:66.666667vw;background:#fff;border-radius:1.333333vw;padding:4.8vw 6.4vw 0;position:relative}.gift__record span.tr{display:flex;justify-content:center;align-items:center;display:inline-block}.gift__record span.tr:first-child{width:32vw;padding-left:3.2vw;text-align:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gift__record span.tr:nth-child(2n){width:14.666667vw}.gift__record span.tr:last-child{width:20vw;padding-right:3.2vw;text-align:right}.gift__record span.tr:last-child a{font-size:3.2vw;color:#09f;text-decoration:underline}.gift__record .table__head{width:66.666667vw;height:9.066667vw;background:rgba(82,92,101,.1);border-radius:1px 1px 0 0;display:flex;justify-content:space-between;align-items:center;font-size:3.2vw;font-weight:400;color:#525c65}.gift__record .table__body{width:66.666667vw;height:27.2vw;border:1px solid rgba(207,219,229,.4);border-radius:0 0 1px 1px;box-sizing:border-box;overflow:auto}.gift__record .table__body .tr__container{display:flex;justify-content:center;align-items:center;height:9.066667vw;border-bottom:1px solid rgba(207,219,229,.4)}.gift__record .table__body .tr__container:last-child{border-bottom:none}.gift__record .close__button{width:8.533333vw;height:8.533333vw;border-radius:50%;position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);bottom:-14.933333vw;border:1px solid #fff;display:flex;justify-content:center;align-items:center}.gift__record .close__button i{font-size:8.533333vw;color:#fff}.gift__record .mark__title{width:100%;font-size:4.266667vw;line-height:4.266667vw;font-weight:500;color:#525c65;margin-bottom:4.266667vw;text-align:center;-moz-text-align-last:center;text-align-last:center}.gift__record .mark__tip{font-size:3.2vw;font-weight:400;color:#999;line-height:4.8vw;text-align:start;-moz-text-align-last:start;text-align-last:start;margin-bottom:4.266667vw}.list-frame{margin:0 2.666667vw;border:1px solid #5970ff;border-radius:1.333333vw;background-color:#3900c9;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/frame-bg-top.png);background-repeat:no-repeat}.list-frame__content{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/frame-bg-bottom.png);background-repeat:no-repeat;background-position:100% 100%}.course-container{width:44.8vw;margin:0 1.066667vw 4vw;border-radius:.533333vw;background-color:#fff}.course__cover{height:28.8vw;padding:1.066667vw 1.066667vw 0;overflow:hidden}.course__cover img{display:block;width:100%;height:100%}.list-header{display:flex;align-items:center;justify-content:center}.list-header--middle .list-header__decorate{width:6.666667vw;height:3.2vw}.list-header--middle .list-header__content{padding:0 3.2vw;font-size:4.266667vw;font-weight:500;color:#fff}.list-header__decorate{display:inline-block;width:9.866667vw;height:4.8vw;background-size:cover}.list-header__decorate[data-position=left]{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/list-header-l.png)}.list-header__decorate[data-position=right]{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/list-header-r.png)}.list-header__content{margin:0;padding:0 4vw;font-size:4.8vw;font-weight:600;color:#fff604;line-height:1}.boutique-course{padding-bottom:1.333333vw}.course-button{display:block;width:36.8vw;height:6.4vw;margin:0 auto;border-radius:.533333vw;font-size:3.2vw;color:#fff;text-align:center;line-height:6.4vw;background:-webkit-gradient(linear,left top,right top,from(#ff8c1b),to(#ff3b05));background:-webkit-linear-gradient(left,#ff8c1b,#ff3b05);background:linear-gradient(90deg,#ff8c1b,#ff3b05)}.course-button[data-type=study]{background:-webkit-linear-gradient(181deg,#07f0ff,#09f);background:linear-gradient(269deg,#07f0ff,#09f)}.coupon-course__footer{padding:2.666667vw 0}.cent-course__footer{padding:4vw 0 2.666667vw}.coupon-course__button{display:flex;align-items:center;width:36.8vw;height:9.066667vw;margin:0 auto;font-size:3.2vw;color:#fff;text-align:center;line-height:1;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/coupon-bg-0.png);background-repeat:no-repeat;background-size:cover}.coupon-course__button--receive{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/coupon-bg-1.png)}.coupon-course__button-price{flex:1 1;display:inline-flex;flex-direction:column;justify-content:center;align-items:center}.coupon-course__button-price i{font-size:2.133333vw;font-style:normal}.coupon-course__button-label{width:22.933333vw}.more-button{display:block;width:26.666667vw;height:7.2vw;margin:0 auto 4vw;padding:0;border:1px solid #fff;border-radius:3.733333vw;font-size:3.466667vw;font-weight:300;color:#fff;line-height:7.2vw;background-color:initial;cursor:pointer;outline:none}.ai-course__subtitle{width:22.133333vw;height:6.4vw;margin:0 auto 4vw;border-radius:3.2vw;font-size:3.733333vw;font-weight:500;color:#fff;text-align:center;line-height:6.4vw;background:-webkit-gradient(linear,right top,left top,from(#2ecef0),to(#2d56f0));background:-webkit-linear-gradient(right,#2ecef0,#2d56f0);background:linear-gradient(-90deg,#2ecef0,#2d56f0)}[data-layout=row]{display:flex;flex-wrap:wrap}.share__container{position:fixed;left:0;right:0;top:0;bottom:0;width:100%;height:100%;background:rgba(0,0,0,.6);z-index:999}.share__container .share__row{width:16vw;height:11.733333vw;position:absolute;right:4.266667vw;top:2.666667vw}.share__container .share__content{width:77.333333vw;height:18.933333vw;background:#fff;border-radius:2.666667vw;position:absolute;top:18.666667vw;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);display:flex;flex-direction:column;justify-content:center;align-items:center}.share__container .share__content .share__text{font-size:4.266667vw;font-weight:400;color:#525c65}.share__container .share__content .share__rule{height:4.8vw;display:flex;flex-direction:row;justify-content:center;align-items:center;font-size:3.2vw;color:#525c65}.luck-draw__container .am-tabs{width:88vw;margin:0 auto;color:#fff}.luck-draw__container .am-tabs .am-tabs-tab-bar-wrap{height:8.8vw;border:1px solid #fff604;border-radius:0 0 1.6vw 1.6vw}.luck-draw__container .am-tabs .am-tabs-tab-bar-wrap .am-tabs-default-bar .am-tabs-default-bar-tab:nth-of-type(3):after{display:none}.luck-draw__container .am-tabs .am-tabs-tab-bar-wrap .am-tabs-default-bar .am-tabs-default-bar-tab{height:auto;line-height:1}.luck-draw__container .am-tabs .am-tabs-tab-bar-wrap .am-tabs-default-bar .am-tabs-default-bar-tab:after{content:"";display:block;position:absolute;right:0;left:unset;top:50%;margin-top:-1.866667vw;width:1px!important;height:3.733333vw;background:#fff604;-webkit-transform:none;transform:none}.luck-draw__container .am-tabs .am-tabs-tab-bar-wrap .am-tabs-default-bar .am-tabs-default-bar-tab-active{background:#fff604;border-radius:0 0 1.6vw 1.6vw}.tab__body{padding-bottom:5.066667vw}.prize__label{display:flex;align-items:center;justify-content:center;width:33.333333vw;height:6.4vw;margin:5.333333vw auto 0;border-radius:3.2vw;font-size:3.2vw;font-weight:500;color:#fff;background:-webkit-linear-gradient(181deg,#07f0ff,#09f);background:linear-gradient(269deg,#07f0ff,#09f)}.prize__label-icon{width:3.2vw;height:3.733333vw;margin-right:1.866667vw;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/icon-clock.png);background-size:cover}.prize__content{display:flex;flex-wrap:nowrap;padding:2.666667vw 1.866667vw 0;overflow-y:auto}.prize__image{width:26.666667vw;height:20.8vw;margin:0 .8vw 2.666667vw;padding:.533333vw;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/prize-border.png);background-size:cover;overflow:hidden}.prize__image img{display:block;width:100%;height:100%}.prize__desc{width:26.666667vw;font-size:3.2vw;color:#fff;white-space:nowrap;text-overflow:ellipsis;text-align:center;line-height:4vw;overflow:hidden}.collect-blessing{padding-bottom:8vw}.collect-blessing__item{display:flex;align-items:center;position:relative;width:89.333333vw;height:16vw;margin:5.333333vw auto 0;border-radius:1.333333vw;background-color:#fff}.collect-blessing__num{position:absolute;top:0;left:0;width:6.666667vw;height:6.666667vw;padding-left:1.6vw;box-sizing:border-box;font-size:3.2vw;font-style:normal;font-weight:700;color:#fffffd;line-height:5.6vw;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/blessing-number-bg.png);background-size:cover}.collect-blessing__title{flex:1 1;padding:0 2.133333vw 0 6.4vw;font-size:3.2vw;color:#333;line-height:4.8vw}.collect-blessing__content{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:17.066667vw;height:100%;border-radius:1.333333vw;font-size:3.2vw;color:#fff;text-align:center;background:-webkit-linear-gradient(130deg,#ff4bf0,#a200ff);background:linear-gradient(-40deg,#ff4bf0,#a200ff)}.collect-blessing__content i{font-style:normal;font-size:3.2vw}.collect-blessing__content[data-layout=column]{flex-direction:column}.collect-blessing__content[data-status=done]{background:rgba(82,92,101,.3)}.collect-blessing__label{margin:0 0 2.133333vw}.collect-blessing__share{display:flex;align-items:center;justify-content:center}.collect-blessing__share-button{display:block;width:5.333333vw;height:2.933333vw;background-size:auto 100%;background-repeat:no-repeat;background-position:50%}.collect-blessing__share-button[data-type=qq]{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/qq-icon.png)}.collect-blessing__share-button[data-type=wechat]{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/wechat-icon.png)}.collect-blessing__share-button[data-type=weibo]{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/icon-weibo.png)}.activity__over{color:#fff3f0;margin:2.666667vw auto}.activity__over,.login__btn{font-size:3.2vw;font-weight:400;text-align:center}.login__btn{width:9.066667vw;height:4.8vw;background:-webkit-gradient(linear,left bottom,left top,from(#ff4302),to(#ff8400));background:-webkit-linear-gradient(bottom,#ff4302,#ff8400);background:linear-gradient(0deg,#ff4302,#ff8400);border-radius:.8vw;color:#fff;margin-right:3.2vw}.text_nologin{font-size:4.266667vw;font-weight:600;color:#fff3f0;margin-left:3.2vw}.rules__item{background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/fuqi_bj1.png) 50% no-repeat;background-size:100% 100%;width:89.6vw;padding:4.8vw 4.8vw 2.666667vw;margin:2.666667vw auto 0;box-sizing:border-box;display:flex;flex-direction:row;justify-content:space-between;align-items:center;min-height:28.266667vw}.rules__item .item__left{display:flex;flex-direction:column;justify-content:center;align-items:center;width:24vw;height:100%;padding-right:2.666667vw}.rules__item .item__left .tip__bubble{position:relative;margin-bottom:2.666667vw}.rules__item .item__left .tip__bubble .tip__text{width:14.4vw;height:5.866667vw;background:-webkit-gradient(linear,left top,right top,from(#f5afac),to(#f1e2e5));background:-webkit-linear-gradient(left,#f5afac,#f1e2e5);background:linear-gradient(90deg,#f5afac,#f1e2e5);border-radius:.8vw;font-weight:400;line-height:5.866667vw;text-align:center;color:#ff4302}.rules__item .item__left .tip__bubble .tip__style{width:0;height:0;border-left:1.6vw solid transparent;border-right:1.6vw solid transparent;border-top:1.6vw solid #f3c9c9;position:absolute;bottom:-1.6vw;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.rules__item .item__left .range__number{font-size:4.266667vw;font-weight:500;color:#ff4302}.rules__item .item__right{border-left:1px dashed hsla(0,0%,100%,.5);flex:1 1 auto;font-size:3.2vw;font-weight:400;color:#f2f0fa;line-height:4vw;padding:2.133333vw 0 2.133333vw 5.333333vw}.rules__item .item__right p{margin-bottom:2.666667vw;line-height:1}.rules__item .item__right p:last-child{margin-bottom:0}.rules__item .item__right p span{font:size 3.2vw;font-weight:400;color:#ffdf04;line-height:4vw}.reserve-course-module{margin:5.333333vw 4vw 0 5.333333vw;padding-bottom:1.333333vw}.reserve-course-module .course-list ul{display:flex;justify-content:space-between;flex-direction:row;flex-wrap:wrap}.reserve-course-module .course-list ul .course-item-box{width:48%;padding:1.066667vw;background-color:#fff;border-radius:.533333vw;margin-bottom:4vw;text-align:left}.reserve-course-module .course-list ul .course-item-box .top{width:100%;height:28.8vw;position:relative}.reserve-course-module .course-list ul .course-item-box .top .course-img{width:100%;height:28.8vw}.reserve-course-module .course-list ul .course-item-box .top .square{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/course-label-bg.png);background-repeat:no-repeat;background-size:cover;width:16vw;height:16vw;position:absolute;left:0;bottom:0}.reserve-course-module .course-list ul .course-item-box .top .square .circular{height:100%;width:100%;color:#fff;padding-top:4vw;text-align:left;padding-left:1.333333vw}.reserve-course-module .course-list ul .course-item-box .top .square .circular span{font-size:4.266667vw;margin-left:.8vw}.reserve-course-module .course-list ul .course-item-box .count-price{text-align:left;color:#555;margin-top:2.133333vw;line-height:4vw}.reserve-course-module .course-list ul .course-item-box .count-price span{color:#ff4000}.reserve-course-module .course-list ul .course-item-box .count-price span i{font-size:4.266667vw;font-style:normal;margin-left:.8vw}.reserve-course-module .course-list ul .course-item-box .btn{width:100%;padding:0 1.333333vw;margin-top:2.133333vw;margin-bottom:1.333333vw}.reserve-course-module .course-list ul .course-item-box .btn button{width:100%;height:6.4vw;border-radius:.533333vw;font-size:3.2vw;color:#fff;border:none}.reserve-course-module .course-list ul .course-item-box .btn .to-expand-buy1{background:-webkit-gradient(linear,right top,left top,from(#7800ff),to(#ff4bf0));background:-webkit-linear-gradient(right,#7800ff,#ff4bf0);background:linear-gradient(-90deg,#7800ff,#ff4bf0)}.reserve-course-module .course-list ul .course-item-box .btn .to-expand-buy2{background:-webkit-gradient(linear,right top,left top,from(#ff8c1b),to(#ff3b05));background:-webkit-linear-gradient(right,#ff8c1b,#ff3b05);background:linear-gradient(-90deg,#ff8c1b,#ff3b05)}.reserve-course-module .course-list ul .course-item-box .btn .to-study{background:-webkit-gradient(linear,right top,left top,from(#2ecef0),to(#2d56f0));background:-webkit-linear-gradient(right,#2ecef0,#2d56f0);background:linear-gradient(-90deg,#2ecef0,#2d56f0)}.reserve-course-module .more-button{display:block;width:26.666667vw;height:7.2vw;margin:1.333333vw auto 4vw;border:1px solid #fff;border-radius:3.733333vw;font-size:3.466667vw;font-weight:300;color:#fff;background-color:initial;cursor:pointer;outline:none}.level__test_module{width:100%;padding-bottom:5.333333vw}.level__test_module .start__test{width:46.4vw;height:8.8vw;background:-webkit-gradient(linear,right top,left top,from(#ff8c1b),to(#ff3b05));background:-webkit-linear-gradient(right,#ff8c1b,#ff3b05);background:linear-gradient(-90deg,#ff8c1b,#ff3b05);border-radius:4.533333vw;margin:5.333333vw auto 2.133333vw;align-items:center}.level__test_module .start__test,.level__test_module .start__test .button__text{display:flex;justify-content:center;font-size:3.733333vw;font-weight:500;color:#fff}.level__test_module .start__test .button__text{flex-direction:row;align-items:baseline;margin-left:1.333333vw}.level__test_module .start__test .button__text span{font-size:3.2vw}.level__test_module .test__number{font-size:3.2vw;font-weight:400;color:#fff;margin:0 auto;display:flex;justify-content:center;align-items:baseline}.level__test_module .test__number .number{font-size:4.266667vw;margin:0 1.333333vw}.level__test_module .prize__rules{width:89.333333vw;background:#5970ff;border-radius:1.333333vw;margin:4.266667vw auto;padding:4vw 2.666667vw}.level__test_module .prize__rules .prize__title{font-size:3.733333vw;font-weight:400;color:#fff;text-align:center;-moz-text-align-last:center;text-align-last:center;margin-bottom:2.666667vw}.level__test_module .prize__rules .prize__list{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;margin-bottom:4.266667vw}.level__test_module .prize__rules .prize__list .prize__container{width:26.666667vw;height:26.666667vw;margin:0 1.6vw 2.133333vw 0}.level__test_module .prize__rules .prize__list .prize__container:nth-child(3n){margin:0 0 2.133333vw}.level__test_module .prize__rules .rules__text{font-size:3.2vw;font-weight:400;color:#f0f1ff;line-height:4.533333vw}.rank__list_module{width:97.6vw;height:139.466667vw;background:#471ce6;border-radius:1.6vw;margin:4.266667vw auto 0}.rank__list_module .rank__table_head{width:100%;height:10.133333vw;background:#5970ff;border-radius:1.333333vw 1.333333vw 0 0;display:flex;justify-content:center;align-items:center}.rank__list_module .rank__table_head .table_head{display:flex;justify-content:center;align-items:center;color:#fff;font-size:3.733333vw;font-weight:400}.rank__list_module .rank__table_body .table__tr{height:12.8vw;display:flex;justify-content:center;align-items:center}.rank__list_module .rank__table_body .table__tr:first-child .table_head__sort{background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/gold.png) 50% 50% no-repeat;background-size:3.733333vw 4.8vw}.rank__list_module .rank__table_body .table__tr:nth-child(2) .table_head__sort{background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/silver.png) 50% 50% no-repeat;background-size:3.733333vw 4.8vw}.rank__list_module .rank__table_body .table__tr:nth-child(3) .table_head__sort{background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/copper.png) 50% 50% no-repeat;background-size:3.733333vw 4.8vw}.rank__list_module .rank__table_body .table__tr:nth-child(2n){background:#3900c9}.rank__list_module .rank__table_body .table__tr .table__body{font-size:3.2vw;font-weight:400;color:#fffffe;display:flex;align-items:center;justify-content:center;height:100%}.rank__list_module .rank__table_body .table__tr .table_head__user_info .user__avatar{width:4.8vw;height:4.8vw;border-radius:50%;margin-right:1.6vw}.rank__list_module .rank__table_body .table__tr .table_head__user_info .user__name{width:22.933333vw;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rank__list_module .rank__table_body .table__tr .table_head__prize{display:inline-block;line-height:12.8vw;text-align:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rank__list_module .table_head__sort{width:13.333333vw}.rank__list_module .table_head__user_info{width:29.333333vw}.rank__list_module .table_head__score,.rank__list_module .table_head__time{width:15.466667vw}.rank__list_module .table_head__prize{width:24vw}#blessing-preheat{background:#5327fa}.timeline-share{height:57.333333vw;padding-bottom:8vw}.timeline-share .title{margin-bottom:5.333333vw}.timeline-share .content{text-align:center}.timeline-share .content .qr-code{width:32vw;height:32vw}.test__record{width:28.266667vw;height:6.933333vw;border:1px solid #fff604;border-radius:3.466667vw;font-size:3.733333vw;font-weight:400;color:#fff604;margin:2.666667vw auto 3.733333vw;display:flex;justify-content:center;align-items:center}.sort__rules{font-size:3.2vw;font-weight:400;color:#fff;text-align:center;-moz-text-align-last:center;text-align-last:center}.join-lottery{background:#5327fa;text-align:center}.join-lottery .title{color:#fff;margin-bottom:4vw}.join-lottery .text{width:73.333333vw;height:66.133333vw;padding:9.6vw 8vw 0;margin-bottom:2.666667vw;text-align:center;background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/join-lottery-bg.png);background-size:contain;font-size:3.733333vw}.join-lottery .text .code{color:red;margin-bottom:2.133333vw}.join-lottery .text .hint,.join-lottery .text .time{font-size:3.2vw;color:#525c65}.join-lottery .text .time{margin-bottom:5.333333vw}.join-lottery .text .hint{color:rgba(82,92,101,.8);margin-bottom:2.666667vw;text-align:left}.join-lottery .text .qr-code{width:24vw;height:24vw}.join-lottery button{width:35.466667vw;height:8vw;background:#fff;border-radius:4vw;font-size:3.733333vw;color:#5327fa;-webkit-appearance:none;outline:none;border:none}.invite-popup .content{display:flex;flex-flow:column;align-items:center;margin-top:7.733333vw}.invite-popup .content .qr-code{width:32vw;height:32vw;margin-bottom:5.333333vw}.invite-popup .content button{width:35.466667vw;height:8vw;background:#5327fa;border-radius:4vw;font-size:3.733333vw;color:#fff;-webkit-appearance:none;outline:none;border:none}.luck-draw__tip{margin:0 0 2.666667vw;font-size:3.2vw;color:#fff604;text-align:center}.luck-draw__button{display:block;width:28.266667vw;height:6.933333vw;margin:0 auto 4vw;padding:0;border:1px solid #fff604;border-radius:3.466667vw;box-sizing:border-box;font-size:3.466667vw;color:#fff604;text-align:center;line-height:6.4vw;background-color:initial;cursor:pointer;outline:none}#live{margin-top:8vw}#live .title{display:flex;justify-content:center;align-items:center;font-size:4.8vw;color:#fff604;text-align:center;margin-bottom:5.333333vw}#live .title span{margin:0 4vw}#live .title img{width:9.866667vw;height:4.8vw}#live .live-container{width:94.666667vw;margin:0 auto;background:#3900c9;border:1px solid #5970ff;border-radius:1.333333vw;padding-bottom:8vw}#live .live-container .content{position:relative;width:86.666667vw;height:83.2vw;padding:6.933333vw 8vw 0;margin-top:13.333333vw;background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/live-bg.png) no-repeat;background-size:contain;color:#333;text-align:center;overflow:hidden}#live .live-container .tag{position:absolute;right:-20vw;top:2.666667vw;width:53.333333vw;height:9.6vw;font-size:2.933333vw;color:#fff;line-height:9.6vw;text-align:center;-webkit-transform:rotate(45deg);transform:rotate(45deg)}#live .live-container .tag.teacher{background:-webkit-gradient(linear,left top,left bottom,from(#b22faf),to(#f64098));background:-webkit-linear-gradient(#b22faf,#f64098);background:linear-gradient(#b22faf,#f64098)}#live .live-container .tag.student{background:-webkit-gradient(linear,left top,left bottom,from(#0a48f5),to(#09f));background:-webkit-linear-gradient(#0a48f5,#09f);background:linear-gradient(#0a48f5,#09f)}#live .live-container .person-info{display:flex}#live .live-container .name{color:#3900c9;font-size:5.333333vw;text-align:left}#live .live-container .avatar{width:14.666667vw;height:14.666667vw;margin-right:5.333333vw;border-radius:50%;border:1px solid #5970ff;overflow:hidden}#live .live-container .avatar img{width:100%;height:100%}#live .live-container .profession{color:#666;font-size:3.2vw}#live .live-container .title{font-size:4vw;color:#333;text-align:left;margin-bottom:2.666667vw;display:block}#live .live-container .time{color:#666;font-size:3.2vw}#live .live-container .outline,#live .live-container .time{margin-bottom:2.666667vw;text-align:left}#live .live-container .outline-title{font-size:3.733333vw;margin-bottom:1.6vw}#live .live-container .outline li{font-size:2.933333vw;color:#666}#live .live-container button{position:absolute;bottom:5.333333vw;left:50%;margin-left:-17.866667vw;width:35.733333vw;height:8.8vw;border:none;border-radius:4.533333vw;outline:none;font-size:4vw;color:#fff}#live .live-container button.subscribe{padding-left:6.666667vw;background:-webkit-gradient(linear,left top,right top,from(#ff8c1b),to(#ff3b05));background:-webkit-linear-gradient(left,#ff8c1b,#ff3b05);background:linear-gradient(90deg,#ff8c1b,#ff3b05)}#live .live-container button.subscribe:before{content:"";display:block;position:absolute;left:6.666667vw;top:2.4vw;width:4vw;height:4vw;background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/subscribe-icon.png) no-repeat;background-size:contain}#live .live-container button.subscribed{background:#cbced0}#live .live-container button.on-living{padding-left:6.666667vw;background:-webkit-gradient(linear,right top,left top,from(#07f0ff),to(#09f));background:-webkit-linear-gradient(right,#07f0ff,#09f);background:linear-gradient(-90deg,#07f0ff,#09f)}#live .live-container button.on-living:before{content:"";display:block;position:absolute;top:2.666667vw;left:6.666667vw;width:2.933333vw;height:3.2vw;background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/live-play-icon.png) no-repeat;background-size:contain}#live .popup-container .title{color:#525c65}#live .popup-container .content{display:flex;justify-content:center}#live .popup-container .content img{width:32vw;height:32vw}#live .am-tabs{width:88vw;margin:0 auto;color:#fff}#live .am-tabs .am-tabs-default-bar-tab:nth-last-of-type(2):after{display:none}#live .am-tabs .am-tabs-tab-bar-wrap{height:8.8vw;border:1px solid #fff604;border-radius:0 0 1.6vw 1.6vw}#live .am-tabs .am-tabs-default-bar-tab{height:auto;line-height:1}#live .am-tabs .am-tabs-default-bar-tab:after{content:"";display:block;position:absolute;right:0;left:unset;top:50%;margin-top:-1.866667vw;width:1px;height:3.733333vw;background:#fff604;-webkit-transform:none;transform:none}#live .am-tabs .am-tabs-default-bar-tab-active{background:#fff604;border-radius:0 0 1.6vw 1.6vw}#main-banner{overflow:auto}#main-banner .banner{width:100vw;height:48.8vw;background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/banner.png) no-repeat;background-size:contain}#main-banner #main-nav{position:absolute;top:48.8vw;width:100%;margin-bottom:8vw}#main-banner #main-nav.fixed{position:fixed;top:0;z-index:100}#main-banner #main-nav ul{background:#3900c9;display:flex}#main-banner #main-nav li{flex:1 1;width:16.8vw;height:8vw;font-size:2.933333vw;color:#fff;text-align:center;line-height:8vw}#main-banner #main-nav li.active{background:#ff42f9}
/*# sourceMappingURL=blessing-preheat.3ea8b615.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["/Users/xzh/dnmp/www/mr-julyedu/src/components/blessingPreheat/rulePopup/index.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/blessingPreheat/coursePopup/index.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/blessingPreheat/recordPopup/index.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/blessingPreheat/listFrame/index.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/blessingPreheat/courseItem/index.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/blessingPreheat/listHeader/index.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/blessingPreheat/courseList/index.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/blessingPreheat/sharePopup/index.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/blessingPreheat/luckDraw/index.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/blessingPreheat/collectBlessing/index.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/blessingPreheat/ReserveCourse/index.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/blessingPreheat/levelTest/index.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/blessingPreheat/rankList/index.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/blessingPreheat/index.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/blessingPreheat/live/index.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/blessingPreheat/banner/index.scss"],"names":[],"mappings":"AAmGA,uBACE,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,sBAAA,CACA,cAAA,CACA,KAAA,CACA,MAAA,CACA,UAAA,CACA,WAAA,CACA,+BAAA,CACA,WAAY,CAXd,iCAcI,qBAAA,CACA,eAAA,CACA,UAAA,CACA,cAAe,CAInB,YACE,UAAA,CACA,kBAAA,CACA,sBAAA,CACA,wBAAA,CACA,qBAAA,CACA,iBAAA,CACA,qBAAsB,CAGxB,mBACE,cAAA,CACA,oBAAA,CACA,eAAA,CACA,aAAA,CACA,iBAAA,CACA,aAAc,CAGhB,kBACE,oBAAe,CAGjB,kBACE,oBAAA,CACA,wBAAA,CACA,eAAA,CACA,iBAAiB,CChDnB,yBACE,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,sBAAA,CACA,cAAA,CACA,KAAA,CACA,MAAA,CACA,UAAA,CACA,WAAA,CACA,+BAAmC,CAVrC,mCAaI,qBAAA,CACA,eAAA,CACA,UAAA,CACA,cAAe,CAInB,cACE,UAAA,CACA,kBAAA,CACA,sBAAA,CACA,wBAAA,CACA,qBAAA,CACA,qBAAsB,CAGxB,qBACE,qBAAA,CACA,oBAAA,CACA,eAAA,CACA,aAAA,CACA,iBAAA,CACA,aAAc,CAGhB,oBACE,kBAAA,CACA,aAAA,CACA,eAAgB,CAGlB,oBACE,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,UAAA,CACA,UAAA,CACA,oBAAA,CACA,wBAAA,CACA,qBAAA,CACA,wBAAA,CACA,wBAAyB,CAV3B,mCAaI,qBAAgB,CAbpB,0BAiBI,UAAA,CACA,mCAAuC,CAI3C,oBACE,iBAAA,CACA,eAAA,CACA,kBAAA,CACA,sBAAA,CACA,eAAgB,CCvElB,cACE,cAAA,CACA,MAAA,CACA,KAAA,CACA,QAAA,CACA,OAAA,CACA,UAAA,CACA,WAAA,CACA,+BAAA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uCA8JgB,uBAAA,CACA,6EAAA,CAAA,sDAAA,CAAA,+CAAuF,CA/JvG,8CAkKoB,UAAA,CACA,aAAA,CACA,iBAAA,CACA,cAAA,CACA,eAAA,CACA,gBAAA,CACA,YAAA,CACA,4GAAA,CACA,uBAAwB,CA1K5C,8BAmLY,aAAc,CAnL1B,gCAuLY,YAAA,CACA,sBAAuB,CAxLnC,oCA2LgB,UAAA,CACA,WAAa,CA5L7B,eAkMQ,UAAA,CACA,aAAA,CACA,UAAW,CApMnB,kEAwMgB,YAAa,CAxM7B,qCA6MY,YAAA,CACA,wBAAA,CACA,6BAA0B,CA/MtC,wCAmNY,WAAA,CACA,aAAc,CApN1B,8CAuNgB,UAAA,CACA,aAAA,CACA,iBAAA,CACA,OAAA,CACA,UAAA,CACA,OAAA,CACA,sBAAA,CACA,SAAA,CACA,iBAAA,CACA,kBAAA,CACA,sBAAA,CAAA,cAAe,CAjO/B,+CAsOY,kBAAA,CACA,6BAA0B,CCvOtC,aACI,aAAc,CADlB,qBAGQ,WAAA,CACA,aAAA,CACA,oGAAA,CACA,uBAAwB,CANhC,uBASQ,iBAAA,CACA,UAAA,CACA,UAAA,CACA,iBAAkB,CAZ1B,6BAeY,cAAA,CACA,KAAA,CACA,WAAY,CAjBxB,0BAoBY,kBAAA,CACA,YAAa,CArBzB,0BAwBY,QAAA,CACA,YAAA,CACA,UAAA,CACA,oBAAA,CACA,UAAA,CACA,iBAAA,CACA,eAAiB,CA9B7B,iCAgCgB,kBAAmB","file":"blessing-preheat.3ea8b615.chunk.css","sourcesContent":["@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.rule-popup__container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 999; }\n .rule-popup__container .iconfont {\n margin: 16px 0 0;\n font-size: 24px;\n color: #fff;\n cursor: pointer; }\n\n.rule-popup {\n width: 300px;\n height: 323px;\n padding: 20px 0 0;\n border-radius: 10px;\n box-sizing: border-box;\n text-align: center;\n background-color: #fff; }\n\n.rule-popup__title {\n margin: 0 0 15px;\n font-size: 16px;\n font-weight: 500;\n color: #525C65;\n text-align: center;\n line-height: 1; }\n\n.rule-popup__list {\n padding: 0 20px; }\n\n.rule-popup__item {\n font-size: 14px;\n color: rgba(82, 92, 101, 0.9);\n text-align: left;\n line-height: 21px; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.course-popup__container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.5); }\n .course-popup__container .iconfont {\n margin: 16px 0 0;\n font-size: 24px;\n color: #fff;\n cursor: pointer; }\n\n.course-popup {\n width: 300px;\n height: 275px;\n padding: 20px 0 0;\n border-radius: 10px;\n box-sizing: border-box;\n background-color: #fff; }\n\n.course-popup__title {\n margin: 0 0 20px;\n font-size: 16px;\n font-weight: 500;\n color: #525C65;\n text-align: center;\n line-height: 1; }\n\n.course-popup__list {\n height: 190px;\n padding: 0 15px;\n overflow-y: auto; }\n\n.course-popup__item {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n height: 30px;\n padding: 0 10px;\n border-radius: 4px;\n box-sizing: border-box;\n color: rgba(82, 92, 101, 0.6);\n background-color: #E7EDF2; }\n .course-popup__item:nth-child(n+2) {\n margin-top: 10px; }\n .course-popup__item:hover {\n color: #fff;\n background-color: rgba(0, 153, 255, 0.6); }\n\n.course-popup__name {\n width: 200px;\n font-size: 12px;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.record__mark {\n position: fixed;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.6);\n display: flex;\n justify-content: center;\n align-items: center; }\n\n.gift__record {\n width: 300px;\n height: 250px;\n background: white;\n border-radius: 5px;\n padding: 18px 24px 0 24px;\n position: relative; }\n .gift__record span.tr {\n display: flex;\n justify-content: center;\n align-items: center;\n display: inline-block; }\n .gift__record span.tr:first-child {\n width: 120px;\n padding-left: 12px;\n text-align: start;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; }\n .gift__record span.tr:nth-child(2n) {\n width: 55px; }\n .gift__record span.tr:last-child {\n width: 75px;\n padding-right: 12px;\n text-align: right; }\n .gift__record span.tr:last-child a {\n font-size: 12px;\n color: #0099ff;\n text-decoration: underline; }\n .gift__record .table__head {\n width: 250px;\n height: 34px;\n background: rgba(82, 92, 101, 0.1);\n border-radius: 1px 1px 0px 0px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-size: 12px;\n font-weight: 400;\n color: #525c65; }\n .gift__record .table__body {\n width: 250px;\n height: 102px;\n border: 1px solid rgba(207, 219, 229, 0.4);\n border-radius: 0px 0px 1px 1px;\n box-sizing: border-box;\n overflow: auto; }\n .gift__record .table__body .tr__container {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 34px;\n border-bottom: 1px solid rgba(207, 219, 229, 0.4); }\n .gift__record .table__body .tr__container:last-child {\n border-bottom: none; }\n .gift__record .close__button {\n width: 32px;\n height: 32px;\n border-radius: 50%;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n bottom: -56px;\n border: 1px solid #fff;\n display: flex;\n justify-content: center;\n align-items: center; }\n .gift__record .close__button i {\n font-size: 32px;\n color: #fff; }\n .gift__record .mark__title {\n width: 100%;\n font-size: 16px;\n line-height: 16px;\n font-weight: 500;\n color: #525c65;\n margin-bottom: 16px;\n text-align: center;\n text-align-last: center; }\n .gift__record .mark__tip {\n font-size: 12px;\n font-weight: 400;\n color: #999999;\n line-height: 18px;\n text-align: start;\n text-align-last: start;\n margin-bottom: 16px; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.list-frame {\n margin: 0 10px;\n border: 1px solid #5970FF;\n border-radius: 5px;\n background-color: #3900C9;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/frame-bg-top.png\");\n background-repeat: no-repeat; }\n\n.list-frame__content {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/frame-bg-bottom.png\");\n background-repeat: no-repeat;\n background-position: bottom right; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.course-container {\n width: 168px;\n margin: 0 4px 15px;\n border-radius: 2px;\n background-color: #fff; }\n\n.course__cover {\n height: 108px;\n padding: 4px 4px 0;\n overflow: hidden; }\n .course__cover img {\n display: block;\n width: 100%;\n height: 100%; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.list-header {\n display: flex;\n align-items: center;\n justify-content: center; }\n\n.list-header--middle .list-header__decorate {\n width: 25px;\n height: 12px; }\n\n.list-header--middle .list-header__content {\n padding: 0 12px;\n font-size: 16px;\n font-weight: 500;\n color: #fff; }\n\n.list-header__decorate {\n display: inline-block;\n width: 37px;\n height: 18px;\n background-size: cover; }\n .list-header__decorate[data-position=\"left\"] {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/list-header-l.png\"); }\n .list-header__decorate[data-position=\"right\"] {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/list-header-r.png\"); }\n\n.list-header__content {\n margin: 0;\n padding: 0 15px;\n font-size: 18px;\n font-weight: 600;\n color: #FFF604;\n line-height: 1; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.boutique-course {\n padding-bottom: 5px; }\n\n.course-button {\n display: block;\n width: 138px;\n height: 24px;\n margin: 0 auto;\n border-radius: 2px;\n font-size: 12px;\n color: #fff;\n text-align: center;\n line-height: 24px;\n background: linear-gradient(90deg, #ff8c1b 0%, #ff3b05 100%); }\n .course-button[data-type=\"study\"] {\n background: linear-gradient(269deg, #07f0ff 0%, #0099ff 100%); }\n\n.coupon-course__footer {\n padding: 10px 0; }\n\n.cent-course__footer {\n padding: 15px 0 10px; }\n\n.coupon-course__button {\n display: flex;\n align-items: center;\n width: 138px;\n height: 34px;\n margin: 0 auto;\n font-size: 12px;\n color: #fff;\n text-align: center;\n line-height: 1;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/coupon-bg-0.png\");\n background-repeat: no-repeat;\n background-size: cover; }\n\n.coupon-course__button--receive {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/coupon-bg-1.png\"); }\n\n.coupon-course__button-price {\n flex: 1;\n display: inline-flex;\n flex-direction: column;\n justify-content: center;\n align-items: center; }\n .coupon-course__button-price i {\n font-size: 8px;\n font-style: normal; }\n\n.coupon-course__button-label {\n width: 86px; }\n\n.more-button {\n display: block;\n width: 100px;\n height: 27px;\n margin: 0 auto 15px;\n padding: 0;\n border: 1px solid #fff;\n border-radius: 14px;\n font-size: 13px;\n font-weight: 300;\n color: #fff;\n line-height: 27px;\n background-color: transparent;\n cursor: pointer;\n outline: none; }\n\n.ai-course__subtitle {\n width: 83px;\n height: 24px;\n margin: 0 auto 15px;\n border-radius: 12px;\n font-size: 14px;\n font-weight: 500;\n color: #fff;\n text-align: center;\n line-height: 24px;\n background: linear-gradient(-90deg, #2ecef0 0%, #2d56f0 100%); }\n\n[data-layout=\"row\"] {\n display: flex;\n flex-wrap: wrap; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.share__container {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.6);\n z-index: 999; }\n .share__container .share__row {\n width: 60px;\n height: 44px;\n position: absolute;\n right: 16px;\n top: 10px; }\n .share__container .share__content {\n width: 290px;\n height: 71px;\n background: white;\n border-radius: 10px;\n position: absolute;\n top: 70px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center; }\n .share__container .share__content .share__text {\n font-size: 16px;\n font-weight: 400;\n color: #525c65; }\n .share__container .share__content .share__rule {\n height: 18px;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n font-size: 12px;\n color: #525C65; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.luck-draw__container .am-tabs {\n width: 330px;\n margin: 0 auto;\n color: #fff; }\n .luck-draw__container .am-tabs .am-tabs-tab-bar-wrap {\n height: 33px;\n border: 1px solid #fff604;\n border-radius: 0 0 6px 6px; }\n .luck-draw__container .am-tabs .am-tabs-tab-bar-wrap .am-tabs-default-bar .am-tabs-default-bar-tab:nth-of-type(3)::after {\n display: none; }\n .luck-draw__container .am-tabs .am-tabs-tab-bar-wrap .am-tabs-default-bar .am-tabs-default-bar-tab {\n height: auto;\n line-height: 1; }\n .luck-draw__container .am-tabs .am-tabs-tab-bar-wrap .am-tabs-default-bar .am-tabs-default-bar-tab::after {\n content: '';\n display: block;\n position: absolute;\n right: 0;\n left: unset;\n top: 50%;\n margin-top: -7px;\n width: 1px !important;\n height: 14px;\n background: #FFF604;\n transform: none; }\n .luck-draw__container .am-tabs .am-tabs-tab-bar-wrap .am-tabs-default-bar .am-tabs-default-bar-tab-active {\n background: #FFF604;\n border-radius: 0 0 6px 6px; }\n\n.tab__body {\n padding-bottom: 19px; }\n\n.prize__label {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 125px;\n height: 24px;\n margin: 20px auto 0;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 500;\n color: #fff;\n background: linear-gradient(269deg, #07f0ff 0%, #0099ff 100%); }\n\n.prize__label-icon {\n width: 12px;\n height: 14px;\n margin-right: 7px;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/icon-clock.png\");\n background-size: cover; }\n\n.prize__content {\n display: flex;\n flex-wrap: nowrap;\n padding: 10px 7px 0;\n overflow-y: auto; }\n\n.prize__image {\n width: 100px;\n height: 78px;\n margin: 0 3px 10px;\n padding: 2px;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/prize-border.png\");\n background-size: cover;\n overflow: hidden; }\n .prize__image img {\n display: block;\n width: 100%;\n height: 100%; }\n\n.prize__desc {\n width: 100px;\n font-size: 12px;\n color: #fff;\n white-space: nowrap;\n text-overflow: ellipsis;\n text-align: center;\n line-height: 15px;\n overflow: hidden; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.collect-blessing {\n padding-bottom: 30px; }\n\n.collect-blessing__item {\n display: flex;\n align-items: center;\n position: relative;\n width: 335px;\n height: 60px;\n margin: 20px auto 0;\n border-radius: 5px;\n background-color: #fff; }\n\n.collect-blessing__num {\n position: absolute;\n top: 0;\n left: 0;\n width: 25px;\n height: 25px;\n padding-left: 6px;\n box-sizing: border-box;\n font-size: 12px;\n font-style: normal;\n font-weight: bold;\n color: #FFFFFD;\n line-height: 21px;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/blessing-number-bg.png\");\n background-size: cover; }\n\n.collect-blessing__title {\n flex: 1;\n padding: 0 8px 0 24px;\n font-size: 12px;\n color: #333;\n line-height: 18px; }\n\n.collect-blessing__content {\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 64px;\n height: 100%;\n border-radius: 5px;\n font-size: 12px;\n color: #fff;\n text-align: center;\n background: linear-gradient(-40deg, #ff4bf0 0%, #a200ff 100%); }\n .collect-blessing__content i {\n font-style: normal;\n font-size: 12px; }\n .collect-blessing__content[data-layout=\"column\"] {\n flex-direction: column; }\n .collect-blessing__content[data-status=\"done\"] {\n background: rgba(82, 92, 101, 0.3); }\n\n.collect-blessing__label {\n margin: 0 0 8px; }\n\n.collect-blessing__share {\n display: flex;\n align-items: center;\n justify-content: center; }\n\n.collect-blessing__share-button {\n display: block;\n width: 20px;\n height: 11px;\n background-size: auto 100%;\n background-repeat: no-repeat;\n background-position: center; }\n .collect-blessing__share-button[data-type=\"qq\"] {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/qq-icon.png\"); }\n .collect-blessing__share-button[data-type=\"wechat\"] {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/wechat-icon.png\"); }\n .collect-blessing__share-button[data-type=\"weibo\"] {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/icon-weibo.png\"); }\n\n.activity__over {\n font-size: 12px;\n font-weight: 400;\n color: #fff3f0;\n margin: 10px auto;\n text-align: center; }\n\n.login__btn {\n width: 34px;\n height: 18px;\n background: linear-gradient(0deg, #ff4302, #ff8400);\n border-radius: 3px;\n color: #FFF;\n font-size: 12px;\n font-weight: 400;\n text-align: center;\n margin-right: 12px; }\n\n.text_nologin {\n font-size: 16px;\n font-weight: 600;\n color: #fff3f0;\n margin-left: 12px; }\n\n.rules__item {\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/fuqi_bj1.png\") center center no-repeat;\n background-size: 100% 100%;\n width: 336px;\n padding: 18px 18px 10px 18px;\n margin: 10px auto 0;\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n min-height: 106px; }\n .rules__item .item__left {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 90px;\n height: 100%;\n padding-right: 10px; }\n .rules__item .item__left .tip__bubble {\n position: relative;\n margin-bottom: 10px; }\n .rules__item .item__left .tip__bubble .tip__text {\n width: 54px;\n height: 22px;\n background: linear-gradient(90deg, #f5afac 0%, #f1e2e5 100%);\n border-radius: 3px;\n font-weight: 400;\n line-height: 22px;\n text-align: center;\n color: #ff4302; }\n .rules__item .item__left .tip__bubble .tip__style {\n width: 0;\n height: 0;\n border-left: 6px solid transparent;\n border-right: 6px solid transparent;\n border-top: 6px solid #F3C9C9;\n position: absolute;\n bottom: -6px;\n left: 50%;\n transform: translateX(-50%); }\n .rules__item .item__left .range__number {\n font-size: 16px;\n font-weight: 500;\n color: #ff4302; }\n .rules__item .item__right {\n border-left: 1px dashed rgba(255, 255, 255, 0.5);\n flex: 1 1 auto;\n font-size: 12px;\n font-weight: 400;\n color: #f2f0fa;\n line-height: 15px;\n padding: 8px 0 8px 20px; }\n .rules__item .item__right p {\n margin-bottom: 10px;\n line-height: 1; }\n .rules__item .item__right p:last-child {\n margin-bottom: 0; }\n .rules__item .item__right p span {\n font: size 12px;\n font-weight: 400;\n color: #ffdf04;\n line-height: 15px; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.reserve-course-module {\n margin: 20px 15px 0 20px;\n padding-bottom: 5px; }\n .reserve-course-module .course-list ul {\n display: flex;\n justify-content: space-between;\n flex-direction: row;\n flex-wrap: wrap; }\n .reserve-course-module .course-list ul .course-item-box {\n width: 48%;\n padding: 4px;\n background-color: #fff;\n border-radius: 2px;\n margin-bottom: 15px;\n text-align: left; }\n .reserve-course-module .course-list ul .course-item-box .top {\n width: 100%;\n height: 108px;\n position: relative; }\n .reserve-course-module .course-list ul .course-item-box .top .course-img {\n width: 100%;\n height: 108px; }\n .reserve-course-module .course-list ul .course-item-box .top .square {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/course-label-bg.png\");\n background-repeat: no-repeat;\n background-size: cover;\n width: 60px;\n height: 60px;\n position: absolute;\n left: 0;\n bottom: 0; }\n .reserve-course-module .course-list ul .course-item-box .top .square .circular {\n height: 100%;\n width: 100%;\n color: #fff;\n padding-top: 15px;\n text-align: left;\n padding-left: 5px; }\n .reserve-course-module .course-list ul .course-item-box .top .square .circular span {\n font-size: 16px;\n margin-left: 3px; }\n .reserve-course-module .course-list ul .course-item-box .count-price {\n text-align: left;\n color: #555;\n margin-top: 8px;\n line-height: 15px; }\n .reserve-course-module .course-list ul .course-item-box .count-price span {\n color: #FF4000; }\n .reserve-course-module .course-list ul .course-item-box .count-price span i {\n font-size: 16px;\n font-style: normal;\n margin-left: 3px; }\n .reserve-course-module .course-list ul .course-item-box .btn {\n width: 100%;\n padding: 0 5px;\n margin-top: 8px;\n margin-bottom: 5px; }\n .reserve-course-module .course-list ul .course-item-box .btn button {\n width: 100%;\n height: 24px;\n border-radius: 2px;\n font-size: 12px;\n color: #fff;\n border: none; }\n .reserve-course-module .course-list ul .course-item-box .btn .to-expand-buy1 {\n background: linear-gradient(-90deg, #7800FF 0%, #FF4BF0 100%); }\n .reserve-course-module .course-list ul .course-item-box .btn .to-expand-buy2 {\n background: linear-gradient(-90deg, #FF8C1B 0%, #FF3B05 100%); }\n .reserve-course-module .course-list ul .course-item-box .btn .to-study {\n background: linear-gradient(-90deg, #2ECEF0 0%, #2D56F0 100%); }\n .reserve-course-module .more-button {\n display: block;\n width: 100px;\n height: 27px;\n margin: 5px auto 15px;\n border: 1px solid #fff;\n border-radius: 14px;\n font-size: 13px;\n font-weight: 300;\n color: #fff;\n background-color: transparent;\n cursor: pointer;\n outline: none; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.level__test_module {\n width: 100%;\n padding-bottom: 20px; }\n .level__test_module .start__test {\n width: 174px;\n height: 33px;\n background: linear-gradient(-90deg, #ff8c1b 0%, #ff3b05 100%);\n border-radius: 17px;\n margin: 20px auto 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 14px;\n font-weight: 500;\n color: white; }\n .level__test_module .start__test .button__text {\n font-size: 14px;\n font-weight: 500;\n color: white;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: baseline;\n margin-left: 5px; }\n .level__test_module .start__test .button__text span {\n font-size: 12px; }\n .level__test_module .test__number {\n font-size: 12px;\n font-weight: 400;\n color: white;\n margin: 0 auto;\n display: flex;\n justify-content: center;\n align-items: baseline; }\n .level__test_module .test__number .number {\n font-size: 16px;\n margin: 0 5px; }\n .level__test_module .prize__rules {\n width: 335px;\n background: #5970ff;\n border-radius: 5px;\n margin: 16px auto;\n padding: 15px 10px; }\n .level__test_module .prize__rules .prize__title {\n font-size: 14px;\n font-weight: 400;\n color: white;\n text-align: center;\n text-align-last: center;\n margin-bottom: 10px; }\n .level__test_module .prize__rules .prize__list {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: flex-start;\n flex-wrap: wrap;\n margin-bottom: 16px; }\n .level__test_module .prize__rules .prize__list .prize__container {\n width: 100px;\n height: 100px;\n margin: 0 6px 8px 0; }\n .level__test_module .prize__rules .prize__list .prize__container:nth-child(3n) {\n margin: 0 0 8px 0; }\n .level__test_module .prize__rules .rules__text {\n font-size: 12px;\n font-weight: 400;\n color: #f0f1ff;\n line-height: 17px; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.rank__list_module {\n width: 366px;\n height: 523px;\n background: #471ce6;\n border-radius: 6px;\n margin: 16px auto 0; }\n .rank__list_module .rank__table_head {\n width: 100%;\n height: 38px;\n background: #5970ff;\n border-radius: 5px 5px 0px 0px;\n display: flex;\n justify-content: center;\n align-items: center; }\n .rank__list_module .rank__table_head .table_head {\n display: flex;\n justify-content: center;\n align-items: center;\n color: #fff;\n font-size: 14px;\n font-weight: 400; }\n .rank__list_module .rank__table_body .table__tr {\n height: 48px;\n display: flex;\n justify-content: center;\n align-items: center; }\n .rank__list_module .rank__table_body .table__tr:nth-child(1) .table_head__sort {\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/gold.png\") 50% 50% no-repeat;\n background-size: 14px 18px; }\n .rank__list_module .rank__table_body .table__tr:nth-child(2) .table_head__sort {\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/silver.png\") 50% 50% no-repeat;\n background-size: 14px 18px; }\n .rank__list_module .rank__table_body .table__tr:nth-child(3) .table_head__sort {\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/copper.png\") 50% 50% no-repeat;\n background-size: 14px 18px; }\n .rank__list_module .rank__table_body .table__tr:nth-child(2n) {\n background: #3900C9; }\n .rank__list_module .rank__table_body .table__tr .table__body {\n font-size: 12px;\n font-weight: 400;\n color: #fffffe;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%; }\n .rank__list_module .rank__table_body .table__tr .table_head__user_info .user__avatar {\n width: 18px;\n height: 18px;\n border-radius: 50%;\n margin-right: 6px; }\n .rank__list_module .rank__table_body .table__tr .table_head__user_info .user__name {\n width: 86px;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; }\n .rank__list_module .rank__table_body .table__tr .table_head__prize {\n display: inline-block;\n line-height: 48px;\n text-align: start;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; }\n .rank__list_module .table_head__sort {\n width: 50px; }\n .rank__list_module .table_head__user_info {\n width: 110px; }\n .rank__list_module .table_head__time {\n width: 58px; }\n .rank__list_module .table_head__score {\n width: 58px; }\n .rank__list_module .table_head__prize {\n width: 90px; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n#blessing-preheat {\n background: #5327FA; }\n\n.timeline-share {\n height: 215px;\n padding-bottom: 30px; }\n .timeline-share .title {\n margin-bottom: 20px; }\n .timeline-share .content {\n text-align: center; }\n .timeline-share .content .qr-code {\n width: 120px;\n height: 120px; }\n\n.test__record {\n width: 106px;\n height: 26px;\n border: 1px solid #fff604;\n border-radius: 13px;\n font-size: 14px;\n font-weight: 400;\n color: #fff604;\n margin: 10px auto 14px;\n display: flex;\n justify-content: center;\n align-items: center; }\n\n.sort__rules {\n font-size: 12px;\n font-weight: 400;\n color: white;\n text-align: center;\n text-align-last: center; }\n\n.join-lottery {\n background: #5327FA;\n text-align: center; }\n .join-lottery .title {\n color: #fff;\n margin-bottom: 15px; }\n .join-lottery .text {\n width: 275px;\n height: 248px;\n padding: 36px 30px 0;\n margin-bottom: 10px;\n text-align: center;\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/join-lottery-bg.png\");\n background-size: contain;\n font-size: 14px; }\n .join-lottery .text .code {\n color: #FF0000;\n margin-bottom: 8px; }\n .join-lottery .text .time, .join-lottery .text .hint {\n font-size: 12px;\n color: #525C65; }\n .join-lottery .text .time {\n margin-bottom: 20px; }\n .join-lottery .text .hint {\n color: rgba(82, 92, 101, 0.8);\n margin-bottom: 10px;\n text-align: left; }\n .join-lottery .text .qr-code {\n width: 90px;\n height: 90px; }\n .join-lottery button {\n width: 133px;\n height: 30px;\n background: #fff;\n border-radius: 15px;\n font-size: 14px;\n color: #5327FA;\n -webkit-appearance: none;\n outline: none;\n border: none; }\n\n.invite-popup .content {\n display: flex;\n flex-flow: column;\n align-items: center;\n margin-top: 29px; }\n .invite-popup .content .qr-code {\n width: 120px;\n height: 120px;\n margin-bottom: 20px; }\n .invite-popup .content button {\n width: 133px;\n height: 30px;\n background: #5327fa;\n border-radius: 15px;\n font-size: 14px;\n color: #fff;\n -webkit-appearance: none;\n outline: none;\n border: none; }\n\n.luck-draw__tip {\n margin: 0 0 10px;\n font-size: 12px;\n color: #FFF604;\n text-align: center; }\n\n.luck-draw__button {\n display: block;\n width: 106px;\n height: 26px;\n margin: 0 auto 15px;\n padding: 0;\n border: 1px solid #FFF604;\n border-radius: 13px;\n box-sizing: border-box;\n font-size: 13px;\n color: #FFF604;\n text-align: center;\n line-height: 24px;\n background-color: transparent;\n cursor: pointer;\n outline: none; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n#live {\n margin-top: 30px; }\n #live .title {\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 18px;\n color: #FFF604;\n text-align: center;\n margin-bottom: 20px; }\n #live .title span {\n margin: 0 15px; }\n #live .title img {\n width: 37px;\n height: 18px; }\n #live .live-container {\n width: 355px;\n margin: 0 auto;\n background: #3900c9;\n border: 1px solid #5970ff;\n border-radius: 5px;\n padding-bottom: 30px; }\n #live .live-container .content {\n position: relative;\n width: 325px;\n height: 312px;\n padding: 26px 30px 0;\n margin-top: 50px;\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/live-bg.png\") no-repeat;\n background-size: contain;\n color: #333;\n text-align: center;\n overflow: hidden; }\n #live .live-container .tag {\n position: absolute;\n right: -75px;\n top: 10px;\n width: 200px;\n height: 36px;\n font-size: 11px;\n color: #fff;\n line-height: 36px;\n text-align: center;\n transform: rotate(45deg); }\n #live .live-container .tag.teacher {\n background: linear-gradient(#b22faf 0%, #f64098 100%); }\n #live .live-container .tag.student {\n background: linear-gradient(#0a48f5 0%, #0099ff 100%); }\n #live .live-container .person-info {\n display: flex; }\n #live .live-container .name {\n color: #3900C9;\n font-size: 20px;\n text-align: left; }\n #live .live-container .avatar {\n width: 55px;\n height: 55px;\n margin-right: 20px;\n border-radius: 50%;\n border: 1px solid #5970FF;\n overflow: hidden; }\n #live .live-container .avatar img {\n width: 100%;\n height: 100%; }\n #live .live-container .profession {\n color: #666;\n font-size: 12px; }\n #live .live-container .title {\n font-size: 15px;\n color: #333;\n text-align: left;\n margin-bottom: 10px;\n display: block; }\n #live .live-container .time {\n margin-bottom: 10px;\n color: #666;\n font-size: 12px;\n text-align: left; }\n #live .live-container .outline {\n text-align: left;\n margin-bottom: 10px; }\n #live .live-container .outline-title {\n font-size: 14px;\n margin-bottom: 6px; }\n #live .live-container .outline li {\n font-size: 11px;\n color: #666; }\n #live .live-container button {\n position: absolute;\n bottom: 20px;\n left: 50%;\n margin-left: -67px;\n width: 134px;\n height: 33px;\n border: none;\n border-radius: 17px;\n outline: none;\n font-size: 15px;\n color: #fff; }\n #live .live-container button.subscribe {\n padding-left: 25px;\n background: linear-gradient(90deg, #ff8c1b 0%, #ff3b05 100%); }\n #live .live-container button.subscribe::before {\n content: '';\n display: block;\n position: absolute;\n left: 25px;\n top: 9px;\n width: 15px;\n height: 15px;\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/subscribe-icon.png\") no-repeat;\n background-size: contain; }\n #live .live-container button.subscribed {\n background: #CBCED0; }\n #live .live-container button.on-living {\n padding-left: 25px;\n background: linear-gradient(-90deg, #07f0ff 0%, #0099ff 100%); }\n #live .live-container button.on-living::before {\n content: '';\n display: block;\n position: absolute;\n top: 10px;\n left: 25px;\n width: 11px;\n height: 12px;\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/live-play-icon.png\") no-repeat;\n background-size: contain; }\n #live .popup-container .title {\n color: #525C65; }\n #live .popup-container .content {\n display: flex;\n justify-content: center; }\n #live .popup-container .content img {\n width: 120px;\n height: 120px; }\n #live .am-tabs {\n width: 330px;\n margin: 0 auto;\n color: #fff; }\n #live .am-tabs .am-tabs-default-bar-tab:nth-last-of-type(2)::after {\n display: none; }\n #live .am-tabs .am-tabs-tab-bar-wrap {\n height: 33px;\n border: 1px solid #fff604;\n border-radius: 0 0 6px 6px; }\n #live .am-tabs .am-tabs-default-bar-tab {\n height: auto;\n line-height: 1; }\n #live .am-tabs .am-tabs-default-bar-tab::after {\n content: '';\n display: block;\n position: absolute;\n right: 0;\n left: unset;\n top: 50%;\n margin-top: -7px;\n width: 1px;\n height: 14px;\n background: #FFF604;\n transform: none; }\n #live .am-tabs .am-tabs-default-bar-tab-active {\n background: #FFF604;\n border-radius: 0 0 6px 6px; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n#main-banner {\n overflow: auto; }\n #main-banner .banner {\n width: 375px;\n height: 183px;\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/banner.png\") no-repeat;\n background-size: contain; }\n #main-banner #main-nav {\n position: absolute;\n top: 183px;\n width: 100%;\n margin-bottom: 30px; }\n #main-banner #main-nav.fixed {\n position: fixed;\n top: 0;\n z-index: 100; }\n #main-banner #main-nav ul {\n background: #3900C9;\n display: flex; }\n #main-banner #main-nav li {\n flex: 1;\n width: 63px;\n height: 30px;\n font-size: 11px;\n color: #fff;\n text-align: center;\n line-height: 30px; }\n #main-banner #main-nav li.active {\n background: #FF42F9; }\n"]}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{1213:function(e,a,t){"use strict";t.r(a),t.d(a,"default",function(){return P});t(155);var n=t(74),i=t.n(n),c=(t(90),t(26)),o=t.n(c),r=(t(154),t(35)),s=t.n(r),l=(t(41),t(12)),d=t.n(l),p=t(4),u=t(7),m=t(5),y=t(8),f=t(89),g=t(9),h=(t(639),t(640)),b=t.n(h),v=(t(118),t(47)),w=t.n(v),E=t(0),S=t.n(E),x=t(3),_=t(27),k=t(15),j=(t(916),w.a.Item.Brief,b.a.RadioItem),I=[];I=x.b.isWeixin?[{value:1,label:"\u5fae\u4fe1\u652f\u4ed8",icon:"iconweixinzhifu"}]:[{value:1,label:"\u5fae\u4fe1\u652f\u4ed8",icon:"iconweixinzhifu"},{value:0,label:"\u652f\u4ed8\u5b9d",icon:"iconalipay"}];var P=function(e){function a(e){var t;return Object(p.a)(this,a),(t=Object(m.a)(this,Object(y.a)(a).call(this,e))).redirectAfterPay=function(){var e=Object(x.c)("status"),a=Object(x.c)("type"),n=Object(x.c)("oid"),i=t.props.history;if(e||a)if(0===parseInt(e,10))if(2===parseInt(a,10))i.push("/togroup?id=".concat(n));else if(4===parseInt(a,10)){c&&window.localStorage.setItem("payCourse",c);var c=window.localStorage.getItem("payCourse");c&&i.push("/detail?id=".concat(c),{oid:n})}else i.push("/purchased");else d.a.info("\u652f\u4ed8\u5f02\u5e38",2)},t.onChange=function(e){t.setState({payType:e,checkPeriod:!1}),2===e&&t.setState({huabei:!0})},t.checkStaging=function(e){t.setState({huabei:!1,stageNumber:e.value,singleMoney:e.everyTotal,periodNumber:e.stage,checkPeriod:!0})},t.print=function(){for(var e=arguments.length,a=new Array(e),t=0;t<e;t++)a[t]=arguments[t];console.log(a)},t.pay=function(){var e=t.state,a=e.payType,n=e.orderId;0===a?t.alipayPay(n):1===a&&t.weixinPay(n)},t.weixinPay=function(e){Object(x.f)()?window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri="+encodeURIComponent(window.location.href+"&aa=bb").toLowerCase()+"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect":x.d.get("".concat(API["base-api"],"/pay/wxpay/wap_charge/oid/").concat(e)).then(function(e){0===e.data.errno?window.location.href=e.data.data.url+"&redirect_url="+encodeURIComponent(window.location.href+"&weixinpay=1").toLowerCase():d.a.info(e.data.msg,2)})},t.isweixinPay=function(){var e=Object(f.a)(t),a=Object(x.c)("code");if(a){if(void 0===Object(x.c)("oid"))return;x.d.get("".concat(API["base-api"],"/pay/wxpay/pub_charge/oid/").concat(Object(x.c)("oid"),"/code/").concat(a)).then(function(a){if(0===a.data.errno){var t=function(){WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:n.appId,timeStamp:n.timeStamp,nonceStr:n.nonceStr,package:n.package,signType:n.signType,paySign:n.paySign},function(a){"get_brand_wcpay_request:ok"==a.err_msg?(d.a.info("\u652f\u4ed8\u6210\u529f",2),e.intervalPayStatus=setInterval(function(){x.d.get("".concat(API["base-api"],"/m/orderState/oid/").concat(Object(x.c)("oid"))).then(function(a){401===a.data.errno&&(clearInterval(e.intervalPayStatus),e.intervalPayStatus=null,x.d.get("".concat(API["base-api"],"/m/app_order/detail/").concat(Object(x.c)("oid"))).then(function(a){2===Number(a.data.data.course_type)?e.props.history.replace("/togroup?id=".concat(Object(x.c)("oid"))):e.props.history.replace("/purchased")}))})},1e3)):alert("\u652f\u4ed8\u5931\u8d25")})},n=a.data.data;"undefined"==typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",t,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",t),document.attachEvent("onWeixinJSBridgeReady",t)):t()}else d.a.info(a.data.msg,2)})}},t.payCallback=function(){var e=Object(f.a)(t);e.intervalPayStatus=setInterval(function(){x.d.get("".concat(API["base-api"],"/m/orderState/oid/").concat(Object(x.c)("oid"))).then(function(a){401===a.data.errno&&(clearInterval(e.intervalPayStatus),e.intervalPayStatus=null,x.d.get("".concat(API["base-api"],"/m/app_order/detail/").concat(Object(x.c)("oid"))).then(function(a){2===Number(a.data.data.course_type)?e.props.history.replace("/togroup?id=".concat(Object(x.c)("oid"))):e.props.history.replace("/purchased")}))})},1e3)},t.onBridgeReady1=function(e){var a=Object(f.a)(t);e=e||a.BridgeData,WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:"wx23dac6775ac82877",timeStamp:e.timeStamp,nonceStr:e.nonceStr,package:e.package,signType:e.signType,paySign:e.paySign},function(e){"get_brand_wcpay_request:ok"==e.err_msg?(d.a.info("\u652f\u4ed8\u6210\u529f",2),a.payCallback()):alert("\u652f\u4ed8\u5931\u8d25")})},t.alipayPay=function(e){x.d.get("".concat(API["base-api"],"/pay/alipay/wap_charge_new/oid/").concat(e)).then(function(e){0===e.data.errno?(t.payCallback(),window.location=e.data.data.url):d.a.info(e.data.msg,2)})},t.huabeiPay=function(e){var a=t.state,n=(a.singleMoney,a.periodNumber);x.d.get("/pay/alipay/wap_charge/oid/".concat(e,"/plat/{plat} /hb_num/").concat(n)).then(function(e){0===e.data.errno?window.location=e.data.data.url:d.a.info(e.data.msg,2)})},t.state={pay_amount:0,payType:1,stageNumber:0,checkPeriod:!1,singleMoney:0,periodNumber:0,orderId:Object(x.c)("oid"),huabei:!1,fenqiList:[{value:"zhifubao",qishu:"3",lilv:"2.30%",everyMoney:300,feiyong:2.3},{value:"weixin",qishu:"6",lilv:"4.50%",everyMoney:150,feiyong:4.5},{value:"huabei",qishu:"9",lilv:"7.50%",everyMoney:100,feiyong:7.5}],categoryList:[]},t}return Object(g.a)(a,e),Object(u.a)(a,[{key:"componentDidMount",value:function(){var e=this;this.redirectAfterPay();var a={};a=this.props.location.state&&this.props.location.state.group?{order_id:this.state.orderId,type:2}:{order_id:this.state.orderId},x.d.post("".concat(API["base-api"],"/m/order/detail"),a).then(function(a){if(200===a.data.errno){var t=a.data.data,n=t.course,i=t.pay_amount,c=[];[1,2,3].map(function(e){var a={};a.value=e,1===e?(a.stage=3,a.moneyRate="2.30%",a.rate=.023,a.periodic=(i/3).toFixed(2)):2===e?(a.stage=6,a.moneyRate="4.50%",a.rate=.045,a.periodic=(i/6).toFixed(2)):(a.stage=12,a.moneyRate="7.50%",a.rate=.075,a.periodic=(i/9).toFixed(2)),a.serviceFee=(i*a.rate/a.stage).toFixed(2),a.everyTotal=(parseFloat(a.periodic)+parseFloat(a.serviceFee)).toFixed(2),c.push(a)}),e.setState({pay_amount:i,categoryList:n,fenqiList:c})}else d.a.info(a.data.msg,2)}),(1===Object(x.c)("is_class")||Object(x.c)("weixinpay"))&&this.payCallback(),Object(x.f)()&&(this.setState({payType:1}),this.isweixinPay())}},{key:"render",value:function(){var e=this,a=this.state,t=a.orderId,n=a.pay_amount,c=a.payType,r=a.checkPeriod,l=a.singleMoney,d=a.periodNumber,p=a.huabei,u=a.fenqiList,m=a.categoryList,y=a.stageNumber;return S.a.createElement("div",{className:"pay-order"},S.a.createElement(_.e,{title:"\u786e\u8ba4\u652f\u4ed8",arrow:!0}),S.a.createElement(s.a,{size:"sm"}),S.a.createElement("div",{className:"order-number"},S.a.createElement(i.a,null,S.a.createElement(o.a,{justify:"between",align:"center",style:{height:"44px"}},S.a.createElement("span",null,"\u8ba2\u5355\u53f7"),S.a.createElement("span",{className:"number"},t)))),S.a.createElement(s.a,{size:"md"}),m.map(function(a,t){var n=S.a.createElement("div",{className:"order-info"},S.a.createElement("p",{className:"order-title text-overflow-one"},S.a.createElement(k.b,{to:"/detail?id=".concat(a.course_id)},a.course_title)),S.a.createElement("p",{className:"order-content text-overflow-2"},a.simpledescription),S.a.createElement("p",{className:"order-des"},S.a.createElement("span",{className:"order-newprice"},"\xa5",a.price1),S.a.createElement("span",{className:"order-price"},"\xa5",a.price0)));return S.a.createElement(_.j,{handleClick:e.print,key:t,img:a.image_name,id:a.course_id,info:n})}),S.a.createElement(s.a,{size:"md"}),S.a.createElement("div",{className:"order-number"},S.a.createElement(i.a,null,S.a.createElement(o.a,{justify:"between",align:"center",style:{height:"44px"}},S.a.createElement("span",null,"\u652f\u4ed8\u91d1\u989d"),S.a.createElement("span",{className:"money"},"\uffe5".concat(n))))),S.a.createElement(s.a,{size:"md"}),S.a.createElement(w.a,{renderHeader:function(){return"\u652f\u4ed8\u65b9\u5f0f"},className:"pay-type-list"},I.map(function(a){return S.a.createElement(j,{thumb:S.a.createElement("i",{className:"iconfont ".concat(a.icon," ").concat(c===a.value?"checked":"")}),key:a.value,checked:c===a.value,onChange:function(){return e.onChange(a.value)}},2===a.value?S.a.createElement(o.a,{direction:"column",align:"start",style:{width:"100%",marginTop:"6px"}},S.a.createElement(o.a,{direction:"row",justify:"between",style:{width:"100%",paddingRight:"30px"}},S.a.createElement("span",{style:{color:"#555555",fontSize:"14px"}},a.label),r?S.a.createElement("span",{style:{color:"#333333",fontSize:"12px"}},"".concat(l,"\u5143 \xd7 ").concat(d,"\u671f")):null),S.a.createElement(o.a,{justify:"start"},S.a.createElement("span",{style:{color:"#999999",fontSize:"12px"}},"\u652f\u4ed8\u4e0a\u9650\u53d7\u9650\u4e8e\u60a8\u7684\u82b1\u5457\u989d\u5ea6"))):a.label)})),S.a.createElement("div",{className:"pay-tip"},"\u8bf7\u572815\u5206\u949f\u5185\u5b8c\u6210\u652f\u4ed8\uff0c\u5426\u5219\u5c4a\u65f6\u7cfb\u7edf\u5c06\u5173\u95ed\u8be5\u8ba2\u5355\u3002"),S.a.createElement("div",{className:"pay-button",onClick:this.pay},"\u786e\u8ba4\u652f\u4ed8"),p?S.a.createElement("div",{className:"check-staging"},S.a.createElement("div",{className:"container"},S.a.createElement("p",{className:"check-title"},"\u8bf7\u9009\u62e9\u5206\u671f"),u.map(function(a){return S.a.createElement(j,{key:a.value,checked:y===a.value,onChange:function(){return e.checkStaging(a)}},"".concat(a.everyTotal,"\u5143 \xd7 ").concat(a.stage,"\u671f"),S.a.createElement(w.a.Item.Brief,null,"\u624b\u7eed\u8d39".concat(a.serviceFee,"\u5143/\u671f\uff0c\u8d39\u7387").concat(a.moneyRate)))}))):null)}}]),a}(E.Component)},916:function(e,a,t){}}]);
//# sourceMappingURL=PayOrder.21e0b5d0.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/order/payOrder/PayOrder.js"],"names":["RadioItem","antd_mobile_lib_list__WEBPACK_IMPORTED_MODULE_17___default","a","Item","Brief","antd_mobile_lib_radio__WEBPACK_IMPORTED_MODULE_15___default","mockData","browser","isWeixin","value","label","icon","PayOrder","props","_this2","Object","_Users_xzh_dnmp_www_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_8__","this","_Users_xzh_dnmp_www_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_10__","_Users_xzh_dnmp_www_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_11__","call","redirectAfterPay","status","getParam","type","oid","history","parseInt","push","concat","courseId","window","localStorage","setItem","getItem","antd_mobile_lib_toast__WEBPACK_IMPORTED_MODULE_7___default","info","onChange","setState","payType","checkPeriod","huabei","checkStaging","item","stageNumber","singleMoney","everyTotal","periodNumber","stage","print","_len","arguments","length","e","Array","_key","console","log","pay","_this2$state","state","orderId","alipayPay","weixinPay","is_weixin","location","href","encodeURIComponent","toLowerCase","http","get","API","then","res","data","errno","url","msg","isweixinPay","_this","_Users_xzh_dnmp_www_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_12__","weixin_code","undefined","onBridgeReady","WeixinJSBridge","invoke","appId","timeStamp","nonceStr","package","signType","paySign","err_msg","intervalPayStatus","setInterval","clearInterval","Number","course_type","replace","alert","document","addEventListener","attachEvent","payCallback","onBridgeReady1","BridgeData","huabeiPay","_this2$state2","pay_amount","fenqiList","qishu","lilv","everyMoney","feiyong","categoryList","_this3","group","order_id","post","_res$data$data","course","map","obj","moneyRate","rate","periodic","toFixed","serviceFee","parseFloat","_this4","_this$state","react__WEBPACK_IMPORTED_MODULE_18___default","createElement","className","_common_index__WEBPACK_IMPORTED_MODULE_20__","title","arrow","antd_mobile_lib_white_space__WEBPACK_IMPORTED_MODULE_5___default","size","antd_mobile_lib_wing_blank__WEBPACK_IMPORTED_MODULE_1___default","antd_mobile_lib_flex__WEBPACK_IMPORTED_MODULE_3___default","justify","align","style","height","index","Info","react_router_dom__WEBPACK_IMPORTED_MODULE_21__","to","course_id","course_title","simpledescription","price1","price0","handleClick","key","img","image_name","id","renderHeader","i","thumb","checked","direction","width","marginTop","paddingRight","color","fontSize","onClick","Component"],"mappings":"wXAWMA,UAFOC,EAAAC,EAAKC,KACCC,MACDC,EAAAH,EAAMF,WAEpBM,EAAW,GAEXA,EADAC,IAAQC,SACG,CACP,CAACC,MAAO,EAAGC,MAAO,2BAAQC,KAAM,oBAGzB,CACP,CAACF,MAAO,EAAGC,MAAO,2BAAQC,KAAM,mBAChC,CAACF,MAAO,EAAGC,MAAO,qBAAOC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,QAAQ,UACxBE,MAAO,CAACqB,MAAO,OAAQE,aAAc,SACvCnC,EAAAjI,EAAAkI,cAAA,QAAMW,MAAO,CAACwB,MAAO,UAAWC,SAAU,SAAUR,EAAEtJ,OAElD8B,EACI2F,EAAAjI,EAAAkI,cAAA,QAAMW,MAAO,CACTwB,MAAO,UACPC,SAAU,SAFd,GAAA3I,OAGOgB,EAHP,gBAAAhB,OAGyBkB,EAHzB,WAIA,MAGZoF,EAAAjI,EAAAkI,cAAAQ,EAAA1I,EAAA,CAAM2I,QAAQ,SACVV,EAAAjI,EAAAkI,cAAA,QAAMW,MAAO,CAACwB,MAAO,UAAWC,SAAU,SAA1C,oFAGPR,EAAEtJ,UAKvByH,EAAAjI,EAAAkI,cAAA,OAAKC,UAAU,WAAf,gJAEAF,EAAAjI,EAAAkI,cAAA,OAAKC,UAAU,aAAaoC,QAASxJ,KAAKyC,KAA1C,4BAGIjB,EACI0F,EAAAjI,EAAAkI,cAAA,OAAKC,UAAU,iBACXF,EAAAjI,EAAAkI,cAAA,OAAKC,UAAU,aACXF,EAAAjI,EAAAkI,cAAA,KAAGC,UAAU,eAAb,kCACCxB,EAAUY,IAAI,SAAAuC,GAAC,OACZ7B,EAAAjI,EAAAkI,cAACpI,EAAD,CACI2J,IAAKK,EAAEvJ,MACPyJ,QAAStH,IAAgBoH,EAAEvJ,MAC3B4B,SAAU,kBAAM4F,EAAKvF,aAAasH,KAHtC,GAAAnI,OAIQmI,EAAElH,WAJV,gBAAAjB,OAI2BmI,EAAEhH,MAJ7B,UAKImF,EAAAjI,EAAAkI,cAAAnI,EAAAC,EAAMC,KAAKC,MAAX,0BAAAyB,OAAwBmI,EAAEjC,WAA1B,mCAAAlG,OAA6CmI,EAAErC,iBAK/D,aA3Zc+C","file":"mrstatic/js/PayOrder.21e0b5d0.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport { Flex, WingBlank, WhiteSpace, List, Radio, Toast } from 'antd-mobile';\nimport { http, getParam, is_weixin, browser } from '@/utils';\nimport { OrderItem, HeaderBar } from '@/common/index';\nimport { Link } from 'react-router-dom';\nimport './PayOrder.scss';\nimport { VList } from '@/common';\n\n\nconst Item = List.Item;\nconst Brief = Item.Brief;\nconst RadioItem = Radio.RadioItem;\n\nlet mockData = []\nif (browser.isWeixin) {\n mockData = [\n {value: 1, label: '微信支付', icon: 'iconweixinzhifu'}\n ];\n} else {\n mockData = [\n {value: 1, label: '微信支付', icon: 'iconweixinzhifu'},\n {value: 0, label: '支付宝', icon: 'iconalipay'},\n // { value: 2, label: '花呗分期', icon: 'iconhuabei' },\n ];\n}\n\n\nexport default class PayOrder extends Component {\n constructor(props) {\n super(props);\n this.state = {\n pay_amount: 0,\n payType: 1,\n stageNumber: 0,\n checkPeriod: false,\n singleMoney: 0,\n periodNumber: 0,\n orderId: getParam('oid'),\n huabei: false,\n fenqiList: [\n {value: 'zhifubao', qishu: '3', lilv: '2.30%', everyMoney: 300, feiyong: 2.3},\n {value: 'weixin', qishu: '6', lilv: '4.50%', everyMoney: 150, feiyong: 4.5},\n {value: 'huabei', qishu: '9', lilv: '7.50%', everyMoney: 100, feiyong: 7.5},\n ],\n categoryList: [],\n }\n }\n\n // 支付成功后,判断并重定向\n redirectAfterPay = () => {\n // status:0成功,1失败\n const status = getParam('status');\n const type = getParam('type');\n const oid = getParam('oid');\n const {history} = this.props;\n if (status || type) {\n if (parseInt(status, 10) === 0) {\n // type订单类型 0普通订单 1团购 2小团 3砍价 4单集购买 5定金课定金 6定金课尾款\n if (parseInt(type, 10) === 2) {\n history.push(`/togroup?id=${oid}`);\n }else if(parseInt(type, 10) === 4) {\n courseId && window.localStorage.setItem('payCourse', courseId);\n const courseId = window.localStorage.getItem('payCourse')\n courseId && history.push(`/detail?id=${courseId}`,{oid});\n } else {\n history.push('/purchased');\n }\n } else {\n Toast.info('支付异常', 2);\n }\n }\n }\n\n onChange = (value) => {\n this.setState({\n payType: value,\n checkPeriod: false,\n });\n if (value === 2) {\n this.setState({\n huabei: true,\n });\n }\n };\n checkStaging = (item) => {\n // console.log(item);\n this.setState({\n huabei: false,\n stageNumber: item.value,\n singleMoney: item.everyTotal,\n periodNumber: item.stage,\n checkPeriod: true,\n });\n }\n print = (...e) => {\n console.log(e);\n };\n // 确定购买\n pay = () => {\n const {payType, orderId} = this.state;\n if (payType === 0) {\n this.alipayPay(orderId);\n } else if (payType === 1) {\n this.weixinPay(orderId)\n }\n // else { // 花呗分期暂时不做\n // this.huabeiPay(orderId)\n // }\n }\n // 微信支付\n weixinPay = (orderId) => {\n // 微信内部-支付\n if (is_weixin()) {\n window.location.href = \"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=\" + encodeURIComponent(window.location.href + \"&aa=bb\").toLowerCase() + \"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect\";\n // if(window.location.href.indexOf('aa=bb') === -1){\n // localStorage.setItem('a', '第一次');\n // window.location.href = \"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=\" + encodeURIComponent(window.location.href + \"&aa=bb\").toLowerCase() + \"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect\";\n // }\n // if(window.location.href.indexOf('aa=bb') > 0) {\n // localStorage.setItem('a', '多次');\n // let newHref = window.location.href.slice(0, window.location.href.indexOf('aa=bb')-1);\n // window.location.href = \"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=\" + encodeURIComponent(newHref + \"&aa=bb\").toLowerCase() + \"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect\";\n // }\n } else {\n // 微信外部-支付\n http.get(`${API['base-api']}/pay/wxpay/wap_charge/oid/${orderId}`).then((res) => {\n // console.log(res);\n if (res.data.errno === 0) {\n window.location.href = res.data.data.url + \"&redirect_url=\" + encodeURIComponent(window.location.href + \"&weixinpay=1\").toLowerCase();\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n }\n // 微信内部支付\n isweixinPay = () => {\n let _this = this;\n let weixin_code = getParam('code');\n if (weixin_code) {\n if (getParam('oid') === undefined) {\n return\n } else {\n http.get(`${API['base-api']}/pay/wxpay/pub_charge/oid/${getParam('oid')}/code/${weixin_code}`).then((res) => {\n if (res.data.errno === 0) {\n let data = res.data.data;\n\n function onBridgeReady() {\n WeixinJSBridge.invoke(\n 'getBrandWCPayRequest', {\n appId: data.appId, //公众号名称,由商户传入\n timeStamp: data.timeStamp, //时间戳,自1970年以来的秒数\n nonceStr: data.nonceStr, //随机串\n package: data.package,\n signType: data.signType, //微信签名方式:\n paySign: data.paySign //微信签名\n },\n function (res) {\n if (res.err_msg == \"get_brand_wcpay_request:ok\") {\n Toast.info('支付成功', 2);\n _this.intervalPayStatus = setInterval(function () {\n http.get(`${API['base-api']}/m/orderState/oid/${getParam('oid')}`).then(res => {\n if (res.data.errno === 401) {\n clearInterval(_this.intervalPayStatus);\n _this.intervalPayStatus = null;\n // 获取课程类型\n http.get(`${API['base-api']}/m/app_order/detail/${getParam('oid')}`).then(res => {\n if (Number(res.data.data.course_type) === 2) {\n _this.props.history.replace(`/togroup?id=${getParam('oid')}`);\n } else {\n // 跳转到已购课程 /purchased 不需要传递任何参数\n _this.props.history.replace(`/purchased`);\n }\n });\n }\n })\n }, 1000)\n } else {\n alert('支付失败')\n }\n }\n )\n }\n\n if (typeof WeixinJSBridge == \"undefined\") {\n if (document.addEventListener) {\n document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false)\n } else if (document.attachEvent) {\n document.attachEvent('WeixinJSBridgeReady', onBridgeReady);\n document.attachEvent('onWeixinJSBridgeReady', onBridgeReady)\n }\n } else {\n onBridgeReady();\n }\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n }\n }\n // 支付完成之后获取状态\n payCallback = () => {\n const _this = this;\n // 支付回调\n // 定时器轮训获取订单状态\n _this.intervalPayStatus = setInterval(function () {\n http.get(`${API['base-api']}/m/orderState/oid/${getParam('oid')}`).then(res => {\n if (res.data.errno === 401) {\n clearInterval(_this.intervalPayStatus);\n _this.intervalPayStatus = null;\n // 获取课程类型\n http.get(`${API['base-api']}/m/app_order/detail/${getParam('oid')}`).then(res => {\n if (Number(res.data.data.course_type) === 2) {\n _this.props.history.replace(`/togroup?id=${getParam('oid')}`);\n } else {\n // 跳转到已购课程 /purchased 不需要传递任何参数\n _this.props.history.replace(`/purchased`);\n }\n\n });\n }\n })\n }, 1000)\n }\n\n onBridgeReady1 = (data) => {\n let _this = this;\n data = data || _this.BridgeData;\n\n WeixinJSBridge.invoke(\n 'getBrandWCPayRequest', {\n \"appId\": \"wx23dac6775ac82877\", //公众号名称,由商户传入\n \"timeStamp\": data.timeStamp, //时间戳,自1970年以来的秒数\n \"nonceStr\": data.nonceStr, //随机串\n \"package\": data.package,\n \"signType\": data.signType, //微信签名方式:\n \"paySign\": data.paySign //微信签名\n },\n function (res) {\n if (res.err_msg == \"get_brand_wcpay_request:ok\") {\n Toast.info('支付成功', 2);\n _this.payCallback();\n } else {\n alert('支付失败')\n }\n }\n )\n }\n // 支付宝支付\n alipayPay = (orderId) => {\n http.get(`${API['base-api']}/pay/alipay/wap_charge_new/oid/${orderId}`).then((res) => {\n if (res.data.errno === 0) {\n this.payCallback();\n window.location = res.data.data.url;\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n // 花呗分期 暂时不做\n huabeiPay = (orderId) => {\n const {singleMoney, periodNumber} = this.state;\n\n // console.log('花呗分期支付');\n http.get(`/pay/alipay/wap_charge/oid/${orderId}/plat/{plat} /hb_num/${periodNumber}`).then(res => {\n // console.log(res);\n if (res.data.errno === 0) {\n window.location = res.data.data.url;\n } else {\n Toast.info(res.data.msg, 2)\n }\n });\n }\n\n componentDidMount() {\n this.redirectAfterPay()\n let data = {}\n if(this.props.location.state && this.props.location.state.group){\n data = {\n order_id: this.state.orderId,\n type: 2\n }\n } else {\n data = {\n order_id: this.state.orderId,\n }\n }\n http.post(`${API['base-api']}/m/order/detail`,data).then((res) => {\n if (res.data.errno !== 200) {\n Toast.info(res.data.msg, 2);\n return;\n }\n const {course, pay_amount} = res.data.data;\n const fenqiList = [];\n [1, 2, 3].map((item) => {\n let obj = {};\n obj.value = item;\n if (item === 1) {\n obj.stage = 3; //期数\n obj.moneyRate = '2.30%'; // 分期费率展示\n obj.rate = 0.023; // 分期费率计算\n obj.periodic = (pay_amount / 3).toFixed(2); // 每期本金\n } else if (item === 2) {\n obj.stage = 6; //期数\n obj.moneyRate = '4.50%'; // 分期费率展示\n obj.rate = 0.045; // 分期费率计算\n obj.periodic = (pay_amount / 6).toFixed(2); // 每期本金\n } else {\n obj.stage = 12; //期数\n obj.moneyRate = '7.50%'; // 分期费率展示\n obj.rate = 0.075; // 分期费率计算\n obj.periodic = (pay_amount / 9).toFixed(2); // 每期本金\n }\n obj.serviceFee = ((pay_amount * obj.rate) / obj.stage).toFixed(2); // 每期的手续费 = 总金额 * 费率 / 期数\n obj.everyTotal = (parseFloat(obj.periodic) + parseFloat(obj.serviceFee)).toFixed(2);// 每期总费用 = 每期本金 + 每期手续费\n fenqiList.push(obj);\n });\n // console.log(fenqiList);\n // { value: 'zhifubao', qishu: '3', lilv: '2.30%', everyMoney: 300, feiyong: 2.3 },\n // { value: 'weixin', qishu: '6', lilv: '4.50%', everyMoney: 150, feiyong: 4.5 },\n // { value: 'huabei', qishu: '9', lilv: '7.50%', everyMoney: 100, feiyong: 7.5 },\n this.setState({\n pay_amount,\n categoryList: course,\n fenqiList,\n });\n });\n if (getParam('is_class') === 1 || getParam('weixinpay')) {\n this.payCallback()\n }\n if (is_weixin()) {\n this.setState({\n payType: 1\n })\n this.isweixinPay()\n }\n }\n\n render() {\n const {orderId, pay_amount, payType, checkPeriod, singleMoney, periodNumber, huabei, fenqiList, categoryList, stageNumber} = this.state;\n return (\n <div className='pay-order'>\n <HeaderBar title='确认支付' arrow={true}></HeaderBar>\n <WhiteSpace size='sm'></WhiteSpace>\n <div className='order-number'>\n <WingBlank>\n <Flex justify='between' align='center' style={{height: '44px'}}>\n <span>订单号</span>\n <span className='number'>{orderId}</span>\n </Flex>\n </WingBlank>\n </div>\n <WhiteSpace size='md'></WhiteSpace>\n {\n categoryList.map((item, index) => {\n const Info = (\n <div className=\"order-info\">\n <p className='order-title text-overflow-one'>\n <Link to={`/detail?id=${item.course_id}`}>{item.course_title}</Link>\n </p>\n <p className='order-content text-overflow-2'>{item.simpledescription}</p>\n <p className='order-des'>\n <span className='order-newprice'>¥{item.price1}</span>\n <span className='order-price'>¥{item.price0}</span>\n </p>\n </div>\n )\n return (\n <VList handleClick={this.print} key={index} img={item.image_name}\n id={item.course_id}\n info={Info}></VList>\n )\n })\n }\n <WhiteSpace size='md'></WhiteSpace>\n <div className='order-number'>\n <WingBlank>\n <Flex justify='between' align='center' style={{height: '44px'}}>\n <span>支付金额</span>\n <span className='money'>{`¥${pay_amount}`}</span>\n </Flex>\n </WingBlank>\n </div>\n\n <WhiteSpace size='md'></WhiteSpace>\n <List renderHeader={() => '支付方式'} className='pay-type-list'>\n {mockData.map(i => (\n <RadioItem\n thumb={<i className={`iconfont ${i.icon} ${payType === i.value ? 'checked' : ''}`}></i>}\n key={i.value}\n checked={payType === i.value}\n onChange={() => this.onChange(i.value)}>\n {/* {i.label} */}\n {\n i.value === 2 ? (\n <Flex direction='column' align='start' style={{width: '100%', marginTop: '6px'}}>\n <Flex direction='row' justify='between'\n style={{width: '100%', paddingRight: '30px'}}>\n <span style={{color: '#555555', fontSize: '14px'}}>{i.label}</span>\n {\n checkPeriod ? (\n <span style={{\n color: '#333333',\n fontSize: '12px'\n }}>{`${singleMoney}元 × ${periodNumber}期`}</span>\n ) : null\n }\n </Flex>\n <Flex justify='start'>\n <span style={{color: '#999999', fontSize: '12px'}}>支付上限受限于您的花呗额度</span>\n </Flex>\n </Flex>\n ) : (i.label)\n }\n </RadioItem>\n ))}\n </List>\n <div className='pay-tip'>请在15分钟内完成支付,否则届时系统将关闭该订单。</div>\n\n <div className='pay-button' onClick={this.pay}>确认支付</div>\n\n {\n huabei ? (\n <div className='check-staging'>\n <div className='container'>\n <p className='check-title'>请选择分期</p>\n {fenqiList.map(i => (\n <RadioItem\n key={i.value}\n checked={stageNumber === i.value}\n onChange={() => this.checkStaging(i)}>\n {`${i.everyTotal}元 × ${i.stage}期`}\n <List.Item.Brief>{`手续费${i.serviceFee}元/期,费率${i.moneyRate}`}</List.Item.Brief>\n </RadioItem>\n ))}\n </div>\n </div>\n ) : null\n }\n </div>\n )\n }\n}\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{1186:function(e,t,a){},1187:function(e,t,a){},1188:function(e,t,a){},1189:function(e,t,a){},1190:function(e,t,a){},1191:function(e,t,a){},1192:function(e,t,a){},1193:function(e,t,a){},1194:function(e,t,a){},1195:function(e,t,a){},1196:function(e,t,a){},1197:function(e,t,a){},1198:function(e,t,a){},1199:function(e,t,a){},1200:function(e,t,a){},1201:function(e,t,a){},1235:function(e,t,a){"use strict";a.r(t);var n=a(20),s=(a(41),a(12)),c=a.n(s),o=a(4),r=a(7),i=a(5),l=a(8),u=a(9),m=a(0),d=a.n(m),p=a(624),_=a.n(p),h=a(3),b=a(15),f=a(42),v=(a(1186),function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).state={rules:["\u2022\t\u62bd\u5956\u7684\u6b21\u6570\u53ef\u901a\u8fc7\u79ef\u798f\u6c14\u83b7\u5f97\uff0c\u798f\u6c14\u503c\u8d8a\u9ad8\uff0c\u62bd\u5956\u7684\u6b21\u6570\u8d8a\u591a;","\u2022\t\u672c\u6b21\u62bd\u5956\u5f62\u5f0f\u4e3a\u5f00\u5956\u5236\uff0c\u4e0b\u4e00\u65f6\u6bb5\u5f00\u542f\u62bd\u5956\u524d\u4f1a\u516c\u5e03\u4e0a\u4e00\u6b21\u4e2d\u5956\u7ed3\u679c\u53ca\u540d\u5355\uff0c\u53ef\u5173\u6ce8\u201c\u4e03\u6708\u5728\u7ebf\u201d\u670d\u52a1\u53f7\u53ca\u65f6\u83b7\u53d6\u4e2d\u5956\u7ed3\u679c\uff0c\u63d0\u9192\u53c2\u4e0e\u4e0b\u6b21\u62bd\u5956;","\u2022\t\u6bcf\u4e2a\u65f6\u6bb5\u4ec5\u53ef\u4f7f\u7528\u4e00\u6b21\u62bd\u5956\u673a\u4f1a\uff0c\u6bcf\u65e5\u62bd\u5956\u6b21\u6570\u9650\u5f53\u65e5\u7528\uff0c\u62bd\u5956\u6b21\u6570\u4e0d\u7d2f\u52a0\u81f3\u6b21\u65e5;","\u2022\t\u4e2d\u5956\u540e\u8bf7\u53ca\u65f6\u586b\u5199\u90ae\u5bc4\u4fe1\u606f\uff0c\u4e0d\u586b\u5199\u89c6\u4e3a\u4e3b\u52a8\u653e\u5f03\u5956\u54c1\uff1b","\u2022\t\u89e3\u91ca\u6743\u5f52\u5317\u4eac\u4e03\u6708\u5728\u7ebf\u6240\u6709\u3002"]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.state.rules,t=this.props.handleToHide;return d.a.createElement("div",{className:"rule-popup__container"},d.a.createElement("div",{className:"rule-popup"},d.a.createElement("h2",{className:"rule-popup__title"},"\u6d3b\u52a8\u89c4\u5219"),d.a.createElement("ul",{className:"rule-popup__list"},e.map(function(e,t){return d.a.createElement("li",{className:"rule-popup__item",key:t},e)}))),d.a.createElement("i",{className:"iconfont iconiconfront-2",onClick:t}))}}]),t}(m.Component)),E=(a(1187),function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).fetchCourseData=function(){Promise.all([h.d.get("".concat(API.home,"/sys/browse/blessing/courses")),h.d.get("".concat(API.home,"/sys/user/blessing"))]).then(function(e){var t=e[0].data,n=t.code,s=t.data,c=e[1].data.data.today_browsed_courses||[];200===n&&a.setState({courseList:s.map(function(e){return c.some(function(t){return t==e.course_id})?Object.assign({},e,{blessing:2}):e})})})},a.toCourseDetail=function(e){console.log(a.props);var t=a.props,n=t.isLogin,s=t.history,c=t.toLogin;if(n)if(Object(h.c)("version")){var o=0;o=e.blessing?2:1;var r={courseId:e.course_id,type:o};Object(h.a)("toCourse",r)}else s.push("/detail?id=".concat(e.course_id,"&ac=11"));else c()},a.state={courseList:[]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchCourseData()}},{key:"render",value:function(){var e=this,t=this.state.courseList,a=this.props.handleToHide;return d.a.createElement("div",{className:"course-popup__container"},d.a.createElement("div",{className:"course-popup"},d.a.createElement("h2",{className:"course-popup__title"},"\u6307\u5b9a\u8bfe\u7a0b"),d.a.createElement("div",{className:"course-popup__list"},t.map(function(t){return d.a.createElement("span",{className:"course-popup__item",key:t.course_id,onClick:function(){e.toCourseDetail(t)}},d.a.createElement("span",{className:"course-popup__name"},t.course_title),t.blessing&&d.a.createElement("span",null,"+2\u70b9"))}))),d.a.createElement("i",{className:"iconfont iconiconfront-2",onClick:a}))}}]),t}(m.Component)),g=(a(1188),function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).state={recordList:[]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;h.d.get("".concat(API.home,"/sys/ai_test/get_user_testinfo")).then(function(t){var a=t.data,n=a.code,s=a.data.user_test_record;200===n&&e.setState({recordList:s})})}},{key:"render",value:function(){var e=this.state.recordList,t=this.props.handleToHide;return d.a.createElement("div",{className:"record__mark"},d.a.createElement("div",{className:"gift__record"},d.a.createElement("div",{className:"close__button",onClick:t},d.a.createElement("i",{className:"icon iconfont iconiconfront-77"})),d.a.createElement("p",{className:"mark__title"},"\u6d4b\u8bd5\u8bb0\u5f55"),d.a.createElement("p",{className:"mark__tip"},"\u591a\u6b21\u6d4b\u8bd5\u4fdd\u7559\u6700\u9ad8\u5206\uff0c\u53ef\u67e5\u770b\u6700\u8fd1\u4e00\u6b21\u7b54\u9898\u8bb0\u5f55"),d.a.createElement("div",null,d.a.createElement("div",{className:"table__head"},d.a.createElement("span",{className:"tr"},"\u6d4b\u8bd5\u65f6\u95f4"),d.a.createElement("span",{className:"tr"},"\u5206\u6570"),d.a.createElement("span",{className:"tr"},"\u64cd\u4f5c")),d.a.createElement("div",{className:"table__body"},e.map(function(e,t){return d.a.createElement("div",{className:"tr__container",key:t},d.a.createElement("span",{className:"tr"},e.submit_time),d.a.createElement("span",{className:"tr"},e.score),d.a.createElement("span",{className:"tr"},0===t?d.a.createElement("a",{href:"/levelTest/report?id=".concat(e.id)},"\u6d4b\u8bd5\u8bb0\u5f55"):null))})))))}}]),t}(m.Component)),y=a(17),N=a.n(y);a(1189);var j,C=function(e){return function(t){function a(){return Object(o.a)(this,a),Object(i.a)(this,Object(l.a)(a).apply(this,arguments))}return Object(u.a)(a,t),Object(r.a)(a,[{key:"render",value:function(){return d.a.createElement("div",{className:"list-frame"},d.a.createElement("div",{className:"list-frame__content"},d.a.createElement(e,this.props)))}}]),a}(m.Component)},k=(a(1190),function(e){function t(){return Object(o.a)(this,t),Object(i.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.image,a=e.toCourse,n=e.id;return d.a.createElement("div",{className:"course-container"},d.a.createElement("div",{className:"course__cover"},d.a.createElement("img",{src:t,alt:"cover",onClick:function(){return a(n)}})),this.props.children)}}]),t}(m.Component)),O=(a(1191),function(e){function t(){return Object(o.a)(this,t),Object(i.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.text,a=e.size,n=e.styles,s=e.id,c=a?"list-header--".concat(a):"";return d.a.createElement("div",{id:s,className:N()("list-header",c),style:n},d.a.createElement("i",{className:"list-header__decorate","data-position":"left"}),t?d.a.createElement("h2",{className:"list-header__content"},t):this.props.children,d.a.createElement("i",{className:"list-header__decorate","data-position":"right"}))}}]),t}(m.Component)),x=(a(1192),C(function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).fetchAICourse=function(e){var t=a.state,n=t.basic,s=t.advanced,c=t.higher,o=t.expand;h.d.get("".concat(API.home,"/sys/ai_grow_up_courses/").concat(e)).then(function(t){var r=t.data,i=r.code,l=r.data;200===i&&(l.length>4?("one"===e&&a.setState({basic:Object.assign({},n,{isMore:!0,course:l.filter(function(e,t){return t<4}),courseList:l})}),"two"===e&&a.setState({advanced:Object.assign({},s,{isMore:!0,course:l.filter(function(e,t){return t<4}),courseList:l})}),"three"===e&&a.setState({higher:Object.assign({},c,{isMore:!0,course:l.filter(function(e,t){return t<4}),courseList:l})}),"four"===e&&a.setState({expand:Object.assign({},o,{isMore:!0,course:l.filter(function(e,t){return t<4}),courseList:l})})):("one"===e&&a.setState({basic:Object.assign({},n,{isMore:!1,course:l,courseList:l})}),"two"===e&&a.setState({advanced:Object.assign({},s,{isMore:!1,course:l,courseList:l})}),"three"===e&&a.setState({higher:Object.assign({},c,{isMore:!1,course:l,courseList:l})}),"four"===e&&a.setState({expand:Object.assign({},o,{isMore:!1,course:l,courseList:l})})))})},a.fetchCourseData=function(){var e=a.state,t=e.group,n=e.training;h.d.get("".concat(API.home,"/sys/preheat_data")).then(function(e){var s=e.data,c=s.code,o=s.data;200===c&&(o.excellent_course.length>2?a.setState({group:Object.assign({},t,{isMore:!0,course:o.excellent_course.filter(function(e,t){return t<2}),courseList:o.excellent_course})}):a.setState({group:Object.assign({},t,{isMore:!1,course:o.excellent_course,courseList:o.excellent_course})}),o.ai_elite_courses.length>2?a.setState({training:Object.assign({},n,{isMore:!0,course:o.ai_elite_courses.filter(function(e,t){return t<2}),courseList:o.ai_elite_courses})}):a.setState({training:Object.assign({},n,{isMore:!1,course:o.ai_elite_courses,courseList:o.ai_elite_courses})}))})},a.handleToMore=function(e){var t={};a.state[e].isMore?(t[e]={isMore:!a.state[e].isMore,course:a.state[e].courseList,courseList:a.state[e].courseList},a.setState(Object(n.a)({},t))):(t[e]="group"===e||"training"===e?{isMore:!a.state[e].isMore,course:a.state[e].courseList.filter(function(e,t){return t<2}),courseList:a.state[e].courseList}:{isMore:!a.state[e].isMore,course:a.state[e].courseList.filter(function(e,t){return t<4}),courseList:a.state[e].courseList},a.setState(Object(n.a)({},t)))},a.toQQque=function(){Object(h.c)("version")?Object(h.a)("toQQ","https://q.url.cn/AB8aue?_type=wpa&qidian=true"):location.href="https://q.url.cn/AB8aue?_type=wpa&qidian=true"},a.toCourse=function(e){var t=a.props.history;if(Object(h.c)("version")){var n={courseId:e,type:0};Object(h.a)("toCourse",n)}else t.push("/detail?id=".concat(e))},a.state={basic:{course:[],courseList:[],isMore:!1},advanced:{course:[],courseList:[],isMore:!1},higher:{course:[],courseList:[],isMore:!1},expand:{course:[],courseList:[],isMore:!1},group:{course:[],courseList:[],isMore:!1},training:{course:[],courseList:[],isMore:!1}},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchCourseData(),this.fetchAICourse("one"),this.fetchAICourse("two"),this.fetchAICourse("three"),this.fetchAICourse("four")}},{key:"toReceiveCoupon",value:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=this.props,o=s.isLogin,r=s.toLogin;o?h.d.post("".concat(API.home,"/sys/activity/coupon/receive"),{course_id:e}).then(function(s){var o=s.data,r=o.code,i=o.msg;if(200===r){c.a.info("\u9886\u53d6\u6210\u529f\uff5e",2,null,!1);var l={};l[a]={isMore:t.state[a].isMore,course:t.state[a].course.map(function(t){return t.course_id===e?Object.assign({},t,{course_status:2}):t}),courseList:t.state[a].courseList.map(function(t){return t.course_id===e?Object.assign({},t,{course_status:2}):t})},t.setState(Object(n.a)({},l))}else c.a.info(i,2,null,!1)}):r()}},{key:"render",value:function(){var e=this,t=this.props.isFormal,a=this.state,n=a.basic,s=a.advanced,c=a.higher,o=a.expand,r=a.group,i=a.training;return d.a.createElement("div",{className:"boutique-course"},d.a.createElement(O,{text:"\u96c6\u8bad\u8425\u3001\u5c31\u4e1a\u73ed",size:"middle",styles:{margin:"20px 0 15px"}}),r.course&&r.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("div",{"data-layout":"row"},r.course.map(function(t){return d.a.createElement(k,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},d.a.createElement("div",{className:"coupon-course__footer"},d.a.createElement("a",{onClick:function(){return e.toQQque()},className:"course-button"},"\u7acb\u62a2\u8d85\u4f4e\u56e2\u8d2d\u4ef7")))})),r.courseList&&r.courseList.length>2&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("group")}},r.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")),d.a.createElement(O,{text:"AI\u7279\u8bad\u8425",size:"middle",styles:{margin:"0 0 15px"}}),i.course&&i.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("div",{"data-layout":"row"},i.course.map(function(a){return d.a.createElement(k,{image:a.image_name,key:a.course_id,id:a.course_id,toCourse:e.toCourse},d.a.createElement("div",{className:"coupon-course__footer"},1===a.course_status&&d.a.createElement("a",{className:N()("coupon-course__button","coupon-course__button--receive"),onClick:function(){return e.toReceiveCoupon(a.course_id,"training")}},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u7acb\u5373\u9886\u5238")),0===t&&2===a.course_status&&d.a.createElement("a",{className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"11.11\u5f00\u59cb\u4f7f\u7528")),1===t&&2===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u5f00\u59cb\u4f7f\u7528")),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")))})),i.courseList&&i.courseList.length>2&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("training")}},i.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")),d.a.createElement(O,{text:"AI\u6210\u957f\u4e4b\u8def",size:"middle",styles:{margin:"0 0 15px"}}),n.course&&n.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("h4",{className:"ai-course__subtitle"},"\u57fa\u7840"),d.a.createElement("div",{"data-layout":"row"},n.course.map(function(a){return d.a.createElement(k,{image:a.image_name,key:a.course_id,id:a.course_id,toCourse:e.toCourse},0===a.type&&d.a.createElement("div",{className:"coupon-course__footer"},1===a.course_status&&d.a.createElement("a",{className:N()("coupon-course__button","coupon-course__button--receive"),onClick:function(){return e.toReceiveCoupon(a.course_id,"basic")}},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u7acb\u5373\u9886\u5238")),0===t&&2===a.course_status&&d.a.createElement("a",{className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"11.11\u5f00\u59cb\u4f7f\u7528")),1===t&&2===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u5f00\u59cb\u4f7f\u7528")),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")),1===a.type&&d.a.createElement("div",{className:"cent-course__footer"},1===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button"},"1\u5206\u94b1\u5f00\u56e2"),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")))})),n.courseList&&n.courseList.length>4&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("basic")}},n.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")),s.course&&s.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("h4",{className:"ai-course__subtitle"},"\u8fdb\u9636"),d.a.createElement("div",{"data-layout":"row"},s.course.map(function(a){return d.a.createElement(k,{image:a.image_name,key:a.course_id,id:a.course_id,toCourse:e.toCourse},0===a.type&&d.a.createElement("div",{className:"coupon-course__footer"},1===a.course_status&&d.a.createElement("a",{className:N()("coupon-course__button","coupon-course__button--receive"),onClick:function(){return e.toReceiveCoupon(a.course_id,"advanced")}},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u7acb\u5373\u9886\u5238")),0===t&&2===a.course_status&&d.a.createElement("a",{className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"11.11\u5f00\u59cb\u4f7f\u7528")),1===t&&2===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u5f00\u59cb\u4f7f\u7528")),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")),1===a.type&&d.a.createElement("div",{className:"cent-course__footer"},1===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button"},"1\u5206\u94b1\u5f00\u56e2"),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")))})),s.courseList&&s.courseList.length>4&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("advanced")}},s.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")),c.course&&c.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("h4",{className:"ai-course__subtitle"},"\u9ad8\u9636"),d.a.createElement("div",{"data-layout":"row"},c.course.map(function(a){return d.a.createElement(k,{image:a.image_name,key:a.course_id,id:a.course_id,toCourse:e.toCourse},0===a.type&&d.a.createElement("div",{className:"coupon-course__footer"},1===a.course_status&&d.a.createElement("a",{className:N()("coupon-course__button","coupon-course__button--receive"),onClick:function(){return e.toReceiveCoupon(a.course_id,"higher")}},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u7acb\u5373\u9886\u5238")),0===t&&2===a.course_status&&d.a.createElement("a",{className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"11.11\u5f00\u59cb\u4f7f\u7528")),1===t&&2===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u5f00\u59cb\u4f7f\u7528")),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")),1===a.type&&d.a.createElement("div",{className:"cent-course__footer"},1===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button"},"1\u5206\u94b1\u5f00\u56e2"),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")))})),c.courseList&&c.courseList.length>4&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("higher")}},c.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")),o.course&&o.course.length>0&&d.a.createElement(d.a.Fragment,null,d.a.createElement("h4",{className:"ai-course__subtitle"},"\u6269\u5c55"),d.a.createElement("div",{"data-layout":"row"},o.course.map(function(a){return d.a.createElement(k,{image:a.image_name,key:a.course_id,id:a.course_id,toCourse:e.toCourse},0===a.type&&d.a.createElement("div",{className:"coupon-course__footer"},1===a.course_status&&d.a.createElement("a",{className:N()("coupon-course__button","coupon-course__button--receive"),onClick:function(){return e.toReceiveCoupon(a.course_id,"expand")}},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u7acb\u5373\u9886\u5238")),0===t&&2===a.course_status&&d.a.createElement("a",{className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"11.11\u5f00\u59cb\u4f7f\u7528")),1===t&&2===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"coupon-course__button"},d.a.createElement("span",{className:"coupon-course__button-price"},d.a.createElement("em",null,"\xa5",a.coupon),d.a.createElement("i",null,"\u4ee3\u91d1\u5238")),d.a.createElement("span",{className:"coupon-course__button-label"},"\u5f00\u59cb\u4f7f\u7528")),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")),1===a.type&&d.a.createElement("div",{className:"cent-course__footer"},1===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button"},"1\u5206\u94b1\u5f00\u56e2"),3===a.course_status&&d.a.createElement("a",{onClick:function(){return e.toCourse(a.course_id)},className:"course-button","data-type":"study"},"\u5f00\u59cb\u5b66\u4e60")))})),o.courseList&&o.courseList.length>4&&d.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("expand")}},o.isMore?"\u5c55\u5f00\u66f4\u591a":"\u6536\u8d77")))}}]),t}(m.Component))),w=(a(1193),function(e){function t(){return Object(o.a)(this,t),Object(i.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){return d.a.createElement("div",{className:"share__container"},h.b.isWeixin&&d.a.createElement("div",{className:"share__row"},d.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/throw_icon.png"})),d.a.createElement("div",{className:"share__content"},d.a.createElement("p",{className:"share__text"},"\u5206\u4eab\u6d3b\u52a8\u9875\u5230\u670b\u53cb\u5708\u3001qq\u3001\u5fae\u535a\u5206\u522b"),d.a.createElement("div",{className:"share__rule"},d.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/add2.png"}),d.a.createElement("span",null,"\uff08\u6bcf\u4e2a\u5e73\u53f0\u6bcf\u5929\u4e00\u6b21\uff09"))))}}]),t}(m.Component)),L=(a(158),a(91)),S=a.n(L),I=(a(1194),C(function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).fetchActivityPrize=function(){h.d.get("".concat(API.home,"/sys/activity/prize_data")).then(function(e){var t=e.data,n=t.code,s=t.data.list,c=void 0===s?[]:s;200===n&&a.setState({tabs:c.map(function(e){return{title:e.date}}),prizes:c})})},a.state={tabs:[],prizes:[]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchActivityPrize()}},{key:"render",value:function(){var e=this.state,t=e.tabs,a=e.prizes;return d.a.createElement("div",{className:"luck-draw__container"},d.a.createElement(S.a,{tabs:t,tabBarBackgroundColor:"transparent",tabBarUnderlineStyle:{display:"none"}},a.map(function(e,t){var a=e.son;return d.a.createElement("div",{className:"tab__body",key:t},a.map(function(e){return d.a.createElement("div",{key:e.id},d.a.createElement("h2",{className:"prize__label"},d.a.createElement("i",{className:"prize__label-icon"}),d.a.createElement("span",null,e.time)),d.a.createElement("div",{className:"prize__content"},e.data.map(function(t,a){return d.a.createElement("div",{className:"prize__container",key:"".concat(e.id,"-").concat(a)},d.a.createElement("div",{className:"prize__image"},d.a.createElement("img",{src:t.img,alt:"image"})),d.a.createElement("p",{className:"prize__desc"},t.name),d.a.createElement("p",{className:"prize__desc"},"\uff08",t.num,"\u6570\u91cf\uff09"))})))}))})))}}]),t}(m.Component))),T=a(21),A=(a(1195),C(Object(T.b)(function(e){return{uid:e.user.data.uid||""}})(j=function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).qqToShare=function(){var e=a.props,t=e.uid,n=e.history;Object(h.c)("version")?t?Object(h.a)("QQshare",{title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:"https://m.julyedu.com/blessingPreheat",imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}):Object(h.a)("toLogin"):t?(n.push("/blessingPreheat?utm_source=qq&utm_medium=11&utm_campaign=QQ11&utm_content=11&utm_term=11"),a.fetchUserBlessing(3,function(){a.handleToAddBlessing(3)})):n.push("/passport")},a.wechatToShare=function(){var e=a.props,t=e.uid,n=e.history;Object(h.c)("version")?t?Object(h.a)("WXshare",{title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:"https://m.julyedu.com/blessingPreheat",imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}):Object(h.a)("toLogin"):t?(n.push("/blessingPreheat?utm_source=1&utm_medium=1&utm_campaign=11&utm_content=1&utm_term=1"),a.fetchUserBlessing(1,function(){a.handleToAddBlessing(1)})):n.push("/passport")},a.weiboToShare=function(){var e=a.props,t=e.uid,n=e.history;Object(h.c)("version")?t?Object(h.a)("WBshare",{title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:"https://m.julyedu.com/blessingPreheat",imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}):Object(h.a)("toLogin"):t?(n.push("/blessingPreheat?utm_source=sina&utm_medium=11&utm_campaign=sina11&utm_content=1&utm_term=11"),a.fetchUserBlessing(2,function(){a.handleToAddBlessing(2)})):n.push("/passport")},a.handleToAddBlessing=function(e){h.d.post("".concat(API.home,"/sys/add/blessing"),{share_platform:e,type:3}).then(function(e){200===e.data.code&&c.a.info("+2\u70b9\u798f\u6c14\u503c~",2,null,!1)})},a.state={rules:["app/h5/pc\u7aef\u6d3b\u52a8\u9875\u7b7e\u5230+5\u70b9\u798f\u6c14\u503c\uff08\u6bcf\u5929\u4e00\u6b21\uff09","\u5173\u6ce8\u4e03\u6708\u5728\u7ebf\u5fae\u4fe1\u670d\u52a1\u53f7+30\u70b9\u798f\u6c14\u503c\uff08\u4ec5\u9650\u4e00\u6b21\uff09","\u5206\u4eab\u6d3b\u52a8\u9875\u5230\u670b\u53cb\u5708\u3001qq\uff0c\u5206\u522b+2\u70b9\u798f\u6c14\u503c\uff08\u6bcf\u4e2a\u5e73\u53f0\u6bcf\u5929\u4e00\u6b21\uff09","\u6d4f\u89c8\u6307\u5b9a\u8bfe\u7a0b\u8be6\u60c5\u9875\uff0c\u4e00\u95e8\u8bfe\u7a0b+2\u70b9\u798f\u6c14\u503c\uff08\u6bcf\u5929\u4e00\u6b21\uff09","\u9080\u8bf7\u597d\u53cb\u6ce8\u518c\uff0c+10\u70b9\u798f\u6c14\u503c/\u4eba\uff08\u65e0\u4e0a\u9650\uff09","\u6d3b\u52a8\u671f\u95f4\u6bcf\u8d2d\u4e70\u4e00\u95e8\u8bfe\u7a0b+20\u70b9\u798f\u6c14\u503c"],welfareRuleList:[{range:"50~100",rules:[{id:1,text:"1.\u6bcf\u5929\u4e00\u6b21\u62bd\u5956\u673a\u4f1a\uff1b"},{id:2,text:"2.\u4e2d\u5956\u6982\u7387\u7ffb2\u500d",des:"\uff08\u70ed\u529b\u503c\u8d8a\u9ad8\uff0c\u4e2d\u5956\u6982\u7387\u8d8a\u5927\uff09\uff1b"},{id:3,text:"3.\u6ee1111\u51cf11\u3001\u6ee11111\u51cf111\u3002"}]},{range:"101~190",rules:[{id:1,text:"1.\u6bcf\u5929\u4e24\u6b21\u62bd\u5956\u673a\u4f1a\uff1b"},{id:2,text:"2.\u4e2d\u5956\u6982\u7387\u7ffb3\u500d",des:"\uff08\u70ed\u529b\u503c\u8d8a\u9ad8\uff0c\u4e2d\u5956\u6982\u7387\u8d8a\u5927\uff09\uff1b"},{id:3,text:"3.\u6ee1111\u51cf31\u3001\u6ee11111\u51cf211\uff1b"},{id:4,text:"4.AI\u6c34\u5e73\u6d4b\u8bd5\u589e\u52a01\u6b21\u3002"}]},{range:">190",rules:[{id:1,text:"1.\u6bcf\u5929\u4e09\u6b21\u62bd\u5956\u673a\u4f1a\uff1b"},{id:2,text:"2.\u4e2d\u5956\u6982\u7387\u7ffb4\u500d",des:"\uff08\u70ed\u529b\u503c\u8d8a\u9ad8\uff0c\u4e2d\u5956\u6982\u7387\u8d8a\u5927\uff09\uff1b"},{id:3,text:"3.\u6ee1111\u51cf51\u3001\u6ee11111\u51cf411\uff1b"},{id:4,text:"4.AI\u6c34\u5e73\u6d4b\u8bd5\u589e\u52a02\u6b21\u3002"}]}],seconds:5},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"fetchUserBlessing",value:function(e,t){var a=this,n=this.props,s=n.handleToShowShare,o=n.handleToHideShare,r=this.state.seconds;h.d.get("".concat(API.home,"/sys/user/blessing")).then(function(n){var i=n.data,l=i.code,u=i.data;200===l&&(u.today_shared_platforms.some(function(t){return t===e})?c.a.info("\u4eca\u65e5\u5df2\u5206\u4eab\uff0c\u8bb0\u5f97\u660e\u5929\u6765~",2,null,!1):(s(),a.shareTimer=setInterval(function(){a.setState({seconds:--r},function(){0===r&&("function"===typeof t&&t(),o(),clearInterval(a.shareTimer))})},1e3)))})}},{key:"render",value:function(){var e=this,t=this.props,a=t.isSign,n=t.userInfo,s=n.blessingVal,c=void 0===s?0:s,o=n.buyBlessing,r=void 0===o?0:o,i=n.inviteBlessing,l=void 0===i?0:i,u=t.isLogin,m=t.handleToShowNotice,p=t.handleToShowList,_=t.handleToShowInvite,h=(t.handleToShow,t.toLogin),b=t.toSection,f=this.state,v=f.rules,E=f.welfareRuleList;f.seconds;return d.a.createElement("div",{className:"collect-blessing"},u?d.a.createElement(O,{text:"\u6211\u7684\u798f\u6c14\u503c\uff1a ".concat(c,"\u5206"),size:"middle",styles:{margin:"20px 0 0 0"}}):d.a.createElement(O,{size:"middle",styles:{margin:"20px 0 0 0"}},d.a.createElement("span",{className:"text_nologin"},"\u6211\u7684\u798f\u6c14\u503c\uff1a"),d.a.createElement("span",{onClick:h,className:"login__btn"},"\u767b\u5f55")),d.a.createElement("p",{className:"activity__over"},"\u6d3b\u52a8\u7ed3\u675f\u524d\u798f\u6c14\u699c\u524d50\u540d\u53ef\u83b7\u5956\u54c1\u4e00\u4efd"),E.map(function(e,t){return d.a.createElement("div",{className:"rules__item",key:t},d.a.createElement("div",{className:"item__left"},d.a.createElement("div",{className:"tip__bubble"},d.a.createElement("div",{className:"tip__text"},"\u798f\u6c14\u503c"),d.a.createElement("div",{className:"tip__style"})),d.a.createElement("div",{className:"range__number"},e.range)),d.a.createElement("div",{className:"item__right"},e.rules.map(function(e){return d.a.createElement("p",{key:e.id},e.text,d.a.createElement("span",null,e.des))})))}),d.a.createElement(O,{text:"\u798f\u6c14\u503c\u79ef\u6512\u89c4\u5219",size:"middle",styles:{margin:"30px 0 0"}}),v.map(function(t,n){return d.a.createElement("div",{className:"collect-blessing__item",key:n},d.a.createElement("i",{className:"collect-blessing__num"},n+1),d.a.createElement("p",{className:"collect-blessing__title"},t),0===n&&u&&a&&d.a.createElement("a",{className:"collect-blessing__content","data-status":"done"},"+5\u70b9",d.a.createElement("br",null),"\u798f\u6c14\u503c"),0===n&&(!u||!a)&&d.a.createElement("span",{onClick:h,className:"collect-blessing__content"},"\u70b9\u51fb",d.a.createElement("br",null),"\u7b7e\u5230"),1===n&&d.a.createElement("a",{className:"collect-blessing__content",onClick:m},"\u5173\u6ce8",d.a.createElement("br",null),"\u4e8c\u7ef4\u7801"),2===n&&d.a.createElement("div",{className:"collect-blessing__content","data-layout":"column"},d.a.createElement("p",{className:"collect-blessing__label"},"\u53bb\u5206\u4eab"),d.a.createElement("div",{className:"collect-blessing__share"},d.a.createElement("a",{className:"collect-blessing__share-button","data-type":"qq",onClick:e.qqToShare}),d.a.createElement("a",{className:"collect-blessing__share-button","data-type":"wechat",onClick:e.wechatToShare}),d.a.createElement("a",{className:"collect-blessing__share-button","data-type":"weibo",onClick:e.weiboToShare}))),3===n&&d.a.createElement("a",{className:"collect-blessing__content",onClick:p},"\u6d4f\u89c8\u8bfe\u7a0b",d.a.createElement("br",null),"\u8be6\u60c5\u9875"),4===n&&d.a.createElement("a",{className:"collect-blessing__content",onClick:_},d.a.createElement("span",null,"\u9080\u8bf7\u94fe\u63a5"),d.a.createElement("i",null,"\u5df2\u52a0",l,"\u70b9")),5===n&&d.a.createElement("a",{className:"collect-blessing__content",onClick:b},d.a.createElement("span",null,"\u53bb\u9009\u8bfe"),d.a.createElement("i",null,"\u5df2\u52a0",r,"\u70b9")))}))}}]),t}(m.Component))||j)),M=(a(1196),a(49)),P=function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).fetchAICourse=function(){h.d.get("".concat(API.home,"/sys/pre_coursee")).then(function(e){var t=e.data,n=t.code,s=t.data,o=t.msg;200===n?a.setState({courseData:s.filter(function(e,t){return t<4}),courseDataAll:s}):c.a.info(o,2)})},a.expandPaydj=function(e){var t=a.props,n=t.user;t.history;n&&n.data&&n.data.uid?Object(h.c)("version")?Object(h.a)("earnestMoney",e):a.props.history.push("/deposit-order?oid=".concat(e,"&source=",2),{id:e,isexpand:1,sourcenum:2}):Object(h.c)("version")?Object(h.a)("toLogin"):a.props.history.push("/passport/login")},a.expandPaywk=function(e,t){c.a.info("\u4ed8\u5c3e\u6b3e\u65f6\u95f4\u5c06\u5728"+t+"\u5f00\u542f",2)},a.tostudy=function(e){if(Object(h.c)("version")){var t={courseId:e,type:0};Object(h.a)("toCourse",t)}else a.props.history.push("/getDetail?id=".concat(e))},a.showMoreData=function(){a.setState({isShowMore:!a.state.isShowMore,courseData:a.state.isShowMore?a.state.courseDataAll.filter(function(e,t){return t<4}):a.state.courseDataAll})},a.state={courseData:[],isShowMore:!1},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchAICourse()}},{key:"render",value:function(){var e=this.state,t=e.courseData,a=e.isShowMore;return d.a.createElement("div",{className:"reserve-course-module"},d.a.createElement(D,{courseData:t,expandPaydj:this.expandPaydj,expandPaywk:this.expandPaywk,tostudy:this.tostudy}),d.a.createElement("button",{className:"more-button",onClick:this.showMoreData},a?"\u6536\u8d77":"\u5c55\u5f00\u66f4\u591a"))}}]),t}(m.Component);function D(e){var t=e.courseData,a=e.expandPaydj,n=e.expandPaywk,s=e.tostudy;return d.a.createElement("div",{className:"course-list"},d.a.createElement("ul",null,t.map(function(e,t){return d.a.createElement("li",{className:"course-item-box",key:t},d.a.createElement("a",{onClick:function(){return s(e.course_id)}},d.a.createElement("div",{className:"top"},d.a.createElement("div",{className:"square"},d.a.createElement("p",{className:"circular"},"\u5230\u624b\u6700\u4f4e\xa5",d.a.createElement("span",null,Number(e.price)-Number(e.deduction_amount)-Number(e.limit_amount)))),d.a.createElement("img",{className:"course-img",src:e.image_name,alt:""}))),d.a.createElement("p",{className:"count-price"},"=\u539f\u4ef7\xa5",e.price,d.a.createElement("span",null,"-\u62b5\u6263\xa5",d.a.createElement("i",null,e.deduction_amount)),d.a.createElement("span",null,"-\u81a8\u80c0\u5238\xa5",d.a.createElement("i",null,e.limit_amount))),d.a.createElement("div",{className:"btn"},0===e.is_buy&&d.a.createElement("button",{className:"to-expand-buy1",onClick:function(){return a(e.course_id)}},"\u7acb\u5373\u4ed8\u5b9a\u91d1"),1===e.is_buy&&d.a.createElement("button",{className:"to-expand-buy2",onClick:function(){return n(e.course_id,e.final_start_time)}},"\u7acb\u5373\u4ed8\u5c3e\u6b3e"),2===e.is_buy&&d.a.createElement("button",{className:"to-study",onClick:function(){return s(e.course_id)}},"\u5f00\u59cb\u5b66\u4e60")))})))}var U,q=C(Object(T.b)(function(e){return{user:e.user}})(Object(M.g)(P))),R=(a(1197),C(function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).startTest=function(){var e=a.props,t=e.history,n=e.isLogin,s=e.toLogin;n?t.push("/levelTest/testing"):s()},a.state={testNumber:12345,number:1,prizeListUrl:[{url:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/AIExam/top1.png"},{url:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/AIExam/top2.png"},{url:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/AIExam/top3-4.png"},{url:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/AIExam/top5-7.png"},{url:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/AIExam/top8-10.png"}]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.props.isLogin&&h.d.get("".concat(API.home,"/sys/ai_test/get_user_testinfo")).then(function(t){var a=t.data,n=a.code,s=a.data,c=s.user_test_total,o=s.user_residue_number;200===n&&e.setState({testNumber:c,number:o})})}},{key:"render",value:function(){var e=this.state,t=e.testNumber,a=e.number,n=e.prizeListUrl,s=this.props.isLogin;return d.a.createElement(d.a.Fragment,null,d.a.createElement("div",{className:"level__test_module"},d.a.createElement("div",{className:"start__test",onClick:this.startTest},d.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/test_icon.png"}),d.a.createElement("div",{className:"button__text"},d.a.createElement("p",null,"\u70b9\u51fb\u6d4b\u8bd5"),s&&d.a.createElement("span",null,"\uff08\u5269\u4f59",a,"\u6b21\uff09"))),d.a.createElement("div",{className:"test__number"},"\u5df2\u6709",d.a.createElement("span",{className:"number"},t),"\u4eba\u53c2\u52a0\u6d4b\u8bd5"),d.a.createElement("div",{className:"prize__rules"},d.a.createElement("div",{className:"prize__title"},"\u2014 \u6d3b\u52a8\u5956\u54c1 \u2014"),d.a.createElement("div",{className:"prize__list"},n.map(function(e,t){return d.a.createElement("div",{className:"prize__container",key:t},d.a.createElement("img",{src:e.url}))})),d.a.createElement("div",{className:"prize__title"},"\u2014 \u6d3b\u52a8\u89c4\u5219 \u2014"),d.a.createElement("div",{className:"rules__text"},d.a.createElement("p",null,"1. 11\u67085\u65e5\u81f311\u670813\u65e5\u4e4b\u95f4\u6bcf\u4eba\u6709\u4e00\u6b21\u6d4b\u8bd5\u673a\u4f1a\uff0c\u53ef\u901a\u8fc7\u201c\u96c6\u798f\u6c14\u201d\u6d3b\u52a8\u989d\u5916\u83b7\u5f972\u6b21\u6d4b\u8bd5\u673a\u4f1a\uff1b"),d.a.createElement("p",null,"2. \u5355\u6b21\u6d4b\u8bd5\u65f6\u95f4\u4e3a\u4e00\u5c0f\u65f6\uff0c\u8d85\u65f6\u81ea\u52a8\u63d0\u4ea4\u8bd5\u5377\uff1b"),d.a.createElement("p",null,"3. \u8bd5\u5377\u5185\u5bb9\u4e3aPython\u57fa\u7840\uff088\u9053\u9898*3\u5206\uff09\u3001\u673a\u5668\u5b66\u4e60\uff0812\u9053\u9898*3\u5206\uff09\u3001\u6df1\u5ea6\u5b66\u4e60\uff0810\u9053\u9898*4\u5206\uff09\uff0c\u603b\u5206100\u5206\uff1b"),d.a.createElement("p",null,"4. \u65e0\u56fa\u5b9a\u8bd5\u5377\uff0c\u53c2\u4e0e\u6d4b\u8bd5\u65f6\u4ece\u8bd5\u9898\u5e93\u4e2d\u968f\u673a\u62bd\u9898\u7ec4\u5377\uff1b"),d.a.createElement("p",null,"5. \u6392\u884c\u699c\u5b9e\u65f6\u66f4\u65b0\uff0c\u5206\u6570\u76f8\u540c\u5219\u7528\u65f6\u77ed\u8005\u6392\u540d\u66f4\u9ad8\uff0c\u591a\u6b21\u6d4b\u8bd5\u4fdd\u7559\u6700\u9ad8\u5206\uff1b"),d.a.createElement("p",null,"6. \u5982\u53d1\u73b0\u67d0\u8d26\u53f7\u6709\u4f5c\u5f0a\u5acc\u7591\uff0c\u4e03\u6708\u5728\u7ebf\u6709\u6743\u6e05\u7a7a\u8d26\u53f7\u6d4b\u8bd5\u6210\u7ee9\uff1b"),d.a.createElement("p",null,"7. \u6d3b\u52a8\u6700\u7ec8\u89e3\u91ca\u6743\u5f52\u4e03\u6708\u5728\u7ebf\u6240\u6709\u3002")))))}}]),t}(m.Component))),z=(a(1198),function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).formart=function(e){var t,a,n,s=1e3*e;return t="".concat(parseInt(s/36e5)).padStart(2,0),a="".concat(parseInt((s-36e5*t)/6e4)).padStart(2,0),n="".concat(parseInt((s-36e5*t-6e4*a)/1e3)).padStart(2,0),"".concat(a,"'").concat(n,'"')},a.state={rankList:[]},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;h.d.get("".concat(API.home,"/sys/ai_test/ranking/10")).then(function(t){var a=t.data.data;200===t.data.code&&e.setState({rankList:a.rankings})})}},{key:"render",value:function(){var e=this,t=this.state.rankList;return d.a.createElement(d.a.Fragment,null,d.a.createElement(O,{text:"\u6d4b\u8bd5\u6392\u884c\u699c",styles:{margin:"20px 0 10px"},size:"middle"}),d.a.createElement("div",{className:"sort__rules"},"\u4ec5\u663e\u793a\u524d10\u540d"),d.a.createElement("div",{className:"rank__list_module"},d.a.createElement("div",{className:"rank__table_head"},d.a.createElement("div",{className:"table_head table_head__sort"},"\u6392\u540d"),d.a.createElement("div",{className:"table_head table_head__user_info"},"\u7528\u6237"),d.a.createElement("div",{className:"table_head table_head__time"},"\u7528\u65f6"),d.a.createElement("div",{className:"table_head table_head__score"},"\u6210\u7ee9"),d.a.createElement("div",{className:"table_head table_head__prize"},"\u5956\u54c1")),d.a.createElement("div",{className:"rank__table_body"},t.map(function(t,a){return d.a.createElement("div",{className:"table__tr",key:a},d.a.createElement("div",{className:"table__body table_head__sort"},a>2?a+1:null),d.a.createElement("div",{className:"table__body table_head__user_info"},d.a.createElement("img",{className:"user__avatar",src:t.avatar}),d.a.createElement("span",{className:"user__name"},t.user_name)),d.a.createElement("div",{className:"table__body table_head__time"},e.formart(t.cost_time)),d.a.createElement("div",{className:"table__body table_head__score"},t.score),d.a.createElement("div",{className:"table__body table_head__prize"},t.prize))}))))}}]),t}(m.Component)),B=(a(1199),a(27)),F=a(720),H=(a(1200),Object(T.b)(function(e){return{user:e.user}})(U=function(e){function t(){var e,a;Object(o.a)(this,t);for(var n=arguments.length,s=new Array(n),r=0;r<n;r++)s[r]=arguments[r];return(a=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(s)))).state={tabs:[],lives:{},preheatLives:[],visible:!1,qrcode:"",today:"",isApp:Object(h.c)("version")},a.toLiveRoom=function(e){a.state.isApp?Object(h.a)("toLiveRoom",e):window.location.href="".concat(window.location.protocol,"//www.julyedu.com/live/m_room/").concat(e)},a.makeSubscribe=function(e){var t=a.props,n=t.user,s=t.history;n.hasError&&s.push("/passport/login"),h.d.get("".concat(API.home,"/sys/createLiveQrcode/").concat(e)).then(function(e){var t=e.data;200==t.code?_.a.toDataURL(t.data.url,function(e,t){a.setState({qrcode:t,visible:!0})}):c.a.info(t.msg,2,null,!1)})},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;h.d.get("".concat(API.home,"/sys/get_live_info")).then(function(t){var a=t.data;if(200==a.code){var n,s,o=a.data.data_active.reduce(function(e,t){return t.date in e?e[t.date].push(t):e[t.date]=[t],e},{});e.props.isFormal?(n=Object.keys(o).map(function(e){return{title:e}}),s=Object(f.uniqBy)(a.data.data_active,function(e){return e.date}).findIndex(function(e){return e.is_today})):(n=a.data.data_hot.map(function(e){return{title:e.date}}),s=a.data.data_hot.findIndex(function(e){return e.is_today})),e.setState({tabs:n,lives:o,today:s,preheatLives:a.data.data_hot})}else c.a.info(a.msg,2,null,!1)})}},{key:"render",value:function(){var e=this,t=this.state,a=t.tabs,n=t.lives,s=t.visible,c=t.qrcode,o=t.preheatLives,r=t.today;return d.a.createElement("div",{id:"live"},d.a.createElement(B.h,{title:"\u626b\u7801\u5173\u6ce8\u201c\u4e03\u6708\u5728\u7ebf\u201d\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6",visible:s},d.a.createElement("img",{id:"live-qr-code",src:c,alt:""})),d.a.createElement("div",{className:"title"},d.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-left.png",alt:""}),d.a.createElement("span",null,"\u5927\u5496\u76f4\u64ad"),d.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-right.png",alt:""})),d.a.createElement("div",{className:"live-container"},""!==r&&d.a.createElement(S.a,{tabs:a,tabBarBackgroundColor:"transparent",tabBarActiveTextColor:"#5600DF",tabBarInactiveTextColor:"#FFF604",tabBarUnderlineStyle:{display:"none"},initialPage:r},this.props.isFormal?a.map(function(t,a){var s=n[t.title];return d.a.createElement("div",{key:a},s.map(function(t,a){return d.a.createElement(Q,{item:t,key:a,makeSubscribe:e.makeSubscribe})}))}):o.map(function(t,a){return d.a.createElement("div",{key:a},o.map(function(t,a){return d.a.createElement(Q,{key:a,item:t,makeSubscribe:e.makeSubscribe})}))}))))}}]),t}(m.Component))||U);function Q(e){var t=e.item,a=e.makeSubscribe;return d.a.createElement("div",{className:"content"},t.is_teacher?d.a.createElement("div",{className:"tag teacher"},"\u8bb2\u5e08\u5206\u4eab"):d.a.createElement("div",{className:"tag student"},"\u5b66\u5458\u5206\u4eab"),d.a.createElement("div",{className:"person-info"},d.a.createElement("div",{className:"left"},d.a.createElement("img",{src:t.avatar,alt:"\u5934\u50cf",className:"avatar"})),d.a.createElement("div",{className:"right"},d.a.createElement("div",{className:"name"},"\u8bb2\u5e08\uff1a",t.teacher),d.a.createElement("div",{className:"profession"},t.teacher_desc))),d.a.createElement("div",{className:"title"},t.title),d.a.createElement("div",{className:"time"},"\u76f4\u64ad\u65f6\u95f4\uff1a",t.time),d.a.createElement("div",{className:"outline"},d.a.createElement("div",{className:"outline-title"},"\u5185\u5bb9\u5927\u7eb2\uff1a"),d.a.createElement("ul",null,t.content.map(function(e,t){return d.a.createElement("li",{key:t},e)}))),t.on_live?d.a.createElement("button",{className:"on-living",onClick:this.toLiveRoom.bind(this,t.live_id)},"\u6b63\u5728\u76f4\u64ad"):t.is_subscribe?d.a.createElement("button",{className:"subscribed"},"\u5df2\u9884\u7ea6"):d.a.createElement("button",{className:"subscribe",onClick:a.bind(this,t.live_id)},"\u7acb\u5373\u9884\u7ea6"))}var V=Object(M.g)(H),Y=(a(1201),function(e){function t(){var e,a;Object(o.a)(this,t);for(var n=arguments.length,s=new Array(n),c=0;c<n;c++)s[c]=arguments[c];return(a=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(s)))).navTop=183,a.prevY=0,a.state={navs:[{text:"\u79ef\u798f\u6c14",id:"lucky-value"},{text:"\u5e78\u8fd0\u5927\u62bd\u5956",id:"lucky-draw"},{text:"\u9884\u4ed8\u5b9a\u91d1",id:"deposit"},{text:"\u7cbe\u54c1\u7279\u60e0",id:"best-courses"},{text:"AI\u6d4b\u8bd5",id:"ai-test"},{text:"\u5927\u5496\u76f4\u64ad",id:"live"}],index:0},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.toSection,a=e.navs,n=e.index;return d.a.createElement("div",{id:"main-banner"},d.a.createElement("div",{className:"banner"}),d.a.createElement("nav",{id:"main-nav"},d.a.createElement("ul",null,a.map(function(e,a){return d.a.createElement("li",{key:a,className:n===a?"active":""},d.a.createElement("a",{href:"#".concat(e.id),onClick:function(e){return t(a,e)}},e.text))}))))}}]),t}(m.Component)),W=a(37),J=a.n(W),X=a(31),G=a(156),K=a(24),Z=function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).loginInfo=function(e){a.setState({userInfoList:e}),0!==a.state.userInfoList.length&&(a.props.startFetchUser(),a.appLogin())},a.appLogin=function(){var e=Object(G.addDays)(new Date,90);a.state.userInfoList.map(function(t,a){c.a.info(t.version,3),J.a.set("token",t.token,{expires:e,path:"/",domain:"julyedu.com"}),J.a.set("plat",t.plat,{expires:e,path:"/",domain:"julyedu.com"}),J.a.set("uid",t.uid,{expires:e,path:"/",domain:"julyedu.com"}),J.a.set("uname",t.uname,{expires:e,path:"/",domain:"julyedu.com"}),J.a.set("avatar_file",t.avatar_file,{expires:e,path:"/",domain:"julyedu.com"})}),a.props.setCurrentUser(a.transformUser(a.state.userInfoList))},a.transformUser=function(e){var t;return e.map(function(e,a){t={hasError:!1,data:{username:e.uname,avatar:e.avatar_file,token:e.token,uid:e.uid},isFetching:!1}}),t},a.getActiveIndex=function(e,t){for(var a=0,n=e.length;a<n;a++)if(e[a]>t)return a?Math.abs(t-e[a])<Math.abs(t-e[a-1])?a:a-1:a;return e.length-1},a.setInitialNavActiveStatus=function(){new MutationObserver(Object(f.debounce)(function(e,t){var n=a.state.navs.map(function(e){return document.querySelector("#".concat(e.id))});if(n.every(function(e){return e})){var s=n.map(function(e){return e.offsetTop}),c=a.getActiveIndex(s,window.pageYOffset);a.setState({index:c,navsTop:s},function(){a.calcNavActive(),t.disconnect()})}},30)).observe(document.querySelector("#blessing-preheat"),{childList:!0,subtree:!0})},a.initNav=function(e){var t=a.state.navs;e&&a.setState({navs:t.filter(function(e){return"deposit"!==e.id})})},a.fetchMoudleId=function(e){var t=a.state.navs;return Object(f.findIndex)(t,function(t){return t.id===e})},a.handleToSign=function(){h.d.post("".concat(API.home,"/sys/add/blessing"),{type:1}).then(function(e){200===e.data.code&&(a.setState({isSign:!0}),c.a.info("+5\u70b9\u798f\u6c14\u503c~",2,null,!1))})},a.handleToHide=function(e){var t={};t[e]=!1,a.setState(Object(n.a)({},t))},a.handleToShow=function(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&!a.state.isLogin)a.toLogin();else{var t={};t[e]=!0,a.setState(Object(n.a)({},t))}},a.handleToShowInvite=function(){if(a.state.isLogin)if(Object(h.c)("version")){Object(h.a)("toShare",{title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:"https://m.julyedu.com/blessingPreheat",imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"})}else _.a.toDataURL("".concat(API.m,"/invite"),{width:120,height:120,margin:1}).then(function(e){a.setState({inviteUrl:e,inviteVisible:!0})}).catch(function(e){console.error(e)});else a.toLogin()},a.handleToShowNotice=function(){h.d.get("".concat(API["base-api"],"/sys/activity/create_blessing_qrcode")).then(function(e){var t=e.data,n=t.errno,s=t.data;200===n?_.a.toDataURL(s.url,{width:120,height:120,margin:1}).then(function(e){a.setState({isServer:!0,serverUrl:e})}).catch(function(e){console.error(e)}):4030!==n&&4040!==n||a.toLogin()})},a.toLogin=function(){var e=a.props.history;Object(h.c)("version")?Object(h.a)("toLogin"):e.push("/passport")},a.onCopy=function(){c.a.info("\u590d\u5236\u6210\u529f",2,null,!1)},a.toSection=function(e,t){var n=a.state.navs;t.preventDefault();var s=document.querySelector("#".concat(n[e].id)).offsetTop;a.setState({index:e}),window.scrollTo({top:s-60,left:0})},a.calcNavActive=function(){var e,t=a.state,n=t.navs,s=t.index,c=window.scrollY,o=c>a.prevY?"up":"down";e="up"===o?s+1>=n.length?s:s+1:s-1<=0?0:s-1;var r=document.querySelector("#".concat(n[e].id)),i=document.querySelector("#main-nav");if(r){var l=r.offsetTop;c<=a.navTop?i.classList.remove("fixed"):!i.classList.contains("fixed")&&i.classList.add("fixed"),"up"===o?c+30+30>=l&&a.setState({index:e}):c+30+20<=l&&a.setState({index:e}),a.prevY=c}},a.navTop=183,a.prevY=0,a.state={isLogin:!1,userInfoList:[],isRule:!1,isCourse:!1,inviteUrl:"",inviteVisible:!1,joinLotteryVisible:!1,timelineShareVisible:!1,showRecordList:!1,isFormal:!1,isServer:!1,serverUrl:"",shareMark:!1,userInfo:{},isSign:!1,navs:[{text:"\u79ef\u798f\u6c14",id:"lucky-value"},{text:"\u5e78\u8fd0\u5927\u62bd\u5956",id:"lucky-draw"},{text:"\u9884\u4ed8\u5b9a\u91d1",id:"deposit"},{text:"\u7cbe\u54c1\u7279\u60e0",id:"best-courses"},{text:"AI\u6d4b\u8bd5",id:"ai-test"},{text:"\u5927\u5496\u76f4\u64ad",id:"live"}],index:0,userHasError:e.user.hasError},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.fetchUserBlessing(),this.setInitialNavActiveStatus(),window.addEventListener("scroll",Object(f.throttle)(this.calcNavActive,100)),Object(h.f)()&&Object(h.i)({title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:window.location.href,imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}),window.loginInfo=function(t){e.loginInfo(t)},window.getNewData=function(t){e.fetchUserBlessing()}}},{key:"componentDidUpdate",value:function(e,t){var a=this.props.user;if(console.log(this.props.user.hasError,this.state.userHasError),this.props.user.hasError!==this.state.userHasError){var n=a&&a.data&&a.data.uid;this.setState({isLogin:!!n,userHasError:a.hasError})}}},{key:"fetchUserBlessing",value:function(){var e=this;c.a.info("fetchUserBlessing",2);var t=this.state.userInfo;h.d.get("".concat(API.home,"/sys/user/blessing")).then(function(a){var n=a.data,s=n.code,c=n.data;200===s&&(e.setState({isSign:!!c.today_signed,isFormal:c.is_activity,userInfo:Object.assign({},t,{blessingVal:c.user_blessing_value,buyBlessing:c.types_total_blessing_value&&c.types_total_blessing_value.buy_course?c.types_total_blessing_value.buy_course:0,inviteBlessing:c.types_total_blessing_value&&c.types_total_blessing_value.invite?c.types_total_blessing_value.invite:0})}),1===c.is_login&&e.handleToSign(),e.initNav(c.is_activity))})}},{key:"render",value:function(){var e=this,t=this.state,a=t.navs,n=t.userInfo,s=t.isLogin,c=t.isRule,o=t.isCourse,r=t.inviteUrl,i=t.inviteVisible,l=t.isFormal,u=t.isServer,m=t.serverUrl,p=t.isSign,_=t.showRecordList,h=t.shareMark,f=t.index,y=this.props.history;return d.a.createElement("div",{id:"blessing-preheat"},d.a.createElement(Y,{isFormal:l,navs:a,toSection:this.toSection,index:f}),d.a.createElement(O,{id:"lucky-value",text:"\u79ef\u798f\u6c14\uff0c\u4eab\u53d7\u66f4\u591a\u798f\u5229",styles:{margin:"60px 0 15px"}}),d.a.createElement(b.b,{className:"luck-draw__button",to:"/blessingRank"},"\u798f\u6c14\u6392\u884c\u699c>"),d.a.createElement(A,{isSign:p,userInfo:n,isLogin:s,history:this.props.history,toSection:function(t){return e.toSection(e.fetchMoudleId("best-courses"),t)},handleToShowList:function(){return e.handleToShow("isCourse")},handleToShowInvite:this.handleToShowInvite,handleToShowNotice:this.handleToShowNotice,handleToShow:this.handleToShow,toLogin:this.toLogin,handleToShowShare:function(){return e.handleToShow("shareMark")},handleToHideShare:function(){return e.handleToHide("shareMark")}}),d.a.createElement(O,{id:"lucky-draw",text:"\u5e78\u8fd0\u5927\u62bd\u5956",styles:{margin:"30px 0 10px"}}),d.a.createElement("p",{className:"luck-draw__tip"},"- \u5c06\u4e8e11\u670811\u65e510\u70b9\u5f00\u542f -"),d.a.createElement("button",{className:"luck-draw__button",onClick:function(){return e.handleToShow("isRule")}},"\u6d3b\u52a8\u89c4\u5219>"),d.a.createElement(I,null),0===l&&d.a.createElement(d.a.Fragment,null,d.a.createElement(O,{id:"deposit",text:"\u9884\u4ed81\u5143\u5b9a\u91d1\uff0c\u6700\u9ad8\u53ef\u7701100\u5143",styles:{margin:"30px 0 15px"}}),d.a.createElement(q,null)),d.a.createElement(O,{id:"best-courses",text:"\u7cbe\u54c1\u8bfe\u7a0b\u7279\u60e0\u4e13\u533a",styles:{margin:"30px 0 15px"}}),d.a.createElement(x,{isFormal:l,isLogin:s,history:this.props.history,toLogin:this.toLogin}),c&&d.a.createElement(v,{handleToHide:function(){return e.handleToHide("isRule")}}),o&&d.a.createElement(E,{toLogin:this.toLogin,history:y,isLogin:s,handleToHide:function(){return e.handleToHide("isCourse")}}),_&&d.a.createElement(g,{handleToHide:function(){return e.handleToHide("showRecordList")}}),h&&d.a.createElement(w,null),d.a.createElement(B.h,{visible:i,title:"\u626b\u7801\u9080\u8bf7\u597d\u53cb\u6ce8\u518c+10\u70b9\u798f\u6c14\u503c",className:"invite-popup"},d.a.createElement("img",{src:r,alt:"barcode",className:"qr-code"}),d.a.createElement(F.CopyToClipboard,{text:"".concat(API.m,'/invite"'),onCopy:this.onCopy},d.a.createElement("button",null,"\u4e00\u952e\u590d\u5236\u7f51\u5740"))),d.a.createElement(B.h,{visible:u,title:"\u626b\u7801\u5173\u6ce8\u201c\u4e03\u6708\u5728\u7ebf\u201d\u670d\u52a1\u53f7",className:"invite-popup"},d.a.createElement("img",{src:m,alt:"barcode",className:"qr-code"})),d.a.createElement(B.h,{visible:this.state.joinLotteryVisible,title:"\u4f60\u5df2\u6210\u529f\u53c2\u4e0e\u672c\u65f6\u6bb5\u62bd\u5956",className:"join-lottery"},d.a.createElement("div",{className:"text"},d.a.createElement("div",{className:"code"},"\u62bd\u5956\u7801\u4e3a\uff1a99999999"),d.a.createElement("div",{className:"time"},"\u672c\u65f6\u6bb5\u7684\u4e2d\u5956\u7ed3\u679c\u5c06\u5728xx:xx\u516c\u5e03"),d.a.createElement("div",{className:"hint"},"\u4f60\u53ef\u5173\u6ce8\u2018\u4e03\u6708\u5728\u7ebf\u2019\u670d\u52a1\u53f7\u7b2c\u4e00\u65f6\u95f4\u83b7\u5f97\u4e2d\u5956\u4fe1\u606f\u3002"),d.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png",className:"qr-code",alt:""})),d.a.createElement("button",{onClick:function(){e.setState({joinLottery:!1})}},"\u77e5\u9053\u4e86")),d.a.createElement(B.h,{title:"\u5fae\u4fe1\u626b\u7801\u5206\u4eab\u5230\u5fae\u4fe1\u670b\u53cb\u5708",visible:this.state.timelineShareVisible,className:"timeline-share"},d.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png",alt:"",className:"qr-code"})),d.a.createElement(O,{id:"ai-test",text:"\u5168\u56fdAI\u5de5\u7a0b\u5e08\u6c34\u5e73\u6d4b\u8bd5",styles:{margin:"30px 0 15px"}}),d.a.createElement("div",{className:"test__record",onClick:function(){return e.handleToShow("showRecordList",!0)}},"\u6d4b\u8bd5\u8bb0\u5f55>"),d.a.createElement(R,{history:y,isLogin:s,toLogin:this.toLogin}),d.a.createElement(z,null),d.a.createElement(V,{isFormal:l}))}}]),t}(m.Component);t.default=Object(K.d)(Object(T.b)(function(e){return{user:e.user}},{setCurrentUser:X.g,startFetchUser:X.h}))(Z)},720:function(e,t,a){"use strict";var n=a(721).CopyToClipboard;n.CopyToClipboard=n,e.exports=n},721:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},s=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),c=r(a(0)),o=r(a(722));function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(t.CopyToClipboard=function(e){function t(){var e,a,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var s=arguments.length,r=Array(s),l=0;l<s;l++)r[l]=arguments[l];return a=n=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r))),n.onClick=function(e){var t=n.props,a=t.text,s=t.onCopy,r=t.children,i=t.options,l=c.default.Children.only(r),u=(0,o.default)(a,i);s&&s(a,u),l&&l.props&&"function"===typeof l.props.onClick&&l.props.onClick(e)},i(n,a)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,c.default.PureComponent),s(t,[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),a=function(e,t){var a={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n]);return a}(e,["text","onCopy","options","children"]),s=c.default.Children.only(t);return c.default.cloneElement(s,n({},a,{onClick:this.onClick}))}}]),t}()).defaultProps={onCopy:void 0,options:void 0}},722:function(e,t,a){"use strict";var n=a(723),s="Copy to clipboard: #{key}, Enter";e.exports=function(e,t){var a,c,o,r,i,l,u=!1;t||(t={}),a=t.debug||!1;try{if(o=n(),r=document.createRange(),i=document.getSelection(),(l=document.createElement("span")).textContent=e,l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",function(a){a.stopPropagation(),t.format&&(a.preventDefault(),a.clipboardData.clearData(),a.clipboardData.setData(t.format,e))}),document.body.appendChild(l),r.selectNodeContents(l),i.addRange(r),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(m){a&&console.error("unable to copy using execCommand: ",m),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),u=!0}catch(m){a&&console.error("unable to copy using clipboardData: ",m),a&&console.error("falling back to prompt"),c=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:s),window.prompt(c,e)}}finally{i&&("function"==typeof i.removeRange?i.removeRange(r):i.removeAllRanges()),l&&document.body.removeChild(l),o()}return u}},723:function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,a=[],n=0;n<e.rangeCount;n++)a.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||a.forEach(function(t){e.addRange(t)}),t&&t.focus()}}}}]);
//# sourceMappingURL=blessing-preheat.6dff43d3.chunk.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{1210:function(e,t,a){"use strict";a.r(t);a(41);var n,r=a(12),o=a.n(r),s=a(4),i=a(7),l=a(5),c=a(8),u=a(9),p=(a(256),a(92)),d=a.n(p),m=a(0),h=a.n(m),f=(a(913),a(27)),v=a(160),g=a(3),b=a(15),y=a(62),E=a(632),L=a.n(E),w=a(42),_=(a(73),a(21)),N=d.a.alert,P=Object(_.b)()(n=function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(l.a)(this,Object(c.a)(t).call(this,e))).page=1,a.getMore=Object(w.debounce)(function(){a.state.data.length%10===0&&a.getList(++a.page)},200),a.getList=function(){g.d.get("".concat(API.home,"/m/my/orders/").concat(a.page,"/10")).then(function(e){200===e.data.code?a.setState({data:a.state.data.concat(e.data.data),isLoading:!1}):o.a.info(e.data.msg,2)})},a.cancel=function(e){N("\u786e\u8ba4\u53d6\u6d88\u8ba2\u5355\uff1f","\u8ba2\u5355\u53d6\u6d88\u540e\uff0c\u4f18\u60e0\u5238\u548c\u62b5\u6263\u7684\u4f59\u989d\u4f1a\u8fd4\u56de\u5230\u60a8\u7684\u8d26\u6237\u3002",[{text:"\u53d6\u6d88",onPress:function(){return console.log("cancel")}},{text:"\u786e\u8ba4",onPress:function(){var t={order_id:e};g.d.post("".concat(API.home,"/m/cancel_order"),t).then(function(e){200===e.data.code?location.reload():o.a.info(e.data.msg,2)})}}])},a.toCourseDetail=function(e){var t=a.props;t.dispatch;return t.history.push("/detail?id=".concat(e)),!1},a.state={data:[],pageNum:1,isLoading:!0,total:0},a}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.getList(this.page)}},{key:"render",value:function(){var e=this;return h.a.createElement("div",{className:"myorders-box"},h.a.createElement(f.e,{title:"\u6211\u7684\u8ba2\u5355",arrow:!0,cart:!1}),h.a.createElement(y.a,{isLoading:this.state.isLoading},this.state.data&&"[{}]"!==JSON.stringify(this.state.data)?h.a.createElement(L.a,{pageStart:0,hasMore:!0,loadMore:this.getMore.bind(this),useWindow:!0},this.state.data.map(function(t,a){return h.a.createElement("div",{className:"order-body",key:a},h.a.createElement(S,{item:t}),t.course&&t.course.length>0&&t.course.map(function(t,a){var n=h.a.createElement("div",{className:"order-info"},h.a.createElement("p",{className:"order-title text-overflow-one",onClick:function(){return e.toCourseDetail(t.course_id)}},t.course_title),h.a.createElement("p",{className:"order-content text-overflow-2"},t.description),h.a.createElement("p",{className:"order-des"},h.a.createElement("span",{className:"order-newprice"},"\xa5",t.amount),h.a.createElement("span",{className:"order-price"},"\xa5",t.price0)));return h.a.createElement("div",{className:"order-wrap",key:a},h.a.createElement(v.a,{info:n,src:t.image_name,isSign:t.is_aist,id:t.course_id,toDetail:e.toCourseDetail}))}),h.a.createElement(O,{item:t,cancel:e.cancel}),5==t.type&&0==t.is_buy&&h.a.createElement("div",{className:"expand-pay-wk"},h.a.createElement("span",{className:"expand-pay-time"},t.final_end_time,"\u7ed3\u675f\u4ed8\u5c3e\u6b3e"),h.a.createElement("span",null,"\u8fd8\u9700\u652f\u4ed8\u5c3e\u6b3e")))})," "):h.a.createElement("div",{className:"cart-tip"},h.a.createElement("p",{className:"cart-mess"},"\u60a8\u8fd8\u6ca1\u6709\u8ba2\u5355\u54e6\uff0c\u5feb\u53bb\u901b\u901b\u5427~"),h.a.createElement(b.b,{to:"/classify"},"\u53bb\u901b\u901b"))))}}]),t}(m.Component))||n;function S(e){var t;return t="0"===e.item.pay_time&&0===e.item.member_num?h.a.createElement("span",{className:"oid-status"},"\u7b49\u5f85\u652f\u4ed8"):e.item.pdd_info&&e.item.member_num===e.item.pdd_info.length&&0!==e.item.member_num?h.a.createElement("span",{className:"oid-success"},"\u62fc\u56e2\u6210\u529f"):h.a.createElement("span",{className:"oid-success"},"\u652f\u4ed8\u6210\u529f"),h.a.createElement("div",{className:"order-head"},h.a.createElement("span",{className:"oid-num"},"\u8ba2\u5355\u53f7\uff1a",e.item.oid),t)}function O(e){var t="";return 5==e.item.type&&(t="\uff08\u5b9a\u91d1\uff09"),6==e.item.type&&(t="\uff08\u5c3e\u6b3e\uff09"),h.a.createElement("div",{className:"order-btm"},h.a.createElement("div",{className:"price-info"},h.a.createElement("p",null,h.a.createElement("span",{className:"payable"},"\u5e94\u4ed8",t,"\uff1a"),h.a.createElement("span",{className:"price"},"\xa5",e.item.pay_amount)),h.a.createElement("p",null,h.a.createElement("span",{className:"payable"},"\u5df2\u4f18\u60e0\uff1a"),h.a.createElement("span",{className:"price"},"\xa5",e.item.discount))),"0"===e.item.pay_time&&0===e.item.member_num&&h.a.createElement("div",{className:"btm-right"},h.a.createElement("button",{className:"cancel",onClick:function(t){return e.cancel(e.item.oid)}},"\u53d6\u6d88\u8ba2\u5355"),h.a.createElement(b.b,{to:"/payorder?oid=".concat(e.item.oid)},"\u53bb\u652f\u4ed8")),0!==e.item.member_num&&h.a.createElement("div",{className:"btm-right"},h.a.createElement("div",{className:"group"},e.item.pdd_info&&e.item.pdd_info.length>0&&e.item.pdd_info.map(function(e,t){return h.a.createElement("img",{src:""===e.user_avatar?"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-spreadtrain8/ellipsis.png":e.user_avatar,key:t,alt:""})}))))}t.default=P},632:function(e,t,a){e.exports=a(664)},664:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),r=a(0),o=i(r),s=i(a(2));function i(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.scrollListener=a.scrollListener.bind(a),a.eventListenerOptions=a.eventListenerOptions.bind(a),a.mousewheelListener=a.mousewheelListener.bind(a),a}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,r.Component),n(t,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var e=this.getParentElement(this.scrollComponent);e.scrollTop=e.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var e=!1,t={get passive(){e=!0}};try{document.addEventListener("test",null,t),document.removeEventListener("test",null,t)}catch(a){}return e}},{key:"eventListenerOptions",value:function(){var e=this.props.useCapture;return this.isPassiveSupported()&&(e={useCapture:this.props.useCapture,passive:!0}),e}},{key:"setDefaultLoader",value:function(e){this.defaultLoader=e}},{key:"detachMousewheelListener",value:function(){var e=window;!1===this.props.useWindow&&(e=this.scrollComponent.parentNode),e.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var e=window;!1===this.props.useWindow&&(e=this.getParentElement(this.scrollComponent)),e.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),e.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(e){var t=this.props.getScrollParent&&this.props.getScrollParent();return null!=t?t:e&&e.parentNode}},{key:"filterProps",value:function(e){return e}},{key:"attachScrollListener",value:function(){var e=this.getParentElement(this.scrollComponent);if(this.props.hasMore&&e){var t=window;!1===this.props.useWindow&&(t=e),t.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),t.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),t.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(e){1!==e.deltaY||this.isPassiveSupported()||e.preventDefault()}},{key:"scrollListener",value:function(){var e=this.scrollComponent,t=window,a=this.getParentElement(e),n=void 0;if(this.props.useWindow){var r=document.documentElement||document.body.parentNode||document.body,o=void 0!==t.pageYOffset?t.pageYOffset:r.scrollTop;n=this.props.isReverse?o:this.calculateOffset(e,o)}else n=this.props.isReverse?a.scrollTop:e.scrollHeight-a.scrollTop-a.clientHeight;n<Number(this.props.threshold)&&e&&null!==e.offsetParent&&(this.detachScrollListener(),this.beforeScrollHeight=a.scrollHeight,this.beforeScrollTop=a.scrollTop,"function"===typeof this.props.loadMore&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(e,t){return e?this.calculateTopPosition(e)+(e.offsetHeight-t-window.innerHeight):0}},{key:"calculateTopPosition",value:function(e){return e?e.offsetTop+this.calculateTopPosition(e.offsetParent):0}},{key:"render",value:function(){var e=this,t=this.filterProps(this.props),a=t.children,n=t.element,r=t.hasMore,s=(t.initialLoad,t.isReverse),i=t.loader,l=(t.loadMore,t.pageStart,t.ref),c=(t.threshold,t.useCapture,t.useWindow,t.getScrollParent,function(e,t){var a={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n]);return a}(t,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]));c.ref=function(t){e.scrollComponent=t,l&&l(t)};var u=[a];return r&&(i?s?u.unshift(i):u.push(i):this.defaultLoader&&(s?u.unshift(this.defaultLoader):u.push(this.defaultLoader))),o.default.createElement(n,c,u)}}]),t}();l.propTypes={children:s.default.node.isRequired,element:s.default.node,hasMore:s.default.bool,initialLoad:s.default.bool,isReverse:s.default.bool,loader:s.default.node,loadMore:s.default.func.isRequired,pageStart:s.default.number,ref:s.default.func,getScrollParent:s.default.func,threshold:s.default.number,useCapture:s.default.bool,useWindow:s.default.bool},l.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},t.default=l,e.exports=t.default},913:function(e,t,a){}}]);
//# sourceMappingURL=myorders.5b24e8bb.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/myOrders/index.js","../node_modules/react-infinite-scroller/index.js","../node_modules/react-infinite-scroller/dist/InfiniteScroll.js"],"names":["alert","antd_mobile_lib_modal__WEBPACK_IMPORTED_MODULE_8___default","a","MyOrders","connect","props","_this","Object","_Users_xzh_dnmp_www_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__","this","_Users_xzh_dnmp_www_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__","_Users_xzh_dnmp_www_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__","call","page","getMore","debounce","state","data","length","getList","http","get","concat","API","home","then","res","code","setState","isLoading","antd_mobile_lib_toast__WEBPACK_IMPORTED_MODULE_1___default","info","msg","cancel","oid","text","onPress","console","log","order_id","post","location","reload","toCourseDetail","id","_this$props","dispatch","history","push","pageNum","total","_this2","react__WEBPACK_IMPORTED_MODULE_9___default","createElement","className","_common__WEBPACK_IMPORTED_MODULE_11__","title","arrow","cart","_common_Loading__WEBPACK_IMPORTED_MODULE_15__","JSON","stringify","react_infinite_scroller__WEBPACK_IMPORTED_MODULE_16___default","pageStart","hasMore","loadMore","bind","useWindow","map","item","index","key","OrderInfo","course","Info","onClick","course_id","course_title","description","amount","price0","_common_OrderList__WEBPACK_IMPORTED_MODULE_12__","src","image_name","isSign","is_aist","toDetail","PayInfo","type","is_buy","final_end_time","react_router_dom__WEBPACK_IMPORTED_MODULE_14__","to","Component","btn","pay_time","member_num","pdd_info","pay_amount","discount","event","user_avatar","alt","module","exports","__webpack_require__","defineProperty","value","_createClass","defineProperties","target","i","descriptor","enumerable","configurable","writable","Constructor","protoProps","staticProps","prototype","_react","_react2","_interopRequireDefault","_propTypes2","obj","__esModule","default","InfiniteScroll","_Component","instance","TypeError","_classCallCheck","self","ReferenceError","_possibleConstructorReturn","__proto__","getPrototypeOf","scrollListener","eventListenerOptions","mousewheelListener","subClass","superClass","create","constructor","setPrototypeOf","_inherits","pageLoaded","options","attachScrollListener","isReverse","parentElement","getParentElement","scrollComponent","scrollTop","scrollHeight","beforeScrollHeight","beforeScrollTop","detachScrollListener","detachMousewheelListener","passive","testOptions","document","addEventListener","removeEventListener","e","useCapture","isPassiveSupported","loader","defaultLoader","scrollEl","window","parentNode","el","scrollParent","getScrollParent","initialLoad","deltaY","preventDefault","offset","doc","documentElement","body","undefined","pageYOffset","calculateOffset","clientHeight","Number","threshold","offsetParent","calculateTopPosition","offsetHeight","innerHeight","offsetTop","renderProps","filterProps","children","element","ref","keys","indexOf","hasOwnProperty","_objectWithoutProperties","node","childrenArray","unshift","propTypes","isRequired","bool","func","number","defaultProps"],"mappings":"wSAaMA,EAAQC,EAAAC,EAAMF,MAGdG,EADLC,4BAIG,SAAAD,EAAYE,GAAO,IAAAC,EAAA,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAN,IACfG,EAAAC,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAJ,GAAAS,KAAAH,KAAMJ,KAHVQ,KAAO,EAEYP,EAcnBQ,QAAUC,mBAAS,WACXT,EAAKU,MAAMC,KAAKC,OAAS,KAAO,GAChCZ,EAAKa,UAAUb,EAAKO,OAEzB,KAlBgBP,EAqBnBa,QAAU,WACNC,IAAKC,IAAL,GAAAC,OAAYC,IAAIC,KAAhB,iBAAAF,OAAoChB,EAAKO,KAAzC,QAAqDY,KAAK,SAACC,GACjC,MAAlBA,EAAIT,KAAKU,KACTrB,EAAKsB,SAAS,CACVX,KAAMX,EAAKU,MAAMC,KAAKK,OAAOI,EAAIT,KAAKA,MACtCY,WAAW,IAGfC,EAAA5B,EAAM6B,KAAKL,EAAIT,KAAKe,IAAK,MA7BlB1B,EAoCnB2B,OAAS,SAACC,GACNlC,EAAM,6CAAW,mJAA4B,CACzC,CAACmC,KAAM,eAAMC,QAAS,kBAAMC,QAAQC,IAAI,YACxC,CACIH,KAAM,eACNC,QAAS,WACL,IAAInB,EAAO,CACPsB,SAAUL,GAEdd,IAAKoB,KAAL,GAAAlB,OAAaC,IAAIC,KAAjB,mBAAwCP,GAAMQ,KAAK,SAACC,GAC1B,MAAlBA,EAAIT,KAAKU,KACTc,SAASC,SAETZ,EAAA5B,EAAM6B,KAAKL,EAAIT,KAAKe,IAA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,MAEAtE,EAAAsB,QAAAC,EACAxB,EAAAC,UAAA","file":"mrstatic/js/myorders.5b24e8bb.chunk.js","sourcesContent":["import React, {Component} from 'react'\nimport './index.scss'\nimport {HeaderBar} from '../../common'\nimport OrderList from '@/common/OrderList'\nimport {http} from \"@/utils\"\nimport {Link} from 'react-router-dom'\nimport {Modal, Toast} from 'antd-mobile'\nimport Loading from '@/common/Loading'\nimport InfiniteScroll from 'react-infinite-scroller'\nimport {debounce} from 'lodash'\nimport {getCourses} from './../detail/actions';\nimport {connect} from 'react-redux';\n\nconst alert = Modal.alert\n\n@connect()\nclass MyOrders extends Component {\n page = 1\n\n constructor(props) {\n super(props)\n this.state = {\n data: [],\n pageNum: 1,\n isLoading: true,\n total: 0,\n }\n }\n\n componentDidMount() {\n this.getList(this.page)\n }\n\n getMore = debounce(() => {\n if (this.state.data.length % 10 === 0) {\n this.getList(++this.page)\n }\n }, 200)\n\n // 获取订单\n getList = () => {\n http.get(`${API.home}/m/my/orders/${this.page}/10`,).then((res) => {\n if (res.data.code === 200) {\n this.setState({\n data: this.state.data.concat(res.data.data),\n isLoading: false\n })\n } else {\n Toast.info(res.data.msg, 2);\n }\n })\n\n }\n\n // 取消订单\n cancel = (oid) => {\n alert('确认取消订单?', '订单取消后,优惠券和抵扣的余额会返回到您的账户。', [\n {text: '取消', onPress: () => console.log('cancel')},\n {\n text: '确认',\n onPress: () => {\n let data = {\n order_id: oid\n }\n http.post(`${API.home}/m/cancel_order`, data).then((res) => {\n if (res.data.code === 200) {\n location.reload();\n } else {\n Toast.info(res.data.msg, 2);\n }\n })\n }\n }\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\n render() {\n return (\n <div className='myorders-box'>\n <HeaderBar title='我的订单' arrow={true} cart={false}></HeaderBar>\n <Loading isLoading={this.state.isLoading}>\n {\n this.state.data && JSON.stringify(this.state.data) !== '[{}]' ?\n <InfiniteScroll\n pageStart={0}\n hasMore={true}\n loadMore={this.getMore.bind(this)}\n useWindow={true}\n >\n {\n this.state.data.map((item, index) => {\n return (\n <div className=\"order-body\" key={index}>\n <OrderInfo item={item}/>\n {\n item.course && item.course.length > 0 && item.course.map((item, index) => {\n const Info = (\n <div className=\"order-info\">\n <p className='order-title text-overflow-one'\n onClick={() => this.toCourseDetail(item.course_id)}>\n {item.course_title}\n </p>\n <p className='order-content text-overflow-2'>{item.description}</p>\n <p className='order-des'>\n <span\n className='order-newprice'>¥{item.amount}</span>\n <span\n className='order-price'>¥{item.price0}</span>\n </p>\n </div>\n )\n return (\n <div className=\"order-wrap\" key={index}>\n <OrderList\n info={Info}\n src={item.image_name}\n isSign={item.is_aist}\n id={item.course_id}\n toDetail={this.toCourseDetail}\n />\n </div>\n )\n })\n }\n\n <PayInfo item={item} cancel={this.cancel}/>\n\n {\n item.type == 5 && item.is_buy == 0 &&\n <div className={'expand-pay-wk'}>\n <span className={'expand-pay-time'}>{item.final_end_time}结束付尾款</span>\n <span>还需支付尾款</span>\n </div>\n }\n </div>\n )\n })\n } </InfiniteScroll> : <div className=\"cart-tip\">\n <p className='cart-mess'>您还没有订单哦,快去逛逛吧~</p>\n <Link to='/classify'>去逛逛</Link>\n </div>\n }\n\n </Loading>\n </div>\n )\n }\n}\n\n\nfunction OrderInfo(props) {\n let btn\n if (props.item.pay_time === '0' && props.item.member_num === 0) {\n btn = <span className='oid-status'>等待支付</span>\n } else if (props.item.pdd_info && (props.item.member_num === props.item.pdd_info.length) && props.item.member_num !== 0) {\n btn = <span className='oid-success'>拼团成功</span>\n } else {\n btn = <span className='oid-success'>支付成功</span>\n }\n return (\n <div className='order-head'>\n <span className='oid-num'>订单号:{props.item.oid}</span>\n {btn}\n </div>\n )\n}\n\nfunction PayInfo(props) {\n // type 0普通订单 1团购 2小团 3砍价 4单集购买 5定金课定金 6定金课尾款\n let type = ''\n\n if (props.item.type == 5) {\n type = '(定金)'\n }\n if (props.item.type == 6) {\n type = '(尾款)'\n }\n return (\n <div className='order-btm'>\n <div className='price-info'>\n <p>\n <span className='payable'>应付{type}:</span>\n <span className='price'>¥{props.item.pay_amount}</span>\n </p>\n <p>\n <span className='payable'>已优惠:</span>\n <span className='price'>¥{props.item.discount}</span>\n </p>\n </div>\n\n {\n props.item.pay_time === '0' && props.item.member_num === 0 &&\n <div className='btm-right'>\n <button className='cancel' onClick={event => props.cancel(props.item.oid)}>取消订单</button>\n <Link to={`/payorder?oid=${props.item.oid}`}>去支付</Link>\n </div>\n }\n\n {\n props.item.member_num !== 0 &&\n <div className='btm-right'>\n <div className=\"group\">\n {\n props.item.pdd_info && props.item.pdd_info.length > 0 && props.item.pdd_info.map((item, index) => {\n return (\n <img\n src={item.user_avatar === '' ? 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-spreadtrain8/ellipsis.png' : item.user_avatar}\n key={index} alt=\"\"/>\n )\n })\n }\n </div>\n </div>\n }\n </div>\n )\n}\n\nexport default MyOrders\n","module.exports = require('./dist/InfiniteScroll');","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nfunction _objectWithoutProperties(obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nvar InfiniteScroll = function (_Component) {\n _inherits(InfiniteScroll, _Component);\n\n function InfiniteScroll(props) {\n _classCallCheck(this, InfiniteScroll);\n\n var _this = _possibleConstructorReturn(this, (InfiniteScroll.__proto__ || Object.getPrototypeOf(InfiniteScroll)).call(this, props));\n\n _this.scrollListener = _this.scrollListener.bind(_this);\n _this.eventListenerOptions = _this.eventListenerOptions.bind(_this);\n _this.mousewheelListener = _this.mousewheelListener.bind(_this);\n return _this;\n }\n\n _createClass(InfiniteScroll, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n this.pageLoaded = this.props.pageStart;\n this.options = this.eventListenerOptions();\n this.attachScrollListener();\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate() {\n if (this.props.isReverse && this.loadMore) {\n var parentElement = this.getParentElement(this.scrollComponent);\n parentElement.scrollTop = parentElement.scrollHeight - this.beforeScrollHeight + this.beforeScrollTop;\n this.loadMore = false;\n }\n\n this.attachScrollListener();\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.detachScrollListener();\n this.detachMousewheelListener();\n }\n }, {\n key: 'isPassiveSupported',\n value: function isPassiveSupported() {\n var passive = false;\n var testOptions = {\n get passive() {\n passive = true;\n }\n\n };\n\n try {\n document.addEventListener('test', null, testOptions);\n document.removeEventListener('test', null, testOptions);\n } catch (e) {// ignore\n }\n\n return passive;\n }\n }, {\n key: 'eventListenerOptions',\n value: function eventListenerOptions() {\n var options = this.props.useCapture;\n\n if (this.isPassiveSupported()) {\n options = {\n useCapture: this.props.useCapture,\n passive: true\n };\n }\n\n return options;\n } // Set a defaut loader for all your `InfiniteScroll` components\n\n }, {\n key: 'setDefaultLoader',\n value: function setDefaultLoader(loader) {\n this.defaultLoader = loader;\n }\n }, {\n key: 'detachMousewheelListener',\n value: function detachMousewheelListener() {\n var scrollEl = window;\n\n if (this.props.useWindow === false) {\n scrollEl = this.scrollComponent.parentNode;\n }\n\n scrollEl.removeEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture);\n }\n }, {\n key: 'detachScrollListener',\n value: function detachScrollListener() {\n var scrollEl = window;\n\n if (this.props.useWindow === false) {\n scrollEl = this.getParentElement(this.scrollComponent);\n }\n\n scrollEl.removeEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture);\n scrollEl.removeEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture);\n }\n }, {\n key: 'getParentElement',\n value: function getParentElement(el) {\n var scrollParent = this.props.getScrollParent && this.props.getScrollParent();\n\n if (scrollParent != null) {\n return scrollParent;\n }\n\n return el && el.parentNode;\n }\n }, {\n key: 'filterProps',\n value: function filterProps(props) {\n return props;\n }\n }, {\n key: 'attachScrollListener',\n value: function attachScrollListener() {\n var parentElement = this.getParentElement(this.scrollComponent);\n\n if (!this.props.hasMore || !parentElement) {\n return;\n }\n\n var scrollEl = window;\n\n if (this.props.useWindow === false) {\n scrollEl = parentElement;\n }\n\n scrollEl.addEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture);\n scrollEl.addEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture);\n scrollEl.addEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture);\n\n if (this.props.initialLoad) {\n this.scrollListener();\n }\n }\n }, {\n key: 'mousewheelListener',\n value: function mousewheelListener(e) {\n // Prevents Chrome hangups\n // See: https://stackoverflow.com/questions/47524205/random-high-content-download-time-in-chrome/47684257#47684257\n if (e.deltaY === 1 && !this.isPassiveSupported()) {\n e.preventDefault();\n }\n }\n }, {\n key: 'scrollListener',\n value: function scrollListener() {\n var el = this.scrollComponent;\n var scrollEl = window;\n var parentNode = this.getParentElement(el);\n var offset = void 0;\n\n if (this.props.useWindow) {\n var doc = document.documentElement || document.body.parentNode || document.body;\n var scrollTop = scrollEl.pageYOffset !== undefined ? scrollEl.pageYOffset : doc.scrollTop;\n\n if (this.props.isReverse) {\n offset = scrollTop;\n } else {\n offset = this.calculateOffset(el, scrollTop);\n }\n } else if (this.props.isReverse) {\n offset = parentNode.scrollTop;\n } else {\n offset = el.scrollHeight - parentNode.scrollTop - parentNode.clientHeight;\n } // Here we make sure the element is visible as well as checking the offset\n\n\n if (offset < Number(this.props.threshold) && el && el.offsetParent !== null) {\n this.detachScrollListener();\n this.beforeScrollHeight = parentNode.scrollHeight;\n this.beforeScrollTop = parentNode.scrollTop; // Call loadMore after detachScrollListener to allow for non-async loadMore functions\n\n if (typeof this.props.loadMore === 'function') {\n this.props.loadMore(this.pageLoaded += 1);\n this.loadMore = true;\n }\n }\n }\n }, {\n key: 'calculateOffset',\n value: function calculateOffset(el, scrollTop) {\n if (!el) {\n return 0;\n }\n\n return this.calculateTopPosition(el) + (el.offsetHeight - scrollTop - window.innerHeight);\n }\n }, {\n key: 'calculateTopPosition',\n value: function calculateTopPosition(el) {\n if (!el) {\n return 0;\n }\n\n return el.offsetTop + this.calculateTopPosition(el.offsetParent);\n }\n }, {\n key: 'render',\n value: function render() {\n var _this2 = this;\n\n var renderProps = this.filterProps(this.props);\n\n var children = renderProps.children,\n element = renderProps.element,\n hasMore = renderProps.hasMore,\n initialLoad = renderProps.initialLoad,\n isReverse = renderProps.isReverse,\n loader = renderProps.loader,\n loadMore = renderProps.loadMore,\n pageStart = renderProps.pageStart,\n ref = renderProps.ref,\n threshold = renderProps.threshold,\n useCapture = renderProps.useCapture,\n useWindow = renderProps.useWindow,\n getScrollParent = renderProps.getScrollParent,\n props = _objectWithoutProperties(renderProps, ['children', 'element', 'hasMore', 'initialLoad', 'isReverse', 'loader', 'loadMore', 'pageStart', 'ref', 'threshold', 'useCapture', 'useWindow', 'getScrollParent']);\n\n props.ref = function (node) {\n _this2.scrollComponent = node;\n\n if (ref) {\n ref(node);\n }\n };\n\n var childrenArray = [children];\n\n if (hasMore) {\n if (loader) {\n isReverse ? childrenArray.unshift(loader) : childrenArray.push(loader);\n } else if (this.defaultLoader) {\n isReverse ? childrenArray.unshift(this.defaultLoader) : childrenArray.push(this.defaultLoader);\n }\n }\n\n return _react2.default.createElement(element, props, childrenArray);\n }\n }]);\n\n return InfiniteScroll;\n}(_react.Component);\n\nInfiniteScroll.propTypes = {\n children: _propTypes2.default.node.isRequired,\n element: _propTypes2.default.node,\n hasMore: _propTypes2.default.bool,\n initialLoad: _propTypes2.default.bool,\n isReverse: _propTypes2.default.bool,\n loader: _propTypes2.default.node,\n loadMore: _propTypes2.default.func.isRequired,\n pageStart: _propTypes2.default.number,\n ref: _propTypes2.default.func,\n getScrollParent: _propTypes2.default.func,\n threshold: _propTypes2.default.number,\n useCapture: _propTypes2.default.bool,\n useWindow: _propTypes2.default.bool\n};\nInfiniteScroll.defaultProps = {\n element: 'div',\n hasMore: false,\n initialLoad: true,\n pageStart: 0,\n ref: null,\n threshold: 250,\n useWindow: true,\n isReverse: false,\n useCapture: false,\n loader: null,\n getScrollParent: null\n};\nexports.default = InfiniteScroll;\nmodule.exports = exports['default'];"],"sourceRoot":""}
\ No newline at end of file
!function(e){function r(r){for(var a,n,i=r[0],c=r[1],d=r[2],s=0,l=[];s<i.length;s++)n=i[s],o[n]&&l.push(o[n][0]),o[n]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(u&&u(r);l.length;)l.shift()();return f.push.apply(f,d||[]),t()}function t(){for(var e,r=0;r<f.length;r++){for(var t=f[r],a=!0,n=1;n<t.length;n++){var c=t[n];0!==o[c]&&(a=!1)}a&&(f.splice(r--,1),e=i(i.s=t[0]))}return e}var a={},n={30:0},o={30:0},f=[];function i(r){if(a[r])return a[r].exports;var t=a[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[];n[e]?r.push(n[e]):0!==n[e]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,12:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,27:1,28:1,29:1,31:1,32:1,33:1,34:1,35:1,37:1,38:1,39:1,40:1,41:1,42:1}[e]&&r.push(n[e]=new Promise(function(r,t){for(var a="mrstatic/css/"+({3:"Activity",4:"BargainMiddlePage",5:"Classify",6:"Country",7:"CourseList",8:"DrawDocument",9:"Examination",10:"Invite",11:"MyEdit",12:"Order",13:"Orderinfo",14:"PayOrder",15:"Preferential",16:"SearchResult",17:"ShareCourse",18:"ShopCart",19:"aist-share",20:"blessing-preheat",21:"blessing-rank",22:"coupons",23:"deposit-order",24:"deposit-pay-order",25:"detail",27:"myorders",28:"prize-winner-list",29:"purchased",31:"search",32:"shareposter",33:"study",34:"togroup",35:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"bf839917",3:"fa2c419d",4:"eb686c74",5:"fb4bedde",6:"2d34330b",7:"afc8902e",8:"aeb3f822",9:"7bb0622b",10:"fa2c419d",11:"31d6cfe0",12:"8c058a7a",13:"31d6cfe0",14:"7eb7d317",15:"0c91fa43",16:"cdf852c1",17:"8046fb41",18:"92ab48a3",19:"40873df0",20:"3ea8b615",21:"edf00bf8",22:"466858c7",23:"5ea077aa",24:"09ce6fd5",25:"c31f1b41",27:"494a90ad",28:"7ff5ff63",29:"bb758677",31:"5716d9b3",32:"76774ba4",33:"bf6b9b43",34:"f08bc5f3",35:"1c1131c9",37:"c76b300d",38:"bff100af",39:"820320a6",40:"35e22f8c",41:"76fe3935",42:"b02d1de6"}[e]+".chunk.css",o=i.p+a,f=document.getElementsByTagName("link"),c=0;c<f.length;c++){var d=(u=f[c]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(d===a||d===o))return r()}var s=document.getElementsByTagName("style");for(c=0;c<s.length;c++){var u;if((d=(u=s[c]).getAttribute("data-href"))===a||d===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var a=r&&r.target&&r.target.src||o,f=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");f.request=a,delete n[e],l.parentNode.removeChild(l),t(f)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){n[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var a=new Promise(function(r,a){t=o[e]=[r,a]});r.push(t[2]=a);var f,c=document.createElement("script");c.charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.src=function(e){return i.p+"mrstatic/js/"+({3:"Activity",4:"BargainMiddlePage",5:"Classify",6:"Country",7:"CourseList",8:"DrawDocument",9:"Examination",10:"Invite",11:"MyEdit",12:"Order",13:"Orderinfo",14:"PayOrder",15:"Preferential",16:"SearchResult",17:"ShareCourse",18:"ShopCart",19:"aist-share",20:"blessing-preheat",21:"blessing-rank",22:"coupons",23:"deposit-order",24:"deposit-pay-order",25:"detail",27:"myorders",28:"prize-winner-list",29:"purchased",31:"search",32:"shareposter",33:"study",34:"togroup",35:"video"}[e]||e)+"."+{0:"19bf510b",1:"1ae9bc37",2:"f02a0573",3:"73c8f0a9",4:"7dc150ca",5:"87e5a787",6:"b77d0054",7:"55b9cd02",8:"7376b4ea",9:"ef054c07",10:"1ca5eb03",11:"fea133fd",12:"40f1e2cd",13:"57e0641d",14:"21e0b5d0",15:"a868f51f",16:"c6a31aa7",17:"a1843d18",18:"5bce9778",19:"3a04b022",20:"6dff43d3",21:"9beb2e6a",22:"7e9d8a64",23:"3386f2f1",24:"77f90737",25:"34640f52",27:"5b24e8bb",28:"44109093",29:"a38723f4",31:"589ab26a",32:"bc3debb9",33:"7bbf8730",34:"59f6d7fd",35:"ee79f0c1",37:"60ac9e86",38:"6484232f",39:"abfd1e74",40:"f027a2bf",41:"0620caf1",42:"7d3b7120"}[e]+".chunk.js"}(e),f=function(r){c.onerror=c.onload=null,clearTimeout(d);var t=o[e];if(0!==t){if(t){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src,f=new Error("Loading chunk "+e+" failed.\n("+a+": "+n+")");f.type=a,f.request=n,t[1](f)}o[e]=void 0}};var d=setTimeout(function(){f({type:"timeout",target:c})},12e4);c.onerror=c.onload=f,document.head.appendChild(c)}return Promise.all(r)},i.m=e,i.c=a,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)i.d(t,a,function(r){return e[r]}.bind(null,a));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var c=window.webpackJsonp=window.webpackJsonp||[],d=c.push.bind(c);c.push=r,c=c.slice();for(var s=0;s<c.length;s++)r(c[s]);var u=d;t()}([]);
//# sourceMappingURL=runtime~main.867a9d58.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","30","exports","module","l","e","promises","2","3","4","5","6","7","8","9","10","12","14","15","16","17","18","19","20","21","22","23","24","25","27","28","29","31","32","33","34","35","37","38","39","40","41","42","Promise","resolve","reject","href","11","13","0","1","fullhref","p","existingLinkTags","document","getElementsByTagName","dataHref","tag","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","parentNode","removeChild","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","jsonpScriptSrc","clearTimeout","chunk","errorType","realSrc","error","undefined","setTimeout","head","all","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,EAAA,GACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAKA,IAFAe,KAAAhB,GAEAO,EAAAC,QACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,GAAA,IAGAe,IAEA,SAAAA,IAEA,IADA,IAAAC,EACAf,EAAA,EAAiBA,EAAAY,EAAAV,O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IAGtDvH,EAAAuD,EAAA,IAGAvD,EAAAwH,GAAA,SAAA/C,GAA8D,MAApBgD,QAAA7B,MAAAnB,GAAoBA,GAE9D,IAAAiD,EAAAC,OAAA,aAAAA,OAAA,iBACAC,EAAAF,EAAA3I,KAAAqI,KAAAM,GACAA,EAAA3I,KAAAX,EACAsJ,IAAAG,QACA,QAAAlJ,EAAA,EAAgBA,EAAA+I,EAAA7I,OAAuBF,IAAAP,EAAAsJ,EAAA/I,IACvC,IAAAU,EAAAuI,EAIAnI","file":"mrstatic/js/runtime~main.867a9d58.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\t30: 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\t30: 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/\" + ({\"3\":\"Activity\",\"4\":\"BargainMiddlePage\",\"5\":\"Classify\",\"6\":\"Country\",\"7\":\"CourseList\",\"8\":\"DrawDocument\",\"9\":\"Examination\",\"10\":\"Invite\",\"11\":\"MyEdit\",\"12\":\"Order\",\"13\":\"Orderinfo\",\"14\":\"PayOrder\",\"15\":\"Preferential\",\"16\":\"SearchResult\",\"17\":\"ShareCourse\",\"18\":\"ShopCart\",\"19\":\"aist-share\",\"20\":\"blessing-preheat\",\"21\":\"blessing-rank\",\"22\":\"coupons\",\"23\":\"deposit-order\",\"24\":\"deposit-pay-order\",\"25\":\"detail\",\"27\":\"myorders\",\"28\":\"prize-winner-list\",\"29\":\"purchased\",\"31\":\"search\",\"32\":\"shareposter\",\"33\":\"study\",\"34\":\"togroup\",\"35\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"19bf510b\",\"1\":\"1ae9bc37\",\"2\":\"f02a0573\",\"3\":\"73c8f0a9\",\"4\":\"7dc150ca\",\"5\":\"87e5a787\",\"6\":\"b77d0054\",\"7\":\"55b9cd02\",\"8\":\"7376b4ea\",\"9\":\"ef054c07\",\"10\":\"1ca5eb03\",\"11\":\"fea133fd\",\"12\":\"40f1e2cd\",\"13\":\"57e0641d\",\"14\":\"21e0b5d0\",\"15\":\"a868f51f\",\"16\":\"c6a31aa7\",\"17\":\"a1843d18\",\"18\":\"5bce9778\",\"19\":\"3a04b022\",\"20\":\"6dff43d3\",\"21\":\"9beb2e6a\",\"22\":\"7e9d8a64\",\"23\":\"3386f2f1\",\"24\":\"77f90737\",\"25\":\"34640f52\",\"27\":\"5b24e8bb\",\"28\":\"44109093\",\"29\":\"a38723f4\",\"31\":\"589ab26a\",\"32\":\"bc3debb9\",\"33\":\"7bbf8730\",\"34\":\"59f6d7fd\",\"35\":\"ee79f0c1\",\"37\":\"60ac9e86\",\"38\":\"6484232f\",\"39\":\"abfd1e74\",\"40\":\"f027a2bf\",\"41\":\"0620caf1\",\"42\":\"7d3b7120\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"2\":1,\"3\":1,\"4\":1,\"5\":1,\"6\":1,\"7\":1,\"8\":1,\"9\":1,\"10\":1,\"12\":1,\"14\":1,\"15\":1,\"16\":1,\"17\":1,\"18\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"25\":1,\"27\":1,\"28\":1,\"29\":1,\"31\":1,\"32\":1,\"33\":1,\"34\":1,\"35\":1,\"37\":1,\"38\":1,\"39\":1,\"40\":1,\"41\":1,\"42\":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/\" + ({\"3\":\"Activity\",\"4\":\"BargainMiddlePage\",\"5\":\"Classify\",\"6\":\"Country\",\"7\":\"CourseList\",\"8\":\"DrawDocument\",\"9\":\"Examination\",\"10\":\"Invite\",\"11\":\"MyEdit\",\"12\":\"Order\",\"13\":\"Orderinfo\",\"14\":\"PayOrder\",\"15\":\"Preferential\",\"16\":\"SearchResult\",\"17\":\"ShareCourse\",\"18\":\"ShopCart\",\"19\":\"aist-share\",\"20\":\"blessing-preheat\",\"21\":\"blessing-rank\",\"22\":\"coupons\",\"23\":\"deposit-order\",\"24\":\"deposit-pay-order\",\"25\":\"detail\",\"27\":\"myorders\",\"28\":\"prize-winner-list\",\"29\":\"purchased\",\"31\":\"search\",\"32\":\"shareposter\",\"33\":\"study\",\"34\":\"togroup\",\"35\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"31d6cfe0\",\"2\":\"bf839917\",\"3\":\"fa2c419d\",\"4\":\"eb686c74\",\"5\":\"fb4bedde\",\"6\":\"2d34330b\",\"7\":\"afc8902e\",\"8\":\"aeb3f822\",\"9\":\"7bb0622b\",\"10\":\"fa2c419d\",\"11\":\"31d6cfe0\",\"12\":\"8c058a7a\",\"13\":\"31d6cfe0\",\"14\":\"7eb7d317\",\"15\":\"0c91fa43\",\"16\":\"cdf852c1\",\"17\":\"8046fb41\",\"18\":\"92ab48a3\",\"19\":\"40873df0\",\"20\":\"3ea8b615\",\"21\":\"edf00bf8\",\"22\":\"466858c7\",\"23\":\"5ea077aa\",\"24\":\"09ce6fd5\",\"25\":\"c31f1b41\",\"27\":\"494a90ad\",\"28\":\"7ff5ff63\",\"29\":\"bb758677\",\"31\":\"5716d9b3\",\"32\":\"76774ba4\",\"33\":\"bf6b9b43\",\"34\":\"f08bc5f3\",\"35\":\"1c1131c9\",\"37\":\"c76b300d\",\"38\":\"bff100af\",\"39\":\"820320a6\",\"40\":\"35e22f8c\",\"41\":\"76fe3935\",\"42\":\"b02d1de6\"}[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
self.__precacheManifest = [
{
"revision": "fa702540a50d0ba48633",
"url": "/mrstatic/js/detail.34640f52.chunk.js"
},
{
"revision": "0d0c2a16f890e2cf5ea4",
"url": "/mrstatic/js/0.19bf510b.chunk.js"
},
{
"revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae",
"url": "/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png"
},
{
"revision": "2f4c0166bab9162a59c5",
"url": "/mrstatic/js/2.f02a0573.chunk.js"
},
{
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
},
{
"revision": "f8b11e0088ed6e17f173",
"url": "/mrstatic/js/Activity.73c8f0a9.chunk.js"
},
{
"revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
},
{
"revision": "9a7afeee0f7f7550064e",
"url": "/mrstatic/js/BargainMiddlePage.7dc150ca.chunk.js"
},
{
"revision": "79139f6aad350256e151f9f73c226348",
"url": "/mrstatic/media/hb_bj.79139f6a.png"
},
{
"revision": "4ddb3897daff9e3f9610",
"url": "/mrstatic/js/Classify.87e5a787.chunk.js"
},
{
"revision": "80011994e30adf599e5f47fcc81bc06d",
"url": "/mrstatic/media/progress-share-bg.80011994.png"
},
{
"revision": "ebbf0e9886674f135916",
"url": "/mrstatic/js/Country.b77d0054.chunk.js"
},
{
"revision": "aabea19d606855b69b08cd3143360f55",
"url": "/mrstatic/media/banner.aabea19d.png"
},
{
"revision": "14dd81d0ca5c69ab39e6",
"url": "/mrstatic/js/CourseList.55b9cd02.chunk.js"
},
{
"revision": "c0a4d06213585e17fbffc0900ba68a38",
"url": "/mrstatic/media/dalibao_bj.c0a4d062.png"
},
{
"revision": "408e28f4b1f50f95d662",
"url": "/mrstatic/js/DrawDocument.7376b4ea.chunk.js"
},
{
"revision": "81a489ac63f2f2df5ab412e0782bd54c",
"url": "/mrstatic/media/kanjia_cg_icon.81a489ac.png"
},
{
"revision": "59dc6b42ede0020ffb37",
"url": "/mrstatic/js/Examination.ef054c07.chunk.js"
},
{
"revision": "b9b072e1116fd1830cc8f425dc163a6b",
"url": "/mrstatic/media/iconfont.b9b072e1.svg"
},
{
"revision": "31997bae536a23719030",
"url": "/mrstatic/js/Invite.1ca5eb03.chunk.js"
},
{
"revision": "c61c2fc33541328dd540",
"url": "/mrstatic/js/MyEdit.fea133fd.chunk.js"
},
{
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
},
{
"revision": "a28bdbb65926824a31b2",
"url": "/mrstatic/js/Order.40f1e2cd.chunk.js"
},
{
"revision": "caf5fd9cdea04cc985d2",
"url": "/mrstatic/js/Orderinfo.57e0641d.chunk.js"
},
{
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
},
{
"revision": "17e2d9973e72bb3206ae",
"url": "/mrstatic/js/PayOrder.21e0b5d0.chunk.js"
},
{
"revision": "e0655d4da66dce391e6b5227b400e037",
"url": "/mrstatic/media/iconfont.e0655d4d.woff"
},
{
"revision": "6d954105bc07954283a2",
"url": "/mrstatic/js/Preferential.a868f51f.chunk.js"
},
{
"revision": "063a1e67293a953a18ad",
"url": "/mrstatic/js/42.7d3b7120.chunk.js"
},
{
"revision": "ff9b861701a785ace216",
"url": "/mrstatic/js/SearchResult.c6a31aa7.chunk.js"
},
{
"revision": "d32a83028db13d3f7b90",
"url": "/mrstatic/js/41.0620caf1.chunk.js"
},
{
"revision": "6ea20973c395a2beb2dd",
"url": "/mrstatic/js/ShareCourse.a1843d18.chunk.js"
},
{
"revision": "3eccbf92a14ba3da6aa0",
"url": "/mrstatic/js/40.f027a2bf.chunk.js"
},
{
"revision": "9e27b54c456bb2a0444f",
"url": "/mrstatic/js/ShopCart.5bce9778.chunk.js"
},
{
"revision": "97c315fa0d51e7539ad9",
"url": "/mrstatic/js/39.abfd1e74.chunk.js"
},
{
"revision": "670fff0724ac13d7d7e0",
"url": "/mrstatic/js/aist-share.3a04b022.chunk.js"
},
{
"revision": "a814e234093462cffb75",
"url": "/mrstatic/js/38.6484232f.chunk.js"
},
{
"revision": "dfdbc575880c062a3a79",
"url": "/mrstatic/js/blessing-preheat.6dff43d3.chunk.js"
},
{
"revision": "ce643559cbe26713d628",
"url": "/mrstatic/js/37.60ac9e86.chunk.js"
},
{
"revision": "68015e247626d6c641b2",
"url": "/mrstatic/js/blessing-rank.9beb2e6a.chunk.js"
},
{
"revision": "2e5eb3c3e7811b5d6be8",
"url": "/mrstatic/js/36.be086e62.chunk.js"
},
{
"revision": "14a29ebf367f22327808",
"url": "/mrstatic/js/coupons.7e9d8a64.chunk.js"
},
{
"revision": "380bfd4ec90c28d03f1b",
"url": "/mrstatic/js/video.ee79f0c1.chunk.js"
},
{
"revision": "85d7bdf68a1cd0ca73e4",
"url": "/mrstatic/js/deposit-order.3386f2f1.chunk.js"
},
{
"revision": "fec8f6cc3a21b415bd2e",
"url": "/mrstatic/js/togroup.59f6d7fd.chunk.js"
},
{
"revision": "ebedb6059a85dd8d1f31",
"url": "/mrstatic/js/deposit-pay-order.77f90737.chunk.js"
},
{
"revision": "2e00ac117692e177d817",
"url": "/mrstatic/js/study.7bbf8730.chunk.js"
},
{
"revision": "0494ffc24c79e325ab58",
"url": "/mrstatic/js/1.1ae9bc37.chunk.js"
},
{
"revision": "d35220fc1f833d81bdb0",
"url": "/mrstatic/js/shareposter.bc3debb9.chunk.js"
},
{
"revision": "2f35198047ffa9a2f863",
"url": "/mrstatic/js/main.2b14c8b9.chunk.js"
},
{
"revision": "137ceebdec9f801afd6c",
"url": "/mrstatic/js/search.589ab26a.chunk.js"
},
{
"revision": "3d9dd8e8732c2b017b64",
"url": "/mrstatic/js/myorders.5b24e8bb.chunk.js"
},
{
"revision": "6230249f57b7cc4a91dc",
"url": "/mrstatic/js/runtime~main.867a9d58.js"
},
{
"revision": "480dec355e65b21ce336",
"url": "/mrstatic/js/prize-winner-list.44109093.chunk.js"
},
{
"revision": "cfc3e8853344b2e439bd",
"url": "/mrstatic/js/purchased.a38723f4.chunk.js"
},
{
"revision": "670fff0724ac13d7d7e0",
"url": "/mrstatic/css/aist-share.40873df0.chunk.css"
},
{
"revision": "cfc3e8853344b2e439bd",
"url": "/mrstatic/css/purchased.bb758677.chunk.css"
},
{
"revision": "137ceebdec9f801afd6c",
"url": "/mrstatic/css/search.5716d9b3.chunk.css"
},
{
"revision": "380bfd4ec90c28d03f1b",
"url": "/mrstatic/css/video.1c1131c9.chunk.css"
},
{
"revision": "d35220fc1f833d81bdb0",
"url": "/mrstatic/css/shareposter.76774ba4.chunk.css"
},
{
"revision": "fec8f6cc3a21b415bd2e",
"url": "/mrstatic/css/togroup.f08bc5f3.chunk.css"
},
{
"revision": "2e00ac117692e177d817",
"url": "/mrstatic/css/study.bf6b9b43.chunk.css"
},
{
"revision": "6ea20973c395a2beb2dd",
"url": "/mrstatic/css/ShareCourse.8046fb41.chunk.css"
},
{
"revision": "fa702540a50d0ba48633",
"url": "/mrstatic/css/detail.c31f1b41.chunk.css"
},
{
"revision": "2f35198047ffa9a2f863",
"url": "/mrstatic/css/main.f9f26bcf.chunk.css"
},
{
"revision": "3d9dd8e8732c2b017b64",
"url": "/mrstatic/css/myorders.494a90ad.chunk.css"
},
{
"revision": "480dec355e65b21ce336",
"url": "/mrstatic/css/prize-winner-list.7ff5ff63.chunk.css"
},
{
"revision": "ff9b861701a785ace216",
"url": "/mrstatic/css/SearchResult.cdf852c1.chunk.css"
},
{
"revision": "2e5eb3c3e7811b5d6be8",
"url": "/mrstatic/css/36.2c78a65e.chunk.css"
},
{
"revision": "ce643559cbe26713d628",
"url": "/mrstatic/css/37.c76b300d.chunk.css"
},
{
"revision": "68015e247626d6c641b2",
"url": "/mrstatic/css/blessing-rank.edf00bf8.chunk.css"
},
{
"revision": "a814e234093462cffb75",
"url": "/mrstatic/css/38.bff100af.chunk.css"
},
{
"revision": "dfdbc575880c062a3a79",
"url": "/mrstatic/css/blessing-preheat.3ea8b615.chunk.css"
},
{
"revision": "97c315fa0d51e7539ad9",
"url": "/mrstatic/css/39.820320a6.chunk.css"
},
{
"revision": "85d7bdf68a1cd0ca73e4",
"url": "/mrstatic/css/deposit-order.5ea077aa.chunk.css"
},
{
"revision": "3eccbf92a14ba3da6aa0",
"url": "/mrstatic/css/40.35e22f8c.chunk.css"
},
{
"revision": "9e27b54c456bb2a0444f",
"url": "/mrstatic/css/ShopCart.92ab48a3.chunk.css"
},
{
"revision": "d32a83028db13d3f7b90",
"url": "/mrstatic/css/41.76fe3935.chunk.css"
},
{
"revision": "ebedb6059a85dd8d1f31",
"url": "/mrstatic/css/deposit-pay-order.09ce6fd5.chunk.css"
},
{
"revision": "063a1e67293a953a18ad",
"url": "/mrstatic/css/42.b02d1de6.chunk.css"
},
{
"revision": "14a29ebf367f22327808",
"url": "/mrstatic/css/coupons.466858c7.chunk.css"
},
{
"revision": "6d954105bc07954283a2",
"url": "/mrstatic/css/Preferential.0c91fa43.chunk.css"
},
{
"revision": "17e2d9973e72bb3206ae",
"url": "/mrstatic/css/PayOrder.7eb7d317.chunk.css"
},
{
"revision": "a28bdbb65926824a31b2",
"url": "/mrstatic/css/Order.8c058a7a.chunk.css"
},
{
"revision": "31997bae536a23719030",
"url": "/mrstatic/css/Invite.fa2c419d.chunk.css"
},
{
"revision": "59dc6b42ede0020ffb37",
"url": "/mrstatic/css/Examination.7bb0622b.chunk.css"
},
{
"revision": "408e28f4b1f50f95d662",
"url": "/mrstatic/css/DrawDocument.aeb3f822.chunk.css"
},
{
"revision": "14dd81d0ca5c69ab39e6",
"url": "/mrstatic/css/CourseList.afc8902e.chunk.css"
},
{
"revision": "ebbf0e9886674f135916",
"url": "/mrstatic/css/Country.2d34330b.chunk.css"
},
{
"revision": "4ddb3897daff9e3f9610",
"url": "/mrstatic/css/Classify.fb4bedde.chunk.css"
},
{
"revision": "9a7afeee0f7f7550064e",
"url": "/mrstatic/css/BargainMiddlePage.eb686c74.chunk.css"
},
{
"revision": "f8b11e0088ed6e17f173",
"url": "/mrstatic/css/Activity.fa2c419d.chunk.css"
},
{
"revision": "2f4c0166bab9162a59c5",
"url": "/mrstatic/css/2.bf839917.chunk.css"
},
{
"revision": "d55f7bf9048a9672b9d46014caa7f175",
"url": "/index.html"
}
];
\ No newline at end of file
......@@ -14,7 +14,11 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
<<<<<<< HEAD
"/precache-manifest.1d57c91feb0ad006df0d50e74ade2aac.js"
=======
"/precache-manifest.adc2d73282fb1dc223c86cdc4ce50684.js"
>>>>>>> 11-11
);
workbox.clientsClaim();
......
......@@ -14,9 +14,9 @@ class ClosablePopup extends Component {
close ? close() : this.setState({visible: false})
}
componentDidUpdate(prevProps) {
componentDidUpdate(prevProps, prevState) {
const {visible} = this.props
if (prevProps.visible !== visible) {
if (prevState.visible !== this.props.visible) {
this.setState({
visible
})
......
......@@ -61,13 +61,12 @@ class CollectBlessing extends Component {
if(!uid) {
SendMessageToApp("toLogin");
}else {
let data = {
SendMessageToApp("QQshare", {
title: 'AI充电节,积福气享1折秒课,超10万元奖品来就送!!',
desc: '把这门超5万人报名的【Python基础入门 升级版】课程送给你,附200元红包,请笑纳!--七月在线',
link: 'https://m.julyedu.com/blessingPreheat',
imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png',
};
SendMessageToApp("QQshare", data);
});
}
}else {
if(!uid) {
......@@ -87,13 +86,12 @@ class CollectBlessing extends Component {
if(!uid) {
SendMessageToApp("toLogin");
}else {
let data = {
SendMessageToApp("WXshare", {
title: 'AI充电节,积福气享1折秒课,超10万元奖品来就送!!',
desc: '把这门超5万人报名的【Python基础入门 升级版】课程送给你,附200元红包,请笑纳!--七月在线',
link: 'https://m.julyedu.com/blessingPreheat',
imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png',
};
SendMessageToApp("WXshare", data);
});
}
}else {
if(!uid) {
......@@ -113,13 +111,12 @@ class CollectBlessing extends Component {
if(!uid) {
SendMessageToApp("toLogin");
}else {
let data = {
SendMessageToApp("WBshare", {
title: 'AI充电节,积福气享1折秒课,超10万元奖品来就送!!',
desc: '把这门超5万人报名的【Python基础入门 升级版】课程送给你,附200元红包,请笑纳!--七月在线',
link: 'https://m.julyedu.com/blessingPreheat',
imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png',
};
SendMessageToApp("WXshare", data);
});
}
}else {
if(!uid) {
......@@ -177,7 +174,8 @@ class CollectBlessing extends Component {
render() {
const {
isSign,
userInfo: { isLogin = false, blessingVal = 0, buyBlessing = 0, inviteBlessing = 0 },
userInfo: {blessingVal = 0, buyBlessing = 0, inviteBlessing = 0 },
isLogin,
handleToShowNotice,
handleToShowList,
handleToShowInvite,
......@@ -233,16 +231,22 @@ class CollectBlessing extends Component {
<i className="collect-blessing__num">{index+1}</i>
<p className="collect-blessing__title">{item}</p>
{
index === 0 && (isLogin && isSign) &&
index === 0 &&
<>
{
(isLogin && isSign)
? (
<a className="collect-blessing__content" data-status="done">
+5<br/>福气值
</a>
}
{
index === 0 && (!isLogin || !isSign) &&
)
: (
<span onClick={toLogin} className="collect-blessing__content">
点击<br/>签到
</span>
)
}
</>
}
{
index === 1 &&
......@@ -283,7 +287,9 @@ class CollectBlessing extends Component {
index === 4 &&
<a className="collect-blessing__content" onClick={handleToShowInvite}>
<span>邀请链接</span>
<i>已加{inviteBlessing}</i>
{
inviteBlessing > 0 && <i>已加{inviteBlessing}</i>
}
</a>
}
{
......@@ -292,7 +298,9 @@ class CollectBlessing extends Component {
className="collect-blessing__content"
onClick={toSection}>
<span>去选课</span>
<i>已加{buyBlessing}</i>
{
buyBlessing > 0 && <i>已加{buyBlessing}</i>
}
</a>
}
</div>
......
......@@ -3,11 +3,11 @@ import './index.scss';
class CourseItem extends Component {
render() {
const { image } = this.props;
const { image,toCourse,id} = this.props;
return (
<div className="course-container">
<div className="course__cover">
<img src={image} alt="cover"/>
<img src={image} alt="cover" onClick={() => toCourse(id)}/>
</div>
{this.props.children}
</div>
......
......@@ -15,5 +15,6 @@
img {
display: block;
width: 100%;
height: 100%;
}
}
\ No newline at end of file
......@@ -298,7 +298,7 @@ class CourseList extends Component {
<div data-layout="row">
{
group.course.map(item => (
<CourseItem image={item.image_name} key={item.course_id}>
<CourseItem image={item.image_name} key={item.course_id} id={item.course_id} toCourse={this.toCourse}>
<div className="coupon-course__footer">
<a onClick={() => this.toQQque()} className="course-button">立抢超低团购价</a>
</div>
......@@ -323,7 +323,7 @@ class CourseList extends Component {
<div data-layout="row">
{
training.course.map(item => (
<CourseItem image={item.image_name} key={item.course_id}>
<CourseItem image={item.image_name} key={item.course_id} id={item.course_id} toCourse={this.toCourse}>
<div className="coupon-course__footer">
{
item.course_status === 1 &&
......@@ -391,7 +391,7 @@ class CourseList extends Component {
<div data-layout="row">
{
basic.course.map(item => (
<CourseItem image={item.image_name} key={item.course_id}>
<CourseItem image={item.image_name} key={item.course_id} id={item.course_id} toCourse={this.toCourse}>
{
item.type === 0 &&
<div className="coupon-course__footer">
......@@ -472,7 +472,7 @@ class CourseList extends Component {
<div data-layout="row">
{
advanced.course.map(item => (
<CourseItem image={item.image_name} key={item.course_id}>
<CourseItem image={item.image_name} key={item.course_id} id={item.course_id} toCourse={this.toCourse}>
{
item.type === 0 &&
<div className="coupon-course__footer">
......@@ -552,7 +552,7 @@ class CourseList extends Component {
<div data-layout="row">
{
higher.course.map(item => (
<CourseItem image={item.image_name} key={item.course_id}>
<CourseItem image={item.image_name} key={item.course_id} id={item.course_id} toCourse={this.toCourse}>
{
item.type === 0 &&
<div className="coupon-course__footer">
......@@ -632,7 +632,7 @@ class CourseList extends Component {
<div data-layout="row">
{
expand.course.map(item => (
<CourseItem image={item.image_name} key={item.course_id}>
<CourseItem image={item.image_name} key={item.course_id} id={item.course_id} toCourse={this.toCourse}>
{
item.type === 0 &&
<div className="coupon-course__footer">
......
......@@ -23,7 +23,7 @@
padding: 10px 0;
.course-button {
margin: 5px auto 0;
//margin: 5px auto 0;
}
}
......@@ -42,7 +42,8 @@
text-align: center;
line-height: 1;
background-image: url('https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/coupon-bg-0.png');
background-repeat: no-repeat;
background-size: cover;
}
.coupon-course__button--receive {
......
import React, { Component } from 'react'
import React, {Component} from 'react'
import QRCode from 'qrcode'
import { http, SendMessageToApp,wxShare,is_weixin,getParam} from '@/utils';
import { Link } from 'react-router-dom'
import { throttle, findIndex, debounce } from 'lodash'
import {http, SendMessageToApp, wxShare, is_weixin, getParam} from '@/utils';
import {Link} from 'react-router-dom'
import {throttle, findIndex, debounce} from 'lodash'
import RulePopup from './rulePopup/index'
import CoursePopup from './coursePopup/index'
import RecordPopup from './recordPopup/index'
......@@ -15,9 +15,9 @@ import ListHeader from './listHeader/index'
import LevelTest from './levelTest/index'
import RankList from './rankList/index'
import './index.scss'
import { Popup } from '@/common'
import { CopyToClipboard } from 'react-copy-to-clipboard'
import { Toast } from "antd-mobile"
import {Popup} from '@/common'
import {CopyToClipboard} from 'react-copy-to-clipboard'
import {Toast} from "antd-mobile"
import Live from './live'
import Banner from './banner'
import cookie from "js-cookie";
......@@ -27,7 +27,6 @@ import {compose} from "redux";
import {connect} from "react-redux";
class BlessingPreheat extends Component {
constructor(props) {
......@@ -76,6 +75,7 @@ class BlessingPreheat extends Component {
},
],
index: 0,
userHasError: props.user.hasError
}
}
......@@ -83,7 +83,7 @@ class BlessingPreheat extends Component {
this.fetchUserBlessing();
this.setInitialNavActiveStatus()
window.addEventListener('scroll', throttle(this.calcNavActive, 100));
if(is_weixin()) {
if (is_weixin()) {
wxShare({
title: 'AI充电节,积福气享1折秒课,超10万元奖品来就送!!',
desc: '把这门超5万人报名的【Python基础入门 升级版】课程送给你,附200元红包,请笑纳!--七月在线',
......@@ -96,8 +96,14 @@ class BlessingPreheat extends Component {
window['loginInfo'] = result => {
this.loginInfo(result)
}
window['getNewData'] = result => {
this.fetchUserBlessing();
}
}
// 获取app登录数据
loginInfo = (result) => {
this.setState({
......@@ -188,15 +194,9 @@ class BlessingPreheat extends Component {
}
fetchUserBlessing() {
// 判断登录未登录 根据this.state.userInfo.isLogin
if(getParam('version')) {
// app 平台
}else{
// H5
}
const { userInfo } = this.state;
const {user, history} = this.props;
const uid = user && user.data && user.data.uid;
Toast.info('fetchUserBlessing', 2)
const {userInfo} = this.state;
http.get(`${API.home}/sys/user/blessing`).then(res => {
const {code, data} = res.data
if (code === 200) {
......@@ -204,10 +204,9 @@ class BlessingPreheat extends Component {
isSign: !!data.today_signed,
isFormal: data.is_activity,
userInfo: Object.assign({}, userInfo, {
isLogin: !!uid,
blessingVal: data.user_blessing_value,
buyBlessing: (data.types_total_blessing_value &&data.types_total_blessing_value.buy_course)? data.types_total_blessing_value.buy_course : 0,
inviteBlessing: (data.types_total_blessing_value &&data.types_total_blessing_value.invite)? data.types_total_blessing_value.invite : 0,
buyBlessing: (data.types_total_blessing_value && data.types_total_blessing_value.buy_course) ? data.types_total_blessing_value.buy_course : 0,
inviteBlessing: (data.types_total_blessing_value && data.types_total_blessing_value.invite) ? data.types_total_blessing_value.invite : 0,
})
})
if (data.is_login === 1) {
......@@ -241,9 +240,10 @@ class BlessingPreheat extends Component {
}
handleToShow = (key, isLogin = false) => {
const {userInfo} = this.state
// 需要用户登录 并且用户未登录
if (isLogin && !userInfo.isLogin) {
const isLoginnew = !this.props.user.hasError
if (isLogin && isLoginnew) {
this.toLogin()
} else {
let obj = {}
......@@ -256,9 +256,9 @@ class BlessingPreheat extends Component {
// 邀请好友注册
handleToShowInvite = () => {
const { userInfo } = this.state;
if(userInfo.isLogin) {
if(!getParam('version')) {
const isLogin = !this.props.user.hasError
if (isLogin) {
if (!getParam('version')) {
QRCode.toDataURL(`${API.m}/invite`, {
width: 120,
height: 120,
......@@ -349,7 +349,7 @@ class BlessingPreheat extends Component {
}
let el = document.querySelector(`#${navs[_index].id}`)
let nav = document.querySelector('#main-nav')
if(el) {
if (el) {
let top = el.offsetTop
......@@ -393,6 +393,7 @@ class BlessingPreheat extends Component {
index
} = this.state;
const {history} = this.props;
const isLogin = !this.props.user.hasError
return (
<div id={'blessing-preheat'}>
<Banner
......@@ -408,6 +409,7 @@ class BlessingPreheat extends Component {
<CollectBlessing
isSign={isSign}
userInfo={userInfo}
isLogin={isLogin}
history={this.props.history}
toSection={(e) => this.toSection(this.fetchMoudleId('best-courses'), e)}
handleToShowList={() => this.handleToShow('isCourse')}
......@@ -438,7 +440,7 @@ class BlessingPreheat extends Component {
<ListHeader id={'best-courses'} text="精品课程特惠专区" styles={{margin: '30px 0 15px'}}/>
<CourseList
isFormal={isFormal}
isLogin={userInfo.isLogin}
isLogin={isLogin}
history={this.props.history}
toLogin={this.toLogin}
/>
......@@ -449,7 +451,8 @@ class BlessingPreheat extends Component {
}
{
isCourse &&
<CoursePopup toLogin={this.toLogin} history={history} isLogin={userInfo.isLogin} handleToHide={() => this.handleToHide('isCourse')}/>
<CoursePopup toLogin={this.toLogin} history={history} isLogin={isLogin}
handleToHide={() => this.handleToHide('isCourse')}/>
}
{
showRecordList &&
......@@ -503,12 +506,12 @@ class BlessingPreheat extends Component {
</Popup>
<ListHeader id={'ai-test'} text="全国AI工程师水平测试" styles={{margin: '30px 0 15px'}} />
<ListHeader id={'ai-test'} text="全国AI工程师水平测试" styles={{margin: '30px 0 15px'}}/>
<div className="test__record" onClick={() => this.handleToShow('showRecordList', true)}>
测试记录>
</div>
<LevelTest history={history} isLogin={userInfo.isLogin} toLogin={this.toLogin}></LevelTest>
<LevelTest history={history} isLogin={isLogin} toLogin={this.toLogin}></LevelTest>
<RankList></RankList>
......
......@@ -115,6 +115,7 @@ class Live extends Component {
tabBarInactiveTextColor={'#FFF604'}
tabBarUnderlineStyle={{display: 'none'}}
initialPage={today}
swipeable={false}
>
{
this.props.isFormal
......
......@@ -37,7 +37,7 @@ class LuckDraw extends Component {
const { tabs, prizes } = this.state;
return (
<div className="luck-draw__container">
<Tabs
<Tabs swipeable={false}
tabs={tabs}
tabBarBackgroundColor="transparent"
tabBarUnderlineStyle={{
......
......@@ -23,6 +23,19 @@ export default class RankList extends Component {
});
}
formart = (time) => {
let date = time * 1000,
hours = 0,
minutes = 0,
seconds = 0;
hours = `${parseInt(date / (60 * 60 * 1000))}`.padStart(2, 0);
minutes = `${parseInt((date - hours * 3600000) / 60000)}`.padStart(2, 0);
seconds = `${parseInt(
(date - hours * 3600000 - minutes * 60000) / 1000
)}`.padStart(2, 0);
return `${minutes}'${seconds}"`;
}
render() {
let {rankList} = this.state;
return (
......@@ -55,7 +68,7 @@ export default class RankList extends Component {
<img className="user__avatar" src={item.avatar} />
<span className="user__name">{item.user_name}</span>
</div>
<div className='table__body table_head__time'>{item.cost_time}</div>
<div className='table__body table_head__time'>{this.formart(item.cost_time)}</div>
<div className='table__body table_head__score'>{item.score}</div>
<div className='table__body table_head__prize'>{item.prize}</div>
</div>
......
......@@ -3,7 +3,9 @@ import './coupon.scss'
import classnames from 'classnames'
import { http } from "@/utils"
import showAlert from '@common/deposit/end-expansion-alert'
import {Toast} from 'antd-mobile'
import { Toast } from 'antd-mobile'
import { withRouter } from "react-router-dom"
class Coupon extends PureComponent {
......@@ -12,9 +14,18 @@ class Coupon extends PureComponent {
EXPAND = 4 //膨胀全
pick = () => {
let {useCoupon, invalid} = this.props
pick = (e) => {
let {useCoupon, invalid, start_amount, id, location, history, code} = this.props
const {state} = location
if(state && state.from && state.from === '/my'){
history.push(`/expand/index?deposit_code=${code}`)
return
}
if (start_amount) {
this.stopExpanding(id, e)
} else {
!invalid && useCoupon && useCoupon(this.props.id)
}
}
......@@ -38,8 +49,8 @@ class Coupon extends PureComponent {
.then(res => {
const {data} = res
if (data.code == 200) {
this.props.endExpansion(id)
}else {
this.props.endExpansion(id, data.data.coupon_id)
} else {
Toast.info(data.msg)
}
})
......@@ -209,4 +220,4 @@ function BaseCoupon(
)
}
export default Coupon
export default withRouter(Coupon)
......@@ -6,7 +6,6 @@ import Coupon from '../Coupon'
import { http, getParam } from '@/utils'
import { WithFullSize } from '@/HOCs'
import { Toast } from 'antd-mobile'
import { isEmpty } from 'lodash'
import { connect } from 'react-redux'
@connect()
......@@ -110,19 +109,13 @@ class UseCoupon extends PureComponent {
getMyCoupons = () => {
Promise.all([
http.get(`${API.home}/m/coupon/all`),
http.get(`${API.home}/m/coupon/expansion`)
http.get(`${API.home}/m/coupon/expansion`),
http.get(`${API.home}/m/coupon/all`)
]).then((coupons) => {
let myCoupons = []
const [allCoupons, expansionCoupons] = coupons
const [expansionCoupons, allCoupons] = coupons
const {data: all} = allCoupons
const {data: expansion} = expansionCoupons
if (all.code == 200) {
Array.isArray(all.data) && (myCoupons = myCoupons.concat(all.data))
} else {
Toast.info(all.msg)
}
if (expansion.code == 200) {
Array.isArray(expansion.data)
&& (expansion.data = expansion.data.map(item => (item.ctype = 4, item)))
......@@ -130,6 +123,11 @@ class UseCoupon extends PureComponent {
} else {
Toast.info(expansion.msg)
}
if (all.code == 200) {
Array.isArray(all.data) && (myCoupons = myCoupons.concat(all.data))
} else {
Toast.info(all.msg)
}
this.setState({
couponList: myCoupons
......@@ -139,12 +137,21 @@ class UseCoupon extends PureComponent {
getAllCoupons = () => {
Promise.all([
http.post(`${API.home}/m/coupon/select`, {course_id: this.state.courseId}),
http.get(`${API.home}/m/coupon/expansion`)
http.get(`${API.home}/m/coupon/expansion`),
http.post(`${API.home}/m/coupon/select`, {course_id: this.state.courseId})
]).then((coupons) => {
const [selectCoupons, expansionCoupons] = coupons
const [expansionCoupons, selectCoupons] = coupons
const {data: select} = selectCoupons
const {data: expansion} = expansionCoupons
if (expansion.code == 200) {
Array.isArray(expansion.data)
&& (expansion.data = expansion.data.map(item => (item.ctype = 4, item)))
&& (this.setState({
valid_coupons: this.state.valid_coupons.concat(expansion.data)
}))
} else {
Toast.info(expansion.msg)
}
if (select.code === 200) {
const inuse_coupon = select.data['inuse_coupon']
this.setState({
......@@ -158,15 +165,6 @@ class UseCoupon extends PureComponent {
} else {
Toast.info(data.msg)
}
if (expansion.code == 200) {
Array.isArray(expansion.data)
&& (expansion.data = expansion.data.map(item => (item.ctype = 4, item)))
&& (this.setState({
valid_coupons: this.state.valid_coupons.concat(expansion.data)
}))
} else {
Toast.info(expansion.msg)
}
})
......@@ -278,11 +276,12 @@ class UseCoupon extends PureComponent {
})
}
endExpansion = id => {
endExpansion = (id, validId) => {
this.setState({
couponList: this.state.couponList.map(item => {
valid_coupons: this.state.valid_coupons.map(item => {
if (item.id === id) {
delete item.start_amount
item.id = validId
}
return item
})
......
......@@ -60,6 +60,7 @@
font-size: 14px;
color: $color_666;
margin-top: 10px;
line-height: 16px;
}
.des {
......
......@@ -164,8 +164,7 @@ class ExpandShare extends Component {
step: 2,
helpData: data
})
console.log(data)
this.getListorData()
} else if (errno === 17018 || errno === 17020) {
this.setState({
isShow: true,
......
......@@ -569,6 +569,7 @@
color: #fff;
font-size: 15px;
margin-top: 20px;
border: none;
}
}
......@@ -596,6 +597,7 @@
border-radius: 17px;
color: #fff;
font-size: 15px;
border: none;
}
}
......
......@@ -193,7 +193,7 @@ function PayInfo(props) {
</p>
<p>
<span className='payable'>已优惠:</span>
<span className='price'>¥{props.item.deposit_cut}</span>
<span className='price'>¥{props.item.discount}</span>
</p>
</div>
......
......@@ -112,6 +112,15 @@ export default class PayOrder extends Component {
// 微信内部-支付
if (is_weixin()) {
window.location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=" + encodeURIComponent(window.location.href + "&aa=bb").toLowerCase() + "&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect";
// if(window.location.href.indexOf('aa=bb') === -1){
// localStorage.setItem('a', '第一次');
// window.location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=" + encodeURIComponent(window.location.href + "&aa=bb").toLowerCase() + "&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect";
// }
// if(window.location.href.indexOf('aa=bb') > 0) {
// localStorage.setItem('a', '多次');
// let newHref = window.location.href.slice(0, window.location.href.indexOf('aa=bb')-1);
// window.location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=" + encodeURIComponent(newHref + "&aa=bb").toLowerCase() + "&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect";
// }
} else {
// 微信外部-支付
http.get(`${API['base-api']}/pay/wxpay/wap_charge/oid/${orderId}`).then((res) => {
......
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