Commit 96f33f94 by zhanghaozhe

宝箱活动

parent cfd440a6
...@@ -89,8 +89,8 @@ ...@@ -89,8 +89,8 @@
"myorders.js": "/mrstatic/js/myorders.2f01329e.chunk.js", "myorders.js": "/mrstatic/js/myorders.2f01329e.chunk.js",
"myorders.js.map": "/mrstatic/js/myorders.2f01329e.chunk.js.map", "myorders.js.map": "/mrstatic/js/myorders.2f01329e.chunk.js.map",
"newyear-2019-landing.css": "/mrstatic/css/newyear-2019-landing.b0d930fa.chunk.css", "newyear-2019-landing.css": "/mrstatic/css/newyear-2019-landing.b0d930fa.chunk.css",
"newyear-2019-landing.js": "/mrstatic/js/newyear-2019-landing.d13568be.chunk.js", "newyear-2019-landing.js": "/mrstatic/js/newyear-2019-landing.2d623902.chunk.js",
"newyear-2019-landing.js.map": "/mrstatic/js/newyear-2019-landing.d13568be.chunk.js.map", "newyear-2019-landing.js.map": "/mrstatic/js/newyear-2019-landing.2d623902.chunk.js.map",
"newyear-yearIndex.css": "/mrstatic/css/newyear-yearIndex.fe0d87a6.chunk.css", "newyear-yearIndex.css": "/mrstatic/css/newyear-yearIndex.fe0d87a6.chunk.css",
"newyear-yearIndex.js": "/mrstatic/js/newyear-yearIndex.51653ba5.chunk.js", "newyear-yearIndex.js": "/mrstatic/js/newyear-yearIndex.51653ba5.chunk.js",
"newyear-yearIndex.js.map": "/mrstatic/js/newyear-yearIndex.51653ba5.chunk.js.map", "newyear-yearIndex.js.map": "/mrstatic/js/newyear-yearIndex.51653ba5.chunk.js.map",
...@@ -103,8 +103,8 @@ ...@@ -103,8 +103,8 @@
"python-class.css": "/mrstatic/css/python-class.087d6571.chunk.css", "python-class.css": "/mrstatic/css/python-class.087d6571.chunk.css",
"python-class.js": "/mrstatic/js/python-class.43c9fac3.chunk.js", "python-class.js": "/mrstatic/js/python-class.43c9fac3.chunk.js",
"python-class.js.map": "/mrstatic/js/python-class.43c9fac3.chunk.js.map", "python-class.js.map": "/mrstatic/js/python-class.43c9fac3.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.42ba15b1.js", "runtime~main.js": "/mrstatic/js/runtime~main.a5715235.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.42ba15b1.js.map", "runtime~main.js.map": "/mrstatic/js/runtime~main.a5715235.js.map",
"search.css": "/mrstatic/css/search.38c3e634.chunk.css", "search.css": "/mrstatic/css/search.38c3e634.chunk.css",
"search.js": "/mrstatic/js/search.2aee0468.chunk.js", "search.js": "/mrstatic/js/search.2aee0468.chunk.js",
"search.js.map": "/mrstatic/js/search.2aee0468.chunk.js.map", "search.js.map": "/mrstatic/js/search.2aee0468.chunk.js.map",
...@@ -120,12 +120,12 @@ ...@@ -120,12 +120,12 @@
"togroup.css": "/mrstatic/css/togroup.49988cae.chunk.css", "togroup.css": "/mrstatic/css/togroup.49988cae.chunk.css",
"togroup.js": "/mrstatic/js/togroup.0ebabd0d.chunk.js", "togroup.js": "/mrstatic/js/togroup.0ebabd0d.chunk.js",
"togroup.js.map": "/mrstatic/js/togroup.0ebabd0d.chunk.js.map", "togroup.js.map": "/mrstatic/js/togroup.0ebabd0d.chunk.js.map",
"treasure-box-home.css": "/mrstatic/css/treasure-box-home.742fb589.chunk.css", "treasure-box-home.css": "/mrstatic/css/treasure-box-home.7a60b4c8.chunk.css",
"treasure-box-home.js": "/mrstatic/js/treasure-box-home.d7397e33.chunk.js", "treasure-box-home.js": "/mrstatic/js/treasure-box-home.5830f2f2.chunk.js",
"treasure-box-home.js.map": "/mrstatic/js/treasure-box-home.d7397e33.chunk.js.map", "treasure-box-home.js.map": "/mrstatic/js/treasure-box-home.5830f2f2.chunk.js.map",
"treasure-box-mybox.css": "/mrstatic/css/treasure-box-mybox.b84e2e84.chunk.css", "treasure-box-mybox.css": "/mrstatic/css/treasure-box-mybox.b84e2e84.chunk.css",
"treasure-box-mybox.js": "/mrstatic/js/treasure-box-mybox.420feb62.chunk.js", "treasure-box-mybox.js": "/mrstatic/js/treasure-box-mybox.be3eb810.chunk.js",
"treasure-box-mybox.js.map": "/mrstatic/js/treasure-box-mybox.420feb62.chunk.js.map", "treasure-box-mybox.js.map": "/mrstatic/js/treasure-box-mybox.be3eb810.chunk.js.map",
"video.css": "/mrstatic/css/video.e2426591.chunk.css", "video.css": "/mrstatic/css/video.e2426591.chunk.css",
"video.js": "/mrstatic/js/video.48b188d9.chunk.js", "video.js": "/mrstatic/js/video.48b188d9.chunk.js",
"video.js.map": "/mrstatic/js/video.48b188d9.chunk.js.map", "video.js.map": "/mrstatic/js/video.48b188d9.chunk.js.map",
...@@ -245,13 +245,13 @@ ...@@ -245,13 +245,13 @@
"mrstatic/css/study.e406d228.chunk.css.map": "/mrstatic/css/study.e406d228.chunk.css.map", "mrstatic/css/study.e406d228.chunk.css.map": "/mrstatic/css/study.e406d228.chunk.css.map",
"mrstatic/css/system-notices.08df3d15.chunk.css.map": "/mrstatic/css/system-notices.08df3d15.chunk.css.map", "mrstatic/css/system-notices.08df3d15.chunk.css.map": "/mrstatic/css/system-notices.08df3d15.chunk.css.map",
"mrstatic/css/togroup.49988cae.chunk.css.map": "/mrstatic/css/togroup.49988cae.chunk.css.map", "mrstatic/css/togroup.49988cae.chunk.css.map": "/mrstatic/css/togroup.49988cae.chunk.css.map",
"mrstatic/css/treasure-box-home.742fb589.chunk.css.map": "/mrstatic/css/treasure-box-home.742fb589.chunk.css.map", "mrstatic/css/treasure-box-home.7a60b4c8.chunk.css.map": "/mrstatic/css/treasure-box-home.7a60b4c8.chunk.css.map",
"mrstatic/css/treasure-box-mybox.b84e2e84.chunk.css.map": "/mrstatic/css/treasure-box-mybox.b84e2e84.chunk.css.map", "mrstatic/css/treasure-box-mybox.b84e2e84.chunk.css.map": "/mrstatic/css/treasure-box-mybox.b84e2e84.chunk.css.map",
"mrstatic/css/video.e2426591.chunk.css.map": "/mrstatic/css/video.e2426591.chunk.css.map", "mrstatic/css/video.e2426591.chunk.css.map": "/mrstatic/css/video.e2426591.chunk.css.map",
"mrstatic/media/index.scss": "/mrstatic/media/redb_sp_bj@2x.6902434f.png", "mrstatic/media/index.scss": "/mrstatic/media/redb_sp_bj@2x.6902434f.png",
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.f2f4294d.woff", "mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.f2f4294d.woff",
"mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png", "mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png",
"mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png", "mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png",
"precache-manifest.3b0ceee175772ab67867194c568543a6.js": "/precache-manifest.3b0ceee175772ab67867194c568543a6.js", "precache-manifest.a368b2a2639b068d2e7e8f40b8a59d31.js": "/precache-manifest.a368b2a2639b068d2e7e8f40b8a59d31.js",
"service-worker.js": "/service-worker.js" "service-worker.js": "/service-worker.js"
} }
\ No newline at end of file
<!doctype html><html lang="zh"><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/45.0c7eea28.chunk.css" rel="stylesheet"><link href="/mrstatic/css/main.27ce3a58.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(d){function e(e){for(var r,t,a=e[0],n=e[1],o=e[2],c=0,f=[];c<a.length;c++)t=a[c],b[t]&&f.push(b[t][0]),b[t]=0;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(d[r]=n[r]);for(p&&p(e);f.length;)f.shift()();return s.push.apply(s,o||[]),i()}function i(){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!==b[o]&&(a=!1)}a&&(s.splice(r--,1),e=l(l.s=t[0]))}return e}var t={},u={36:0},b={36:0},s=[];function l(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return d[e].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.e=function(s){var e=[];u[s]?e.push(u[s]):0!==u[s]&&{1:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,12:1,14:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,30:1,31:1,32:1,33:1,34:1,35:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,47:1,48:1,49:1,50:1,51:1,52:1,53:1,54:1,55:1,57:1,58:1,59:1,60:1,62:1,63:1,64:1,65:1}[s]&&e.push(u[s]=new Promise(function(e,a){for(var r="mrstatic/css/"+({5:"Activity",6:"BargainMiddlePage",7:"Classify",8:"Country",9:"CourseList",10:"DrawDocument",11:"Examination",12:"Invite",13:"MyEdit",14:"Order",15:"Orderinfo",16:"PayOrder",17:"Preferential",18:"SearchResult",19:"ShareCourse",20:"ShopCart",21:"aist-share",22:"blessing-getPrize",23:"blessing-preheat",24:"blessing-rank",25:"coupons",26:"deposit-order",27:"deposit-pay-order",28:"detail",30:"myorders",31:"newyear-2019-landing",32:"newyear-yearIndex",33:"prize-winner-list",34:"purchased",35:"python-class",37:"search",38:"shareposter",39:"study",40:"system-notices",41:"togroup",42:"treasure-box-home",43:"treasure-box-mybox",44:"video"}[s]||s)+"."+{0:"31d6cfe0",1:"bff22cf8",2:"31d6cfe0",3:"5ed15c7e",4:"0dc24c6e",5:"a74b39fb",6:"31cef199",7:"f2f19957",8:"16a64650",9:"47812ac6",10:"2e7d81ca",11:"f2cc3163",12:"361dc1a3",13:"31d6cfe0",14:"35f475a1",15:"31d6cfe0",16:"e5315535",17:"18d20d0c",18:"bb7c3056",19:"278ad3b1",20:"3a4dbb7a",21:"ca49c1cb",22:"951fd27d",23:"715eb28a",24:"b92d0394",25:"c10ecc19",26:"6f3a01ca",27:"219bad3d",28:"975c864b",30:"3c41b358",31:"b0d930fa",32:"fe0d87a6",33:"55e46fc9",34:"f583a040",35:"087d6571",37:"38c3e634",38:"f09a5959",39:"e406d228",40:"08df3d15",41:"49988cae",42:"742fb589",43:"b84e2e84",44:"e2426591",46:"31d6cfe0",47:"50547718",48:"eeb18914",49:"17c0e036",50:"2471f477",51:"0bb224f2",52:"ecbb6f9a",53:"9f46e45e",54:"ee45d0b0",55:"4723f76a",56:"31d6cfe0",57:"ab7f5e40",58:"4c85e85c",59:"470b9744",60:"10a4034d",61:"31d6cfe0",62:"697fa90d",63:"eb90513f",64:"5fba4ed0",65:"e51ea0fc"}[s]+".chunk.css",n=l.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var c=(d=t[o]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(c===r||c===n))return e()}var f=document.getElementsByTagName("style");for(o=0;o<f.length;o++){var d;if((c=(d=f[o]).getAttribute("data-href"))===r||c===n)return e()}var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.onload=e,i.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],i.parentNode.removeChild(i),a(t)},i.href=n,document.getElementsByTagName("head")[0].appendChild(i)}).then(function(){u[s]=0}));var t=b[s];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=b[s]=[e,r]});e.push(t[2]=r);var a,o=document.createElement("script");o.charset="utf-8",o.timeout=120,l.nc&&o.setAttribute("nonce",l.nc),o.src=l.p+"mrstatic/js/"+({5:"Activity",6:"BargainMiddlePage",7:"Classify",8:"Country",9:"CourseList",10:"DrawDocument",11:"Examination",12:"Invite",13:"MyEdit",14:"Order",15:"Orderinfo",16:"PayOrder",17:"Preferential",18:"SearchResult",19:"ShareCourse",20:"ShopCart",21:"aist-share",22:"blessing-getPrize",23:"blessing-preheat",24:"blessing-rank",25:"coupons",26:"deposit-order",27:"deposit-pay-order",28:"detail",30:"myorders",31:"newyear-2019-landing",32:"newyear-yearIndex",33:"prize-winner-list",34:"purchased",35:"python-class",37:"search",38:"shareposter",39:"study",40:"system-notices",41:"togroup",42:"treasure-box-home",43:"treasure-box-mybox",44:"video"}[s]||s)+"."+{0:"e278c735",1:"8ccb3ba2",2:"b3ec967c",3:"846255e3",4:"2cbd2115",5:"7ec7f2b9",6:"b3e90217",7:"9026b6f9",8:"87d90b89",9:"b9772b84",10:"749c0360",11:"db75562e",12:"03ba786f",13:"4751204d",14:"8ed15331",15:"2de132f2",16:"6fb43349",17:"40f0edaf",18:"d96f36a5",19:"4c634bea",20:"1727e020",21:"aa06950a",22:"b3da729d",23:"ff4bbf80",24:"c392e4f0",25:"000af26b",26:"3ae30112",27:"284eb346",28:"681ee242",30:"2f01329e",31:"d13568be",32:"51653ba5",33:"c127a088",34:"148df373",35:"43c9fac3",37:"2aee0468",38:"3c664772",39:"be29f8a9",40:"3b3e0b79",41:"0ebabd0d",42:"d7397e33",43:"420feb62",44:"48b188d9",46:"26572008",47:"9aa693c2",48:"89ff204d",49:"15508182",50:"feb9bfd4",51:"f1e8d0d1",52:"5b89cb08",53:"ed8fa7d4",54:"0621bfa4",55:"2f33452a",56:"81962ecf",57:"965079f4",58:"1583e048",59:"f9091165",60:"72a77810",61:"b36c1038",62:"185f011f",63:"56faee3e",64:"a1498af9",65:"eec31f7c"}[s]+".chunk.js",a=function(e){o.onerror=o.onload=null,clearTimeout(c);var r=b[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)}b[s]=void 0}};var c=setTimeout(function(){a({type:"timeout",target:o})},12e4);o.onerror=o.onload=a,document.head.appendChild(o)}return Promise.all(e)},l.m=d,l.c=t,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(r,e){if(1&e&&(r=l(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var a in r)l.d(t,a,function(e){return r[e]}.bind(null,a));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/",l.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;i()}([])</script><script src="/mrstatic/js/45.54ed9d8a.chunk.js"></script><script src="/mrstatic/js/main.c3c8406b.chunk.js"></script></body></html> <!doctype html><html lang="zh"><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/45.0c7eea28.chunk.css" rel="stylesheet"><link href="/mrstatic/css/main.27ce3a58.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(d){function e(e){for(var r,t,a=e[0],n=e[1],o=e[2],c=0,f=[];c<a.length;c++)t=a[c],b[t]&&f.push(b[t][0]),b[t]=0;for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(d[r]=n[r]);for(p&&p(e);f.length;)f.shift()();return s.push.apply(s,o||[]),i()}function i(){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!==b[o]&&(a=!1)}a&&(s.splice(r--,1),e=l(l.s=t[0]))}return e}var t={},u={36:0},b={36:0},s=[];function l(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return d[e].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.e=function(s){var e=[];u[s]?e.push(u[s]):0!==u[s]&&{1:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,12:1,14:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,30:1,31:1,32:1,33:1,34:1,35:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,47:1,48:1,49:1,50:1,51:1,52:1,53:1,54:1,55:1,57:1,58:1,59:1,60:1,62:1,63:1,64:1,65:1}[s]&&e.push(u[s]=new Promise(function(e,a){for(var r="mrstatic/css/"+({5:"Activity",6:"BargainMiddlePage",7:"Classify",8:"Country",9:"CourseList",10:"DrawDocument",11:"Examination",12:"Invite",13:"MyEdit",14:"Order",15:"Orderinfo",16:"PayOrder",17:"Preferential",18:"SearchResult",19:"ShareCourse",20:"ShopCart",21:"aist-share",22:"blessing-getPrize",23:"blessing-preheat",24:"blessing-rank",25:"coupons",26:"deposit-order",27:"deposit-pay-order",28:"detail",30:"myorders",31:"newyear-2019-landing",32:"newyear-yearIndex",33:"prize-winner-list",34:"purchased",35:"python-class",37:"search",38:"shareposter",39:"study",40:"system-notices",41:"togroup",42:"treasure-box-home",43:"treasure-box-mybox",44:"video"}[s]||s)+"."+{0:"31d6cfe0",1:"bff22cf8",2:"31d6cfe0",3:"5ed15c7e",4:"0dc24c6e",5:"a74b39fb",6:"31cef199",7:"f2f19957",8:"16a64650",9:"47812ac6",10:"2e7d81ca",11:"f2cc3163",12:"361dc1a3",13:"31d6cfe0",14:"35f475a1",15:"31d6cfe0",16:"e5315535",17:"18d20d0c",18:"bb7c3056",19:"278ad3b1",20:"3a4dbb7a",21:"ca49c1cb",22:"951fd27d",23:"715eb28a",24:"b92d0394",25:"c10ecc19",26:"6f3a01ca",27:"219bad3d",28:"975c864b",30:"3c41b358",31:"b0d930fa",32:"fe0d87a6",33:"55e46fc9",34:"f583a040",35:"087d6571",37:"38c3e634",38:"f09a5959",39:"e406d228",40:"08df3d15",41:"49988cae",42:"7a60b4c8",43:"b84e2e84",44:"e2426591",46:"31d6cfe0",47:"50547718",48:"eeb18914",49:"17c0e036",50:"2471f477",51:"0bb224f2",52:"ecbb6f9a",53:"9f46e45e",54:"ee45d0b0",55:"4723f76a",56:"31d6cfe0",57:"ab7f5e40",58:"4c85e85c",59:"470b9744",60:"10a4034d",61:"31d6cfe0",62:"697fa90d",63:"eb90513f",64:"5fba4ed0",65:"e51ea0fc"}[s]+".chunk.css",n=l.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var c=(d=t[o]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(c===r||c===n))return e()}var f=document.getElementsByTagName("style");for(o=0;o<f.length;o++){var d;if((c=(d=f[o]).getAttribute("data-href"))===r||c===n)return e()}var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.onload=e,i.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],i.parentNode.removeChild(i),a(t)},i.href=n,document.getElementsByTagName("head")[0].appendChild(i)}).then(function(){u[s]=0}));var t=b[s];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=b[s]=[e,r]});e.push(t[2]=r);var a,o=document.createElement("script");o.charset="utf-8",o.timeout=120,l.nc&&o.setAttribute("nonce",l.nc),o.src=l.p+"mrstatic/js/"+({5:"Activity",6:"BargainMiddlePage",7:"Classify",8:"Country",9:"CourseList",10:"DrawDocument",11:"Examination",12:"Invite",13:"MyEdit",14:"Order",15:"Orderinfo",16:"PayOrder",17:"Preferential",18:"SearchResult",19:"ShareCourse",20:"ShopCart",21:"aist-share",22:"blessing-getPrize",23:"blessing-preheat",24:"blessing-rank",25:"coupons",26:"deposit-order",27:"deposit-pay-order",28:"detail",30:"myorders",31:"newyear-2019-landing",32:"newyear-yearIndex",33:"prize-winner-list",34:"purchased",35:"python-class",37:"search",38:"shareposter",39:"study",40:"system-notices",41:"togroup",42:"treasure-box-home",43:"treasure-box-mybox",44:"video"}[s]||s)+"."+{0:"e278c735",1:"8ccb3ba2",2:"b3ec967c",3:"846255e3",4:"2cbd2115",5:"7ec7f2b9",6:"b3e90217",7:"9026b6f9",8:"87d90b89",9:"b9772b84",10:"749c0360",11:"db75562e",12:"03ba786f",13:"4751204d",14:"8ed15331",15:"2de132f2",16:"6fb43349",17:"40f0edaf",18:"d96f36a5",19:"4c634bea",20:"1727e020",21:"aa06950a",22:"b3da729d",23:"ff4bbf80",24:"c392e4f0",25:"000af26b",26:"3ae30112",27:"284eb346",28:"681ee242",30:"2f01329e",31:"2d623902",32:"51653ba5",33:"c127a088",34:"148df373",35:"43c9fac3",37:"2aee0468",38:"3c664772",39:"be29f8a9",40:"3b3e0b79",41:"0ebabd0d",42:"5830f2f2",43:"be3eb810",44:"48b188d9",46:"26572008",47:"9aa693c2",48:"89ff204d",49:"15508182",50:"feb9bfd4",51:"f1e8d0d1",52:"5b89cb08",53:"ed8fa7d4",54:"0621bfa4",55:"2f33452a",56:"81962ecf",57:"965079f4",58:"1583e048",59:"f9091165",60:"72a77810",61:"b36c1038",62:"185f011f",63:"56faee3e",64:"a1498af9",65:"eec31f7c"}[s]+".chunk.js",a=function(e){o.onerror=o.onload=null,clearTimeout(c);var r=b[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)}b[s]=void 0}};var c=setTimeout(function(){a({type:"timeout",target:o})},12e4);o.onerror=o.onload=a,document.head.appendChild(o)}return Promise.all(e)},l.m=d,l.c=t,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(r,e){if(1&e&&(r=l(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var a in r)l.d(t,a,function(e){return r[e]}.bind(null,a));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/",l.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;i()}([])</script><script src="/mrstatic/js/45.54ed9d8a.chunk.js"></script><script src="/mrstatic/js/main.c3c8406b.chunk.js"></script></body></html>
\ No newline at end of file \ No newline at end of file
.year-index{padding-bottom:8vw;background-color:#cd1110}.year-index .banner-treasure__header{height:85.333333vw;background-size:cover;background-position:50%}.year-index .banner-treasure__nav{height:8vw}.year-index .banner-treasure__decorate{height:5.333333vw}.year-index .sub__code_container{padding:5.333333vw 8vw;text-align:center}.year-index .sub__code_container .sub__title{font-size:4.8vw;color:#111;font-weight:400}.year-index .sub__code_container .sub__qr_code{width:36.533333vw;height:36.533333vw}.year-index .sub__code_container .sub__tip{font-size:3.733333vw;color:#666;margin:3.466667vw 0;letter-spacing:1px}.year-index .sub__code_container .sub__tip i{font-style:normal;color:red;font-size:4.266667vw}.year-index .sub__code_container .sub__rule{font-size:3.733333vw;color:#666;text-align:left;margin-top:5.333333vw;margin-bottom:1.333333vw}.year-index .btm-rule{color:#fff;font-size:3.2vw;width:100%;text-align:center}.year-index+.year19-index{display:none}.live__container .live_room_item{width:88vw;height:26.666667vw;display:flex;justify-content:center;align-items:center;padding-bottom:4vw;margin:4vw auto 0}.live__container .live_room_item:first-child{border-bottom:1px solid #0d4d2b}.live__container .live_room_item .user__avatar{width:19.466667vw;height:22.666667vw;flex:0 0 auto;margin-right:3.2vw;background:#ddd;border-radius:1.066667vw}.live__container .live_room_item .live__info{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;color:#fff;font-size:3.733333vw;width:65.6vw;height:22.666667vw;position:relative}.live__container .live_room_item .live__info .info__item{display:flex;justify-content:flex-start;align-content:center}.live__container .live_room_item .live__info .info__item:nth-child(2){margin:2.4vw 0}.live__container .live_room_item .live__info .info__item span{width:12.266667vw;flex:0 0 auto;color:#eaf787;line-height:4.266667vw}.live__container .live_room_item .live__info .info__item p{line-height:4.266667vw}.live__container .live_room_item .live__info .theme span{display:block;width:12.266667vw;float:left;color:#eaf787;line-height:4.266667vw}.live__container .live_room_item .live__info .theme p{width:52.8vw;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;float:left;line-height:4.266667vw;color:#fff;-webkit-box-orient:vertical}.live__container .live_room_item .live__info .order__btn{position:absolute;right:0;bottom:0;width:23.733333vw;height:7.466667vw;border-radius:1.066667vw;display:flex;justify-content:center;align-items:center;color:#070f08;background:-webkit-gradient(linear,left top,right top,from(#ffe300),to(#ffca00));background:-webkit-linear-gradient(left,#ffe300,#ffca00);background:linear-gradient(90deg,#ffe300,#ffca00)}.live__container .live_room_item .live__info .subscribed{background:#fee41d}.live__container .live_room_item .live__info .live__end{background:#999;color:#fff}.live__container .live_room_item .live__info .living{background:#09f;color:#fff}.live__container .live_room_item .live__info .check__video{background:#72dc8d;color:#fff}.live__container .sub__code_container{display:flex;flex-direction:column;justify-content:center;align-items:center}.live__container .sub__code_container .sub__title{color:#525c65;font-size:4.266667vw;line-height:4.266667vw;font-weight:500;text-align:center;margin:5.333333vw 0}.live__container .save-image{margin-top:4.266667vw;width:72vw;height:11.733333vw;background:#ffe319;border:1px solid #090909;border-radius:1.333333vw;font-size:4.266667vw;font-weight:400;color:#090909}.common_container{margin-bottom:9.333333vw}.common_container .title_container{width:100%;display:flex;flex-direction:column;justify-content:center;align-content:center}.common_container .title_container i{width:61.333333vw;height:.533333vw;background:-webkit-gradient(linear,left top,right top,from(rgba(254,228,29,0)),color-stop(48%,rgba(254,228,29,.98)),to(rgba(254,228,29,0)));background:-webkit-linear-gradient(left,rgba(254,228,29,0),rgba(254,228,29,.98) 48%,rgba(254,228,29,0));background:linear-gradient(90deg,rgba(254,228,29,0),rgba(254,228,29,.98) 48%,rgba(254,228,29,0));margin:0 auto}.common_container .title_container p{font-size:4.8vw;line-height:4.8vw;font-weight:500;color:#fee41d;margin:2.133333vw auto;background:-webkit-gradient(linear,left bottom,left top,color-stop(23.90137%,#fee41d),color-stop(50.14648%,#fc0),color-stop(75%,#fee41d));background:-webkit-linear-gradient(bottom,#fee41d 23.90137%,#fc0 50.14648%,#fee41d 75%);background:linear-gradient(0deg,#fee41d 23.90137%,#fc0 50.14648%,#fee41d 75%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.common_container .container_top{background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_top_bj.png) 50% no-repeat;background-size:100% 100%;width:100%;height:4.8vw}.common_container .container_bottom{background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_bottom_bj.png) 50% no-repeat;background-size:100% 100%;width:100%;height:5.866667vw}.common_container .container_content{background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_middle_bj.png);background-size:contain;width:100%;min-height:6.666667vw;margin:-1px 0;padding:1.6vw 4vw}.popup__container{position:fixed;left:0;top:0;width:100vw;height:100vh;background:rgba(0,0,0,.6);z-index:99}.popup__container .content__container{width:85.333333vw;min-height:64vw;border-radius:1.333333vw;background:#fff;top:42.666667vw}.popup__container .content__container,.popup__container .content__container .close__btn{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.popup__container .content__container .close__btn{width:8.8vw;height:8.8vw;bottom:-15.2vw}.year-index-course .boss__add{font-size:3.2vw;color:#fff;text-align:center;height:4.266667vw;line-height:4.266667vw;text-decoration:underline;display:block;margin:3.2vw auto 0}.year-index-course .course-conter .course-item{width:44.8vw;padding:1.066667vw;background-color:#fff;position:relative;border-radius:.533333vw}.year-index-course .course-conter .course-item span{position:absolute;right:1.066667vw;top:1.066667vw;width:16vw;display:block;text-align:center;padding-left:1.333333vw;border-radius:0 0 0 2.666667vw;background-color:#eb1612;color:#fff;font-size:3.2vw}.year-index-course .course-conter .course-item a{width:42.666667vw;height:27.733333vw}.year-index-course .course-conter .course-item a img{width:100%;height:100%}.year-index-course .course-box{display:flex;justify-content:space-between;flex-wrap:wrap}.year-index-course .course-box .course-container{width:44.8vw;margin:4vw 0 0;text-align:center;position:relative}.year-index-course .course-box .group-num{width:17.6vw;height:4.266667vw;position:absolute;left:2.666667vw;top:2.666667vw;line-height:4.266667vw;background:#ca161c;opacity:.8;border-radius:1px;font-size:3.2vw;color:#fff;text-align:center}.year-index-course .course-box .bargain-price{position:absolute;left:1.066667vw;top:2.666667vw;margin:0;height:4.8vw;padding:0 2.133333vw;border-radius:0 2.4vw 2.4vw 0;font-size:3.2vw;color:#fff;line-height:4.8vw;background-color:#f01d0e}.year-index-course .course-box .coupon-course__footer .course-title{padding-left:2.666667vw;font-size:4vw;color:#333;font-weight:500;margin-top:1.866667vw}.year-index-course .course-box .coupon-course__footer .btn{display:inline-block;width:36.8vw;height:6.4vw;text-align:center;line-height:6.4vw;border-radius:.533333vw;font-size:3.2vw;outline:none;border:none;letter-spacing:1px}.year-index-course .course-box .coupon-course__footer .big-course{background-color:#fee41d;border:1px solid #090f08;color:#090f08;margin-top:2.666667vw}.year-index-course .course-box .coupon-course__footer .to-study{background-color:#09f;color:#fff;position:absolute;left:2.666667vw;bottom:2.666667vw}.year-index-course .course-box .coupon-course__footer .free-study{background:-webkit-gradient(linear,right top,left top,from(#eb1612),to(#f92927));background:-webkit-linear-gradient(right,#eb1612,#f92927);background:linear-gradient(-90deg,#eb1612,#f92927);color:#fff;margin-top:2.666667vw}.year-index-course .course-box .coupon-course__footer .free-course-num{font-size:3.2vw;color:#070f08;margin-top:1.866667vw;letter-spacing:1px}.year-index-course .course-box .coupon-course__footer .free-course-num span{font-size:3.733333vw;color:#ff0002}.year-index-course .course-box .type{text-align:left;padding-left:1.866667vw;margin-top:.8vw}.year-index-course .course-box .type .tag{height:3.733333vw;color:#fff}.year-index-course .course-box .type .tag,.year-index-course .course-box .type .time{display:inline-block;padding:0 1.6vw;line-height:4vw;text-align:center;font-size:3.2vw;position:relative;z-index:0}.year-index-course .course-box .type .time{height:4vw;margin-left:1.333333vw;color:#555}.year-index-course .course-box .type .time:before{background-color:#e6e6e6}.year-index-course .course-box .type .tag:before,.year-index-course .course-box .type .time:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;-webkit-transform:skewX(-20deg);transform:skewX(-20deg);z-index:-1}.year-index-course .course-box .type .tag:before{background-color:#ff0002}.year-index-course .course-box .type .tag[data-color=green]:before{background-color:#357345}.year-index-course .course-box .price{margin-top:.8vw;padding-left:1.066667vw;font-size:3.2vw;color:#ff0002;text-align:left}.year-index-course .course-box .price.price-group{font-size:0;height:8vw}.year-index-course .course-box .price .price-label{font-size:3.2vw}.year-index-course .course-box .price .new-price{font-size:4.266667vw}.year-index-course .course-box .price .old-price{margin-left:.533333vw;font-size:3.2vw;color:#666}.year-index-course .course-box .status{position:absolute;left:0;bottom:2.666667vw;right:0;padding:0 1.333333vw;text-align:left}.year-index-course .course-box .status[data-layout=row]{display:flex}.year-index-course .course-box .status[data-layout=row] .to-group{font-size:3.2vw}.year-index-course .course-box .status[data-layout=row] .to-group:first-child{margin-right:.533333vw}.year-index-course .course-box .status[data-layout=row] .to-group:nth-child(2){margin-left:.533333vw}.year-index-course .course-box .status .status-btn{display:inline-block;height:5.866667vw;line-height:5.866667vw;border-radius:.533333vw;text-align:center;font-size:3.2vw;color:#fff}.year-index-course .course-box .status .to-buy{width:14.666667vw;background-color:#ff8080}.year-index-course .course-box .status .to-group{display:block;width:100%;height:5.866667vw;border-radius:2.933333vw;box-sizing:border-box;font-size:3.733333vw;color:#fff;text-align:center;line-height:5.866667vw;background:-webkit-gradient(linear,right top,left top,from(#eb1612),to(#ff0002));background:-webkit-linear-gradient(right,#eb1612,#ff0002);background:linear-gradient(-90deg,#eb1612,#ff0002)}.year-index-course .course-box .status .to-group[data-status=study]{background:#09f}.year-index-course .course-box .status .to-group[data-status=done]{border:1px solid #090f08;font-size:3.2vw;color:#090f08;background:#fee41d}.year-index-course .course-box .status .add-wish,.year-index-course .course-box .status .add-wish-success{width:23.466667vw;margin-left:1.333333vw;outline:none;color:#ff0002;background-color:#fff;border:1px solid #ff0002}.year-index-course .course-box .status .add-wish-success img,.year-index-course .course-box .status .add-wish img{width:3.2vw;height:2.933333vw;margin-right:.533333vw;position:relative;top:1px}.year-index-course .course-box .status .add-wish-success{color:#fff;background:-webkit-gradient(linear,left top,right top,from(#eb1612),to(#f92927));background:-webkit-linear-gradient(left,#eb1612,#f92927);background:linear-gradient(90deg,#eb1612,#f92927)}.year-index-course .bigcourse .course-container{height:41.6vw}.year-index-course .freecourse .course-container{height:47.2vw}.year-index-course .groupcourse .course-container{height:52vw}.year-index-course .groupcourse[data-stage="2"] .course-container{height:57.333333vw}.year-index-course .progree-and-sale{display:flex;align-items:center;justify-content:center;padding-left:1.333333vw}.year-index-course .progress{width:24vw;height:2.133333vw;border-radius:1.066667vw;background-color:#e6e6e6}.year-index-course .progress_bar{display:block;width:10%;height:100%;border-radius:1.066667vw 0 0 1.066667vw;background-color:#ff0002}.year-index-course .sale-sum{flex:1 1;margin:0;font-size:3.2vw;color:#333;text-align:center;line-height:1}.year-index-course .ai-course__subtitle{width:19.466667vw;height:6.4vw;margin:4vw auto 0;border-radius:3.2vw;font-size:3.733333vw;font-weight:500;color:#070f08;text-align:center;line-height:5.866667vw;letter-spacing:.533333vw;background-color:#ffe300;border:1px solid #070f08}.year-index-course .more-button{display:block;width:20vw;height:6.933333vw;margin:4vw auto 1.333333vw;padding:0;border-radius:3.2vw;font-size:3.2vw;font-weight:400;color:#fff;line-height:6.933333vw;cursor:pointer;outline:none;background-color:#0f6237;border:none;letter-spacing:1px}.year-index-course .sub__code_container{padding:5.333333vw}.year-index-course .save-image{display:block;width:35.466667vw;height:8vw;margin:5.333333vw auto 0;background:#5327fa;border-radius:4vw;font-size:3.733333vw;color:#fff;-webkit-appearance:none;outline:0;border:none}.year-index-course .nav-right{width:26.666667vw;height:33.333333vw;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/sd_fc_bj.png);background-repeat:no-repeat;background-size:cover;position:fixed;right:0;bottom:20%;margin-top:-15.2vw;z-index:22}.year-index-course .nav-right .nav-right__link{display:block;position:relative;font-size:3.2vw;font-weight:500;color:#fff;text-align:center;top:12.533333vw;line-height:6.666667vw}.year-index-course .nav-right .nav-right__number{position:absolute;top:-1.333333vw;right:1.333333vw;padding:0 1.333333vw;border:1px solid #f7d067;border-radius:1.866667vw 1.866667vw 1.866667vw 0;font-size:3.2vw;font-style:normal;color:#fee41d;background-color:#ff4f24;height:4.266667vw;line-height:3.733333vw}.year-index-course .nav-right-wish{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/fanc-bx.png)}.year-index-course .nav-right-wish .nav-right__link{top:16vw;left:2.666667vw}.course-container{width:44.8vw;margin:0 1.066667vw 4vw;border-radius:.533333vw;background-color:#fff}.course__cover{position:relative;height:28.8vw;padding:1.066667vw 1.066667vw 0;overflow:hidden}.course__cover img{display:block;width:100%;height:100%}.course__time{position:absolute;left:1.066667vw;top:2.666667vw;margin:0;height:4.8vw;padding:0 2.133333vw;border-radius:0 2.4vw 2.4vw 0;font-size:3.2vw;color:#fff;line-height:4.8vw;background-color:#f01d0e}[data-skip=rank] .rank-title{display:flex;align-items:center;justify-content:center}[data-skip=rank] .rank-title__decorate{display:inline-block;width:2.933333vw;height:3.2vw;background-size:cover;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/icon-decorate-0.png)}[data-skip=rank] .rank-title__txt{position:relative;margin:0 2.133333vw;font-size:4.8vw;font-weight:400;color:#ffe300;text-align:center;line-height:1}[data-skip=rank] .rank-title__txt:after{content:"";position:absolute;top:-2.133333vw;right:-2.133333vw;width:3.733333vw;height:2.933333vw;background-size:cover;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/icon-decorate-1.png)}[data-skip=rank] .rank-desc{margin:1.866667vw 0 0;padding:0 12.8vw;font-size:3.2vw;color:#ffe300;text-align:center;line-height:4.266667vw}[data-skip=rank] .rank-header{margin:3.2vw 2.666667vw 0;border-radius:1.333333vw 1.333333vw 0 0;font-size:0;overflow:hidden}[data-skip=rank] .rank-header .rank-column{color:#1d5432;font-size:3.2vw;line-height:8vw;background-color:#ffe300}[data-skip=rank] .rank-body{margin:0 2.666667vw;border-left:1px solid #81f3af;border-bottom:1px solid #81f3af;border-right:1px solid #81f3af;border-radius:0 0 1.333333vw 1.333333vw;background-color:#1d5432}[data-skip=rank] .rank-item{border-bottom:1px solid #0e7442}[data-skip=rank] .rank-item .rank-column{display:inline-flex;align-items:center;justify-content:center;height:10.666667vw;font-size:3.2vw;color:#fff}[data-skip=rank] .rank-column{display:inline-block;text-align:center;vertical-align:middle}[data-skip=rank] .rank-column:first-child{width:10%}[data-skip=rank] .rank-column:nth-child(2){width:25%}[data-skip=rank] .rank-column:nth-child(3){width:20%}[data-skip=rank] .rank-column:nth-child(4){width:45%}[data-skip=rank] .rank-column__number{display:inline-block;width:2.933333vw;height:3.2vw;background-size:cover}[data-skip=rank] .rank-column__number[data-num="0"]{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/717/-s-diyiming.png)}[data-skip=rank] .rank-column__number[data-num="1"]{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/717/-s-dierming.png)}[data-skip=rank] .rank-column__number[data-num="2"]{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/717/-s-disanming.png)}[data-skip=rank] .rank-column__name,[data-skip=rank] .rank-column__txt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-skip=rank] .rank-column__txt{display:inline-block;width:100%;box-sizing:border-box;padding:0 1.333333vw;text-align:left}[data-skip=rank] a.rank-column__txt{text-decoration:underline}[data-skip=rank] .rank-more{display:flex;align-items:center;justify-content:center;height:10.666667vw}[data-skip=rank] .rank-more__txt{font-size:3.733333vw;color:#fff}[data-skip=rank] .rank-more__icon{width:2.933333vw;height:3.2vw;margin-left:1.333333vw;background-size:cover;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/icon-arrow-double.png)}[data-skip=rank] .rank-more__icon[data-more=false]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.team_info__container{margin-bottom:8vw;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.team_info__container .team__member{height:19.2vw;width:100%;display:flex;justify-content:center;align-items:center;margin-bottom:4.266667vw}.team_info__container .team__member .member__list{height:13.333333vw;width:59.733333vw;display:flex;justify-content:flex-start;align-items:center;margin-right:3.2vw}.team_info__container .team__member .member__list .member__item{width:11.733333vw;height:13.333333vw;display:flex;flex-direction:column;justify-content:space-between;align-items:center;margin-left:1px}.team_info__container .team__member .member__list .member__item:first-child{margin-left:0}.team_info__container .team__member .member__list .member__item:first-child .member__join{border-radius:.533333vw 0 0 .533333vw}.team_info__container .team__member .member__list .member__item:last-child .member__join{border-radius:0 .533333vw .533333vw 0}.team_info__container .team__member .member__list .member__item .avatar__container{width:7.2vw;height:7.2vw;position:relative;border:1px solid #fff;border-radius:50%}.team_info__container .team__member .member__list .member__item .avatar__container .head__image{border-radius:50%;width:100%;height:100%}.team_info__container .team__member .member__list .member__item .avatar__container .shadow{width:6.4vw;height:.8vw;background:#1a3528;border-radius:50%;position:absolute;bottom:-1.6vw}.team_info__container .team__member .member__list .member__item .avatar__container .caption__flag{position:absolute;width:4.8vw;height:2.666667vw;left:50%;top:0}.team_info__container .team__member .member__list .member__item .member__join{width:10.666667vw;height:1.333333vw;background:#005833;box-shadow:1px 1px .533333vw 0 rgba(3,52,91,.35)}.team_info__container .team__member .member__list .member__item .join{background:#ffdd1d;box-shadow:inset 1px .533333vw .533333vw 0 hsla(0,0%,99.2%,.46),inset 1px .533333vw .533333vw 0 hsla(0,0%,99.2%,.46)}.team_info__container .team__member .box__number{width:28.8vw;height:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;position:relative}.team_info__container .team__member .box__number img{width:24.533333vw;height:13.333333vw}.team_info__container .team__member .box__number .box__text{width:266.666667vw;font-size:26.666667vw;-webkit-transform:scale(.1);transform:scale(.1);text-decoration:underline;color:#ffe300;position:absolute;bottom:-19.2vw;text-align:center}.team_info__container .team__member .box__number .position__arrow{width:4.8vw;height:4.8vw;position:absolute;left:-1.866667vw;top:4.8vw}.team_info__container .team__member .box__number .position__number{min-width:5.866667vw;height:4.8vw;font-size:3.2vw;background:#ff3c16;border:1px solid #ffe300;border-radius:2.4vw 2.4vw 2.4vw 0;color:#ffe300;position:absolute;display:flex;justify-content:center;align-items:center;padding:0 1.333333vw;right:-1.066667vw;top:-1.066667vw}.team_info__container .invite__btn{width:85.333333vw;height:11.733333vw;background:#ffe300;border-radius:.8vw;display:flex;justify-content:center;align-items:center;font-size:4vw;color:#0b7b45;margin-bottom:3.2vw}.team_info__container .stage_prize{font-size:3.2vw;line-height:3.2vw;color:#ffe300;text-align:center}.prizes-box,.prizes-box .bg,.prizes-box .inner-box,.trans-height{-webkit-transition:height .25s ease-in-out;transition:height .25s ease-in-out}.prizes-box{position:relative;height:92.8vw;background-size:100% auto}.prizes-box .show-more{position:absolute;bottom:8vw;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:33.333333vw;height:7.2vw;background:#ff2121;border:.533333vw solid #ff2121;border-radius:1.333333vw 1.333333vw 0 0;font-size:3.466667vw;color:#fff;line-height:7.2vw;text-align:center;z-index:20}.prizes-box .show-more img{margin-left:1.2vw;width:2.68vw}.prizes-box .rule-btn{position:absolute;top:8.666667vw;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);color:#ffdd1d;font-size:3.2vw;text-decoration:underline}.prizes-box:before{content:"";display:block;width:100%;background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/landing-box-head.png) no-repeat;background-size:100% auto;height:39.6vw}.prizes-box:after{content:"";display:block;width:100%;background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/landing-box-footer.png) no-repeat;background-size:100% auto;height:22.666667vw;margin-top:-1px}.prizes-box .bg{width:100%;height:30.666667vw;margin-top:-1px;overflow:hidden;z-index:10;background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/landing-box-bg.png) repeat-y;background-size:100% auto}.prizes-box .inner-box{position:absolute;top:34.666667vw;left:0;width:100%;z-index:20;height:49.866667vw;overflow:hidden}.prizes-box .prize-list{display:flex;flex-flow:wrap;padding:0 15.2vw}.prizes-box .prize-list li:nth-of-type(2n){margin-right:0}.prizes-box .prize-list li{position:relative;width:33.333333vw;height:26.4vw;background:#fff;border:.533333vw solid #ffe300;box-shadow:0 .533333vw 1.066667vw 0 rgba(0,0,0,.1);border-radius:1px;margin-right:2.8vw;margin-bottom:1.733333vw}.prizes-box .prize-list li .prize-list__image{display:block;width:100%;height:100%;background-position:50%;background-size:cover}.prizes-box .prize-list li img{width:24vw;object-fit:contain}.prizes-box .prize-list li:last-child{display:flex;align-items:center;justify-content:center}.prizes-box .prize-list .top-tag{position:absolute;top:0;right:0;border-radius:0 0 0 1.066667vw;font-size:3.2vw;line-height:4.266667vw;text-align:center;padding:0 1.066667vw;color:#fff}.prizes-box .prize-list .captain{background:-webkit-gradient(linear,right top,left top,from(#ff5d00),to(#ff1700));background:-webkit-linear-gradient(right,#ff5d00,#ff1700);background:linear-gradient(270deg,#ff5d00,#ff1700)}.prizes-box .prize-list .stage{background:-webkit-gradient(linear,right top,left top,from(#004bfb),to(#009cff));background:-webkit-linear-gradient(right,#004bfb,#009cff);background:linear-gradient(-90deg,#004bfb,#009cff)}.prizes-box .prize-list .no-limit{right:0;padding:0 1.066667vw;border-radius:1.6vw 0 0 0}.prizes-box .prize-list .bottom-bar,.prizes-box .prize-list .no-limit{position:absolute;bottom:0;background:rgba(0,0,0,.8);font-size:3.2vw;color:#fff}.prizes-box .prize-list .bottom-bar{left:0;width:100%;padding:0 1.333333vw;display:flex;justify-content:space-between;align-items:center}.prizes-box .prize-list .bottom-bar .progress-bar{position:relative;flex:0 1 12vw;height:.533333vw;background:#fff;border-radius:1px}.prizes-box .prize-list .bottom-bar .progress-bar .progress{position:absolute;right:0;top:0;height:100%;background:-webkit-gradient(linear,right top,left top,from(#ff8c00),to(#ff1700));background:-webkit-linear-gradient(right,#ff8c00,#ff1700);background:linear-gradient(-90deg,#ff8c00,#ff1700);border-radius:1px}.common_container .container_content .prizes-box{margin:0 -4vw}.landing-treasure-rules{width:85.333333vw}.landing-treasure-rules.popup-container{top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.landing-treasure-rules.popup-container .title{font-size:4.8vw;color:#111}.landing-treasure-rules .content{padding:0 5.066667vw 4vw;margin-top:5.866667vw;color:#666;font-size:3.733333vw}.landing-treasure-rules .content li{margin-bottom:1.333333vw}#user-bullet-screen,.bullet-screen{width:87.733333vw;height:8vw;margin:0 auto 7.466667vw;background:rgba(0,0,0,.6);border-radius:4vw;line-height:8vw;text-align:left}#user-bullet-screen li,.bullet-screen li{height:100%;padding:.533333vw;line-height:6.933333vw;display:flex;align-items:center}#user-bullet-screen .avatar,.bullet-screen .avatar{width:6.933333vw;height:6.933333vw;border-radius:50%;margin-right:1.866667vw;vertical-align:middle}#user-bullet-screen span:first-of-type,.bullet-screen span:first-of-type{margin-right:1.333333vw}#user-bullet-screen span,.bullet-screen span{font-size:3.2vw;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.treasure-nav[data-skip=nav]{display:flex;align-items:center;justify-content:center;height:8vw;background-color:#357345}.treasure-nav.fixed{position:fixed;top:0;width:100%;z-index:999}[data-skip=nav] .treasure-nav__item{flex:1 1;box-sizing:border-box;font-size:3.2vw;color:#fff;text-align:center;line-height:6.933333vw}[data-skip=nav] .treasure-nav__item.active{border:1px solid #090f08;border-radius:.8vw;color:#090f08;background-color:#fee41d} .year-index{padding-bottom:8vw;background-color:#66b679}.year-index .banner-treasure__header{height:85.333333vw;background-size:cover;background-position:50%}.year-index .banner-treasure__nav{height:8vw}.year-index .banner-treasure__decorate{height:5.333333vw}.year-index .sub__code_container{padding:5.333333vw 8vw;text-align:center}.year-index .sub__code_container .sub__title{font-size:4.8vw;color:#111;font-weight:400}.year-index .sub__code_container .sub__qr_code{width:36.533333vw;height:36.533333vw}.year-index .sub__code_container .sub__tip{font-size:3.733333vw;color:#666;margin:3.466667vw 0;letter-spacing:1px}.year-index .sub__code_container .sub__tip i{font-style:normal;color:red;font-size:4.266667vw}.year-index .sub__code_container .sub__rule{font-size:3.733333vw;color:#666;text-align:left;margin-top:5.333333vw;margin-bottom:1.333333vw}.year-index .btm-rule{color:#fff;font-size:3.2vw;width:100%;text-align:center}.year-index+.year19-index{display:none}.live__container .live_room_item{width:88vw;height:26.666667vw;display:flex;justify-content:center;align-items:center;padding-bottom:4vw;margin:4vw auto 0}.live__container .live_room_item:first-child{border-bottom:1px solid #0d4d2b}.live__container .live_room_item .user__avatar{width:19.466667vw;height:22.666667vw;flex:0 0 auto;margin-right:3.2vw;background:#ddd;border-radius:1.066667vw}.live__container .live_room_item .live__info{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;color:#fff;font-size:3.733333vw;width:65.6vw;height:22.666667vw;position:relative}.live__container .live_room_item .live__info .info__item{display:flex;justify-content:flex-start;align-content:center}.live__container .live_room_item .live__info .info__item:nth-child(2){margin:2.4vw 0}.live__container .live_room_item .live__info .info__item span{width:12.266667vw;flex:0 0 auto;color:#eaf787;line-height:4.266667vw}.live__container .live_room_item .live__info .info__item p{line-height:4.266667vw}.live__container .live_room_item .live__info .theme span{display:block;width:12.266667vw;float:left;color:#eaf787;line-height:4.266667vw}.live__container .live_room_item .live__info .theme p{width:52.8vw;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;float:left;line-height:4.266667vw;color:#fff;-webkit-box-orient:vertical}.live__container .live_room_item .live__info .order__btn{position:absolute;right:0;bottom:0;width:23.733333vw;height:7.466667vw;border-radius:1.066667vw;display:flex;justify-content:center;align-items:center;color:#070f08;background:-webkit-gradient(linear,left top,right top,from(#ffe300),to(#ffca00));background:-webkit-linear-gradient(left,#ffe300,#ffca00);background:linear-gradient(90deg,#ffe300,#ffca00)}.live__container .live_room_item .live__info .subscribed{background:#fee41d}.live__container .live_room_item .live__info .live__end{background:#999;color:#fff}.live__container .live_room_item .live__info .living{background:#09f;color:#fff}.live__container .live_room_item .live__info .check__video{background:#72dc8d;color:#fff}.live__container .sub__code_container{display:flex;flex-direction:column;justify-content:center;align-items:center}.live__container .sub__code_container .sub__title{color:#525c65;font-size:4.266667vw;line-height:4.266667vw;font-weight:500;text-align:center;margin:5.333333vw 0}.live__container .save-image{margin-top:4.266667vw;width:72vw;height:11.733333vw;background:#ffe319;border:1px solid #090909;border-radius:1.333333vw;font-size:4.266667vw;font-weight:400;color:#090909}.common_container{margin-bottom:9.333333vw}.common_container .title_container{width:100%;display:flex;flex-direction:column;justify-content:center;align-content:center}.common_container .title_container i{width:61.333333vw;height:.533333vw;background:-webkit-gradient(linear,left top,right top,from(rgba(254,228,29,0)),color-stop(48%,rgba(254,228,29,.98)),to(rgba(254,228,29,0)));background:-webkit-linear-gradient(left,rgba(254,228,29,0),rgba(254,228,29,.98) 48%,rgba(254,228,29,0));background:linear-gradient(90deg,rgba(254,228,29,0),rgba(254,228,29,.98) 48%,rgba(254,228,29,0));margin:0 auto}.common_container .title_container p{font-size:4.8vw;line-height:4.8vw;font-weight:500;color:#fee41d;margin:2.133333vw auto;background:-webkit-gradient(linear,left bottom,left top,color-stop(23.90137%,#fee41d),color-stop(50.14648%,#fc0),color-stop(75%,#fee41d));background:-webkit-linear-gradient(bottom,#fee41d 23.90137%,#fc0 50.14648%,#fee41d 75%);background:linear-gradient(0deg,#fee41d 23.90137%,#fc0 50.14648%,#fee41d 75%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.common_container .container_top{background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_top_bj.png) 50% no-repeat;background-size:100% 100%;width:100%;height:4.8vw}.common_container .container_bottom{background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_bottom_bj.png) 50% no-repeat;background-size:100% 100%;width:100%;height:5.866667vw}.common_container .container_content{background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_middle_bj.png);background-size:contain;width:100%;min-height:6.666667vw;margin:-1px 0;padding:1.6vw 4vw}.popup__container{position:fixed;left:0;top:0;width:100vw;height:100vh;background:rgba(0,0,0,.6);z-index:99}.popup__container .content__container{width:85.333333vw;min-height:64vw;border-radius:1.333333vw;background:#fff;top:42.666667vw}.popup__container .content__container,.popup__container .content__container .close__btn{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.popup__container .content__container .close__btn{width:8.8vw;height:8.8vw;bottom:-15.2vw}.year-index-course .boss__add{font-size:3.2vw;color:#fff;text-align:center;height:4.266667vw;line-height:4.266667vw;text-decoration:underline;display:block;margin:3.2vw auto 0}.year-index-course .course-conter .course-item{width:44.8vw;padding:1.066667vw;background-color:#fff;position:relative;border-radius:.533333vw}.year-index-course .course-conter .course-item span{position:absolute;right:1.066667vw;top:1.066667vw;width:16vw;display:block;text-align:center;padding-left:1.333333vw;border-radius:0 0 0 2.666667vw;background-color:#eb1612;color:#fff;font-size:3.2vw}.year-index-course .course-conter .course-item a{width:42.666667vw;height:27.733333vw}.year-index-course .course-conter .course-item a img{width:100%;height:100%}.year-index-course .course-box{display:flex;justify-content:space-between;flex-wrap:wrap}.year-index-course .course-box .course-container{width:44.8vw;margin:4vw 0 0;text-align:center;position:relative}.year-index-course .course-box .group-num{width:17.6vw;height:4.266667vw;position:absolute;left:2.666667vw;top:2.666667vw;line-height:4.266667vw;background:#ca161c;opacity:.8;border-radius:1px;font-size:3.2vw;color:#fff;text-align:center}.year-index-course .course-box .bargain-price{position:absolute;left:1.066667vw;top:2.666667vw;margin:0;height:4.8vw;padding:0 2.133333vw;border-radius:0 2.4vw 2.4vw 0;font-size:3.2vw;color:#fff;line-height:4.8vw;background-color:#f01d0e}.year-index-course .course-box .coupon-course__footer .course-title{padding-left:2.666667vw;font-size:4vw;color:#333;font-weight:500;margin-top:1.866667vw}.year-index-course .course-box .coupon-course__footer .btn{display:inline-block;width:36.8vw;height:6.4vw;text-align:center;line-height:6.4vw;border-radius:.533333vw;font-size:3.2vw;outline:none;border:none;letter-spacing:1px}.year-index-course .course-box .coupon-course__footer .big-course{background-color:#fee41d;border:1px solid #090f08;color:#090f08;margin-top:2.666667vw}.year-index-course .course-box .coupon-course__footer .to-study{background-color:#09f;color:#fff;position:absolute;left:2.666667vw;bottom:2.666667vw}.year-index-course .course-box .coupon-course__footer .free-study{background:-webkit-gradient(linear,right top,left top,from(#eb1612),to(#f92927));background:-webkit-linear-gradient(right,#eb1612,#f92927);background:linear-gradient(-90deg,#eb1612,#f92927);color:#fff;margin-top:2.666667vw}.year-index-course .course-box .coupon-course__footer .free-course-num{font-size:3.2vw;color:#070f08;margin-top:1.866667vw;letter-spacing:1px}.year-index-course .course-box .coupon-course__footer .free-course-num span{font-size:3.733333vw;color:#ff0002}.year-index-course .course-box .type{text-align:left;padding-left:1.866667vw;margin-top:.8vw}.year-index-course .course-box .type .tag{height:3.733333vw;color:#fff}.year-index-course .course-box .type .tag,.year-index-course .course-box .type .time{display:inline-block;padding:0 1.6vw;line-height:4vw;text-align:center;font-size:3.2vw;position:relative;z-index:0}.year-index-course .course-box .type .time{height:4vw;margin-left:1.333333vw;color:#555}.year-index-course .course-box .type .time:before{background-color:#e6e6e6}.year-index-course .course-box .type .tag:before,.year-index-course .course-box .type .time:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;-webkit-transform:skewX(-20deg);transform:skewX(-20deg);z-index:-1}.year-index-course .course-box .type .tag:before{background-color:#ff0002}.year-index-course .course-box .type .tag[data-color=green]:before{background-color:#357345}.year-index-course .course-box .price{margin-top:.8vw;padding-left:1.066667vw;font-size:3.2vw;color:#ff0002;text-align:left}.year-index-course .course-box .price.price-group{font-size:0;height:8vw}.year-index-course .course-box .price .price-label{font-size:3.2vw}.year-index-course .course-box .price .new-price{font-size:4.266667vw}.year-index-course .course-box .price .old-price{margin-left:.533333vw;font-size:3.2vw;color:#666}.year-index-course .course-box .status{position:absolute;left:0;bottom:2.666667vw;right:0;padding:0 1.333333vw;text-align:left}.year-index-course .course-box .status[data-layout=row]{display:flex}.year-index-course .course-box .status[data-layout=row] .to-group{font-size:3.2vw}.year-index-course .course-box .status[data-layout=row] .to-group:first-child{margin-right:.533333vw}.year-index-course .course-box .status[data-layout=row] .to-group:nth-child(2){margin-left:.533333vw}.year-index-course .course-box .status .status-btn{display:inline-block;height:5.866667vw;line-height:5.866667vw;border-radius:.533333vw;text-align:center;font-size:3.2vw;color:#fff}.year-index-course .course-box .status .to-buy{width:14.666667vw;background-color:#ff8080}.year-index-course .course-box .status .to-group{display:block;width:100%;height:5.866667vw;border-radius:2.933333vw;box-sizing:border-box;font-size:3.733333vw;color:#fff;text-align:center;line-height:5.866667vw;background:-webkit-gradient(linear,right top,left top,from(#eb1612),to(#ff0002));background:-webkit-linear-gradient(right,#eb1612,#ff0002);background:linear-gradient(-90deg,#eb1612,#ff0002)}.year-index-course .course-box .status .to-group[data-status=study]{background:#09f}.year-index-course .course-box .status .to-group[data-status=done]{border:1px solid #090f08;font-size:3.2vw;color:#090f08;background:#fee41d}.year-index-course .course-box .status .add-wish,.year-index-course .course-box .status .add-wish-success{width:23.466667vw;margin-left:1.333333vw;outline:none;color:#ff0002;background-color:#fff;border:1px solid #ff0002}.year-index-course .course-box .status .add-wish-success img,.year-index-course .course-box .status .add-wish img{width:3.2vw;height:2.933333vw;margin-right:.533333vw;position:relative;top:1px}.year-index-course .course-box .status .add-wish-success{color:#fff;background:-webkit-gradient(linear,left top,right top,from(#eb1612),to(#f92927));background:-webkit-linear-gradient(left,#eb1612,#f92927);background:linear-gradient(90deg,#eb1612,#f92927)}.year-index-course .bigcourse .course-container{height:41.6vw}.year-index-course .freecourse .course-container{height:47.2vw}.year-index-course .groupcourse .course-container{height:52vw}.year-index-course .groupcourse[data-stage="2"] .course-container{height:57.333333vw}.year-index-course .progree-and-sale{display:flex;align-items:center;justify-content:center;padding-left:1.333333vw}.year-index-course .progress{width:24vw;height:2.133333vw;border-radius:1.066667vw;background-color:#e6e6e6}.year-index-course .progress_bar{display:block;width:10%;height:100%;border-radius:1.066667vw 0 0 1.066667vw;background-color:#ff0002}.year-index-course .sale-sum{flex:1 1;margin:0;font-size:3.2vw;color:#333;text-align:center;line-height:1}.year-index-course .ai-course__subtitle{width:19.466667vw;height:6.4vw;margin:4vw auto 0;border-radius:3.2vw;font-size:3.733333vw;font-weight:500;color:#070f08;text-align:center;line-height:5.866667vw;letter-spacing:.533333vw;background-color:#ffe300;border:1px solid #070f08}.year-index-course .more-button{display:block;width:20vw;height:6.933333vw;margin:4vw auto 1.333333vw;padding:0;border-radius:3.2vw;font-size:3.2vw;font-weight:400;color:#fff;line-height:6.933333vw;cursor:pointer;outline:none;background-color:#0f6237;border:none;letter-spacing:1px}.year-index-course .sub__code_container{padding:5.333333vw}.year-index-course .save-image{display:block;width:35.466667vw;height:8vw;margin:5.333333vw auto 0;background:#5327fa;border-radius:4vw;font-size:3.733333vw;color:#fff;-webkit-appearance:none;outline:0;border:none}.year-index-course .nav-right{width:26.666667vw;height:33.333333vw;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/sd_fc_bj.png);background-repeat:no-repeat;background-size:cover;position:fixed;right:0;bottom:20%;margin-top:-15.2vw;z-index:22}.year-index-course .nav-right .nav-right__link{display:block;position:relative;font-size:3.2vw;font-weight:500;color:#fff;text-align:center;top:12.533333vw;line-height:6.666667vw}.year-index-course .nav-right .nav-right__number{position:absolute;top:-1.333333vw;right:1.333333vw;padding:0 1.333333vw;border:1px solid #f7d067;border-radius:1.866667vw 1.866667vw 1.866667vw 0;font-size:3.2vw;font-style:normal;color:#fee41d;background-color:#ff4f24;height:4.266667vw;line-height:3.733333vw}.year-index-course .nav-right-wish{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/fanc-bx.png)}.year-index-course .nav-right-wish .nav-right__link{top:16vw;left:2.666667vw}.course-container{width:44.8vw;margin:0 1.066667vw 4vw;border-radius:.533333vw;background-color:#fff}.course__cover{position:relative;height:28.8vw;padding:1.066667vw 1.066667vw 0;overflow:hidden}.course__cover img{display:block;width:100%;height:100%}.course__time{position:absolute;left:1.066667vw;top:2.666667vw;margin:0;height:4.8vw;padding:0 2.133333vw;border-radius:0 2.4vw 2.4vw 0;font-size:3.2vw;color:#fff;line-height:4.8vw;background-color:#f01d0e}[data-skip=rank] .rank-title{display:flex;align-items:center;justify-content:center}[data-skip=rank] .rank-title__decorate{display:inline-block;width:2.933333vw;height:3.2vw;background-size:cover;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/icon-decorate-0.png)}[data-skip=rank] .rank-title__txt{position:relative;margin:0 2.133333vw;font-size:4.8vw;font-weight:400;color:#ffe300;text-align:center;line-height:1}[data-skip=rank] .rank-title__txt:after{content:"";position:absolute;top:-2.133333vw;right:-2.133333vw;width:3.733333vw;height:2.933333vw;background-size:cover;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/icon-decorate-1.png)}[data-skip=rank] .rank-desc{margin:1.866667vw 0 0;padding:0 12.8vw;font-size:3.2vw;color:#ffe300;text-align:center;line-height:4.266667vw}[data-skip=rank] .rank-header{margin:3.2vw 2.666667vw 0;border-radius:1.333333vw 1.333333vw 0 0;font-size:0;overflow:hidden}[data-skip=rank] .rank-header .rank-column{color:#1d5432;font-size:3.2vw;line-height:8vw;background-color:#ffe300}[data-skip=rank] .rank-body{margin:0 2.666667vw;border-left:1px solid #81f3af;border-bottom:1px solid #81f3af;border-right:1px solid #81f3af;border-radius:0 0 1.333333vw 1.333333vw;background-color:#1d5432}[data-skip=rank] .rank-item{border-bottom:1px solid #0e7442}[data-skip=rank] .rank-item .rank-column{display:inline-flex;align-items:center;justify-content:center;height:10.666667vw;font-size:3.2vw;color:#fff}[data-skip=rank] .rank-column{display:inline-block;text-align:center;vertical-align:middle}[data-skip=rank] .rank-column:first-child{width:10%}[data-skip=rank] .rank-column:nth-child(2){width:25%}[data-skip=rank] .rank-column:nth-child(3){width:20%}[data-skip=rank] .rank-column:nth-child(4){width:45%}[data-skip=rank] .rank-column__number{display:inline-block;width:2.933333vw;height:3.2vw;background-size:cover}[data-skip=rank] .rank-column__number[data-num="0"]{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/717/-s-diyiming.png)}[data-skip=rank] .rank-column__number[data-num="1"]{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/717/-s-dierming.png)}[data-skip=rank] .rank-column__number[data-num="2"]{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/717/-s-disanming.png)}[data-skip=rank] .rank-column__name,[data-skip=rank] .rank-column__txt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-skip=rank] .rank-column__txt{display:inline-block;width:100%;box-sizing:border-box;padding:0 1.333333vw;text-align:left}[data-skip=rank] a.rank-column__txt{text-decoration:underline}[data-skip=rank] .rank-more{display:flex;align-items:center;justify-content:center;height:10.666667vw}[data-skip=rank] .rank-more__txt{font-size:3.733333vw;color:#fff}[data-skip=rank] .rank-more__icon{width:2.933333vw;height:3.2vw;margin-left:1.333333vw;background-size:cover;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/icon-arrow-double.png)}[data-skip=rank] .rank-more__icon[data-more=false]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.team_info__container{margin-bottom:8vw;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.team_info__container .team__member{height:19.2vw;width:100%;display:flex;justify-content:center;align-items:center;margin-bottom:4.266667vw}.team_info__container .team__member .member__list{height:13.333333vw;width:59.733333vw;display:flex;justify-content:flex-start;align-items:center;margin-right:3.2vw}.team_info__container .team__member .member__list .member__item{width:11.733333vw;height:13.333333vw;display:flex;flex-direction:column;justify-content:space-between;align-items:center;margin-left:1px}.team_info__container .team__member .member__list .member__item:first-child{margin-left:0}.team_info__container .team__member .member__list .member__item:first-child .member__join{border-radius:.533333vw 0 0 .533333vw}.team_info__container .team__member .member__list .member__item:last-child .member__join{border-radius:0 .533333vw .533333vw 0}.team_info__container .team__member .member__list .member__item .avatar__container{width:7.2vw;height:7.2vw;position:relative;border:1px solid #fff;border-radius:50%}.team_info__container .team__member .member__list .member__item .avatar__container .head__image{border-radius:50%;width:100%;height:100%}.team_info__container .team__member .member__list .member__item .avatar__container .shadow{width:6.4vw;height:.8vw;background:#1a3528;border-radius:50%;position:absolute;bottom:-1.6vw}.team_info__container .team__member .member__list .member__item .avatar__container .caption__flag{position:absolute;width:4.8vw;height:2.666667vw;left:50%;top:0}.team_info__container .team__member .member__list .member__item .member__join{width:10.666667vw;height:1.333333vw;background:#005833;box-shadow:1px 1px .533333vw 0 rgba(3,52,91,.35)}.team_info__container .team__member .member__list .member__item .join{background:#ffdd1d;box-shadow:inset 1px .533333vw .533333vw 0 hsla(0,0%,99.2%,.46),inset 1px .533333vw .533333vw 0 hsla(0,0%,99.2%,.46)}.team_info__container .team__member .box__number{width:28.8vw;height:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;position:relative}.team_info__container .team__member .box__number img{width:24.533333vw;height:13.333333vw}.team_info__container .team__member .box__number .box__text{width:266.666667vw;font-size:26.666667vw;-webkit-transform:scale(.1);transform:scale(.1);text-decoration:underline;color:#ffe300;position:absolute;bottom:-19.2vw;text-align:center}.team_info__container .team__member .box__number .position__arrow{width:4.8vw;height:4.8vw;position:absolute;left:-1.866667vw;top:4.8vw}.team_info__container .team__member .box__number .position__number{min-width:5.866667vw;height:4.8vw;font-size:3.2vw;background:#ff3c16;border:1px solid #ffe300;border-radius:2.4vw 2.4vw 2.4vw 0;color:#ffe300;position:absolute;display:flex;justify-content:center;align-items:center;padding:0 1.333333vw;right:-1.066667vw;top:-1.066667vw}.team_info__container .invite__btn{width:85.333333vw;height:11.733333vw;background:#ffe300;border-radius:.8vw;display:flex;justify-content:center;align-items:center;font-size:4vw;color:#0b7b45;margin-bottom:3.2vw}.team_info__container .stage_prize{font-size:3.2vw;line-height:3.2vw;color:#ffe300;text-align:center}.prizes-box,.prizes-box .bg,.prizes-box .inner-box,.trans-height{-webkit-transition:height .25s ease-in-out;transition:height .25s ease-in-out}.prizes-box{position:relative;height:92.8vw;background-size:100% auto}.prizes-box .show-more{position:absolute;bottom:8vw;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:33.333333vw;height:7.2vw;background:#ff2121;border:.533333vw solid #ff2121;border-radius:1.333333vw 1.333333vw 0 0;font-size:3.466667vw;color:#fff;line-height:7.2vw;text-align:center;z-index:20}.prizes-box .show-more img{margin-left:1.2vw;width:2.68vw}.prizes-box .rule-btn{position:absolute;top:8.666667vw;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);color:#ffdd1d;font-size:3.2vw;text-decoration:underline}.prizes-box:before{content:"";display:block;width:100%;background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/landing-box-head.png) no-repeat;background-size:100% auto;height:39.6vw}.prizes-box:after{content:"";display:block;width:100%;background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/landing-box-footer.png) no-repeat;background-size:100% auto;height:22.666667vw;margin-top:-1px}.prizes-box .bg{width:100%;height:30.666667vw;margin-top:-1px;overflow:hidden;z-index:10;background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/landing-box-bg.png) repeat-y;background-size:100% auto}.prizes-box .inner-box{position:absolute;top:34.666667vw;left:0;width:100%;z-index:20;height:49.866667vw;overflow:hidden}.prizes-box .prize-list{display:flex;flex-flow:wrap;padding:0 15.2vw}.prizes-box .prize-list li:nth-of-type(2n){margin-right:0}.prizes-box .prize-list li{position:relative;width:33.333333vw;height:26.4vw;background:#fff;border:.533333vw solid #ffe300;box-shadow:0 .533333vw 1.066667vw 0 rgba(0,0,0,.1);border-radius:1px;margin-right:2.8vw;margin-bottom:1.733333vw}.prizes-box .prize-list li .prize-list__image{display:block;width:100%;height:100%;background-position:50%;background-size:cover}.prizes-box .prize-list li img{width:24vw;object-fit:contain}.prizes-box .prize-list li:last-child{display:flex;align-items:center;justify-content:center}.prizes-box .prize-list .top-tag{position:absolute;top:0;right:0;border-radius:0 0 0 1.066667vw;font-size:3.2vw;line-height:4.266667vw;text-align:center;padding:0 1.066667vw;color:#fff}.prizes-box .prize-list .captain{background:-webkit-gradient(linear,right top,left top,from(#ff5d00),to(#ff1700));background:-webkit-linear-gradient(right,#ff5d00,#ff1700);background:linear-gradient(270deg,#ff5d00,#ff1700)}.prizes-box .prize-list .stage{background:-webkit-gradient(linear,right top,left top,from(#004bfb),to(#009cff));background:-webkit-linear-gradient(right,#004bfb,#009cff);background:linear-gradient(-90deg,#004bfb,#009cff)}.prizes-box .prize-list .no-limit{right:0;padding:0 1.066667vw;border-radius:1.6vw 0 0 0}.prizes-box .prize-list .bottom-bar,.prizes-box .prize-list .no-limit{position:absolute;bottom:0;background:rgba(0,0,0,.8);font-size:3.2vw;color:#fff}.prizes-box .prize-list .bottom-bar{left:0;width:100%;padding:0 1.333333vw;display:flex;justify-content:space-between;align-items:center}.prizes-box .prize-list .bottom-bar .progress-bar{position:relative;flex:0 1 12vw;height:.533333vw;background:#fff;border-radius:1px}.prizes-box .prize-list .bottom-bar .progress-bar .progress{position:absolute;right:0;top:0;height:100%;background:-webkit-gradient(linear,right top,left top,from(#ff8c00),to(#ff1700));background:-webkit-linear-gradient(right,#ff8c00,#ff1700);background:linear-gradient(-90deg,#ff8c00,#ff1700);border-radius:1px}.common_container .container_content .prizes-box{margin:0 -4vw}.landing-treasure-rules{width:85.333333vw}.landing-treasure-rules.popup-container{top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.landing-treasure-rules.popup-container .title{font-size:4.8vw;color:#111}.landing-treasure-rules .content{padding:0 5.066667vw 4vw;margin-top:5.866667vw;color:#666;font-size:3.733333vw}.landing-treasure-rules .content li{margin-bottom:1.333333vw}#user-bullet-screen,.bullet-screen{width:87.733333vw;height:8vw;margin:0 auto 7.466667vw;background:rgba(0,0,0,.6);border-radius:4vw;line-height:8vw;text-align:left}#user-bullet-screen li,.bullet-screen li{height:100%;padding:.533333vw;line-height:6.933333vw;display:flex;align-items:center}#user-bullet-screen .avatar,.bullet-screen .avatar{width:6.933333vw;height:6.933333vw;border-radius:50%;margin-right:1.866667vw;vertical-align:middle}#user-bullet-screen span:first-of-type,.bullet-screen span:first-of-type{margin-right:1.333333vw}#user-bullet-screen span,.bullet-screen span{font-size:3.2vw;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.treasure-nav[data-skip=nav]{display:flex;align-items:center;justify-content:center;height:8vw;background-color:#357345}.treasure-nav.fixed{position:fixed;top:0;width:100%;z-index:999}[data-skip=nav] .treasure-nav__item{flex:1 1;box-sizing:border-box;font-size:3.2vw;color:#fff;text-align:center;line-height:6.933333vw}[data-skip=nav] .treasure-nav__item.active{border:1px solid #090f08;border-radius:.8vw;color:#090f08;background-color:#fee41d}
/*# sourceMappingURL=treasure-box-home.742fb589.chunk.css.map */ /*# sourceMappingURL=treasure-box-home.7a60b4c8.chunk.css.map */
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/preheat/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/preheat/LiveRoom/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/common/commonContainer/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/common/commonPopup/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/preheat/YearCourse/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/blessingPreheat/courseItem/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/treasure-box/rank.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/treasure-box/team.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/common/prizes/prizes.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/common/user-bullet-screen/bullet-screen.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/preheat/nav.scss"],"names":[],"mappings":"AAmGA,YACE,kBAAA,CACA,wBAAyB,CAF3B,qCASI,kBAAA,CACA,qBAAA,CACA,uBAA2B,CAX/B,kCAeI,UAAY,CAfhB,uCAmBI,iBAAY,CAnBhB,iCAyBI,sBAAA,CACA,iBAAkB,CA1BtB,6CA6BM,eAAA,CACA,UAAA,CACA,eAAmB,CA/BzB,+CAmCM,iBAAA,CACA,kBAAa,CApCnB,2CAwCM,oBAAA,CACA,UAAA,CACA,mBAAA,CACA,kBAAmB,CA3CzB,6CA8CQ,iBAAA,CACA,SAAA,CACA,oBAAe,CAhDvB,4CAqDM,oBAAA,CACA,UAAA,CACA,eAAA,CACA,qBAAA,CACA,wBAAkB,CAzDxB,sBA8DI,UAAA,CACA,eAAA,CACA,UAAA,CACA,iBAAkB,CAItB,0BAC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,YAAA,CACA,kBAAmB,CAd3B,mDAkBQ,gBAAA,CACA,iBAAA,CACA,iBAAA,CACA,uBAAA,CACA,qBAAsB,CAtB9B,yEA0BQ,uBAAiB,CA1BzB,6CA8BQ,eAAA,CACA,UAAA,CACA,kBAAA,CACA,eAAA,CACA,sBAAuB,CClC/B,6BAGI,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,UAAA,CACA,wBAAyB,CAP7B,oBAWI,cAAA,CACA,KAAA,CACA,UAAA,CACA,WAAY,CAjFhB,oCAwFI,QAAA,CACA,qBAAA,CACA,eAAA,CACA,UAAA,CACA,iBAAA,CACA,sBAAiB,CAtFnB,2CAyFI,wBAAA,CACA,kBAAA,CACA,aAAA,CACA,wBAAyB","file":"treasure-box-home.742fb589.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.year-index {\n padding-bottom: 30px;\n background-color: #CD1110; }\n .year-index .banner-treasure__header {\n height: 320px;\n background-size: cover;\n background-position: center; }\n .year-index .banner-treasure__nav {\n height: 30px; }\n .year-index .banner-treasure__decorate {\n height: 20px; }\n .year-index .sub__code_container {\n padding: 20px 30px;\n text-align: center; }\n .year-index .sub__code_container .sub__title {\n font-size: 18px;\n color: #111;\n font-weight: normal; }\n .year-index .sub__code_container .sub__qr_code {\n width: 137px;\n height: 137px; }\n .year-index .sub__code_container .sub__tip {\n font-size: 14px;\n color: #666;\n margin: 13px 0;\n letter-spacing: 1px; }\n .year-index .sub__code_container .sub__tip i {\n font-style: normal;\n color: #FF0000;\n font-size: 16px; }\n .year-index .sub__code_container .sub__rule {\n font-size: 14px;\n color: #666;\n text-align: left;\n margin-top: 20px;\n margin-bottom: 5px; }\n .year-index .btm-rule {\n color: #fff;\n font-size: 12px;\n width: 100%;\n text-align: center; }\n\n.year-index + .year19-index {\n display: 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__container .live_room_item {\n width: 330px;\n height: 100px;\n margin: 0 auto;\n display: flex;\n justify-content: center;\n align-items: center;\n padding-bottom: 15px;\n margin-top: 15px; }\n .live__container .live_room_item:first-child {\n border-bottom: 1px solid #0d4d2b; }\n .live__container .live_room_item .user__avatar {\n width: 73px;\n height: 85px;\n flex: 0 0 auto;\n margin-right: 12px;\n background: #ddd;\n border-radius: 4px; }\n .live__container .live_room_item .live__info {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n color: #fff;\n font-size: 14px;\n width: 246px;\n height: 85px;\n position: relative; }\n .live__container .live_room_item .live__info .info__item {\n display: flex;\n justify-content: flex-start;\n align-content: center; }\n .live__container .live_room_item .live__info .info__item:nth-child(2) {\n margin: 9px 0; }\n .live__container .live_room_item .live__info .info__item span {\n width: 46px;\n flex: 0 0 auto;\n color: #eaf787;\n line-height: 16px; }\n .live__container .live_room_item .live__info .info__item p {\n line-height: 16px; }\n .live__container .live_room_item .live__info .theme span {\n display: block;\n width: 46px;\n float: left;\n color: #eaf787;\n line-height: 16px; }\n .live__container .live_room_item .live__info .theme p {\n width: 198px;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n float: left;\n line-height: 16px;\n color: #fff;\n /* autoprefixer: off */\n -webkit-box-orient: vertical; }\n .live__container .live_room_item .live__info .order__btn {\n position: absolute;\n right: 0;\n bottom: 0;\n width: 89px;\n height: 28px;\n border-radius: 4px;\n display: flex;\n justify-content: center;\n align-items: center;\n color: #070f08;\n background: linear-gradient(90deg, #ffe300 0%, #ffca00 100%); }\n .live__container .live_room_item .live__info .subscribed {\n background: #fee41d; }\n .live__container .live_room_item .live__info .live__end {\n background: #999;\n color: #fff; }\n .live__container .live_room_item .live__info .living {\n background: #0099ff;\n color: #fff; }\n .live__container .live_room_item .live__info .check__video {\n background: #72dc8d;\n color: #fff; }\n\n.live__container .sub__code_container {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center; }\n .live__container .sub__code_container .sub__title {\n color: #525c65;\n font-size: 16px;\n line-height: 16px;\n font-weight: 500;\n text-align: center;\n margin: 20px 0; }\n\n.live__container .save-image {\n margin-top: 16px;\n width: 270px;\n height: 44px;\n background: #ffe319;\n border: 1px solid #090909;\n border-radius: 5px;\n font-size: 16px;\n font-weight: normal;\n color: #090909; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.common_container {\n margin-bottom: 35px; }\n .common_container .title_container {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-content: center; }\n .common_container .title_container i {\n width: 230px;\n height: 2px;\n margin: auto;\n background: linear-gradient(90deg, rgba(254, 228, 29, 0) 0%, rgba(254, 228, 29, 0.98) 48%, rgba(254, 228, 29, 0) 100%);\n margin: 0 auto; }\n .common_container .title_container p {\n font-size: 18px;\n line-height: 18px;\n font-weight: 500;\n color: #fee41d;\n margin: 8px auto;\n background: linear-gradient(0deg, #fee41d 23.90137%, #ffcc00 50.14648%, #fee41d 75%);\n background-clip: text;\n -webkit-text-fill-color: transparent; }\n .common_container .container_top {\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_top_bj.png\") center center no-repeat;\n background-size: 100% 100%;\n width: 100%;\n height: 18px; }\n .common_container .container_bottom {\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_bottom_bj.png\") center center no-repeat;\n background-size: 100% 100%;\n width: 100%;\n height: 22px; }\n .common_container .container_content {\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_middle_bj.png\");\n background-size: contain;\n width: 100%;\n min-height: 25px;\n margin: -1px 0;\n padding: 6px 15px; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.popup__container {\n position: fixed;\n left: 0;\n top: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.6);\n z-index: 99; }\n .popup__container .content__container {\n width: 320px;\n min-height: 240px;\n border-radius: 5px;\n background: white;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n top: 160px; }\n .popup__container .content__container .close__btn {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n width: 33px;\n height: 33px;\n bottom: -57px; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.year-index-course .boss__add {\n font-size: 12px;\n color: #fff;\n text-align: center;\n height: 16px;\n line-height: 16px;\n text-decoration: underline;\n display: block;\n margin: 12px auto 0; }\n\n.year-index-course .course-conter .course-item {\n width: 168px;\n padding: 4px;\n background-color: #fff;\n position: relative;\n border-radius: 2px; }\n .year-index-course .course-conter .course-item span {\n position: absolute;\n right: 4px;\n top: 4px;\n width: 60px;\n display: block;\n text-align: center;\n padding-left: 5px;\n border-radius: 0 0 0 10px;\n background-color: #EB1612;\n color: #fff;\n font-size: 12px; }\n .year-index-course .course-conter .course-item a {\n width: 160px;\n height: 104px; }\n .year-index-course .course-conter .course-item a img {\n width: 100%;\n height: 100%; }\n\n.year-index-course .course-box {\n display: flex;\n justify-content: space-between;\n flex-wrap: wrap; }\n .year-index-course .course-box .course-container {\n width: 168px;\n margin: 15px 0 0 0;\n text-align: center;\n position: relative; }\n .year-index-course .course-box .group-num {\n width: 66px;\n height: 16px;\n position: absolute;\n left: 10px;\n top: 10px;\n line-height: 16px;\n background: #CA161C;\n opacity: 0.8;\n border-radius: 1px;\n font-size: 12px;\n color: #fff;\n text-align: center; }\n .year-index-course .course-box .bargain-price {\n position: absolute;\n left: 4px;\n top: 10px;\n margin: 0;\n height: 18px;\n padding: 0 8px;\n border-radius: 0 9px 9px 0;\n font-size: 12px;\n color: #fff;\n line-height: 18px;\n background-color: #F01D0E; }\n .year-index-course .course-box .coupon-course__footer .course-title {\n padding-left: 10px;\n font-size: 15px;\n color: #333;\n font-weight: 500;\n margin-top: 7px; }\n .year-index-course .course-box .coupon-course__footer .btn {\n display: inline-block;\n width: 138px;\n height: 24px;\n text-align: center;\n line-height: 24px;\n border-radius: 2px;\n font-size: 12px;\n outline: none;\n border: none;\n letter-spacing: 1px; }\n .year-index-course .course-box .coupon-course__footer .big-course {\n background-color: #FEE41D;\n border: 1px solid #090F08;\n color: #090F08;\n margin-top: 10px; }\n .year-index-course .course-box .coupon-course__footer .to-study {\n background-color: #09f;\n color: #fff;\n position: absolute;\n left: 10px;\n bottom: 10px; }\n .year-index-course .course-box .coupon-course__footer .free-study {\n background: linear-gradient(-90deg, #EB1612 0%, #F92927 100%);\n color: #fff;\n margin-top: 10px; }\n .year-index-course .course-box .coupon-course__footer .free-course-num {\n font-size: 12px;\n color: #070F08;\n margin-top: 7px;\n letter-spacing: 1px; }\n .year-index-course .course-box .coupon-course__footer .free-course-num span {\n font-size: 14px;\n color: #FF0002; }\n .year-index-course .course-box .type {\n text-align: left;\n padding-left: 7px;\n margin-top: 3px; }\n .year-index-course .course-box .type .tag {\n display: inline-block;\n padding: 0 6px;\n height: 14px;\n line-height: 15px;\n text-align: center;\n font-size: 12px;\n color: #FFF;\n position: relative;\n z-index: 0; }\n .year-index-course .course-box .type .time {\n display: inline-block;\n height: 15px;\n line-height: 15px;\n padding: 0 6px;\n margin-left: 5px;\n position: relative;\n font-size: 12px;\n color: #555;\n text-align: center;\n z-index: 0; }\n .year-index-course .course-box .type .time:before {\n content: '';\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: #E6E6E6;\n transform: skewX(-20deg);\n z-index: -1; }\n .year-index-course .course-box .type .tag:before {\n content: '';\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: #FF0002;\n transform: skewX(-20deg);\n z-index: -1; }\n .year-index-course .course-box .type .tag[data-color=\"green\"]:before {\n background-color: #357345; }\n .year-index-course .course-box .price {\n margin-top: 3px;\n padding-left: 4px;\n font-size: 12px;\n color: #FF0002;\n text-align: left; }\n .year-index-course .course-box .price.price-group {\n font-size: 0;\n height: 30px; }\n .year-index-course .course-box .price .price-label {\n font-size: 12px; }\n .year-index-course .course-box .price .new-price {\n font-size: 16px; }\n .year-index-course .course-box .price .old-price {\n margin-left: 2px;\n font-size: 12px;\n color: #666; }\n .year-index-course .course-box .status {\n position: absolute;\n left: 0;\n bottom: 10px;\n right: 0;\n padding: 0 5px;\n text-align: left; }\n .year-index-course .course-box .status[data-layout=\"row\"] {\n display: flex; }\n .year-index-course .course-box .status[data-layout=\"row\"] .to-group {\n font-size: 12px; }\n .year-index-course .course-box .status[data-layout=\"row\"] .to-group:nth-child(1) {\n margin-right: 2px; }\n .year-index-course .course-box .status[data-layout=\"row\"] .to-group:nth-child(2) {\n margin-left: 2px; }\n .year-index-course .course-box .status .status-btn {\n display: inline-block;\n height: 22px;\n line-height: 22px;\n border-radius: 2px;\n text-align: center;\n font-size: 12px;\n color: #fff; }\n .year-index-course .course-box .status .to-buy {\n width: 55px;\n background-color: #FF8080; }\n .year-index-course .course-box .status .to-group {\n display: block;\n width: 100%;\n height: 22px;\n border-radius: 11px;\n box-sizing: border-box;\n font-size: 14px;\n color: #fff;\n text-align: center;\n line-height: 22px;\n background: linear-gradient(-90deg, #eb1612 0%, #ff0002 100%); }\n .year-index-course .course-box .status .to-group[data-status=\"study\"] {\n background: #0099FF; }\n .year-index-course .course-box .status .to-group[data-status=\"done\"] {\n border: 1px solid #090F08;\n font-size: 12px;\n color: #090F08;\n background: #FEE41D; }\n .year-index-course .course-box .status .add-wish, .year-index-course .course-box .status .add-wish-success {\n width: 88px;\n margin-left: 5px;\n outline: none;\n color: #FF0002;\n background-color: #fff;\n border: 1px solid #FF0002; }\n .year-index-course .course-box .status .add-wish img, .year-index-course .course-box .status .add-wish-success img {\n width: 12px;\n height: 11px;\n margin-right: 2px;\n position: relative;\n top: 1px; }\n .year-index-course .course-box .status .add-wish-success {\n color: #fff;\n background: linear-gradient(90deg, #eb1612 0%, #f92927 100%); }\n\n.year-index-course .bigcourse .course-container {\n height: 156px; }\n\n.year-index-course .freecourse .course-container {\n height: 177px; }\n\n.year-index-course .groupcourse .course-container {\n height: 195px; }\n\n.year-index-course .groupcourse[data-stage=\"2\"] .course-container {\n height: 215px; }\n\n.year-index-course .progree-and-sale {\n display: flex;\n align-items: center;\n justify-content: center;\n padding-left: 5px; }\n\n.year-index-course .progress {\n width: 90px;\n height: 8px;\n border-radius: 4px;\n background-color: #E6E6E6; }\n\n.year-index-course .progress_bar {\n display: block;\n width: 10%;\n height: 100%;\n border-radius: 4px 0 0 4px;\n background-color: #FF0002; }\n\n.year-index-course .sale-sum {\n flex: 1;\n margin: 0;\n font-size: 12px;\n color: #333;\n text-align: center;\n line-height: 1; }\n\n.year-index-course .ai-course__subtitle {\n width: 73px;\n height: 24px;\n margin: 15px auto 0;\n border-radius: 12px;\n font-size: 14px;\n font-weight: 500;\n color: #070F08;\n text-align: center;\n line-height: 22px;\n letter-spacing: 2px;\n background-color: #FFE300;\n border: 1px solid #070F08; }\n\n.year-index-course .more-button {\n display: block;\n width: 75px;\n height: 26px;\n margin: 15px auto 5px;\n padding: 0;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 400;\n color: #fff;\n line-height: 26px;\n cursor: pointer;\n outline: none;\n background-color: #0F6237;\n border: none;\n letter-spacing: 1px; }\n\n.year-index-course .sub__code_container {\n padding: 20px; }\n\n.year-index-course .save-image {\n display: block;\n width: 133px;\n height: 30px;\n margin: 20px auto 0 auto;\n background: #5327fa;\n border-radius: 15px;\n font-size: 14px;\n color: #fff;\n -webkit-appearance: none;\n outline: 0;\n border: none; }\n\n.year-index-course .nav-right {\n width: 100px;\n height: 125px;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/sd_fc_bj.png\");\n background-repeat: no-repeat;\n background-size: cover;\n position: fixed;\n right: 0;\n bottom: 20%;\n margin-top: -57px;\n z-index: 22; }\n .year-index-course .nav-right .nav-right__link {\n display: block;\n position: relative;\n font-size: 12px;\n font-weight: 500;\n color: #fff;\n text-align: center;\n top: 47px;\n line-height: 25px; }\n .year-index-course .nav-right .nav-right__number {\n position: absolute;\n top: -5px;\n right: 5px;\n padding: 0 5px;\n border: 1px solid #F7D067;\n border-radius: 7px 7px 7px 0px;\n font-size: 12px;\n font-style: normal;\n color: #FEE41D;\n background-color: #FF4F24;\n height: 16px;\n line-height: 14px; }\n\n.year-index-course .nav-right-wish {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/fanc-bx.png\"); }\n .year-index-course .nav-right-wish .nav-right__link {\n top: 60px;\n left: 10px; }\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 position: relative;\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\n.course__time {\n position: absolute;\n left: 4px;\n top: 10px;\n margin: 0;\n height: 18px;\n padding: 0 8px;\n border-radius: 0 9px 9px 0;\n font-size: 12px;\n color: #fff;\n line-height: 18px;\n background-color: #F01D0E; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n[data-skip=\"rank\"] .rank-title {\n display: flex;\n align-items: center;\n justify-content: center; }\n\n[data-skip=\"rank\"] .rank-title__decorate {\n display: inline-block;\n width: 11px;\n height: 12px;\n background-size: cover;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/icon-decorate-0.png\"); }\n\n[data-skip=\"rank\"] .rank-title__txt {\n position: relative;\n margin: 0 8px;\n font-size: 18px;\n font-weight: normal;\n color: #FFE300;\n text-align: center;\n line-height: 1; }\n [data-skip=\"rank\"] .rank-title__txt::after {\n content: '';\n position: absolute;\n top: -8px;\n right: -8px;\n width: 14px;\n height: 11px;\n background-size: cover;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/icon-decorate-1.png\"); }\n\n[data-skip=\"rank\"] .rank-desc {\n margin: 7px 0 0;\n padding: 0 48px;\n font-size: 12px;\n color: #FFE300;\n text-align: center;\n line-height: 16px; }\n\n[data-skip=\"rank\"] .rank-header {\n margin: 12px 10px 0;\n border-radius: 5px 5px 0 0;\n font-size: 0;\n overflow: hidden; }\n [data-skip=\"rank\"] .rank-header .rank-column {\n color: #1D5432;\n font-size: 12px;\n line-height: 30px;\n background-color: #FFE300; }\n\n[data-skip=\"rank\"] .rank-body {\n margin: 0 10px;\n border-left: 1px solid #81F3AF;\n border-bottom: 1px solid #81F3AF;\n border-right: 1px solid #81F3AF;\n border-radius: 0 0 5px 5px;\n background-color: #1D5432; }\n\n[data-skip=\"rank\"] .rank-item {\n border-bottom: 1px solid #0E7442; }\n [data-skip=\"rank\"] .rank-item .rank-column {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: 40px;\n font-size: 12px;\n color: #fff; }\n\n[data-skip=\"rank\"] .rank-column {\n display: inline-block;\n text-align: center;\n vertical-align: middle; }\n [data-skip=\"rank\"] .rank-column:nth-child(1) {\n width: 10%; }\n [data-skip=\"rank\"] .rank-column:nth-child(2) {\n width: 25%; }\n [data-skip=\"rank\"] .rank-column:nth-child(3) {\n width: 20%; }\n [data-skip=\"rank\"] .rank-column:nth-child(4) {\n width: 45%; }\n\n[data-skip=\"rank\"] .rank-column__number {\n display: inline-block;\n width: 11px;\n height: 12px;\n background-size: cover; }\n [data-skip=\"rank\"] .rank-column__number[data-num=\"0\"] {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/717/-s-diyiming.png\"); }\n [data-skip=\"rank\"] .rank-column__number[data-num=\"1\"] {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/717/-s-dierming.png\"); }\n [data-skip=\"rank\"] .rank-column__number[data-num=\"2\"] {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/717/-s-disanming.png\"); }\n\n[data-skip=\"rank\"] .rank-column__name {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; }\n\n[data-skip=\"rank\"] .rank-column__txt {\n display: inline-block;\n width: 100%;\n box-sizing: border-box;\n padding: 0 5px;\n text-align: left;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; }\n\n[data-skip=\"rank\"] a.rank-column__txt {\n text-decoration: underline; }\n\n[data-skip=\"rank\"] .rank-more {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 40px; }\n\n[data-skip=\"rank\"] .rank-more__txt {\n font-size: 14px;\n color: #fff; }\n\n[data-skip=\"rank\"] .rank-more__icon {\n width: 11px;\n height: 12px;\n margin-left: 5px;\n background-size: cover;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/icon-arrow-double.png\"); }\n [data-skip=\"rank\"] .rank-more__icon[data-more=\"false\"] {\n transform: rotate(180deg); }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.team_info__container {\n margin-bottom: 30px;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center; }\n .team_info__container .team__member {\n height: 72px;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-bottom: 16px; }\n .team_info__container .team__member .member__list {\n height: 50px;\n width: 224px;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n margin-right: 12px; }\n .team_info__container .team__member .member__list .member__item {\n width: 44px;\n height: 50px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n margin-left: 1px; }\n .team_info__container .team__member .member__list .member__item:first-child {\n margin-left: 0; }\n .team_info__container .team__member .member__list .member__item:first-child .member__join {\n border-radius: 2px 0 0 2px; }\n .team_info__container .team__member .member__list .member__item:last-child .member__join {\n border-radius: 0 2px 2px 0; }\n .team_info__container .team__member .member__list .member__item .avatar__container {\n width: 27px;\n height: 27px;\n position: relative;\n border: 1px solid #fff;\n border-radius: 50%; }\n .team_info__container .team__member .member__list .member__item .avatar__container .head__image {\n border-radius: 50%;\n width: 100%;\n height: 100%; }\n .team_info__container .team__member .member__list .member__item .avatar__container .shadow {\n width: 24px;\n height: 3px;\n background: #1a3528;\n border-radius: 50%;\n position: absolute;\n bottom: -6px; }\n .team_info__container .team__member .member__list .member__item .avatar__container .caption__flag {\n position: absolute;\n width: 18px;\n height: 10px;\n left: 50%;\n top: 0; }\n .team_info__container .team__member .member__list .member__item .member__join {\n width: 40px;\n height: 5px;\n background: #005833;\n box-shadow: 1px 1px 2px 0px rgba(3, 52, 91, 0.35); }\n .team_info__container .team__member .member__list .member__item .join {\n background: #ffdd1d;\n box-shadow: 1px 2px 2px 0px rgba(253, 253, 253, 0.46) inset, 1px 2px 2px 0px rgba(253, 253, 253, 0.46) inset; }\n .team_info__container .team__member .box__number {\n width: 108px;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n position: relative; }\n .team_info__container .team__member .box__number img {\n width: 92px;\n height: 50px; }\n .team_info__container .team__member .box__number .box__text {\n width: 1000px;\n font-size: 100px;\n transform: scale(0.1);\n text-decoration: underline;\n color: #ffe300;\n position: absolute;\n bottom: -72px;\n text-align: center; }\n .team_info__container .team__member .box__number .position__arrow {\n width: 18px;\n height: 18px;\n position: absolute;\n left: -7px;\n top: 18px; }\n .team_info__container .team__member .box__number .position__number {\n min-width: 22px;\n height: 18px;\n font-size: 12px;\n background: #ff3c16;\n border: 1px solid #ffe300;\n border-radius: 9px 9px 9px 0px;\n color: #ffe300;\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0 5px;\n right: -4px;\n top: -4px; }\n .team_info__container .invite__btn {\n width: 320px;\n height: 44px;\n background: #ffe300;\n border-radius: 3px;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 15px;\n color: #0b7b45;\n margin-bottom: 12px; }\n .team_info__container .stage_prize {\n font-size: 12px;\n line-height: 12px;\n color: #ffe300;\n text-align: center; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.trans-height, .prizes-box, .prizes-box .bg, .prizes-box .inner-box {\n transition: height .25s ease-in-out; }\n\n.prizes-box {\n position: relative;\n height: 348px;\n background-size: 100% auto; }\n .prizes-box .show-more {\n position: absolute;\n bottom: 30px;\n left: 50%;\n transform: translateX(-50%);\n width: 125px;\n height: 27px;\n background: #FF2121;\n border: 2px solid #ff2121;\n border-radius: 5px 5px 0 0;\n font-size: 13px;\n color: #fff;\n line-height: 27px;\n text-align: center;\n z-index: 20; }\n .prizes-box .show-more img {\n margin-left: 4.5px;\n width: 10.05px; }\n .prizes-box .rule-btn {\n position: absolute;\n top: 32.5px;\n left: 50%;\n transform: translateX(-50%);\n color: #FFDD1D;\n font-size: 12px;\n text-decoration: underline; }\n .prizes-box::before {\n content: '';\n display: block;\n width: 100%;\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/landing-box-head.png\") no-repeat;\n background-size: 100% auto;\n height: 148.5px; }\n .prizes-box::after {\n content: '';\n display: block;\n width: 100%;\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/landing-box-footer.png\") no-repeat;\n background-size: 100% auto;\n height: 85px;\n margin-top: -1px; }\n .prizes-box .bg {\n width: 100%;\n height: 115px;\n margin-top: -1px;\n overflow: hidden;\n z-index: 10;\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/landing-box-bg.png\") repeat-y;\n background-size: 100% auto; }\n .prizes-box .inner-box {\n position: absolute;\n top: 130px;\n left: 0;\n width: 100%;\n z-index: 20;\n height: 187px;\n overflow: hidden; }\n .prizes-box .prize-list {\n display: flex;\n flex-flow: wrap;\n padding: 0 57px; }\n .prizes-box .prize-list li:nth-of-type(2n) {\n margin-right: 0; }\n .prizes-box .prize-list li {\n position: relative;\n width: 125px;\n height: 99px;\n background: white;\n border: 2px solid #ffe300;\n box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);\n border-radius: 1px;\n margin-right: 10.5px;\n margin-bottom: 6.5px; }\n .prizes-box .prize-list li .prize-list__image {\n display: block;\n width: 100%;\n height: 100%;\n background-position: center;\n background-size: cover; }\n .prizes-box .prize-list li img {\n width: 90px;\n object-fit: contain; }\n .prizes-box .prize-list li:last-child {\n display: flex;\n align-items: center;\n justify-content: center; }\n .prizes-box .prize-list .top-tag {\n position: absolute;\n top: 0;\n right: 0;\n border-radius: 0 0 0 4px;\n font-size: 12px;\n line-height: 16px;\n text-align: center;\n padding: 0 4px;\n color: #fff; }\n .prizes-box .prize-list .captain {\n background: linear-gradient(270deg, #ff5d00 0%, #ff1700 100%); }\n .prizes-box .prize-list .stage {\n background: linear-gradient(-90deg, #004bfb 0%, #009cff 100%); }\n .prizes-box .prize-list .no-limit {\n position: absolute;\n bottom: 0;\n right: 0;\n background: rgba(0, 0, 0, 0.8);\n font-size: 12px;\n color: #fff;\n padding: 0 4px;\n border-radius: 6px 0 0 0; }\n .prizes-box .prize-list .bottom-bar {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n padding: 0 5px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background: rgba(0, 0, 0, 0.8);\n font-size: 12px;\n color: #fff; }\n .prizes-box .prize-list .bottom-bar .progress-bar {\n position: relative;\n flex: 0 1 45px;\n height: 2px;\n background: #fff;\n border-radius: 1px; }\n .prizes-box .prize-list .bottom-bar .progress-bar .progress {\n position: absolute;\n right: 0;\n top: 0;\n height: 100%;\n background: linear-gradient(-90deg, darkorange 0%, #ff1700 100%);\n border-radius: 1px; }\n\n.common_container .container_content .prizes-box {\n margin: 0 -15px; }\n\n.landing-treasure-rules {\n width: 320px; }\n .landing-treasure-rules.popup-container {\n top: 50%;\n transform: translate(-50%, -50%); }\n .landing-treasure-rules.popup-container .title {\n font-size: 18px;\n color: #111111; }\n .landing-treasure-rules .content {\n padding: 0 19px 15px;\n margin-top: 22px;\n color: #666666;\n font-size: 14px; }\n .landing-treasure-rules .content li {\n margin-bottom: 5px; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.bullet-screen, #user-bullet-screen {\n width: 329px;\n height: 30px;\n margin: 0 auto 28px;\n background: rgba(0, 0, 0, 0.6);\n border-radius: 15px;\n line-height: 30px;\n text-align: left; }\n .bullet-screen li, #user-bullet-screen li {\n height: 100%;\n padding: 2px;\n line-height: 26px;\n display: flex;\n align-items: center; }\n .bullet-screen .avatar, #user-bullet-screen .avatar {\n width: 26px;\n height: 26px;\n border-radius: 50%;\n margin-right: 7px;\n vertical-align: middle; }\n .bullet-screen span:nth-of-type(1), #user-bullet-screen span:nth-of-type(1) {\n margin-right: 5px; }\n .bullet-screen span, #user-bullet-screen span {\n font-size: 12px;\n color: #fff;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.treasure-nav[data-skip=\"nav\"] {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 30px;\n background-color: #357345; }\n\n.treasure-nav.fixed {\n position: fixed;\n top: 0;\n width: 100%;\n z-index: 999; }\n\n[data-skip=\"nav\"] .treasure-nav__item {\n flex: 1;\n box-sizing: border-box;\n font-size: 12px;\n color: #fff;\n text-align: center;\n line-height: 26px; }\n [data-skip=\"nav\"] .treasure-nav__item.active {\n border: 1px solid #090F08;\n border-radius: 3px;\n color: #090F08;\n background-color: #FEE41D; }\n"]} {"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/preheat/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/preheat/LiveRoom/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/common/commonContainer/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/common/commonPopup/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/preheat/YearCourse/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/blessingPreheat/courseItem/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/treasure-box/rank.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/treasure-box/team.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/common/prizes/prizes.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/common/user-bullet-screen/bullet-screen.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/treasure-box/preheat/nav.scss"],"names":[],"mappings":"AAmGA,YACE,kBAAA,CACA,wBAAyB,CAF3B,qCASI,kBAAA,CACA,qBAAA,CACA,uBAA2B,CAX/B,kCAeI,UAAY,CAfhB,uCAmBI,iBAAY,CAnBhB,iCAyBI,sBAAA,CACA,iBAAkB,CA1BtB,6CA6BM,eAAA,CACA,UAAA,CACA,eAAmB,CA/BzB,+CAmCM,iBAAA,CACA,kBAAa,CApCnB,2CAwCM,oBAAA,CACA,UAAA,CACA,mBAAA,CACA,kBAAmB,CA3CzB,6CA8CQ,iBAAA,CACA,SAAA,CACA,oBAAe,CAhDvB,4CAqDM,oBAAA,CACA,UAAA,CACA,eAAA,CACA,qBAAA,CACA,wBAAkB,CAzDxB,sBA8DI,UAAA,CACA,eAAA,CACA,UAAA,CACA,iBAAkB,CAItB,0BACE,YAAa,CCtEf,iCAEI,UAAA,CACA,kBAAA,CAEA,YAAA,CACA,sBAAA,CACA,kBAAA,CACA,kBAAA,CACA,iBAAgB,CATpB,6CAYM,+BAA4C,CAZlD,+CAgBM,iBAAA,CACA,kBAAA,CACA,aAAA,CACA,kBAAA,CACA,eAAA,CACA,wBAAkB,CArBxB,6CAyBM,YAAA,CACA,qBAAA,CACA,0BAAA,CACA,sBAAA,CACA,UAAA,CACA,oBAAA,CACA,YAAA,CACA,kBAAA,CACA,iBAAkB,CAjCxB,yDAoCQ,YAAA,CACA,0BAAA,CACA,oBAAqB,CAtC7B,sEAwCU,cAAa,CAxCvB,8DA2CU,iBAAA,CACA,aAAA,CACA,aAAA,CACA,sBAAiB,CA9C3B,2DAiDU,sBAAiB,CAjD3B,yDAsDU,aAAA,CACA,iBAAA,CACA,UAAA,CACA,aAAA,CACA,sBAAiB,CA1D3B,sDA6DU,YAAA,CACA,eAAA,C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QAAA,CAEA,yBAAA,CACA,eAAA,CACA,UAiBW,CAnKvB,oCA0JY,MAAA,CACA,UAAA,CAEA,oBAAA,CACA,YAAA,CACA,6BAAA,CACA,kBAGW,CAnKvB,kDAsKgB,iBAAA,CACA,aAAA,CACA,gBAAA,CACA,eAAA,CACA,iBAAkB,CA1KlC,4DA6KoB,iBAAA,CACA,OAAA,CACA,KAAA,CAEA,WAAA,CACA,gFAAA,CAAA,yDAAA,CAAA,kDAAA,CACA,iBAAkB,CAOtC,iDAGY,aAAe,CAM3B,wBACI,iBAAY,CADhB,wCAIQ,OAAA,CACA,sCAAA,CAAA,8BAAgC,CALxC,+CAOY,eAAA,CACA,UAAc,CAR1B,iCAaQ,wBAAA,CACA,qBAAA,CACA,UAAA,CACA,oBAAe,CAhBvB,oCAmBY,wBAAkB,CC1N9B,mCACI,iBAAA,CACA,UAAA,CACA,wBAAA,CACA,yBAAA,CACA,iBAAA,CACA,eAAA,CACA,eAAgB,CAPpB,yCAUQ,WAAA,CACA,iBAAA,CACA,sBAAA,CACA,YAAA,CACA,kBAAmB,CAd3B,mDAkBQ,gBAAA,CACA,iBAAA,CACA,iBAAA,CACA,uBAAA,CACA,qBAAsB,CAtB9B,yEA0BQ,uBAAiB,CA1BzB,6CA8BQ,eAAA,CACA,UAAA,CACA,kBAAA,CACA,eAAA,CACA,sBAAuB,CClC/B,6BAGI,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,UAAA,CACA,wBAAyB,CAP7B,oBAWI,cAAA,CACA,KAAA,CACA,UAAA,CACA,WAAY,CAjFhB,oCAwFI,QAAA,CACA,qBAAA,CACA,eAAA,CACA,UAAA,CACA,iBAAA,CACA,sBAAiB,CAtFnB,2CAyFI,wBAAA,CACA,kBAAA,CACA,aAAA,CACA,wBAAyB","file":"treasure-box-home.7a60b4c8.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.year-index {\n padding-bottom: 30px;\n background-color: #66b679; }\n .year-index .banner-treasure__header {\n height: 320px;\n background-size: cover;\n background-position: center; }\n .year-index .banner-treasure__nav {\n height: 30px; }\n .year-index .banner-treasure__decorate {\n height: 20px; }\n .year-index .sub__code_container {\n padding: 20px 30px;\n text-align: center; }\n .year-index .sub__code_container .sub__title {\n font-size: 18px;\n color: #111;\n font-weight: normal; }\n .year-index .sub__code_container .sub__qr_code {\n width: 137px;\n height: 137px; }\n .year-index .sub__code_container .sub__tip {\n font-size: 14px;\n color: #666;\n margin: 13px 0;\n letter-spacing: 1px; }\n .year-index .sub__code_container .sub__tip i {\n font-style: normal;\n color: #FF0000;\n font-size: 16px; }\n .year-index .sub__code_container .sub__rule {\n font-size: 14px;\n color: #666;\n text-align: left;\n margin-top: 20px;\n margin-bottom: 5px; }\n .year-index .btm-rule {\n color: #fff;\n font-size: 12px;\n width: 100%;\n text-align: center; }\n\n.year-index + .year19-index {\n display: 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__container .live_room_item {\n width: 330px;\n height: 100px;\n margin: 0 auto;\n display: flex;\n justify-content: center;\n align-items: center;\n padding-bottom: 15px;\n margin-top: 15px; }\n .live__container .live_room_item:first-child {\n border-bottom: 1px solid #0d4d2b; }\n .live__container .live_room_item .user__avatar {\n width: 73px;\n height: 85px;\n flex: 0 0 auto;\n margin-right: 12px;\n background: #ddd;\n border-radius: 4px; }\n .live__container .live_room_item .live__info {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n color: #fff;\n font-size: 14px;\n width: 246px;\n height: 85px;\n position: relative; }\n .live__container .live_room_item .live__info .info__item {\n display: flex;\n justify-content: flex-start;\n align-content: center; }\n .live__container .live_room_item .live__info .info__item:nth-child(2) {\n margin: 9px 0; }\n .live__container .live_room_item .live__info .info__item span {\n width: 46px;\n flex: 0 0 auto;\n color: #eaf787;\n line-height: 16px; }\n .live__container .live_room_item .live__info .info__item p {\n line-height: 16px; }\n .live__container .live_room_item .live__info .theme span {\n display: block;\n width: 46px;\n float: left;\n color: #eaf787;\n line-height: 16px; }\n .live__container .live_room_item .live__info .theme p {\n width: 198px;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n float: left;\n line-height: 16px;\n color: #fff;\n /* autoprefixer: off */\n -webkit-box-orient: vertical; }\n .live__container .live_room_item .live__info .order__btn {\n position: absolute;\n right: 0;\n bottom: 0;\n width: 89px;\n height: 28px;\n border-radius: 4px;\n display: flex;\n justify-content: center;\n align-items: center;\n color: #070f08;\n background: linear-gradient(90deg, #ffe300 0%, #ffca00 100%); }\n .live__container .live_room_item .live__info .subscribed {\n background: #fee41d; }\n .live__container .live_room_item .live__info .live__end {\n background: #999;\n color: #fff; }\n .live__container .live_room_item .live__info .living {\n background: #0099ff;\n color: #fff; }\n .live__container .live_room_item .live__info .check__video {\n background: #72dc8d;\n color: #fff; }\n\n.live__container .sub__code_container {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center; }\n .live__container .sub__code_container .sub__title {\n color: #525c65;\n font-size: 16px;\n line-height: 16px;\n font-weight: 500;\n text-align: center;\n margin: 20px 0; }\n\n.live__container .save-image {\n margin-top: 16px;\n width: 270px;\n height: 44px;\n background: #ffe319;\n border: 1px solid #090909;\n border-radius: 5px;\n font-size: 16px;\n font-weight: normal;\n color: #090909; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.common_container {\n margin-bottom: 35px; }\n .common_container .title_container {\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-content: center; }\n .common_container .title_container i {\n width: 230px;\n height: 2px;\n margin: auto;\n background: linear-gradient(90deg, rgba(254, 228, 29, 0) 0%, rgba(254, 228, 29, 0.98) 48%, rgba(254, 228, 29, 0) 100%);\n margin: 0 auto; }\n .common_container .title_container p {\n font-size: 18px;\n line-height: 18px;\n font-weight: 500;\n color: #fee41d;\n margin: 8px auto;\n background: linear-gradient(0deg, #fee41d 23.90137%, #ffcc00 50.14648%, #fee41d 75%);\n background-clip: text;\n -webkit-text-fill-color: transparent; }\n .common_container .container_top {\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_top_bj.png\") center center no-repeat;\n background-size: 100% 100%;\n width: 100%;\n height: 18px; }\n .common_container .container_bottom {\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_bottom_bj.png\") center center no-repeat;\n background-size: 100% 100%;\n width: 100%;\n height: 22px; }\n .common_container .container_content {\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_middle_bj.png\");\n background-size: contain;\n width: 100%;\n min-height: 25px;\n margin: -1px 0;\n padding: 6px 15px; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.popup__container {\n position: fixed;\n left: 0;\n top: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.6);\n z-index: 99; }\n .popup__container .content__container {\n width: 320px;\n min-height: 240px;\n border-radius: 5px;\n background: white;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n top: 160px; }\n .popup__container .content__container .close__btn {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n width: 33px;\n height: 33px;\n bottom: -57px; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.year-index-course .boss__add {\n font-size: 12px;\n color: #fff;\n text-align: center;\n height: 16px;\n line-height: 16px;\n text-decoration: underline;\n display: block;\n margin: 12px auto 0; }\n\n.year-index-course .course-conter .course-item {\n width: 168px;\n padding: 4px;\n background-color: #fff;\n position: relative;\n border-radius: 2px; }\n .year-index-course .course-conter .course-item span {\n position: absolute;\n right: 4px;\n top: 4px;\n width: 60px;\n display: block;\n text-align: center;\n padding-left: 5px;\n border-radius: 0 0 0 10px;\n background-color: #EB1612;\n color: #fff;\n font-size: 12px; }\n .year-index-course .course-conter .course-item a {\n width: 160px;\n height: 104px; }\n .year-index-course .course-conter .course-item a img {\n width: 100%;\n height: 100%; }\n\n.year-index-course .course-box {\n display: flex;\n justify-content: space-between;\n flex-wrap: wrap; }\n .year-index-course .course-box .course-container {\n width: 168px;\n margin: 15px 0 0 0;\n text-align: center;\n position: relative; }\n .year-index-course .course-box .group-num {\n width: 66px;\n height: 16px;\n position: absolute;\n left: 10px;\n top: 10px;\n line-height: 16px;\n background: #CA161C;\n opacity: 0.8;\n border-radius: 1px;\n font-size: 12px;\n color: #fff;\n text-align: center; }\n .year-index-course .course-box .bargain-price {\n position: absolute;\n left: 4px;\n top: 10px;\n margin: 0;\n height: 18px;\n padding: 0 8px;\n border-radius: 0 9px 9px 0;\n font-size: 12px;\n color: #fff;\n line-height: 18px;\n background-color: #F01D0E; }\n .year-index-course .course-box .coupon-course__footer .course-title {\n padding-left: 10px;\n font-size: 15px;\n color: #333;\n font-weight: 500;\n margin-top: 7px; }\n .year-index-course .course-box .coupon-course__footer .btn {\n display: inline-block;\n width: 138px;\n height: 24px;\n text-align: center;\n line-height: 24px;\n border-radius: 2px;\n font-size: 12px;\n outline: none;\n border: none;\n letter-spacing: 1px; }\n .year-index-course .course-box .coupon-course__footer .big-course {\n background-color: #FEE41D;\n border: 1px solid #090F08;\n color: #090F08;\n margin-top: 10px; }\n .year-index-course .course-box .coupon-course__footer .to-study {\n background-color: #09f;\n color: #fff;\n position: absolute;\n left: 10px;\n bottom: 10px; }\n .year-index-course .course-box .coupon-course__footer .free-study {\n background: linear-gradient(-90deg, #EB1612 0%, #F92927 100%);\n color: #fff;\n margin-top: 10px; }\n .year-index-course .course-box .coupon-course__footer .free-course-num {\n font-size: 12px;\n color: #070F08;\n margin-top: 7px;\n letter-spacing: 1px; }\n .year-index-course .course-box .coupon-course__footer .free-course-num span {\n font-size: 14px;\n color: #FF0002; }\n .year-index-course .course-box .type {\n text-align: left;\n padding-left: 7px;\n margin-top: 3px; }\n .year-index-course .course-box .type .tag {\n display: inline-block;\n padding: 0 6px;\n height: 14px;\n line-height: 15px;\n text-align: center;\n font-size: 12px;\n color: #FFF;\n position: relative;\n z-index: 0; }\n .year-index-course .course-box .type .time {\n display: inline-block;\n height: 15px;\n line-height: 15px;\n padding: 0 6px;\n margin-left: 5px;\n position: relative;\n font-size: 12px;\n color: #555;\n text-align: center;\n z-index: 0; }\n .year-index-course .course-box .type .time:before {\n content: '';\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: #E6E6E6;\n transform: skewX(-20deg);\n z-index: -1; }\n .year-index-course .course-box .type .tag:before {\n content: '';\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: #FF0002;\n transform: skewX(-20deg);\n z-index: -1; }\n .year-index-course .course-box .type .tag[data-color=\"green\"]:before {\n background-color: #357345; }\n .year-index-course .course-box .price {\n margin-top: 3px;\n padding-left: 4px;\n font-size: 12px;\n color: #FF0002;\n text-align: left; }\n .year-index-course .course-box .price.price-group {\n font-size: 0;\n height: 30px; }\n .year-index-course .course-box .price .price-label {\n font-size: 12px; }\n .year-index-course .course-box .price .new-price {\n font-size: 16px; }\n .year-index-course .course-box .price .old-price {\n margin-left: 2px;\n font-size: 12px;\n color: #666; }\n .year-index-course .course-box .status {\n position: absolute;\n left: 0;\n bottom: 10px;\n right: 0;\n padding: 0 5px;\n text-align: left; }\n .year-index-course .course-box .status[data-layout=\"row\"] {\n display: flex; }\n .year-index-course .course-box .status[data-layout=\"row\"] .to-group {\n font-size: 12px; }\n .year-index-course .course-box .status[data-layout=\"row\"] .to-group:nth-child(1) {\n margin-right: 2px; }\n .year-index-course .course-box .status[data-layout=\"row\"] .to-group:nth-child(2) {\n margin-left: 2px; }\n .year-index-course .course-box .status .status-btn {\n display: inline-block;\n height: 22px;\n line-height: 22px;\n border-radius: 2px;\n text-align: center;\n font-size: 12px;\n color: #fff; }\n .year-index-course .course-box .status .to-buy {\n width: 55px;\n background-color: #FF8080; }\n .year-index-course .course-box .status .to-group {\n display: block;\n width: 100%;\n height: 22px;\n border-radius: 11px;\n box-sizing: border-box;\n font-size: 14px;\n color: #fff;\n text-align: center;\n line-height: 22px;\n background: linear-gradient(-90deg, #eb1612 0%, #ff0002 100%); }\n .year-index-course .course-box .status .to-group[data-status=\"study\"] {\n background: #0099FF; }\n .year-index-course .course-box .status .to-group[data-status=\"done\"] {\n border: 1px solid #090F08;\n font-size: 12px;\n color: #090F08;\n background: #FEE41D; }\n .year-index-course .course-box .status .add-wish, .year-index-course .course-box .status .add-wish-success {\n width: 88px;\n margin-left: 5px;\n outline: none;\n color: #FF0002;\n background-color: #fff;\n border: 1px solid #FF0002; }\n .year-index-course .course-box .status .add-wish img, .year-index-course .course-box .status .add-wish-success img {\n width: 12px;\n height: 11px;\n margin-right: 2px;\n position: relative;\n top: 1px; }\n .year-index-course .course-box .status .add-wish-success {\n color: #fff;\n background: linear-gradient(90deg, #eb1612 0%, #f92927 100%); }\n\n.year-index-course .bigcourse .course-container {\n height: 156px; }\n\n.year-index-course .freecourse .course-container {\n height: 177px; }\n\n.year-index-course .groupcourse .course-container {\n height: 195px; }\n\n.year-index-course .groupcourse[data-stage=\"2\"] .course-container {\n height: 215px; }\n\n.year-index-course .progree-and-sale {\n display: flex;\n align-items: center;\n justify-content: center;\n padding-left: 5px; }\n\n.year-index-course .progress {\n width: 90px;\n height: 8px;\n border-radius: 4px;\n background-color: #E6E6E6; }\n\n.year-index-course .progress_bar {\n display: block;\n width: 10%;\n height: 100%;\n border-radius: 4px 0 0 4px;\n background-color: #FF0002; }\n\n.year-index-course .sale-sum {\n flex: 1;\n margin: 0;\n font-size: 12px;\n color: #333;\n text-align: center;\n line-height: 1; }\n\n.year-index-course .ai-course__subtitle {\n width: 73px;\n height: 24px;\n margin: 15px auto 0;\n border-radius: 12px;\n font-size: 14px;\n font-weight: 500;\n color: #070F08;\n text-align: center;\n line-height: 22px;\n letter-spacing: 2px;\n background-color: #FFE300;\n border: 1px solid #070F08; }\n\n.year-index-course .more-button {\n display: block;\n width: 75px;\n height: 26px;\n margin: 15px auto 5px;\n padding: 0;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 400;\n color: #fff;\n line-height: 26px;\n cursor: pointer;\n outline: none;\n background-color: #0F6237;\n border: none;\n letter-spacing: 1px; }\n\n.year-index-course .sub__code_container {\n padding: 20px; }\n\n.year-index-course .save-image {\n display: block;\n width: 133px;\n height: 30px;\n margin: 20px auto 0 auto;\n background: #5327fa;\n border-radius: 15px;\n font-size: 14px;\n color: #fff;\n -webkit-appearance: none;\n outline: 0;\n border: none; }\n\n.year-index-course .nav-right {\n width: 100px;\n height: 125px;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/sd_fc_bj.png\");\n background-repeat: no-repeat;\n background-size: cover;\n position: fixed;\n right: 0;\n bottom: 20%;\n margin-top: -57px;\n z-index: 22; }\n .year-index-course .nav-right .nav-right__link {\n display: block;\n position: relative;\n font-size: 12px;\n font-weight: 500;\n color: #fff;\n text-align: center;\n top: 47px;\n line-height: 25px; }\n .year-index-course .nav-right .nav-right__number {\n position: absolute;\n top: -5px;\n right: 5px;\n padding: 0 5px;\n border: 1px solid #F7D067;\n border-radius: 7px 7px 7px 0px;\n font-size: 12px;\n font-style: normal;\n color: #FEE41D;\n background-color: #FF4F24;\n height: 16px;\n line-height: 14px; }\n\n.year-index-course .nav-right-wish {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/fanc-bx.png\"); }\n .year-index-course .nav-right-wish .nav-right__link {\n top: 60px;\n left: 10px; }\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 position: relative;\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\n.course__time {\n position: absolute;\n left: 4px;\n top: 10px;\n margin: 0;\n height: 18px;\n padding: 0 8px;\n border-radius: 0 9px 9px 0;\n font-size: 12px;\n color: #fff;\n line-height: 18px;\n background-color: #F01D0E; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n[data-skip=\"rank\"] .rank-title {\n display: flex;\n align-items: center;\n justify-content: center; }\n\n[data-skip=\"rank\"] .rank-title__decorate {\n display: inline-block;\n width: 11px;\n height: 12px;\n background-size: cover;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/icon-decorate-0.png\"); }\n\n[data-skip=\"rank\"] .rank-title__txt {\n position: relative;\n margin: 0 8px;\n font-size: 18px;\n font-weight: normal;\n color: #FFE300;\n text-align: center;\n line-height: 1; }\n [data-skip=\"rank\"] .rank-title__txt::after {\n content: '';\n position: absolute;\n top: -8px;\n right: -8px;\n width: 14px;\n height: 11px;\n background-size: cover;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/icon-decorate-1.png\"); }\n\n[data-skip=\"rank\"] .rank-desc {\n margin: 7px 0 0;\n padding: 0 48px;\n font-size: 12px;\n color: #FFE300;\n text-align: center;\n line-height: 16px; }\n\n[data-skip=\"rank\"] .rank-header {\n margin: 12px 10px 0;\n border-radius: 5px 5px 0 0;\n font-size: 0;\n overflow: hidden; }\n [data-skip=\"rank\"] .rank-header .rank-column {\n color: #1D5432;\n font-size: 12px;\n line-height: 30px;\n background-color: #FFE300; }\n\n[data-skip=\"rank\"] .rank-body {\n margin: 0 10px;\n border-left: 1px solid #81F3AF;\n border-bottom: 1px solid #81F3AF;\n border-right: 1px solid #81F3AF;\n border-radius: 0 0 5px 5px;\n background-color: #1D5432; }\n\n[data-skip=\"rank\"] .rank-item {\n border-bottom: 1px solid #0E7442; }\n [data-skip=\"rank\"] .rank-item .rank-column {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: 40px;\n font-size: 12px;\n color: #fff; }\n\n[data-skip=\"rank\"] .rank-column {\n display: inline-block;\n text-align: center;\n vertical-align: middle; }\n [data-skip=\"rank\"] .rank-column:nth-child(1) {\n width: 10%; }\n [data-skip=\"rank\"] .rank-column:nth-child(2) {\n width: 25%; }\n [data-skip=\"rank\"] .rank-column:nth-child(3) {\n width: 20%; }\n [data-skip=\"rank\"] .rank-column:nth-child(4) {\n width: 45%; }\n\n[data-skip=\"rank\"] .rank-column__number {\n display: inline-block;\n width: 11px;\n height: 12px;\n background-size: cover; }\n [data-skip=\"rank\"] .rank-column__number[data-num=\"0\"] {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/717/-s-diyiming.png\"); }\n [data-skip=\"rank\"] .rank-column__number[data-num=\"1\"] {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/717/-s-dierming.png\"); }\n [data-skip=\"rank\"] .rank-column__number[data-num=\"2\"] {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/717/-s-disanming.png\"); }\n\n[data-skip=\"rank\"] .rank-column__name {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; }\n\n[data-skip=\"rank\"] .rank-column__txt {\n display: inline-block;\n width: 100%;\n box-sizing: border-box;\n padding: 0 5px;\n text-align: left;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap; }\n\n[data-skip=\"rank\"] a.rank-column__txt {\n text-decoration: underline; }\n\n[data-skip=\"rank\"] .rank-more {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 40px; }\n\n[data-skip=\"rank\"] .rank-more__txt {\n font-size: 14px;\n color: #fff; }\n\n[data-skip=\"rank\"] .rank-more__icon {\n width: 11px;\n height: 12px;\n margin-left: 5px;\n background-size: cover;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/icon-arrow-double.png\"); }\n [data-skip=\"rank\"] .rank-more__icon[data-more=\"false\"] {\n transform: rotate(180deg); }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.team_info__container {\n margin-bottom: 30px;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center; }\n .team_info__container .team__member {\n height: 72px;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-bottom: 16px; }\n .team_info__container .team__member .member__list {\n height: 50px;\n width: 224px;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n margin-right: 12px; }\n .team_info__container .team__member .member__list .member__item {\n width: 44px;\n height: 50px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n margin-left: 1px; }\n .team_info__container .team__member .member__list .member__item:first-child {\n margin-left: 0; }\n .team_info__container .team__member .member__list .member__item:first-child .member__join {\n border-radius: 2px 0 0 2px; }\n .team_info__container .team__member .member__list .member__item:last-child .member__join {\n border-radius: 0 2px 2px 0; }\n .team_info__container .team__member .member__list .member__item .avatar__container {\n width: 27px;\n height: 27px;\n position: relative;\n border: 1px solid #fff;\n border-radius: 50%; }\n .team_info__container .team__member .member__list .member__item .avatar__container .head__image {\n border-radius: 50%;\n width: 100%;\n height: 100%; }\n .team_info__container .team__member .member__list .member__item .avatar__container .shadow {\n width: 24px;\n height: 3px;\n background: #1a3528;\n border-radius: 50%;\n position: absolute;\n bottom: -6px; }\n .team_info__container .team__member .member__list .member__item .avatar__container .caption__flag {\n position: absolute;\n width: 18px;\n height: 10px;\n left: 50%;\n top: 0; }\n .team_info__container .team__member .member__list .member__item .member__join {\n width: 40px;\n height: 5px;\n background: #005833;\n box-shadow: 1px 1px 2px 0px rgba(3, 52, 91, 0.35); }\n .team_info__container .team__member .member__list .member__item .join {\n background: #ffdd1d;\n box-shadow: 1px 2px 2px 0px rgba(253, 253, 253, 0.46) inset, 1px 2px 2px 0px rgba(253, 253, 253, 0.46) inset; }\n .team_info__container .team__member .box__number {\n width: 108px;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n position: relative; }\n .team_info__container .team__member .box__number img {\n width: 92px;\n height: 50px; }\n .team_info__container .team__member .box__number .box__text {\n width: 1000px;\n font-size: 100px;\n transform: scale(0.1);\n text-decoration: underline;\n color: #ffe300;\n position: absolute;\n bottom: -72px;\n text-align: center; }\n .team_info__container .team__member .box__number .position__arrow {\n width: 18px;\n height: 18px;\n position: absolute;\n left: -7px;\n top: 18px; }\n .team_info__container .team__member .box__number .position__number {\n min-width: 22px;\n height: 18px;\n font-size: 12px;\n background: #ff3c16;\n border: 1px solid #ffe300;\n border-radius: 9px 9px 9px 0px;\n color: #ffe300;\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0 5px;\n right: -4px;\n top: -4px; }\n .team_info__container .invite__btn {\n width: 320px;\n height: 44px;\n background: #ffe300;\n border-radius: 3px;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 15px;\n color: #0b7b45;\n margin-bottom: 12px; }\n .team_info__container .stage_prize {\n font-size: 12px;\n line-height: 12px;\n color: #ffe300;\n text-align: center; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.trans-height, .prizes-box, .prizes-box .bg, .prizes-box .inner-box {\n transition: height .25s ease-in-out; }\n\n.prizes-box {\n position: relative;\n height: 348px;\n background-size: 100% auto; }\n .prizes-box .show-more {\n position: absolute;\n bottom: 30px;\n left: 50%;\n transform: translateX(-50%);\n width: 125px;\n height: 27px;\n background: #FF2121;\n border: 2px solid #ff2121;\n border-radius: 5px 5px 0 0;\n font-size: 13px;\n color: #fff;\n line-height: 27px;\n text-align: center;\n z-index: 20; }\n .prizes-box .show-more img {\n margin-left: 4.5px;\n width: 10.05px; }\n .prizes-box .rule-btn {\n position: absolute;\n top: 32.5px;\n left: 50%;\n transform: translateX(-50%);\n color: #FFDD1D;\n font-size: 12px;\n text-decoration: underline; }\n .prizes-box::before {\n content: '';\n display: block;\n width: 100%;\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/landing-box-head.png\") no-repeat;\n background-size: 100% auto;\n height: 148.5px; }\n .prizes-box::after {\n content: '';\n display: block;\n width: 100%;\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/landing-box-footer.png\") no-repeat;\n background-size: 100% auto;\n height: 85px;\n margin-top: -1px; }\n .prizes-box .bg {\n width: 100%;\n height: 115px;\n margin-top: -1px;\n overflow: hidden;\n z-index: 10;\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/landing-box-bg.png\") repeat-y;\n background-size: 100% auto; }\n .prizes-box .inner-box {\n position: absolute;\n top: 130px;\n left: 0;\n width: 100%;\n z-index: 20;\n height: 187px;\n overflow: hidden; }\n .prizes-box .prize-list {\n display: flex;\n flex-flow: wrap;\n padding: 0 57px; }\n .prizes-box .prize-list li:nth-of-type(2n) {\n margin-right: 0; }\n .prizes-box .prize-list li {\n position: relative;\n width: 125px;\n height: 99px;\n background: white;\n border: 2px solid #ffe300;\n box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);\n border-radius: 1px;\n margin-right: 10.5px;\n margin-bottom: 6.5px; }\n .prizes-box .prize-list li .prize-list__image {\n display: block;\n width: 100%;\n height: 100%;\n background-position: center;\n background-size: cover; }\n .prizes-box .prize-list li img {\n width: 90px;\n object-fit: contain; }\n .prizes-box .prize-list li:last-child {\n display: flex;\n align-items: center;\n justify-content: center; }\n .prizes-box .prize-list .top-tag {\n position: absolute;\n top: 0;\n right: 0;\n border-radius: 0 0 0 4px;\n font-size: 12px;\n line-height: 16px;\n text-align: center;\n padding: 0 4px;\n color: #fff; }\n .prizes-box .prize-list .captain {\n background: linear-gradient(270deg, #ff5d00 0%, #ff1700 100%); }\n .prizes-box .prize-list .stage {\n background: linear-gradient(-90deg, #004bfb 0%, #009cff 100%); }\n .prizes-box .prize-list .no-limit {\n position: absolute;\n bottom: 0;\n right: 0;\n background: rgba(0, 0, 0, 0.8);\n font-size: 12px;\n color: #fff;\n padding: 0 4px;\n border-radius: 6px 0 0 0; }\n .prizes-box .prize-list .bottom-bar {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n padding: 0 5px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background: rgba(0, 0, 0, 0.8);\n font-size: 12px;\n color: #fff; }\n .prizes-box .prize-list .bottom-bar .progress-bar {\n position: relative;\n flex: 0 1 45px;\n height: 2px;\n background: #fff;\n border-radius: 1px; }\n .prizes-box .prize-list .bottom-bar .progress-bar .progress {\n position: absolute;\n right: 0;\n top: 0;\n height: 100%;\n background: linear-gradient(-90deg, darkorange 0%, #ff1700 100%);\n border-radius: 1px; }\n\n.common_container .container_content .prizes-box {\n margin: 0 -15px; }\n\n.landing-treasure-rules {\n width: 320px; }\n .landing-treasure-rules.popup-container {\n top: 50%;\n transform: translate(-50%, -50%); }\n .landing-treasure-rules.popup-container .title {\n font-size: 18px;\n color: #111111; }\n .landing-treasure-rules .content {\n padding: 0 19px 15px;\n margin-top: 22px;\n color: #666666;\n font-size: 14px; }\n .landing-treasure-rules .content li {\n margin-bottom: 5px; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.bullet-screen, #user-bullet-screen {\n width: 329px;\n height: 30px;\n margin: 0 auto 28px;\n background: rgba(0, 0, 0, 0.6);\n border-radius: 15px;\n line-height: 30px;\n text-align: left; }\n .bullet-screen li, #user-bullet-screen li {\n height: 100%;\n padding: 2px;\n line-height: 26px;\n display: flex;\n align-items: center; }\n .bullet-screen .avatar, #user-bullet-screen .avatar {\n width: 26px;\n height: 26px;\n border-radius: 50%;\n margin-right: 7px;\n vertical-align: middle; }\n .bullet-screen span:nth-of-type(1), #user-bullet-screen span:nth-of-type(1) {\n margin-right: 5px; }\n .bullet-screen span, #user-bullet-screen span {\n font-size: 12px;\n color: #fff;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.treasure-nav[data-skip=\"nav\"] {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 30px;\n background-color: #357345; }\n\n.treasure-nav.fixed {\n position: fixed;\n top: 0;\n width: 100%;\n z-index: 999; }\n\n[data-skip=\"nav\"] .treasure-nav__item {\n flex: 1;\n box-sizing: border-box;\n font-size: 12px;\n color: #fff;\n text-align: center;\n line-height: 26px; }\n [data-skip=\"nav\"] .treasure-nav__item.active {\n border: 1px solid #090F08;\n border-radius: 3px;\n color: #090F08;\n background-color: #FEE41D; }\n"]}
\ No newline at end of file \ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{1039:function(e,t,a){},1042:function(e,t,a){},1102:function(e,t,a){},1103:function(e,t,a){},1196:function(e,t,a){"use strict";a.r(t);a(136);var n=a(36),c=a.n(n),i=(a(37),a(10)),s=a.n(i),r=a(3),o=a(5),l=a(4),u=a(6),m=a(7),d=a(50),p=a(0),h=a.n(p),g=(a(1039),function(e){function t(){return Object(r.a)(this,t),Object(l.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(m.a)(t,e),Object(o.a)(t,[{key:"render",value:function(){return h.a.createElement("div",{className:"box-container"},h.a.createElement("div",{className:"image-box"},this.props.children))}}]),t}(p.Component)),b=a(23),v=a(20),y=a(593),E=a(594),f=(a(1042),a(2)),w=a(434),j=a.n(w),S=a(662),_=a(87),N=function(e){function t(){var e,a;Object(r.a)(this,t);for(var n=arguments.length,c=new Array(n),i=0;i<n;i++)c[i]=arguments[i];return(a=Object(l.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(c)))).closeIcon="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",a.createTeamSuccessPopup=null,a.joinSuccessPopup=null,a.shareTipPopup=null,a.swiper=null,a.shareTitle="",a.shareDesc="",a.state={teamData:{member:[]},origin:sessionStorage.getItem("isCaptain")?1:Object(f.c)("origin"),treasure_code:Object(f.c)("treasure_code"),activityEnd:!1,notices:[],rule:"",isCaptain:1==Object(f.c)("origin"),isLoading:a.props.user.isFetching},a.getStage=function(){f.e.get("".concat(API.home,"/activity/stage")).then(function(e){var t=e.data,n=t.code,c=t.data,i=t.msg;if(200===n){if(0===Number(c.activity_stage))return void a.props.history.push("/")}else s.a.info(i,2)})},a.createMeta=function(e,t,a){var n=document.createElement("meta");n.setAttribute("name","description"),n.setAttribute("itemprop","description"),n.setAttribute("content",t);var c=document.createElement("meta");c.setAttribute("itemprop","name"),c.setAttribute("content",e);var i=document.createElement("meta");i.setAttribute("itemprop","image"),i.setAttribute("content",a);var s=document.getElementsByTagName("head")[0];s.appendChild(n),s.appendChild(c),s.appendChild(i)},a.fetchPageData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.origin,n=void 0===t?a.state.origin:t,c=e.treasure_code,i=void 0===c?a.state.treasure_code:c,r=a.props.location;f.e.post("".concat(API.home,"/sys/treasure/team"),{treasure_code:i,origin:n}).then(function(e){var t=e.data,n=t.data,c=t.code,i=t.msg;if(200==c){a.setState({teamData:n,isCaptain:sessionStorage.getItem("isCaptain")?sessionStorage.getItem("isCaptain"):1==Object(f.c)("origin"),activityEnd:5==n.status}),a.setupWxShareConfig(n.member),f.b.isWeixin?Object(f.k)({title:a.shareTitle,desc:a.shareDesc,link:"".concat(window.location.origin).concat(r.pathname,"?treasure_code=").concat(Object(f.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"}):a.createMeta(a.shareTitle,a.shareDesc,"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png");var o=new URLSearchParams(window.location.search);"1"!==o.get("origin")||f.b.isWeixin||(o.set("origin","2"),sessionStorage.setItem("isCaptain","1"),window.history.replaceState(null,"","landing?".concat(o.toString()))),a.showSharePromptWithParam()}else s.a.info(i,2,null,!1)})},a.setupWxShareConfig=function(e){var t=e.length,n=5-t<=0?4:5-t;a.shareTitle="\u8fd8\u5dee".concat(n,"\u4eba\u5373\u53ef\u5f00\u5b9d\u7bb1\uff0c100%\u6709\u5956\uff01"),a.shareDesc="\u52a0\u5165\u6211\u7684\u961f\u4f0d\uff0c\u673a\u68b0\u952e\u76d8\uff0c\u7eb8\u8d28\u4e66\u7c4d\u7b49\u8d85\u591a\u5956\u54c1\u7b49\u4f60\u62ff\uff01--\u4e03\u6708\u5728\u7ebf"},a.showSharePromptWithParam=function(){sessionStorage.getItem("showShareTip")&&!sessionStorage.getItem("closedRemind")&&a.showShareTip()},a.joinTeam=function(){if(!a.requiredLogin()){var e=a.state.treasure_code;f.e.post("".concat(API.home,"/sys/treasure/joinTeam"),{treasure_code:e}).then(function(e){var t=e.data,n=t.data,c=t.code,i=t.msg;if(200===c)switch(n.status){case 1:case 2:a.joinSuccess(n);break;default:s.a.info(i,2,null,!1)}else s.a.info(i,2,null,!1)})}},a.handleToMyTreasure=function(e){a.props.history;a.joinSuccessPopup&&a.joinSuccessPopup.remove(),Object(f.c)("version")?window.location.assign("https://m.julyedu.com/year/yearTreasure?id=".concat(e,"&version=").concat(Object(f.c)("version"))):window.location.assign("https://m.julyedu.com/year/yearTreasure?id=".concat(e))},a.joinSuccess=function(e){var t=e.id,n=e.status,c=e.my_team,i=c.team_num,s=c.lack_member,r=c.is_team,o=c.treasure_code;a.joinSuccessPopup=Object(b.h)({title:h.a.createElement("div",{className:"join-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/check-icon.png",alt:""}),h.a.createElement("div",null,"\u6210\u529f\u52a0\u5165\u961f\u4f0d")),className:"landing-join-success-wrapper",content:h.a.createElement("div",null,h.a.createElement("div",{className:"tip"},2===n?"\u7ec4\u961f\u6210\u529f\uff0c\u606d\u559c\u4f60\u83b7\u5f97\u4e00\u4e2a\u5b9d\u7bb1\uff01":r?h.a.createElement(h.a.Fragment,null,"\u60a8\u7684",h.a.createElement("span",null,i),"\u53f7\u961f\u4f0d\u8fd8\u5dee",h.a.createElement("span",null,s),"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1"):"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~"),2===n?h.a.createElement("img",{style:{width:"150px",marginTop:"23px"},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/treasure-split.gif",alt:"",onClick:a.handleToMyTreasure.bind(Object(d.a)(Object(d.a)(a)),t)}):r?h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(d.a)(Object(d.a)(a)),o)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",onClick:a.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d")),closeIcon:a.closeIcon,close:function(){a.fetchPageData(),a.getFollowStatus().then(function(e){!e&&a.remind("join",a.state.treasure_code,2)})}})},a.inviteMembers=function(e){var t=a.props,n=t.history,c=t.match,i=(t.user,t.location);if(Object(f.c)("version")){var s={title:a.shareTitle,desc:a.shareDesc,link:"".concat(window.location.origin).concat(i.pathname,"?treasure_code=").concat(e,"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"};Object(f.a)("toShare",s)}sessionStorage.setItem("showShareTip","1"),n.replace("".concat(c.url,"?treasure_code=").concat(e,"&origin=",1)),a.createTeamSuccessPopup&&a.createTeamSuccessPopup.remove()&&(a.createTeamSuccessPopup=null),a.joinSuccessPopup&&a.joinSuccessPopup.remove()&&(a.joinSuccessPopup=null),a.fetchPageData({treasure_code:e,origin:1}),a.setState({isCaptain:!0})},a.getFollowStatus=function(){return f.e.get("".concat(API.home,"/sys/user/isFollowWeChat")).then(function(e){var t=e.data,a=t.code,n=t.data;return 200===a&&n.is_follow})},a.createTeamSuccess=function(e){var t=e.member,n=e.team_num,c=e.lack_member,i=e.treasure_code;a.joinSuccessPopup&&a.joinSuccessPopup.remove()&&(a.joinSuccessPopup=null),a.getFollowStatus().then(function(e){a.createTeamSuccessPopup=Object(b.h)({title:"\u521b\u5efa\u6210\u529f",className:"landing-create-success",content:h.a.createElement("div",null,h.a.createElement("div",{className:"tip"},h.a.createElement("span",null,n),"\u53f7\u961f\u4f0d \u8fd8\u5dee",h.a.createElement("span",null,c),"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6~"),h.a.createElement("img",{className:"treasure-box",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png",alt:""}),h.a.createElement("ul",{className:"members"},new Array(5).fill("a").map(function(e,a){var n=t[a];return h.a.createElement("li",{key:a},n&&n.is_captain&&h.a.createElement("sup",null,"\u961f\u957f"),h.a.createElement("img",{className:"avatar",src:n?n.head_img:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png",alt:""}))})),h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(d.a)(Object(d.a)(a)),i)},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),closeIcon:a.closeIcon,afterClose:function(){e||a.remind("create",i)}})})},a.saveImage=function(e){var t=Object(f.c)("version");(t="string"===typeof t?t.replace(".","").replace(".","").slice(0,3):"")&&parseInt(t)<451?s.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",3,null,!1):Object(f.a)("generateQRCode",e)},a.remind=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"create",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,c=a.props.user;f.e.get("".concat(API["base-api"],"/wx/user_temporary_qrcode/").concat(c.data.uid)).then(function(e){return e.data.data.url}).then(function(c){j.a.toDataURL(c).then(function(i){Object(b.h)({title:"\u63d0\u9192\u670d\u52a1",className:"landing-remind",closeIcon:a.closeIcon,content:h.a.createElement("div",null,h.a.createElement("div",{className:"des"},"create"===e?"\u6709\u597d\u53cb\u52a0\u5165\u961f\u4f0d\u540e\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~":"\u83b7\u5f97\u5b9d\u7bb1\u65f6\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~"),h.a.createElement("img",{src:i,alt:""}),f.b.isAndroidApp?h.a.createElement("div",null,h.a.createElement("button",{className:"android-qr-code-btn",onClick:a.saveImage.bind(Object(d.a)(Object(d.a)(a)),c)},"\u4fdd\u5b58\u4e8c\u7ef4\u7801")):null,h.a.createElement("div",{className:"des"},"\u957f\u6309\u8bc6\u522b/\u626b\u7801 \u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6")),close:function(){sessionStorage.setItem("closedRemind","1"),a.fetchPageData({treasure_code:t,origin:n})}})})})},a.showShareTip=function(){var e=a.props,t=e.user,n=e.location;f.b.isAndroidApp||f.b.isIOSApp?Object(f.a)("toShare",{title:a.shareTitle,desc:a.shareDesc,link:"".concat(window.location.origin).concat(n.pathname,"?treasure_code=").concat(Object(f.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"}):a.shareTipPopup=Object(b.h)({title:h.a.createElement("div",null,"\u8fd8\u5dee",h.a.createElement("span",null,a.state.teamData.lack_member),"\u540d\u961f\u53cb\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1 \u5feb\u5206\u4eab\u7ed9\u597d\u53cb\u5427~"),className:"landing-share-tip ".concat(f.b.isWeixin?"wechat":""),closable:!1,close:function(){sessionStorage.removeItem("showShareTip"),t.hasError||a.getFollowStatus().then(function(e){!e&&a.remind("create",Object(f.c)("treasure_code"),1)})}})},a.showOpenInBrowserTip=function(){Object(b.h)({title:h.a.createElement("div",null,"\u70b9\u51fb\u53f3\u4e0a\u89d2\uff0c\u9009\u62e9\u201c\u5728\u6d4f\u89c8\u5668\u6253\u5f00\u201d"),className:"landing-open-in-browser-tip",closable:!1})},a.createMyTeam=function(){a.requiredLogin()||f.e.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,n=t.data,c=t.code,i=t.msg;200==c?a.createTeamSuccess(n):s.a.info(i,2,null,!1)})},a.requiredLogin=function(){var e=a.props,t=e.history,n=e.user,c=e.location;if(n.hasError)return f.b.isWeixin?window.location.assign("https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=".concat(encodeURIComponent("".concat(window.location.origin).concat(c.pathname,"?treasure_code=").concat(Object(f.c)("treasure_code"),"&origin=").concat(Object(f.c)("origin"),"&aa=bb")),"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect")):t.push("/passport"),!0},a.toSquare=function(){a.props.history;Object(f.c)("version")?window.location.assign("https://m.julyedu.com/year/yearindex?version="+Object(f.c)("version")):window.location.assign("https://m.julyedu.com/year/yearindex")},a}return Object(m.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.getStage(),this.fetchPageData(),window.showFollowAlert=this.remind.bind(this,"create"),document.title="AI\u5145\u7535\u5b63\uff0c\u5f00\u5b9d\u7bb1\u514d\u8d39\u5b66AI\u7206\u6b3e\u597d\u8bfe\uff0c300\u672c\u7a0b\u5e8f\u5458\u5fc5\u5907\u7eb8\u8d28\u4e66\u514d\u8d39\u9001\uff0cAI\u8fdb\u9636\u5b9d\u5178\u6765\u5c31\u9001\uff01-\u4e03\u6708\u5728\u7ebf";var e=document.querySelector("#landing"),t=document.querySelector(".box-container");t.offsetHeight<window.innerHeight&&(e.style.minHeight="".concat(window.innerHeight,"px"),t.style.minHeight="".concat(window.innerHeight,"px"))}},{key:"componentDidUpdate",value:function(e){e.user.hasError===this.props.user.hasError||this.props.user.hasError||this.fetchPageData(),e.user.isFetching===this.props.user.isFetching||this.props.user.isFetching||this.setState({isLoading:this.props.user.isFetching})}},{key:"componentWillUnmount",value:function(){this.shareTipPopup&&this.shareTipPopup.remove()}},{key:"render",value:function(){var e=this.state,t=e.teamData,a=t.head_img,n=t.member,i=t.status,s=t.lack_member,r=t.team_num,o=t.prize_info,l=t.my_team,u=t.standby_plan,m=e.activityEnd,d=e.isCaptain,p=e.isLoading;return h.a.createElement("div",{id:"landing"},!(u&&f.b.isWeixin)&&h.a.createElement("div",{id:"to-square"},h.a.createElement("a",{href:"javascript:",onClick:this.toSquare},"\u524d\u5f80\u6d3b\u52a8\u4f1a\u573a\uff0c\u4eab\u66f4\u591a\u798f\u5229\uff01 >>")),h.a.createElement(g,null,h.a.createElement("i",{className:"snow-deco ".concat(u&&f.b.isWeixin?"standby":"")}),u&&f.b.isWeixin&&h.a.createElement(h.a.Fragment,null,h.a.createElement(c.a,{className:"standby-space"}),h.a.createElement("div",{className:"standby-tip"},"\u70b9\u51fb\u53f3\u4e0a\u89d2\uff0c\u9009\u62e9\u201c\u5728\u6d4f\u89c8\u5668\u6253\u5f00\u201d")),h.a.createElement("img",{className:"main-avatar",src:a,alt:""}),1===i?h.a.createElement("div",{className:"des"},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d\uff0c\u5f00\u5b9d\u7bb1\u9886\u53d6\u4e30\u539a\u5956\u54c1~"):h.a.createElement("div",{className:"des"},"\u52a0\u5165\u6211\u7684",h.a.createElement("span",null,r),"\u53f7\u961f\u4f0d\uff0c\u4e00\u8d77\u5f00\u5b9d\u7bb1\u9886\u53d6\u4e30\u539a\u5956\u54c1~"),h.a.createElement(y.a,{showSystemNotices:!1}),h.a.createElement(E.a,null),h.a.createElement("div",{className:"group"},h.a.createElement("ul",{className:"member"},n&&n.length&&new Array(5).fill("a").map(function(e,t){var a=n[t];return a?h.a.createElement("li",{key:t},h.a.createElement("div",{className:"avatar-wrapper"},a.is_captain?h.a.createElement("sup",null,"\u961f\u957f"):null,h.a.createElement("img",{src:a.head_img,alt:"",className:"avatar"}))):h.a.createElement("li",{key:t},h.a.createElement("div",{className:"avatar-wrapper"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png",alt:"",className:"avatar"})))})),h.a.createElement("ul",{className:"bars"},n&&n.length&&new Array(5).fill("a").map(function(e,t){return h.a.createElement("li",{key:t,className:"".concat(t<n.length?"active":"")})})),1===i&&!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},"\u8fd8\u5dee ",s," \u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5f53\u524d\u5b9d\u7bb1\u54e6~"),!(u&&f.b.isWeixin)&&h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.showShareTip},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),3===i&&!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},h.a.createElement("p",null,"\u5df2\u52a0\u5165\u5f53\u524d\u961f\u4f0d"),l.is_team?h.a.createElement("p",null,"\u60a8\u7684",l.team_num,"\u53f7\u961f\u4f0d\u8fd8\u5dee",l.lack_member,"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1~"):h.a.createElement("p",null,"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~")),!(u&&f.b.isWeixin)&&(l.is_team?h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.inviteMembers.bind(this,l.treasure_code)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d"))),4===i&&!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},h.a.createElement("p",null,"\u5df2\u52a0\u5165\u5176\u4ed6\u961f\u4f0d"),l.is_team?h.a.createElement("p",null,"\u60a8\u7684",l.team_num,"\u53f7\u961f\u4f0d\u8fd8\u5dee",l.lack_member,"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1~"):h.a.createElement("p",null,"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~")),!(u&&f.b.isWeixin)&&(l.is_team?h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.inviteMembers.bind(this,l.treasure_code)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d"))),!(u&&f.b.isWeixin)&&2===i&&!m&&h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.joinTeam},"\u540c\u610f\u52a0\u5165\u961f\u4f0d"),o&&0!==o.length&&!m&&!d&&h.a.createElement("div",{className:"certainly-prompt"},"\u7b2c",o[0].stage_no,"\u4e2a\u5b9d\u7bb1\u5fc5\u4e2d ",o[0].name),m&&h.a.createElement("div",{className:"activity-end"},h.a.createElement("div",null,"\u6d3b\u52a8\u5df2\u7ed3\u675f"),h.a.createElement("div",null,"\u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u4e86\u89e3\u66f4\u591a\u6d3b\u52a8\u4fe1\u606f"),h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png",alt:""}),h.a.createElement("div",null,"\u957f\u6309\u8bc6\u522b / \u5fae\u4fe1\u626b\u7801")))),!d&&h.a.createElement(h.a.Fragment,null,h.a.createElement(c.a,{size:"xl"}),h.a.createElement(S.a,{getSum:function(){}})),p&&h.a.createElement("div",{className:"loading",style:{width:window.innerWidth+"px",height:window.innerHeight+"px"}},h.a.createElement(_.FadeLoader,{color:"#fff",loading:p})))}}]),t}(p.Component);t.default=Object(v.b)(function(e){return{user:e.user}},null)(N)},1197:function(e,t,a){"use strict";a.r(t);a(136);var n=a(36),c=a.n(n),i=(a(37),a(10)),s=a.n(i),r=a(3),o=a(5),l=a(4),u=a(6),m=a(7),d=a(50),p=a(0),h=a.n(p),g=(a(1102),function(e){function t(){return Object(r.a)(this,t),Object(l.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(m.a)(t,e),Object(o.a)(t,[{key:"render",value:function(){return h.a.createElement("div",{className:"box-container"},h.a.createElement("div",{className:"image-box"},this.props.children))}}]),t}(p.Component)),b=a(23),v=a(20),y=a(593),E=a(594),f=(a(1103),a(2)),w=a(434),j=a.n(w),S=a(87),_=a(181),N=a(183),O=function(e){function t(){var e,a;Object(r.a)(this,t);for(var n=arguments.length,c=new Array(n),i=0;i<n;i++)c[i]=arguments[i];return(a=Object(l.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(c)))).closeIcon="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",a.createTeamSuccessPopup=null,a.joinSuccessPopup=null,a.shareTipPopup=null,a.swiper=null,a.shareTitle="",a.shareDesc="",a.state={teamData:{member:[]},origin:sessionStorage.getItem("isCaptain")?1:Object(f.c)("origin"),treasure_code:Object(f.c)("treasure_code"),activityEnd:!1,notices:[],rule:"",isCaptain:1==Object(f.c)("origin"),isLoading:a.props.user.isFetching,modules:[]},a.getIndexData=function(){f.e.get("".concat(API.home,"/m/home")).then(function(e){if(200===e.data.code){var t=(e.data||{}).data,n=Array.isArray(t.modules)?t.modules:[];a.setState({modules:n})}else s.a.info(e.data.msg,2)})},a.getStage=function(){f.e.get("".concat(API.home,"/activity/stage")).then(function(e){var t=e.data,n=t.code,c=t.data,i=t.msg;if(200===n){if(0===Number(c.treasure_stage))return void a.props.history.push("/")}else s.a.info(i,2)})},a.createMeta=function(e,t,a){var n=document.createElement("meta");n.setAttribute("name","description"),n.setAttribute("itemprop","description"),n.setAttribute("content",t);var c=document.createElement("meta");c.setAttribute("itemprop","name"),c.setAttribute("content",e);var i=document.createElement("meta");i.setAttribute("itemprop","image"),i.setAttribute("content",a);var s=document.getElementsByTagName("head")[0];s.appendChild(n),s.appendChild(c),s.appendChild(i)},a.fetchPageData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.origin,n=void 0===t?a.state.origin:t,c=e.treasure_code,i=void 0===c?a.state.treasure_code:c,r=a.props.location;f.e.post("".concat(API.home,"/sys/treasure/team"),{treasure_code:i,origin:n}).then(function(e){var t=e.data,n=t.data,c=t.code,i=t.msg;if(200==c){a.setState({teamData:n,isCaptain:sessionStorage.getItem("isCaptain")?sessionStorage.getItem("isCaptain"):1==Object(f.c)("origin"),activityEnd:5==n.status}),a.setupWxShareConfig(n.member),f.b.isWeixin?Object(f.k)({title:a.shareTitle,desc:a.shareDesc,link:"".concat(window.location.origin).concat(r.pathname,"?treasure_code=").concat(Object(f.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"}):a.createMeta(a.shareTitle,a.shareDesc,"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png");var o=new URLSearchParams(window.location.search);"1"!==o.get("origin")||f.b.isWeixin||(o.set("origin","2"),sessionStorage.setItem("isCaptain","1"),window.history.replaceState(null,"","landing?".concat(o.toString()))),a.showSharePromptWithParam()}else 520!==c&&s.a.info(i,2,null,!1)})},a.setupWxShareConfig=function(e){var t=e.length,n=5-t<=0?4:5-t;a.shareTitle="\u8fd8\u5dee".concat(n,"\u4eba\u5373\u53ef\u5f00\u5b9d\u7bb1\uff0c100%\u6709\u5956\uff01"),a.shareDesc="\u52a0\u5165\u6211\u7684\u961f\u4f0d\uff0c\u673a\u68b0\u952e\u76d8\uff0c\u7eb8\u8d28\u4e66\u7c4d\u7b49\u8d85\u591a\u5956\u54c1\u7b49\u4f60\u62ff\uff01--\u4e03\u6708\u5728\u7ebf"},a.showSharePromptWithParam=function(){sessionStorage.getItem("showShareTip")&&!sessionStorage.getItem("closedRemind")&&a.showShareTip()},a.joinTeam=function(){if(!a.requiredLogin()){var e=a.state.treasure_code;f.e.post("".concat(API.home,"/sys/treasure/joinTeam"),{treasure_code:e}).then(function(e){var t=e.data,n=t.data,c=t.code,i=t.msg;if(200===c)switch(n.status){case 1:case 2:a.joinSuccess(n);break;default:s.a.info(i,2,null,!1)}else s.a.info(i,2,null,!1)})}},a.handleToMyTreasure=function(e){a.props.history;a.joinSuccessPopup&&a.joinSuccessPopup.remove(),Object(f.c)("version")?window.location.assign("https://m.julyedu.com/box/yearTreasure?id=".concat(e,"&version=").concat(Object(f.c)("version"))):window.location.assign("https://m.julyedu.com/box/yearTreasure?id=".concat(e))},a.joinSuccess=function(e){var t=e.id,n=e.status,c=e.my_team,i=c.team_num,s=c.lack_member,r=c.is_team,o=c.treasure_code;a.joinSuccessPopup=Object(b.h)({title:h.a.createElement("div",{className:"join-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/check-icon.png",alt:""}),h.a.createElement("div",null,"\u6210\u529f\u52a0\u5165\u961f\u4f0d")),className:"landing-join-success-wrapper",content:h.a.createElement("div",null,h.a.createElement("div",{className:"tip"},2===n?"\u7ec4\u961f\u6210\u529f\uff0c\u606d\u559c\u4f60\u83b7\u5f97\u4e00\u4e2a\u5b9d\u7bb1\uff01":r?h.a.createElement(h.a.Fragment,null,"\u60a8\u7684",h.a.createElement("span",null,i),"\u53f7\u961f\u4f0d\u8fd8\u5dee",h.a.createElement("span",null,s),"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1"):"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~"),2===n?h.a.createElement("img",{style:{width:"150px",marginTop:"23px"},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/treasure-split.gif",alt:"",onClick:a.handleToMyTreasure.bind(Object(d.a)(Object(d.a)(a)),t)}):r?h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(d.a)(Object(d.a)(a)),o)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",onClick:a.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d")),closeIcon:a.closeIcon,close:function(){a.fetchPageData(),a.getFollowStatus().then(function(e){!e&&a.remind("join",a.state.treasure_code,2)})}})},a.inviteMembers=function(e){var t=a.props,n=t.history,c=t.match,i=(t.user,t.location);if(Object(f.c)("version")){var s={title:a.shareTitle,desc:a.shareDesc,link:"".concat(window.location.origin).concat(i.pathname,"?treasure_code=").concat(e,"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"};Object(f.a)("toShare",s)}sessionStorage.setItem("showShareTip","1"),n.replace("".concat(c.url,"?treasure_code=").concat(e,"&origin=",1)),a.createTeamSuccessPopup&&a.createTeamSuccessPopup.remove()&&(a.createTeamSuccessPopup=null),a.joinSuccessPopup&&a.joinSuccessPopup.remove()&&(a.joinSuccessPopup=null),a.fetchPageData({treasure_code:e,origin:1}),a.setState({isCaptain:!0})},a.getFollowStatus=function(){return f.e.get("".concat(API.home,"/sys/user/isFollowWeChat")).then(function(e){var t=e.data,a=t.code,n=t.data;return 200===a&&n.is_follow})},a.createTeamSuccess=function(e){var t=e.member,n=e.team_num,c=e.lack_member,i=e.treasure_code;a.joinSuccessPopup&&a.joinSuccessPopup.remove()&&(a.joinSuccessPopup=null),a.getFollowStatus().then(function(e){a.createTeamSuccessPopup=Object(b.h)({title:"\u521b\u5efa\u6210\u529f",className:"landing-create-success",content:h.a.createElement("div",null,h.a.createElement("div",{className:"tip"},h.a.createElement("span",null,n),"\u53f7\u961f\u4f0d \u8fd8\u5dee",h.a.createElement("span",null,c),"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6~"),h.a.createElement("img",{className:"treasure-box",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png",alt:""}),h.a.createElement("ul",{className:"members"},new Array(5).fill("a").map(function(e,a){var n=t[a];return h.a.createElement("li",{key:a},n&&n.is_captain&&h.a.createElement("sup",null,"\u961f\u957f"),h.a.createElement("img",{className:"avatar",src:n?n.head_img:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png",alt:""}))})),h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(d.a)(Object(d.a)(a)),i)},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),closeIcon:a.closeIcon,afterClose:function(){e||a.remind("create",i)}})})},a.saveImage=function(e){var t=Object(f.c)("version");(t="string"===typeof t?t.replace(".","").replace(".","").slice(0,3):"")&&parseInt(t)<451?s.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",3,null,!1):Object(f.a)("generateQRCode",e)},a.remind=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"create",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,c=a.props.user;f.e.get("".concat(API["base-api"],"/wx/user_temporary_qrcode/").concat(c.data.uid)).then(function(e){return e.data.data.url}).then(function(c){j.a.toDataURL(c).then(function(i){Object(b.h)({title:"\u63d0\u9192\u670d\u52a1",className:"landing-remind",closeIcon:a.closeIcon,content:h.a.createElement("div",null,h.a.createElement("div",{className:"des"},"create"===e?"\u6709\u597d\u53cb\u52a0\u5165\u961f\u4f0d\u540e\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~":"\u83b7\u5f97\u5b9d\u7bb1\u65f6\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~"),h.a.createElement("img",{src:i,alt:""}),f.b.isAndroidApp?h.a.createElement("div",null,h.a.createElement("button",{className:"android-qr-code-btn",onClick:a.saveImage.bind(Object(d.a)(Object(d.a)(a)),c)},"\u4fdd\u5b58\u4e8c\u7ef4\u7801")):null,h.a.createElement("div",{className:"des"},"\u957f\u6309\u8bc6\u522b/\u626b\u7801 \u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6")),close:function(){sessionStorage.setItem("closedRemind","1"),a.fetchPageData({treasure_code:t,origin:n})}})})})},a.showShareTip=function(){var e=a.props,t=e.user,n=e.location;f.b.isAndroidApp||f.b.isIOSApp?Object(f.a)("toShare",{title:a.shareTitle,desc:a.shareDesc,link:"".concat(window.location.origin).concat(n.pathname,"?treasure_code=").concat(Object(f.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"}):a.shareTipPopup=Object(b.h)({title:h.a.createElement("div",null,"\u8fd8\u5dee",h.a.createElement("span",null,a.state.teamData.lack_member),"\u540d\u961f\u53cb\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1 \u5feb\u5206\u4eab\u7ed9\u597d\u53cb\u5427~"),className:"landing-share-tip ".concat(f.b.isWeixin?"wechat":""),closable:!1,close:function(){sessionStorage.removeItem("showShareTip"),t.hasError||a.getFollowStatus().then(function(e){!e&&a.remind("create",Object(f.c)("treasure_code"),1)})}})},a.showOpenInBrowserTip=function(){Object(b.h)({title:h.a.createElement("div",null,"\u70b9\u51fb\u53f3\u4e0a\u89d2\uff0c\u9009\u62e9\u201c\u5728\u6d4f\u89c8\u5668\u6253\u5f00\u201d"),className:"landing-open-in-browser-tip",closable:!1})},a.createMyTeam=function(){a.requiredLogin()||f.e.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,n=t.data,c=t.code,i=t.msg;200==c?a.createTeamSuccess(n):s.a.info(i,2,null,!1)})},a.requiredLogin=function(){var e=a.props,t=e.history,n=e.user,c=e.location;if(n.hasError)return f.b.isWeixin?window.location.assign("https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=".concat(encodeURIComponent("".concat(window.location.origin).concat(c.pathname,"?treasure_code=").concat(Object(f.c)("treasure_code"),"&origin=").concat(Object(f.c)("origin"),"&aa=bb")),"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect")):t.push("/passport"),!0},a.toSquare=function(){a.props.history;Object(f.c)("version")?window.location.assign("https://m.julyedu.com/?version="+Object(f.c)("version")):window.location.assign("https://m.julyedu.com/")},a}return Object(m.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.getStage(),this.fetchPageData(),this.getIndexData(),window.showFollowAlert=this.remind.bind(this,"create"),document.title="AI\u5c31\u4e1a\u5b63\uff0c\u5f00\u5b9d\u7bb1\u514d\u8d39\u62ffVIP\u5e74\u4f1a\u5458\uff0c200\u672c\u7a0b\u5e8f\u5458\u5fc5\u5907\u7eb8\u8d28\u4e66\u514d\u8d39\u5305\u90ae\u9001\uff01- \u4e03\u6708\u5728\u7ebf";var e=document.querySelector("#landing"),t=document.querySelector(".box-container");t.offsetHeight<window.innerHeight&&(e.style.minHeight="".concat(window.innerHeight,"px"),t.style.minHeight="".concat(window.innerHeight,"px"))}},{key:"componentDidUpdate",value:function(e){e.user.hasError===this.props.user.hasError||this.props.user.hasError||this.fetchPageData(),e.user.isFetching===this.props.user.isFetching||this.props.user.isFetching||this.setState({isLoading:this.props.user.isFetching})}},{key:"componentWillUnmount",value:function(){this.shareTipPopup&&this.shareTipPopup.remove()}},{key:"render",value:function(){var e=this.state,t=e.teamData,a=t.head_img,n=t.member,i=t.status,s=t.lack_member,r=t.team_num,o=t.prize_info,l=t.my_team,u=t.standby_plan,m=e.activityEnd,d=e.isCaptain,p=e.isLoading,b=e.modules;return h.a.createElement("div",{id:"landing"},!(u&&f.b.isWeixin)&&h.a.createElement("div",{id:"to-square"},h.a.createElement("a",{href:"javascript:",onClick:this.toSquare},"\u524d\u5f80\u4e03\u6708\u5728\u7ebf\u5b98\u7f51\uff0c\u5b66\u4eba\u5de5\u667a\u80fd\u7cbe\u54c1\u8bfe\u7a0b\uff01 >>")),h.a.createElement(g,null,h.a.createElement("i",{className:"snow-deco ".concat(u&&f.b.isWeixin?"standby":"")}),u&&f.b.isWeixin&&h.a.createElement(h.a.Fragment,null,h.a.createElement(c.a,{className:"standby-space"}),h.a.createElement("div",{className:"standby-tip"},"\u70b9\u51fb\u53f3\u4e0a\u89d2\uff0c\u9009\u62e9\u201c\u5728\u6d4f\u89c8\u5668\u6253\u5f00\u201d")),h.a.createElement("img",{className:"main-avatar",src:a,alt:""}),1===i?h.a.createElement("div",{className:"des"},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d\uff0c\u5f00\u5b9d\u7bb1\u9886\u53d6\u4e30\u539a\u5956\u54c1~"):h.a.createElement("div",{className:"des"},"\u52a0\u5165\u6211\u7684",h.a.createElement("span",null,r),"\u53f7\u961f\u4f0d\uff0c\u4e00\u8d77\u5f00\u5b9d\u7bb1\u9886\u53d6\u4e30\u539a\u5956\u54c1~"),h.a.createElement(y.a,{showSystemNotices:!1}),h.a.createElement(E.a,null),h.a.createElement("div",{className:"group"},h.a.createElement("ul",{className:"member"},n&&n.length&&new Array(5).fill("a").map(function(e,t){var a=n[t];return a?h.a.createElement("li",{key:t},h.a.createElement("div",{className:"avatar-wrapper"},a.is_captain?h.a.createElement("sup",null,"\u961f\u957f"):null,h.a.createElement("img",{src:a.head_img,alt:"",className:"avatar"}))):h.a.createElement("li",{key:t},h.a.createElement("div",{className:"avatar-wrapper"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png",alt:"",className:"avatar"})))})),h.a.createElement("ul",{className:"bars"},n&&n.length&&new Array(5).fill("a").map(function(e,t){return h.a.createElement("li",{key:t,className:"".concat(t<n.length?"active":"")})})),1===i&&!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},"\u8fd8\u5dee ",s," \u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5f53\u524d\u5b9d\u7bb1\u54e6~"),!(u&&f.b.isWeixin)&&h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.showShareTip},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),3===i&&!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},h.a.createElement("p",null,"\u5df2\u52a0\u5165\u5f53\u524d\u961f\u4f0d"),l.is_team?h.a.createElement("p",null,"\u60a8\u7684",l.team_num,"\u53f7\u961f\u4f0d\u8fd8\u5dee",l.lack_member,"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1~"):h.a.createElement("p",null,"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~")),!(u&&f.b.isWeixin)&&(l.is_team?h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.inviteMembers.bind(this,l.treasure_code)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d"))),4===i&&!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},h.a.createElement("p",null,"\u5df2\u52a0\u5165\u5176\u4ed6\u961f\u4f0d"),l.is_team?h.a.createElement("p",null,"\u60a8\u7684",l.team_num,"\u53f7\u961f\u4f0d\u8fd8\u5dee",l.lack_member,"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1~"):h.a.createElement("p",null,"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~")),!(u&&f.b.isWeixin)&&(l.is_team?h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.inviteMembers.bind(this,l.treasure_code)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d"))),!(u&&f.b.isWeixin)&&2===i&&!m&&h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.joinTeam},"\u540c\u610f\u52a0\u5165\u961f\u4f0d"),o&&0!==o.length&&!m&&!d&&h.a.createElement("div",{className:"certainly-prompt"},"\u7b2c",o[0].stage_no,"\u4e2a\u5b9d\u7bb1\u5fc5\u4e2d ",o[0].name),m&&h.a.createElement("div",{className:"activity-end"},h.a.createElement("div",null,"\u6d3b\u52a8\u5df2\u7ed3\u675f"),h.a.createElement("div",null,"\u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u4e86\u89e3\u66f4\u591a\u6d3b\u52a8\u4fe1\u606f"),h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png",alt:""}),h.a.createElement("div",null,"\u957f\u6309\u8bc6\u522b / \u5fae\u4fe1\u626b\u7801")))),!d&&h.a.createElement("div",{className:"course-module"},h.a.createElement(_.a,{modules:b}),h.a.createElement(N.a,null)),p&&h.a.createElement("div",{className:"loading",style:{width:window.innerWidth+"px",height:window.innerHeight+"px"}},h.a.createElement(S.FadeLoader,{color:"#fff",loading:p})))}}]),t}(p.Component);t.default=Object(v.b)(function(e){return{user:e.user}},null)(O)}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[31],{1039:function(e,t,a){},1042:function(e,t,a){},1102:function(e,t,a){},1103:function(e,t,a){},1196:function(e,t,a){"use strict";a.r(t);a(136);var n=a(36),c=a.n(n),i=(a(37),a(10)),s=a.n(i),r=a(3),o=a(5),l=a(4),u=a(6),m=a(7),d=a(50),p=a(0),h=a.n(p),g=(a(1039),function(e){function t(){return Object(r.a)(this,t),Object(l.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(m.a)(t,e),Object(o.a)(t,[{key:"render",value:function(){return h.a.createElement("div",{className:"box-container"},h.a.createElement("div",{className:"image-box"},this.props.children))}}]),t}(p.Component)),b=a(23),v=a(20),y=a(593),E=a(594),f=(a(1042),a(2)),w=a(434),j=a.n(w),S=a(662),_=a(87),N=function(e){function t(){var e,a;Object(r.a)(this,t);for(var n=arguments.length,c=new Array(n),i=0;i<n;i++)c[i]=arguments[i];return(a=Object(l.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(c)))).closeIcon="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",a.createTeamSuccessPopup=null,a.joinSuccessPopup=null,a.shareTipPopup=null,a.swiper=null,a.shareTitle="",a.shareDesc="",a.state={teamData:{member:[]},origin:sessionStorage.getItem("isCaptain")?1:Object(f.c)("origin"),treasure_code:Object(f.c)("treasure_code"),activityEnd:!1,notices:[],rule:"",isCaptain:1==Object(f.c)("origin"),isLoading:a.props.user.isFetching},a.getStage=function(){f.e.get("".concat(API.home,"/activity/stage")).then(function(e){var t=e.data,n=t.code,c=t.data,i=t.msg;if(200===n){if(0===Number(c.activity_stage))return void a.props.history.push("/")}else s.a.info(i,2)})},a.createMeta=function(e,t,a){var n=document.createElement("meta");n.setAttribute("name","description"),n.setAttribute("itemprop","description"),n.setAttribute("content",t);var c=document.createElement("meta");c.setAttribute("itemprop","name"),c.setAttribute("content",e);var i=document.createElement("meta");i.setAttribute("itemprop","image"),i.setAttribute("content",a);var s=document.getElementsByTagName("head")[0];s.appendChild(n),s.appendChild(c),s.appendChild(i)},a.fetchPageData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.origin,n=void 0===t?a.state.origin:t,c=e.treasure_code,i=void 0===c?a.state.treasure_code:c,r=a.props.location;f.e.post("".concat(API.home,"/sys/treasure/team"),{treasure_code:i,origin:n}).then(function(e){var t=e.data,n=t.data,c=t.code,i=t.msg;if(200==c){a.setState({teamData:n,isCaptain:sessionStorage.getItem("isCaptain")?sessionStorage.getItem("isCaptain"):1==Object(f.c)("origin"),activityEnd:5==n.status}),a.setupWxShareConfig(n.member),f.b.isWeixin?Object(f.k)({title:a.shareTitle,desc:a.shareDesc,link:"".concat(window.location.origin).concat(r.pathname,"?treasure_code=").concat(Object(f.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"}):a.createMeta(a.shareTitle,a.shareDesc,"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png");var o=new URLSearchParams(window.location.search);"1"!==o.get("origin")||f.b.isWeixin||(o.set("origin","2"),sessionStorage.setItem("isCaptain","1"),window.history.replaceState(null,"","landing?".concat(o.toString()))),a.showSharePromptWithParam()}else s.a.info(i,2,null,!1)})},a.setupWxShareConfig=function(e){var t=e.length,n=5-t<=0?4:5-t;a.shareTitle="\u8fd8\u5dee".concat(n,"\u4eba\u5373\u53ef\u5f00\u5b9d\u7bb1\uff0c100%\u6709\u5956\uff01"),a.shareDesc="\u52a0\u5165\u6211\u7684\u961f\u4f0d\uff0c\u673a\u68b0\u952e\u76d8\uff0c\u7eb8\u8d28\u4e66\u7c4d\u7b49\u8d85\u591a\u5956\u54c1\u7b49\u4f60\u62ff\uff01--\u4e03\u6708\u5728\u7ebf"},a.showSharePromptWithParam=function(){sessionStorage.getItem("showShareTip")&&!sessionStorage.getItem("closedRemind")&&a.showShareTip()},a.joinTeam=function(){if(!a.requiredLogin()){var e=a.state.treasure_code;f.e.post("".concat(API.home,"/sys/treasure/joinTeam"),{treasure_code:e}).then(function(e){var t=e.data,n=t.data,c=t.code,i=t.msg;if(200===c)switch(n.status){case 1:case 2:a.joinSuccess(n);break;default:s.a.info(i,2,null,!1)}else s.a.info(i,2,null,!1)})}},a.handleToMyTreasure=function(e){a.props.history;a.joinSuccessPopup&&a.joinSuccessPopup.remove(),Object(f.c)("version")?window.location.assign("https://m.julyedu.com/year/yearTreasure?id=".concat(e,"&version=").concat(Object(f.c)("version"))):window.location.assign("https://m.julyedu.com/year/yearTreasure?id=".concat(e))},a.joinSuccess=function(e){var t=e.id,n=e.status,c=e.my_team,i=c.team_num,s=c.lack_member,r=c.is_team,o=c.treasure_code;a.joinSuccessPopup=Object(b.h)({title:h.a.createElement("div",{className:"join-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/check-icon.png",alt:""}),h.a.createElement("div",null,"\u6210\u529f\u52a0\u5165\u961f\u4f0d")),className:"landing-join-success-wrapper",content:h.a.createElement("div",null,h.a.createElement("div",{className:"tip"},2===n?"\u7ec4\u961f\u6210\u529f\uff0c\u606d\u559c\u4f60\u83b7\u5f97\u4e00\u4e2a\u5b9d\u7bb1\uff01":r?h.a.createElement(h.a.Fragment,null,"\u60a8\u7684",h.a.createElement("span",null,i),"\u53f7\u961f\u4f0d\u8fd8\u5dee",h.a.createElement("span",null,s),"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1"):"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~"),2===n?h.a.createElement("img",{style:{width:"150px",marginTop:"23px"},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/treasure-split.gif",alt:"",onClick:a.handleToMyTreasure.bind(Object(d.a)(Object(d.a)(a)),t)}):r?h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(d.a)(Object(d.a)(a)),o)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",onClick:a.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d")),closeIcon:a.closeIcon,close:function(){a.fetchPageData(),a.getFollowStatus().then(function(e){!e&&a.remind("join",a.state.treasure_code,2)})}})},a.inviteMembers=function(e){var t=a.props,n=t.history,c=t.match,i=(t.user,t.location);if(Object(f.c)("version")){var s={title:a.shareTitle,desc:a.shareDesc,link:"".concat(window.location.origin).concat(i.pathname,"?treasure_code=").concat(e,"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"};Object(f.a)("toShare",s)}sessionStorage.setItem("showShareTip","1"),n.replace("".concat(c.url,"?treasure_code=").concat(e,"&origin=",1)),a.createTeamSuccessPopup&&a.createTeamSuccessPopup.remove()&&(a.createTeamSuccessPopup=null),a.joinSuccessPopup&&a.joinSuccessPopup.remove()&&(a.joinSuccessPopup=null),a.fetchPageData({treasure_code:e,origin:1}),a.setState({isCaptain:!0})},a.getFollowStatus=function(){return f.e.get("".concat(API.home,"/sys/user/isFollowWeChat")).then(function(e){var t=e.data,a=t.code,n=t.data;return 200===a&&n.is_follow})},a.createTeamSuccess=function(e){var t=e.member,n=e.team_num,c=e.lack_member,i=e.treasure_code;a.joinSuccessPopup&&a.joinSuccessPopup.remove()&&(a.joinSuccessPopup=null),a.getFollowStatus().then(function(e){a.createTeamSuccessPopup=Object(b.h)({title:"\u521b\u5efa\u6210\u529f",className:"landing-create-success",content:h.a.createElement("div",null,h.a.createElement("div",{className:"tip"},h.a.createElement("span",null,n),"\u53f7\u961f\u4f0d \u8fd8\u5dee",h.a.createElement("span",null,c),"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6~"),h.a.createElement("img",{className:"treasure-box",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png",alt:""}),h.a.createElement("ul",{className:"members"},new Array(5).fill("a").map(function(e,a){var n=t[a];return h.a.createElement("li",{key:a},n&&n.is_captain&&h.a.createElement("sup",null,"\u961f\u957f"),h.a.createElement("img",{className:"avatar",src:n?n.head_img:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png",alt:""}))})),h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(d.a)(Object(d.a)(a)),i)},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),closeIcon:a.closeIcon,afterClose:function(){e||a.remind("create",i)}})})},a.saveImage=function(e){var t=Object(f.c)("version");(t="string"===typeof t?t.replace(".","").replace(".","").slice(0,3):"")&&parseInt(t)<451?s.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",3,null,!1):Object(f.a)("generateQRCode",e)},a.remind=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"create",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,c=a.props.user;f.e.get("".concat(API["base-api"],"/wx/user_temporary_qrcode/").concat(c.data.uid)).then(function(e){return e.data.data.url}).then(function(c){j.a.toDataURL(c).then(function(i){Object(b.h)({title:"\u63d0\u9192\u670d\u52a1",className:"landing-remind",closeIcon:a.closeIcon,content:h.a.createElement("div",null,h.a.createElement("div",{className:"des"},"create"===e?"\u6709\u597d\u53cb\u52a0\u5165\u961f\u4f0d\u540e\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~":"\u83b7\u5f97\u5b9d\u7bb1\u65f6\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~"),h.a.createElement("img",{src:i,alt:""}),f.b.isAndroidApp?h.a.createElement("div",null,h.a.createElement("button",{className:"android-qr-code-btn",onClick:a.saveImage.bind(Object(d.a)(Object(d.a)(a)),c)},"\u4fdd\u5b58\u4e8c\u7ef4\u7801")):null,h.a.createElement("div",{className:"des"},"\u957f\u6309\u8bc6\u522b/\u626b\u7801 \u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6")),close:function(){sessionStorage.setItem("closedRemind","1"),a.fetchPageData({treasure_code:t,origin:n})}})})})},a.showShareTip=function(){var e=a.props,t=e.user,n=e.location;f.b.isAndroidApp||f.b.isIOSApp?Object(f.a)("toShare",{title:a.shareTitle,desc:a.shareDesc,link:"".concat(window.location.origin).concat(n.pathname,"?treasure_code=").concat(Object(f.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"}):a.shareTipPopup=Object(b.h)({title:h.a.createElement("div",null,"\u8fd8\u5dee",h.a.createElement("span",null,a.state.teamData.lack_member),"\u540d\u961f\u53cb\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1 \u5feb\u5206\u4eab\u7ed9\u597d\u53cb\u5427~"),className:"landing-share-tip ".concat(f.b.isWeixin?"wechat":""),closable:!1,close:function(){sessionStorage.removeItem("showShareTip"),t.hasError||a.getFollowStatus().then(function(e){!e&&a.remind("create",Object(f.c)("treasure_code"),1)})}})},a.showOpenInBrowserTip=function(){Object(b.h)({title:h.a.createElement("div",null,"\u70b9\u51fb\u53f3\u4e0a\u89d2\uff0c\u9009\u62e9\u201c\u5728\u6d4f\u89c8\u5668\u6253\u5f00\u201d"),className:"landing-open-in-browser-tip",closable:!1})},a.createMyTeam=function(){a.requiredLogin()||f.e.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,n=t.data,c=t.code,i=t.msg;200==c?a.createTeamSuccess(n):s.a.info(i,2,null,!1)})},a.requiredLogin=function(){var e=a.props,t=e.history,n=e.user,c=e.location;if(n.hasError)return f.b.isWeixin?window.location.assign("https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=".concat(encodeURIComponent("".concat(window.location.origin).concat(c.pathname,"?treasure_code=").concat(Object(f.c)("treasure_code"),"&origin=").concat(Object(f.c)("origin"),"&aa=bb")),"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect")):t.push("/passport"),!0},a.toSquare=function(){a.props.history;Object(f.c)("version")?window.location.assign("https://m.julyedu.com/year/yearindex?version="+Object(f.c)("version")):window.location.assign("https://m.julyedu.com/year/yearindex")},a}return Object(m.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.getStage(),this.fetchPageData(),window.showFollowAlert=this.remind.bind(this,"create"),document.title="AI\u5145\u7535\u5b63\uff0c\u5f00\u5b9d\u7bb1\u514d\u8d39\u5b66AI\u7206\u6b3e\u597d\u8bfe\uff0c300\u672c\u7a0b\u5e8f\u5458\u5fc5\u5907\u7eb8\u8d28\u4e66\u514d\u8d39\u9001\uff0cAI\u8fdb\u9636\u5b9d\u5178\u6765\u5c31\u9001\uff01-\u4e03\u6708\u5728\u7ebf";var e=document.querySelector("#landing"),t=document.querySelector(".box-container");t.offsetHeight<window.innerHeight&&(e.style.minHeight="".concat(window.innerHeight,"px"),t.style.minHeight="".concat(window.innerHeight,"px"))}},{key:"componentDidUpdate",value:function(e){e.user.hasError===this.props.user.hasError||this.props.user.hasError||this.fetchPageData(),e.user.isFetching===this.props.user.isFetching||this.props.user.isFetching||this.setState({isLoading:this.props.user.isFetching})}},{key:"componentWillUnmount",value:function(){this.shareTipPopup&&this.shareTipPopup.remove()}},{key:"render",value:function(){var e=this.state,t=e.teamData,a=t.head_img,n=t.member,i=t.status,s=t.lack_member,r=t.team_num,o=t.prize_info,l=t.my_team,u=t.standby_plan,m=e.activityEnd,d=e.isCaptain,p=e.isLoading;return h.a.createElement("div",{id:"landing"},!(u&&f.b.isWeixin)&&h.a.createElement("div",{id:"to-square"},h.a.createElement("a",{href:"javascript:",onClick:this.toSquare},"\u524d\u5f80\u6d3b\u52a8\u4f1a\u573a\uff0c\u4eab\u66f4\u591a\u798f\u5229\uff01 >>")),h.a.createElement(g,null,h.a.createElement("i",{className:"snow-deco ".concat(u&&f.b.isWeixin?"standby":"")}),u&&f.b.isWeixin&&h.a.createElement(h.a.Fragment,null,h.a.createElement(c.a,{className:"standby-space"}),h.a.createElement("div",{className:"standby-tip"},"\u70b9\u51fb\u53f3\u4e0a\u89d2\uff0c\u9009\u62e9\u201c\u5728\u6d4f\u89c8\u5668\u6253\u5f00\u201d")),h.a.createElement("img",{className:"main-avatar",src:a,alt:""}),1===i?h.a.createElement("div",{className:"des"},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d\uff0c\u5f00\u5b9d\u7bb1\u9886\u53d6\u4e30\u539a\u5956\u54c1~"):h.a.createElement("div",{className:"des"},"\u52a0\u5165\u6211\u7684",h.a.createElement("span",null,r),"\u53f7\u961f\u4f0d\uff0c\u4e00\u8d77\u5f00\u5b9d\u7bb1\u9886\u53d6\u4e30\u539a\u5956\u54c1~"),h.a.createElement(y.a,{showSystemNotices:!1}),h.a.createElement(E.a,null),h.a.createElement("div",{className:"group"},h.a.createElement("ul",{className:"member"},n&&n.length&&new Array(5).fill("a").map(function(e,t){var a=n[t];return a?h.a.createElement("li",{key:t},h.a.createElement("div",{className:"avatar-wrapper"},a.is_captain?h.a.createElement("sup",null,"\u961f\u957f"):null,h.a.createElement("img",{src:a.head_img,alt:"",className:"avatar"}))):h.a.createElement("li",{key:t},h.a.createElement("div",{className:"avatar-wrapper"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png",alt:"",className:"avatar"})))})),h.a.createElement("ul",{className:"bars"},n&&n.length&&new Array(5).fill("a").map(function(e,t){return h.a.createElement("li",{key:t,className:"".concat(t<n.length?"active":"")})})),1===i&&!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},"\u8fd8\u5dee ",s," \u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5f53\u524d\u5b9d\u7bb1\u54e6~"),!(u&&f.b.isWeixin)&&h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.showShareTip},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),3===i&&!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},h.a.createElement("p",null,"\u5df2\u52a0\u5165\u5f53\u524d\u961f\u4f0d"),l.is_team?h.a.createElement("p",null,"\u60a8\u7684",l.team_num,"\u53f7\u961f\u4f0d\u8fd8\u5dee",l.lack_member,"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1~"):h.a.createElement("p",null,"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~")),!(u&&f.b.isWeixin)&&(l.is_team?h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.inviteMembers.bind(this,l.treasure_code)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d"))),4===i&&!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},h.a.createElement("p",null,"\u5df2\u52a0\u5165\u5176\u4ed6\u961f\u4f0d"),l.is_team?h.a.createElement("p",null,"\u60a8\u7684",l.team_num,"\u53f7\u961f\u4f0d\u8fd8\u5dee",l.lack_member,"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1~"):h.a.createElement("p",null,"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~")),!(u&&f.b.isWeixin)&&(l.is_team?h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.inviteMembers.bind(this,l.treasure_code)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d"))),!(u&&f.b.isWeixin)&&2===i&&!m&&h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.joinTeam},"\u540c\u610f\u52a0\u5165\u961f\u4f0d"),o&&0!==o.length&&!m&&!d&&h.a.createElement("div",{className:"certainly-prompt"},"\u7b2c",o[0].stage_no,"\u4e2a\u5b9d\u7bb1\u5fc5\u4e2d ",o[0].name),m&&h.a.createElement("div",{className:"activity-end"},h.a.createElement("div",null,"\u6d3b\u52a8\u5df2\u7ed3\u675f"),h.a.createElement("div",null,"\u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u4e86\u89e3\u66f4\u591a\u6d3b\u52a8\u4fe1\u606f"),h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png",alt:""}),h.a.createElement("div",null,"\u957f\u6309\u8bc6\u522b / \u5fae\u4fe1\u626b\u7801")))),!d&&h.a.createElement(h.a.Fragment,null,h.a.createElement(c.a,{size:"xl"}),h.a.createElement(S.a,{getSum:function(){}})),p&&h.a.createElement("div",{className:"loading",style:{width:window.innerWidth+"px",height:window.innerHeight+"px"}},h.a.createElement(_.FadeLoader,{color:"#fff",loading:p})))}}]),t}(p.Component);t.default=Object(v.b)(function(e){return{user:e.user}},null)(N)},1197:function(e,t,a){"use strict";a.r(t);a(136);var n=a(36),c=a.n(n),i=(a(37),a(10)),s=a.n(i),r=a(3),o=a(5),l=a(4),u=a(6),m=a(7),d=a(50),p=a(0),h=a.n(p),g=(a(1102),function(e){function t(){return Object(r.a)(this,t),Object(l.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(m.a)(t,e),Object(o.a)(t,[{key:"render",value:function(){return h.a.createElement("div",{className:"box-container"},h.a.createElement("div",{className:"image-box"},this.props.children))}}]),t}(p.Component)),b=a(23),v=a(20),y=a(593),E=a(594),f=(a(1103),a(2)),w=a(434),j=a.n(w),S=a(87),_=a(181),N=a(183),O=function(e){function t(){var e,a;Object(r.a)(this,t);for(var n=arguments.length,c=new Array(n),i=0;i<n;i++)c[i]=arguments[i];return(a=Object(l.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(c)))).closeIcon="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",a.createTeamSuccessPopup=null,a.joinSuccessPopup=null,a.shareTipPopup=null,a.swiper=null,a.shareTitle="",a.shareDesc="",a.state={teamData:{member:[]},origin:sessionStorage.getItem("isCaptain")?1:Object(f.c)("origin"),treasure_code:Object(f.c)("treasure_code"),activityEnd:!1,notices:[],rule:"",isCaptain:1==Object(f.c)("origin"),isLoading:a.props.user.isFetching,modules:[]},a.getIndexData=function(){f.e.get("".concat(API.home,"/m/home")).then(function(e){if(200===e.data.code){var t=(e.data||{}).data,n=Array.isArray(t.modules)?t.modules:[];a.setState({modules:n})}else s.a.info(e.data.msg,2)})},a.getStage=function(){f.e.get("".concat(API.home,"/activity/stage")).then(function(e){var t=e.data,n=t.code,c=t.data,i=t.msg;if(200===n){if(0===Number(c.treasure_stage))return void a.props.history.push("/")}else s.a.info(i,2)})},a.createMeta=function(e,t,a){var n=document.createElement("meta");n.setAttribute("name","description"),n.setAttribute("itemprop","description"),n.setAttribute("content",t);var c=document.createElement("meta");c.setAttribute("itemprop","name"),c.setAttribute("content",e);var i=document.createElement("meta");i.setAttribute("itemprop","image"),i.setAttribute("content",a);var s=document.getElementsByTagName("head")[0];s.appendChild(n),s.appendChild(c),s.appendChild(i)},a.fetchPageData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.origin,n=void 0===t?a.state.origin:t,c=e.treasure_code,i=void 0===c?a.state.treasure_code:c,r=a.props.location;f.e.post("".concat(API.home,"/sys/treasure/team"),{treasure_code:i,origin:n}).then(function(e){var t=e.data,n=t.data,c=t.code,i=t.msg;if(200==c){a.setState({teamData:n,isCaptain:sessionStorage.getItem("isCaptain")?sessionStorage.getItem("isCaptain"):1==Object(f.c)("origin"),activityEnd:5==n.status}),a.setupWxShareConfig(n.member),f.b.isWeixin?Object(f.k)({title:a.shareTitle,desc:a.shareDesc,link:"".concat(window.location.origin).concat(r.pathname,"?treasure_code=").concat(Object(f.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"}):a.createMeta(a.shareTitle,a.shareDesc,"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png");var o=new URLSearchParams(window.location.search);"1"!==o.get("origin")||f.b.isWeixin||(o.set("origin","2"),sessionStorage.setItem("isCaptain","1"),window.history.replaceState(null,"","landing?".concat(o.toString()))),a.showSharePromptWithParam()}else 520!==c&&s.a.info(i,2,null,!1)})},a.setupWxShareConfig=function(e){var t=e.length,n=5-t<=0?4:5-t;a.shareTitle="\u8fd8\u5dee".concat(n,"\u4eba\u5373\u53ef\u5f00\u5b9d\u7bb1\uff0c100%\u6709\u5956\uff01"),a.shareDesc="\u52a0\u5165\u6211\u7684\u961f\u4f0d\uff0c\u673a\u68b0\u952e\u76d8\uff0c\u7eb8\u8d28\u4e66\u7c4d\u7b49\u8d85\u591a\u5956\u54c1\u7b49\u4f60\u62ff\uff01--\u4e03\u6708\u5728\u7ebf"},a.showSharePromptWithParam=function(){sessionStorage.getItem("showShareTip")&&!sessionStorage.getItem("closedRemind")&&a.showShareTip()},a.joinTeam=function(){if(!a.requiredLogin()){var e=a.state.treasure_code;f.e.post("".concat(API.home,"/sys/treasure/joinTeam"),{treasure_code:e}).then(function(e){var t=e.data,n=t.data,c=t.code,i=t.msg;if(200===c)switch(n.status){case 1:case 2:a.joinSuccess(n);break;default:s.a.info(i,2,null,!1)}else s.a.info(i,2,null,!1)})}},a.handleToMyTreasure=function(e){a.props.history;a.joinSuccessPopup&&a.joinSuccessPopup.remove(),Object(f.c)("version")?window.location.assign("https://m.julyedu.com/box/yearTreasure?id=".concat(e,"&version=").concat(Object(f.c)("version"))):window.location.assign("https://m.julyedu.com/box/yearTreasure?id=".concat(e))},a.joinSuccess=function(e){var t=e.id,n=e.status,c=e.my_team,i=c.team_num,s=c.lack_member,r=c.is_team,o=c.treasure_code;a.joinSuccessPopup=Object(b.h)({title:h.a.createElement("div",{className:"join-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/check-icon.png",alt:""}),h.a.createElement("div",null,"\u6210\u529f\u52a0\u5165\u961f\u4f0d")),className:"landing-join-success-wrapper",content:h.a.createElement("div",null,h.a.createElement("div",{className:"tip"},2===n?"\u7ec4\u961f\u6210\u529f\uff0c\u606d\u559c\u4f60\u83b7\u5f97\u4e00\u4e2a\u5b9d\u7bb1\uff01":r?h.a.createElement(h.a.Fragment,null,"\u60a8\u7684",h.a.createElement("span",null,i),"\u53f7\u961f\u4f0d\u8fd8\u5dee",h.a.createElement("span",null,s),"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1"):"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~"),2===n?h.a.createElement("img",{style:{width:"150px",marginTop:"23px"},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/treasure-split.gif",alt:"",onClick:a.handleToMyTreasure.bind(Object(d.a)(Object(d.a)(a)),t)}):r?h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(d.a)(Object(d.a)(a)),o)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",onClick:a.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d")),closeIcon:a.closeIcon,close:function(){a.fetchPageData(),a.getFollowStatus().then(function(e){!e&&a.remind("join",a.state.treasure_code,2)})}})},a.inviteMembers=function(e){var t=a.props,n=t.history,c=t.match,i=(t.user,t.location);if(Object(f.c)("version")){var s={title:a.shareTitle,desc:a.shareDesc,link:"".concat(window.location.origin).concat(i.pathname,"?treasure_code=").concat(e,"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"};Object(f.a)("toShare",s)}sessionStorage.setItem("showShareTip","1"),n.replace("".concat(c.url,"?treasure_code=").concat(e,"&origin=",1)),a.createTeamSuccessPopup&&a.createTeamSuccessPopup.remove()&&(a.createTeamSuccessPopup=null),a.joinSuccessPopup&&a.joinSuccessPopup.remove()&&(a.joinSuccessPopup=null),a.fetchPageData({treasure_code:e,origin:1}),a.setState({isCaptain:!0})},a.getFollowStatus=function(){return f.e.get("".concat(API.home,"/sys/user/isFollowWeChat")).then(function(e){var t=e.data,a=t.code,n=t.data;return 200===a&&n.is_follow})},a.createTeamSuccess=function(e){var t=e.member,n=e.team_num,c=e.lack_member,i=e.treasure_code;a.joinSuccessPopup&&a.joinSuccessPopup.remove()&&(a.joinSuccessPopup=null),a.getFollowStatus().then(function(e){a.createTeamSuccessPopup=Object(b.h)({title:"\u521b\u5efa\u6210\u529f",className:"landing-create-success",content:h.a.createElement("div",null,h.a.createElement("div",{className:"tip"},h.a.createElement("span",null,n),"\u53f7\u961f\u4f0d \u8fd8\u5dee",h.a.createElement("span",null,c),"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6~"),h.a.createElement("img",{className:"treasure-box",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png",alt:""}),h.a.createElement("ul",{className:"members"},new Array(5).fill("a").map(function(e,a){var n=t[a];return h.a.createElement("li",{key:a},n&&n.is_captain&&h.a.createElement("sup",null,"\u961f\u957f"),h.a.createElement("img",{className:"avatar",src:n?n.head_img:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png",alt:""}))})),h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(d.a)(Object(d.a)(a)),i)},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),closeIcon:a.closeIcon,afterClose:function(){e||a.remind("create",i)}})})},a.saveImage=function(e){var t=Object(f.c)("version");(t="string"===typeof t?t.replace(".","").replace(".","").slice(0,3):"")&&parseInt(t)<451?s.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",3,null,!1):Object(f.a)("generateQRCode",e)},a.remind=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"create",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,c=a.props.user;f.e.get("".concat(API["base-api"],"/wx/user_temporary_qrcode/").concat(c.data.uid)).then(function(e){return e.data.data.url}).then(function(c){j.a.toDataURL(c).then(function(i){Object(b.h)({title:"\u63d0\u9192\u670d\u52a1",className:"landing-remind",closeIcon:a.closeIcon,content:h.a.createElement("div",null,h.a.createElement("div",{className:"des"},"create"===e?"\u6709\u597d\u53cb\u52a0\u5165\u961f\u4f0d\u540e\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~":"\u83b7\u5f97\u5b9d\u7bb1\u65f6\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~"),h.a.createElement("img",{src:i,alt:""}),f.b.isAndroidApp?h.a.createElement("div",null,h.a.createElement("button",{className:"android-qr-code-btn",onClick:a.saveImage.bind(Object(d.a)(Object(d.a)(a)),c)},"\u4fdd\u5b58\u4e8c\u7ef4\u7801")):null,h.a.createElement("div",{className:"des"},"\u957f\u6309\u8bc6\u522b/\u626b\u7801 \u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6")),close:function(){sessionStorage.setItem("closedRemind","1"),a.fetchPageData({treasure_code:t,origin:n})}})})})},a.showShareTip=function(){var e=a.props,t=e.user,n=e.location;f.b.isAndroidApp||f.b.isIOSApp?Object(f.a)("toShare",{title:a.shareTitle,desc:a.shareDesc,link:"".concat(window.location.origin).concat(n.pathname,"?treasure_code=").concat(Object(f.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"}):a.shareTipPopup=Object(b.h)({title:h.a.createElement("div",null,"\u8fd8\u5dee",h.a.createElement("span",null,a.state.teamData.lack_member),"\u540d\u961f\u53cb\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1 \u5feb\u5206\u4eab\u7ed9\u597d\u53cb\u5427~"),className:"landing-share-tip ".concat(f.b.isWeixin?"wechat":""),closable:!1,close:function(){sessionStorage.removeItem("showShareTip"),t.hasError||a.getFollowStatus().then(function(e){!e&&a.remind("create",Object(f.c)("treasure_code"),1)})}})},a.showOpenInBrowserTip=function(){Object(b.h)({title:h.a.createElement("div",null,"\u70b9\u51fb\u53f3\u4e0a\u89d2\uff0c\u9009\u62e9\u201c\u5728\u6d4f\u89c8\u5668\u6253\u5f00\u201d"),className:"landing-open-in-browser-tip",closable:!1})},a.createMyTeam=function(){a.requiredLogin()||f.e.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,n=t.data,c=t.code,i=t.msg;200==c?a.createTeamSuccess(n):s.a.info(i,2,null,!1)})},a.requiredLogin=function(){var e=a.props,t=e.history,n=e.user,c=e.location;if(n.hasError)return f.b.isWeixin?window.location.assign("https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=".concat(encodeURIComponent("".concat(window.location.origin).concat(c.pathname,"?treasure_code=").concat(Object(f.c)("treasure_code"),"&origin=").concat(Object(f.c)("origin"),"&aa=bb")),"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect")):t.push("/passport"),!0},a.toSquare=function(){a.props.history;Object(f.c)("version")?window.location.assign("https://m.julyedu.com/?version="+Object(f.c)("version")):window.location.assign("https://m.julyedu.com/")},a}return Object(m.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.getStage(),this.fetchPageData(),this.getIndexData(),window.showFollowAlert=this.remind.bind(this,"create"),document.title="\u7cbd\u5b50\u8282\uff0c\u5f00\u5b9d\u7bb1\u514d\u8d39\u5b66AI\u8bfe\u7a0b\uff0c\u73b0\u91d1\u7ea2\u5305\uff0c\u4eac\u4e1c\u8d2d\u7269\u5361\u9001\u4e0d\u505c\uff01-\u4e03\u6708\u5728\u7ebf";var e=document.querySelector("#landing"),t=document.querySelector(".box-container");t.offsetHeight<window.innerHeight&&(e.style.minHeight="".concat(window.innerHeight,"px"),t.style.minHeight="".concat(window.innerHeight,"px"))}},{key:"componentDidUpdate",value:function(e){e.user.hasError===this.props.user.hasError||this.props.user.hasError||this.fetchPageData(),e.user.isFetching===this.props.user.isFetching||this.props.user.isFetching||this.setState({isLoading:this.props.user.isFetching})}},{key:"componentWillUnmount",value:function(){this.shareTipPopup&&this.shareTipPopup.remove()}},{key:"render",value:function(){var e=this.state,t=e.teamData,a=t.head_img,n=t.member,i=t.status,s=t.lack_member,r=t.team_num,o=t.prize_info,l=t.my_team,u=t.standby_plan,m=e.activityEnd,d=e.isCaptain,p=e.isLoading,b=e.modules;return h.a.createElement("div",{id:"landing"},!(u&&f.b.isWeixin)&&h.a.createElement("div",{id:"to-square"},h.a.createElement("a",{href:"javascript:",onClick:this.toSquare},"\u524d\u5f80\u4e03\u6708\u5728\u7ebf\u5b98\u7f51\uff0c\u5b66\u4eba\u5de5\u667a\u80fd\u7cbe\u54c1\u8bfe\u7a0b\uff01 >>")),h.a.createElement(g,null,h.a.createElement("i",{className:"snow-deco ".concat(u&&f.b.isWeixin?"standby":"")}),u&&f.b.isWeixin&&h.a.createElement(h.a.Fragment,null,h.a.createElement(c.a,{className:"standby-space"}),h.a.createElement("div",{className:"standby-tip"},"\u70b9\u51fb\u53f3\u4e0a\u89d2\uff0c\u9009\u62e9\u201c\u5728\u6d4f\u89c8\u5668\u6253\u5f00\u201d")),h.a.createElement("img",{className:"main-avatar",src:a,alt:""}),1===i?h.a.createElement("div",{className:"des"},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d\uff0c\u5f00\u5b9d\u7bb1\u9886\u53d6\u4e30\u539a\u5956\u54c1~"):h.a.createElement("div",{className:"des"},"\u52a0\u5165\u6211\u7684",h.a.createElement("span",null,r),"\u53f7\u961f\u4f0d\uff0c\u4e00\u8d77\u5f00\u5b9d\u7bb1\u9886\u53d6\u4e30\u539a\u5956\u54c1~"),h.a.createElement(y.a,{showSystemNotices:!1}),h.a.createElement(E.a,null),h.a.createElement("div",{className:"group"},h.a.createElement("ul",{className:"member"},n&&n.length&&new Array(5).fill("a").map(function(e,t){var a=n[t];return a?h.a.createElement("li",{key:t},h.a.createElement("div",{className:"avatar-wrapper"},a.is_captain?h.a.createElement("sup",null,"\u961f\u957f"):null,h.a.createElement("img",{src:a.head_img,alt:"",className:"avatar"}))):h.a.createElement("li",{key:t},h.a.createElement("div",{className:"avatar-wrapper"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png",alt:"",className:"avatar"})))})),h.a.createElement("ul",{className:"bars"},n&&n.length&&new Array(5).fill("a").map(function(e,t){return h.a.createElement("li",{key:t,className:"".concat(t<n.length?"active":"")})})),1===i&&!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},"\u8fd8\u5dee ",s," \u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5f53\u524d\u5b9d\u7bb1\u54e6~"),!(u&&f.b.isWeixin)&&h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.showShareTip},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),3===i&&!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},h.a.createElement("p",null,"\u5df2\u52a0\u5165\u5f53\u524d\u961f\u4f0d"),l.is_team?h.a.createElement("p",null,"\u60a8\u7684",l.team_num,"\u53f7\u961f\u4f0d\u8fd8\u5dee",l.lack_member,"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1~"):h.a.createElement("p",null,"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~")),!(u&&f.b.isWeixin)&&(l.is_team?h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.inviteMembers.bind(this,l.treasure_code)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d"))),4===i&&!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},h.a.createElement("p",null,"\u5df2\u52a0\u5165\u5176\u4ed6\u961f\u4f0d"),l.is_team?h.a.createElement("p",null,"\u60a8\u7684",l.team_num,"\u53f7\u961f\u4f0d\u8fd8\u5dee",l.lack_member,"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1~"):h.a.createElement("p",null,"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~")),!(u&&f.b.isWeixin)&&(l.is_team?h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.inviteMembers.bind(this,l.treasure_code)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d"))),!(u&&f.b.isWeixin)&&2===i&&!m&&h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.joinTeam},"\u540c\u610f\u52a0\u5165\u961f\u4f0d"),o&&0!==o.length&&!m&&!d&&h.a.createElement("div",{className:"certainly-prompt"},"\u7b2c",o[0].stage_no,"\u4e2a\u5b9d\u7bb1\u5fc5\u4e2d ",o[0].name),m&&h.a.createElement("div",{className:"activity-end"},h.a.createElement("div",null,"\u6d3b\u52a8\u5df2\u7ed3\u675f"),h.a.createElement("div",null,"\u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u4e86\u89e3\u66f4\u591a\u6d3b\u52a8\u4fe1\u606f"),h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png",alt:""}),h.a.createElement("div",null,"\u957f\u6309\u8bc6\u522b / \u5fae\u4fe1\u626b\u7801")))),!d&&h.a.createElement("div",{className:"course-module"},h.a.createElement(_.a,{modules:b}),h.a.createElement(N.a,null)),p&&h.a.createElement("div",{className:"loading",style:{width:window.innerWidth+"px",height:window.innerHeight+"px"}},h.a.createElement(S.FadeLoader,{color:"#fff",loading:p})))}}]),t}(p.Component);t.default=Object(v.b)(function(e){return{user:e.user}},null)(O)}}]);
//# sourceMappingURL=newyear-2019-landing.d13568be.chunk.js.map //# sourceMappingURL=newyear-2019-landing.2d623902.chunk.js.map
\ No newline at end of file \ No newline at end of file
!function(e){function r(r){for(var a,n,f=r[0],d=r[1],i=r[2],s=0,b=[];s<f.length;s++)n=f[s],o[n]&&b.push(o[n][0]),o[n]=0;for(a in d)Object.prototype.hasOwnProperty.call(d,a)&&(e[a]=d[a]);for(u&&u(r);b.length;)b.shift()();return c.push.apply(c,i||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],a=!0,n=1;n<t.length;n++){var d=t[n];0!==o[d]&&(a=!1)}a&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var a={},n={36:0},o={36:0},c=[];function f(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,f),t.l=!0,t.exports}f.e=function(e){var r=[];n[e]?r.push(n[e]):0!==n[e]&&{1:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,12:1,14:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,30:1,31:1,32:1,33:1,34:1,35:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,47:1,48:1,49:1,50:1,51:1,52:1,53:1,54:1,55:1,57:1,58:1,59:1,60:1,62:1,63:1,64:1,65:1}[e]&&r.push(n[e]=new Promise(function(r,t){for(var a="mrstatic/css/"+({5:"Activity",6:"BargainMiddlePage",7:"Classify",8:"Country",9:"CourseList",10:"DrawDocument",11:"Examination",12:"Invite",13:"MyEdit",14:"Order",15:"Orderinfo",16:"PayOrder",17:"Preferential",18:"SearchResult",19:"ShareCourse",20:"ShopCart",21:"aist-share",22:"blessing-getPrize",23:"blessing-preheat",24:"blessing-rank",25:"coupons",26:"deposit-order",27:"deposit-pay-order",28:"detail",30:"myorders",31:"newyear-2019-landing",32:"newyear-yearIndex",33:"prize-winner-list",34:"purchased",35:"python-class",37:"search",38:"shareposter",39:"study",40:"system-notices",41:"togroup",42:"treasure-box-home",43:"treasure-box-mybox",44:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"bff22cf8",2:"31d6cfe0",3:"5ed15c7e",4:"0dc24c6e",5:"a74b39fb",6:"31cef199",7:"f2f19957",8:"16a64650",9:"47812ac6",10:"2e7d81ca",11:"f2cc3163",12:"361dc1a3",13:"31d6cfe0",14:"35f475a1",15:"31d6cfe0",16:"e5315535",17:"18d20d0c",18:"bb7c3056",19:"278ad3b1",20:"3a4dbb7a",21:"ca49c1cb",22:"951fd27d",23:"715eb28a",24:"b92d0394",25:"c10ecc19",26:"6f3a01ca",27:"219bad3d",28:"975c864b",30:"3c41b358",31:"b0d930fa",32:"fe0d87a6",33:"55e46fc9",34:"f583a040",35:"087d6571",37:"38c3e634",38:"f09a5959",39:"e406d228",40:"08df3d15",41:"49988cae",42:"742fb589",43:"b84e2e84",44:"e2426591",46:"31d6cfe0",47:"50547718",48:"eeb18914",49:"17c0e036",50:"2471f477",51:"0bb224f2",52:"ecbb6f9a",53:"9f46e45e",54:"ee45d0b0",55:"4723f76a",56:"31d6cfe0",57:"ab7f5e40",58:"4c85e85c",59:"470b9744",60:"10a4034d",61:"31d6cfe0",62:"697fa90d",63:"eb90513f",64:"5fba4ed0",65:"e51ea0fc"}[e]+".chunk.css",o=f.p+a,c=document.getElementsByTagName("link"),d=0;d<c.length;d++){var i=(u=c[d]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(i===a||i===o))return r()}var s=document.getElementsByTagName("style");for(d=0;d<s.length;d++){var u;if((i=(u=s[d]).getAttribute("data-href"))===a||i===o)return r()}var b=document.createElement("link");b.rel="stylesheet",b.type="text/css",b.onload=r,b.onerror=function(r){var a=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.request=a,delete n[e],b.parentNode.removeChild(b),t(c)},b.href=o,document.getElementsByTagName("head")[0].appendChild(b)}).then(function(){n[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var a=new Promise(function(r,a){t=o[e]=[r,a]});r.push(t[2]=a);var c,d=document.createElement("script");d.charset="utf-8",d.timeout=120,f.nc&&d.setAttribute("nonce",f.nc),d.src=function(e){return f.p+"mrstatic/js/"+({5:"Activity",6:"BargainMiddlePage",7:"Classify",8:"Country",9:"CourseList",10:"DrawDocument",11:"Examination",12:"Invite",13:"MyEdit",14:"Order",15:"Orderinfo",16:"PayOrder",17:"Preferential",18:"SearchResult",19:"ShareCourse",20:"ShopCart",21:"aist-share",22:"blessing-getPrize",23:"blessing-preheat",24:"blessing-rank",25:"coupons",26:"deposit-order",27:"deposit-pay-order",28:"detail",30:"myorders",31:"newyear-2019-landing",32:"newyear-yearIndex",33:"prize-winner-list",34:"purchased",35:"python-class",37:"search",38:"shareposter",39:"study",40:"system-notices",41:"togroup",42:"treasure-box-home",43:"treasure-box-mybox",44:"video"}[e]||e)+"."+{0:"e278c735",1:"8ccb3ba2",2:"b3ec967c",3:"846255e3",4:"2cbd2115",5:"7ec7f2b9",6:"b3e90217",7:"9026b6f9",8:"87d90b89",9:"b9772b84",10:"749c0360",11:"db75562e",12:"03ba786f",13:"4751204d",14:"8ed15331",15:"2de132f2",16:"6fb43349",17:"40f0edaf",18:"d96f36a5",19:"4c634bea",20:"1727e020",21:"aa06950a",22:"b3da729d",23:"ff4bbf80",24:"c392e4f0",25:"000af26b",26:"3ae30112",27:"284eb346",28:"681ee242",30:"2f01329e",31:"d13568be",32:"51653ba5",33:"c127a088",34:"148df373",35:"43c9fac3",37:"2aee0468",38:"3c664772",39:"be29f8a9",40:"3b3e0b79",41:"0ebabd0d",42:"d7397e33",43:"420feb62",44:"48b188d9",46:"26572008",47:"9aa693c2",48:"89ff204d",49:"15508182",50:"feb9bfd4",51:"f1e8d0d1",52:"5b89cb08",53:"ed8fa7d4",54:"0621bfa4",55:"2f33452a",56:"81962ecf",57:"965079f4",58:"1583e048",59:"f9091165",60:"72a77810",61:"b36c1038",62:"185f011f",63:"56faee3e",64:"a1498af9",65:"eec31f7c"}[e]+".chunk.js"}(e),c=function(r){d.onerror=d.onload=null,clearTimeout(i);var t=o[e];if(0!==t){if(t){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+a+": "+n+")");c.type=a,c.request=n,t[1](c)}o[e]=void 0}};var i=setTimeout(function(){c({type:"timeout",target:d})},12e4);d.onerror=d.onload=c,document.head.appendChild(d)}return Promise.all(r)},f.m=e,f.c=a,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,r){if(1&r&&(e=f(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)f.d(t,a,function(r){return e[r]}.bind(null,a));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/",f.oe=function(e){throw console.error(e),e};var d=window.webpackJsonp=window.webpackJsonp||[],i=d.push.bind(d);d.push=r,d=d.slice();for(var s=0;s<d.length;s++)r(d[s]);var u=i;t()}([]); !function(e){function r(r){for(var a,n,f=r[0],d=r[1],i=r[2],s=0,b=[];s<f.length;s++)n=f[s],o[n]&&b.push(o[n][0]),o[n]=0;for(a in d)Object.prototype.hasOwnProperty.call(d,a)&&(e[a]=d[a]);for(u&&u(r);b.length;)b.shift()();return c.push.apply(c,i||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],a=!0,n=1;n<t.length;n++){var d=t[n];0!==o[d]&&(a=!1)}a&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var a={},n={36:0},o={36:0},c=[];function f(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,f),t.l=!0,t.exports}f.e=function(e){var r=[];n[e]?r.push(n[e]):0!==n[e]&&{1:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,12:1,14:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,30:1,31:1,32:1,33:1,34:1,35:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,47:1,48:1,49:1,50:1,51:1,52:1,53:1,54:1,55:1,57:1,58:1,59:1,60:1,62:1,63:1,64:1,65:1}[e]&&r.push(n[e]=new Promise(function(r,t){for(var a="mrstatic/css/"+({5:"Activity",6:"BargainMiddlePage",7:"Classify",8:"Country",9:"CourseList",10:"DrawDocument",11:"Examination",12:"Invite",13:"MyEdit",14:"Order",15:"Orderinfo",16:"PayOrder",17:"Preferential",18:"SearchResult",19:"ShareCourse",20:"ShopCart",21:"aist-share",22:"blessing-getPrize",23:"blessing-preheat",24:"blessing-rank",25:"coupons",26:"deposit-order",27:"deposit-pay-order",28:"detail",30:"myorders",31:"newyear-2019-landing",32:"newyear-yearIndex",33:"prize-winner-list",34:"purchased",35:"python-class",37:"search",38:"shareposter",39:"study",40:"system-notices",41:"togroup",42:"treasure-box-home",43:"treasure-box-mybox",44:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"bff22cf8",2:"31d6cfe0",3:"5ed15c7e",4:"0dc24c6e",5:"a74b39fb",6:"31cef199",7:"f2f19957",8:"16a64650",9:"47812ac6",10:"2e7d81ca",11:"f2cc3163",12:"361dc1a3",13:"31d6cfe0",14:"35f475a1",15:"31d6cfe0",16:"e5315535",17:"18d20d0c",18:"bb7c3056",19:"278ad3b1",20:"3a4dbb7a",21:"ca49c1cb",22:"951fd27d",23:"715eb28a",24:"b92d0394",25:"c10ecc19",26:"6f3a01ca",27:"219bad3d",28:"975c864b",30:"3c41b358",31:"b0d930fa",32:"fe0d87a6",33:"55e46fc9",34:"f583a040",35:"087d6571",37:"38c3e634",38:"f09a5959",39:"e406d228",40:"08df3d15",41:"49988cae",42:"7a60b4c8",43:"b84e2e84",44:"e2426591",46:"31d6cfe0",47:"50547718",48:"eeb18914",49:"17c0e036",50:"2471f477",51:"0bb224f2",52:"ecbb6f9a",53:"9f46e45e",54:"ee45d0b0",55:"4723f76a",56:"31d6cfe0",57:"ab7f5e40",58:"4c85e85c",59:"470b9744",60:"10a4034d",61:"31d6cfe0",62:"697fa90d",63:"eb90513f",64:"5fba4ed0",65:"e51ea0fc"}[e]+".chunk.css",o=f.p+a,c=document.getElementsByTagName("link"),d=0;d<c.length;d++){var i=(u=c[d]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(i===a||i===o))return r()}var s=document.getElementsByTagName("style");for(d=0;d<s.length;d++){var u;if((i=(u=s[d]).getAttribute("data-href"))===a||i===o)return r()}var b=document.createElement("link");b.rel="stylesheet",b.type="text/css",b.onload=r,b.onerror=function(r){var a=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.request=a,delete n[e],b.parentNode.removeChild(b),t(c)},b.href=o,document.getElementsByTagName("head")[0].appendChild(b)}).then(function(){n[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var a=new Promise(function(r,a){t=o[e]=[r,a]});r.push(t[2]=a);var c,d=document.createElement("script");d.charset="utf-8",d.timeout=120,f.nc&&d.setAttribute("nonce",f.nc),d.src=function(e){return f.p+"mrstatic/js/"+({5:"Activity",6:"BargainMiddlePage",7:"Classify",8:"Country",9:"CourseList",10:"DrawDocument",11:"Examination",12:"Invite",13:"MyEdit",14:"Order",15:"Orderinfo",16:"PayOrder",17:"Preferential",18:"SearchResult",19:"ShareCourse",20:"ShopCart",21:"aist-share",22:"blessing-getPrize",23:"blessing-preheat",24:"blessing-rank",25:"coupons",26:"deposit-order",27:"deposit-pay-order",28:"detail",30:"myorders",31:"newyear-2019-landing",32:"newyear-yearIndex",33:"prize-winner-list",34:"purchased",35:"python-class",37:"search",38:"shareposter",39:"study",40:"system-notices",41:"togroup",42:"treasure-box-home",43:"treasure-box-mybox",44:"video"}[e]||e)+"."+{0:"e278c735",1:"8ccb3ba2",2:"b3ec967c",3:"846255e3",4:"2cbd2115",5:"7ec7f2b9",6:"b3e90217",7:"9026b6f9",8:"87d90b89",9:"b9772b84",10:"749c0360",11:"db75562e",12:"03ba786f",13:"4751204d",14:"8ed15331",15:"2de132f2",16:"6fb43349",17:"40f0edaf",18:"d96f36a5",19:"4c634bea",20:"1727e020",21:"aa06950a",22:"b3da729d",23:"ff4bbf80",24:"c392e4f0",25:"000af26b",26:"3ae30112",27:"284eb346",28:"681ee242",30:"2f01329e",31:"2d623902",32:"51653ba5",33:"c127a088",34:"148df373",35:"43c9fac3",37:"2aee0468",38:"3c664772",39:"be29f8a9",40:"3b3e0b79",41:"0ebabd0d",42:"5830f2f2",43:"be3eb810",44:"48b188d9",46:"26572008",47:"9aa693c2",48:"89ff204d",49:"15508182",50:"feb9bfd4",51:"f1e8d0d1",52:"5b89cb08",53:"ed8fa7d4",54:"0621bfa4",55:"2f33452a",56:"81962ecf",57:"965079f4",58:"1583e048",59:"f9091165",60:"72a77810",61:"b36c1038",62:"185f011f",63:"56faee3e",64:"a1498af9",65:"eec31f7c"}[e]+".chunk.js"}(e),c=function(r){d.onerror=d.onload=null,clearTimeout(i);var t=o[e];if(0!==t){if(t){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+a+": "+n+")");c.type=a,c.request=n,t[1](c)}o[e]=void 0}};var i=setTimeout(function(){c({type:"timeout",target:d})},12e4);d.onerror=d.onload=c,document.head.appendChild(d)}return Promise.all(r)},f.m=e,f.c=a,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,r){if(1&r&&(e=f(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)f.d(t,a,function(r){return e[r]}.bind(null,a));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/",f.oe=function(e){throw console.error(e),e};var d=window.webpackJsonp=window.webpackJsonp||[],i=d.push.bind(d);d.push=r,d=d.slice();for(var s=0;s<d.length;s++)r(d[s]);var u=i;t()}([]);
//# sourceMappingURL=runtime~main.42ba15b1.js.map //# sourceMappingURL=runtime~main.a5715235.js.map
\ No newline at end of file \ 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","36","exports","module","l","e","promises","1","3","4","5","6","7","8","9","10","11","12","14","16","17","18","19","20","21","22","23","24","25","26","27","28","30","31","32","33","34","35","37","38","39","40","41","42","43","44","47","48","49","50","51","52","53","54","55","57","58","59","60","62","63","64","65","Promise","resolve","reject","href","13","15","0","2","46","56","61","fullhref","p","existingLinkTags","document","getElementsByTagName","dataHref","tag","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","parentNode","removeChild","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","jsonpScriptSrc","clearTimeout","chunk","errorType","realSrc","error","undefined","setTimeout","head","all","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,EAAA,GACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAKA,IAFAe,KAAAhB,GAEAO,EAAAC,QACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,GAAA,IAGAe,IAEA,SAAAA,IAEA,IADA,IAAAC,EACAf,EAAA,EAAiBA,EAAAY,EAAAV,OAA4BF,IAAA,CAG7C,IAFA,IAAAgB,EAAAJ,EAAAZ,GACAiB,GAAA,EACAC,EAAA,EAAkBA,EAAAF,EAAAd,OAA2BgB,IAAA,CAC7C,IAAAC,EAAAH,EAAAE,GACA,IAAAf,EAAAgB,KAAAF,GAAA,GAEAA,IACAL,EAAAQ,OAAApB,IAAA,GACAe,EAAAM,IAAAC,EAAAN,EAAA,KAGA,OAAAD,EAIA,IAAAQ,EAAA,GAGAC,EAAA,CACAC,GAAA,GAMAtB,EAAA,CACAsB,GAAA,GAGAb,EAAA,GAQA,SAAAS,EAAA1B,GAGA,GAA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AAA,WAExDpJ,OAAA8I,eAAAzH,EAAA,cAAiD+H,OAAA,KAQjDpI,EAAAqI,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAApI,EAAAoI,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,kBAAAF,QAAAG,WAAA,OAAAH,EACA,IAAAI,EAAAxJ,OAAAyJ,OAAA,MAGA,GAFAzI,EAAAiI,EAAAO,GACAxJ,OAAA8I,eAAAU,EAAA,WAAyCT,YAAA,EAAAK,UACzC,EAAAE,GAAA,iBAAAF,EAAA,QAAAM,KAAAN,EAAApI,EAAA0H,EAAAc,EAAAE,EAAA,SAAAA,GAAgH,OAAAN,EAAAM,IAAqBC,KAAA,KAAAD,IACrI,OAAAF,GAIAxI,EAAA4I,EAAA,SAAAtI,GACA,IAAAsH,EAAAtH,KAAAiI,WACA,WAA2B,OAAAjI,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAN,EAAA0H,EAAAE,EAAA,IAAAA,GACAA,GAIA5H,EAAA6H,EAAA,SAAAgB,EAAAC,GAAsD,OAAA9J,OAAAC,UAAAC,eAAAC,KAAA0J,EAAAC,IAGtD9I,EAAA8E,EAAA,IAGA9E,EAAA+I,GAAA,SAAA/C,GAA8D,MAApBgD,QAAA7B,MAAAnB,GAAoBA,GAE9D,IAAAiD,EAAAC,OAAA,aAAAA,OAAA,iBACAC,EAAAF,EAAAlK,KAAA4J,KAAAM,GACAA,EAAAlK,KAAAX,EACA6K,IAAAG,QACA,QAAAzK,EAAA,EAAgBA,EAAAsK,EAAApK,OAAuBF,IAAAP,EAAA6K,EAAAtK,IACvC,IAAAU,EAAA8J,EAIA1J","file":"mrstatic/js/runtime~main.42ba15b1.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\t36: 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\t36: 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/\" + ({\"5\":\"Activity\",\"6\":\"BargainMiddlePage\",\"7\":\"Classify\",\"8\":\"Country\",\"9\":\"CourseList\",\"10\":\"DrawDocument\",\"11\":\"Examination\",\"12\":\"Invite\",\"13\":\"MyEdit\",\"14\":\"Order\",\"15\":\"Orderinfo\",\"16\":\"PayOrder\",\"17\":\"Preferential\",\"18\":\"SearchResult\",\"19\":\"ShareCourse\",\"20\":\"ShopCart\",\"21\":\"aist-share\",\"22\":\"blessing-getPrize\",\"23\":\"blessing-preheat\",\"24\":\"blessing-rank\",\"25\":\"coupons\",\"26\":\"deposit-order\",\"27\":\"deposit-pay-order\",\"28\":\"detail\",\"30\":\"myorders\",\"31\":\"newyear-2019-landing\",\"32\":\"newyear-yearIndex\",\"33\":\"prize-winner-list\",\"34\":\"purchased\",\"35\":\"python-class\",\"37\":\"search\",\"38\":\"shareposter\",\"39\":\"study\",\"40\":\"system-notices\",\"41\":\"togroup\",\"42\":\"treasure-box-home\",\"43\":\"treasure-box-mybox\",\"44\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"e278c735\",\"1\":\"8ccb3ba2\",\"2\":\"b3ec967c\",\"3\":\"846255e3\",\"4\":\"2cbd2115\",\"5\":\"7ec7f2b9\",\"6\":\"b3e90217\",\"7\":\"9026b6f9\",\"8\":\"87d90b89\",\"9\":\"b9772b84\",\"10\":\"749c0360\",\"11\":\"db75562e\",\"12\":\"03ba786f\",\"13\":\"4751204d\",\"14\":\"8ed15331\",\"15\":\"2de132f2\",\"16\":\"6fb43349\",\"17\":\"40f0edaf\",\"18\":\"d96f36a5\",\"19\":\"4c634bea\",\"20\":\"1727e020\",\"21\":\"aa06950a\",\"22\":\"b3da729d\",\"23\":\"ff4bbf80\",\"24\":\"c392e4f0\",\"25\":\"000af26b\",\"26\":\"3ae30112\",\"27\":\"284eb346\",\"28\":\"681ee242\",\"30\":\"2f01329e\",\"31\":\"d13568be\",\"32\":\"51653ba5\",\"33\":\"c127a088\",\"34\":\"148df373\",\"35\":\"43c9fac3\",\"37\":\"2aee0468\",\"38\":\"3c664772\",\"39\":\"be29f8a9\",\"40\":\"3b3e0b79\",\"41\":\"0ebabd0d\",\"42\":\"d7397e33\",\"43\":\"420feb62\",\"44\":\"48b188d9\",\"46\":\"26572008\",\"47\":\"9aa693c2\",\"48\":\"89ff204d\",\"49\":\"15508182\",\"50\":\"feb9bfd4\",\"51\":\"f1e8d0d1\",\"52\":\"5b89cb08\",\"53\":\"ed8fa7d4\",\"54\":\"0621bfa4\",\"55\":\"2f33452a\",\"56\":\"81962ecf\",\"57\":\"965079f4\",\"58\":\"1583e048\",\"59\":\"f9091165\",\"60\":\"72a77810\",\"61\":\"b36c1038\",\"62\":\"185f011f\",\"63\":\"56faee3e\",\"64\":\"a1498af9\",\"65\":\"eec31f7c\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"1\":1,\"3\":1,\"4\":1,\"5\":1,\"6\":1,\"7\":1,\"8\":1,\"9\":1,\"10\":1,\"11\":1,\"12\":1,\"14\":1,\"16\":1,\"17\":1,\"18\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"25\":1,\"26\":1,\"27\":1,\"28\":1,\"30\":1,\"31\":1,\"32\":1,\"33\":1,\"34\":1,\"35\":1,\"37\":1,\"38\":1,\"39\":1,\"40\":1,\"41\":1,\"42\":1,\"43\":1,\"44\":1,\"47\":1,\"48\":1,\"49\":1,\"50\":1,\"51\":1,\"52\":1,\"53\":1,\"54\":1,\"55\":1,\"57\":1,\"58\":1,\"59\":1,\"60\":1,\"62\":1,\"63\":1,\"64\":1,\"65\":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/\" + ({\"5\":\"Activity\",\"6\":\"BargainMiddlePage\",\"7\":\"Classify\",\"8\":\"Country\",\"9\":\"CourseList\",\"10\":\"DrawDocument\",\"11\":\"Examination\",\"12\":\"Invite\",\"13\":\"MyEdit\",\"14\":\"Order\",\"15\":\"Orderinfo\",\"16\":\"PayOrder\",\"17\":\"Preferential\",\"18\":\"SearchResult\",\"19\":\"ShareCourse\",\"20\":\"ShopCart\",\"21\":\"aist-share\",\"22\":\"blessing-getPrize\",\"23\":\"blessing-preheat\",\"24\":\"blessing-rank\",\"25\":\"coupons\",\"26\":\"deposit-order\",\"27\":\"deposit-pay-order\",\"28\":\"detail\",\"30\":\"myorders\",\"31\":\"newyear-2019-landing\",\"32\":\"newyear-yearIndex\",\"33\":\"prize-winner-list\",\"34\":\"purchased\",\"35\":\"python-class\",\"37\":\"search\",\"38\":\"shareposter\",\"39\":\"study\",\"40\":\"system-notices\",\"41\":\"togroup\",\"42\":\"treasure-box-home\",\"43\":\"treasure-box-mybox\",\"44\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"bff22cf8\",\"2\":\"31d6cfe0\",\"3\":\"5ed15c7e\",\"4\":\"0dc24c6e\",\"5\":\"a74b39fb\",\"6\":\"31cef199\",\"7\":\"f2f19957\",\"8\":\"16a64650\",\"9\":\"47812ac6\",\"10\":\"2e7d81ca\",\"11\":\"f2cc3163\",\"12\":\"361dc1a3\",\"13\":\"31d6cfe0\",\"14\":\"35f475a1\",\"15\":\"31d6cfe0\",\"16\":\"e5315535\",\"17\":\"18d20d0c\",\"18\":\"bb7c3056\",\"19\":\"278ad3b1\",\"20\":\"3a4dbb7a\",\"21\":\"ca49c1cb\",\"22\":\"951fd27d\",\"23\":\"715eb28a\",\"24\":\"b92d0394\",\"25\":\"c10ecc19\",\"26\":\"6f3a01ca\",\"27\":\"219bad3d\",\"28\":\"975c864b\",\"30\":\"3c41b358\",\"31\":\"b0d930fa\",\"32\":\"fe0d87a6\",\"33\":\"55e46fc9\",\"34\":\"f583a040\",\"35\":\"087d6571\",\"37\":\"38c3e634\",\"38\":\"f09a5959\",\"39\":\"e406d228\",\"40\":\"08df3d15\",\"41\":\"49988cae\",\"42\":\"742fb589\",\"43\":\"b84e2e84\",\"44\":\"e2426591\",\"46\":\"31d6cfe0\",\"47\":\"50547718\",\"48\":\"eeb18914\",\"49\":\"17c0e036\",\"50\":\"2471f477\",\"51\":\"0bb224f2\",\"52\":\"ecbb6f9a\",\"53\":\"9f46e45e\",\"54\":\"ee45d0b0\",\"55\":\"4723f76a\",\"56\":\"31d6cfe0\",\"57\":\"ab7f5e40\",\"58\":\"4c85e85c\",\"59\":\"470b9744\",\"60\":\"10a4034d\",\"61\":\"31d6cfe0\",\"62\":\"697fa90d\",\"63\":\"eb90513f\",\"64\":\"5fba4ed0\",\"65\":\"e51ea0fc\"}[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":""} {"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","36","exports","module","l","e","promises","1","3","4","5","6","7","8","9","10","11","12","14","16","17","18","19","20","21","22","23","24","25","26","27","28","30","31","32","33","34","35","37","38","39","40","41","42","43","44","47","48","49","50","51","52","53","54","55","57","58","59","60","62","63","64","65","Promise","resolve","reject","href","13","15","0","2","46","56","61","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,EAC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9D,IAAAiD,EAAAC,OAAA,aAAAA,OAAA,iBACAC,EAAAF,EAAAlK,KAAA4J,KAAAM,GACAA,EAAAlK,KAAAX,EACA6K,IAAAG,QACA,QAAAzK,EAAA,EAAgBA,EAAAsK,EAAApK,OAAuBF,IAAAP,EAAA6K,EAAAtK,IACvC,IAAAU,EAAA8J,EAIA1J","file":"mrstatic/js/runtime~main.a5715235.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\t36: 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\t36: 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/\" + ({\"5\":\"Activity\",\"6\":\"BargainMiddlePage\",\"7\":\"Classify\",\"8\":\"Country\",\"9\":\"CourseList\",\"10\":\"DrawDocument\",\"11\":\"Examination\",\"12\":\"Invite\",\"13\":\"MyEdit\",\"14\":\"Order\",\"15\":\"Orderinfo\",\"16\":\"PayOrder\",\"17\":\"Preferential\",\"18\":\"SearchResult\",\"19\":\"ShareCourse\",\"20\":\"ShopCart\",\"21\":\"aist-share\",\"22\":\"blessing-getPrize\",\"23\":\"blessing-preheat\",\"24\":\"blessing-rank\",\"25\":\"coupons\",\"26\":\"deposit-order\",\"27\":\"deposit-pay-order\",\"28\":\"detail\",\"30\":\"myorders\",\"31\":\"newyear-2019-landing\",\"32\":\"newyear-yearIndex\",\"33\":\"prize-winner-list\",\"34\":\"purchased\",\"35\":\"python-class\",\"37\":\"search\",\"38\":\"shareposter\",\"39\":\"study\",\"40\":\"system-notices\",\"41\":\"togroup\",\"42\":\"treasure-box-home\",\"43\":\"treasure-box-mybox\",\"44\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"e278c735\",\"1\":\"8ccb3ba2\",\"2\":\"b3ec967c\",\"3\":\"846255e3\",\"4\":\"2cbd2115\",\"5\":\"7ec7f2b9\",\"6\":\"b3e90217\",\"7\":\"9026b6f9\",\"8\":\"87d90b89\",\"9\":\"b9772b84\",\"10\":\"749c0360\",\"11\":\"db75562e\",\"12\":\"03ba786f\",\"13\":\"4751204d\",\"14\":\"8ed15331\",\"15\":\"2de132f2\",\"16\":\"6fb43349\",\"17\":\"40f0edaf\",\"18\":\"d96f36a5\",\"19\":\"4c634bea\",\"20\":\"1727e020\",\"21\":\"aa06950a\",\"22\":\"b3da729d\",\"23\":\"ff4bbf80\",\"24\":\"c392e4f0\",\"25\":\"000af26b\",\"26\":\"3ae30112\",\"27\":\"284eb346\",\"28\":\"681ee242\",\"30\":\"2f01329e\",\"31\":\"2d623902\",\"32\":\"51653ba5\",\"33\":\"c127a088\",\"34\":\"148df373\",\"35\":\"43c9fac3\",\"37\":\"2aee0468\",\"38\":\"3c664772\",\"39\":\"be29f8a9\",\"40\":\"3b3e0b79\",\"41\":\"0ebabd0d\",\"42\":\"5830f2f2\",\"43\":\"be3eb810\",\"44\":\"48b188d9\",\"46\":\"26572008\",\"47\":\"9aa693c2\",\"48\":\"89ff204d\",\"49\":\"15508182\",\"50\":\"feb9bfd4\",\"51\":\"f1e8d0d1\",\"52\":\"5b89cb08\",\"53\":\"ed8fa7d4\",\"54\":\"0621bfa4\",\"55\":\"2f33452a\",\"56\":\"81962ecf\",\"57\":\"965079f4\",\"58\":\"1583e048\",\"59\":\"f9091165\",\"60\":\"72a77810\",\"61\":\"b36c1038\",\"62\":\"185f011f\",\"63\":\"56faee3e\",\"64\":\"a1498af9\",\"65\":\"eec31f7c\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"1\":1,\"3\":1,\"4\":1,\"5\":1,\"6\":1,\"7\":1,\"8\":1,\"9\":1,\"10\":1,\"11\":1,\"12\":1,\"14\":1,\"16\":1,\"17\":1,\"18\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"25\":1,\"26\":1,\"27\":1,\"28\":1,\"30\":1,\"31\":1,\"32\":1,\"33\":1,\"34\":1,\"35\":1,\"37\":1,\"38\":1,\"39\":1,\"40\":1,\"41\":1,\"42\":1,\"43\":1,\"44\":1,\"47\":1,\"48\":1,\"49\":1,\"50\":1,\"51\":1,\"52\":1,\"53\":1,\"54\":1,\"55\":1,\"57\":1,\"58\":1,\"59\":1,\"60\":1,\"62\":1,\"63\":1,\"64\":1,\"65\":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/\" + ({\"5\":\"Activity\",\"6\":\"BargainMiddlePage\",\"7\":\"Classify\",\"8\":\"Country\",\"9\":\"CourseList\",\"10\":\"DrawDocument\",\"11\":\"Examination\",\"12\":\"Invite\",\"13\":\"MyEdit\",\"14\":\"Order\",\"15\":\"Orderinfo\",\"16\":\"PayOrder\",\"17\":\"Preferential\",\"18\":\"SearchResult\",\"19\":\"ShareCourse\",\"20\":\"ShopCart\",\"21\":\"aist-share\",\"22\":\"blessing-getPrize\",\"23\":\"blessing-preheat\",\"24\":\"blessing-rank\",\"25\":\"coupons\",\"26\":\"deposit-order\",\"27\":\"deposit-pay-order\",\"28\":\"detail\",\"30\":\"myorders\",\"31\":\"newyear-2019-landing\",\"32\":\"newyear-yearIndex\",\"33\":\"prize-winner-list\",\"34\":\"purchased\",\"35\":\"python-class\",\"37\":\"search\",\"38\":\"shareposter\",\"39\":\"study\",\"40\":\"system-notices\",\"41\":\"togroup\",\"42\":\"treasure-box-home\",\"43\":\"treasure-box-mybox\",\"44\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"bff22cf8\",\"2\":\"31d6cfe0\",\"3\":\"5ed15c7e\",\"4\":\"0dc24c6e\",\"5\":\"a74b39fb\",\"6\":\"31cef199\",\"7\":\"f2f19957\",\"8\":\"16a64650\",\"9\":\"47812ac6\",\"10\":\"2e7d81ca\",\"11\":\"f2cc3163\",\"12\":\"361dc1a3\",\"13\":\"31d6cfe0\",\"14\":\"35f475a1\",\"15\":\"31d6cfe0\",\"16\":\"e5315535\",\"17\":\"18d20d0c\",\"18\":\"bb7c3056\",\"19\":\"278ad3b1\",\"20\":\"3a4dbb7a\",\"21\":\"ca49c1cb\",\"22\":\"951fd27d\",\"23\":\"715eb28a\",\"24\":\"b92d0394\",\"25\":\"c10ecc19\",\"26\":\"6f3a01ca\",\"27\":\"219bad3d\",\"28\":\"975c864b\",\"30\":\"3c41b358\",\"31\":\"b0d930fa\",\"32\":\"fe0d87a6\",\"33\":\"55e46fc9\",\"34\":\"f583a040\",\"35\":\"087d6571\",\"37\":\"38c3e634\",\"38\":\"f09a5959\",\"39\":\"e406d228\",\"40\":\"08df3d15\",\"41\":\"49988cae\",\"42\":\"7a60b4c8\",\"43\":\"b84e2e84\",\"44\":\"e2426591\",\"46\":\"31d6cfe0\",\"47\":\"50547718\",\"48\":\"eeb18914\",\"49\":\"17c0e036\",\"50\":\"2471f477\",\"51\":\"0bb224f2\",\"52\":\"ecbb6f9a\",\"53\":\"9f46e45e\",\"54\":\"ee45d0b0\",\"55\":\"4723f76a\",\"56\":\"31d6cfe0\",\"57\":\"ab7f5e40\",\"58\":\"4c85e85c\",\"59\":\"470b9744\",\"60\":\"10a4034d\",\"61\":\"31d6cfe0\",\"62\":\"697fa90d\",\"63\":\"eb90513f\",\"64\":\"5fba4ed0\",\"65\":\"e51ea0fc\"}[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 \ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{1086:function(e,t,a){},1087:function(e,t,a){},1088:function(e,t,a){},1089:function(e,t,a){},1090:function(e,t,a){},1091:function(e,t,a){},1092:function(e,t,a){},1093:function(e,t,a){},1094:function(e,t,a){},1095:function(e,t,a){},1179:function(e,t,a){"use strict";a.r(t);a(37);var n,r,s,o=a(10),c=a.n(o),i=a(3),l=a(5),u=a(4),m=a(6),p=a(7),d=a(0),h=a.n(d),f=(a(1086),a(1087),a(46)),g=a(2),v=(a(1088),function(e){function t(e){return Object(i.a)(this,t),Object(u.a)(this,Object(m.a)(t).call(this,e))}return Object(p.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){var e=this.props.id;return h.a.createElement("div",{className:"common_container",id:e},h.a.createElement("div",{className:"container_top"}),h.a.createElement("div",{className:"container_content"},this.props.title&&h.a.createElement("div",{className:"title_container"},h.a.createElement("i",null),h.a.createElement("p",null,this.props.title),h.a.createElement("i",null)),h.a.Children.map(this.props.children,function(e){return h.a.createElement(h.a.Fragment,null,e)})),h.a.createElement("div",{className:"container_bottom"}))}}]),t}(d.Component)),b=(a(1089),function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(u.a)(this,Object(m.a)(t).call(this,e))).computedStyle=function(){return{top:"".concat(a.props.top,"px"),width:"".concat(a.props.width,"px")}},a.closePopup=function(){a.props.mark&&a.props.closePopup()},a}return Object(p.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){return h.a.createElement("div",{className:"popup__container",onClick:this.closePopup},h.a.createElement("div",{className:"content__container",style:this.computedStyle(),onClick:function(e){e.stopPropagation()}},h.a.createElement("img",{className:"close__btn",onClick:this.props.closePopup,src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",alt:""}),h.a.Children.map(this.props.children,function(e){return h.a.createElement(h.a.Fragment,null,e)})))}}]),t}(d.Component)),_=a(20),y=a(23),j=a(434),E=a.n(j),O=Object(_.b)(function(e){return{user:e.user}})(n=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(u.a)(this,Object(m.a)(t).call(this,e))).getLiveInfo=function(){g.e.get("".concat(API.home,"/activity/get_live_info")).then(function(e){var t=e.data,n=t.code,r=t.data,s=t.msg;200===n?a.setState({list:r}):c.a.info(s)})},a.subscribe=function(e){var t=a.props.user,n=t.hasError;t.data;n?a.toLogin():g.e.get("".concat(API["base-api"],"/sys/createLiveQrcode/").concat(e)).then(function(e){var t=e.data,n=t.errno,r=t.data,s=t.msg;200===n?E.a.toDataURL(r.url,function(e,t){a.setState({showMark:!0,subUrl:t,QRCodeUrl:r.url})}):c.a.info(s)})},a.tip=function(){c.a.info("\u4f60\u5df2\u9884\u7ea6\u8be5\u76f4\u64ad")},a.toLivingRoom=function(e){var t=a.props.user,n=t.hasError;t.data;n?a.toLogin():window.location.href="".concat(window.location.protocol,"//www.julyedu.com/live/m_room/").concat(e)},a.checkVideo=function(e){var t=a.props.user,n=t.hasError;t.data;if(n)a.toLogin();else{var r=e.split("/")[0];window.location.href="/play/video?id=".concat(r)}},a.closePopup=function(){a.setState({showMark:!1}),a.getLiveInfo()},a.saveImage=function(){var e=Object(g.c)("version");e="string"===typeof e?e.replace(".","").replace(".","").slice(0,3):"";var t=a.state.QRCodeUrl;e&&parseInt(e)<451?c.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",2,null,!1):Object(g.a)("generateQRCode",t)},a.toLogin=function(){Object(g.c)("version")?Object(g.a)("toLogin"):a.props.history.push("/passport/login")},a.state={list:[],showMark:!1,subUrl:"",QRCodeUrl:""},a}return Object(p.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.getLiveInfo()}},{key:"shouldComponentUpdate",value:function(e,t,a){return this.props.isAppUpdate===e.isAppUpdate||(this.getLiveInfo(),!1)}},{key:"render",value:function(){var e=this,t=this.state,a=t.list,n=t.showMark,r=t.subUrl;return h.a.createElement("div",{className:"live__container"},n&&h.a.createElement(b,{top:50,closePopup:this.closePopup,mark:!0},h.a.createElement("div",{className:"sub__code_container"},h.a.createElement("p",{className:"sub__title"},"\u626b\u7801\u5173\u6ce8\u201c\u4e03\u6708\u5728\u7ebf\u201d\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6"),h.a.createElement("img",{className:"sub__qr_code",id:"live-qr-code",src:r,alt:""}),g.b.isAndroidApp?h.a.createElement("button",{className:"save-image",onClick:this.saveImage},"\u4fdd\u5b58\u4e8c\u7ef4\u7801"):null)),h.a.createElement(v,{title:"\u201c\u85aa\u201d\u5e74\u597d\u8bfe\u514d\u8d39\u5b66",id:"year-live"},h.a.createElement("ul",{className:"live__list"},a.length&&a.map(function(t,a){return h.a.createElement("li",{key:a,className:"live_room_item"},h.a.createElement("img",{className:"user__avatar",src:t.avatar,alt:""}),h.a.createElement("div",{className:"live__info"},h.a.createElement("div",{className:"theme"},h.a.createElement("span",null,"\u4e3b\u9898\uff1a"),h.a.createElement("p",null,t.title)),h.a.createElement("div",{className:"info__item"},h.a.createElement("span",null,"\u8bb2\u5e08\uff1a"),h.a.createElement("p",null,t.teacher)),""!=t.transcribe_url&&h.a.createElement("span",{onClick:function(){return e.checkVideo(t.transcribe_url)},className:"order__btn check__video"},"\u70b9\u51fb\u67e5\u770b")))}))))}}]),t}(d.Component))||n,k=(Object(f.g)(O),a(18)),w=a(50),N=(a(1090),a(483),Object(_.b)(function(e){return{user:e.user}})(r=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(u.a)(this,Object(m.a)(t).call(this,e))).getLength=function(){var e=Object(w.a)(Object(w.a)(a));g.e.get("".concat(API.home,"/activity/wish_sum")).then(function(t){var a=t.data,n=a.code,r=a.data;200==n&&e.setState({sum:r.sum})})},a.fetchBigCourse=function(){var e=a.state.bigcourse;g.e.get("".concat(API.home,"/activity/preheat_data")).then(function(t){var n=t.data,r=n.code,s=n.data;200===r&&a.setState({bigcourse:Object.assign({},e,{isMore:!1,course:s,courseList:s})})})},a.fetchFreeCourse=function(){var e=a.state.freecourse;g.e.get("".concat(API["base-api"],"/assistance/detail")).then(function(t){var n=t.data,r=n.errno,s=n.data;200===r&&a.setState({freecourse:Object.assign({},e,{isMore:s.course_info.length>4,course:s.course_info.length>4?s.course_info.filter(function(e,t){return t<4}):s.course_info,courseList:s.course_info})})})},a.fetchGroupCourse=function(){var e=a.state.groupcourse;g.e.get("".concat(API.home,"/activity/excellent_course")).then(function(t){var n=t.data,r=n.code,s=n.data;200===r&&a.setState({groupcourse:Object.assign({},e,{isMore:s.length>4,course:s.length>4?s.filter(function(e,t){return t<4}):s,courseList:s})})})},a.fetchAICourse=function(e,t){g.e.get("".concat(API.home,"/activity/four_stage/").concat(e)).then(function(n){var r=n.data,s=r.code,o=r.data;200===s&&a.getList(e,o,t)})},a.getList=function(e,t,n){var r=a.state,s=r.basic,o=r.advanced,c=r.higher,i=r.expand;"one"===e&&a.setState({basic:Object.assign({},s,{isMore:t.length>4&&!n,course:t.length>4&&!n?t.filter(function(e,t){return t<4}):t,courseList:t,addshowMore:n})}),"two"===e&&a.setState({advanced:Object.assign({},o,{isMore:t.length>4&&!n,course:t.length>4&&!n?t.filter(function(e,t){return t<4}):t,courseList:t,addshowMore:n})}),"three"===e&&a.setState({higher:Object.assign({},c,{isMore:t.length>4&&!n,course:t.length>4&&!n?t.filter(function(e,t){return t<4}):t,courseList:t,addshowMore:n})}),"four"===e&&a.setState({expand:Object.assign({},i,{isMore:t.length>4&&!n,course:t.length>4&&!n?t.filter(function(e,t){return t<4}):t,courseList:t,addshowMore:n})})},a.toQQque=function(){Object(g.c)("version")?Object(g.a)("toQQ","https://q.url.cn/AB8aue?_type=wpa&qidian=true"):location.href="http://q.url.cn/s/Vbkup6m?_type=wpa"},a.toCourse=function(e){var t=a.props.history;Object(g.c)("version")?Object(g.a)("toCourse",e):t.push("/detail?id=".concat(e))},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,addshowMore:!a.state[e].addshowMore},a.setState(Object(k.a)({},t))):(t[e]={isMore:!a.state[e].isMore,course:a.state[e].courseList.filter(function(e,t){return t<4}),courseList:a.state[e].courseList,addshowMore:!a.state[e].addshowMore},a.setState(Object(k.a)({},t)))},a.toLogin=function(){Object(g.c)("version")?Object(g.a)("toLogin"):a.props.history.push("/passport/login")},a.freeStudy=function(){a.setState({tofreeStudy:!0})},a.closePopup=function(){a.setState({tofreeStudy:!1})},a.closePopupWish=function(){var e=Object(w.a)(Object(w.a)(a));e.setState({isshowFollow:!1}),setTimeout(function(){e.toJoinList(e.state.wish.id,e.state.wish.key)},200)},a.getQRcodeUrl=function(){var e=Object(w.a)(Object(w.a)(a));g.e.get("".concat(API["base-api"],"/wx/user_temporary_qrcode/").concat(e.props.user.data.uid)).then(function(e){var t=e.data,n=t.errno,r=t.data,s=t.msg;0==n?(a.setState({qrUrl:r.url}),E.a.toDataURL(r.url,function(e,t){a.setState({followBarcode:t})})):c.a.info(s,2)})},a.addWishList=function(e,t){var n=Object(w.a)(Object(w.a)(a)),r=!a.props.user.hasError;n.setState({wish:{id:e,key:t}}),r?n.isFollow(e,t):n.toLogin()},a.isFollow=function(e,t){var n=Object(w.a)(Object(w.a)(a));g.e.get("".concat(API.home,"/sys/user/isFollowWeChat")).then(function(a){var r=a.data,s=r.code,o=r.data,i=r.msg;200===s?(n.setState({isshowFollow:!o.is_follow}),n.state.isshowFollow?n.getQRcodeUrl():n.toJoinList(e,t)):c.a.info(i,2)})},a.toJoinList=function(e,t){var n=Object(w.a)(Object(w.a)(a));g.e.post("".concat(API.home,"/activity/join_list"),{course_id:e}).then(function(e){var a=e.data,r=a.code,s=a.msg;200==r?(c.a.success("\u5df2\u6210\u529f\u52a0\u5165\u5fc3\u613f\u5355",3),n.getLength(),"1"===t&&n.fetchAICourse("one",n.state.basic.addshowMore),"2"===t&&n.fetchAICourse("two",n.state.advanced.addshowMore),"3"===t&&n.fetchAICourse("three",n.state.higher.addshowMore),"4"===t&&n.fetchAICourse("four",n.state.expand.addshowMore),"group"===t&&n.fetchGroupCourse()):c.a.info(s,2)})},a.saveImage=function(){var e=Object(g.c)("version");e="string"===typeof e?e.replace(".","").replace(".","").slice(0,3):"";var t=a.state.qrUrl;e&&parseInt(e)<451?c.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",3,null,!1):Object(g.a)("generateQRCode",t)},a.saveImage2=function(){var e=Object(g.c)("version");(e="string"===typeof e?e.replace(".","").replace(".","").slice(0,3):"")&&parseInt(e)<451?c.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",3,null,!1):Object(g.a)("saveImage","https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg")},a.getTeamInfo=function(){g.e.get("".concat(API.home,"/sys/treasure/teamInfo")).then(function(e){var t=e.data,n=t.code,r=t.data,s=t.msg;if(200===n){var o=r.info,i=r.removable_data;a.setState({removable:o.removable,currentId:o.removable>0?i[0].id:null})}else c.a.info(s)})},a.toBoxList=function(){var e=!a.props.user.hasError,t=a.state.currentId,n="";t&&(n="?id=".concat(t)),e?Object(g.c)("version")?a.props.history.push("/box/yearTreasure".concat(n,"?version=").concat(Object(g.c)("version"))):a.props.history.push("/box/yearTreasure".concat(n)):a.toLogin()},a.toYearWish=function(){!a.props.user.hasError?Object(g.c)("version")?a.props.history.push("/year/yearWish?version=".concat(Object(g.c)("version"))):a.props.history.push("/year/yearWish"):a.toLogin()},a.toInviteFriends=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=a.props.history;if(Object(g.c)("version")){var r={title:"\u3010\u4ec5\u5269".concat(t.number,"\u4e2a\u540d\u989d\u3011\u6211").concat(t.price,"\u5143\u62fc\u4e86\u300a").concat(t.course_title,"\u300b"),desc:t.course_title,link:"".concat(API.m,"/togroup?id=").concat(e,"&is_originator=1"),imgUrl:t.image_name};Object(g.a)("toShare",r)}else n.push("/togroup?id=".concat(e))},a.isCountDown=function(e,t){return e?t:""},a.formatTitleAndKey=function(e){var t=null;switch(e){case 1:t={title:"\u57fa\u7840",key:"basic"};break;case 2:t={title:"\u8fdb\u9636",key:"advanced"};break;case 3:t={title:"\u9ad8\u9636",key:"higher"};break;case 4:t={title:"\u6269\u5c55",key:"expand"};break;default:t=null}return t},a.formatCourseData=function(e){var t=a.state,n=t.basic,r=t.advanced,s=t.higher,o=t.expand,c=null;switch(e){case 1:c=n;break;case 2:c=r;break;case 3:c=s;break;case 4:c=o;break;default:c=null}return c},a.toCart=function(e){var t=a.props.history;g.e.post("".concat(API.home,"/m/cart/add"),{course_id:e}).then(function(e){var n=e.data,r=n.code,s=n.msg;200===r||15001===r?Object(g.c)("version")?Object(g.a)("toShoppingCart"):t.push("/shopcart"):4030===r||4040===r?a.toLogin():c.a.info(s,2)})},a.toContinueBargain=function(e,t,n,r){var s=a.props.history;if(Object(g.c)("version")){var o={title:"\u6211\u53d1\u73b0\u4e00\u95e8\u597d\u8bfe\uff0c\u5feb\u6765\u5e2e\u6211\u780d\u4ef7\u5427\uff01",desc:"\u6211\u5df2\u7ecf\u780d\u4e86".concat(t,"\u5143\uff0c\u770b\u770b\u4f60\u80fd\u780d\u591a\u5c11"),link:"".concat(API.m,"/bargain-middle-page?id=").concat(e,"&bargaincode=").concat(n,"&is_originator=1"),imgUrl:r};Object(g.a)("toShare",o)}else s.push("/bargain-middle-page?id=".concat(e,"&bargaincode=").concat(n,"&is_originator=1"))},a.bargainToOrder=function(e){var t=a.props,n=t.history;t.user.hasError?a.toLogin():Object(g.c)("version")?Object(g.a)("toPay",e):g.e.get("".concat(API["base-api"],"/m/cart/addtopreorder/[").concat(e,"]")).then(function(t){var a=t.data,r=a.errno,s=a.msg;0===r?n.push("/order?id=[".concat(e,"]"),{bargain:1}):c.a.info(s,2)})},a.state={tofreeStudy:!1,basic:{course:[],courseList:[],isMore:!1,addshowMore:!1},advanced:{course:[],courseList:[],isMore:!1,addshowMore:!1},higher:{course:[],courseList:[],isMore:!1,addshowMore:!1},expand:{course:[],courseList:[],isMore:!1,addshowMore:!1},bigcourse:{course:[],courseList:[],isMore:!1},freecourse:{course:[],courseList:[],isMore:!1},groupcourse:{course:[],courseList:[],isMore:!1},isshowFollow:!1,wish:{id:"",key:""},followBarcode:"",qrUrl:"",sum:"",removable:"",currentId:""},a}return Object(p.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.getTeamInfo(),this.getLength(),this.fetchBigCourse(),this.fetchGroupCourse(),this.fetchAICourse("one",!1),this.fetchAICourse("two",!1),this.fetchAICourse("three",!1),this.fetchAICourse("four",!1)}},{key:"shouldComponentUpdate",value:function(e,t,a){return this.props.isAppUpdate===e.isAppUpdate||(this.getTeamInfo(),this.getLength(),this.fetchBigCourse(),this.fetchGroupCourse(),this.fetchAICourse("one"),this.fetchAICourse("two"),this.fetchAICourse("three"),this.fetchAICourse("four"),!1)}},{key:"render",value:function(){var e=this.state,t=(e.bigcourse,e.freecourse,e.groupcourse,e.basic,e.advanced,e.higher,e.expand,e.removable),a=(e.sum,this.props);a.stage,a.treasureStage;return h.a.createElement("div",{className:"year-index-course"},t>0&&h.a.createElement("div",{className:"nav-right-wish nav-right"},h.a.createElement("span",{onClick:this.toBoxList,className:"nav-right__link"},"\u672a\u5f00\u5b9d\u7bb1",h.a.createElement("i",{className:"nav-right__number"},t))))}}]),t}(d.Component))||r),I=Object(f.g)(N),C=(a(1091),function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(u.a)(this,Object(m.a)(t).call(this,e))).fetchRankInfo=function(){g.e.get("".concat(API.home,"/sys/treasure/ranking")).then(function(e){var t=e.data,n=t.code,r=t.data;200===n&&"{}"!==JSON.stringify(r)&&(r.length>5?a.setState({rank:r.filter(function(e,t){return t<5}),rankList:r,isMore:!0}):a.setState({rank:r,rankList:r,isMore:!1}))})},a.switchMoreRank=function(){var e=a.state,t=e.rankList;e.isMore?a.setState({rank:t,isMore:!1}):a.setState({rank:t.filter(function(e,t){return t<5}),isMore:!0})},a.handleToVip=function(e){var t=a.props.history;e&&(Object(g.c)("version")?Object(g.a)("toCourse",e):t.push("/detail?id=".concat(e)))},a.state={rank:[],rankList:[],isMore:!1},a}return Object(p.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.fetchRankInfo()}},{key:"render",value:function(){var e=this,t=this.state,a=t.rank,n=t.isMore;return h.a.createElement(h.a.Fragment,null,0!==a.length&&h.a.createElement("div",{"data-skip":"rank"},h.a.createElement("div",{className:"rank-title"},h.a.createElement("i",{className:"rank-title__decorate"}),h.a.createElement("h2",{className:"rank-title__txt"},"\u5b9d\u7bb1\u8fbe\u4eba\u699c"),h.a.createElement("i",{className:"rank-title__decorate"})),h.a.createElement("p",{className:"rank-desc"},"\u5b9d\u7bb1\u6570\u91cf\u524d50\u540d\u53ef\u989d\u5916\u83b7\u5f97\u4e00\u4efd\u5956\u54c1\uff0c\u6570\u91cf\u76f8\u540c\u7684\u7528\u65f6\u77ed\u8005\u6392\u540d\u5728\u524d"),h.a.createElement("dl",{className:"rank-header"},h.a.createElement("dd",{className:"rank-column"},"\u6392\u540d"),h.a.createElement("dd",{className:"rank-column"},"\u7528\u6237"),h.a.createElement("dd",{className:"rank-column"},"\u5b9d\u7bb1\u6570\u91cf"),h.a.createElement("dd",{className:"rank-column"},"\u5956\u54c1")),h.a.createElement("div",{className:"rank-body"},a.map(function(t,a){return h.a.createElement("dl",{className:"rank-item",key:a},h.a.createElement("dd",{className:"rank-column"},a<=2?h.a.createElement("span",{className:"rank-column__number","data-num":a}):h.a.createElement("span",null,a+1)),h.a.createElement("dd",{className:"rank-column"},h.a.createElement("span",{className:"rank-column__name"},t.user_name)),h.a.createElement("dd",{className:"rank-column"},h.a.createElement("span",null,t.num)),h.a.createElement("dd",{className:"rank-column"},t.url?h.a.createElement("a",{className:"rank-column__txt",onClick:function(){return e.handleToVip(t.url)}},t.prize_name):h.a.createElement("span",{className:"rank-column__txt"},t.prize_name)))}),h.a.createElement("div",{className:"rank-more",onClick:this.switchMoreRank},h.a.createElement("span",{className:"rank-more__txt"},n?"\u5c55\u5f00":"\u6536\u8d77"),h.a.createElement("i",{className:"rank-more__icon","data-more":n})))))}}]),t}(d.Component)),L=(a(1092),a(24)),S=a(35),M=a.n(S),x=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(u.a)(this,Object(m.a)(t).call(this,e))).getTeamInfo=function(){g.e.get("".concat(API.home,"/sys/treasure/teamInfo")).then(function(e){var t=e.data,n=t.code,r=t.data,s=t.msg;if(200===n){var o=r.prize_info,i=r.is_my_team,l=r.info,u=r.member,m=r.removable_data,p=r.my_team;a.setState({prize_info:o,is_my_team:i,info:l,member:a.fillTeam(u,i),removable_data:m,my_team:p});var d=null;l.removable>0&&(d=m[0].id),a.props.getRemovable(l.removable,d)}else c.a.info(s)})},a.toYearTreasure=function(e){if(a.props.user.hasError)a.toLogin();else{var t="";if(e){var n=a.state,r=n.removable_data;if(n.info.removable>0){var s=r[0];t="?id=".concat(s.id)}}Object(g.c)("version")?a.props.history.push("/box/yearTreasure".concat(t,"?version=").concat(Object(g.c)("version"))):a.props.history.push("/box/yearTreasure".concat(t))}},a.toLogin=function(){Object(g.c)("version")?Object(g.a)("toLogin"):a.props.history.push("/passport/login")},a.createTeam=function(){if(a.props.user.hasError)a.toLogin();else{sessionStorage.setItem("showShareTip","1");var e=a.state,t=e.is_my_team,n=e.my_team.treasure_code;t?Object(g.c)("version")?window.location.assign("https://h5.julyedu.com/box/landing?origin=1&treasure_code="+n+"&version="+Object(g.c)("version")):window.location.assign("https://h5.julyedu.com/box/landing?origin=1&treasure_code="+n):g.e.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,a=t.code,n=t.data,r=t.msg;if(200===a){var s=n.treasure_code;Object(g.c)("version")?window.location.assign("https://h5.julyedu.com/box/landing?origin=1&treasure_code="+s+"&version="+Object(g.c)("version")):window.location.assign("https://h5.julyedu.com/box/landing?origin=1&treasure_code="+s)}else c.a.info(r)})}},a.fillTeam=function(e,t){var n=e.length;if(a.props.user.hasError)for(var r=0;r<5-n;r++)e.push({head_img:"",user_name:"",nobody:!0});else if(0!==n||t)for(var s=0;s<5-n;s++)e.push({head_img:"",user_name:"",nobody:!0});else{e.push({head_img:M.a.get("avatar_file"),user_name:M.a.get("user_name")});for(var o=0;o<4;o++)e.push({head_img:"",user_name:"",nobody:!0})}return e},a.state={is_my_team:!1,prize_info:[],info:{removable:0,total:0},member:[],removable_data:[],my_team:{}},a}return Object(p.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.getTeamInfo()}},{key:"shouldComponentUpdate",value:function(e,t,a){return this.props.isAppUpdate===e.isAppUpdate||(this.getTeamInfo(),!1)}},{key:"render",value:function(){var e=this,t=this.state,a=t.prize_info,n=t.is_my_team,r=t.info,s=r.removable,o=r.total,c=t.member,i="",l=0;a.length>0&&(i=a[0].name,l=a[0].stage_no);var u="";return u=0===o?"\u6211\u7684\u5b9d\u7bb1":0===s?"\u5171".concat(o,"\u4e2a\u5b9d\u7bb1"):"\u5171".concat(o,"\u4e2a\u5b9d\u7bb1/").concat(s,"\u4e2a\u672a\u5f00"),h.a.createElement("div",{className:"team_info__container"},h.a.createElement("div",{className:"team__member"},h.a.createElement("ul",{className:"member__list"},c&&c.length>0&&c.map(function(e,t){return h.a.createElement("li",{key:t,className:"member__item"},h.a.createElement("div",{className:"avatar__container"},e.nobody?h.a.createElement("img",{className:"head__image",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png",alt:""}):h.a.createElement("img",{className:"head__image",src:e.head_img,alt:""}),0===t?h.a.createElement("img",{className:"caption__flag",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/caption.png",alt:""}):null,h.a.createElement("div",{className:"shadow"})),h.a.createElement("div",{className:"member__join ".concat(e.nobody?"":"join")}))})),h.a.createElement("div",{className:"box__number"},h.a.createElement("img",{onClick:function(){return e.toYearTreasure(!0)},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png",alt:""}),h.a.createElement("p",{onClick:function(){return e.toYearTreasure(!1)},className:"box__text"},u),h.a.createElement("img",{className:"position__arrow",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/arrow_jinzhan.png",alt:""}),s>0&&h.a.createElement("div",{className:"position__number"},s))),h.a.createElement("div",{onClick:this.createTeam,className:"invite__btn"},n?"\u7ee7\u7eed\u7ec4\u961f":"\u7ec4\u961f\u5f00\u5b9d\u7bb1"),l>0&&i&&h.a.createElement("p",{className:"stage_prize"},"\u7b2c".concat(l,"\u4e2a\u5b9d\u7bb1\u5fc5\u4e2d").concat(i)))}}]),t}(d.Component),A=Object(L.d)(Object(_.b)(function(e){return{user:e.user}},null),f.g)(x),P=(a(1093),a(9)),U=Object(P.a)(function(){return a.e(40).then(a.bind(null,1133))}),z=function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return(a=Object(u.a)(this,(e=Object(m.a)(t)).call.apply(e,[this].concat(r)))).closeIcon="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",a.state={prizes:[],notices:[],rule:[],unfoldList:!1},a.getPrizes=function(){g.e.get("".concat(API.home,"/sys/prize_data")).then(function(e){var t=e.data,n=t.code,r=t.data,s=t.msg;200==n?a.setState({prizes:r.prize_data,notices:r.notices,rule:r.rule}):c.a.info(s,2,null,!1)})},a.showRules=function(){Object(y.h)({title:"\u7ec4\u961f\u5f00\u5b9d\u7bb1\u6d3b\u52a8\u89c4\u5219",className:"landing-treasure-rules",content:h.a.createElement("div",{dangerouslySetInnerHTML:{__html:a.state.rule}}),closeIcon:a.closeIcon})},a.showMore=function(){a.setState(function(e){if(a.state.unfoldList)a.bg.style=a.innerBox.style=a.prizeBox.style="";else{var t=parseFloat(getComputedStyle(a.prizeBox,":before").getPropertyValue("height")),n=parseFloat(getComputedStyle(a.prizeBox,":after").getPropertyValue("height")),r=a.prizeList.scrollHeight,s=t+r-.12458*t-.595*n+n;a.prizeBox.style.height="".concat(s+27,"px"),a.innerBox.style.height="".concat(r,"px"),a.bg.style.height="".concat(r-n+.12458*t+27,"px")}return{unfoldList:!e.unfoldList}})},a}return Object(p.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.getPrizes()}},{key:"render",value:function(){var e=this,t=this.props.showSystemNotices,a=this.state.notices;return h.a.createElement(h.a.Fragment,null,t&&a&&a.length?h.a.createElement(U,{bullets:a}):null,h.a.createElement("div",{className:"prizes-box",ref:function(t){return e.prizeBox=t}},h.a.createElement("a",{href:"javascript:;",className:"rule-btn",onClick:this.showRules},"\u6d3b\u52a8\u89c4\u5219 > "),h.a.createElement("div",{className:"bg",ref:function(t){return e.bg=t}}),h.a.createElement("div",{className:"inner-box",ref:function(t){return e.innerBox=t}},h.a.createElement("ul",{className:"prize-list",ref:function(t){return e.prizeList=t}},this.state.prizes.map(function(e,t){return h.a.createElement("li",{key:t},e.img_name?h.a.createElement("i",{className:"prize-list__image",style:{backgroundImage:"url(".concat(e.img_name,")")}}):h.a.createElement("i",{className:"prize-list__image"}),0!=e.is_captain&&h.a.createElement("span",{className:"captain top-tag"},"\u961f\u957f\u4e13\u5c5e"),2===e.mode&&h.a.createElement("span",{className:"stage top-tag"},"\u7b2c",e.stage_no,"\u4e2a\u5fc5\u4e2d"),e.grant_max?h.a.createElement("div",{className:"bottom-bar"},h.a.createElement("div",{className:"progress-bar"},h.a.createElement("span",{className:"progress",style:{width:"".concat(e.surplus/e.grant_max*100,"%")}})),h.a.createElement("span",null,"\u9650\u91cf",e.grant_max,"\u4efd")):h.a.createElement("span",{className:"no-limit"},"\u4e0d\u9650\u91cf"))}),h.a.createElement("li",null,h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/prize-placeholder.png",alt:""})))),h.a.createElement("div",{className:"show-more",onClick:this.showMore},this.state.unfoldList?h.a.createElement("div",null,"\u6536\u8d77",h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/fold-icon.png",alt:""})):h.a.createElement("div",null,"\u67e5\u770b\u5168\u90e8\u5956\u54c1",h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/unfold-icon.png",alt:""})))))}}]),t}(d.Component),T=a(109),D=a(141),R=(a(210),a(1094),function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return(a=Object(u.a)(this,(e=Object(m.a)(t)).call.apply(e,[this].concat(r)))).state={bulletScreenData:[]},a.initializeBulletScreen=function(){var e=Object(w.a)(Object(w.a)(a)),t=Object(T.a)(Array(19).keys()),n=!1;a.swiper=new D.a(".swiper-container",{direction:"vertical",allowTouchMove:!1,autoplay:!0,on:{transitionEnd:function(){var a=this;this.slides.length>20&&(this.removeSlide(0),this.autoplay.start()),this.activeIndex!==this.slides.length-1||n||(this.autoplay.stop(),e.getBulletScreenData().then(function(r){n=!0,a.removeSlide(t),a.appendSlide(e.getSlides(r)),setTimeout(function(){a.autoplay.start(),n=!1})}))}}})},a.getSlides=function(e){return e.map(function(e){return'\n <li class="swiper-slide">\n <img class="avatar" src="'.concat(e.avatar_file,'" alt="">\n <span>').concat(e.user_name," ").concat(e.msg,"</span>\n </li>\n ")})},a.getBulletScreenData=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return g.e.get("".concat(API.home,"/sys/barrage_data")).then(function(t){var n=t.data,r=n.data;if(200==n.code){if(!e)return r;a.setState({bulletScreenData:r},function(){a.initializeBulletScreen()})}})},a}return Object(p.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.getBulletScreenData(!0)}},{key:"componentWillUnmount",value:function(){this.swiper&&this.swiper.destroy()}},{key:"render",value:function(){var e=this.state.bulletScreenData;return h.a.createElement("div",{id:"user-bullet-screen",className:"swiper-container"},h.a.createElement("ul",{className:"swiper-wrapper"},e.length&&e.map(function(e,t){return h.a.createElement("li",{className:"swiper-slide",key:t},h.a.createElement("img",{src:e.avatar_file,alt:"",className:"avatar"}),h.a.createElement("span",null,e.user_name," ",e.msg))})))}}]),t}(d.Component)),B=function(e){function t(e){return Object(i.a)(this,t),Object(u.a)(this,Object(m.a)(t).call(this,e))}return Object(p.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){return h.a.createElement(v,{id:"year-treasure",title:"\u7ec4\u961f\u5f00\u5b9d\u7bb1"},h.a.createElement("div",{style:{textAlign:"center",fontSize:"12px",color:"#FFDC1E",marginTop:"10px"}},"\u9080\u8bf7\u597d\u53cb\u7ec4\u961f\u4e00\u8d77\u5f00\u5b9d\u7bb1\uff0c\u6ee15\u4eba\u540e\u5c06\u968f\u673a\u83b7\u5f97\u4ee5\u4e0b\u5956\u54c1~"),h.a.createElement(z,{showSystemNotices:!0}),h.a.createElement(R,null),h.a.createElement(A,{isAppUpdate:this.props.isAppUpdate,getRemovable:this.props.getRemovable}),h.a.createElement(C,{history:this.props.history}))}}]),t}(d.Component),F=Object(f.g)(B),q=a(17),Q=a.n(q),H=(a(1095),d.Component,a(25)),V=a(419);a.d(t,"default",function(){return W});var W=Object(_.b)(function(e){return{user:e.user}},{setCurrentUser:H.g,startFetchUser:H.h})(s=function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return(a=Object(u.a)(this,(e=Object(m.a)(t)).call.apply(e,[this].concat(r)))).state={removable:0,currentOpenId:0,treasure_stage:0,activity_stage:0,userInfoList:[],userInfo:{},isAppUpdate:!1,showMark:!1,banner:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/treasure-active/m/box_banner.png"},a.loginInfo=function(e){a.setState({userInfoList:e},function(){a.state.userInfoList.length&&(a.props.startFetchUser(),a.appLogin())})},a.appLogin=function(){var e=Object(V.a)(new Date,90);a.state.userInfoList.map(function(t,a){M.a.set("token",t.token,{expires:e,path:"/",domain:".julyedu.com"}),M.a.set("plat",t.plat,{expires:e,path:"/",domain:".julyedu.com"}),M.a.set("uid",t.uid,{expires:e,path:"/",domain:".julyedu.com"}),M.a.set("uname",t.uname,{expires:e,path:"/",domain:".julyedu.com"}),M.a.set("avatar_file",t.avatar_file,{expires:e,path:"/",domain:".julyedu.com"})}),M.a.get("token")&&M.a.get("uid")&&a.setState({isAppUpdate:!0}),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.closePopup=function(){a.setState({showMark:!1})},a.getRemovable=function(e,t){},a.getStage=function(){g.e.get("".concat(API.home,"/activity/stage")).then(function(e){var t=e.data,n=t.code,r=t.data,s=t.msg;if(200===n){if(0===Number(r.treasure_stage))return void a.props.history.push("/");a.setState({activity_stage:r.activity_stage,treasure_stage:r.treasure_stage}),r.activity_stage,a.setState({banner:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/treasure-active/m/box_banner.png"})}else c.a.info(s,2)})},a}return Object(p.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){var e=this;window.loginInfo=function(t){e.loginInfo(t)},e.getStage(),document.title="AI\u5c31\u4e1a\u5b63\uff0c\u5f00\u5b9d\u7bb1\u514d\u8d39\u62ffVIP\u5e74\u4f1a\u5458\uff0c200\u672c\u7a0b\u5e8f\u5458\u5fc5\u5907\u7eb8\u8d28\u4e66\u514d\u8d39\u5305\u90ae\u9001\uff01- \u4e03\u6708\u5728\u7ebf"}},{key:"render",value:function(){var e=this.state,t=e.banner,a=e.activity_stage,n=e.treasure_stage;return h.a.createElement("div",{className:"year-index"},h.a.createElement("div",{className:"banner-treasure"},h.a.createElement("img",{src:t,alt:""}),h.a.createElement("div",{className:"banner-treasure__decorate"})),1===n&&h.a.createElement(F,{isAppUpdate:this.state.isAppUpdate,getRemovable:this.getRemovable}),h.a.createElement(I,{stage:a,treasureStage:n,isAppUpdate:this.state.isAppUpdate}),this.state.showMark&&h.a.createElement(b,{top:50,closePopup:this.closePopup,mark:!0},h.a.createElement("div",{className:"sub__code_container"},h.a.createElement("p",{className:"sub__title"},"\u63d0\u9192\u670d\u52a1"),h.a.createElement("p",{className:"sub__tip"},"\u6709\u597d\u53cb\u52a0\u5165\u961f\u4f0d\u540e\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~"),h.a.createElement("img",{className:"sub__qr_code",id:"live-qr-code",src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg",alt:""}),h.a.createElement("p",{className:"sub__tip"},"\u957f\u6309\u8bc6\u522b/\u626b\u7801 \u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6"))),this.state.showMark&&h.a.createElement(b,{top:50,closePopup:this.closePopup,mark:!0},h.a.createElement("div",{className:"sub__code_container"},h.a.createElement("p",{className:"sub__title"},"\u7ec4\u961f\u5f00\u5b9d\u7bb1\u6d3b\u52a8\u89c4\u5219"),h.a.createElement("p",{className:"sub__rule"},"1. \u6d3b\u52a8\u671f\u95f4\uff083\u670826\u65e5-3\u670831\u65e5\uff09\u53ef\u968f\u65f6\u53c2\u4e0e\u5f00\u5b9d\u7bb1\uff1b",h.a.createElement("br",null),"2. \u5f53\u524d\u961f\u4f0d\u6ee1\u5458\u540e\u53ef\u7ee7\u7eed\u521b\u5efa\u65b0\u961f\u4f0d\uff1b",h.a.createElement("br",null),"3. \u6bcf\u4eba\u6709\u4e00\u6b21\u673a\u4f1a\u52a0\u5165\u597d\u53cb\u7684\u961f\u4f0d\uff1b",h.a.createElement("br",null),"4. \u961f\u4f0d\u6ee1\u5458\u540e\u6240\u6709\u6210\u5458\u5747\u53ef\u968f\u673a\u83b7\u5f97\u5b9d\u7bb1\u5185\u5956\u54c1\uff0c\u961f\u957f\u5956\u52b1\u66f4\u4e30\u539a\u54e6~",h.a.createElement("br",null),"5. \u4ee3\u91d1\u5238\u3001\u8bfe\u7a0b\u7b49\u865a\u62df\u5956\u54c1\u5c06\u76f4\u63a5\u53d1\u653e\u81f3\u8d26\u6237\uff0c\u5b9e\u7269\u5956\u54c1\u6d3b\u52a8\u7ed3\u675f\u540e\u7edf\u4e00\u90ae\u5bc4\uff1b",h.a.createElement("br",null),"6. \u73b0\u91d1\u53ef\u63d0\u73b0\uff1a\u6211\u7684 \u2192 \u8d5a\u5956\u5b66\u91d1 \u2192 \u63d0\u73b0\u3002"))),h.a.createElement("div",{className:"btm-rule"},"* \u672c\u6d3b\u52a8\u89e3\u91ca\u6743\u5f52\u5317\u4eac\u4e03\u6708\u5728\u7ebf\u79d1\u6280\u6709\u9650\u516c\u53f8\u6240\u6709 *"))}}]),t}(d.Component))||s},483:function(e,t,a){"use strict";var n=a(3),r=a(5),s=a(4),o=a(6),c=a(7),i=a(0),l=a.n(i),u=(a(501),function(e){function t(e){var a;return Object(n.a)(this,t),(a=Object(s.a)(this,Object(o.a)(t).call(this,e))).startCountDown=function(e){if(e){var t=1e3*e,n=0,r=0,s=0;setInterval(function(){t-=1e3,n="".concat(parseInt(t/36e5)).padStart(2,0),r="".concat(parseInt((t-36e5*n)/6e4)).padStart(2,0),s="".concat(parseInt((t-36e5*n-6e4*r)/1e3)).padStart(2,0),a.setState({countdown:"".concat(n,"\u65f6").concat(r,"\u5206").concat(s,"\u79d2\u540e\u7ed3\u675f")})},1e3)}},a.state={countdown:""},a}return Object(c.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this.props.time;this.startCountDown(e)}},{key:"componentWillReceiveProps",value:function(e){var t=e.time;this.props.time!=t&&this.startCountDown(t)}},{key:"render",value:function(){var e=this.props,t=e.image,a=e.toCourse,n=e.id,r=this.state.countdown;return l.a.createElement("div",{className:"course-container"},l.a.createElement("div",{className:"course__cover"},r&&l.a.createElement("p",{className:"course__time"},r),l.a.createElement("img",{src:t,alt:"cover",onClick:function(){return a(n)}})),this.props.children)}}]),t}(i.Component));t.a=u},501:function(e,t,a){}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[42],{1086:function(e,t,a){},1087:function(e,t,a){},1088:function(e,t,a){},1089:function(e,t,a){},1090:function(e,t,a){},1091:function(e,t,a){},1092:function(e,t,a){},1093:function(e,t,a){},1094:function(e,t,a){},1095:function(e,t,a){},1179:function(e,t,a){"use strict";a.r(t);a(37);var n,r,s,o=a(10),c=a.n(o),i=a(3),l=a(5),u=a(4),m=a(6),p=a(7),d=a(0),h=a.n(d),f=(a(1086),a(1087),a(46)),g=a(2),v=(a(1088),function(e){function t(e){return Object(i.a)(this,t),Object(u.a)(this,Object(m.a)(t).call(this,e))}return Object(p.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){var e=this.props.id;return h.a.createElement("div",{className:"common_container",id:e},h.a.createElement("div",{className:"container_top"}),h.a.createElement("div",{className:"container_content"},this.props.title&&h.a.createElement("div",{className:"title_container"},h.a.createElement("i",null),h.a.createElement("p",null,this.props.title),h.a.createElement("i",null)),h.a.Children.map(this.props.children,function(e){return h.a.createElement(h.a.Fragment,null,e)})),h.a.createElement("div",{className:"container_bottom"}))}}]),t}(d.Component)),b=(a(1089),function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(u.a)(this,Object(m.a)(t).call(this,e))).computedStyle=function(){return{top:"".concat(a.props.top,"px"),width:"".concat(a.props.width,"px")}},a.closePopup=function(){a.props.mark&&a.props.closePopup()},a}return Object(p.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){return h.a.createElement("div",{className:"popup__container",onClick:this.closePopup},h.a.createElement("div",{className:"content__container",style:this.computedStyle(),onClick:function(e){e.stopPropagation()}},h.a.createElement("img",{className:"close__btn",onClick:this.props.closePopup,src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",alt:""}),h.a.Children.map(this.props.children,function(e){return h.a.createElement(h.a.Fragment,null,e)})))}}]),t}(d.Component)),_=a(20),y=a(23),j=a(434),E=a.n(j),O=Object(_.b)(function(e){return{user:e.user}})(n=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(u.a)(this,Object(m.a)(t).call(this,e))).getLiveInfo=function(){g.e.get("".concat(API.home,"/activity/get_live_info")).then(function(e){var t=e.data,n=t.code,r=t.data,s=t.msg;200===n?a.setState({list:r}):c.a.info(s)})},a.subscribe=function(e){var t=a.props.user,n=t.hasError;t.data;n?a.toLogin():g.e.get("".concat(API["base-api"],"/sys/createLiveQrcode/").concat(e)).then(function(e){var t=e.data,n=t.errno,r=t.data,s=t.msg;200===n?E.a.toDataURL(r.url,function(e,t){a.setState({showMark:!0,subUrl:t,QRCodeUrl:r.url})}):c.a.info(s)})},a.tip=function(){c.a.info("\u4f60\u5df2\u9884\u7ea6\u8be5\u76f4\u64ad")},a.toLivingRoom=function(e){var t=a.props.user,n=t.hasError;t.data;n?a.toLogin():window.location.href="".concat(window.location.protocol,"//www.julyedu.com/live/m_room/").concat(e)},a.checkVideo=function(e){var t=a.props.user,n=t.hasError;t.data;if(n)a.toLogin();else{var r=e.split("/")[0];window.location.href="/play/video?id=".concat(r)}},a.closePopup=function(){a.setState({showMark:!1}),a.getLiveInfo()},a.saveImage=function(){var e=Object(g.c)("version");e="string"===typeof e?e.replace(".","").replace(".","").slice(0,3):"";var t=a.state.QRCodeUrl;e&&parseInt(e)<451?c.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",2,null,!1):Object(g.a)("generateQRCode",t)},a.toLogin=function(){Object(g.c)("version")?Object(g.a)("toLogin"):a.props.history.push("/passport/login")},a.state={list:[],showMark:!1,subUrl:"",QRCodeUrl:""},a}return Object(p.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.getLiveInfo()}},{key:"shouldComponentUpdate",value:function(e,t,a){return this.props.isAppUpdate===e.isAppUpdate||(this.getLiveInfo(),!1)}},{key:"render",value:function(){var e=this,t=this.state,a=t.list,n=t.showMark,r=t.subUrl;return h.a.createElement("div",{className:"live__container"},n&&h.a.createElement(b,{top:50,closePopup:this.closePopup,mark:!0},h.a.createElement("div",{className:"sub__code_container"},h.a.createElement("p",{className:"sub__title"},"\u626b\u7801\u5173\u6ce8\u201c\u4e03\u6708\u5728\u7ebf\u201d\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6"),h.a.createElement("img",{className:"sub__qr_code",id:"live-qr-code",src:r,alt:""}),g.b.isAndroidApp?h.a.createElement("button",{className:"save-image",onClick:this.saveImage},"\u4fdd\u5b58\u4e8c\u7ef4\u7801"):null)),h.a.createElement(v,{title:"\u201c\u85aa\u201d\u5e74\u597d\u8bfe\u514d\u8d39\u5b66",id:"year-live"},h.a.createElement("ul",{className:"live__list"},a.length&&a.map(function(t,a){return h.a.createElement("li",{key:a,className:"live_room_item"},h.a.createElement("img",{className:"user__avatar",src:t.avatar,alt:""}),h.a.createElement("div",{className:"live__info"},h.a.createElement("div",{className:"theme"},h.a.createElement("span",null,"\u4e3b\u9898\uff1a"),h.a.createElement("p",null,t.title)),h.a.createElement("div",{className:"info__item"},h.a.createElement("span",null,"\u8bb2\u5e08\uff1a"),h.a.createElement("p",null,t.teacher)),""!=t.transcribe_url&&h.a.createElement("span",{onClick:function(){return e.checkVideo(t.transcribe_url)},className:"order__btn check__video"},"\u70b9\u51fb\u67e5\u770b")))}))))}}]),t}(d.Component))||n,k=(Object(f.g)(O),a(18)),w=a(50),N=(a(1090),a(483),Object(_.b)(function(e){return{user:e.user}})(r=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(u.a)(this,Object(m.a)(t).call(this,e))).getLength=function(){var e=Object(w.a)(Object(w.a)(a));g.e.get("".concat(API.home,"/activity/wish_sum")).then(function(t){var a=t.data,n=a.code,r=a.data;200==n&&e.setState({sum:r.sum})})},a.fetchBigCourse=function(){var e=a.state.bigcourse;g.e.get("".concat(API.home,"/activity/preheat_data")).then(function(t){var n=t.data,r=n.code,s=n.data;200===r&&a.setState({bigcourse:Object.assign({},e,{isMore:!1,course:s,courseList:s})})})},a.fetchFreeCourse=function(){var e=a.state.freecourse;g.e.get("".concat(API["base-api"],"/assistance/detail")).then(function(t){var n=t.data,r=n.errno,s=n.data;200===r&&a.setState({freecourse:Object.assign({},e,{isMore:s.course_info.length>4,course:s.course_info.length>4?s.course_info.filter(function(e,t){return t<4}):s.course_info,courseList:s.course_info})})})},a.fetchGroupCourse=function(){var e=a.state.groupcourse;g.e.get("".concat(API.home,"/activity/excellent_course")).then(function(t){var n=t.data,r=n.code,s=n.data;200===r&&a.setState({groupcourse:Object.assign({},e,{isMore:s.length>4,course:s.length>4?s.filter(function(e,t){return t<4}):s,courseList:s})})})},a.fetchAICourse=function(e,t){g.e.get("".concat(API.home,"/activity/four_stage/").concat(e)).then(function(n){var r=n.data,s=r.code,o=r.data;200===s&&a.getList(e,o,t)})},a.getList=function(e,t,n){var r=a.state,s=r.basic,o=r.advanced,c=r.higher,i=r.expand;"one"===e&&a.setState({basic:Object.assign({},s,{isMore:t.length>4&&!n,course:t.length>4&&!n?t.filter(function(e,t){return t<4}):t,courseList:t,addshowMore:n})}),"two"===e&&a.setState({advanced:Object.assign({},o,{isMore:t.length>4&&!n,course:t.length>4&&!n?t.filter(function(e,t){return t<4}):t,courseList:t,addshowMore:n})}),"three"===e&&a.setState({higher:Object.assign({},c,{isMore:t.length>4&&!n,course:t.length>4&&!n?t.filter(function(e,t){return t<4}):t,courseList:t,addshowMore:n})}),"four"===e&&a.setState({expand:Object.assign({},i,{isMore:t.length>4&&!n,course:t.length>4&&!n?t.filter(function(e,t){return t<4}):t,courseList:t,addshowMore:n})})},a.toQQque=function(){Object(g.c)("version")?Object(g.a)("toQQ","https://q.url.cn/AB8aue?_type=wpa&qidian=true"):location.href="http://q.url.cn/s/Vbkup6m?_type=wpa"},a.toCourse=function(e){var t=a.props.history;Object(g.c)("version")?Object(g.a)("toCourse",e):t.push("/detail?id=".concat(e))},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,addshowMore:!a.state[e].addshowMore},a.setState(Object(k.a)({},t))):(t[e]={isMore:!a.state[e].isMore,course:a.state[e].courseList.filter(function(e,t){return t<4}),courseList:a.state[e].courseList,addshowMore:!a.state[e].addshowMore},a.setState(Object(k.a)({},t)))},a.toLogin=function(){Object(g.c)("version")?Object(g.a)("toLogin"):a.props.history.push("/passport/login")},a.freeStudy=function(){a.setState({tofreeStudy:!0})},a.closePopup=function(){a.setState({tofreeStudy:!1})},a.closePopupWish=function(){var e=Object(w.a)(Object(w.a)(a));e.setState({isshowFollow:!1}),setTimeout(function(){e.toJoinList(e.state.wish.id,e.state.wish.key)},200)},a.getQRcodeUrl=function(){var e=Object(w.a)(Object(w.a)(a));g.e.get("".concat(API["base-api"],"/wx/user_temporary_qrcode/").concat(e.props.user.data.uid)).then(function(e){var t=e.data,n=t.errno,r=t.data,s=t.msg;0==n?(a.setState({qrUrl:r.url}),E.a.toDataURL(r.url,function(e,t){a.setState({followBarcode:t})})):c.a.info(s,2)})},a.addWishList=function(e,t){var n=Object(w.a)(Object(w.a)(a)),r=!a.props.user.hasError;n.setState({wish:{id:e,key:t}}),r?n.isFollow(e,t):n.toLogin()},a.isFollow=function(e,t){var n=Object(w.a)(Object(w.a)(a));g.e.get("".concat(API.home,"/sys/user/isFollowWeChat")).then(function(a){var r=a.data,s=r.code,o=r.data,i=r.msg;200===s?(n.setState({isshowFollow:!o.is_follow}),n.state.isshowFollow?n.getQRcodeUrl():n.toJoinList(e,t)):c.a.info(i,2)})},a.toJoinList=function(e,t){var n=Object(w.a)(Object(w.a)(a));g.e.post("".concat(API.home,"/activity/join_list"),{course_id:e}).then(function(e){var a=e.data,r=a.code,s=a.msg;200==r?(c.a.success("\u5df2\u6210\u529f\u52a0\u5165\u5fc3\u613f\u5355",3),n.getLength(),"1"===t&&n.fetchAICourse("one",n.state.basic.addshowMore),"2"===t&&n.fetchAICourse("two",n.state.advanced.addshowMore),"3"===t&&n.fetchAICourse("three",n.state.higher.addshowMore),"4"===t&&n.fetchAICourse("four",n.state.expand.addshowMore),"group"===t&&n.fetchGroupCourse()):c.a.info(s,2)})},a.saveImage=function(){var e=Object(g.c)("version");e="string"===typeof e?e.replace(".","").replace(".","").slice(0,3):"";var t=a.state.qrUrl;e&&parseInt(e)<451?c.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",3,null,!1):Object(g.a)("generateQRCode",t)},a.saveImage2=function(){var e=Object(g.c)("version");(e="string"===typeof e?e.replace(".","").replace(".","").slice(0,3):"")&&parseInt(e)<451?c.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",3,null,!1):Object(g.a)("saveImage","https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg")},a.getTeamInfo=function(){g.e.get("".concat(API.home,"/sys/treasure/teamInfo")).then(function(e){var t=e.data,n=t.code,r=t.data,s=t.msg;if(200===n){var o=r.info,i=r.removable_data;a.setState({removable:o.removable,currentId:o.removable>0?i[0].id:null})}else c.a.info(s)})},a.toBoxList=function(){var e=!a.props.user.hasError,t=a.state.currentId,n="";t&&(n="?id=".concat(t)),e?Object(g.c)("version")?a.props.history.push("/box/yearTreasure".concat(n,"?version=").concat(Object(g.c)("version"))):a.props.history.push("/box/yearTreasure".concat(n)):a.toLogin()},a.toYearWish=function(){!a.props.user.hasError?Object(g.c)("version")?a.props.history.push("/year/yearWish?version=".concat(Object(g.c)("version"))):a.props.history.push("/year/yearWish"):a.toLogin()},a.toInviteFriends=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=a.props.history;if(Object(g.c)("version")){var r={title:"\u3010\u4ec5\u5269".concat(t.number,"\u4e2a\u540d\u989d\u3011\u6211").concat(t.price,"\u5143\u62fc\u4e86\u300a").concat(t.course_title,"\u300b"),desc:t.course_title,link:"".concat(API.m,"/togroup?id=").concat(e,"&is_originator=1"),imgUrl:t.image_name};Object(g.a)("toShare",r)}else n.push("/togroup?id=".concat(e))},a.isCountDown=function(e,t){return e?t:""},a.formatTitleAndKey=function(e){var t=null;switch(e){case 1:t={title:"\u57fa\u7840",key:"basic"};break;case 2:t={title:"\u8fdb\u9636",key:"advanced"};break;case 3:t={title:"\u9ad8\u9636",key:"higher"};break;case 4:t={title:"\u6269\u5c55",key:"expand"};break;default:t=null}return t},a.formatCourseData=function(e){var t=a.state,n=t.basic,r=t.advanced,s=t.higher,o=t.expand,c=null;switch(e){case 1:c=n;break;case 2:c=r;break;case 3:c=s;break;case 4:c=o;break;default:c=null}return c},a.toCart=function(e){var t=a.props.history;g.e.post("".concat(API.home,"/m/cart/add"),{course_id:e}).then(function(e){var n=e.data,r=n.code,s=n.msg;200===r||15001===r?Object(g.c)("version")?Object(g.a)("toShoppingCart"):t.push("/shopcart"):4030===r||4040===r?a.toLogin():c.a.info(s,2)})},a.toContinueBargain=function(e,t,n,r){var s=a.props.history;if(Object(g.c)("version")){var o={title:"\u6211\u53d1\u73b0\u4e00\u95e8\u597d\u8bfe\uff0c\u5feb\u6765\u5e2e\u6211\u780d\u4ef7\u5427\uff01",desc:"\u6211\u5df2\u7ecf\u780d\u4e86".concat(t,"\u5143\uff0c\u770b\u770b\u4f60\u80fd\u780d\u591a\u5c11"),link:"".concat(API.m,"/bargain-middle-page?id=").concat(e,"&bargaincode=").concat(n,"&is_originator=1"),imgUrl:r};Object(g.a)("toShare",o)}else s.push("/bargain-middle-page?id=".concat(e,"&bargaincode=").concat(n,"&is_originator=1"))},a.bargainToOrder=function(e){var t=a.props,n=t.history;t.user.hasError?a.toLogin():Object(g.c)("version")?Object(g.a)("toPay",e):g.e.get("".concat(API["base-api"],"/m/cart/addtopreorder/[").concat(e,"]")).then(function(t){var a=t.data,r=a.errno,s=a.msg;0===r?n.push("/order?id=[".concat(e,"]"),{bargain:1}):c.a.info(s,2)})},a.state={tofreeStudy:!1,basic:{course:[],courseList:[],isMore:!1,addshowMore:!1},advanced:{course:[],courseList:[],isMore:!1,addshowMore:!1},higher:{course:[],courseList:[],isMore:!1,addshowMore:!1},expand:{course:[],courseList:[],isMore:!1,addshowMore:!1},bigcourse:{course:[],courseList:[],isMore:!1},freecourse:{course:[],courseList:[],isMore:!1},groupcourse:{course:[],courseList:[],isMore:!1},isshowFollow:!1,wish:{id:"",key:""},followBarcode:"",qrUrl:"",sum:"",removable:"",currentId:""},a}return Object(p.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.getTeamInfo(),this.getLength(),this.fetchBigCourse(),this.fetchGroupCourse(),this.fetchAICourse("one",!1),this.fetchAICourse("two",!1),this.fetchAICourse("three",!1),this.fetchAICourse("four",!1)}},{key:"shouldComponentUpdate",value:function(e,t,a){return this.props.isAppUpdate===e.isAppUpdate||(this.getTeamInfo(),this.getLength(),this.fetchBigCourse(),this.fetchGroupCourse(),this.fetchAICourse("one"),this.fetchAICourse("two"),this.fetchAICourse("three"),this.fetchAICourse("four"),!1)}},{key:"render",value:function(){var e=this.state,t=(e.bigcourse,e.freecourse,e.groupcourse,e.basic,e.advanced,e.higher,e.expand,e.removable),a=(e.sum,this.props);a.stage,a.treasureStage;return h.a.createElement("div",{className:"year-index-course"},t>0&&h.a.createElement("div",{className:"nav-right-wish nav-right"},h.a.createElement("span",{onClick:this.toBoxList,className:"nav-right__link"},"\u672a\u5f00\u5b9d\u7bb1",h.a.createElement("i",{className:"nav-right__number"},t))))}}]),t}(d.Component))||r),I=Object(f.g)(N),C=(a(1091),function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(u.a)(this,Object(m.a)(t).call(this,e))).fetchRankInfo=function(){g.e.get("".concat(API.home,"/sys/treasure/ranking")).then(function(e){var t=e.data,n=t.code,r=t.data;200===n&&"{}"!==JSON.stringify(r)&&(r.length>5?a.setState({rank:r.filter(function(e,t){return t<5}),rankList:r,isMore:!0}):a.setState({rank:r,rankList:r,isMore:!1}))})},a.switchMoreRank=function(){var e=a.state,t=e.rankList;e.isMore?a.setState({rank:t,isMore:!1}):a.setState({rank:t.filter(function(e,t){return t<5}),isMore:!0})},a.handleToVip=function(e){var t=a.props.history;e&&(Object(g.c)("version")?Object(g.a)("toCourse",e):t.push("/detail?id=".concat(e)))},a.state={rank:[],rankList:[],isMore:!1},a}return Object(p.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.fetchRankInfo()}},{key:"render",value:function(){var e=this,t=this.state,a=t.rank,n=t.isMore;return h.a.createElement(h.a.Fragment,null,0!==a.length&&h.a.createElement("div",{"data-skip":"rank"},h.a.createElement("div",{className:"rank-title"},h.a.createElement("i",{className:"rank-title__decorate"}),h.a.createElement("h2",{className:"rank-title__txt"},"\u5b9d\u7bb1\u8fbe\u4eba\u699c"),h.a.createElement("i",{className:"rank-title__decorate"})),h.a.createElement("p",{className:"rank-desc"},"\u5b9d\u7bb1\u6570\u91cf\u524d50\u540d\u53ef\u989d\u5916\u83b7\u5f97\u4e00\u4efd\u5956\u54c1\uff0c\u6570\u91cf\u76f8\u540c\u7684\u7528\u65f6\u77ed\u8005\u6392\u540d\u5728\u524d"),h.a.createElement("dl",{className:"rank-header"},h.a.createElement("dd",{className:"rank-column"},"\u6392\u540d"),h.a.createElement("dd",{className:"rank-column"},"\u7528\u6237"),h.a.createElement("dd",{className:"rank-column"},"\u5b9d\u7bb1\u6570\u91cf"),h.a.createElement("dd",{className:"rank-column"},"\u5956\u54c1")),h.a.createElement("div",{className:"rank-body"},a.map(function(t,a){return h.a.createElement("dl",{className:"rank-item",key:a},h.a.createElement("dd",{className:"rank-column"},a<=2?h.a.createElement("span",{className:"rank-column__number","data-num":a}):h.a.createElement("span",null,a+1)),h.a.createElement("dd",{className:"rank-column"},h.a.createElement("span",{className:"rank-column__name"},t.user_name)),h.a.createElement("dd",{className:"rank-column"},h.a.createElement("span",null,t.num)),h.a.createElement("dd",{className:"rank-column"},t.url?h.a.createElement("a",{className:"rank-column__txt",onClick:function(){return e.handleToVip(t.url)}},t.prize_name):h.a.createElement("span",{className:"rank-column__txt"},t.prize_name)))}),h.a.createElement("div",{className:"rank-more",onClick:this.switchMoreRank},h.a.createElement("span",{className:"rank-more__txt"},n?"\u5c55\u5f00":"\u6536\u8d77"),h.a.createElement("i",{className:"rank-more__icon","data-more":n})))))}}]),t}(d.Component)),L=(a(1092),a(24)),S=a(35),M=a.n(S),x=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(u.a)(this,Object(m.a)(t).call(this,e))).getTeamInfo=function(){g.e.get("".concat(API.home,"/sys/treasure/teamInfo")).then(function(e){var t=e.data,n=t.code,r=t.data,s=t.msg;if(200===n){var o=r.prize_info,i=r.is_my_team,l=r.info,u=r.member,m=r.removable_data,p=r.my_team;a.setState({prize_info:o,is_my_team:i,info:l,member:a.fillTeam(u,i),removable_data:m,my_team:p});var d=null;l.removable>0&&(d=m[0].id),a.props.getRemovable(l.removable,d)}else c.a.info(s)})},a.toYearTreasure=function(e){if(a.props.user.hasError)a.toLogin();else{var t="";if(e){var n=a.state,r=n.removable_data;if(n.info.removable>0){var s=r[0];t="?id=".concat(s.id)}}Object(g.c)("version")?a.props.history.push("/box/yearTreasure".concat(t,"?version=").concat(Object(g.c)("version"))):a.props.history.push("/box/yearTreasure".concat(t))}},a.toLogin=function(){Object(g.c)("version")?Object(g.a)("toLogin"):a.props.history.push("/passport/login")},a.createTeam=function(){if(a.props.user.hasError)a.toLogin();else{sessionStorage.setItem("showShareTip","1");var e=a.state,t=e.is_my_team,n=e.my_team.treasure_code;t?Object(g.c)("version")?window.location.assign("https://h5.julyedu.com/box/landing?origin=1&treasure_code="+n+"&version="+Object(g.c)("version")):window.location.assign("https://h5.julyedu.com/box/landing?origin=1&treasure_code="+n):g.e.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,a=t.code,n=t.data,r=t.msg;if(200===a){var s=n.treasure_code;Object(g.c)("version")?window.location.assign("https://h5.julyedu.com/box/landing?origin=1&treasure_code="+s+"&version="+Object(g.c)("version")):window.location.assign("https://h5.julyedu.com/box/landing?origin=1&treasure_code="+s)}else c.a.info(r)})}},a.fillTeam=function(e,t){var n=e.length;if(a.props.user.hasError)for(var r=0;r<5-n;r++)e.push({head_img:"",user_name:"",nobody:!0});else if(0!==n||t)for(var s=0;s<5-n;s++)e.push({head_img:"",user_name:"",nobody:!0});else{e.push({head_img:M.a.get("avatar_file"),user_name:M.a.get("user_name")});for(var o=0;o<4;o++)e.push({head_img:"",user_name:"",nobody:!0})}return e},a.state={is_my_team:!1,prize_info:[],info:{removable:0,total:0},member:[],removable_data:[],my_team:{}},a}return Object(p.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.getTeamInfo()}},{key:"shouldComponentUpdate",value:function(e,t,a){return this.props.isAppUpdate===e.isAppUpdate||(this.getTeamInfo(),!1)}},{key:"render",value:function(){var e=this,t=this.state,a=t.prize_info,n=t.is_my_team,r=t.info,s=r.removable,o=r.total,c=t.member,i="",l=0;a.length>0&&(i=a[0].name,l=a[0].stage_no);var u="";return u=0===o?"\u6211\u7684\u5b9d\u7bb1":0===s?"\u5171".concat(o,"\u4e2a\u5b9d\u7bb1"):"\u5171".concat(o,"\u4e2a\u5b9d\u7bb1/").concat(s,"\u4e2a\u672a\u5f00"),h.a.createElement("div",{className:"team_info__container"},h.a.createElement("div",{className:"team__member"},h.a.createElement("ul",{className:"member__list"},c&&c.length>0&&c.map(function(e,t){return h.a.createElement("li",{key:t,className:"member__item"},h.a.createElement("div",{className:"avatar__container"},e.nobody?h.a.createElement("img",{className:"head__image",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png",alt:""}):h.a.createElement("img",{className:"head__image",src:e.head_img,alt:""}),0===t?h.a.createElement("img",{className:"caption__flag",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/caption.png",alt:""}):null,h.a.createElement("div",{className:"shadow"})),h.a.createElement("div",{className:"member__join ".concat(e.nobody?"":"join")}))})),h.a.createElement("div",{className:"box__number"},h.a.createElement("img",{onClick:function(){return e.toYearTreasure(!0)},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png",alt:""}),h.a.createElement("p",{onClick:function(){return e.toYearTreasure(!1)},className:"box__text"},u),h.a.createElement("img",{className:"position__arrow",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/arrow_jinzhan.png",alt:""}),s>0&&h.a.createElement("div",{className:"position__number"},s))),h.a.createElement("div",{onClick:this.createTeam,className:"invite__btn"},n?"\u7ee7\u7eed\u7ec4\u961f":"\u7ec4\u961f\u5f00\u5b9d\u7bb1"),l>0&&i&&h.a.createElement("p",{className:"stage_prize"},"\u7b2c".concat(l,"\u4e2a\u5b9d\u7bb1\u5fc5\u4e2d").concat(i)))}}]),t}(d.Component),A=Object(L.d)(Object(_.b)(function(e){return{user:e.user}},null),f.g)(x),P=(a(1093),a(9)),U=Object(P.a)(function(){return a.e(40).then(a.bind(null,1133))}),z=function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return(a=Object(u.a)(this,(e=Object(m.a)(t)).call.apply(e,[this].concat(r)))).closeIcon="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",a.state={prizes:[],notices:[],rule:[],unfoldList:!1},a.getPrizes=function(){g.e.get("".concat(API.home,"/sys/prize_data")).then(function(e){var t=e.data,n=t.code,r=t.data,s=t.msg;200==n?a.setState({prizes:r.prize_data,notices:r.notices,rule:r.rule}):c.a.info(s,2,null,!1)})},a.showRules=function(){Object(y.h)({title:"\u7ec4\u961f\u5f00\u5b9d\u7bb1\u6d3b\u52a8\u89c4\u5219",className:"landing-treasure-rules",content:h.a.createElement("div",{dangerouslySetInnerHTML:{__html:a.state.rule}}),closeIcon:a.closeIcon})},a.showMore=function(){a.setState(function(e){if(a.state.unfoldList)a.bg.style=a.innerBox.style=a.prizeBox.style="";else{var t=parseFloat(getComputedStyle(a.prizeBox,":before").getPropertyValue("height")),n=parseFloat(getComputedStyle(a.prizeBox,":after").getPropertyValue("height")),r=a.prizeList.scrollHeight,s=t+r-.12458*t-.595*n+n;a.prizeBox.style.height="".concat(s+27,"px"),a.innerBox.style.height="".concat(r,"px"),a.bg.style.height="".concat(r-n+.12458*t+27,"px")}return{unfoldList:!e.unfoldList}})},a}return Object(p.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.getPrizes()}},{key:"render",value:function(){var e=this,t=this.props.showSystemNotices,a=this.state.notices;return h.a.createElement(h.a.Fragment,null,t&&a&&a.length?h.a.createElement(U,{bullets:a}):null,h.a.createElement("div",{className:"prizes-box",ref:function(t){return e.prizeBox=t}},h.a.createElement("a",{href:"javascript:;",className:"rule-btn",onClick:this.showRules},"\u6d3b\u52a8\u89c4\u5219 > "),h.a.createElement("div",{className:"bg",ref:function(t){return e.bg=t}}),h.a.createElement("div",{className:"inner-box",ref:function(t){return e.innerBox=t}},h.a.createElement("ul",{className:"prize-list",ref:function(t){return e.prizeList=t}},this.state.prizes.map(function(e,t){return h.a.createElement("li",{key:t},e.img_name?h.a.createElement("i",{className:"prize-list__image",style:{backgroundImage:"url(".concat(e.img_name,")")}}):h.a.createElement("i",{className:"prize-list__image"}),0!=e.is_captain&&h.a.createElement("span",{className:"captain top-tag"},"\u961f\u957f\u4e13\u5c5e"),2===e.mode&&h.a.createElement("span",{className:"stage top-tag"},"\u7b2c",e.stage_no,"\u4e2a\u5fc5\u4e2d"),e.grant_max?h.a.createElement("div",{className:"bottom-bar"},h.a.createElement("div",{className:"progress-bar"},h.a.createElement("span",{className:"progress",style:{width:"".concat(e.surplus/e.grant_max*100,"%")}})),h.a.createElement("span",null,"\u9650\u91cf",e.grant_max,"\u4efd")):h.a.createElement("span",{className:"no-limit"},"\u4e0d\u9650\u91cf"))}),h.a.createElement("li",null,h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/prize-placeholder.png",alt:""})))),h.a.createElement("div",{className:"show-more",onClick:this.showMore},this.state.unfoldList?h.a.createElement("div",null,"\u6536\u8d77",h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/fold-icon.png",alt:""})):h.a.createElement("div",null,"\u67e5\u770b\u5168\u90e8\u5956\u54c1",h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/unfold-icon.png",alt:""})))))}}]),t}(d.Component),T=a(109),D=a(141),R=(a(210),a(1094),function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return(a=Object(u.a)(this,(e=Object(m.a)(t)).call.apply(e,[this].concat(r)))).state={bulletScreenData:[]},a.initializeBulletScreen=function(){var e=Object(w.a)(Object(w.a)(a)),t=Object(T.a)(Array(19).keys()),n=!1;a.swiper=new D.a(".swiper-container",{direction:"vertical",allowTouchMove:!1,autoplay:!0,on:{transitionEnd:function(){var a=this;this.slides.length>20&&(this.removeSlide(0),this.autoplay.start()),this.activeIndex!==this.slides.length-1||n||(this.autoplay.stop(),e.getBulletScreenData().then(function(r){n=!0,a.removeSlide(t),a.appendSlide(e.getSlides(r)),setTimeout(function(){a.autoplay.start(),n=!1})}))}}})},a.getSlides=function(e){return e.map(function(e){return'\n <li class="swiper-slide">\n <img class="avatar" src="'.concat(e.avatar_file,'" alt="">\n <span>').concat(e.user_name," ").concat(e.msg,"</span>\n </li>\n ")})},a.getBulletScreenData=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return g.e.get("".concat(API.home,"/sys/barrage_data")).then(function(t){var n=t.data,r=n.data;if(200==n.code){if(!e)return r;a.setState({bulletScreenData:r},function(){a.initializeBulletScreen()})}})},a}return Object(p.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){this.getBulletScreenData(!0)}},{key:"componentWillUnmount",value:function(){this.swiper&&this.swiper.destroy()}},{key:"render",value:function(){var e=this.state.bulletScreenData;return h.a.createElement("div",{id:"user-bullet-screen",className:"swiper-container"},h.a.createElement("ul",{className:"swiper-wrapper"},e.length&&e.map(function(e,t){return h.a.createElement("li",{className:"swiper-slide",key:t},h.a.createElement("img",{src:e.avatar_file,alt:"",className:"avatar"}),h.a.createElement("span",null,e.user_name," ",e.msg))})))}}]),t}(d.Component)),B=function(e){function t(e){return Object(i.a)(this,t),Object(u.a)(this,Object(m.a)(t).call(this,e))}return Object(p.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){return h.a.createElement(v,{id:"year-treasure",title:"\u7ec4\u961f\u5f00\u5b9d\u7bb1"},h.a.createElement("div",{style:{textAlign:"center",fontSize:"12px",color:"#FFDC1E",marginTop:"10px"}},"\u9080\u8bf7\u597d\u53cb\u7ec4\u961f\u4e00\u8d77\u5f00\u5b9d\u7bb1\uff0c\u6ee15\u4eba\u540e\u5c06\u968f\u673a\u83b7\u5f97\u4ee5\u4e0b\u5956\u54c1~"),h.a.createElement(z,{showSystemNotices:!0}),h.a.createElement(R,null),h.a.createElement(A,{isAppUpdate:this.props.isAppUpdate,getRemovable:this.props.getRemovable}),h.a.createElement(C,{history:this.props.history}))}}]),t}(d.Component),F=Object(f.g)(B),q=a(17),Q=a.n(q),H=(a(1095),d.Component,a(25)),W=a(419);a.d(t,"default",function(){return V});var V=Object(_.b)(function(e){return{user:e.user}},{setCurrentUser:H.g,startFetchUser:H.h})(s=function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return(a=Object(u.a)(this,(e=Object(m.a)(t)).call.apply(e,[this].concat(r)))).state={removable:0,currentOpenId:0,treasure_stage:0,activity_stage:0,userInfoList:[],userInfo:{},isAppUpdate:!1,showMark:!1,banner:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/treasure-active/m/box_banner.png"},a.loginInfo=function(e){a.setState({userInfoList:e},function(){a.state.userInfoList.length&&(a.props.startFetchUser(),a.appLogin())})},a.appLogin=function(){var e=Object(W.a)(new Date,90);a.state.userInfoList.map(function(t,a){M.a.set("token",t.token,{expires:e,path:"/",domain:".julyedu.com"}),M.a.set("plat",t.plat,{expires:e,path:"/",domain:".julyedu.com"}),M.a.set("uid",t.uid,{expires:e,path:"/",domain:".julyedu.com"}),M.a.set("uname",t.uname,{expires:e,path:"/",domain:".julyedu.com"}),M.a.set("avatar_file",t.avatar_file,{expires:e,path:"/",domain:".julyedu.com"})}),M.a.get("token")&&M.a.get("uid")&&a.setState({isAppUpdate:!0}),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.closePopup=function(){a.setState({showMark:!1})},a.getRemovable=function(e,t){},a.getStage=function(){g.e.get("".concat(API.home,"/activity/stage")).then(function(e){var t=e.data,n=t.code,r=t.data,s=t.msg;if(200===n){if(0===Number(r.treasure_stage))return void a.props.history.push("/");a.setState({activity_stage:r.activity_stage,treasure_stage:r.treasure_stage}),r.activity_stage,a.setState({banner:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/treasure-active/m/box_banner.png"})}else c.a.info(s,2)})},a}return Object(p.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){var e=this;window.loginInfo=function(t){e.loginInfo(t)},e.getStage(),document.title="\u7cbd\u5b50\u8282\uff0c\u5f00\u5b9d\u7bb1\u514d\u8d39\u5b66AI\u8bfe\u7a0b\uff0c\u73b0\u91d1\u7ea2\u5305\uff0c\u4eac\u4e1c\u8d2d\u7269\u5361\u9001\u4e0d\u505c\uff01-\u4e03\u6708\u5728\u7ebf"}},{key:"render",value:function(){var e=this.state,t=e.banner,a=e.activity_stage,n=e.treasure_stage;return h.a.createElement("div",{className:"year-index"},h.a.createElement("div",{className:"banner-treasure"},h.a.createElement("img",{src:t,alt:""})),1===n&&h.a.createElement(F,{isAppUpdate:this.state.isAppUpdate,getRemovable:this.getRemovable}),h.a.createElement(I,{stage:a,treasureStage:n,isAppUpdate:this.state.isAppUpdate}),this.state.showMark&&h.a.createElement(b,{top:50,closePopup:this.closePopup,mark:!0},h.a.createElement("div",{className:"sub__code_container"},h.a.createElement("p",{className:"sub__title"},"\u63d0\u9192\u670d\u52a1"),h.a.createElement("p",{className:"sub__tip"},"\u6709\u597d\u53cb\u52a0\u5165\u961f\u4f0d\u540e\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~"),h.a.createElement("img",{className:"sub__qr_code",id:"live-qr-code",src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg",alt:""}),h.a.createElement("p",{className:"sub__tip"},"\u957f\u6309\u8bc6\u522b/\u626b\u7801 \u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6"))),this.state.showMark&&h.a.createElement(b,{top:50,closePopup:this.closePopup,mark:!0},h.a.createElement("div",{className:"sub__code_container"},h.a.createElement("p",{className:"sub__title"},"\u7ec4\u961f\u5f00\u5b9d\u7bb1\u6d3b\u52a8\u89c4\u5219"),h.a.createElement("p",{className:"sub__rule"},"1. \u6d3b\u52a8\u671f\u95f4\uff083\u670826\u65e5-3\u670831\u65e5\uff09\u53ef\u968f\u65f6\u53c2\u4e0e\u5f00\u5b9d\u7bb1\uff1b",h.a.createElement("br",null),"2. \u5f53\u524d\u961f\u4f0d\u6ee1\u5458\u540e\u53ef\u7ee7\u7eed\u521b\u5efa\u65b0\u961f\u4f0d\uff1b",h.a.createElement("br",null),"3. \u6bcf\u4eba\u6709\u4e00\u6b21\u673a\u4f1a\u52a0\u5165\u597d\u53cb\u7684\u961f\u4f0d\uff1b",h.a.createElement("br",null),"4. \u961f\u4f0d\u6ee1\u5458\u540e\u6240\u6709\u6210\u5458\u5747\u53ef\u968f\u673a\u83b7\u5f97\u5b9d\u7bb1\u5185\u5956\u54c1\uff0c\u961f\u957f\u5956\u52b1\u66f4\u4e30\u539a\u54e6~",h.a.createElement("br",null),"5. \u4ee3\u91d1\u5238\u3001\u8bfe\u7a0b\u7b49\u865a\u62df\u5956\u54c1\u5c06\u76f4\u63a5\u53d1\u653e\u81f3\u8d26\u6237\uff0c\u5b9e\u7269\u5956\u54c1\u6d3b\u52a8\u7ed3\u675f\u540e\u7edf\u4e00\u90ae\u5bc4\uff1b",h.a.createElement("br",null),"6. \u73b0\u91d1\u53ef\u63d0\u73b0\uff1a\u6211\u7684 \u2192 \u8d5a\u5956\u5b66\u91d1 \u2192 \u63d0\u73b0\u3002"))),h.a.createElement("div",{className:"btm-rule"},"* \u672c\u6d3b\u52a8\u89e3\u91ca\u6743\u5f52\u5317\u4eac\u4e03\u6708\u5728\u7ebf\u79d1\u6280\u6709\u9650\u516c\u53f8\u6240\u6709 *"))}}]),t}(d.Component))||s},483:function(e,t,a){"use strict";var n=a(3),r=a(5),s=a(4),o=a(6),c=a(7),i=a(0),l=a.n(i),u=(a(501),function(e){function t(e){var a;return Object(n.a)(this,t),(a=Object(s.a)(this,Object(o.a)(t).call(this,e))).startCountDown=function(e){if(e){var t=1e3*e,n=0,r=0,s=0;setInterval(function(){t-=1e3,n="".concat(parseInt(t/36e5)).padStart(2,0),r="".concat(parseInt((t-36e5*n)/6e4)).padStart(2,0),s="".concat(parseInt((t-36e5*n-6e4*r)/1e3)).padStart(2,0),a.setState({countdown:"".concat(n,"\u65f6").concat(r,"\u5206").concat(s,"\u79d2\u540e\u7ed3\u675f")})},1e3)}},a.state={countdown:""},a}return Object(c.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this.props.time;this.startCountDown(e)}},{key:"componentWillReceiveProps",value:function(e){var t=e.time;this.props.time!=t&&this.startCountDown(t)}},{key:"render",value:function(){var e=this.props,t=e.image,a=e.toCourse,n=e.id,r=this.state.countdown;return l.a.createElement("div",{className:"course-container"},l.a.createElement("div",{className:"course__cover"},r&&l.a.createElement("p",{className:"course__time"},r),l.a.createElement("img",{src:t,alt:"cover",onClick:function(){return a(n)}})),this.props.children)}}]),t}(i.Component));t.a=u},501:function(e,t,a){}}]);
//# sourceMappingURL=treasure-box-home.d7397e33.chunk.js.map //# sourceMappingURL=treasure-box-home.5830f2f2.chunk.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["components/activity/treasure-box/common/commonContainer/index.js","components/activity/treasure-box/common/commonPopup/index.js","components/activity/treasure-box/preheat/LiveRoom/index.js","components/activity/treasure-box/preheat/YearCourse/index.js","components/activity/treasure-box/treasure-box/rank.js","components/activity/treasure-box/treasure-box/team.js","components/activity/treasure-box/common/prizes/index.js","components/activity/treasure-box/common/user-bullet-screen/index.js","components/activity/treasure-box/treasure-box/index.js","components/activity/treasure-box/preheat/nav.js","components/activity/treasure-box/preheat/index.js","components/blessingPreheat/courseItem/index.js"],"names":["CommonContainer","props","Object","classCallCheck","this","possibleConstructorReturn","getPrototypeOf","call","id","react_default","a","createElement","className","title","React","Children","map","children","child","Fragment","Component","index","_this","computedStyle","top","concat","width","closePopup","mark","onClick","style","e","stopPropagation","src","alt","LiveRoom","connect","state","user","getLiveInfo","http","get","API","home","then","res","_res$data","data","code","msg","setState","list","toast_default","info","subscribe","_this$props$user","hasError","toLogin","_res$data2","errno","QRCode","toDataURL","url","err","showMark","subUrl","QRCodeUrl","tip","toLivingRoom","_this$props$user2","window","location","href","protocol","checkVideo","_this$props$user3","vCourseId","split","saveImage","version","getParam","replace","slice","parseInt","SendMessageToApp","history","push","nextProps","nextState","nextContext","isAppUpdate","_this2","_this$state","commonPopup_index","browser","isAndroidApp","commonContainer_CommonContainer","length","item","key","avatar","teacher","transcribe_url","withRouter","YearCourse","getLength","assertThisInitialized","sum","fetchBigCourse","bigcourse","assign","isMore","course","courseList","fetchFreeCourse","freecourse","_res$data3","course_info","filter","fetchGroupCourse","groupcourse","_res$data4","fetchAICourse","addshowMore","_res$data5","getList","_this2$state","basic","advanced","higher","expand","toQQque","toCourse","courseId","handleToMore","objectSpread","freeStudy","tofreeStudy","closePopupWish","isshowFollow","setTimeout","toJoinList","wish","getQRcodeUrl","uid","_res$data6","qrUrl","followBarcode","addWishList","isLogin","isFollow","_res$data7","is_follow","post","course_id","_res$data8","success","saveImage2","getTeamInfo","_res$data9","removable_data","removable","currentId","toBoxList","search","toYearWish","toInviteFriends","oid","params","arguments","undefined","number","price","course_title","desc","link","m","imgUrl","image_name","isCountDown","condition","val","formatTitleAndKey","formatCourseData","_this2$state2","toCart","_res$data10","toContinueBargain","image","bargainToOrder","_this2$props","_res$data11","bargain","_this$props","stage","treasureStage","TreasureRank","fetchRankInfo","JSON","stringify","rank","rankList","switchMoreRank","handleToVip","_this$state2","data-skip","data-num","user_name","num","prize_name","data-more","TeamInfo","prize_info","is_my_team","member","my_team","fillTeam","getRemovable","toYearTreasure","close","current","createTeam","sessionStorage","setItem","treasure_code","len","i","head_img","nobody","jsCookie","total","_this$state3","_this$state3$info","name","stage_no","Text","compose","SystemBulletScreen","Loadable","__webpack_require__","bind","Prizes","closeIcon","prizes","notices","rule","unfoldList","getPrizes","showRules","Popup","content","dangerouslySetInnerHTML","__html","showMore","prev","bg","innerBox","prizeBox","headHeight","parseFloat","getComputedStyle","getPropertyValue","footerHeight","h","prizeList","scrollHeight","scrollListHeight","height","showSystemNotices","bullets","ref","el","img_name","backgroundImage","is_captain","mode","grant_max","surplus","UserBulletScreen","bulletScreenData","initializeBulletScreen","indexArray","toConsumableArray","Array","slidesPerRequest","keys","removed","swiper","Swiper","direction","allowTouchMove","autoplay","on","transitionEnd","_this3","slides","removeSlide","start","activeIndex","stop","getBulletScreenData","appendSlide","getSlides","avatar_file","initializeSwiper","destroy","TreasureBox","textAlign","fontSize","color","marginTop","common_prizes","user_bullet_screen","treasure_box_team","treasure_box_treasure_box_rank","setCurrentUser","startFetchUser","currentOpenId","treasure_stage","activity_stage","userInfoList","userInfo","banner","loginInfo","result","appLogin","expires","addDays","Date","cookie","set","token","path","domain","plat","uname","transformUser","payload","username","isFetching","getStage","Number","document","treasure_box","treasure_box_preheat_YearCourse","CourseItem","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__","startCountDown","time","date","hours","minutes","seconds","setInterval","padStart","countdown","newTime","react__WEBPACK_IMPORTED_MODULE_5___default"],"mappings":"8bAGqBA,uBACnB,SAAAA,EAAYC,GAAQ,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAJ,GAAAE,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAF,GAAAO,KAAAH,KACZH,0EAEC,IACCO,EAAOJ,KAAKH,MAAZO,GACR,OACEC,EAAAC,EAAAC,cAAA,OAAKC,UAAU,mBAAmBJ,GAAIA,GACpCC,EAAAC,EAAAC,cAAA,OAAKC,UAAU,kBACfH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,qBAEPR,KAAKH,MAAMY,OACXJ,EAAAC,EAAAC,cAAA,OAAKC,UAAU,mBACXH,EAAAC,EAAAC,cAAA,UACAF,EAAAC,EAAAC,cAAA,SAAIP,KAAKH,MAAMY,OACfJ,EAAAC,EAAAC,cAAA,WAIRG,IAAMC,SAASC,IAAIZ,KAAKH,MAAMgB,SAAU,SAAUC,GAChD,OAAOT,EAAAC,EAAAC,cAAAF,EAAAC,EAAAS,SAAA,KAAGD,MAIhBT,EAAAC,EAAAC,cAAA,OAAKC,UAAU,6BAxBsBQ,cCAxBC,uBACnB,SAAAA,EAAYpB,GAAO,IAAAqB,EAAA,OAAApB,OAAAC,EAAA,EAAAD,CAAAE,KAAAiB,IACjBC,EAAApB,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAA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yV,eAAeS,oCAsBf,IAAArK,EACwB7L,KAAKH,MAA5B2L,EADDK,EACCL,MAAOxD,EADR6D,EACQ7D,SAAU5H,EADlByL,EACkBzL,GACjB6V,EAAcjW,KAAKiC,MAAnBgU,UACR,OACEE,EAAA7V,EAAAC,cAAA,OAAKC,UAAU,oBACb2V,EAAA7V,EAAAC,cAAA,OAAKC,UAAU,iBAEXyV,GACAE,EAAA7V,EAAAC,cAAA,KAAGC,UAAU,gBAAgByV,GAE/BE,EAAA7V,EAAAC,cAAA,OAAKsB,IAAK2J,EAAO1J,IAAI,QAAQL,QAAS,kBAAMuG,EAAS5H,OAEtDJ,KAAKH,MAAMgB,iBAnDKG,cAyDVqU","file":"mrstatic/js/treasure-box-home.5830f2f2.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport './index.scss'\n\nexport default class CommonContainer extends Component {\n constructor(props) {\n super(props)\n }\n render() {\n const { id } = this.props;\n return (\n <div className='common_container' id={id}>\n <div className='container_top'></div>\n <div className='container_content'>\n {\n this.props.title &&\n <div className='title_container'>\n <i></i>\n <p>{this.props.title}</p>\n <i></i>\n </div>\n }\n {\n React.Children.map(this.props.children, function (child) {\n return <>{child}</>;\n })\n }\n </div>\n <div className='container_bottom'></div>\n </div>\n )\n }\n}\n","import React, { Component } from 'react';\nimport './index.scss';\n\nexport default class index extends Component {\n constructor(props) {\n super(props);\n }\n computedStyle = () => {\n return {\n 'top': `${this.props.top}px`,\n 'width': `${this.props.width}px`\n }\n }\n\n // 控制点击空白处是否关闭弹窗 需要传递一个boolean属性 mark\n closePopup = () => {\n if(this.props.mark) {\n this.props.closePopup();\n }\n }\n\n render() {\n return (\n <div className='popup__container' onClick={this.closePopup}>\n <div className='content__container' style={this.computedStyle()} onClick={(e) => {e.stopPropagation()}}>\n <img className=\"close__btn\" onClick={this.props.closePopup} src='https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png' alt=\"\" />\n {\n React.Children.map(this.props.children, function (child) {\n return <>{child}</>;\n })\n }\n </div>\n </div>\n )\n }\n}\n","import React, { Component } from 'react';\nimport './index.scss';\nimport { Toast } from 'antd-mobile';\nimport {Link, withRouter} from \"react-router-dom\"\nimport { getParam, http, SendMessageToApp, browser } from \"@/utils\"\nimport CommonContainer from './../../common/commonContainer/index'\nimport CommonPopup from './../../common/commonPopup/index';\nimport { connect } from 'react-redux';\nimport { Popup } from \"@common/index\"\nimport QRCode from 'qrcode'\n@connect(state => ({\n user: state.user\n}))\nclass LiveRoom extends Component {\n constructor(props) {\n super(props);\n this.state = {\n list: [],\n showMark: false,\n subUrl: '',\n QRCodeUrl: '',\n }\n }\n\n componentDidMount() {\n this.getLiveInfo();\n }\n shouldComponentUpdate(nextProps, nextState, nextContext) {\n if (this.props.isAppUpdate !== nextProps.isAppUpdate) {\n this.getLiveInfo();\n return false\n }\n return true\n }\n getLiveInfo = () => {\n http.get(`${API.home}/activity/get_live_info`).then(res => {\n const { code, data, msg } = res.data;\n if (code === 200) {\n this.setState({\n list: data\n })\n } else {\n Toast.info(msg);\n }\n });\n }\n // 预约直播\n subscribe = (id) => {\n // 检查是否已登录\n const {hasError, data = {}} = this.props.user;\n if(hasError) {\n this.toLogin();\n }else{\n http.get(`${API['base-api']}/sys/createLiveQrcode/${id}`).then(res => {\n let { errno, data, msg } = res.data;\n if (errno === 200) {\n QRCode.toDataURL(data.url, (err, url) => {\n this.setState({\n showMark: true,\n subUrl: url,\n QRCodeUrl: data.url,\n })\n })\n } else {\n Toast.info(msg);\n }\n });\n }\n\n }\n // 已预约 给提示\n tip = () => {\n Toast.info('你已预约该直播');\n }\n // 去直播间\n toLivingRoom = (id) => {\n const {hasError, data = {}} = this.props.user;\n if(hasError) {\n this.toLogin();\n }else{\n window.location.href = `${window.location.protocol}//www.julyedu.com/live/m_room/${id}`\n }\n }\n // 查看回放\n checkVideo = (url) => {\n const {hasError, data = {}} = this.props.user;\n if(hasError) {\n this.toLogin();\n }else{\n const vCourseId = url.split('/')[0];\n window.location.href = `/play/video?id=${vCourseId}`\n }\n }\n // 关闭弹框\n closePopup = () => {\n this.setState({\n showMark: false,\n })\n // 关闭弹框的时候再次查询接口 查询预约状态\n this.getLiveInfo();\n }\n\n // APP内需要保存图片 是否还是这样做 需要确认\n saveImage = () => {\n let version = getParam('version')\n version = typeof version === 'string' ? version.replace('.', '').replace('.', '').slice(0, 3) : ''\n const {QRCodeUrl} = this.state\n if (version && parseInt(version) < 451) {\n Toast.info('当前不支持此功能,升级到最新版本app可以点击保存二维码!', 2, null, false)\n } else {\n SendMessageToApp('generateQRCode', QRCodeUrl)\n }\n }\n\n // 去登录\n toLogin = () => {\n if (!getParam('version')) {\n this.props.history.push('/passport/login')\n } else {\n SendMessageToApp(\"toLogin\")\n }\n }\n\n render() {\n const { list,showMark,subUrl } = this.state;\n return (\n <div className='live__container'>\n {\n showMark && (\n <CommonPopup top={50} closePopup={this.closePopup} mark={true}>\n <div className='sub__code_container'>\n <p className='sub__title'>扫码关注“七月在线”服务号即可预约</p>\n <img className='sub__qr_code' id={'live-qr-code'} src={subUrl} alt=\"\"/>\n {\n browser.isAndroidApp ? (\n <button className={'save-image'} onClick={this.saveImage}>保存二维码</button>\n ) : null\n }\n </div>\n </CommonPopup>\n )\n }\n\n <CommonContainer title='“薪”年好课免费学' id=\"year-live\">\n <ul className='live__list'>\n {\n list.length && (\n list.map((item, index) => {\n return <li key={index} className='live_room_item'>\n <img className='user__avatar' src={item.avatar} alt=\"\" />\n <div className='live__info'>\n <div className=\"theme\">\n <span>主题:</span>\n <p>{item.title}</p>\n </div>\n {/*<div className=\"info__item\">*/}\n {/*<span>时间:</span>*/}\n {/*<p>{item.date}</p>*/}\n {/*</div>*/}\n <div className=\"info__item\">\n <span>讲师:</span>\n <p>{item.teacher}</p>\n </div>\n {/*{*/}\n {/*item.on_live == 0 && item.is_end == 0 && item.is_subscribe == 0 && (*/}\n {/*<span onClick={ ()=>this.subscribe(item.live_id)} className=\"order__btn\">立即预约</span>*/}\n {/*)*/}\n {/*}*/}\n\n {/*{*/}\n {/*item.is_end == 1 && item.transcribe_url=='' && (*/}\n {/*<span className=\"order__btn live__end\">已结束</span>*/}\n {/*)*/}\n {/*}*/}\n\n {/*{*/}\n {/*item.on_live == 0 && item.is_end == 0 && item.is_subscribe == 1 && (*/}\n {/*<span onClick={this.tip} className=\"order__btn subscribed\">已预约</span>*/}\n {/*)*/}\n {/*}*/}\n {/*{*/}\n {/*item.on_live == 1 && item.is_end == 0 && (*/}\n {/*<span onClick={()=>this.toLivingRoom(item.room_url)} className=\"order__btn living\">正在直播</span>*/}\n {/*)*/}\n {/*}*/}\n {\n item.transcribe_url != '' && (\n <span onClick={() => this.checkVideo(item.transcribe_url)} className=\"order__btn check__video\">点击查看</span>\n )\n }\n\n </div>\n </li>\n })\n )\n }\n </ul>\n </CommonContainer>\n </div>\n )\n }\n}\nexport default withRouter(LiveRoom)\n","import React, { Component } from 'react'\nimport './index.scss'\nimport { http, SendMessageToApp, getParam, browser } from '@/utils'\nimport CommonContainer from './../../common/commonContainer/index'\nimport CourseItem from '../../../../blessingPreheat/courseItem/index'\nimport { withRouter } from \"react-router-dom\"\nimport CommonPopup from './../../common/commonPopup/index'\nimport { Toast } from 'antd-mobile'\nimport QRCode from 'qrcode'\nimport { connect } from \"react-redux\"\nimport dateFns from 'date-fns';\n\n@connect(state => ({\n user: state.user\n}))\n\nclass YearCourse extends Component {\n constructor(props) {\n super(props)\n this.state = {\n tofreeStudy: false,\n basic: {\n course: [],\n courseList: [],\n isMore: false,\n addshowMore: false,\n },\n advanced: {\n course: [],\n courseList: [],\n isMore: false,\n addshowMore: false,\n },\n higher: {\n course: [],\n courseList: [],\n isMore: false,\n addshowMore: false,\n },\n expand: {\n course: [],\n courseList: [],\n isMore: false,\n addshowMore: false,\n },\n bigcourse: {\n course: [],\n courseList: [],\n isMore: false,\n },\n freecourse: {\n course: [],\n courseList: [],\n isMore: false,\n },\n groupcourse: {\n course: [],\n courseList: [],\n isMore: false,\n },\n isshowFollow: false, // 是否提示关注公众号\n wish: {\n id: '',\n key: \"\"\n },\n followBarcode: '',\n qrUrl: '',\n sum: '',\n removable: '',\n currentId: '',\n }\n }\n\n componentDidMount() {\n this.getTeamInfo()\n this.getLength()\n this.fetchBigCourse()\n // this.fetchFreeCourse()\n this.fetchGroupCourse()\n // AI之路-基础\n this.fetchAICourse('one', false)\n // AI之路-进阶\n this.fetchAICourse('two', false)\n // AI之路-高阶\n this.fetchAICourse('three', false)\n // AI之路-拓展\n this.fetchAICourse('four', false)\n }\n\n shouldComponentUpdate(nextProps, nextState, nextContext) {\n if (this.props.isAppUpdate !== nextProps.isAppUpdate) {\n this.getTeamInfo()\n this.getLength()\n this.fetchBigCourse()\n // this.fetchFreeCourse()\n this.fetchGroupCourse()\n // AI之路-基础\n this.fetchAICourse('one')\n // AI之路-进阶\n this.fetchAICourse('two')\n // AI之路-高阶\n this.fetchAICourse('three')\n // AI之路-拓展\n this.fetchAICourse('four')\n return false\n }\n return true\n }\n\n getLength = () => {\n let _this = this\n http.get(`${API.home}/activity/wish_sum`).then(res => {\n const { code, data } = res.data\n if (code == 200) {\n _this.setState({\n sum: data.sum\n })\n }\n })\n }\n\n fetchBigCourse = () => {\n const { bigcourse } = this.state\n http.get(`${API.home}/activity/preheat_data`).then(res => {\n const { code, data } = res.data\n if (code === 200) {\n this.setState({\n bigcourse: Object.assign({}, bigcourse, {\n isMore: false,\n course: data,\n courseList: data,\n })\n })\n }\n })\n }\n fetchFreeCourse = () => {\n const { freecourse } = this.state\n http.get(`${API['base-api']}/assistance/detail`).then(res => {\n const { errno, data } = res.data\n if (errno === 200) {\n this.setState({\n freecourse: Object.assign({}, freecourse, {\n isMore: data.course_info.length > 4 ? true : false,\n course: data.course_info.length > 4 ? data.course_info.filter((item, index) => index < 4) : data.course_info,\n courseList: data.course_info,\n })\n })\n }\n })\n }\n\n fetchGroupCourse = () => {\n const { groupcourse } = this.state\n http.get(`${API.home}/activity/excellent_course`).then(res => {\n const { code, data } = res.data\n if (code === 200) {\n this.setState({\n groupcourse: Object.assign({}, groupcourse, {\n isMore: data.length > 4 ? true : false,\n course: data.length > 4 ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n })\n })\n }\n })\n }\n\n fetchAICourse = (key, addshowMore) => {\n http.get(`${API.home}/activity/four_stage/${key}`).then(res => {\n const { code, data } = res.data\n if (code === 200) {\n this.getList(key, data, addshowMore)\n }\n })\n }\n\n getList = (key, data, addshowMore) => {\n const { basic, advanced, higher, expand } = this.state\n if (key === 'one') {\n this.setState({\n basic: Object.assign({}, basic, {\n isMore: data.length > 4 && !addshowMore ? true : false,\n course: data.length > 4 && !addshowMore ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n addshowMore: addshowMore,\n })\n })\n }\n if (key === 'two') {\n this.setState({\n advanced: Object.assign({}, advanced, {\n isMore: data.length > 4 && !addshowMore ? true : false,\n course: data.length > 4 && !addshowMore ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n addshowMore: addshowMore,\n })\n })\n }\n if (key === 'three') {\n this.setState({\n higher: Object.assign({}, higher, {\n isMore: data.length > 4 && !addshowMore ? true : false,\n course: data.length > 4 && !addshowMore ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n addshowMore: addshowMore,\n })\n })\n }\n if (key === 'four') {\n this.setState({\n expand: Object.assign({}, expand, {\n isMore: data.length > 4 && !addshowMore ? true : false,\n course: data.length > 4 && !addshowMore ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n addshowMore: addshowMore,\n })\n })\n }\n }\n\n toQQque = () => {\n if (!getParam('version')) {\n location.href = 'http://q.url.cn/s/Vbkup6m?_type=wpa'\n } else {\n SendMessageToApp(\"toQQ\", 'https://q.url.cn/AB8aue?_type=wpa&qidian=true')\n }\n }\n\n // 去课程详情页\n toCourse = (courseId) => {\n const { history } = this.props\n if (!getParam('version')) {\n history.push(`/detail?id=${courseId}`)\n } else {\n SendMessageToApp(\"toCourse\", courseId)\n }\n }\n\n handleToMore = (key) => {\n let data = {}\n if (this.state[key]['isMore']) {\n data[key] = {\n isMore: !this.state[key]['isMore'],\n course: this.state[key]['courseList'],\n courseList: this.state[key]['courseList'],\n addshowMore: !this.state[key]['addshowMore']\n }\n this.setState({\n ...data\n })\n } else {\n data[key] = {\n isMore: !this.state[key]['isMore'],\n course: this.state[key]['courseList'].filter((item, index) => index < 4),\n courseList: this.state[key]['courseList'],\n addshowMore: !this.state[key]['addshowMore']\n }\n\n this.setState({\n ...data\n })\n }\n }\n\n // 去登录\n toLogin = () => {\n if (!getParam('version')) {\n this.props.history.push('/passport/login')\n } else {\n SendMessageToApp(\"toLogin\")\n }\n }\n\n // 免费学习\n freeStudy = () => {\n this.setState({\n tofreeStudy: true,\n })\n }\n\n // 关闭弹框\n closePopup = () => {\n this.setState({\n tofreeStudy: false,\n })\n }\n\n closePopupWish = () => {\n const _this = this\n _this.setState({\n isshowFollow: false\n })\n\n setTimeout(function () {\n _this.toJoinList(_this.state.wish.id, _this.state.wish.key)\n }, 200)\n }\n\n getQRcodeUrl = () => {\n let _this = this\n http.get(`${API['base-api']}/wx/user_temporary_qrcode/${_this.props.user.data.uid}`)\n .then(res => {\n const { errno, data, msg } = res.data\n if (errno == 0) {\n this.setState({\n qrUrl: data.url\n })\n QRCode.toDataURL(data.url, (err, url) => {\n this.setState({\n followBarcode: url,\n })\n })\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n\n // 点击加入心愿单登录验证,在判断是否关注公众号,已关注的话直接加入,未关注弹出二维码弹窗,点击关闭按钮加入心愿单\n addWishList = (id, key) => {\n const _this = this\n const isLogin = !this.props.user.hasError\n _this.setState({\n wish: {\n id: id,\n key: key\n }\n })\n\n if (isLogin) {\n _this.isFollow(id, key)\n } else {\n _this.toLogin()\n }\n }\n\n isFollow = (id, key) => {\n const _this = this\n http.get(`${API.home}/sys/user/isFollowWeChat`).then(res => {\n const { code, data, msg } = res.data\n if (code === 200) {\n _this.setState({\n isshowFollow: !data.is_follow\n })\n\n if (!_this.state.isshowFollow) {\n _this.toJoinList(id, key)\n } else {\n _this.getQRcodeUrl()\n }\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n\n toJoinList = (id, key) => {\n const _this = this\n http.post(`${API.home}/activity/join_list`, { course_id: id })\n .then(res => {\n const { code, msg } = res.data\n if (code == 200) {\n Toast.success('已成功加入心愿单', 3)\n _this.getLength()\n if (key === '1') {\n _this.fetchAICourse('one', _this.state.basic.addshowMore)\n }\n if (key === '2') {\n _this.fetchAICourse('two', _this.state.advanced.addshowMore)\n }\n if (key === '3') {\n _this.fetchAICourse('three', _this.state.higher.addshowMore)\n }\n if (key === '4') {\n _this.fetchAICourse('four', _this.state.expand.addshowMore)\n }\n if (key === 'group') {\n _this.fetchGroupCourse()\n }\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n\n // 安卓手机保存二维码\n saveImage = () => {\n let version = getParam('version')\n version = typeof version === 'string' ? version.replace('.', '').replace('.', '').slice(0, 3) : ''\n const QRCodeUrl = this.state.qrUrl\n if (version && parseInt(version) < 451) {\n Toast.info('当前不支持此功能,升级到最新版本app可以点击保存二维码!', 3, null, false)\n } else {\n SendMessageToApp('generateQRCode', QRCodeUrl)\n }\n }\n\n saveImage2 = () => {\n let version = getParam('version')\n version = typeof version === 'string' ? version.replace('.', '').replace('.', '').slice(0, 3) : ''\n const QRCodeUrl = 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg'\n if (version && parseInt(version) < 451) {\n Toast.info('当前不支持此功能,升级到最新版本app可以点击保存二维码!', 3, null, false)\n } else {\n SendMessageToApp('saveImage', QRCodeUrl)\n }\n }\n\n // 获取队伍信息\n getTeamInfo = () => {\n http.get(`${API.home}/sys/treasure/teamInfo`).then(res => {\n const { code, data, msg } = res.data\n if (code === 200) {\n const { info, removable_data } = data\n this.setState({\n removable: info.removable,\n currentId: info.removable > 0 ? removable_data[0].id : null\n })\n } else {\n Toast.info(msg)\n }\n })\n }\n\n // 跳转到我的宝箱列表页\n toBoxList = () => {\n const isLogin = !this.props.user.hasError\n const { currentId } = this.state\n let search = ''\n if (currentId) {\n search = `?id=${currentId}`\n }\n if (isLogin) {\n if (!getParam('version')) {\n this.props.history.push(`/box/yearTreasure${search}`)\n } else {\n this.props.history.push(`/box/yearTreasure${search}?version=${getParam('version')}`)\n }\n } else {\n this.toLogin()\n }\n }\n\n toYearWish = () => {\n const isLogin = !this.props.user.hasError\n if (isLogin) {\n if (!getParam('version')) {\n this.props.history.push('/year/yearWish')\n } else {\n this.props.history.push(`/year/yearWish?version=${getParam('version')}`)\n }\n\n } else {\n this.toLogin()\n }\n\n }\n\n toInviteFriends = (oid, params = {}) => {\n const { history } = this.props\n if (getParam('version')) {\n let data = {\n title: `【仅剩${params.number}个名额】我${params.price}元拼了《${params.course_title}》`,\n desc: params.course_title,\n link: `${API.m}/togroup?id=${oid}&is_originator=1`,\n imgUrl: params.image_name,\n }\n SendMessageToApp(\"toShare\", data)\n } else {\n history.push(`/togroup?id=${oid}`);\n }\n }\n\n isCountDown = (condition, val) => {\n if (condition) {\n return val;\n }\n return '';\n }\n\n formatTitleAndKey = (key) => {\n let data = null;\n switch (key) {\n case 1:\n data = {\n title: '基础',\n key: 'basic'\n };\n break;\n case 2:\n data = {\n title: '进阶',\n key: 'advanced'\n };\n break;\n case 3:\n data = {\n title: '高阶',\n key: 'higher'\n };\n break;\n case 4:\n data = {\n title: '扩展',\n key: 'expand'\n };\n break;\n default:\n data = null;\n break;\n }\n return data;\n }\n\n formatCourseData = (key) => {\n const { basic, advanced, higher, expand } = this.state;\n let data = null;\n switch (key) {\n case 1:\n data = basic;\n break;\n case 2:\n data = advanced;\n break;\n case 3:\n data = higher;\n break;\n case 4:\n data = expand;\n break;\n default:\n data = null;\n break;\n }\n return data;\n }\n\n toCart = (id) => {\n const { history } = this.props;\n http.post(`${API.home}/m/cart/add`, {\n course_id: id\n }).then((res) => {\n const { code, msg } = res.data;\n // code 15001 已加入购物车\n if (code === 200 || code === 15001) {\n if(getParam('version')) {\n SendMessageToApp('toShoppingCart')\n }else {\n history.push('/shopcart');\n }\n } else if (code === 4030 || code === 4040) {\n this.toLogin();\n } else {\n Toast.info(msg, 2);\n }\n })\n };\n\n toContinueBargain = (id, price, code, image) => {\n const { history } = this.props;\n if(getParam('version')) {\n let data = {\n title: '我发现一门好课,快来帮我砍价吧!',\n desc: `我已经砍了${price}元,看看你能砍多少`,\n link: `${API.m}/bargain-middle-page?id=${id}&bargaincode=${code}&is_originator=1`,\n imgUrl: image,\n }\n SendMessageToApp(\"toShare\", data)\n }else {\n history.push(`/bargain-middle-page?id=${id}&bargaincode=${code}&is_originator=1`);\n }\n }\n\n // 砍完价去支付\n bargainToOrder = (id) => {\n const { history, user } = this.props;\n if(user.hasError) {\n this.toLogin();\n }else{\n if(getParam('version')) {\n SendMessageToApp('toPay', id)\n }else {\n http.get(`${API['base-api']}/m/cart/addtopreorder/[${id}]`).then((res) => {\n const { errno, msg } = res.data;\n if (errno === 0) {\n history.push(`/order?id=[${id}]`, {bargain: 1});\n } else {\n Toast.info(msg, 2);\n }\n })\n }\n }\n }\n\n render() {\n const {\n bigcourse,\n freecourse,\n groupcourse,\n basic,\n advanced,\n higher,\n expand,\n removable,\n sum,\n } = this.state\n const { stage,treasureStage } = this.props\n return (\n <div className={'year-index-course'}>\n\n {\n removable > 0 && (\n <div className='nav-right-wish nav-right'>\n <span onClick={this.toBoxList} className='nav-right__link'>未开宝箱\n <i className=\"nav-right__number\">{removable}</i>\n </span>\n </div>\n )\n }\n </div>\n )\n }\n}\n\nexport default withRouter(YearCourse)\n","import React, { Component } from 'react';\nimport { http, getParam, SendMessageToApp } from '@/utils';\nimport './rank.scss'\n\nclass TreasureRank extends Component {\n\n constructor(props) {\n super(props);\n this.state = {\n rank: [],\n rankList: [],\n isMore: false,\n }\n }\n\n componentDidMount() {\n this.fetchRankInfo();\n }\n\n fetchRankInfo = () => {\n http.get(`${API.home}/sys/treasure/ranking`).then(res => {\n const { code, data } = res.data;\n if(code === 200) {\n if(JSON.stringify(data) !== '{}') {\n if(data.length > 5) {\n this.setState({\n rank: data.filter((item, index) => index < 5),\n rankList: data,\n isMore: true,\n });\n }else {\n this.setState({\n rank: data,\n rankList: data,\n isMore: false,\n });\n }\n }\n }\n });\n }\n\n switchMoreRank = () => {\n const { rankList, isMore } = this.state;\n if(isMore) {\n this.setState({\n rank: rankList,\n isMore: false,\n })\n }else {\n this.setState({\n rank: rankList.filter((item, index) => index < 5),\n isMore: true,\n })\n }\n }\n\n handleToVip = (id) => {\n const { history } = this.props;\n if(id) {\n if(getParam('version')) {\n SendMessageToApp('toCourse', id);\n }else {\n history.push(`/detail?id=${id}`);\n }\n }\n }\n\n render() {\n const { rank, isMore } = this.state;\n return (\n <>\n {\n rank.length !== 0 &&\n <div data-skip=\"rank\">\n <div className=\"rank-title\">\n <i className=\"rank-title__decorate\"></i>\n <h2 className=\"rank-title__txt\">宝箱达人榜</h2>\n <i className=\"rank-title__decorate\"></i>\n </div>\n <p className=\"rank-desc\">宝箱数量前50名可额外获得一份奖品,数量相同的用时短者排名在前</p>\n <dl className=\"rank-header\">\n <dd className=\"rank-column\">排名</dd>\n <dd className=\"rank-column\">用户</dd>\n <dd className=\"rank-column\">宝箱数量</dd>\n <dd className=\"rank-column\">奖品</dd>\n </dl>\n <div className=\"rank-body\">\n {\n rank.map((item, index) => (\n <dl className=\"rank-item\" key={index}>\n <dd className=\"rank-column\">\n {\n index <= 2\n ? <span className=\"rank-column__number\" data-num={index}></span>\n : <span>{index+1}</span>\n }\n </dd>\n <dd className=\"rank-column\">\n <span className=\"rank-column__name\">{item.user_name}</span>\n </dd>\n <dd className=\"rank-column\">\n <span>{item.num}</span>\n </dd>\n <dd className=\"rank-column\">\n {\n item.url\n ? <a className=\"rank-column__txt\" onClick={() => this.handleToVip(item.url)}>{item.prize_name}</a>\n : <span className=\"rank-column__txt\">{item.prize_name}</span>\n }\n </dd>\n </dl>\n ))\n }\n <div className=\"rank-more\" onClick={this.switchMoreRank}>\n <span className=\"rank-more__txt\">{isMore? '展开' : '收起'}</span>\n <i className=\"rank-more__icon\" data-more={isMore}></i>\n </div>\n </div>\n </div>\n }\n </>\n )\n }\n}\n\nexport default TreasureRank;","import React, { Component } from 'react';\nimport './team.scss'\nimport { getParam, http, SendMessageToApp } from \"@/utils\"\nimport { Toast } from 'antd-mobile';\nimport {withRouter} from 'react-router-dom';\nimport {compose} from \"redux\"\nimport { connect } from \"react-redux\";\nimport jsCookie from 'js-cookie'\n\nclass TeamInfo extends Component {\n constructor(props) {\n super(props);\n this.state = {\n is_my_team: false, // 是否有自己的队伍\n prize_info: [],\n info: {\n removable: 0,\n total: 0\n },\n member: [],\n removable_data: [],\n my_team: {},\n }\n }\n\n componentDidMount() {\n this.getTeamInfo();\n }\n\n // 获取队伍信息\n getTeamInfo = () => {\n http.get(`${API.home}/sys/treasure/teamInfo`).then(res => {\n const { code, data, msg } = res.data;\n if (code === 200) {\n const { prize_info, is_my_team, info, member, removable_data, my_team } = data;\n this.setState({\n prize_info,\n is_my_team,\n info,\n member: this.fillTeam(member, is_my_team),\n removable_data,\n my_team\n })\n let currentId = null;\n if(info.removable > 0) {\n currentId = removable_data[0].id;\n }\n this.props.getRemovable(info.removable, currentId);\n } else {\n Toast.info(msg);\n }\n })\n }\n\n // 跳转到我的宝箱页\n toYearTreasure = (close) => {\n if(this.props.user.hasError) {\n this.toLogin();\n } else {\n let search = '';\n if(close) {\n const {removable_data, info: {removable}} = this.state;\n if(removable > 0) {\n let current = removable_data[0];\n search = `?id=${current.id}`;\n }\n }\n if (!getParam('version')) {\n this.props.history.push(`/box/yearTreasure${search}`);\n } else {\n this.props.history.push(`/box/yearTreasure${search}?version=${getParam('version')}`);\n }\n }\n\n }\n\n // 去登录\n toLogin = () => {\n if (!getParam('version')) {\n this.props.history.push('/passport/login')\n } else {\n SendMessageToApp(\"toLogin\")\n }\n }\n\n shouldComponentUpdate(nextProps, nextState, nextContext) {\n if (this.props.isAppUpdate !== nextProps.isAppUpdate) {\n this.getTeamInfo();\n return false\n }\n return true\n }\n\n // 邀请好友组队\n createTeam = () => {\n if(this.props.user.hasError) {\n this.toLogin();\n } else {\n sessionStorage.setItem('showShareTip', '1')\n const {is_my_team, my_team: {treasure_code}} = this.state;\n if(is_my_team) { // 有自己的队伍\n // 直接跳转\n\n if (!getParam('version')) {\n //todo 跳转\n // this.props.history.push('/box/landing?origin=1&treasure_code=' + treasure_code);\n window.location.assign('https://h5.julyedu.com/box/landing?origin=1&treasure_code=' + treasure_code);\n } else {\n window.location.assign('https://h5.julyedu.com/box/landing?origin=1&treasure_code=' + treasure_code + '&version='+ getParam('version'));\n }\n\n }else{ // 没自己的队伍\n // 请求创建队伍的接口\n http.get(`${API.home}/sys/treasure/createMyTeam`).then(res => {\n const { code, data, msg } = res.data;\n if (code === 200) {\n const { treasure_code } = data;\n if (!getParam('version')) {\n window.location.assign('https://h5.julyedu.com/box/landing?origin=1&treasure_code=' + treasure_code);\n } else {\n window.location.assign('https://h5.julyedu.com/box/landing?origin=1&treasure_code=' + treasure_code + '&version='+ getParam('version'));\n }\n } else {\n Toast.info(msg);\n }\n });\n }\n }\n }\n\n // 队伍成员信息必须满五个 不满的需要填充\n fillTeam = (list, is_my_team) => {\n let len = list.length;\n // 没有创建队伍 并且没有加入他人队伍\n if(this.props.user.hasError) {\n for(let i=0;i<5-len;i++) {\n list.push({\n head_img: '',\n user_name: '',\n nobody: true,\n })\n }\n } else {\n if(len === 0 && !is_my_team) {\n list.push({\n head_img: jsCookie.get('avatar_file'),\n user_name: jsCookie.get('user_name'),\n })\n for(let i=0;i<4;i++) {\n list.push({\n head_img: '',\n user_name: '',\n nobody: true,\n })\n }\n }else{\n for(let i=0;i<5-len;i++) {\n list.push({\n head_img: '',\n user_name: '',\n nobody: true,\n })\n }\n }\n }\n\n return list;\n }\n\n render() {\n const { prize_info, is_my_team, info: {removable, total}, member } = this.state;\n let name = '', stage_no = 0;\n if(prize_info.length > 0) {\n name = prize_info[0].name;\n stage_no = prize_info[0].stage_no;\n }\n // 显示文案控制\n let Text = '';\n if(total === 0) {\n Text = `我的宝箱`;\n } else if (removable === 0) {\n Text = `共${total}个宝箱`;\n } else {\n Text = `共${total}个宝箱/${removable}个未开`;\n }\n\n return (\n <div className='team_info__container'>\n <div className='team__member'>\n <ul className='member__list'>\n {\n member && member.length > 0 && (\n member.map((item, index) => {\n return <li key={index} className='member__item'>\n <div className='avatar__container'>\n {\n item.nobody ? (\n <img className='head__image' src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png\" alt=\"\"/>\n ) : (\n <img className='head__image' src={item.head_img} alt=\"\"/>\n )\n }\n {\n index === 0 ? (\n <img className='caption__flag' src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/caption.png\" alt=\"\"/>\n ) : (null)\n }\n <div className='shadow'></div>\n </div>\n <div className={`member__join ${item.nobody ? '' : 'join'}`}></div>\n </li>\n })\n )\n }\n </ul>\n\n <div className='box__number'>\n <img onClick={() => this.toYearTreasure(true)} src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png\" alt=\"\" />\n <p onClick={() => this.toYearTreasure(false)} className='box__text'>\n {Text}\n </p>\n <img className='position__arrow' src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/arrow_jinzhan.png\" alt=\"\"/>\n {\n removable > 0 && (\n <div className='position__number'>{removable}</div>\n )\n }\n </div>\n </div>\n <div onClick={this.createTeam} className='invite__btn'>\n {\n is_my_team ? ('继续组队') : ('组队开宝箱')\n }\n </div>\n {\n stage_no > 0 && name && <p className='stage_prize'>{`第${stage_no}个宝箱必中${name}`}</p>\n }\n </div>\n )\n }\n}\nexport default compose(\n connect(\n state => ({user: state.user}),\n null\n ),\n withRouter\n)(TeamInfo)\n","import React, { Component } from 'react'\nimport { http } from \"@/utils\"\nimport './prizes.scss'\nimport { Popup } from \"@common/index\"\nimport { Toast } from \"antd-mobile\"\n\n\nimport Loadable from '@loadable/component'\n\nconst SystemBulletScreen = Loadable(() => import(/* webpackChunkName: 'system-notices' */'@components/activity/newyear-2019/common/system-bullet-screen'))\n\nclass Prizes extends Component {\n\n prizeBox\n prizeList\n bg\n innerBox\n closeIcon = 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png'\n\n state = {\n prizes: [],\n notices: [],\n rule: [],\n unfoldList: false,\n }\n\n componentDidMount() {\n this.getPrizes()\n }\n\n getPrizes = () => {\n http.get(`${API.home}/sys/prize_data`)\n .then(res => {\n const {code, data, msg} = res.data\n if (code == 200) {\n\n this.setState({\n prizes: data['prize_data'],\n notices: data['notices'],\n rule: data['rule']\n })\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n\n showRules = () => {\n Popup({\n title: '组队开宝箱活动规则',\n className: 'landing-treasure-rules',\n content: <div dangerouslySetInnerHTML={{__html: this.state.rule}}/>,\n closeIcon: this.closeIcon\n })\n }\n\n\n showMore = () => {\n this.setState(prev => {\n if (this.state.unfoldList) {\n this.bg.style = this.innerBox.style = this.prizeBox.style = ''\n } else {\n let headHeight = parseFloat(getComputedStyle(this.prizeBox, ':before').getPropertyValue('height')),\n footerHeight = parseFloat(getComputedStyle(this.prizeBox, ':after').getPropertyValue('height')),\n innerOffsetTop = 0.12458,\n footerOffsetTop = 0.595,\n h = this.prizeList.scrollHeight,\n scrollListHeight = headHeight + h - (innerOffsetTop * headHeight) - (footerOffsetTop * footerHeight) + footerHeight,\n bottomOffset = 27\n\n this.prizeBox.style.height = `${scrollListHeight + bottomOffset}px`\n this.innerBox.style.height = `${h}px`\n this.bg.style.height = `${h - footerHeight + innerOffsetTop * headHeight + bottomOffset}px`\n }\n return {unfoldList: !prev.unfoldList}\n })\n\n }\n\n render() {\n const {\n showSystemNotices\n } = this.props\n const {notices} = this.state\n return (\n <>\n {(showSystemNotices && notices && notices.length) ? <SystemBulletScreen bullets={notices}/> : null}\n <div className={'prizes-box'} ref={el => this.prizeBox = el}>\n <a href=\"javascript:;\" className='rule-btn' onClick={this.showRules}>活动规则 > </a>\n <div className={`bg`} ref={el => this.bg = el}/>\n <div className={`inner-box`} ref={el => this.innerBox = el}>\n <ul className='prize-list' ref={el => this.prizeList = el}>\n {\n this.state.prizes.map((item, index) => {\n return (\n <li key={index}>\n {\n item.img_name\n ? <i className=\"prize-list__image\" style={{\n backgroundImage: `url(${item.img_name})`\n }}/>\n : <i className=\"prize-list__image\"/>\n }\n {/* <img src={item.img_name} alt=\"\"/> */}\n {\n item.is_captain != 0 && <span className='captain top-tag'>队长专属</span>\n }\n {\n item.mode === 2 && <span className='stage top-tag'>第{item.stage_no}个必中</span>\n }\n {\n item.grant_max\n ?\n <div className='bottom-bar'>\n <div className=\"progress-bar\"><span className={'progress'} style={{width: `${(item.surplus / item.grant_max) * 100}%`}}/></div>\n <span>限量{item.grant_max}份</span>\n </div>\n : <span className='no-limit'>不限量</span>\n }\n </li>\n )\n })\n }\n <li>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/prize-placeholder.png\" alt=\"\"/>\n </li>\n </ul>\n </div>\n <div className=\"show-more\" onClick={this.showMore}>\n {\n this.state.unfoldList\n ? <div>\n 收起\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/fold-icon.png\" alt=\"\"/>\n </div>\n : <div>\n 查看全部奖品\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/unfold-icon.png\" alt=\"\"/>\n </div>\n }\n </div>\n </div>\n </>\n )\n }\n}\n\nexport default Prizes\n","import React, { Component } from 'react'\nimport { http } from \"@/utils\"\nimport Swiper from 'swiper'\nimport 'swiper/dist/css/swiper.min.css'\nimport './bullet-screen.scss'\n\nclass UserBulletScreen extends Component {\n\n swiper\n\n state = {\n bulletScreenData: []\n }\n\n componentDidMount() {\n this.getBulletScreenData(true)\n }\n\n componentWillUnmount() {\n this.swiper && this.swiper.destroy()\n }\n\n\n initializeBulletScreen = () => {\n const _this = this\n const slidesPerRequest = 20\n const indexArray = [...Array(slidesPerRequest - 1).keys()]\n let removed = false\n this.swiper = new Swiper('.swiper-container', {\n direction: 'vertical',\n allowTouchMove: false,\n autoplay: true,\n on: {\n transitionEnd() {\n if (this.slides.length > slidesPerRequest) {\n this.removeSlide(0)\n this.autoplay.start()\n }\n if (this.activeIndex === this.slides.length - 1 && !removed) {\n this.autoplay.stop()\n _this.getBulletScreenData().then(res => {\n removed = true\n this.removeSlide(indexArray)\n this.appendSlide(_this.getSlides(res))\n setTimeout(() => {\n this.autoplay.start()\n removed = false\n })\n })\n }\n }\n }\n })\n }\n\n getSlides = list => list.map(item => {\n return `\n <li class=\"swiper-slide\">\n <img class=\"avatar\" src=\"${item.avatar_file}\" alt=\"\">\n <span>${item.user_name} ${item.msg}</span>\n </li>\n `\n })\n\n getBulletScreenData = (initializeSwiper = false) => {\n return http.get(`${API.home}/sys/barrage_data`)\n .then(res => {\n const {data, code} = res.data\n if (code == 200) {\n if (initializeSwiper) {\n this.setState({\n bulletScreenData: data\n }, () => {\n this.initializeBulletScreen()\n })\n } else {\n return data\n }\n }\n })\n }\n\n\n render() {\n const {bulletScreenData} = this.state\n return (\n <div id=\"user-bullet-screen\" className='swiper-container'>\n <ul className='swiper-wrapper'>\n {\n bulletScreenData.length && bulletScreenData.map((item, index) => {\n return (\n <li className='swiper-slide' key={index}>\n <img src={item['avatar_file']}\n alt=\"\" className=\"avatar\"/>\n <span>{item.user_name} {item.msg}</span>\n </li>\n )\n })\n }\n </ul>\n </div>\n )\n }\n}\n\nexport default UserBulletScreen\n","import React, { Component } from 'react';\nimport { withRouter } from 'react-router-dom';\nimport CommonContainer from './../common/commonContainer/index';\nimport TreasureRank from './rank';\nimport TeamInfo from './team'\nimport Prizes from \"@components/activity/treasure-box/common/prizes\"\nimport UserBulletScreen from \"@components/activity/treasure-box/common/user-bullet-screen\"\n\nclass TreasureBox extends Component {\n constructor(props) {\n super(props);\n }\n render() {\n return (\n <CommonContainer id=\"year-treasure\" title={'组队开宝箱'}>\n <div style={{\n textAlign: 'center', \n fontSize: '12px', \n color: '#FFDC1E', \n marginTop: '10px'\n }}>邀请好友组队一起开宝箱,满5人后将随机获得以下奖品~</div>\n <Prizes showSystemNotices={true}/>\n <UserBulletScreen/>\n <TeamInfo isAppUpdate={this.props.isAppUpdate} getRemovable={this.props.getRemovable} />\n <TreasureRank history={this.props.history} />\n </CommonContainer>\n )\n }\n}\n\nexport default withRouter(TreasureBox);\n","import React, { Component } from 'react';\nimport classnames from 'classnames';\nimport { http } from '@/utils';\nimport './nav.scss';\n\nclass TreasureNav extends Component {\n constructor(props) {\n super(props);\n this.state = {\n isFixed: false,\n curIndex: 0,\n formatNavs: [],\n navs: [\n {\n id: 'year-live',\n name: '好课免费学'\n },\n {\n id: 'year-treasure',\n name: '组队开宝箱'\n },\n {\n id: 'year-wuhan',\n name: '驰援武汉'\n },\n {\n id: 'year-course',\n name: '重磅好课'\n },\n // {\n // id: 'year-free',\n // name: '免费学'\n // },\n {\n id: 'year-group',\n name: '1分拼团'\n },\n {\n id: 'year-discount',\n name: '抄底专区'\n },\n ]\n };\n }\n\n componentDidMount() {\n window.addEventListener('scroll', this.calcNavActive)\n }\n\n componentWillUnmount () {\n window.removeEventListener('scroll', this.calcNavActive);\n }\n\n componentWillReceiveProps(nextProps) {\n this.initNav(nextProps.treasure_stage,nextProps.activeStage);\n }\n\n initNav = (treasure_stage,activeStage) => {\n let {navs} = this.state;\n // treasure_stage,宝箱阶段,0-不在活动时间,1-活动时间内\n let data = this.state.navs\n if(treasure_stage === 0) {\n data = navs.filter(item => item.id !== 'year-treasure')\n }\n if(activeStage === 3) {\n data = data.filter(item => item.id !== 'year-free')\n }\n this.setState({\n formatNavs: data\n })\n }\n\n calcNavActive = () => {\n const { formatNavs } = this.state;\n const { id } = this.props;\n const bannerEl = document.querySelector(`#${id}`);\n setTimeout(() => {\n let y = window.scrollY,\n len = formatNavs.length - 1;\n this.setState({\n isFixed: y >= bannerEl.offsetHeight\n });\n for (; len > -1; len--) {\n let el = document.querySelector(`#${formatNavs[len].id}`);\n if (el && (y + 200) >= el.offsetTop) {\n this.setState({\n curIndex: len\n })\n break;\n }\n }\n }, 100);\n }\n\n selectToNav = (i) => {\n const { formatNavs } = this.state;\n const id = `#${formatNavs[i]['id']}`;\n let el = document.querySelector(id);\n if(el) {\n this.setState({\n curIndex: i\n });\n window.scrollTo({\n top: el.offsetTop,\n left: 0\n });\n }\n }\n\n render() {\n const { isFixed, curIndex, formatNavs } = this.state;\n return (\n <div className={classnames(\"treasure-nav\", {'fixed': isFixed})} data-skip=\"nav\">\n {\n formatNavs.map((item, index) => (\n <a\n href={`#${item.id}`}\n className={classnames(\"treasure-nav__item\", {'active': index === curIndex})}\n key={item.id}\n onClick={() => this.selectToNav(index)}\n >{item.name}</a>\n ))\n }\n </div>\n )\n }\n}\n\nexport default TreasureNav;","import React, {Component} from 'react'\nimport './index.scss'\nimport LiveRoom from './LiveRoom/index'\nimport YearCourse from './YearCourse/index'\nimport TreasureBox from './../treasure-box/index'\nimport TreasureNav from './nav'\nimport CommonPopup from './../common/commonPopup/index'\nimport cookie from \"js-cookie\"\nimport {setCurrentUser, startFetchUser} from \"@/store/userAction\"\nimport {SendMessageToApp, getParam, http} from '@/utils'\nimport {addDays} from \"date-fns\"\nimport {connect} from \"react-redux\"\nimport {Toast} from 'antd-mobile'\nimport {compose} from \"redux\"\n\n@connect(state => ({\n user: state.user\n }),\n {setCurrentUser, startFetchUser}\n)\n\nexport default class index extends Component {\n state = {\n removable: 0, // 未拆宝箱的数量\n currentOpenId: 0, // 当前要拆的宝箱的队伍的ID\n treasure_stage: 0, // 宝箱的活动阶段\n activity_stage: 0, // 整个活动的阶段\n userInfoList: [],\n userInfo: {},\n isAppUpdate: false,\n showMark: false,\n banner: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/treasure-active/m/box_banner.png'\n }\n\n componentDidMount() {\n const _this = this\n // 获取App登录信息\n window['loginInfo'] = result => {\n _this.loginInfo(result)\n }\n _this.getStage()\n document.title = '粽子节,开宝箱免费学AI课程,现金红包,京东购物卡送不停!-七月在线';\n }\n\n // 获取app登录数据\n loginInfo = (result) => {\n this.setState({\n userInfoList: result\n }, () => {\n if (this.state.userInfoList.length) {\n this.props.startFetchUser()\n this.appLogin()\n }\n })\n\n }\n // 保存cookie\n appLogin = () => {\n let expires = addDays(new Date(), 90)\n this.state.userInfoList.map((item, index) => {\n cookie.set(\"token\", item.token, {expires, path: '/', domain: '.julyedu.com'})\n cookie.set(\"plat\", item.plat, {expires, path: '/', domain: '.julyedu.com'})\n cookie.set(\"uid\", item.uid, {expires, path: '/', domain: '.julyedu.com'})\n cookie.set(\"uname\", item.uname, {expires, path: '/', domain: '.julyedu.com'})\n cookie.set(\"avatar_file\", item.avatar_file, {expires, path: '/', domain: '.julyedu.com'})\n })\n\n if (cookie.get(\"token\") && cookie.get(\"uid\")) {\n this.setState({\n isAppUpdate: true\n })\n }\n\n this.props.setCurrentUser(this.transformUser(this.state.userInfoList))\n }\n transformUser = res => {\n let payload\n\n res.map((item, index) => {\n payload = {\n hasError: false,\n data: {\n username: item.uname,\n avatar: item.avatar_file,\n token: item.token,\n uid: item.uid\n },\n isFetching: false\n }\n })\n\n return payload\n }\n\n\n // 关闭弹框\n closePopup = () => {\n this.setState({\n showMark: false,\n })\n }\n\n // 获取未拆宝箱数量\n getRemovable = (removable, currentOpenId) => {\n\n }\n\n // 获取活动以及宝箱的阶段\n getStage = () => {\n http.get(`${API.home}/activity/stage`).then(res => {\n const {code, data, msg} = res.data\n if (code === 200) {\n if(Number(data.treasure_stage) === 0) {\n this.props.history.push('/');\n return;\n }\n // treasure_stage,宝箱阶段,0-不在活动时间,1-活动时间内\n this.setState({\n activity_stage: data.activity_stage,\n treasure_stage: data.treasure_stage\n })\n\n if(data.activity_stage == 3){\n this.setState({\n banner: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/treasure-active/m/box_banner.png',\n })\n } else {\n this.setState({\n banner: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/treasure-active/m/box_banner.png',\n })\n }\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n\n render() {\n const {\n banner,\n activity_stage,\n treasure_stage,\n } = this.state\n return (\n <div className={'year-index'}>\n <div className=\"banner-treasure\">\n {/* <div id=\"banner\" className=\"banner-treasure__header\"\n style={{backgroundImage: `url(${banner})`}}></div> */}\n <img src={banner} alt=\"\"/>\n {/* <div className=\"banner-treasure__nav\">\n <TreasureNav id=\"banner\" treasure_stage={treasure_stage} activeStage={activity_stage}/>\n </div> */}\n {/*<div className=\"banner-treasure__decorate\"></div>*/}\n </div>\n\n {/* 大咖直播 */}\n {/* <LiveRoom isAppUpdate={this.state.isAppUpdate}/> */}\n\n {/* 组队开宝箱 */}\n {\n treasure_stage === 1 &&\n <TreasureBox isAppUpdate={this.state.isAppUpdate} getRemovable={this.getRemovable}/>\n }\n\n {/* 课程 */}\n <YearCourse stage={activity_stage} treasureStage={treasure_stage} isAppUpdate={this.state.isAppUpdate} />\n\n {/*好友加入队伍提醒;获得宝箱提醒;开售提醒弹窗,需要自取,注意修改文案*/}\n {\n this.state.showMark &&\n <CommonPopup top={50} closePopup={this.closePopup} mark={true}>\n <div className='sub__code_container'>\n <p className='sub__title'>提醒服务</p>\n <p className='sub__tip'>有好友加入队伍后第一时间通知我~</p>\n <img className='sub__qr_code' id={'live-qr-code'}\n src='//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg' alt=\"\"/>\n <p className='sub__tip'>长按识别/扫码 关注【七月在线】服务号即可预约</p>\n </div>\n </CommonPopup>\n }\n\n {/*规则弹窗*/}\n {\n this.state.showMark &&\n <CommonPopup top={50} closePopup={this.closePopup} mark={true}>\n <div className='sub__code_container'>\n <p className='sub__title'>组队开宝箱活动规则</p>\n <p className='sub__rule'>\n 1. 活动期间(3月26日-3月31日)可随时参与开宝箱;<br/>\n 2. 当前队伍满员后可继续创建新队伍;<br/>\n 3. 每人有一次机会加入好友的队伍;<br/>\n 4. 队伍满员后所有成员均可随机获得宝箱内奖品,队长奖励更丰厚哦~<br/>\n 5. 代金券、课程等虚拟奖品将直接发放至账户,实物奖品活动结束后统一邮寄;<br/>\n 6. 现金可提现:我的 → 赚奖学金 → 提现。\n </p>\n </div>\n </CommonPopup>\n }\n\n\n <div className={'btm-rule'}>* 本活动解释权归北京七月在线科技有限公司所有 *</div>\n </div>\n )\n }\n}\n","import React, { Component } from 'react';\nimport './index.scss';\n\nclass CourseItem extends Component {\n constructor(props) {\n super(props);\n this.state = {\n countdown: ''\n }\n }\n\n componentDidMount() {\n const { time } = this.props;\n this.startCountDown(time);\n }\n\n componentWillReceiveProps(nextProps) {\n const { time: newTime } = nextProps\n const { time: oldTime } = this.props;\n if(oldTime != newTime) {\n this.startCountDown(newTime);\n }\n }\n\n startCountDown = (time) => {\n if(time) {\n let date = time * 1000,\n hours = 0,\n minutes = 0,\n seconds = 0;\n setInterval(() => {\n date -= 1000\n hours = `${parseInt(date / (60 * 60 * 1000))}`.padStart(2, 0);\n minutes = `${parseInt((date - hours * 3600000) / 60000)}`.padStart(2, 0);\n seconds = `${parseInt((date - hours * 3600000 - minutes * 60000) / 1000)}`.padStart(2, 0);\n this.setState({\n countdown: `${hours}时${minutes}分${seconds}秒后结束`\n });\n }, 1000);\n }\n }\n\n render() {\n const { image, toCourse, id} = this.props;\n const { countdown } = this.state;\n return (\n <div className=\"course-container\">\n <div className=\"course__cover\">\n {\n countdown &&\n <p className=\"course__time\">{countdown}</p>\n }\n <img src={image} alt=\"cover\" onClick={() => toCourse(id)}/>\n </div>\n {this.props.children}\n </div>\n );\n }\n}\n\nexport default CourseItem;\n"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["components/activity/treasure-box/common/commonContainer/index.js","components/activity/treasure-box/common/commonPopup/index.js","components/activity/treasure-box/preheat/LiveRoom/index.js","components/activity/treasure-box/preheat/YearCourse/index.js","components/activity/treasure-box/treasure-box/rank.js","components/activity/treasure-box/treasure-box/team.js","components/activity/treasure-box/common/prizes/index.js","components/activity/treasure-box/common/user-bullet-screen/index.js","components/activity/treasure-box/treasure-box/index.js","components/activity/treasure-box/preheat/nav.js","components/activity/treasure-box/preheat/index.js","components/blessingPreheat/courseItem/index.js"],"names":["CommonContainer","props","Object","classCallCheck","this","possibleConstructorReturn","getPrototypeOf","call","id","react_default","a","createElement","className","title","React","Children","map","children","child","Fragment","Component","index","_this","computedStyle","top","concat","width","closePopup","mark","onClick","style","e","stopPropagation","src","alt","LiveRoom","connect","state","user","getLiveInfo","http","get","API","home","then","res","_res$data","data","code","msg","setState","list","toast_default","info","subscribe","_this$props$user","hasError","toLogin","_res$data2","errno","QRCode","toDataURL","url","err","showMark","subUrl","QRCodeUrl","tip","toLivingRoom","_this$props$user2","window","location","href","protocol","checkVideo","_this$props$user3","vCourseId","split","saveImage","version","getParam","replace","slice","parseInt","SendMessageToApp","history","push","nextProps","nextState","nextContext","isAppUpdate","_this2","_this$state","commonPopup_index","browser","isAndroidApp","commonContainer_CommonContainer","length","item","key","avatar","teacher","transcribe_url","withRouter","YearCourse","getLength","assertThisInitialized","sum","fetchBigCourse","bigcourse","assign","isMore","course","courseList","fetchFreeCourse","freecourse","_res$data3","course_info","filter","fetchGroupCourse","groupcourse","_res$data4","fetchAICourse","addshowMore","_res$data5","getList","_this2$state","basic","advanced","higher","expand","toQQque","toCourse","courseId","handleToMore","objectSpread","freeStudy","tofreeStudy","closePopupWish","isshowFollow","setTimeout","toJoinList","wish","getQRcodeUrl","uid","_res$data6","qrUrl","followBarcode","addWishList","isLogin","isFollow","_res$data7","is_follow","post","course_id","_res$data8","success","saveImage2","getTeamInfo","_res$data9","removable_data","removable","currentId","toBoxList","search","toYearWish","toInviteFriends","oid","params","arguments","undefined","number","price","course_title","desc","link","m","imgUrl","image_name","isCountDown","condition","val","formatTitleAndKey","formatCourseData","_this2$state2","toCart","_res$data10","toContinueBargain","image","bargainToOrder","_this2$props","_res$data11","bargain","_this$props","stage","treasureStage","TreasureRank","fetchRankInfo","JSON","stringify","rank","rankList","switchMoreRank","handleToVip","_this$state2","data-skip","data-num","user_name","num","prize_name","data-more","TeamInfo","prize_info","is_my_team","member","my_team","fillTeam","getRemovable","toYearTreasure","close","current","createTeam","sessionStorage","setItem","treasure_code","len","i","head_img","nobody","jsCookie","total","_this$state3","_this$state3$info","name","stage_no","Text","compose","SystemBulletScreen","Loadable","__webpack_require__","bind","Prizes","closeIcon","prizes","notices","rule","unfoldList","getPrizes","showRules","Popup","content","dangerouslySetInnerHTML","__html","showMore","prev","bg","innerBox","prizeBox","headHeight","parseFloat","getComputedStyle","getPropertyValue","footerHeight","h","prizeList","scrollHeight","scrollListHeight","height","showSystemNotices","bullets","ref","el","img_name","backgroundImage","is_captain","mode","grant_max","surplus","UserBulletScreen","bulletScreenData","initializeBulletScreen","indexArray","toConsumableArray","Array","slidesPerRequest","keys","removed","swiper","Swiper","direction","allowTouchMove","autoplay","on","transitionEnd","_this3","slides","removeSlide","start","activeIndex","stop","getBulletScreenData","appendSlide","getSlides","avatar_file","initializeSwiper","destroy","TreasureBox","textAlign","fontSize","color","marginTop","common_prizes","user_bullet_screen","treasure_box_team","treasure_box_treasure_box_rank","setCurrentUser","startFetchUser","currentOpenId","treasure_stage","activity_stage","userInfoList","userInfo","banner","loginInfo","result","appLogin","expires","addDays","Date","cookie","set","token","path","domain","plat","uname","transformUser","payload","username","isFetching","getStage","Number","document","treasure_box","treasure_box_preheat_YearCourse","CourseItem","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__","startCountDown","time","date","hours","minutes","seconds","setInterval","padStart","countdown","newTime","react__WEBPACK_IMPORTED_MODULE_5___default"],"mappings":"8bAGqBA,uBACnB,SAAAA,EAAYC,GAAQ,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAJ,GAAAE,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAF,GAAAO,KAAAH,KACZH,0EAEC,IACCO,EAAOJ,KAAKH,MAAZO,GACR,OACEC,EAAAC,EAAAC,cAAA,OAAKC,UAAU,mBAAmBJ,GAAIA,GACpCC,EAAAC,EAAAC,cAAA,OAAKC,UAAU,kBACfH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,qBAEPR,KAAKH,MAAMY,OACXJ,EAAAC,EAAAC,cAAA,OAAKC,UAAU,mBACXH,EAAAC,EAAAC,cAAA,UACAF,EAAAC,EAAAC,cAAA,SAAIP,KAAKH,MAAMY,OACfJ,EAAAC,EAAAC,cAAA,WAIRG,IAAMC,SAASC,IAAIZ,KAAKH,MAAMgB,SAAU,SAAUC,GAChD,OAAOT,EAAAC,EAAAC,cAAAF,EAAAC,EAAAS,SAAA,KAAGD,MAIhBT,EAAAC,EAAAC,cAAA,OAAKC,UAAU,6BAxBsBQ,cCAxBC,uBACnB,SAAAA,EAAYpB,GAAO,IAAAqB,EAAA,OAAApB,OAAAC,EAAA,EAAAD,CAAAE,KAAAiB,IACjBC,EAAApB,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAmB,GAAAd,KAAAH,KAAMH,KAERsB,cAAgB,WACd,MAAO,CACLC,IAAA,GAAAC,OAAUH,EAAKrB,MAAMuB,IAArB,MACAE,MAAA,GAAAD,OAAYH,EAAKrB,MAAMyB,MAAvB,QANeJ,EAWnBK,WAAa,WACRL,EAAKrB,MAAM2B,MACZN,EAAKrB,MAAM0B,cAbIL,wE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oBACb2V,EAAA7V,EAAAC,cAAA,OAAKC,UAAU,iBAEXyV,GACAE,EAAA7V,EAAAC,cAAA,KAAGC,UAAU,gBAAgByV,GAE/BE,EAAA7V,EAAAC,cAAA,OAAKsB,IAAK2J,EAAO1J,IAAI,QAAQL,QAAS,kBAAMuG,EAAS5H,OAEtDJ,KAAKH,MAAMgB,iBAnDKG,cAyDVqU","file":"mrstatic/js/treasure-box-home.d7397e33.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport './index.scss'\n\nexport default class CommonContainer extends Component {\n constructor(props) {\n super(props)\n }\n render() {\n const { id } = this.props;\n return (\n <div className='common_container' id={id}>\n <div className='container_top'></div>\n <div className='container_content'>\n {\n this.props.title &&\n <div className='title_container'>\n <i></i>\n <p>{this.props.title}</p>\n <i></i>\n </div>\n }\n {\n React.Children.map(this.props.children, function (child) {\n return <>{child}</>;\n })\n }\n </div>\n <div className='container_bottom'></div>\n </div>\n )\n }\n}\n","import React, { Component } from 'react';\nimport './index.scss';\n\nexport default class index extends Component {\n constructor(props) {\n super(props);\n }\n computedStyle = () => {\n return {\n 'top': `${this.props.top}px`,\n 'width': `${this.props.width}px`\n }\n }\n\n // 控制点击空白处是否关闭弹窗 需要传递一个boolean属性 mark\n closePopup = () => {\n if(this.props.mark) {\n this.props.closePopup();\n }\n }\n\n render() {\n return (\n <div className='popup__container' onClick={this.closePopup}>\n <div className='content__container' style={this.computedStyle()} onClick={(e) => {e.stopPropagation()}}>\n <img className=\"close__btn\" onClick={this.props.closePopup} src='https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png' alt=\"\" />\n {\n React.Children.map(this.props.children, function (child) {\n return <>{child}</>;\n })\n }\n </div>\n </div>\n )\n }\n}\n","import React, { Component } from 'react';\nimport './index.scss';\nimport { Toast } from 'antd-mobile';\nimport {Link, withRouter} from \"react-router-dom\"\nimport { getParam, http, SendMessageToApp, browser } from \"@/utils\"\nimport CommonContainer from './../../common/commonContainer/index'\nimport CommonPopup from './../../common/commonPopup/index';\nimport { connect } from 'react-redux';\nimport { Popup } from \"@common/index\"\nimport QRCode from 'qrcode'\n@connect(state => ({\n user: state.user\n}))\nclass LiveRoom extends Component {\n constructor(props) {\n super(props);\n this.state = {\n list: [],\n showMark: false,\n subUrl: '',\n QRCodeUrl: '',\n }\n }\n\n componentDidMount() {\n this.getLiveInfo();\n }\n shouldComponentUpdate(nextProps, nextState, nextContext) {\n if (this.props.isAppUpdate !== nextProps.isAppUpdate) {\n this.getLiveInfo();\n return false\n }\n return true\n }\n getLiveInfo = () => {\n http.get(`${API.home}/activity/get_live_info`).then(res => {\n const { code, data, msg } = res.data;\n if (code === 200) {\n this.setState({\n list: data\n })\n } else {\n Toast.info(msg);\n }\n });\n }\n // 预约直播\n subscribe = (id) => {\n // 检查是否已登录\n const {hasError, data = {}} = this.props.user;\n if(hasError) {\n this.toLogin();\n }else{\n http.get(`${API['base-api']}/sys/createLiveQrcode/${id}`).then(res => {\n let { errno, data, msg } = res.data;\n if (errno === 200) {\n QRCode.toDataURL(data.url, (err, url) => {\n this.setState({\n showMark: true,\n subUrl: url,\n QRCodeUrl: data.url,\n })\n })\n } else {\n Toast.info(msg);\n }\n });\n }\n\n }\n // 已预约 给提示\n tip = () => {\n Toast.info('你已预约该直播');\n }\n // 去直播间\n toLivingRoom = (id) => {\n const {hasError, data = {}} = this.props.user;\n if(hasError) {\n this.toLogin();\n }else{\n window.location.href = `${window.location.protocol}//www.julyedu.com/live/m_room/${id}`\n }\n }\n // 查看回放\n checkVideo = (url) => {\n const {hasError, data = {}} = this.props.user;\n if(hasError) {\n this.toLogin();\n }else{\n const vCourseId = url.split('/')[0];\n window.location.href = `/play/video?id=${vCourseId}`\n }\n }\n // 关闭弹框\n closePopup = () => {\n this.setState({\n showMark: false,\n })\n // 关闭弹框的时候再次查询接口 查询预约状态\n this.getLiveInfo();\n }\n\n // APP内需要保存图片 是否还是这样做 需要确认\n saveImage = () => {\n let version = getParam('version')\n version = typeof version === 'string' ? version.replace('.', '').replace('.', '').slice(0, 3) : ''\n const {QRCodeUrl} = this.state\n if (version && parseInt(version) < 451) {\n Toast.info('当前不支持此功能,升级到最新版本app可以点击保存二维码!', 2, null, false)\n } else {\n SendMessageToApp('generateQRCode', QRCodeUrl)\n }\n }\n\n // 去登录\n toLogin = () => {\n if (!getParam('version')) {\n this.props.history.push('/passport/login')\n } else {\n SendMessageToApp(\"toLogin\")\n }\n }\n\n render() {\n const { list,showMark,subUrl } = this.state;\n return (\n <div className='live__container'>\n {\n showMark && (\n <CommonPopup top={50} closePopup={this.closePopup} mark={true}>\n <div className='sub__code_container'>\n <p className='sub__title'>扫码关注“七月在线”服务号即可预约</p>\n <img className='sub__qr_code' id={'live-qr-code'} src={subUrl} alt=\"\"/>\n {\n browser.isAndroidApp ? (\n <button className={'save-image'} onClick={this.saveImage}>保存二维码</button>\n ) : null\n }\n </div>\n </CommonPopup>\n )\n }\n\n <CommonContainer title='“薪”年好课免费学' id=\"year-live\">\n <ul className='live__list'>\n {\n list.length && (\n list.map((item, index) => {\n return <li key={index} className='live_room_item'>\n <img className='user__avatar' src={item.avatar} alt=\"\" />\n <div className='live__info'>\n <div className=\"theme\">\n <span>主题:</span>\n <p>{item.title}</p>\n </div>\n {/*<div className=\"info__item\">*/}\n {/*<span>时间:</span>*/}\n {/*<p>{item.date}</p>*/}\n {/*</div>*/}\n <div className=\"info__item\">\n <span>讲师:</span>\n <p>{item.teacher}</p>\n </div>\n {/*{*/}\n {/*item.on_live == 0 && item.is_end == 0 && item.is_subscribe == 0 && (*/}\n {/*<span onClick={ ()=>this.subscribe(item.live_id)} className=\"order__btn\">立即预约</span>*/}\n {/*)*/}\n {/*}*/}\n\n {/*{*/}\n {/*item.is_end == 1 && item.transcribe_url=='' && (*/}\n {/*<span className=\"order__btn live__end\">已结束</span>*/}\n {/*)*/}\n {/*}*/}\n\n {/*{*/}\n {/*item.on_live == 0 && item.is_end == 0 && item.is_subscribe == 1 && (*/}\n {/*<span onClick={this.tip} className=\"order__btn subscribed\">已预约</span>*/}\n {/*)*/}\n {/*}*/}\n {/*{*/}\n {/*item.on_live == 1 && item.is_end == 0 && (*/}\n {/*<span onClick={()=>this.toLivingRoom(item.room_url)} className=\"order__btn living\">正在直播</span>*/}\n {/*)*/}\n {/*}*/}\n {\n item.transcribe_url != '' && (\n <span onClick={() => this.checkVideo(item.transcribe_url)} className=\"order__btn check__video\">点击查看</span>\n )\n }\n\n </div>\n </li>\n })\n )\n }\n </ul>\n </CommonContainer>\n </div>\n )\n }\n}\nexport default withRouter(LiveRoom)\n","import React, { Component } from 'react'\nimport './index.scss'\nimport { http, SendMessageToApp, getParam, browser } from '@/utils'\nimport CommonContainer from './../../common/commonContainer/index'\nimport CourseItem from '../../../../blessingPreheat/courseItem/index'\nimport { withRouter } from \"react-router-dom\"\nimport CommonPopup from './../../common/commonPopup/index'\nimport { Toast } from 'antd-mobile'\nimport QRCode from 'qrcode'\nimport { connect } from \"react-redux\"\nimport dateFns from 'date-fns';\n\n@connect(state => ({\n user: state.user\n}))\n\nclass YearCourse extends Component {\n constructor(props) {\n super(props)\n this.state = {\n tofreeStudy: false,\n basic: {\n course: [],\n courseList: [],\n isMore: false,\n addshowMore: false,\n },\n advanced: {\n course: [],\n courseList: [],\n isMore: false,\n addshowMore: false,\n },\n higher: {\n course: [],\n courseList: [],\n isMore: false,\n addshowMore: false,\n },\n expand: {\n course: [],\n courseList: [],\n isMore: false,\n addshowMore: false,\n },\n bigcourse: {\n course: [],\n courseList: [],\n isMore: false,\n },\n freecourse: {\n course: [],\n courseList: [],\n isMore: false,\n },\n groupcourse: {\n course: [],\n courseList: [],\n isMore: false,\n },\n isshowFollow: false, // 是否提示关注公众号\n wish: {\n id: '',\n key: \"\"\n },\n followBarcode: '',\n qrUrl: '',\n sum: '',\n removable: '',\n currentId: '',\n }\n }\n\n componentDidMount() {\n this.getTeamInfo()\n this.getLength()\n this.fetchBigCourse()\n // this.fetchFreeCourse()\n this.fetchGroupCourse()\n // AI之路-基础\n this.fetchAICourse('one', false)\n // AI之路-进阶\n this.fetchAICourse('two', false)\n // AI之路-高阶\n this.fetchAICourse('three', false)\n // AI之路-拓展\n this.fetchAICourse('four', false)\n }\n\n shouldComponentUpdate(nextProps, nextState, nextContext) {\n if (this.props.isAppUpdate !== nextProps.isAppUpdate) {\n this.getTeamInfo()\n this.getLength()\n this.fetchBigCourse()\n // this.fetchFreeCourse()\n this.fetchGroupCourse()\n // AI之路-基础\n this.fetchAICourse('one')\n // AI之路-进阶\n this.fetchAICourse('two')\n // AI之路-高阶\n this.fetchAICourse('three')\n // AI之路-拓展\n this.fetchAICourse('four')\n return false\n }\n return true\n }\n\n getLength = () => {\n let _this = this\n http.get(`${API.home}/activity/wish_sum`).then(res => {\n const { code, data } = res.data\n if (code == 200) {\n _this.setState({\n sum: data.sum\n })\n }\n })\n }\n\n fetchBigCourse = () => {\n const { bigcourse } = this.state\n http.get(`${API.home}/activity/preheat_data`).then(res => {\n const { code, data } = res.data\n if (code === 200) {\n this.setState({\n bigcourse: Object.assign({}, bigcourse, {\n isMore: false,\n course: data,\n courseList: data,\n })\n })\n }\n })\n }\n fetchFreeCourse = () => {\n const { freecourse } = this.state\n http.get(`${API['base-api']}/assistance/detail`).then(res => {\n const { errno, data } = res.data\n if (errno === 200) {\n this.setState({\n freecourse: Object.assign({}, freecourse, {\n isMore: data.course_info.length > 4 ? true : false,\n course: data.course_info.length > 4 ? data.course_info.filter((item, index) => index < 4) : data.course_info,\n courseList: data.course_info,\n })\n })\n }\n })\n }\n\n fetchGroupCourse = () => {\n const { groupcourse } = this.state\n http.get(`${API.home}/activity/excellent_course`).then(res => {\n const { code, data } = res.data\n if (code === 200) {\n this.setState({\n groupcourse: Object.assign({}, groupcourse, {\n isMore: data.length > 4 ? true : false,\n course: data.length > 4 ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n })\n })\n }\n })\n }\n\n fetchAICourse = (key, addshowMore) => {\n http.get(`${API.home}/activity/four_stage/${key}`).then(res => {\n const { code, data } = res.data\n if (code === 200) {\n this.getList(key, data, addshowMore)\n }\n })\n }\n\n getList = (key, data, addshowMore) => {\n const { basic, advanced, higher, expand } = this.state\n if (key === 'one') {\n this.setState({\n basic: Object.assign({}, basic, {\n isMore: data.length > 4 && !addshowMore ? true : false,\n course: data.length > 4 && !addshowMore ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n addshowMore: addshowMore,\n })\n })\n }\n if (key === 'two') {\n this.setState({\n advanced: Object.assign({}, advanced, {\n isMore: data.length > 4 && !addshowMore ? true : false,\n course: data.length > 4 && !addshowMore ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n addshowMore: addshowMore,\n })\n })\n }\n if (key === 'three') {\n this.setState({\n higher: Object.assign({}, higher, {\n isMore: data.length > 4 && !addshowMore ? true : false,\n course: data.length > 4 && !addshowMore ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n addshowMore: addshowMore,\n })\n })\n }\n if (key === 'four') {\n this.setState({\n expand: Object.assign({}, expand, {\n isMore: data.length > 4 && !addshowMore ? true : false,\n course: data.length > 4 && !addshowMore ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n addshowMore: addshowMore,\n })\n })\n }\n }\n\n toQQque = () => {\n if (!getParam('version')) {\n location.href = 'http://q.url.cn/s/Vbkup6m?_type=wpa'\n } else {\n SendMessageToApp(\"toQQ\", 'https://q.url.cn/AB8aue?_type=wpa&qidian=true')\n }\n }\n\n // 去课程详情页\n toCourse = (courseId) => {\n const { history } = this.props\n if (!getParam('version')) {\n history.push(`/detail?id=${courseId}`)\n } else {\n SendMessageToApp(\"toCourse\", courseId)\n }\n }\n\n handleToMore = (key) => {\n let data = {}\n if (this.state[key]['isMore']) {\n data[key] = {\n isMore: !this.state[key]['isMore'],\n course: this.state[key]['courseList'],\n courseList: this.state[key]['courseList'],\n addshowMore: !this.state[key]['addshowMore']\n }\n this.setState({\n ...data\n })\n } else {\n data[key] = {\n isMore: !this.state[key]['isMore'],\n course: this.state[key]['courseList'].filter((item, index) => index < 4),\n courseList: this.state[key]['courseList'],\n addshowMore: !this.state[key]['addshowMore']\n }\n\n this.setState({\n ...data\n })\n }\n }\n\n // 去登录\n toLogin = () => {\n if (!getParam('version')) {\n this.props.history.push('/passport/login')\n } else {\n SendMessageToApp(\"toLogin\")\n }\n }\n\n // 免费学习\n freeStudy = () => {\n this.setState({\n tofreeStudy: true,\n })\n }\n\n // 关闭弹框\n closePopup = () => {\n this.setState({\n tofreeStudy: false,\n })\n }\n\n closePopupWish = () => {\n const _this = this\n _this.setState({\n isshowFollow: false\n })\n\n setTimeout(function () {\n _this.toJoinList(_this.state.wish.id, _this.state.wish.key)\n }, 200)\n }\n\n getQRcodeUrl = () => {\n let _this = this\n http.get(`${API['base-api']}/wx/user_temporary_qrcode/${_this.props.user.data.uid}`)\n .then(res => {\n const { errno, data, msg } = res.data\n if (errno == 0) {\n this.setState({\n qrUrl: data.url\n })\n QRCode.toDataURL(data.url, (err, url) => {\n this.setState({\n followBarcode: url,\n })\n })\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n\n // 点击加入心愿单登录验证,在判断是否关注公众号,已关注的话直接加入,未关注弹出二维码弹窗,点击关闭按钮加入心愿单\n addWishList = (id, key) => {\n const _this = this\n const isLogin = !this.props.user.hasError\n _this.setState({\n wish: {\n id: id,\n key: key\n }\n })\n\n if (isLogin) {\n _this.isFollow(id, key)\n } else {\n _this.toLogin()\n }\n }\n\n isFollow = (id, key) => {\n const _this = this\n http.get(`${API.home}/sys/user/isFollowWeChat`).then(res => {\n const { code, data, msg } = res.data\n if (code === 200) {\n _this.setState({\n isshowFollow: !data.is_follow\n })\n\n if (!_this.state.isshowFollow) {\n _this.toJoinList(id, key)\n } else {\n _this.getQRcodeUrl()\n }\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n\n toJoinList = (id, key) => {\n const _this = this\n http.post(`${API.home}/activity/join_list`, { course_id: id })\n .then(res => {\n const { code, msg } = res.data\n if (code == 200) {\n Toast.success('已成功加入心愿单', 3)\n _this.getLength()\n if (key === '1') {\n _this.fetchAICourse('one', _this.state.basic.addshowMore)\n }\n if (key === '2') {\n _this.fetchAICourse('two', _this.state.advanced.addshowMore)\n }\n if (key === '3') {\n _this.fetchAICourse('three', _this.state.higher.addshowMore)\n }\n if (key === '4') {\n _this.fetchAICourse('four', _this.state.expand.addshowMore)\n }\n if (key === 'group') {\n _this.fetchGroupCourse()\n }\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n\n // 安卓手机保存二维码\n saveImage = () => {\n let version = getParam('version')\n version = typeof version === 'string' ? version.replace('.', '').replace('.', '').slice(0, 3) : ''\n const QRCodeUrl = this.state.qrUrl\n if (version && parseInt(version) < 451) {\n Toast.info('当前不支持此功能,升级到最新版本app可以点击保存二维码!', 3, null, false)\n } else {\n SendMessageToApp('generateQRCode', QRCodeUrl)\n }\n }\n\n saveImage2 = () => {\n let version = getParam('version')\n version = typeof version === 'string' ? version.replace('.', '').replace('.', '').slice(0, 3) : ''\n const QRCodeUrl = 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg'\n if (version && parseInt(version) < 451) {\n Toast.info('当前不支持此功能,升级到最新版本app可以点击保存二维码!', 3, null, false)\n } else {\n SendMessageToApp('saveImage', QRCodeUrl)\n }\n }\n\n // 获取队伍信息\n getTeamInfo = () => {\n http.get(`${API.home}/sys/treasure/teamInfo`).then(res => {\n const { code, data, msg } = res.data\n if (code === 200) {\n const { info, removable_data } = data\n this.setState({\n removable: info.removable,\n currentId: info.removable > 0 ? removable_data[0].id : null\n })\n } else {\n Toast.info(msg)\n }\n })\n }\n\n // 跳转到我的宝箱列表页\n toBoxList = () => {\n const isLogin = !this.props.user.hasError\n const { currentId } = this.state\n let search = ''\n if (currentId) {\n search = `?id=${currentId}`\n }\n if (isLogin) {\n if (!getParam('version')) {\n this.props.history.push(`/box/yearTreasure${search}`)\n } else {\n this.props.history.push(`/box/yearTreasure${search}?version=${getParam('version')}`)\n }\n } else {\n this.toLogin()\n }\n }\n\n toYearWish = () => {\n const isLogin = !this.props.user.hasError\n if (isLogin) {\n if (!getParam('version')) {\n this.props.history.push('/year/yearWish')\n } else {\n this.props.history.push(`/year/yearWish?version=${getParam('version')}`)\n }\n\n } else {\n this.toLogin()\n }\n\n }\n\n toInviteFriends = (oid, params = {}) => {\n const { history } = this.props\n if (getParam('version')) {\n let data = {\n title: `【仅剩${params.number}个名额】我${params.price}元拼了《${params.course_title}》`,\n desc: params.course_title,\n link: `${API.m}/togroup?id=${oid}&is_originator=1`,\n imgUrl: params.image_name,\n }\n SendMessageToApp(\"toShare\", data)\n } else {\n history.push(`/togroup?id=${oid}`);\n }\n }\n\n isCountDown = (condition, val) => {\n if (condition) {\n return val;\n }\n return '';\n }\n\n formatTitleAndKey = (key) => {\n let data = null;\n switch (key) {\n case 1:\n data = {\n title: '基础',\n key: 'basic'\n };\n break;\n case 2:\n data = {\n title: '进阶',\n key: 'advanced'\n };\n break;\n case 3:\n data = {\n title: '高阶',\n key: 'higher'\n };\n break;\n case 4:\n data = {\n title: '扩展',\n key: 'expand'\n };\n break;\n default:\n data = null;\n break;\n }\n return data;\n }\n\n formatCourseData = (key) => {\n const { basic, advanced, higher, expand } = this.state;\n let data = null;\n switch (key) {\n case 1:\n data = basic;\n break;\n case 2:\n data = advanced;\n break;\n case 3:\n data = higher;\n break;\n case 4:\n data = expand;\n break;\n default:\n data = null;\n break;\n }\n return data;\n }\n\n toCart = (id) => {\n const { history } = this.props;\n http.post(`${API.home}/m/cart/add`, {\n course_id: id\n }).then((res) => {\n const { code, msg } = res.data;\n // code 15001 已加入购物车\n if (code === 200 || code === 15001) {\n if(getParam('version')) {\n SendMessageToApp('toShoppingCart')\n }else {\n history.push('/shopcart');\n }\n } else if (code === 4030 || code === 4040) {\n this.toLogin();\n } else {\n Toast.info(msg, 2);\n }\n })\n };\n\n toContinueBargain = (id, price, code, image) => {\n const { history } = this.props;\n if(getParam('version')) {\n let data = {\n title: '我发现一门好课,快来帮我砍价吧!',\n desc: `我已经砍了${price}元,看看你能砍多少`,\n link: `${API.m}/bargain-middle-page?id=${id}&bargaincode=${code}&is_originator=1`,\n imgUrl: image,\n }\n SendMessageToApp(\"toShare\", data)\n }else {\n history.push(`/bargain-middle-page?id=${id}&bargaincode=${code}&is_originator=1`);\n }\n }\n\n // 砍完价去支付\n bargainToOrder = (id) => {\n const { history, user } = this.props;\n if(user.hasError) {\n this.toLogin();\n }else{\n if(getParam('version')) {\n SendMessageToApp('toPay', id)\n }else {\n http.get(`${API['base-api']}/m/cart/addtopreorder/[${id}]`).then((res) => {\n const { errno, msg } = res.data;\n if (errno === 0) {\n history.push(`/order?id=[${id}]`, {bargain: 1});\n } else {\n Toast.info(msg, 2);\n }\n })\n }\n }\n }\n\n render() {\n const {\n bigcourse,\n freecourse,\n groupcourse,\n basic,\n advanced,\n higher,\n expand,\n removable,\n sum,\n } = this.state\n const { stage,treasureStage } = this.props\n return (\n <div className={'year-index-course'}>\n\n {\n removable > 0 && (\n <div className='nav-right-wish nav-right'>\n <span onClick={this.toBoxList} className='nav-right__link'>未开宝箱\n <i className=\"nav-right__number\">{removable}</i>\n </span>\n </div>\n )\n }\n </div>\n )\n }\n}\n\nexport default withRouter(YearCourse)\n","import React, { Component } from 'react';\nimport { http, getParam, SendMessageToApp } from '@/utils';\nimport './rank.scss'\n\nclass TreasureRank extends Component {\n\n constructor(props) {\n super(props);\n this.state = {\n rank: [],\n rankList: [],\n isMore: false,\n }\n }\n\n componentDidMount() {\n this.fetchRankInfo();\n }\n\n fetchRankInfo = () => {\n http.get(`${API.home}/sys/treasure/ranking`).then(res => {\n const { code, data } = res.data;\n if(code === 200) {\n if(JSON.stringify(data) !== '{}') {\n if(data.length > 5) {\n this.setState({\n rank: data.filter((item, index) => index < 5),\n rankList: data,\n isMore: true,\n });\n }else {\n this.setState({\n rank: data,\n rankList: data,\n isMore: false,\n });\n }\n }\n }\n });\n }\n\n switchMoreRank = () => {\n const { rankList, isMore } = this.state;\n if(isMore) {\n this.setState({\n rank: rankList,\n isMore: false,\n })\n }else {\n this.setState({\n rank: rankList.filter((item, index) => index < 5),\n isMore: true,\n })\n }\n }\n\n handleToVip = (id) => {\n const { history } = this.props;\n if(id) {\n if(getParam('version')) {\n SendMessageToApp('toCourse', id);\n }else {\n history.push(`/detail?id=${id}`);\n }\n }\n }\n\n render() {\n const { rank, isMore } = this.state;\n return (\n <>\n {\n rank.length !== 0 &&\n <div data-skip=\"rank\">\n <div className=\"rank-title\">\n <i className=\"rank-title__decorate\"></i>\n <h2 className=\"rank-title__txt\">宝箱达人榜</h2>\n <i className=\"rank-title__decorate\"></i>\n </div>\n <p className=\"rank-desc\">宝箱数量前50名可额外获得一份奖品,数量相同的用时短者排名在前</p>\n <dl className=\"rank-header\">\n <dd className=\"rank-column\">排名</dd>\n <dd className=\"rank-column\">用户</dd>\n <dd className=\"rank-column\">宝箱数量</dd>\n <dd className=\"rank-column\">奖品</dd>\n </dl>\n <div className=\"rank-body\">\n {\n rank.map((item, index) => (\n <dl className=\"rank-item\" key={index}>\n <dd className=\"rank-column\">\n {\n index <= 2\n ? <span className=\"rank-column__number\" data-num={index}></span>\n : <span>{index+1}</span>\n }\n </dd>\n <dd className=\"rank-column\">\n <span className=\"rank-column__name\">{item.user_name}</span>\n </dd>\n <dd className=\"rank-column\">\n <span>{item.num}</span>\n </dd>\n <dd className=\"rank-column\">\n {\n item.url\n ? <a className=\"rank-column__txt\" onClick={() => this.handleToVip(item.url)}>{item.prize_name}</a>\n : <span className=\"rank-column__txt\">{item.prize_name}</span>\n }\n </dd>\n </dl>\n ))\n }\n <div className=\"rank-more\" onClick={this.switchMoreRank}>\n <span className=\"rank-more__txt\">{isMore? '展开' : '收起'}</span>\n <i className=\"rank-more__icon\" data-more={isMore}></i>\n </div>\n </div>\n </div>\n }\n </>\n )\n }\n}\n\nexport default TreasureRank;","import React, { Component } from 'react';\nimport './team.scss'\nimport { getParam, http, SendMessageToApp } from \"@/utils\"\nimport { Toast } from 'antd-mobile';\nimport {withRouter} from 'react-router-dom';\nimport {compose} from \"redux\"\nimport { connect } from \"react-redux\";\nimport jsCookie from 'js-cookie'\n\nclass TeamInfo extends Component {\n constructor(props) {\n super(props);\n this.state = {\n is_my_team: false, // 是否有自己的队伍\n prize_info: [],\n info: {\n removable: 0,\n total: 0\n },\n member: [],\n removable_data: [],\n my_team: {},\n }\n }\n\n componentDidMount() {\n this.getTeamInfo();\n }\n\n // 获取队伍信息\n getTeamInfo = () => {\n http.get(`${API.home}/sys/treasure/teamInfo`).then(res => {\n const { code, data, msg } = res.data;\n if (code === 200) {\n const { prize_info, is_my_team, info, member, removable_data, my_team } = data;\n this.setState({\n prize_info,\n is_my_team,\n info,\n member: this.fillTeam(member, is_my_team),\n removable_data,\n my_team\n })\n let currentId = null;\n if(info.removable > 0) {\n currentId = removable_data[0].id;\n }\n this.props.getRemovable(info.removable, currentId);\n } else {\n Toast.info(msg);\n }\n })\n }\n\n // 跳转到我的宝箱页\n toYearTreasure = (close) => {\n if(this.props.user.hasError) {\n this.toLogin();\n } else {\n let search = '';\n if(close) {\n const {removable_data, info: {removable}} = this.state;\n if(removable > 0) {\n let current = removable_data[0];\n search = `?id=${current.id}`;\n }\n }\n if (!getParam('version')) {\n this.props.history.push(`/box/yearTreasure${search}`);\n } else {\n this.props.history.push(`/box/yearTreasure${search}?version=${getParam('version')}`);\n }\n }\n\n }\n\n // 去登录\n toLogin = () => {\n if (!getParam('version')) {\n this.props.history.push('/passport/login')\n } else {\n SendMessageToApp(\"toLogin\")\n }\n }\n\n shouldComponentUpdate(nextProps, nextState, nextContext) {\n if (this.props.isAppUpdate !== nextProps.isAppUpdate) {\n this.getTeamInfo();\n return false\n }\n return true\n }\n\n // 邀请好友组队\n createTeam = () => {\n if(this.props.user.hasError) {\n this.toLogin();\n } else {\n sessionStorage.setItem('showShareTip', '1')\n const {is_my_team, my_team: {treasure_code}} = this.state;\n if(is_my_team) { // 有自己的队伍\n // 直接跳转\n\n if (!getParam('version')) {\n //todo 跳转\n // this.props.history.push('/box/landing?origin=1&treasure_code=' + treasure_code);\n window.location.assign('https://h5.julyedu.com/box/landing?origin=1&treasure_code=' + treasure_code);\n } else {\n window.location.assign('https://h5.julyedu.com/box/landing?origin=1&treasure_code=' + treasure_code + '&version='+ getParam('version'));\n }\n\n }else{ // 没自己的队伍\n // 请求创建队伍的接口\n http.get(`${API.home}/sys/treasure/createMyTeam`).then(res => {\n const { code, data, msg } = res.data;\n if (code === 200) {\n const { treasure_code } = data;\n if (!getParam('version')) {\n window.location.assign('https://h5.julyedu.com/box/landing?origin=1&treasure_code=' + treasure_code);\n } else {\n window.location.assign('https://h5.julyedu.com/box/landing?origin=1&treasure_code=' + treasure_code + '&version='+ getParam('version'));\n }\n } else {\n Toast.info(msg);\n }\n });\n }\n }\n }\n\n // 队伍成员信息必须满五个 不满的需要填充\n fillTeam = (list, is_my_team) => {\n let len = list.length;\n // 没有创建队伍 并且没有加入他人队伍\n if(this.props.user.hasError) {\n for(let i=0;i<5-len;i++) {\n list.push({\n head_img: '',\n user_name: '',\n nobody: true,\n })\n }\n } else {\n if(len === 0 && !is_my_team) {\n list.push({\n head_img: jsCookie.get('avatar_file'),\n user_name: jsCookie.get('user_name'),\n })\n for(let i=0;i<4;i++) {\n list.push({\n head_img: '',\n user_name: '',\n nobody: true,\n })\n }\n }else{\n for(let i=0;i<5-len;i++) {\n list.push({\n head_img: '',\n user_name: '',\n nobody: true,\n })\n }\n }\n }\n\n return list;\n }\n\n render() {\n const { prize_info, is_my_team, info: {removable, total}, member } = this.state;\n let name = '', stage_no = 0;\n if(prize_info.length > 0) {\n name = prize_info[0].name;\n stage_no = prize_info[0].stage_no;\n }\n // 显示文案控制\n let Text = '';\n if(total === 0) {\n Text = `我的宝箱`;\n } else if (removable === 0) {\n Text = `共${total}个宝箱`;\n } else {\n Text = `共${total}个宝箱/${removable}个未开`;\n }\n\n return (\n <div className='team_info__container'>\n <div className='team__member'>\n <ul className='member__list'>\n {\n member && member.length > 0 && (\n member.map((item, index) => {\n return <li key={index} className='member__item'>\n <div className='avatar__container'>\n {\n item.nobody ? (\n <img className='head__image' src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png\" alt=\"\"/>\n ) : (\n <img className='head__image' src={item.head_img} alt=\"\"/>\n )\n }\n {\n index === 0 ? (\n <img className='caption__flag' src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/caption.png\" alt=\"\"/>\n ) : (null)\n }\n <div className='shadow'></div>\n </div>\n <div className={`member__join ${item.nobody ? '' : 'join'}`}></div>\n </li>\n })\n )\n }\n </ul>\n\n <div className='box__number'>\n <img onClick={() => this.toYearTreasure(true)} src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png\" alt=\"\" />\n <p onClick={() => this.toYearTreasure(false)} className='box__text'>\n {Text}\n </p>\n <img className='position__arrow' src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/arrow_jinzhan.png\" alt=\"\"/>\n {\n removable > 0 && (\n <div className='position__number'>{removable}</div>\n )\n }\n </div>\n </div>\n <div onClick={this.createTeam} className='invite__btn'>\n {\n is_my_team ? ('继续组队') : ('组队开宝箱')\n }\n </div>\n {\n stage_no > 0 && name && <p className='stage_prize'>{`第${stage_no}个宝箱必中${name}`}</p>\n }\n </div>\n )\n }\n}\nexport default compose(\n connect(\n state => ({user: state.user}),\n null\n ),\n withRouter\n)(TeamInfo)\n","import React, { Component } from 'react'\nimport { http } from \"@/utils\"\nimport './prizes.scss'\nimport { Popup } from \"@common/index\"\nimport { Toast } from \"antd-mobile\"\n\n\nimport Loadable from '@loadable/component'\n\nconst SystemBulletScreen = Loadable(() => import(/* webpackChunkName: 'system-notices' */'@components/activity/newyear-2019/common/system-bullet-screen'))\n\nclass Prizes extends Component {\n\n prizeBox\n prizeList\n bg\n innerBox\n closeIcon = 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png'\n\n state = {\n prizes: [],\n notices: [],\n rule: [],\n unfoldList: false,\n }\n\n componentDidMount() {\n this.getPrizes()\n }\n\n getPrizes = () => {\n http.get(`${API.home}/sys/prize_data`)\n .then(res => {\n const {code, data, msg} = res.data\n if (code == 200) {\n\n this.setState({\n prizes: data['prize_data'],\n notices: data['notices'],\n rule: data['rule']\n })\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n\n showRules = () => {\n Popup({\n title: '组队开宝箱活动规则',\n className: 'landing-treasure-rules',\n content: <div dangerouslySetInnerHTML={{__html: this.state.rule}}/>,\n closeIcon: this.closeIcon\n })\n }\n\n\n showMore = () => {\n this.setState(prev => {\n if (this.state.unfoldList) {\n this.bg.style = this.innerBox.style = this.prizeBox.style = ''\n } else {\n let headHeight = parseFloat(getComputedStyle(this.prizeBox, ':before').getPropertyValue('height')),\n footerHeight = parseFloat(getComputedStyle(this.prizeBox, ':after').getPropertyValue('height')),\n innerOffsetTop = 0.12458,\n footerOffsetTop = 0.595,\n h = this.prizeList.scrollHeight,\n scrollListHeight = headHeight + h - (innerOffsetTop * headHeight) - (footerOffsetTop * footerHeight) + footerHeight,\n bottomOffset = 27\n\n this.prizeBox.style.height = `${scrollListHeight + bottomOffset}px`\n this.innerBox.style.height = `${h}px`\n this.bg.style.height = `${h - footerHeight + innerOffsetTop * headHeight + bottomOffset}px`\n }\n return {unfoldList: !prev.unfoldList}\n })\n\n }\n\n render() {\n const {\n showSystemNotices\n } = this.props\n const {notices} = this.state\n return (\n <>\n {(showSystemNotices && notices && notices.length) ? <SystemBulletScreen bullets={notices}/> : null}\n <div className={'prizes-box'} ref={el => this.prizeBox = el}>\n <a href=\"javascript:;\" className='rule-btn' onClick={this.showRules}>活动规则 > </a>\n <div className={`bg`} ref={el => this.bg = el}/>\n <div className={`inner-box`} ref={el => this.innerBox = el}>\n <ul className='prize-list' ref={el => this.prizeList = el}>\n {\n this.state.prizes.map((item, index) => {\n return (\n <li key={index}>\n {\n item.img_name\n ? <i className=\"prize-list__image\" style={{\n backgroundImage: `url(${item.img_name})`\n }}/>\n : <i className=\"prize-list__image\"/>\n }\n {/* <img src={item.img_name} alt=\"\"/> */}\n {\n item.is_captain != 0 && <span className='captain top-tag'>队长专属</span>\n }\n {\n item.mode === 2 && <span className='stage top-tag'>第{item.stage_no}个必中</span>\n }\n {\n item.grant_max\n ?\n <div className='bottom-bar'>\n <div className=\"progress-bar\"><span className={'progress'} style={{width: `${(item.surplus / item.grant_max) * 100}%`}}/></div>\n <span>限量{item.grant_max}份</span>\n </div>\n : <span className='no-limit'>不限量</span>\n }\n </li>\n )\n })\n }\n <li>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/prize-placeholder.png\" alt=\"\"/>\n </li>\n </ul>\n </div>\n <div className=\"show-more\" onClick={this.showMore}>\n {\n this.state.unfoldList\n ? <div>\n 收起\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/fold-icon.png\" alt=\"\"/>\n </div>\n : <div>\n 查看全部奖品\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/unfold-icon.png\" alt=\"\"/>\n </div>\n }\n </div>\n </div>\n </>\n )\n }\n}\n\nexport default Prizes\n","import React, { Component } from 'react'\nimport { http } from \"@/utils\"\nimport Swiper from 'swiper'\nimport 'swiper/dist/css/swiper.min.css'\nimport './bullet-screen.scss'\n\nclass UserBulletScreen extends Component {\n\n swiper\n\n state = {\n bulletScreenData: []\n }\n\n componentDidMount() {\n this.getBulletScreenData(true)\n }\n\n componentWillUnmount() {\n this.swiper && this.swiper.destroy()\n }\n\n\n initializeBulletScreen = () => {\n const _this = this\n const slidesPerRequest = 20\n const indexArray = [...Array(slidesPerRequest - 1).keys()]\n let removed = false\n this.swiper = new Swiper('.swiper-container', {\n direction: 'vertical',\n allowTouchMove: false,\n autoplay: true,\n on: {\n transitionEnd() {\n if (this.slides.length > slidesPerRequest) {\n this.removeSlide(0)\n this.autoplay.start()\n }\n if (this.activeIndex === this.slides.length - 1 && !removed) {\n this.autoplay.stop()\n _this.getBulletScreenData().then(res => {\n removed = true\n this.removeSlide(indexArray)\n this.appendSlide(_this.getSlides(res))\n setTimeout(() => {\n this.autoplay.start()\n removed = false\n })\n })\n }\n }\n }\n })\n }\n\n getSlides = list => list.map(item => {\n return `\n <li class=\"swiper-slide\">\n <img class=\"avatar\" src=\"${item.avatar_file}\" alt=\"\">\n <span>${item.user_name} ${item.msg}</span>\n </li>\n `\n })\n\n getBulletScreenData = (initializeSwiper = false) => {\n return http.get(`${API.home}/sys/barrage_data`)\n .then(res => {\n const {data, code} = res.data\n if (code == 200) {\n if (initializeSwiper) {\n this.setState({\n bulletScreenData: data\n }, () => {\n this.initializeBulletScreen()\n })\n } else {\n return data\n }\n }\n })\n }\n\n\n render() {\n const {bulletScreenData} = this.state\n return (\n <div id=\"user-bullet-screen\" className='swiper-container'>\n <ul className='swiper-wrapper'>\n {\n bulletScreenData.length && bulletScreenData.map((item, index) => {\n return (\n <li className='swiper-slide' key={index}>\n <img src={item['avatar_file']}\n alt=\"\" className=\"avatar\"/>\n <span>{item.user_name} {item.msg}</span>\n </li>\n )\n })\n }\n </ul>\n </div>\n )\n }\n}\n\nexport default UserBulletScreen\n","import React, { Component } from 'react';\nimport { withRouter } from 'react-router-dom';\nimport CommonContainer from './../common/commonContainer/index';\nimport TreasureRank from './rank';\nimport TeamInfo from './team'\nimport Prizes from \"@components/activity/treasure-box/common/prizes\"\nimport UserBulletScreen from \"@components/activity/treasure-box/common/user-bullet-screen\"\n\nclass TreasureBox extends Component {\n constructor(props) {\n super(props);\n }\n render() {\n return (\n <CommonContainer id=\"year-treasure\" title={'组队开宝箱'}>\n <div style={{\n textAlign: 'center', \n fontSize: '12px', \n color: '#FFDC1E', \n marginTop: '10px'\n }}>邀请好友组队一起开宝箱,满5人后将随机获得以下奖品~</div>\n <Prizes showSystemNotices={true}/>\n <UserBulletScreen/>\n <TeamInfo isAppUpdate={this.props.isAppUpdate} getRemovable={this.props.getRemovable} />\n <TreasureRank history={this.props.history} />\n </CommonContainer>\n )\n }\n}\n\nexport default withRouter(TreasureBox);\n","import React, { Component } from 'react';\nimport classnames from 'classnames';\nimport { http } from '@/utils';\nimport './nav.scss';\n\nclass TreasureNav extends Component {\n constructor(props) {\n super(props);\n this.state = {\n isFixed: false,\n curIndex: 0,\n formatNavs: [],\n navs: [\n {\n id: 'year-live',\n name: '好课免费学'\n },\n {\n id: 'year-treasure',\n name: '组队开宝箱'\n },\n {\n id: 'year-wuhan',\n name: '驰援武汉'\n },\n {\n id: 'year-course',\n name: '重磅好课'\n },\n // {\n // id: 'year-free',\n // name: '免费学'\n // },\n {\n id: 'year-group',\n name: '1分拼团'\n },\n {\n id: 'year-discount',\n name: '抄底专区'\n },\n ]\n };\n }\n\n componentDidMount() {\n window.addEventListener('scroll', this.calcNavActive)\n }\n\n componentWillUnmount () {\n window.removeEventListener('scroll', this.calcNavActive);\n }\n\n componentWillReceiveProps(nextProps) {\n this.initNav(nextProps.treasure_stage,nextProps.activeStage);\n }\n\n initNav = (treasure_stage,activeStage) => {\n let {navs} = this.state;\n // treasure_stage,宝箱阶段,0-不在活动时间,1-活动时间内\n let data = this.state.navs\n if(treasure_stage === 0) {\n data = navs.filter(item => item.id !== 'year-treasure')\n }\n if(activeStage === 3) {\n data = data.filter(item => item.id !== 'year-free')\n }\n this.setState({\n formatNavs: data\n })\n }\n\n calcNavActive = () => {\n const { formatNavs } = this.state;\n const { id } = this.props;\n const bannerEl = document.querySelector(`#${id}`);\n setTimeout(() => {\n let y = window.scrollY,\n len = formatNavs.length - 1;\n this.setState({\n isFixed: y >= bannerEl.offsetHeight\n });\n for (; len > -1; len--) {\n let el = document.querySelector(`#${formatNavs[len].id}`);\n if (el && (y + 200) >= el.offsetTop) {\n this.setState({\n curIndex: len\n })\n break;\n }\n }\n }, 100);\n }\n\n selectToNav = (i) => {\n const { formatNavs } = this.state;\n const id = `#${formatNavs[i]['id']}`;\n let el = document.querySelector(id);\n if(el) {\n this.setState({\n curIndex: i\n });\n window.scrollTo({\n top: el.offsetTop,\n left: 0\n });\n }\n }\n\n render() {\n const { isFixed, curIndex, formatNavs } = this.state;\n return (\n <div className={classnames(\"treasure-nav\", {'fixed': isFixed})} data-skip=\"nav\">\n {\n formatNavs.map((item, index) => (\n <a\n href={`#${item.id}`}\n className={classnames(\"treasure-nav__item\", {'active': index === curIndex})}\n key={item.id}\n onClick={() => this.selectToNav(index)}\n >{item.name}</a>\n ))\n }\n </div>\n )\n }\n}\n\nexport default TreasureNav;","import React, {Component} from 'react'\nimport './index.scss'\nimport LiveRoom from './LiveRoom/index'\nimport YearCourse from './YearCourse/index'\nimport TreasureBox from './../treasure-box/index'\nimport TreasureNav from './nav'\nimport CommonPopup from './../common/commonPopup/index'\nimport cookie from \"js-cookie\"\nimport {setCurrentUser, startFetchUser} from \"@/store/userAction\"\nimport {SendMessageToApp, getParam, http} from '@/utils'\nimport {addDays} from \"date-fns\"\nimport {connect} from \"react-redux\"\nimport {Toast} from 'antd-mobile'\nimport {compose} from \"redux\"\n\n@connect(state => ({\n user: state.user\n }),\n {setCurrentUser, startFetchUser}\n)\n\nexport default class index extends Component {\n state = {\n removable: 0, // 未拆宝箱的数量\n currentOpenId: 0, // 当前要拆的宝箱的队伍的ID\n treasure_stage: 0, // 宝箱的活动阶段\n activity_stage: 0, // 整个活动的阶段\n userInfoList: [],\n userInfo: {},\n isAppUpdate: false,\n showMark: false,\n banner: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/treasure-active/m/box_banner.png'\n }\n\n componentDidMount() {\n const _this = this\n // 获取App登录信息\n window['loginInfo'] = result => {\n _this.loginInfo(result)\n }\n _this.getStage()\n document.title = 'AI就业季,开宝箱免费拿VIP年会员,200本程序员必备纸质书免费包邮送!- 七月在线';\n }\n\n // 获取app登录数据\n loginInfo = (result) => {\n this.setState({\n userInfoList: result\n }, () => {\n if (this.state.userInfoList.length) {\n this.props.startFetchUser()\n this.appLogin()\n }\n })\n\n }\n // 保存cookie\n appLogin = () => {\n let expires = addDays(new Date(), 90)\n this.state.userInfoList.map((item, index) => {\n cookie.set(\"token\", item.token, {expires, path: '/', domain: '.julyedu.com'})\n cookie.set(\"plat\", item.plat, {expires, path: '/', domain: '.julyedu.com'})\n cookie.set(\"uid\", item.uid, {expires, path: '/', domain: '.julyedu.com'})\n cookie.set(\"uname\", item.uname, {expires, path: '/', domain: '.julyedu.com'})\n cookie.set(\"avatar_file\", item.avatar_file, {expires, path: '/', domain: '.julyedu.com'})\n })\n\n if (cookie.get(\"token\") && cookie.get(\"uid\")) {\n this.setState({\n isAppUpdate: true\n })\n }\n\n this.props.setCurrentUser(this.transformUser(this.state.userInfoList))\n }\n transformUser = res => {\n let payload\n\n res.map((item, index) => {\n payload = {\n hasError: false,\n data: {\n username: item.uname,\n avatar: item.avatar_file,\n token: item.token,\n uid: item.uid\n },\n isFetching: false\n }\n })\n\n return payload\n }\n\n\n // 关闭弹框\n closePopup = () => {\n this.setState({\n showMark: false,\n })\n }\n\n // 获取未拆宝箱数量\n getRemovable = (removable, currentOpenId) => {\n\n }\n\n // 获取活动以及宝箱的阶段\n getStage = () => {\n http.get(`${API.home}/activity/stage`).then(res => {\n const {code, data, msg} = res.data\n if (code === 200) {\n if(Number(data.treasure_stage) === 0) {\n this.props.history.push('/');\n return;\n }\n // treasure_stage,宝箱阶段,0-不在活动时间,1-活动时间内\n this.setState({\n activity_stage: data.activity_stage,\n treasure_stage: data.treasure_stage\n })\n\n if(data.activity_stage == 3){\n this.setState({\n banner: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/treasure-active/m/box_banner.png',\n })\n } else {\n this.setState({\n banner: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/treasure-active/m/box_banner.png',\n })\n }\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n\n render() {\n const {\n banner,\n activity_stage,\n treasure_stage,\n } = this.state\n return (\n <div className={'year-index'}>\n <div className=\"banner-treasure\">\n {/* <div id=\"banner\" className=\"banner-treasure__header\"\n style={{backgroundImage: `url(${banner})`}}></div> */}\n <img src={banner} alt=\"\"/>\n {/* <div className=\"banner-treasure__nav\">\n <TreasureNav id=\"banner\" treasure_stage={treasure_stage} activeStage={activity_stage}/>\n </div> */}\n <div className=\"banner-treasure__decorate\"></div>\n </div>\n\n {/* 大咖直播 */}\n {/* <LiveRoom isAppUpdate={this.state.isAppUpdate}/> */}\n\n {/* 组队开宝箱 */}\n {\n treasure_stage === 1 &&\n <TreasureBox isAppUpdate={this.state.isAppUpdate} getRemovable={this.getRemovable}/>\n }\n\n {/* 课程 */}\n <YearCourse stage={activity_stage} treasureStage={treasure_stage} isAppUpdate={this.state.isAppUpdate} />\n\n {/*好友加入队伍提醒;获得宝箱提醒;开售提醒弹窗,需要自取,注意修改文案*/}\n {\n this.state.showMark &&\n <CommonPopup top={50} closePopup={this.closePopup} mark={true}>\n <div className='sub__code_container'>\n <p className='sub__title'>提醒服务</p>\n <p className='sub__tip'>有好友加入队伍后第一时间通知我~</p>\n <img className='sub__qr_code' id={'live-qr-code'}\n src='//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg' alt=\"\"/>\n <p className='sub__tip'>长按识别/扫码 关注【七月在线】服务号即可预约</p>\n </div>\n </CommonPopup>\n }\n\n {/*规则弹窗*/}\n {\n this.state.showMark &&\n <CommonPopup top={50} closePopup={this.closePopup} mark={true}>\n <div className='sub__code_container'>\n <p className='sub__title'>组队开宝箱活动规则</p>\n <p className='sub__rule'>\n 1. 活动期间(3月26日-3月31日)可随时参与开宝箱;<br/>\n 2. 当前队伍满员后可继续创建新队伍;<br/>\n 3. 每人有一次机会加入好友的队伍;<br/>\n 4. 队伍满员后所有成员均可随机获得宝箱内奖品,队长奖励更丰厚哦~<br/>\n 5. 代金券、课程等虚拟奖品将直接发放至账户,实物奖品活动结束后统一邮寄;<br/>\n 6. 现金可提现:我的 → 赚奖学金 → 提现。\n </p>\n </div>\n </CommonPopup>\n }\n\n\n <div className={'btm-rule'}>* 本活动解释权归北京七月在线科技有限公司所有 *</div>\n </div>\n )\n }\n}\n","import React, { Component } from 'react';\nimport './index.scss';\n\nclass CourseItem extends Component {\n constructor(props) {\n super(props);\n this.state = {\n countdown: ''\n }\n }\n\n componentDidMount() {\n const { time } = this.props;\n this.startCountDown(time);\n }\n\n componentWillReceiveProps(nextProps) {\n const { time: newTime } = nextProps\n const { time: oldTime } = this.props;\n if(oldTime != newTime) {\n this.startCountDown(newTime);\n }\n }\n\n startCountDown = (time) => {\n if(time) {\n let date = time * 1000,\n hours = 0,\n minutes = 0,\n seconds = 0;\n setInterval(() => {\n date -= 1000\n hours = `${parseInt(date / (60 * 60 * 1000))}`.padStart(2, 0);\n minutes = `${parseInt((date - hours * 3600000) / 60000)}`.padStart(2, 0);\n seconds = `${parseInt((date - hours * 3600000 - minutes * 60000) / 1000)}`.padStart(2, 0);\n this.setState({\n countdown: `${hours}时${minutes}分${seconds}秒后结束`\n });\n }, 1000);\n }\n }\n\n render() {\n const { image, toCourse, id} = this.props;\n const { countdown } = this.state;\n return (\n <div className=\"course-container\">\n <div className=\"course__cover\">\n {\n countdown &&\n <p className=\"course__time\">{countdown}</p>\n }\n <img src={image} alt=\"cover\" onClick={() => toCourse(id)}/>\n </div>\n {this.props.children}\n </div>\n );\n }\n}\n\nexport default CourseItem;\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[43],{1096:function(e,t,a){},1097:function(e,t,a){},1098:function(e,t,a){},1099:function(e,t,a){},1100:function(e,t,a){},1101:function(e,t,a){},1186:function(e,t,a){"use strict";a.r(t);var n,s=a(3),i=a(5),r=a(4),o=a(6),c=a(7),l=a(0),m=a.n(l),d=a(20),u=a(23),p=a(596),h=a(598),f=a(600),_=(a(1096),function(e){console.log(e);var t=e.data,a=t.team_num,n=void 0===a?1:a,s=t.lack_member,i=void 0===s?4:s,r=t.member,o=void 0===r?[]:r,c=e.handleToInvite,l=new Array(5).fill({});return m.a.createElement("div",{className:"team-success"},m.a.createElement("h2",{className:"team-success__title"},"\u521b\u5efa\u6210\u529f"),m.a.createElement("p",{className:"team-success__tip"},m.a.createElement("span",null,n),"\u53f7\u961f\u4f0d \u8fd8\u5dee",m.a.createElement("span",null,i),"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6~"),m.a.createElement("i",{className:"team-success__icon"}),m.a.createElement("ul",{className:"team-success__member members"},l.map(function(e,t){var a=o[t];return m.a.createElement("li",{className:"member-item",key:t},a&&a.is_captain&&m.a.createElement("sup",{className:"member-item__captain"},"\u961f\u957f"),m.a.createElement("img",{className:"member-item__avatar",src:a?a.head_img:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png",alt:""}))})),m.a.createElement("button",{type:"button",className:"team-success__button",onClick:c},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d"))}),b=a(17),v=a.n(b),E=(a(1097),a(2)),y=function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(r.a)(this,Object(o.a)(t).call(this,e))).initMemberInfo=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a.props,n=t.data,s=t.userInfo,i="{}"!==JSON.stringify(e)?e:n,r=i.member,o=r.length-5;o<0;o++)r.push({});a.setState({team:Object.assign({},i,{member:r}),currentMember:s.uid?r.filter(function(e){return e.uid==s.uid})[0]:{}})},a.computedClass=function(e){var t=a.props.data.is_open,n=a.state.currentMember;return v()("team-member__item",{active:e===n.uid&&t})},a.computedBg=function(e){return e?{backgroundImage:"url(".concat(e,")")}:{}},a.toCheckPrize=function(e){var t=a.state.team,n=t.is_open,s=t.member;if(n){var i=(void 0===s?[]:s).filter(function(t){return t.uid===e});a.setState({currentMember:i[0]})}},a.state={team:{},currentMember:{}},a}return Object(c.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.initMemberInfo()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.data,a=e.data;a.is_open!=t.is_open&&this.initMemberInfo(a)}},{key:"render",value:function(){var e=this,t=this.state,a=t.team,n=a.is_captain,s=a.status,i=a.team_num,r=a.lack_member,o=a.is_open,c=a.treasure_code,l=a.member,d=void 0===l?[]:l,u=t.currentMember,p=this.props,h=p.toSplitTreasure,f=p.userInfo,_=p.children;return m.a.createElement("div",{className:"team-container","data-skip":"team"},!n&&m.a.createElement("i",{className:"team-friend"},"\u53cb"),1===s?m.a.createElement("i",{className:"team-status"},"\u7ec4\u961f\u4e2d.."):m.a.createElement("i",{className:"team-decorate"}),n?m.a.createElement("h2",{className:"team-title"},i,"\u53f7\u961f\u4f0d"):m.a.createElement("h2",{className:"team-title"},"\u597d\u53cb\u961f\u4f0d"),1===s?m.a.createElement("p",{className:"team-desc"},"\u8fd8\u5dee",r,"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6\uff5e"):m.a.createElement("p",{className:"team-desc"},"\u7ec4\u961f\u6210\u529f"),m.a.createElement("div",{className:"team-member"},d.map(function(t,a){return m.a.createElement("div",{className:e.computedClass(t.uid),onClick:function(){return e.toCheckPrize(t.uid)},key:a,style:e.computedBg(t.head_img)},t.is_captain&&m.a.createElement("span",{className:"team-member__captain"},"\u961f\u957f"))})),m.a.createElement("div",{className:"team-footer","data-layout":o?"column":"row"},1===s&&m.a.createElement(m.a.Fragment,null,Object(E.c)("version")?n?m.a.createElement("a",{className:"team-button",href:"https://h5.julyedu.com/box/landing?treasure_code=".concat(c,"&origin=1&version=").concat(Object(E.c)("version"))},"\u7ee7\u7eed\u9080\u8bf7\u961f\u53cb"):m.a.createElement("a",{className:"team-button",href:"https://h5.julyedu.com/box/landing?treasure_code=".concat(c,"&origin=2&version=").concat(Object(E.c)("version"))},"\u5e2e\u597d\u53cb\u5b8c\u6210\u7ec4\u961f"):n?m.a.createElement("a",{className:"team-button",href:"https://h5.julyedu.com/box/landing?treasure_code=".concat(c,"&origin=1")},"\u7ee7\u7eed\u9080\u8bf7\u961f\u53cb"):m.a.createElement("a",{className:"team-button",href:"https://h5.julyedu.com/box/landing?treasure_code=".concat(c,"&origin=2")},"\u5e2e\u597d\u53cb\u5b8c\u6210\u7ec4\u961f")),2===s&&!o&&m.a.createElement(m.a.Fragment,null,m.a.createElement("span",{className:"team-icon","data-direction":"left"}),m.a.createElement("span",{className:"team-button--split",onClick:h}),m.a.createElement("span",{className:"team-icon","data-direction":"right"})),2===s&&o&&m.a.createElement(m.a.Fragment,null,u.prize_name?m.a.createElement("p",{className:"team-prize"},u.prize_name):m.a.createElement("p",{className:"team-prize"},"\u5c1a\u672a\u5f00\u5b9d\u7bb1"),u.uid==f.uid?_:null)))}}]),t}(l.Component),N=(a(1098),function(e){var t=e.data,a=t.bind_phone,n=t.bind_address,s=t.prize_type,i=e.handleToBindPhone,r=e.handleToBindAddress,o=e.toComposeCoupon,c=e.toUseCoupon,l=e.toCourseList,d=e.toFecthMoney;return m.a.createElement(m.a.Fragment,null,a&&m.a.createElement("a",{className:"team-result",onClick:i},m.a.createElement("span",null,"\u7ed1\u5b9a\u624b\u673a\u53f7")),!a&&n&&m.a.createElement("a",{className:"team-result",onClick:r},m.a.createElement("span",null,"\u67e5\u770b/\u4fee\u6539\u6536\u8d27\u4fe1\u606f")),!a&&!n&&1===s&&m.a.createElement("a",{className:"team-result",onClick:r},m.a.createElement("span",null,"\u67e5\u770b/\u4fee\u6539\u6536\u8d27\u4fe1\u606f")),!a&&!n&&6===s&&m.a.createElement("a",{className:"team-result",onClick:o},"\u53ef\u5408\u6210\u4ee3\u91d1\u5238\u5728\u8d2d\u8bfe\u65f6\u4f7f\u7528\uff0c",m.a.createElement("span",null,"\u53bb\u5408\u6210")),!a&&!n&&3===s&&m.a.createElement("a",{className:"team-result",onClick:c},"\u5df2\u53d1\u653e\u81f3\u60a8\u7684\u8d26\u6237\uff0c",m.a.createElement("span",null,"\u53bb\u4f7f\u7528")),!a&&!n&&4===s&&m.a.createElement("a",{className:"team-result",onClick:l},"\u5df2\u53d1\u653e\u81f3\u60a8\u7684\u8d26\u6237\uff0c",m.a.createElement("span",null,"\u53bb\u4f7f\u7528")),!a&&!n&&7===s&&m.a.createElement("a",{className:"team-result",onClick:d},"\u5df2\u5b58\u5165\u60a8\u7684\u8d26\u6237\uff0c",m.a.createElement("span",null,"\u53bb\u63d0\u73b0")),!a&&!n&&2===s&&m.a.createElement("a",{className:"team-result"},"\u5df2\u53d1\u653e\u81f3\u60a8\u7684\u8d26\u6237"),!a&&!n&&5===s&&m.a.createElement("a",{className:"team-result"},"\u65e0\u6cd5\u9886\u53d6\u8bf7\u6dfb\u52a0\u5fae\u4fe1\uff1ajulyedukefu10"))}),g=(a(1099),function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,i=new Array(n),c=0;c<n;c++)i[c]=arguments[c];return(a=Object(r.a)(this,(e=Object(o.a)(t)).call.apply(e,[this].concat(i)))).computedBg=function(e){return e?{backgroundImage:"url(".concat(e,")")}:{}},a.continueSplitTreasure=function(){var e=a.props,t=e.ids,n=e.successSplitTreasure,s=e.handleToBindPhone,i=e.handleToBindAddress,r=t[0];E.e.post("".concat(API.home,"/sys/split_treasure"),r).then(function(e){var t=e.data,a=t.code,r=t.data;200===a?(n(r),r.bind_phone?setTimeout(function(){s(r.id)},500):r.bind_address&&setTimeout(function(){i(r.id,r.prize_name)},500)):12e3===a?s():12001===a&&i()})},a}return Object(c.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){var e=this,t=this.props,a=t.ids,n=t.data,s=n.member,i=void 0===s?[]:s,r=n.prize_img,o=n.prize_name,c=t.handleToInvite,l=t.children;return m.a.createElement("div",{"data-skip":"split"},m.a.createElement("h2",{className:"split-success__title"},"\u606d\u559c\u4f60\u83b7\u5f97"),m.a.createElement("div",{className:"split-success__image"},m.a.createElement("img",{src:r,alt:""})),m.a.createElement("p",{className:"split-success__prize"},o),l,m.a.createElement("div",{className:"split-success__member"},i.map(function(t,a){return m.a.createElement("div",{className:"member-item",key:a},m.a.createElement("span",{className:"member-item__avatar",style:e.computedBg(t.avatar)},t.is_captain&&m.a.createElement("i",{className:"member-item__captain"},"\u961f\u957f")),t.prize?m.a.createElement("span",{className:"member-item__prize"},t.prize):m.a.createElement("span",{className:"member-item__prize"},"\u5c1a\u672a\u5f00\u5b9d\u7bb1"))})),a.length>0?m.a.createElement("button",{className:"split-success__jump",onClick:this.continueSplitTreasure},"\u7ee7\u7eed\u5f00\u5b9d\u7bb1"):m.a.createElement("button",{className:"split-success__jump",onClick:c},"\u7ee7\u7eed\u7ec4\u961f\u5f00\u5b9d\u7bb1"))}}]),t}(l.Component)),T=a(21),C=a.n(T),I=(a(1100),document.querySelector("body")),j=function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(r.a)(this,Object(o.a)(t).call(this,e))).el||(a.el=document.createElement("div")),a}return Object(c.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){I.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){I.removeChild(this.el)}},{key:"render",value:function(){var e=this.props,t=e.visible,a=e.handleToHide,n=e.className;return t?C.a.createPortal(m.a.createElement("div",{className:"mask"},m.a.createElement("div",{className:v()("mask-content",n)},this.props.children),m.a.createElement("div",{className:"mask-footer"},m.a.createElement("i",{className:"mask-button__close",onClick:a}))),this.el):null}}]),t}(l.Component),O=(a(1101),Object(d.b)(function(e){return{country:e.country,userInfo:e.user.data}})(n=function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(r.a)(this,Object(o.a)(t).call(this,e))).popupInstance=null,a.initPrizeName=function(e){var t=a.fetchCurrentTeamId(e),n=e.filter(function(e){return e.id==t});n.length>0&&a.setState({prizeName:n[0].prize_name})},a.judgeIsHaveId=function(e){var t=Object(E.c)("id");if(t){var n=e.filter(function(e){return e.id==t});if(n.length>0){var s={team_num:n[0].team_num,owner_uid:n[0].captain_uid};a.toSplitTreasure(s)}}},a.fetchCurrentTeamId=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter(function(e){return e.is_open&&(e.bind_phone||e.bind_address)});return e.length>0?e[0].id:""},a.isShowBindPhone=function(e){if(a.props.country.from){var t=a.fetchCurrentTeamId(e);a.handleToBindPhone(t)}},a.handleToBindPhone=function(e){a.setState({isPhone:!0})},a.handleToConfirmPhone=function(e,t){a.handleToHideWindow("isPhone"),a.setState({confirmInfo:{params:e,bindInfo:t},isConfirm:!0})},a.successBindPhone=function(){a.setState({isPhone:!1,isConfirm:!1});var e=a.state,t=e.teams,n=e.splitInfo,s=a.fetchCurrentTeamId(t),i=t.map(function(e){return e.id==s?(e.bind_address&&a.handleToBindAddress(),Object.assign({},e,{bind_phone:!1})):e});a.setState({teams:i,splitInfo:Object.assign({},n,{bind_phone:!1})})},a.toSplitTreasure=function(e){E.e.post("".concat(API.home,"/sys/split_treasure"),e).then(function(e){var t=e.data,n=t.code,s=t.data;200===n?(a.showSuccessSplit(s),a.successSplitTreasure(s),s.bind_phone?setTimeout(function(){a.handleToBindPhone(s.id)},500):s.bind_address&&setTimeout(function(){a.handleToBindAddress(s.id,s.prize_name)},500)):12e3===n?a.handleToBindPhone():12001===n&&a.handleToBindAddress()})},a.successSplitTreasure=function(e){var t=a.props.userInfo,n=a.state.teams.map(function(a){return a.id==e.id?Object.assign({},a,{bind_phone:e.bind_phone,bind_address:e.bind_address,is_open:!0,prize_type:e.prize_type,prize_data:e.prize_data,member:a.member.map(function(a){return a.uid==t.uid?Object.assign({},a,{is_open:!0,prize_name:e.prize_name}):a})}):a});a.initNoSplitInfo(n),a.setState({teams:n,splitInfo:e,prizeName:e.prize_name})},a.showSuccessSplit=function(e){a.setState({isSplit:!0,splitInfo:e})},a.handleToBindAddress=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(e)if(t)a.setState({prizeName:t});else{var n=a.state.teams.filter(function(t){return t.id==e});n.length>0&&a.setState({prizeName:n[0].prize_name})}a.setState({isAddress:!0})},a.successBindAddress=function(){a.setState({isAddress:!1});var e=a.state,t=e.teams,n=e.splitInfo,s=a.fetchCurrentTeamId(t),i=t.map(function(e){return e.id==s?Object.assign({},e,{bind_address:!1}):e});a.setState({teams:i,splitInfo:Object.assign({},n,{bind_address:!1})})},a.fetchMyTreasure=function(){E.e.get("".concat(API.home,"/sys/treasure/my")).then(function(e){var t=e.data,n=t.code,s=t.data;200===n&&(a.setState({rule:s.rule}),Array.isArray(s.team)&&s.team.length>0?(a.initNoSplitInfo(s.team),a.judgeIsHaveId(s.team),a.isShowBindPhone(s.team),a.initPrizeName(s.team),a.setState({isEmpty:!1,teams:s.team})):a.setState({isEmpty:!0}))})},a.initNoSplitInfo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.length>0&&a.setState({ids:e.filter(function(e){return!e.is_open&&2===e.status}).map(function(e){return{team_num:e.team_num,owner_uid:e.captain_uid}})})},a.fetchActivityStatus=function(){E.e.get("".concat(API.home,"/activity/stage")).then(function(e){var t=e.data,n=t.code,s=t.data;if(200===n){if(0===Number(s.treasure_stage))return void a.props.history.push("/");0===s.treasure_stage&&a.startCountDown(),a.setState({isEnd:0===s.treasure_stage,treasureTime:s.treasure_stop_date})}})},a.startCountDown=function(){var e=a.props.history,t=a.state.seconds;a.timer&&clearInterval(a.timer),a.setState({seconds:t--}),a.timer=setInterval(function(){a.setState({seconds:t--}),0===t&&(a.setState({seconds:0}),clearInterval(a.timer),Object(E.c)("version")?e.push("/year/yearIndex?version=".concat(Object(E.c)("version"))):e.push("/year/yearIndex"))},1e3)},a.handleToInvite=function(e){a.props.history;Object(E.c)("version")?window.location.assign("https://h5.julyedu.com/box/landing?treasure_code=".concat(e,"&origin=1&version=").concat(Object(E.c)("version"))):window.location.assign("https://h5.julyedu.com/box/landing?treasure_code=".concat(e,"&origin=1"))},a.toOrganizeTeam=function(){var e=a.props,t=e.history,n=e.userInfo.uid;""===(void 0===n?"":n)?t.push("/passport"):E.e.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,n=t.code,s=t.data;if(200===n){var i=[];i[0]=s,a.setState({isEmpty:!1,teams:i,isCreate:!0,createInfo:s})}})},a.toComposeCoupon=function(){var e=a.props.history;Object(E.c)("version")?Object(E.a)("toCoupon"):e.push("/coupons/my-patch")},a.toUseCoupon=function(e){var t=a.props.history;Object(E.c)("version")?Object(E.a)("toCourse",e):t.push("/detail?id=".concat(e))},a.toCourseList=function(){var e=a.props.history;Object(E.c)("version")?Object(E.a)("toQualityCourse"):e.push("/classify")},a.toFecthMoney=function(){var e=a.props.history;Object(E.c)("version")?Object(E.a)("toAccount"):e.push("/scholarship")},a.handleToHideWindow=function(e){var t={};t[e]=!1,a.setState(t)},a.state={isEnd:!1,isEmpty:!1,seconds:3,teams:[],ids:[],bindInfo:{},isPhone:!1,isAddress:!1,isConfirm:!1,confirmInfo:{},isSplit:!1,isCreate:!1,createInfo:{},prizeName:"",treasureTime:""},a}return Object(c.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.fetchMyTreasure(),this.fetchActivityStatus(),document.title="AI\u5c31\u4e1a\u5b63\uff0c\u5f00\u5b9d\u7bb1\u514d\u8d39\u62ffVIP\u5e74\u4f1a\u5458\uff0c200\u672c\u7a0b\u5e8f\u5458\u5fc5\u5907\u7eb8\u8d28\u4e66\u514d\u8d39\u5305\u90ae\u9001\uff01- \u4e03\u6708\u5728\u7ebf"}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.history;e.userInfo.uid?this.fetchMyTreasure():t.push("/passport")}},{key:"render",value:function(){var e=this,t=this.props,a=t.history,n=t.userInfo,s=t.country,i=this.state,r=i.isEnd,o=i.isEmpty,c=i.seconds,l=i.teams,d=i.ids,b=i.isPhone,v=i.isAddress,T=i.isConfirm,C=i.isSplit,I=i.splitInfo,O=void 0===I?{}:I,S=i.confirmInfo,k=S.params,P=void 0===k?{}:k,B=S.bindInfo,A=void 0===B?{}:B,w=i.isCreate,z=i.createInfo,M=i.prizeName,F=i.rule,H=i.treasureTime;return m.a.createElement("div",{"data-skip":"treasure"},!E.b.isAndroidApp&&!E.b.isIOSApp&&m.a.createElement(u.e,{title:"\u6211\u7684\u5b9d\u7bb1",arrow:!0}),r&&m.a.createElement("div",{className:"team-empty"},m.a.createElement("p",{className:"activity-end__desc"},"\u6d3b\u52a8\u5df2\u7ed3\u675f",m.a.createElement("br",null),c,"s\u540e\u5c06\u81ea\u52a8\u8fd4\u56de\u9996\u9875")),!r&&o&&m.a.createElement("div",{className:"team-empty"},m.a.createElement("i",{className:"team-empty__icon"}),m.a.createElement("p",{className:"team-empty__desc"},"\u60a8\u5f53\u524d\u8fd8\u6ca1\u6709\u5b9d\u7bb1\u54e6~"),m.a.createElement("p",{className:"team-empty__desc"},"\u5feb\u53bb\u7ec4\u961f\u9080\u8bf7\u597d\u53cb\u4e00\u8d77\u5f00\u5b9d\u7bb1\u5427\uff01"),m.a.createElement("button",{className:"team-empty__button",onClick:this.toOrganizeTeam},"\u7ec4\u961f\u5f00\u5b9d\u7bb1")),!r&&!o&&n.uid&&m.a.createElement("div",{className:"treasure-content"},l.map(function(t,s){return m.a.createElement(y,{data:t,key:s,userInfo:n,history:a,splitInstance:e.splitInstance,toSplitTreasure:function(){return e.toSplitTreasure({team_num:t.team_num,owner_uid:t.captain_uid})}},m.a.createElement(N,{data:{bind_phone:t.bind_phone,bind_address:t.bind_address,prize_type:t.prize_type},handleToBindPhone:e.handleToBindPhone,handleToBindAddress:function(){return e.handleToBindAddress(t.id)},toComposeCoupon:e.toComposeCoupon,toUseCoupon:function(){return e.toUseCoupon(t.prize_data)},toCourseList:e.toCourseList,toFecthMoney:e.toFecthMoney}))}),m.a.createElement(j,{visible:C,handleToHide:function(){return e.handleToHideWindow("isSplit")}},m.a.createElement(g,{ids:d,data:O,handleToInvite:function(){return e.handleToInvite(O.treasure_code)},handleToBindPhone:this.handleToBindPhone,handleToBindAddress:this.handleToBindAddress,successSplitTreasure:this.successSplitTreasure},m.a.createElement(N,{data:O,handleToBindPhone:this.handleToBindPhone,handleToBindAddress:this.handleToBindAddress,toComposeCoupon:this.toComposeCoupon,toUseCoupon:function(){return e.toUseCoupon(O.prize_data)},toCourseList:this.toCourseList,toFecthMoney:this.toFecthMoney}))),m.a.createElement(j,{visible:b,className:"popup-bind-phone",handleToHide:function(){return e.handleToHideWindow("isPhone")}},m.a.createElement(h.a,{history:a,country:s,hideBindPhone:function(){return e.handleToHideWindow("isPhone")},handleToConfirmPhone:this.handleToConfirmPhone,successBindPhone:this.successBindPhone,desc:m.a.createElement(m.a.Fragment,null,m.a.createElement("p",{className:"phone-treasure__desc"},"\u606d\u559c\u60a8\u83b7\u5f97 ",M),m.a.createElement("p",{className:"phone-treasure__notice"},"\u4e3a\u4e86\u60a8\u7684\u8d26\u6237\u5b89\u5168\uff0c\u8bf7\u4e8e",H,"\u524d\u7ed1\u5b9a\u624b\u673a\u53f7\uff0c\u8fc7\u671f\u5c06\u5931\u6548"))})),m.a.createElement(j,{visible:T,handleToHide:function(){return e.handleToHideWindow("isConfirm")}},m.a.createElement(f.a,{data:P,bindInfo:A,handleToCancle:function(){return e.handleToHideWindow("isConfirm")},successBindPhone:this.successBindPhone})),m.a.createElement(j,{visible:v,className:"popup-bind-address",handleToHide:function(){return e.handleToHideWindow("isAddress")}},m.a.createElement(p.a,{skip:"year",tip:m.a.createElement(m.a.Fragment,null,m.a.createElement("p",{className:"address-treasure__desc"},"\u606d\u559c\u60a8\u83b7\u5f97 ",M),m.a.createElement("p",{className:"address-treasure__notice"},"\u8bf7\u53ca\u65f6\u586b\u5199/\u786e\u8ba4\u6536\u8d27\u4fe1\u606f\uff0c\u6d3b\u52a8\u7ed3\u675f\u540e\u7edf\u4e00\u90ae\u5bc4")),successBindAddress:this.successBindAddress})),m.a.createElement(j,{visible:w,handleToHide:function(){return e.handleToHideWindow("isCreate")}},m.a.createElement(_,{data:z,handleToInvite:function(){e.handleToInvite(z.treasure_code),e.handleToHideWindow("isCreate")}}))),F&&m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"activity-rule__header"},m.a.createElement("i",{className:"activity-rule__decorate"}),m.a.createElement("h2",{className:"activity-rule__title"},"\u6d3b\u52a8\u89c4\u5219"),m.a.createElement("i",{className:"activity-rule__decorate"})),m.a.createElement("div",{className:"activity-rule__body",dangerouslySetInnerHTML:{__html:F}})))}}]),t}(l.Component))||n);t.default=O},596:function(e,t,a){"use strict";a(37);var n=a(10),s=a.n(n),i=a(18),r=a(3),o=a(5),c=a(4),l=a(6),m=a(7),d=a(0),u=a.n(d),p=a(2),h=a(16),f=(a(597),function(e){function t(e){var a;return Object(r.a)(this,t),(a=Object(c.a)(this,Object(l.a)(t).call(this,e))).fetchUserAddress=function(){var e=a.state.addressInfo;p.e.get("".concat(API.home,"/sys/user_address_info")).then(function(t){var n=t.data,s=n.code,i=n.data;n.msg;200===s&&a.setState({addressInfo:Object.assign({},e,{name:i.name,phone:i.phone,address:i.address}),isLoading:!0})})},a.handleToSubmit=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a.props.successBindAddress;p.e.post("".concat(API.home,"/sys/update_address"),Object(i.a)({act_type:"treasure"},e)).then(function(e){var a=e.data,n=a.code,i=a.msg;200===n?t():s.a.info(i,2,null,!1)})},a.state={isLoading:!1,addressInfo:{name:"",phone:"",address:""}},a}return Object(m.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.fetchUserAddress()}},{key:"render",value:function(){var e=this,t=this.state,a=t.isLoading,n=t.addressInfo,s=this.props,r=s.tip,o=s.prize,c=s.skip,l=void 0===c?"default":c;return u.a.createElement(u.a.Fragment,null,a&&u.a.createElement(h.d,{initialValues:Object(i.a)({},n),validate:function(e){var t=e.name,a=e.phone,n=e.address,s={};return t||(s.name="\u8bf7\u8f93\u5165\u6536\u4ef6\u4eba"),/^1[3-9]\d{9}$/.test(a)||(s.phone="\u8bf7\u586b\u5199\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7"),n||(s.address="\u8bf7\u8f93\u5165\u6536\u8d27\u5730\u5740"),s},validateOnBlur:!1,validateOnChange:!1,onSubmit:function(t){e.handleToSubmit(t)},render:function(e){var t=e.errors;return u.a.createElement(h.c,{className:"address-form","data-skip":l},u.a.createElement("h2",{className:"address-form__title"},"\u6536\u8d27\u4fe1\u606f"),o?u.a.createElement("p",{className:"address__prize"},"\u60a8\u62bd\u4e2d\u4e86",u.a.createElement("span",{style:{color:"#FF4000"}},o)):null,r?u.a.createElement("div",{className:"address-form__subtitle"},r):u.a.createElement("p",{className:"address-form__desc"},"\u8bf7\u53ca\u65f6\u586b\u5199\u6536\u8d27\u4fe1\u606f\uff0c\u83b7\u5f97\u5b9e\u7269\u5956\u54c1\u540e\u5c06\u7b2c\u4e00\u65f6\u95f4\u4e3a\u60a8\u90ae\u5bc4"),u.a.createElement(h.b,{name:"name",render:function(e){var a=e.field;return u.a.createElement("div",{className:"address-form__item"},u.a.createElement("input",Object.assign({},a,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u4ef6\u4eba"})),t.name&&u.a.createElement("p",{className:"address-form__tip"},t.name))}}),u.a.createElement(h.b,{name:"phone",render:function(e){var a=e.field;return u.a.createElement("div",{className:"address-form__item"},u.a.createElement("input",Object.assign({},a,{className:"address-form__ipt",type:"text",placeholder:"\u8054\u7cfb\u65b9\u5f0f"})),t.phone&&u.a.createElement("p",{className:"address-form__tip"},t.phone))}}),u.a.createElement(h.b,{name:"address",render:function(e){var a=e.field;return u.a.createElement("div",{className:"address-form__item"},u.a.createElement("input",Object.assign({},a,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u8d27\u5730\u5740"})),t.address&&u.a.createElement("p",{className:"address-form__tip"},t.address))}}),u.a.createElement("button",{className:"address-form__submit","data-status":"do",type:"submit"},"\u63d0\u4ea4"))}}))}}]),t}(d.Component));t.a=f},597:function(e,t,a){},598:function(e,t,a){"use strict";var n=a(18),s=(a(37),a(10)),i=a.n(s),r=a(3),o=a(5),c=a(4),l=a(6),m=a(7),d=a(0),u=a.n(d),p=a(16),h=a(38),f=a(142),_=a(2),b=(a(599),function(e){function t(e){var a;return Object(r.a)(this,t),a=Object(c.a)(this,Object(l.a)(t).call(this,e)),a.captchaInstance=null,a.initCountryInfo=function(){var e=a.props.country;a.setState({country:e})},a.toFetchCountryNum=function(){var e=a.props,t=e.history;(0,e.hideBindPhone)(),t.push("/country?from=bind")},a.getCaptchaInstance=function(e){a.captchaInstance=e},a.onVerify=function(e){a.setState({validate:!0,validationData:e})},a.handleToSend=function(e){var t=e.tel,s=(e.code,a.state),r=s.validate,o=s.seconds,c=s.validationData,l=s.isFirst,m=s.isTimer,d=s.country.num,u=void 0===d?"86":d;if(r){if(!l)return i.a.info("\u8bf7\u91cd\u65b0\u8fdb\u884c\u6ed1\u5757\u9a8c\u8bc1",2,null,!1),a.captchaInstance.reset(),void a.setState({isFirst:!0});m||(t?/^\d+$/.test(t)?_.e.post("".concat(API["passport-api"],"/m/personal/bindPhoneSendCode"),Object(n.a)({area_code:"00".concat(u),phone_num:t},c)).then(function(e){var t=e.data,n=t.errno,s=t.msg;200===n?(i.a.info("\u9a8c\u8bc1\u7801\u53d1\u9001\u6210\u529f",2,null,!1),a.timer=window.setInterval(function(){o<=0?(window.clearInterval(a.timer),a.setState({isTimer:!1,seconds:60})):a.setState({isTimer:!0,seconds:--o})},1e3),a.setState({isFirst:!1})):i.a.info(s,2,null,!1)}):i.a.info("\u8bf7\u8f93\u5165\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7\u7801",2,null,!1):i.a.info("\u624b\u673a\u53f7\u7801\u4e0d\u80fd\u4e3a\u7a7a",2,null,!1))}return!1},a.toBindPhone=function(){var e=a.state,t=e.accountInfo,s=t.tel,r=t.code,o=e.country.num,c=void 0===o?"86":o,l=a.props,m=l.handleToConfirmPhone,d=l.successBindPhone,u={area_code:"00".concat(c),mobile:s,code:r,act_type:"treasure"};_.e.post("".concat(API.home,"/sys/v2/user/bindMobile"),Object(n.a)({},u,{type:1,is_valid:1})).then(function(e){var t=e.data,a=t.code,n=t.data,s=t.msg;200===a?n.tip_info?m(u,n.tip_info):d():i.a.info(s,2,null,!1)})},a.state={validate:"",seconds:60,isFirst:!0,timer:null,isTimer:!1,accountInfo:{},bindInfo:{},country:{num:"86"},validationData:null},a}return Object(m.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.initCountryInfo()}},{key:"render",value:function(){var e=this,t=this.props,a=t.desc,s=t.skip,i=void 0===s?"year":s,r=this.state,o=r.country,c=r.validate,l=r.isTimer,m=r.seconds;return u.a.createElement(p.d,{initialValues:{tel:"",code:""},validate:function(e){var t=e.tel,a=e.code,n={};return/^\d+$/.test(t)||(n.tel="\u8bf7\u586b\u5199\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7"),/[0-9]{6}/.test(a)||(n.code="\u8bf7\u8f93\u5165\u9a8c\u8bc1\u7801"),n},onSubmit:function(t,a){a.setStatus,a.setSubmitting;e.setState({accountInfo:Object(n.a)({},t)}),e.toBindPhone()},render:function(t){var n=t.values,s=n.tel,r=n.code,d=t.errors;return u.a.createElement(p.c,{className:"popup-form","data-skip":i},u.a.createElement("h2",{className:"popup-form__title"},"\u7ed1\u5b9a\u624b\u673a\u53f7"),a&&u.a.createElement("div",{className:"poup-form__desc"},a),u.a.createElement("div",{className:"popup-form__item"},u.a.createElement("a",{className:"popup-form__button--num",onClick:e.toFetchCountryNum},"+",o.num,u.a.createElement("i",{className:"iconfont iconiconfront-69"})),u.a.createElement(p.b,{name:"tel",render:function(e){var t=e.field;return u.a.createElement("input",Object.assign({},t,{className:"popup-form__ipt","data-type":"tel",type:"text",placeholder:"\u8bf7\u586b\u5199\u624b\u673a\u53f7"}))}})),u.a.createElement(f.a,{getInstance:e.getCaptchaInstance,onVerify:e.onVerify,mb:15}),u.a.createElement("div",{className:"popup-form__item"},u.a.createElement(p.b,{name:"code",render:function(e){var t=e.field;return u.a.createElement("input",Object.assign({},t,{className:"popup-form__ipt popup-form__ipt--left",type:"text",placeholder:"\u8f93\u5165\u9a8c\u8bc1\u7801"}))}}),u.a.createElement("button",{className:"popup-form__button--code","data-status":c&&!l?"do":"",type:"button",onClick:function(){return e.handleToSend({tel:s,code:r})}},l?"\u91cd\u65b0\u53d1\u9001".concat(m,"s"):"\u53d1\u9001\u9a8c\u8bc1\u7801")),u.a.createElement("button",{className:"popup-form__button--bundle","data-status":s&&r&&Object(h.isEmpty)(d)?"do":"done",type:"submit"},"\u5b8c\u6210\u7ed1\u5b9a"))}})}}]),t}(d.Component));t.a=b},599:function(e,t,a){},600:function(e,t,a){"use strict";a(37);var n=a(10),s=a.n(n),i=a(18),r=a(3),o=a(5),c=a(4),l=a(6),m=a(7),d=a(0),u=a.n(d),p=a(2),h=(a(601),function(e){function t(){var e,a;Object(r.a)(this,t);for(var n=arguments.length,o=new Array(n),m=0;m<n;m++)o[m]=arguments[m];return(a=Object(c.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(o)))).continueBindPhone=function(){var e=a.props,t=e.data,n=e.successBindPhone;p.e.post("".concat(API.home,"/sys/v2/user/bindMobile"),Object(i.a)({},t,{type:1,is_valid:0})).then(function(e){var t=e.data,a=t.code,i=t.msg;200===a?n():s.a.info(i,2,null,!1)})},a}return Object(m.a)(t,e),Object(o.a)(t,[{key:"render",value:function(){var e=this.props,t=e.bindInfo,a=void 0===t?{}:t,n=e.desc,s=e.skip,i=void 0===s?"year":s,r=e.handleToCancle;return u.a.createElement("div",{className:"popup-bind","data-skip":i},u.a.createElement("h2",{className:"popup-bind__title"},"\u7ed1\u5b9a\u624b\u673a\u53f7"),n?u.a.createElement("div",{className:"popup-bind__desc"},n):u.a.createElement("p",{className:"popup-bind__desc"},"\u8be5\u624b\u673a\u53f7\u5df2\u7ed1\u5b9a\u5230\u4ee5\u4e0b\u8d26\u53f7\uff0c\u7ee7\u7eed\u7ed1\u5b9a\u5c06\u89e3\u9664\u4ee5\u4e0b\u7ed1\u5b9a\u72b6\u6001"),u.a.createElement("ul",{className:"popup-bind__list"},a.email&&u.a.createElement("li",{className:"popup-bind__account"},u.a.createElement("i",{className:"popup-bind__icon","data-plat":"mail"}),u.a.createElement("p",{className:"popup-bind__account--name"},a.email)),a.wechat_nickname&&u.a.createElement("li",{className:"popup-bind__account"},u.a.createElement("i",{className:"popup-bind__icon","data-plat":"wachat"}),u.a.createElement("p",{className:"popup-bind__account--name"},a.wechat_nickname)),a.qq_nickname&&u.a.createElement("li",{className:"popup-bind__account"},u.a.createElement("i",{className:"popup-bind__icon","data-plat":"qq"}),u.a.createElement("p",{className:"popup-bind__account--name"},a.qq_nickname)),a.sina_nickname&&u.a.createElement("li",{className:"popup-bind__account"},u.a.createElement("i",{className:"popup-bind__icon","data-plat":"sina"}),u.a.createElement("p",{className:"popup-bind__account--name"},a.sina_nickname))),u.a.createElement("div",{className:"popup-bind__footer"},u.a.createElement("button",{className:"popup-bind__button popup-bind__button--cancle",onClick:r},"\u53d6\u6d88"),u.a.createElement("button",{className:"popup-bind__button popup-bind__button--confirm",onClick:this.continueBindPhone},"\u7ee7\u7eed\u7ed1\u5b9a")))}}]),t}(d.Component));t.a=h},601:function(e,t,a){}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[43],{1096:function(e,t,a){},1097:function(e,t,a){},1098:function(e,t,a){},1099:function(e,t,a){},1100:function(e,t,a){},1101:function(e,t,a){},1186:function(e,t,a){"use strict";a.r(t);var n,s=a(3),i=a(5),r=a(4),o=a(6),c=a(7),l=a(0),m=a.n(l),d=a(20),u=a(23),p=a(596),h=a(598),f=a(600),_=(a(1096),function(e){console.log(e);var t=e.data,a=t.team_num,n=void 0===a?1:a,s=t.lack_member,i=void 0===s?4:s,r=t.member,o=void 0===r?[]:r,c=e.handleToInvite,l=new Array(5).fill({});return m.a.createElement("div",{className:"team-success"},m.a.createElement("h2",{className:"team-success__title"},"\u521b\u5efa\u6210\u529f"),m.a.createElement("p",{className:"team-success__tip"},m.a.createElement("span",null,n),"\u53f7\u961f\u4f0d \u8fd8\u5dee",m.a.createElement("span",null,i),"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6~"),m.a.createElement("i",{className:"team-success__icon"}),m.a.createElement("ul",{className:"team-success__member members"},l.map(function(e,t){var a=o[t];return m.a.createElement("li",{className:"member-item",key:t},a&&a.is_captain&&m.a.createElement("sup",{className:"member-item__captain"},"\u961f\u957f"),m.a.createElement("img",{className:"member-item__avatar",src:a?a.head_img:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png",alt:""}))})),m.a.createElement("button",{type:"button",className:"team-success__button",onClick:c},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d"))}),b=a(17),v=a.n(b),E=(a(1097),a(2)),y=function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(r.a)(this,Object(o.a)(t).call(this,e))).initMemberInfo=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a.props,n=t.data,s=t.userInfo,i="{}"!==JSON.stringify(e)?e:n,r=i.member,o=r.length-5;o<0;o++)r.push({});a.setState({team:Object.assign({},i,{member:r}),currentMember:s.uid?r.filter(function(e){return e.uid==s.uid})[0]:{}})},a.computedClass=function(e){var t=a.props.data.is_open,n=a.state.currentMember;return v()("team-member__item",{active:e===n.uid&&t})},a.computedBg=function(e){return e?{backgroundImage:"url(".concat(e,")")}:{}},a.toCheckPrize=function(e){var t=a.state.team,n=t.is_open,s=t.member;if(n){var i=(void 0===s?[]:s).filter(function(t){return t.uid===e});a.setState({currentMember:i[0]})}},a.state={team:{},currentMember:{}},a}return Object(c.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.initMemberInfo()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.data,a=e.data;a.is_open!=t.is_open&&this.initMemberInfo(a)}},{key:"render",value:function(){var e=this,t=this.state,a=t.team,n=a.is_captain,s=a.status,i=a.team_num,r=a.lack_member,o=a.is_open,c=a.treasure_code,l=a.member,d=void 0===l?[]:l,u=t.currentMember,p=this.props,h=p.toSplitTreasure,f=p.userInfo,_=p.children;return m.a.createElement("div",{className:"team-container","data-skip":"team"},!n&&m.a.createElement("i",{className:"team-friend"},"\u53cb"),1===s?m.a.createElement("i",{className:"team-status"},"\u7ec4\u961f\u4e2d.."):m.a.createElement("i",{className:"team-decorate"}),n?m.a.createElement("h2",{className:"team-title"},i,"\u53f7\u961f\u4f0d"):m.a.createElement("h2",{className:"team-title"},"\u597d\u53cb\u961f\u4f0d"),1===s?m.a.createElement("p",{className:"team-desc"},"\u8fd8\u5dee",r,"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6\uff5e"):m.a.createElement("p",{className:"team-desc"},"\u7ec4\u961f\u6210\u529f"),m.a.createElement("div",{className:"team-member"},d.map(function(t,a){return m.a.createElement("div",{className:e.computedClass(t.uid),onClick:function(){return e.toCheckPrize(t.uid)},key:a,style:e.computedBg(t.head_img)},t.is_captain&&m.a.createElement("span",{className:"team-member__captain"},"\u961f\u957f"))})),m.a.createElement("div",{className:"team-footer","data-layout":o?"column":"row"},1===s&&m.a.createElement(m.a.Fragment,null,Object(E.c)("version")?n?m.a.createElement("a",{className:"team-button",href:"https://h5.julyedu.com/box/landing?treasure_code=".concat(c,"&origin=1&version=").concat(Object(E.c)("version"))},"\u7ee7\u7eed\u9080\u8bf7\u961f\u53cb"):m.a.createElement("a",{className:"team-button",href:"https://h5.julyedu.com/box/landing?treasure_code=".concat(c,"&origin=2&version=").concat(Object(E.c)("version"))},"\u5e2e\u597d\u53cb\u5b8c\u6210\u7ec4\u961f"):n?m.a.createElement("a",{className:"team-button",href:"https://h5.julyedu.com/box/landing?treasure_code=".concat(c,"&origin=1")},"\u7ee7\u7eed\u9080\u8bf7\u961f\u53cb"):m.a.createElement("a",{className:"team-button",href:"https://h5.julyedu.com/box/landing?treasure_code=".concat(c,"&origin=2")},"\u5e2e\u597d\u53cb\u5b8c\u6210\u7ec4\u961f")),2===s&&!o&&m.a.createElement(m.a.Fragment,null,m.a.createElement("span",{className:"team-icon","data-direction":"left"}),m.a.createElement("span",{className:"team-button--split",onClick:h}),m.a.createElement("span",{className:"team-icon","data-direction":"right"})),2===s&&o&&m.a.createElement(m.a.Fragment,null,u.prize_name?m.a.createElement("p",{className:"team-prize"},u.prize_name):m.a.createElement("p",{className:"team-prize"},"\u5c1a\u672a\u5f00\u5b9d\u7bb1"),u.uid==f.uid?_:null)))}}]),t}(l.Component),N=(a(1098),function(e){var t=e.data,a=t.bind_phone,n=t.bind_address,s=t.prize_type,i=e.handleToBindPhone,r=e.handleToBindAddress,o=e.toComposeCoupon,c=e.toUseCoupon,l=e.toCourseList,d=e.toFecthMoney;return m.a.createElement(m.a.Fragment,null,a&&m.a.createElement("a",{className:"team-result",onClick:i},m.a.createElement("span",null,"\u7ed1\u5b9a\u624b\u673a\u53f7")),!a&&n&&m.a.createElement("a",{className:"team-result",onClick:r},m.a.createElement("span",null,"\u67e5\u770b/\u4fee\u6539\u6536\u8d27\u4fe1\u606f")),!a&&!n&&1===s&&m.a.createElement("a",{className:"team-result",onClick:r},m.a.createElement("span",null,"\u67e5\u770b/\u4fee\u6539\u6536\u8d27\u4fe1\u606f")),!a&&!n&&6===s&&m.a.createElement("a",{className:"team-result",onClick:o},"\u53ef\u5408\u6210\u4ee3\u91d1\u5238\u5728\u8d2d\u8bfe\u65f6\u4f7f\u7528\uff0c",m.a.createElement("span",null,"\u53bb\u5408\u6210")),!a&&!n&&3===s&&m.a.createElement("a",{className:"team-result",onClick:c},"\u5df2\u53d1\u653e\u81f3\u60a8\u7684\u8d26\u6237\uff0c",m.a.createElement("span",null,"\u53bb\u4f7f\u7528")),!a&&!n&&4===s&&m.a.createElement("a",{className:"team-result",onClick:l},"\u5df2\u53d1\u653e\u81f3\u60a8\u7684\u8d26\u6237\uff0c",m.a.createElement("span",null,"\u53bb\u4f7f\u7528")),!a&&!n&&7===s&&m.a.createElement("a",{className:"team-result",onClick:d},"\u5df2\u5b58\u5165\u60a8\u7684\u8d26\u6237\uff0c",m.a.createElement("span",null,"\u53bb\u63d0\u73b0")),!a&&!n&&2===s&&m.a.createElement("a",{className:"team-result"},"\u5df2\u53d1\u653e\u81f3\u60a8\u7684\u8d26\u6237"),!a&&!n&&5===s&&m.a.createElement("a",{className:"team-result"},"\u65e0\u6cd5\u9886\u53d6\u8bf7\u6dfb\u52a0\u5fae\u4fe1\uff1ajulyedukefu10"))}),g=(a(1099),function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,i=new Array(n),c=0;c<n;c++)i[c]=arguments[c];return(a=Object(r.a)(this,(e=Object(o.a)(t)).call.apply(e,[this].concat(i)))).computedBg=function(e){return e?{backgroundImage:"url(".concat(e,")")}:{}},a.continueSplitTreasure=function(){var e=a.props,t=e.ids,n=e.successSplitTreasure,s=e.handleToBindPhone,i=e.handleToBindAddress,r=t[0];E.e.post("".concat(API.home,"/sys/split_treasure"),r).then(function(e){var t=e.data,a=t.code,r=t.data;200===a?(n(r),r.bind_phone?setTimeout(function(){s(r.id)},500):r.bind_address&&setTimeout(function(){i(r.id,r.prize_name)},500)):12e3===a?s():12001===a&&i()})},a}return Object(c.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){var e=this,t=this.props,a=t.ids,n=t.data,s=n.member,i=void 0===s?[]:s,r=n.prize_img,o=n.prize_name,c=t.handleToInvite,l=t.children;return m.a.createElement("div",{"data-skip":"split"},m.a.createElement("h2",{className:"split-success__title"},"\u606d\u559c\u4f60\u83b7\u5f97"),m.a.createElement("div",{className:"split-success__image"},m.a.createElement("img",{src:r,alt:""})),m.a.createElement("p",{className:"split-success__prize"},o),l,m.a.createElement("div",{className:"split-success__member"},i.map(function(t,a){return m.a.createElement("div",{className:"member-item",key:a},m.a.createElement("span",{className:"member-item__avatar",style:e.computedBg(t.avatar)},t.is_captain&&m.a.createElement("i",{className:"member-item__captain"},"\u961f\u957f")),t.prize?m.a.createElement("span",{className:"member-item__prize"},t.prize):m.a.createElement("span",{className:"member-item__prize"},"\u5c1a\u672a\u5f00\u5b9d\u7bb1"))})),a.length>0?m.a.createElement("button",{className:"split-success__jump",onClick:this.continueSplitTreasure},"\u7ee7\u7eed\u5f00\u5b9d\u7bb1"):m.a.createElement("button",{className:"split-success__jump",onClick:c},"\u7ee7\u7eed\u7ec4\u961f\u5f00\u5b9d\u7bb1"))}}]),t}(l.Component)),T=a(21),C=a.n(T),I=(a(1100),document.querySelector("body")),j=function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(r.a)(this,Object(o.a)(t).call(this,e))).el||(a.el=document.createElement("div")),a}return Object(c.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){I.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){I.removeChild(this.el)}},{key:"render",value:function(){var e=this.props,t=e.visible,a=e.handleToHide,n=e.className;return t?C.a.createPortal(m.a.createElement("div",{className:"mask"},m.a.createElement("div",{className:v()("mask-content",n)},this.props.children),m.a.createElement("div",{className:"mask-footer"},m.a.createElement("i",{className:"mask-button__close",onClick:a}))),this.el):null}}]),t}(l.Component),O=(a(1101),Object(d.b)(function(e){return{country:e.country,userInfo:e.user.data}})(n=function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(r.a)(this,Object(o.a)(t).call(this,e))).popupInstance=null,a.initPrizeName=function(e){var t=a.fetchCurrentTeamId(e),n=e.filter(function(e){return e.id==t});n.length>0&&a.setState({prizeName:n[0].prize_name})},a.judgeIsHaveId=function(e){var t=Object(E.c)("id");if(t){var n=e.filter(function(e){return e.id==t});if(n.length>0){var s={team_num:n[0].team_num,owner_uid:n[0].captain_uid};a.toSplitTreasure(s)}}},a.fetchCurrentTeamId=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter(function(e){return e.is_open&&(e.bind_phone||e.bind_address)});return e.length>0?e[0].id:""},a.isShowBindPhone=function(e){if(a.props.country.from){var t=a.fetchCurrentTeamId(e);a.handleToBindPhone(t)}},a.handleToBindPhone=function(e){a.setState({isPhone:!0})},a.handleToConfirmPhone=function(e,t){a.handleToHideWindow("isPhone"),a.setState({confirmInfo:{params:e,bindInfo:t},isConfirm:!0})},a.successBindPhone=function(){a.setState({isPhone:!1,isConfirm:!1});var e=a.state,t=e.teams,n=e.splitInfo,s=a.fetchCurrentTeamId(t),i=t.map(function(e){return e.id==s?(e.bind_address&&a.handleToBindAddress(),Object.assign({},e,{bind_phone:!1})):e});a.setState({teams:i,splitInfo:Object.assign({},n,{bind_phone:!1})})},a.toSplitTreasure=function(e){E.e.post("".concat(API.home,"/sys/split_treasure"),e).then(function(e){var t=e.data,n=t.code,s=t.data;200===n?(a.showSuccessSplit(s),a.successSplitTreasure(s),s.bind_phone?setTimeout(function(){a.handleToBindPhone(s.id)},500):s.bind_address&&setTimeout(function(){a.handleToBindAddress(s.id,s.prize_name)},500)):12e3===n?a.handleToBindPhone():12001===n&&a.handleToBindAddress()})},a.successSplitTreasure=function(e){var t=a.props.userInfo,n=a.state.teams.map(function(a){return a.id==e.id?Object.assign({},a,{bind_phone:e.bind_phone,bind_address:e.bind_address,is_open:!0,prize_type:e.prize_type,prize_data:e.prize_data,member:a.member.map(function(a){return a.uid==t.uid?Object.assign({},a,{is_open:!0,prize_name:e.prize_name}):a})}):a});a.initNoSplitInfo(n),a.setState({teams:n,splitInfo:e,prizeName:e.prize_name})},a.showSuccessSplit=function(e){a.setState({isSplit:!0,splitInfo:e})},a.handleToBindAddress=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(e)if(t)a.setState({prizeName:t});else{var n=a.state.teams.filter(function(t){return t.id==e});n.length>0&&a.setState({prizeName:n[0].prize_name})}a.setState({isAddress:!0})},a.successBindAddress=function(){a.setState({isAddress:!1});var e=a.state,t=e.teams,n=e.splitInfo,s=a.fetchCurrentTeamId(t),i=t.map(function(e){return e.id==s?Object.assign({},e,{bind_address:!1}):e});a.setState({teams:i,splitInfo:Object.assign({},n,{bind_address:!1})})},a.fetchMyTreasure=function(){E.e.get("".concat(API.home,"/sys/treasure/my")).then(function(e){var t=e.data,n=t.code,s=t.data;200===n&&(a.setState({rule:s.rule}),Array.isArray(s.team)&&s.team.length>0?(a.initNoSplitInfo(s.team),a.judgeIsHaveId(s.team),a.isShowBindPhone(s.team),a.initPrizeName(s.team),a.setState({isEmpty:!1,teams:s.team})):a.setState({isEmpty:!0}))})},a.initNoSplitInfo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.length>0&&a.setState({ids:e.filter(function(e){return!e.is_open&&2===e.status}).map(function(e){return{team_num:e.team_num,owner_uid:e.captain_uid}})})},a.fetchActivityStatus=function(){E.e.get("".concat(API.home,"/activity/stage")).then(function(e){var t=e.data,n=t.code,s=t.data;if(200===n){if(0===Number(s.treasure_stage))return void a.props.history.push("/");0===s.treasure_stage&&a.startCountDown(),a.setState({isEnd:0===s.treasure_stage,treasureTime:s.treasure_stop_date})}})},a.startCountDown=function(){var e=a.props.history,t=a.state.seconds;a.timer&&clearInterval(a.timer),a.setState({seconds:t--}),a.timer=setInterval(function(){a.setState({seconds:t--}),0===t&&(a.setState({seconds:0}),clearInterval(a.timer),Object(E.c)("version")?e.push("/year/yearIndex?version=".concat(Object(E.c)("version"))):e.push("/year/yearIndex"))},1e3)},a.handleToInvite=function(e){a.props.history;Object(E.c)("version")?window.location.assign("https://h5.julyedu.com/box/landing?treasure_code=".concat(e,"&origin=1&version=").concat(Object(E.c)("version"))):window.location.assign("https://h5.julyedu.com/box/landing?treasure_code=".concat(e,"&origin=1"))},a.toOrganizeTeam=function(){var e=a.props,t=e.history,n=e.userInfo.uid;""===(void 0===n?"":n)?t.push("/passport"):E.e.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,n=t.code,s=t.data;if(200===n){var i=[];i[0]=s,a.setState({isEmpty:!1,teams:i,isCreate:!0,createInfo:s})}})},a.toComposeCoupon=function(){var e=a.props.history;Object(E.c)("version")?Object(E.a)("toCoupon"):e.push("/coupons/my-patch")},a.toUseCoupon=function(e){var t=a.props.history;Object(E.c)("version")?Object(E.a)("toCourse",e):t.push("/detail?id=".concat(e))},a.toCourseList=function(){var e=a.props.history;Object(E.c)("version")?Object(E.a)("toQualityCourse"):e.push("/classify")},a.toFecthMoney=function(){var e=a.props.history;Object(E.c)("version")?Object(E.a)("toAccount"):e.push("/scholarship")},a.handleToHideWindow=function(e){var t={};t[e]=!1,a.setState(t)},a.state={isEnd:!1,isEmpty:!1,seconds:3,teams:[],ids:[],bindInfo:{},isPhone:!1,isAddress:!1,isConfirm:!1,confirmInfo:{},isSplit:!1,isCreate:!1,createInfo:{},prizeName:"",treasureTime:""},a}return Object(c.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.fetchMyTreasure(),this.fetchActivityStatus(),document.title="\u7cbd\u5b50\u8282\uff0c\u5f00\u5b9d\u7bb1\u514d\u8d39\u5b66AI\u8bfe\u7a0b\uff0c\u73b0\u91d1\u7ea2\u5305\uff0c\u4eac\u4e1c\u8d2d\u7269\u5361\u9001\u4e0d\u505c\uff01-\u4e03\u6708\u5728\u7ebf"}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.history;e.userInfo.uid?this.fetchMyTreasure():t.push("/passport")}},{key:"render",value:function(){var e=this,t=this.props,a=t.history,n=t.userInfo,s=t.country,i=this.state,r=i.isEnd,o=i.isEmpty,c=i.seconds,l=i.teams,d=i.ids,b=i.isPhone,v=i.isAddress,T=i.isConfirm,C=i.isSplit,I=i.splitInfo,O=void 0===I?{}:I,S=i.confirmInfo,k=S.params,P=void 0===k?{}:k,B=S.bindInfo,A=void 0===B?{}:B,w=i.isCreate,z=i.createInfo,M=i.prizeName,F=i.rule,H=i.treasureTime;return m.a.createElement("div",{"data-skip":"treasure"},!E.b.isAndroidApp&&!E.b.isIOSApp&&m.a.createElement(u.e,{title:"\u6211\u7684\u5b9d\u7bb1",arrow:!0}),r&&m.a.createElement("div",{className:"team-empty"},m.a.createElement("p",{className:"activity-end__desc"},"\u6d3b\u52a8\u5df2\u7ed3\u675f",m.a.createElement("br",null),c,"s\u540e\u5c06\u81ea\u52a8\u8fd4\u56de\u9996\u9875")),!r&&o&&m.a.createElement("div",{className:"team-empty"},m.a.createElement("i",{className:"team-empty__icon"}),m.a.createElement("p",{className:"team-empty__desc"},"\u60a8\u5f53\u524d\u8fd8\u6ca1\u6709\u5b9d\u7bb1\u54e6~"),m.a.createElement("p",{className:"team-empty__desc"},"\u5feb\u53bb\u7ec4\u961f\u9080\u8bf7\u597d\u53cb\u4e00\u8d77\u5f00\u5b9d\u7bb1\u5427\uff01"),m.a.createElement("button",{className:"team-empty__button",onClick:this.toOrganizeTeam},"\u7ec4\u961f\u5f00\u5b9d\u7bb1")),!r&&!o&&n.uid&&m.a.createElement("div",{className:"treasure-content"},l.map(function(t,s){return m.a.createElement(y,{data:t,key:s,userInfo:n,history:a,splitInstance:e.splitInstance,toSplitTreasure:function(){return e.toSplitTreasure({team_num:t.team_num,owner_uid:t.captain_uid})}},m.a.createElement(N,{data:{bind_phone:t.bind_phone,bind_address:t.bind_address,prize_type:t.prize_type},handleToBindPhone:e.handleToBindPhone,handleToBindAddress:function(){return e.handleToBindAddress(t.id)},toComposeCoupon:e.toComposeCoupon,toUseCoupon:function(){return e.toUseCoupon(t.prize_data)},toCourseList:e.toCourseList,toFecthMoney:e.toFecthMoney}))}),m.a.createElement(j,{visible:C,handleToHide:function(){return e.handleToHideWindow("isSplit")}},m.a.createElement(g,{ids:d,data:O,handleToInvite:function(){return e.handleToInvite(O.treasure_code)},handleToBindPhone:this.handleToBindPhone,handleToBindAddress:this.handleToBindAddress,successSplitTreasure:this.successSplitTreasure},m.a.createElement(N,{data:O,handleToBindPhone:this.handleToBindPhone,handleToBindAddress:this.handleToBindAddress,toComposeCoupon:this.toComposeCoupon,toUseCoupon:function(){return e.toUseCoupon(O.prize_data)},toCourseList:this.toCourseList,toFecthMoney:this.toFecthMoney}))),m.a.createElement(j,{visible:b,className:"popup-bind-phone",handleToHide:function(){return e.handleToHideWindow("isPhone")}},m.a.createElement(h.a,{history:a,country:s,hideBindPhone:function(){return e.handleToHideWindow("isPhone")},handleToConfirmPhone:this.handleToConfirmPhone,successBindPhone:this.successBindPhone,desc:m.a.createElement(m.a.Fragment,null,m.a.createElement("p",{className:"phone-treasure__desc"},"\u606d\u559c\u60a8\u83b7\u5f97 ",M),m.a.createElement("p",{className:"phone-treasure__notice"},"\u4e3a\u4e86\u60a8\u7684\u8d26\u6237\u5b89\u5168\uff0c\u8bf7\u4e8e",H,"\u524d\u7ed1\u5b9a\u624b\u673a\u53f7\uff0c\u8fc7\u671f\u5c06\u5931\u6548"))})),m.a.createElement(j,{visible:T,handleToHide:function(){return e.handleToHideWindow("isConfirm")}},m.a.createElement(f.a,{data:P,bindInfo:A,handleToCancle:function(){return e.handleToHideWindow("isConfirm")},successBindPhone:this.successBindPhone})),m.a.createElement(j,{visible:v,className:"popup-bind-address",handleToHide:function(){return e.handleToHideWindow("isAddress")}},m.a.createElement(p.a,{skip:"year",tip:m.a.createElement(m.a.Fragment,null,m.a.createElement("p",{className:"address-treasure__desc"},"\u606d\u559c\u60a8\u83b7\u5f97 ",M),m.a.createElement("p",{className:"address-treasure__notice"},"\u8bf7\u53ca\u65f6\u586b\u5199/\u786e\u8ba4\u6536\u8d27\u4fe1\u606f\uff0c\u6d3b\u52a8\u7ed3\u675f\u540e\u7edf\u4e00\u90ae\u5bc4")),successBindAddress:this.successBindAddress})),m.a.createElement(j,{visible:w,handleToHide:function(){return e.handleToHideWindow("isCreate")}},m.a.createElement(_,{data:z,handleToInvite:function(){e.handleToInvite(z.treasure_code),e.handleToHideWindow("isCreate")}}))),F&&m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"activity-rule__header"},m.a.createElement("i",{className:"activity-rule__decorate"}),m.a.createElement("h2",{className:"activity-rule__title"},"\u6d3b\u52a8\u89c4\u5219"),m.a.createElement("i",{className:"activity-rule__decorate"})),m.a.createElement("div",{className:"activity-rule__body",dangerouslySetInnerHTML:{__html:F}})))}}]),t}(l.Component))||n);t.default=O},596:function(e,t,a){"use strict";a(37);var n=a(10),s=a.n(n),i=a(18),r=a(3),o=a(5),c=a(4),l=a(6),m=a(7),d=a(0),u=a.n(d),p=a(2),h=a(16),f=(a(597),function(e){function t(e){var a;return Object(r.a)(this,t),(a=Object(c.a)(this,Object(l.a)(t).call(this,e))).fetchUserAddress=function(){var e=a.state.addressInfo;p.e.get("".concat(API.home,"/sys/user_address_info")).then(function(t){var n=t.data,s=n.code,i=n.data;n.msg;200===s&&a.setState({addressInfo:Object.assign({},e,{name:i.name,phone:i.phone,address:i.address}),isLoading:!0})})},a.handleToSubmit=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a.props.successBindAddress;p.e.post("".concat(API.home,"/sys/update_address"),Object(i.a)({act_type:"treasure"},e)).then(function(e){var a=e.data,n=a.code,i=a.msg;200===n?t():s.a.info(i,2,null,!1)})},a.state={isLoading:!1,addressInfo:{name:"",phone:"",address:""}},a}return Object(m.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.fetchUserAddress()}},{key:"render",value:function(){var e=this,t=this.state,a=t.isLoading,n=t.addressInfo,s=this.props,r=s.tip,o=s.prize,c=s.skip,l=void 0===c?"default":c;return u.a.createElement(u.a.Fragment,null,a&&u.a.createElement(h.d,{initialValues:Object(i.a)({},n),validate:function(e){var t=e.name,a=e.phone,n=e.address,s={};return t||(s.name="\u8bf7\u8f93\u5165\u6536\u4ef6\u4eba"),/^1[3-9]\d{9}$/.test(a)||(s.phone="\u8bf7\u586b\u5199\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7"),n||(s.address="\u8bf7\u8f93\u5165\u6536\u8d27\u5730\u5740"),s},validateOnBlur:!1,validateOnChange:!1,onSubmit:function(t){e.handleToSubmit(t)},render:function(e){var t=e.errors;return u.a.createElement(h.c,{className:"address-form","data-skip":l},u.a.createElement("h2",{className:"address-form__title"},"\u6536\u8d27\u4fe1\u606f"),o?u.a.createElement("p",{className:"address__prize"},"\u60a8\u62bd\u4e2d\u4e86",u.a.createElement("span",{style:{color:"#FF4000"}},o)):null,r?u.a.createElement("div",{className:"address-form__subtitle"},r):u.a.createElement("p",{className:"address-form__desc"},"\u8bf7\u53ca\u65f6\u586b\u5199\u6536\u8d27\u4fe1\u606f\uff0c\u83b7\u5f97\u5b9e\u7269\u5956\u54c1\u540e\u5c06\u7b2c\u4e00\u65f6\u95f4\u4e3a\u60a8\u90ae\u5bc4"),u.a.createElement(h.b,{name:"name",render:function(e){var a=e.field;return u.a.createElement("div",{className:"address-form__item"},u.a.createElement("input",Object.assign({},a,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u4ef6\u4eba"})),t.name&&u.a.createElement("p",{className:"address-form__tip"},t.name))}}),u.a.createElement(h.b,{name:"phone",render:function(e){var a=e.field;return u.a.createElement("div",{className:"address-form__item"},u.a.createElement("input",Object.assign({},a,{className:"address-form__ipt",type:"text",placeholder:"\u8054\u7cfb\u65b9\u5f0f"})),t.phone&&u.a.createElement("p",{className:"address-form__tip"},t.phone))}}),u.a.createElement(h.b,{name:"address",render:function(e){var a=e.field;return u.a.createElement("div",{className:"address-form__item"},u.a.createElement("input",Object.assign({},a,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u8d27\u5730\u5740"})),t.address&&u.a.createElement("p",{className:"address-form__tip"},t.address))}}),u.a.createElement("button",{className:"address-form__submit","data-status":"do",type:"submit"},"\u63d0\u4ea4"))}}))}}]),t}(d.Component));t.a=f},597:function(e,t,a){},598:function(e,t,a){"use strict";var n=a(18),s=(a(37),a(10)),i=a.n(s),r=a(3),o=a(5),c=a(4),l=a(6),m=a(7),d=a(0),u=a.n(d),p=a(16),h=a(38),f=a(142),_=a(2),b=(a(599),function(e){function t(e){var a;return Object(r.a)(this,t),a=Object(c.a)(this,Object(l.a)(t).call(this,e)),a.captchaInstance=null,a.initCountryInfo=function(){var e=a.props.country;a.setState({country:e})},a.toFetchCountryNum=function(){var e=a.props,t=e.history;(0,e.hideBindPhone)(),t.push("/country?from=bind")},a.getCaptchaInstance=function(e){a.captchaInstance=e},a.onVerify=function(e){a.setState({validate:!0,validationData:e})},a.handleToSend=function(e){var t=e.tel,s=(e.code,a.state),r=s.validate,o=s.seconds,c=s.validationData,l=s.isFirst,m=s.isTimer,d=s.country.num,u=void 0===d?"86":d;if(r){if(!l)return i.a.info("\u8bf7\u91cd\u65b0\u8fdb\u884c\u6ed1\u5757\u9a8c\u8bc1",2,null,!1),a.captchaInstance.reset(),void a.setState({isFirst:!0});m||(t?/^\d+$/.test(t)?_.e.post("".concat(API["passport-api"],"/m/personal/bindPhoneSendCode"),Object(n.a)({area_code:"00".concat(u),phone_num:t},c)).then(function(e){var t=e.data,n=t.errno,s=t.msg;200===n?(i.a.info("\u9a8c\u8bc1\u7801\u53d1\u9001\u6210\u529f",2,null,!1),a.timer=window.setInterval(function(){o<=0?(window.clearInterval(a.timer),a.setState({isTimer:!1,seconds:60})):a.setState({isTimer:!0,seconds:--o})},1e3),a.setState({isFirst:!1})):i.a.info(s,2,null,!1)}):i.a.info("\u8bf7\u8f93\u5165\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7\u7801",2,null,!1):i.a.info("\u624b\u673a\u53f7\u7801\u4e0d\u80fd\u4e3a\u7a7a",2,null,!1))}return!1},a.toBindPhone=function(){var e=a.state,t=e.accountInfo,s=t.tel,r=t.code,o=e.country.num,c=void 0===o?"86":o,l=a.props,m=l.handleToConfirmPhone,d=l.successBindPhone,u={area_code:"00".concat(c),mobile:s,code:r,act_type:"treasure"};_.e.post("".concat(API.home,"/sys/v2/user/bindMobile"),Object(n.a)({},u,{type:1,is_valid:1})).then(function(e){var t=e.data,a=t.code,n=t.data,s=t.msg;200===a?n.tip_info?m(u,n.tip_info):d():i.a.info(s,2,null,!1)})},a.state={validate:"",seconds:60,isFirst:!0,timer:null,isTimer:!1,accountInfo:{},bindInfo:{},country:{num:"86"},validationData:null},a}return Object(m.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.initCountryInfo()}},{key:"render",value:function(){var e=this,t=this.props,a=t.desc,s=t.skip,i=void 0===s?"year":s,r=this.state,o=r.country,c=r.validate,l=r.isTimer,m=r.seconds;return u.a.createElement(p.d,{initialValues:{tel:"",code:""},validate:function(e){var t=e.tel,a=e.code,n={};return/^\d+$/.test(t)||(n.tel="\u8bf7\u586b\u5199\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7"),/[0-9]{6}/.test(a)||(n.code="\u8bf7\u8f93\u5165\u9a8c\u8bc1\u7801"),n},onSubmit:function(t,a){a.setStatus,a.setSubmitting;e.setState({accountInfo:Object(n.a)({},t)}),e.toBindPhone()},render:function(t){var n=t.values,s=n.tel,r=n.code,d=t.errors;return u.a.createElement(p.c,{className:"popup-form","data-skip":i},u.a.createElement("h2",{className:"popup-form__title"},"\u7ed1\u5b9a\u624b\u673a\u53f7"),a&&u.a.createElement("div",{className:"poup-form__desc"},a),u.a.createElement("div",{className:"popup-form__item"},u.a.createElement("a",{className:"popup-form__button--num",onClick:e.toFetchCountryNum},"+",o.num,u.a.createElement("i",{className:"iconfont iconiconfront-69"})),u.a.createElement(p.b,{name:"tel",render:function(e){var t=e.field;return u.a.createElement("input",Object.assign({},t,{className:"popup-form__ipt","data-type":"tel",type:"text",placeholder:"\u8bf7\u586b\u5199\u624b\u673a\u53f7"}))}})),u.a.createElement(f.a,{getInstance:e.getCaptchaInstance,onVerify:e.onVerify,mb:15}),u.a.createElement("div",{className:"popup-form__item"},u.a.createElement(p.b,{name:"code",render:function(e){var t=e.field;return u.a.createElement("input",Object.assign({},t,{className:"popup-form__ipt popup-form__ipt--left",type:"text",placeholder:"\u8f93\u5165\u9a8c\u8bc1\u7801"}))}}),u.a.createElement("button",{className:"popup-form__button--code","data-status":c&&!l?"do":"",type:"button",onClick:function(){return e.handleToSend({tel:s,code:r})}},l?"\u91cd\u65b0\u53d1\u9001".concat(m,"s"):"\u53d1\u9001\u9a8c\u8bc1\u7801")),u.a.createElement("button",{className:"popup-form__button--bundle","data-status":s&&r&&Object(h.isEmpty)(d)?"do":"done",type:"submit"},"\u5b8c\u6210\u7ed1\u5b9a"))}})}}]),t}(d.Component));t.a=b},599:function(e,t,a){},600:function(e,t,a){"use strict";a(37);var n=a(10),s=a.n(n),i=a(18),r=a(3),o=a(5),c=a(4),l=a(6),m=a(7),d=a(0),u=a.n(d),p=a(2),h=(a(601),function(e){function t(){var e,a;Object(r.a)(this,t);for(var n=arguments.length,o=new Array(n),m=0;m<n;m++)o[m]=arguments[m];return(a=Object(c.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(o)))).continueBindPhone=function(){var e=a.props,t=e.data,n=e.successBindPhone;p.e.post("".concat(API.home,"/sys/v2/user/bindMobile"),Object(i.a)({},t,{type:1,is_valid:0})).then(function(e){var t=e.data,a=t.code,i=t.msg;200===a?n():s.a.info(i,2,null,!1)})},a}return Object(m.a)(t,e),Object(o.a)(t,[{key:"render",value:function(){var e=this.props,t=e.bindInfo,a=void 0===t?{}:t,n=e.desc,s=e.skip,i=void 0===s?"year":s,r=e.handleToCancle;return u.a.createElement("div",{className:"popup-bind","data-skip":i},u.a.createElement("h2",{className:"popup-bind__title"},"\u7ed1\u5b9a\u624b\u673a\u53f7"),n?u.a.createElement("div",{className:"popup-bind__desc"},n):u.a.createElement("p",{className:"popup-bind__desc"},"\u8be5\u624b\u673a\u53f7\u5df2\u7ed1\u5b9a\u5230\u4ee5\u4e0b\u8d26\u53f7\uff0c\u7ee7\u7eed\u7ed1\u5b9a\u5c06\u89e3\u9664\u4ee5\u4e0b\u7ed1\u5b9a\u72b6\u6001"),u.a.createElement("ul",{className:"popup-bind__list"},a.email&&u.a.createElement("li",{className:"popup-bind__account"},u.a.createElement("i",{className:"popup-bind__icon","data-plat":"mail"}),u.a.createElement("p",{className:"popup-bind__account--name"},a.email)),a.wechat_nickname&&u.a.createElement("li",{className:"popup-bind__account"},u.a.createElement("i",{className:"popup-bind__icon","data-plat":"wachat"}),u.a.createElement("p",{className:"popup-bind__account--name"},a.wechat_nickname)),a.qq_nickname&&u.a.createElement("li",{className:"popup-bind__account"},u.a.createElement("i",{className:"popup-bind__icon","data-plat":"qq"}),u.a.createElement("p",{className:"popup-bind__account--name"},a.qq_nickname)),a.sina_nickname&&u.a.createElement("li",{className:"popup-bind__account"},u.a.createElement("i",{className:"popup-bind__icon","data-plat":"sina"}),u.a.createElement("p",{className:"popup-bind__account--name"},a.sina_nickname))),u.a.createElement("div",{className:"popup-bind__footer"},u.a.createElement("button",{className:"popup-bind__button popup-bind__button--cancle",onClick:r},"\u53d6\u6d88"),u.a.createElement("button",{className:"popup-bind__button popup-bind__button--confirm",onClick:this.continueBindPhone},"\u7ee7\u7eed\u7ed1\u5b9a")))}}]),t}(d.Component));t.a=h},601:function(e,t,a){}}]);
//# sourceMappingURL=treasure-box-mybox.420feb62.chunk.js.map //# sourceMappingURL=treasure-box-mybox.be3eb810.chunk.js.map
\ No newline at end of file \ No newline at end of file
...@@ -232,12 +232,12 @@ self.__precacheManifest = [ ...@@ -232,12 +232,12 @@ self.__precacheManifest = [
"url": "/mrstatic/js/myorders.2f01329e.chunk.js" "url": "/mrstatic/js/myorders.2f01329e.chunk.js"
}, },
{ {
"revision": "ecfc15e0ece7e574c129", "revision": "9c07a60c62f2be2acb42",
"url": "/mrstatic/css/newyear-2019-landing.b0d930fa.chunk.css" "url": "/mrstatic/css/newyear-2019-landing.b0d930fa.chunk.css"
}, },
{ {
"revision": "ecfc15e0ece7e574c129", "revision": "9c07a60c62f2be2acb42",
"url": "/mrstatic/js/newyear-2019-landing.d13568be.chunk.js" "url": "/mrstatic/js/newyear-2019-landing.2d623902.chunk.js"
}, },
{ {
"revision": "05b786654915ac19df69", "revision": "05b786654915ac19df69",
...@@ -272,8 +272,8 @@ self.__precacheManifest = [ ...@@ -272,8 +272,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/python-class.43c9fac3.chunk.js" "url": "/mrstatic/js/python-class.43c9fac3.chunk.js"
}, },
{ {
"revision": "9b251efa09ea25aaf738", "revision": "ee094c0423b54d99b7b9",
"url": "/mrstatic/js/runtime~main.42ba15b1.js" "url": "/mrstatic/js/runtime~main.a5715235.js"
}, },
{ {
"revision": "f9f64b0e77f834598ae3", "revision": "f9f64b0e77f834598ae3",
...@@ -316,20 +316,20 @@ self.__precacheManifest = [ ...@@ -316,20 +316,20 @@ self.__precacheManifest = [
"url": "/mrstatic/js/togroup.0ebabd0d.chunk.js" "url": "/mrstatic/js/togroup.0ebabd0d.chunk.js"
}, },
{ {
"revision": "4eb5028c4876a68f2f74", "revision": "d0d885309ab7b1177935",
"url": "/mrstatic/css/treasure-box-home.742fb589.chunk.css" "url": "/mrstatic/css/treasure-box-home.7a60b4c8.chunk.css"
}, },
{ {
"revision": "4eb5028c4876a68f2f74", "revision": "d0d885309ab7b1177935",
"url": "/mrstatic/js/treasure-box-home.d7397e33.chunk.js" "url": "/mrstatic/js/treasure-box-home.5830f2f2.chunk.js"
}, },
{ {
"revision": "c45ee7db13af716a81a4", "revision": "eabb07e833743dd83c45",
"url": "/mrstatic/css/treasure-box-mybox.b84e2e84.chunk.css" "url": "/mrstatic/css/treasure-box-mybox.b84e2e84.chunk.css"
}, },
{ {
"revision": "c45ee7db13af716a81a4", "revision": "eabb07e833743dd83c45",
"url": "/mrstatic/js/treasure-box-mybox.420feb62.chunk.js" "url": "/mrstatic/js/treasure-box-mybox.be3eb810.chunk.js"
}, },
{ {
"revision": "3379f832f8612ce7b480", "revision": "3379f832f8612ce7b480",
...@@ -496,10 +496,6 @@ self.__precacheManifest = [ ...@@ -496,10 +496,6 @@ self.__precacheManifest = [
"url": "/mrstatic/js/65.eec31f7c.chunk.js" "url": "/mrstatic/js/65.eec31f7c.chunk.js"
}, },
{ {
"revision": "64fd0b167457064e12ff8a6afcd31720",
"url": "/mrstatic/media/iconfont.64fd0b16.eot"
},
{
"revision": "f2f4294d9a677f58f6f7c1a0ac84c448", "revision": "f2f4294d9a677f58f6f7c1a0ac84c448",
"url": "/mrstatic/media/iconfont.f2f4294d.woff" "url": "/mrstatic/media/iconfont.f2f4294d.woff"
}, },
...@@ -508,6 +504,10 @@ self.__precacheManifest = [ ...@@ -508,6 +504,10 @@ self.__precacheManifest = [
"url": "/mrstatic/media/iconfont.99b24549.ttf" "url": "/mrstatic/media/iconfont.99b24549.ttf"
}, },
{ {
"revision": "64fd0b167457064e12ff8a6afcd31720",
"url": "/mrstatic/media/iconfont.64fd0b16.eot"
},
{
"revision": "5bf7701b4b6358bd06d9c45c26a7d18f", "revision": "5bf7701b4b6358bd06d9c45c26a7d18f",
"url": "/mrstatic/media/iconfont.5bf7701b.svg" "url": "/mrstatic/media/iconfont.5bf7701b.svg"
}, },
...@@ -532,6 +532,10 @@ self.__precacheManifest = [ ...@@ -532,6 +532,10 @@ self.__precacheManifest = [
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png" "url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
}, },
{ {
"revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae",
"url": "/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png"
},
{
"revision": "79139f6aad350256e151f9f73c226348", "revision": "79139f6aad350256e151f9f73c226348",
"url": "/mrstatic/media/hb_bj.79139f6a.png" "url": "/mrstatic/media/hb_bj.79139f6a.png"
}, },
...@@ -540,11 +544,7 @@ self.__precacheManifest = [ ...@@ -540,11 +544,7 @@ self.__precacheManifest = [
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png" "url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
}, },
{ {
"revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae", "revision": "ae7b7a2ad205e2e34b80d95671088b1e",
"url": "/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png"
},
{
"revision": "a8b0939648ebb343da5cb75bf0a503ee",
"url": "/index.html" "url": "/index.html"
} }
]; ];
\ No newline at end of file
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js"); importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts( importScripts(
"/precache-manifest.3b0ceee175772ab67867194c568543a6.js" "/precache-manifest.a368b2a2639b068d2e7e8f40b8a59d31.js"
); );
workbox.clientsClaim(); workbox.clientsClaim();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment