Commit 2207bf2d by zhanghaozhe

微信分享

parent 289d01c4
......@@ -86,8 +86,8 @@
"myorders.js": "/mrstatic/js/myorders.3113d077.chunk.js",
"myorders.js.map": "/mrstatic/js/myorders.3113d077.chunk.js.map",
"newyear-2019-landing.css": "/mrstatic/css/newyear-2019-landing.e939e004.chunk.css",
"newyear-2019-landing.js": "/mrstatic/js/newyear-2019-landing.00c82079.chunk.js",
"newyear-2019-landing.js.map": "/mrstatic/js/newyear-2019-landing.00c82079.chunk.js.map",
"newyear-2019-landing.js": "/mrstatic/js/newyear-2019-landing.6ec2c26f.chunk.js",
"newyear-2019-landing.js.map": "/mrstatic/js/newyear-2019-landing.6ec2c26f.chunk.js.map",
"newyear-yearIndex.css": "/mrstatic/css/newyear-yearIndex.b02991f9.chunk.css",
"newyear-yearIndex.js": "/mrstatic/js/newyear-yearIndex.f3b86bf9.chunk.js",
"newyear-yearIndex.js.map": "/mrstatic/js/newyear-yearIndex.f3b86bf9.chunk.js.map",
......@@ -97,8 +97,8 @@
"purchased.css": "/mrstatic/css/purchased.dd7556e0.chunk.css",
"purchased.js": "/mrstatic/js/purchased.2bba0bda.chunk.js",
"purchased.js.map": "/mrstatic/js/purchased.2bba0bda.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.7074939a.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.7074939a.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.db955668.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.db955668.js.map",
"search.css": "/mrstatic/css/search.fab97849.chunk.css",
"search.js": "/mrstatic/js/search.941032bf.chunk.js",
"search.js.map": "/mrstatic/js/search.941032bf.chunk.js.map",
......@@ -186,6 +186,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff",
"mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png",
"mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png",
"precache-manifest.6238e3e868d2eaaed0597224ca588660.js": "/precache-manifest.6238e3e868d2eaaed0597224ca588660.js",
"precache-manifest.34d9e94a156b0d96ffb1ec12302f2d56.js": "/precache-manifest.34d9e94a156b0d96ffb1ec12302f2d56.js",
"service-worker.js": "/service-worker.js"
}
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>七月在线 - 国内领先的人工智能教育平台</title><link href="/mrstatic/css/41.101ce5f8.chunk.css" rel="stylesheet"><link href="/mrstatic/css/main.aebaefb8.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/api.js"></script><script>!function(c){function e(e){for(var r,t,n=e[0],a=e[1],o=e[2],i=0,d=[];i<n.length;i++)t=n[i],l[t]&&d.push(l[t][0]),l[t]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(c[r]=a[r]);for(p&&p(e);d.length;)d.shift()();return s.push.apply(s,o||[]),f()}function f(){for(var e,r=0;r<s.length;r++){for(var t=s[r],n=!0,a=1;a<t.length;a++){var o=t[a];0!==l[o]&&(n=!1)}n&&(s.splice(r--,1),e=b(b.s=t[0]))}return e}var t={},u={34:0},l={34:0},s=[];function b(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return c[e].call(r.exports,r,r.exports,b),r.l=!0,r.exports}b.e=function(s){var e=[];u[s]?e.push(u[s]):0!==u[s]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,13:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,32:1,33:1,35:1,36:1,37:1,38:1,39:1,40:1,42:1,43:1,44:1,45:1,46:1,47:1}[s]&&e.push(u[s]=new Promise(function(e,n){for(var r="mrstatic/css/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[s]||s)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"ddc8b984",3:"5ed15c7e",4:"a74b39fb",5:"fc53c3d0",6:"f2f19957",7:"16a64650",8:"85889ffd",9:"2e7d81ca",10:"f2cc3163",11:"a74b39fb",12:"31d6cfe0",13:"35f475a1",14:"31d6cfe0",15:"e5315535",16:"b279d085",17:"bb7c3056",18:"278ad3b1",19:"3a4dbb7a",20:"ca49c1cb",21:"951fd27d",22:"f16046f0",23:"b92d0394",24:"ff6280ad",25:"6f3a01ca",26:"039d87dd",27:"e318ce59",29:"3c41b358",30:"e939e004",31:"b02991f9",32:"55e46fc9",33:"dd7556e0",35:"fab97849",36:"f09a5959",37:"b002c899",38:"08df3d15",39:"49988cae",40:"1f56370b",42:"50547718",43:"2471f477",44:"0bb224f2",45:"ecbb6f9a",46:"18c88f1f",47:"eb90513f"}[s]+".chunk.css",a=b.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var i=(c=t[o]).getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(i===r||i===a))return e()}var d=document.getElementsByTagName("style");for(o=0;o<d.length;o++){var c;if((i=(c=d[o]).getAttribute("data-href"))===r||i===a)return e()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=e,f.onerror=function(e){var r=e&&e.target&&e.target.src||a,t=new Error("Loading CSS chunk "+s+" failed.\n("+r+")");t.request=r,delete u[s],f.parentNode.removeChild(f),n(t)},f.href=a,document.getElementsByTagName("head")[0].appendChild(f)}).then(function(){u[s]=0}));var t=l[s];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=l[s]=[e,r]});e.push(t[2]=r);var n,o=document.createElement("script");o.charset="utf-8",o.timeout=120,b.nc&&o.setAttribute("nonce",b.nc),o.src=b.p+"mrstatic/js/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[s]||s)+"."+{0:"b10ff0c0",1:"1f6f7e8d",2:"20d812c7",3:"8a29b502",4:"18a190eb",5:"14123d42",6:"b1df8cc8",7:"5cf684c9",8:"34861d84",9:"36f3a7f4",10:"19ee9f02",11:"0b5b5a4f",12:"b2640394",13:"1a1ef2d0",14:"61a73f31",15:"fec4c498",16:"25d20b41",17:"cfce13e0",18:"6a15c8a8",19:"9686142e",20:"23651e74",21:"20f3bb2a",22:"216591ab",23:"9a88cde3",24:"d3617beb",25:"5808a539",26:"4b200da8",27:"e4fa14fa",29:"3113d077",30:"00c82079",31:"f3b86bf9",32:"63687f61",33:"2bba0bda",35:"941032bf",36:"9a0b00d8",37:"d3ec9cb4",38:"209b342e",39:"796a80ad",40:"72f1b799",42:"93b5c631",43:"8a6b5308",44:"5846c94e",45:"94dd8b4e",46:"5e9e1e20",47:"a2871adb"}[s]+".chunk.js",n=function(e){o.onerror=o.onload=null,clearTimeout(i);var r=l[s];if(0!==r){if(r){var t=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,a=new Error("Loading chunk "+s+" failed.\n("+t+": "+n+")");a.type=t,a.request=n,r[1](a)}l[s]=void 0}};var i=setTimeout(function(){n({type:"timeout",target:o})},12e4);o.onerror=o.onload=n,document.head.appendChild(o)}return Promise.all(e)},b.m=c,b.c=t,b.d=function(e,r,t){b.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},b.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.t=function(r,e){if(1&e&&(r=b(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(b.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)b.d(t,n,function(e){return r[e]}.bind(null,n));return t},b.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(r,"a",r),r},b.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},b.p="/",b.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var a=0;a<r.length;a++)e(r[a]);var p=n;f()}([])</script><script src="/mrstatic/js/41.80e3375b.chunk.js"></script><script src="/mrstatic/js/main.5bc8a076.chunk.js"></script></body></html>
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>七月在线 - 国内领先的人工智能教育平台</title><link href="/mrstatic/css/41.101ce5f8.chunk.css" rel="stylesheet"><link href="/mrstatic/css/main.aebaefb8.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/api.js"></script><script>!function(c){function e(e){for(var r,t,n=e[0],a=e[1],o=e[2],i=0,d=[];i<n.length;i++)t=n[i],l[t]&&d.push(l[t][0]),l[t]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(c[r]=a[r]);for(p&&p(e);d.length;)d.shift()();return s.push.apply(s,o||[]),f()}function f(){for(var e,r=0;r<s.length;r++){for(var t=s[r],n=!0,a=1;a<t.length;a++){var o=t[a];0!==l[o]&&(n=!1)}n&&(s.splice(r--,1),e=b(b.s=t[0]))}return e}var t={},u={34:0},l={34:0},s=[];function b(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return c[e].call(r.exports,r,r.exports,b),r.l=!0,r.exports}b.e=function(s){var e=[];u[s]?e.push(u[s]):0!==u[s]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,13:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,32:1,33:1,35:1,36:1,37:1,38:1,39:1,40:1,42:1,43:1,44:1,45:1,46:1,47:1}[s]&&e.push(u[s]=new Promise(function(e,n){for(var r="mrstatic/css/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[s]||s)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"ddc8b984",3:"5ed15c7e",4:"a74b39fb",5:"fc53c3d0",6:"f2f19957",7:"16a64650",8:"85889ffd",9:"2e7d81ca",10:"f2cc3163",11:"a74b39fb",12:"31d6cfe0",13:"35f475a1",14:"31d6cfe0",15:"e5315535",16:"b279d085",17:"bb7c3056",18:"278ad3b1",19:"3a4dbb7a",20:"ca49c1cb",21:"951fd27d",22:"f16046f0",23:"b92d0394",24:"ff6280ad",25:"6f3a01ca",26:"039d87dd",27:"e318ce59",29:"3c41b358",30:"e939e004",31:"b02991f9",32:"55e46fc9",33:"dd7556e0",35:"fab97849",36:"f09a5959",37:"b002c899",38:"08df3d15",39:"49988cae",40:"1f56370b",42:"50547718",43:"2471f477",44:"0bb224f2",45:"ecbb6f9a",46:"18c88f1f",47:"eb90513f"}[s]+".chunk.css",a=b.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var i=(c=t[o]).getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(i===r||i===a))return e()}var d=document.getElementsByTagName("style");for(o=0;o<d.length;o++){var c;if((i=(c=d[o]).getAttribute("data-href"))===r||i===a)return e()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=e,f.onerror=function(e){var r=e&&e.target&&e.target.src||a,t=new Error("Loading CSS chunk "+s+" failed.\n("+r+")");t.request=r,delete u[s],f.parentNode.removeChild(f),n(t)},f.href=a,document.getElementsByTagName("head")[0].appendChild(f)}).then(function(){u[s]=0}));var t=l[s];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=l[s]=[e,r]});e.push(t[2]=r);var n,o=document.createElement("script");o.charset="utf-8",o.timeout=120,b.nc&&o.setAttribute("nonce",b.nc),o.src=b.p+"mrstatic/js/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[s]||s)+"."+{0:"b10ff0c0",1:"1f6f7e8d",2:"20d812c7",3:"8a29b502",4:"18a190eb",5:"14123d42",6:"b1df8cc8",7:"5cf684c9",8:"34861d84",9:"36f3a7f4",10:"19ee9f02",11:"0b5b5a4f",12:"b2640394",13:"1a1ef2d0",14:"61a73f31",15:"fec4c498",16:"25d20b41",17:"cfce13e0",18:"6a15c8a8",19:"9686142e",20:"23651e74",21:"20f3bb2a",22:"216591ab",23:"9a88cde3",24:"d3617beb",25:"5808a539",26:"4b200da8",27:"e4fa14fa",29:"3113d077",30:"6ec2c26f",31:"f3b86bf9",32:"63687f61",33:"2bba0bda",35:"941032bf",36:"9a0b00d8",37:"d3ec9cb4",38:"209b342e",39:"796a80ad",40:"72f1b799",42:"93b5c631",43:"8a6b5308",44:"5846c94e",45:"94dd8b4e",46:"5e9e1e20",47:"a2871adb"}[s]+".chunk.js",n=function(e){o.onerror=o.onload=null,clearTimeout(i);var r=l[s];if(0!==r){if(r){var t=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,a=new Error("Loading chunk "+s+" failed.\n("+t+": "+n+")");a.type=t,a.request=n,r[1](a)}l[s]=void 0}};var i=setTimeout(function(){n({type:"timeout",target:o})},12e4);o.onerror=o.onload=n,document.head.appendChild(o)}return Promise.all(e)},b.m=c,b.c=t,b.d=function(e,r,t){b.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},b.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.t=function(r,e){if(1&e&&(r=b(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(b.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)b.d(t,n,function(e){return r[e]}.bind(null,n));return t},b.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(r,"a",r),r},b.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},b.p="/",b.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var a=0;a<r.length;a++)e(r[a]);var p=n;f()}([])</script><script src="/mrstatic/js/41.80e3375b.chunk.js"></script><script src="/mrstatic/js/main.5bc8a076.chunk.js"></script></body></html>
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{1202:function(e,t,a){},1205:function(e,t,a){},1266:function(e,t,a){"use strict";a.r(t);a(154);var n=a(35),c=a.n(n),r=(a(39),a(12)),i=a.n(r),s=a(5),o=a(7),l=a(6),u=a(8),m=a(9),d=a(73),p=a(0),h=a.n(p),g=(a(1202),function(e){function t(){return Object(s.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(27),v=a(22),y=a(802),E=a(803),j=(a(1205),a(3)),f=a(587),w=a.n(f),_=a(804),S=function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,c=new Array(n),r=0;r<n;r++)c[r]=arguments[r];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.swiper=null,a.state={teamData:{member:[]},origin:sessionStorage.getItem("isCaptain")?1:Object(j.c)("origin"),treasure_code:Object(j.c)("treasure_code"),activityEnd:!1,notices:[],rule:"",isCaptain:1==Object(j.c)("origin")},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,r=void 0===c?a.state.treasure_code:c;j.d.post("".concat(API.home,"/sys/treasure/team"),{treasure_code:r,origin:n}).then(function(e){var t=e.data,n=t.data,c=t.code,r=t.msg;if(200==c){a.setState({teamData:n,isCaptain:sessionStorage.getItem("isCaptain")?sessionStorage.getItem("isCaptain"):1==Object(j.c)("origin"),activityEnd:5==n.status});var s=new URLSearchParams(window.location.search);"1"!==s.get("origin")||j.b.isWeixin||(s.set("origin","2"),sessionStorage.setItem("isCaptain","1"),window.history.replaceState(null,"","landing?".concat(s.toString()))),a.showSharePromptWithParam()}else i.a.info(r,2,null,!1)})},a.showSharePromptWithParam=function(){sessionStorage.getItem("showShareTip")&&a.showShareTip()},a.joinTeam=function(){if(!a.requiredLogin()){var e=a.state.treasure_code;j.d.post("".concat(API.home,"/sys/treasure/joinTeam"),{treasure_code:e}).then(function(e){var t=e.data,n=t.data,c=t.code,r=t.msg;if(200===c)switch(n.status){case 1:case 2:a.joinSuccess(n);break;default:i.a.info(r,2,null,!1)}else i.a.info(r,2,null,!1)})}},a.handleToMyTreasure=function(){a.joinSuccessPopup&&a.joinSuccessPopup.remove(),Object(j.c)("version")?history.push("/year/yearTreasure?id=".concat(id,"&version=").concat(Object(j.c)("version"))):history.push("/year/yearTreasure?id=".concat(id))},a.joinSuccess=function(e){e.id;var t=e.status,n=e.my_team,c=n.team_num,r=n.lack_member,i=n.is_team,s=n.treasure_code;a.props.history;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===t?"\u7ec4\u961f\u6210\u529f\uff0c\u606d\u559c\u4f60\u83b7\u5f97\u4e00\u4e2a\u5b9d\u7bb1\uff01":i?h.a.createElement(h.a.Fragment,null,"\u60a8\u7684",h.a.createElement("span",null,c),"\u53f7\u961f\u4f0d\u8fd8\u5dee",h.a.createElement("span",null,r),"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1"):"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~"),2===t?h.a.createElement("img",{style:{width:"150px",marginTop:"23px"},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/treasure-box.png",alt:"",onClick:a.handleToMyTreasure}):i?h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(d.a)(Object(d.a)(a)),s)},"\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){console.log(j.b.isWeixin);var t=a.props,n=t.history,c=t.match,r=t.user,i=t.location;if(Object(j.c)("version")){var s={title:"@".concat(r.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\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",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(j.a)("toShare",s)}j.b.isWeixin&&Object(j.i)({title:"@".concat(r.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\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",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"}),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 j.d.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,r=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)),r)},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),closeIcon:a.closeIcon,afterClose:function(){e||a.remind("create",r)}})})},a.saveImage=function(e){var t=Object(j.c)("version");(t="string"===typeof t?t.replace(".","").replace(".","").slice(0,3):"")&&parseInt(t)<451?i.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(j.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;j.d.get("".concat(API["base-api"],"/wx/user_temporary_qrcode/").concat(c.data.uid)).then(function(e){return e.data.data.url}).then(function(c){w.a.toDataURL(c).then(function(r){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:r,alt:""}),j.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(){a.fetchPageData({treasure_code:t,origin:n})}})})})},a.showShareTip=function(){var e=a.props.user;if(j.b.isAndroidApp||j.b.isIOSApp)Object(j.a)("toShare",{title:"@".concat(e.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\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",link:"".concat(window.location.origin,"/").concat(location.pathname,"?treasure_code=").concat(Object(j.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"});else{var t=a.props,n=(t.history,t.match,t.user);j.b.isWeixin&&1==Object(j.c)("origin")&&Object(j.i)({title:"@".concat(n.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\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",link:"".concat(window.location.origin,"/").concat(location.pathname,"?treasure_code=").concat(Object(j.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"}),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(j.b.isWeixin?"wechat":""),closable:!1,close:function(){sessionStorage.removeItem("showShareTip"),n.hasError||a.getFollowStatus().then(function(e){!e&&a.remind("create",Object(j.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()||j.d.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,n=t.data,c=t.code,r=t.msg;200==c?a.createTeamSuccess(n):i.a.info(r,2,null,!1)})},a.requiredLogin=function(){var e=a.props,t=e.history;if(e.user.hasError)return t.push("/passport"),!0},a.toSquare=function(){var e=a.props.history;Object(j.c)("version")?e.push("/year/yearindex?version="+Object(j.c)("version")):e.push("/year/yearindex")},a}return Object(m.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.fetchPageData(),window.showFollowAlert=this.remind.bind(this,"create")}},{key:"componentDidUpdate",value:function(e){e.user.hasError===this.props.user.hasError||this.props.user.hasError||this.fetchPageData()}},{key:"render",value:function(){var e=this.state,t=e.teamData,a=t.head_img,n=t.member,r=t.status,i=t.lack_member,s=t.team_num,o=t.prize_info,l=t.my_team,u=e.activityEnd,m=e.isCaptain;return h.a.createElement("div",{id:"landing"},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"}),h.a.createElement("img",{className:"main-avatar",src:a,alt:""}),1===r?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,s),"\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===r&&!u&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},"\u8fd8\u5dee ",i," \u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5f53\u524d\u5b9d\u7bb1\u54e6~"),h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.showShareTip},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),3===r&&!u&&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~")),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===r&&!u&&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~")),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")),2===r&&!u&&h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.joinTeam},"\u540c\u610f\u52a0\u5165\u961f\u4f0d"),o&&0!==o.length&&!u&&!m&&h.a.createElement("div",{className:"certainly-prompt"},"\u7b2c",o[0].stage_no,"\u6b21\u5fc5\u4e2d ",o[0].name),u&&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")))),!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement(c.a,{size:"xl"}),h.a.createElement(_.a,{getSum:function(){}})))}}]),t}(p.Component);t.default=Object(v.b)(function(e){return{user:e.user}},null)(S)}}]);
//# sourceMappingURL=newyear-2019-landing.00c82079.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/activity/newyear-2019/box-container/container.js","components/activity/newyear-2019/landing/index.js"],"names":["Container","react_default","a","createElement","className","this","props","children","Component","Landing","closeIcon","createTeamSuccessPopup","joinSuccessPopup","swiper","state","teamData","member","origin","sessionStorage","getItem","getParam","treasure_code","activityEnd","notices","rule","isCaptain","fetchPageData","_ref","arguments","length","undefined","_ref$origin","_this","_ref$treasure_code","http","post","concat","API","home","then","res","_res$data","data","code","msg","setState","status","searchParams","URLSearchParams","window","location","search","get","browser","isWeixin","set","setItem","history","replaceState","toString","showSharePromptWithParam","toast_default","info","showShareTip","joinTeam","requiredLogin","_res$data2","joinSuccess","handleToMyTreasure","remove","push","id","_ref2","_ref2$my_team","my_team","team_num","lack_member","is_team","Popup","title","src","alt","content","Fragment","style","width","marginTop","onClick","type","inviteMembers","bind","Object","assertThisInitialized","createMyTeam","close","getFollowStatus","isFollow","remind","console","log","_this$props","match","user","username","desc","link","pathname","imgUrl","SendMessageToApp","wxShare","replace","url","_res$data3","createTeamSuccess","_ref3","Array","fill","map","item","index","_member","key","afterClose","saveImage","version","slice","parseInt","uid","text","QRCode","toDataURL","isAndroidApp","isIOSApp","_this$props2","closable","removeItem","hasError","showOpenInBrowserTip","_res$data4","_this$props3","toSquare","showFollowAlert","prevProps","_this$state","_this$state$teamData","head_img","prize_info","href","container","prizes","showSystemNotices","user_bullet_screen","is_captain","stage_no","name","white_space_default","size","YearCourse","getSum","connect"],"mappings":"iQAceA,4LAVX,OACEC,EAAAC,EAAAC,cAAA,OAAKC,UAAW,iBACdH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,aACZC,KAAKC,MAAMC,kBALEC,4FCWlBC,6MAGJC,UAAY,+EACZC,uBAAyB,OACzBC,iBAAmB,OACnBC,OAAS,OAETC,MAAQ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AX/C,IAAiBxB,GAAerB,EAAAC,EAAAC,cAAA,UAASqF,KAAK,SAASpF,UAAW,aAAcmF,QAASlF,KAAK2D,UAA9D,wCAKhCkF,GAAoC,IAAtBA,EAAWrH,SAAiBP,IAAgBG,GAAaxB,EAAAC,EAAAC,cAAA,OAAKC,UAAU,oBAAf,SACnE8I,EAAW,GAAGO,SADqD,sBACvCP,EAAW,GAAGQ,MAI9CpI,GACArB,EAAAC,EAAAC,cAAA,OAAKC,UAAU,gBACbH,EAAAC,EAAAC,cAAA,6CACAF,EAAAC,EAAAC,cAAA,iIACAF,EAAAC,EAAAC,cAAA,OAAK6E,IAAI,kFAAkFC,IAAI,KAC/FhF,EAAAC,EAAAC,cAAA,sEAMLsB,GACDxB,EAAAC,EAAAC,cAAAF,EAAAC,EAAAiF,SAAA,KACElF,EAAAC,EAAAC,cAAAwJ,EAAAzJ,EAAA,CAAY0J,KAAM,OAClB3J,EAAAC,EAAAC,cAAC0J,EAAA,EAAD,CAAYC,OAAQ,wBA5gBVtJ,aAqhBPuJ,sBACb,SAAAjJ,GAAK,MAAK,CAACwF,KAAMxF,EAAMwF,OACvB,KAFayD,CAGbtJ","file":"mrstatic/js/newyear-2019-landing.00c82079.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport './box-container.scss'\nclass Container extends Component {\n render() {\n return (\n <div className={'box-container'}>\n <div className=\"image-box\">\n {this.props.children}\n </div>\n </div>\n )\n }\n}\n\nexport default Container\n","import React, { Component } from 'react'\nimport BoxContainer from '../box-container/container'\nimport { Toast, WhiteSpace } from \"antd-mobile\"\nimport { Popup } from \"@common/index\"\nimport { connect } from \"react-redux\"\nimport Prizes from \"@components/activity/newyear-2019/common/prizes\"\nimport BulletScreen from \"@components/activity/newyear-2019/common/user-bullet-screen\"\nimport './landing.scss'\nimport { browser, getParam, http, wxShare, SendMessageToApp } from \"@/utils\"\nimport QRCode from \"qrcode\"\nimport YearCourse from '../preheat/YearCourse'\n\n\nclass Landing extends Component {\n\n\n closeIcon = 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png'\n createTeamSuccessPopup = null\n joinSuccessPopup = null\n swiper = null\n\n state = {\n teamData: {\n member: []\n },\n origin: sessionStorage.getItem('isCaptain') ? 1 : getParam('origin'),\n treasure_code: getParam('treasure_code'),\n activityEnd: false,\n notices: [],\n rule: '',\n isCaptain: getParam('origin') == 1\n }\n\n componentDidMount() {\n this.fetchPageData()\n window.showFollowAlert = this.remind.bind(this, 'create')\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.user.hasError !== this.props.user.hasError && !this.props.user.hasError) {\n this.fetchPageData()\n }\n }\n\n\n fetchPageData = ({origin = this.state.origin, treasure_code = this.state.treasure_code} = {}) => {\n http.post(`${API.home}/sys/treasure/team`, {\n treasure_code,\n origin\n })\n .then(res => {\n const {data, code, msg} = res.data\n if (code == 200) {\n\n this.setState({\n teamData: data,\n isCaptain: sessionStorage.getItem('isCaptain') ? sessionStorage.getItem('isCaptain') : getParam('origin') == 1,\n activityEnd: data.status == 5\n })\n\n let searchParams = new URLSearchParams(window.location.search)\n if (searchParams.get('origin') === '1' && !browser.isWeixin) {\n searchParams.set('origin', '2')\n sessionStorage.setItem('isCaptain', '1')\n window.history.replaceState(null, '', `landing?${searchParams.toString()}`)\n }\n\n this.showSharePromptWithParam()\n\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n showSharePromptWithParam = () => {\n if (sessionStorage.getItem('showShareTip')) {\n this.showShareTip()\n }\n }\n\n joinTeam = () => {\n if (this.requiredLogin()) {\n return\n }\n const {treasure_code} = this.state\n http.post(`${API.home}/sys/treasure/joinTeam`, {\n treasure_code\n })\n .then(res => {\n const {data, code, msg} = res.data\n if (code === 200) {\n\n /*\n * status\n * 1-成功加入\n * 2-成功加入组队成功\n * 3-已加入当前队伍\n * 4-已加入其他队伍\n * */\n\n switch (data.status) {\n case 1:\n case 2:\n this.joinSuccess(data)\n break\n default:\n Toast.info(msg, 2, null, false)\n }\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n handleToMyTreasure = () => {\n this.joinSuccessPopup && this.joinSuccessPopup.remove()\n if (getParam('version')) {\n history.push(`/year/yearTreasure?id=${id}&version=${getParam('version')}`)\n } else {\n history.push(`/year/yearTreasure?id=${id}`)\n }\n }\n\n joinSuccess = ({id, status, my_team: {team_num, lack_member, is_team, treasure_code}}) => {\n const {history} = this.props\n this.joinSuccessPopup = Popup({\n title: <div className={'join-success'}>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/check-icon.png\" alt=\"\"/>\n <div>成功加入队伍</div>\n </div>,\n className: 'landing-join-success-wrapper',\n content: <div>\n <div className={'tip'}>\n {\n status === 2\n ? '组队成功,恭喜你获得一个宝箱!'\n : is_team\n ? <>您的{<span>{team_num}</span>}号队伍还差{<span>{lack_member}</span>}人即可获得宝箱</>\n : '自己当队长,宝箱内有专属奖品哦~'\n }\n </div>\n {\n status === 2\n ? <img style={{width: '150px', marginTop: '23px'}}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/treasure-box.png\"\n alt=\"\"\n onClick={this.handleToMyTreasure}\n />\n : is_team\n ? <button type='button'\n onClick={this.inviteMembers.bind(this, treasure_code)}>继续组队</button>\n : <button type=\"button\" onClick={this.createMyTeam}>创建我的队伍</button>\n }\n </div>,\n closeIcon: this.closeIcon,\n close: () => {\n this.fetchPageData()\n this.getFollowStatus()\n .then(isFollow => {\n !isFollow && this.remind('join', this.state.treasure_code, 2)\n })\n }\n })\n }\n\n inviteMembers = treasure_code => {\n console.log(browser.isWeixin)\n const {history, match, user, location} = this.props\n if (getParam('version')) {\n let data = {\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}/${location.pathname}?treasure_code=${treasure_code}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n }\n SendMessageToApp(\"toShare\", data)\n }\n if (browser.isWeixin) {\n wxShare({\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}/${location.pathname}?treasure_code=${treasure_code}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n })\n }\n sessionStorage.setItem('showShareTip', '1')\n history.replace(`${match.url}?treasure_code=${treasure_code}&origin=${1}`)\n this.createTeamSuccessPopup && this.createTeamSuccessPopup.remove() && (this.createTeamSuccessPopup = null)\n this.joinSuccessPopup && this.joinSuccessPopup.remove() && (this.joinSuccessPopup = null)\n this.fetchPageData({treasure_code, origin: 1})\n this.setState({\n isCaptain: true\n })\n }\n\n getFollowStatus = () => http.get(`${API.home}/sys/user/isFollowWeChat`)\n .then(res => {\n const {code, data} = res.data\n return code === 200 && data['is_follow']\n })\n\n createTeamSuccess = ({member, team_num, lack_member, treasure_code}) => {\n this.joinSuccessPopup && this.joinSuccessPopup.remove() && (this.joinSuccessPopup = null)\n this.getFollowStatus()\n .then(isFollow => {\n this.createTeamSuccessPopup = Popup({\n title: '创建成功',\n className: 'landing-create-success',\n content: <div>\n <div className=\"tip\">{<span>{team_num}</span>}号队伍 还差{<span>{lack_member}</span>}名队员即可获得宝箱哦~</div>\n <img className={'treasure-box'}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png\" alt=\"\"/>\n <ul className='members'>\n {\n new Array(5).fill('a').map((item, index) => {\n const _member = member[index]\n return <li key={index}>\n {_member && _member['is_captain'] && <sup>队长</sup>}\n <img\n className={'avatar'}\n src={\n _member\n ? _member['head_img']\n : \"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png\"\n }\n alt=\"\"/>\n </li>\n })\n }\n </ul>\n <button type={'button'} onClick={this.inviteMembers.bind(this, treasure_code)}>邀请好友加入队伍</button>\n </div>,\n closeIcon: this.closeIcon,\n afterClose: () => {\n if (!isFollow) {\n this.remind('create', treasure_code)\n }\n }\n })\n\n })\n }\n\n // 安卓手机保存二维码\n saveImage = url => {\n let version = getParam('version')\n version = typeof version === 'string' ? version.replace('.', '').replace('.', '').slice(0, 3) : ''\n if (version && parseInt(version) < 451) {\n Toast.info('当前不支持此功能,升级到最新版本app可以点击保存二维码!', 3, null, false)\n } else {\n SendMessageToApp('generateQRCode', url)\n }\n }\n\n\n remind = (type = 'create', treasure_code, origin = 1) => {\n const {user} = this.props\n http.get(`${API[\"base-api\"]}/wx/user_temporary_qrcode/${user.data.uid}`)\n .then(res => {\n const {data} = res.data\n return data.url\n }).then(text => {\n QRCode.toDataURL(text)\n .then(url => {\n Popup({\n title: '提醒服务',\n className: 'landing-remind',\n closeIcon: this.closeIcon,\n content: <div>\n <div className=\"des\">{type === 'create' ? '有好友加入队伍后第一时间通知我~' : '获得宝箱时第一时间通知我~'}</div>\n <img src={url} alt=\"\"/>\n {browser.isAndroidApp ? <div>\n <button className={'android-qr-code-btn'} onClick={this.saveImage.bind(this, text)}>保存二维码</button>\n </div> : null}\n <div className=\"des\">长按识别/扫码 关注【七月在线】服务号即可预约</div>\n </div>,\n close: () => {\n // history.replace(`${match.path}?treasure_code=${treasure_code}&origin=1`)\n this.fetchPageData({\n treasure_code,\n origin\n })\n }\n })\n })\n })\n\n }\n\n showShareTip = () => {\n const {user} = this.props\n if (browser.isAndroidApp || browser.isIOSApp) {\n\n SendMessageToApp('toShare', {\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}/${location.pathname}?treasure_code=${getParam('treasure_code')}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n })\n\n } else {\n const {history, match, user} = this.props\n if (browser.isWeixin && getParam('origin') == 1) {\n wxShare({\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}/${location.pathname}?treasure_code=${getParam('treasure_code')}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n })\n // history.replace(`${match.url}?treasure_code=${getParam('treasure_code')}&origin=2`)\n }\n Popup({\n title: <div>还差<span>{this.state.teamData.lack_member}</span>名队友即可获得宝箱 快分享给好友吧~</div>,\n className: `landing-share-tip ${browser.isWeixin ? 'wechat' : ''}`,\n closable: false,\n close: () => {\n sessionStorage.removeItem('showShareTip')\n if (!user.hasError) {\n this.getFollowStatus()\n .then(isFollow => {\n !isFollow && this.remind('create', getParam('treasure_code'), 1)\n })\n }\n }\n })\n }\n }\n\n showOpenInBrowserTip = () => {\n Popup({\n title: <div>点击右上角,选择“在浏览器打开”</div>,\n className: 'landing-open-in-browser-tip',\n closable: false,\n })\n }\n\n createMyTeam = () => {\n if (this.requiredLogin()) {\n return\n }\n http.get(`${API.home}/sys/treasure/createMyTeam`)\n .then(res => {\n const {data, code, msg} = res.data\n if (code == 200) {\n\n this.createTeamSuccess(data)\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n requiredLogin = () => {\n const {history, user} = this.props\n\n if (user.hasError) {\n history.push('/passport')\n return true\n }\n }\n\n toSquare = () => {\n const {history} = this.props\n if (!getParam('version')) {\n history.push('/year/yearindex')\n } else {\n history.push('/year/yearindex?version=' + getParam('version'))\n }\n }\n\n\n render() {\n const {\n teamData: {\n head_img,\n member,\n status,\n lack_member,\n team_num,\n prize_info,\n my_team\n },\n activityEnd,\n isCaptain\n } = this.state\n /*\n * status\n * 1-自己的队伍\n * 2-未加入队伍\n * 3-已加入当前队伍\n * 4-已加入别的队伍\n * */\n\n return (\n <div id={'landing'}>\n <div id=\"to-square\">\n <a href='javascript:' onClick={this.toSquare}>前往活动会场,享更多福利! >></a>\n </div>\n <BoxContainer>\n <i className=\"snow-deco\"/>\n <img className='main-avatar'\n src={head_img} alt=\"\"/>\n {\n status === 1\n ? <div className=\"des\">邀请好友加入队伍,开宝箱领取丰厚奖品~</div>\n : <div className=\"des\">加入我的<span>{team_num}</span>号队伍,一起开宝箱领取丰厚奖品~</div>\n }\n <Prizes showSystemNotices={false}/>\n <BulletScreen/>\n <div className=\"group\">\n <ul className={'member'}>\n {\n member && member.length &&\n new Array(5).fill('a').map((item, index) => {\n const _member = member[index]\n return (\n _member\n ? <li key={index}>\n <div className='avatar-wrapper'>\n {\n _member.is_captain ? <sup>队长</sup> : null\n }\n <img\n src={_member.head_img}\n alt=\"\"\n className=\"avatar\"/>\n </div>\n </li>\n :\n <li key={index}>\n <div className=\"avatar-wrapper\">\n <img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png\"\n alt=\"\"\n className=\"avatar\"/>\n </div>\n </li>\n )\n })\n }\n </ul>\n <ul className={'bars'}>\n {\n member && member.length &&\n new Array(5).fill('a').map((item, index) => {\n return (\n <li key={index} className={`${index < member.length ? 'active' : ''}`}/>\n )\n })\n }\n </ul>\n {\n status === 1 && !activityEnd &&\n <>\n <div className=\"group-des\">\n 还差 {lack_member} 名队员即可获得当前宝箱哦~\n </div>\n <button type='button' className={'invite-btn'} onClick={this.showShareTip}>\n 邀请好友加入队伍\n </button>\n </>\n }\n {\n status === 3 && !activityEnd &&\n <>\n <div className=\"group-des\">\n <p>已加入当前队伍</p>\n {\n my_team['is_team']\n ? <p>您的{my_team['team_num']}号队伍还差{my_team['lack_member']}人即可获得宝箱~</p>\n : <p>自己当队长,宝箱内有专属奖品哦~</p>\n }\n </div>\n {\n my_team['is_team'] ?\n <button type='button' className={'invite-btn'}\n onClick={this.inviteMembers.bind(this, my_team['treasure_code'])}>\n 继续组队\n </button>\n : <button type='button' className={'invite-btn'} onClick={this.createMyTeam}>\n 创建我的队伍\n </button>\n }\n </>\n }\n {\n status === 4 && !activityEnd &&\n <>\n <div className=\"group-des\">\n <p>已加入其他队伍</p>\n {\n my_team['is_team']\n ? <p>您的{my_team['team_num']}号队伍还差{my_team['lack_member']}人即可获得宝箱~</p>\n : <p>自己当队长,宝箱内有专属奖品哦~</p>\n }\n </div>\n {\n my_team['is_team'] ?\n <button type='button' className={'invite-btn'}\n onClick={this.inviteMembers.bind(this, my_team['treasure_code'])}>\n 继续组队\n </button>\n : <button type='button' className={'invite-btn'} onClick={this.createMyTeam}>\n 创建我的队伍\n </button>\n }\n </>\n }\n {\n status === 2 && !activityEnd && < button type='button' className={'invite-btn'} onClick={this.joinTeam}>\n 同意加入队伍\n </button>\n }\n {\n prize_info && prize_info.length !== 0 && !activityEnd && !isCaptain && <div className=\"certainly-prompt\">\n 第{prize_info[0].stage_no}次必中 {prize_info[0].name}\n </div>\n }\n {\n activityEnd &&\n <div className='activity-end'>\n <div>活动已结束</div>\n <div>关注【七月在线】服务号了解更多活动信息</div>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png\" alt=\"\"/>\n <div>长按识别 / 微信扫码</div>\n </div>\n }\n </div>\n </BoxContainer>\n {\n !isCaptain &&\n <>\n <WhiteSpace size={'xl'}/>\n <YearCourse getSum={() => {\n }}/>\n </>\n }\n </div>\n )\n }\n}\n\nexport default connect(\n state => ({user: state.user}),\n null\n)(Landing)\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{1202:function(e,t,a){},1205:function(e,t,a){},1266:function(e,t,a){"use strict";a.r(t);a(154);var n=a(35),c=a.n(n),r=(a(39),a(12)),i=a.n(r),s=a(5),o=a(7),l=a(6),u=a(8),m=a(9),d=a(73),p=a(0),h=a.n(p),g=(a(1202),function(e){function t(){return Object(s.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(27),v=a(22),y=a(802),E=a(803),j=(a(1205),a(3)),f=a(587),w=a.n(f),_=a(804),S=function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,c=new Array(n),r=0;r<n;r++)c[r]=arguments[r];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.swiper=null,a.state={teamData:{member:[]},origin:sessionStorage.getItem("isCaptain")?1:Object(j.c)("origin"),treasure_code:Object(j.c)("treasure_code"),activityEnd:!1,notices:[],rule:"",isCaptain:1==Object(j.c)("origin")},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,r=void 0===c?a.state.treasure_code:c;j.d.post("".concat(API.home,"/sys/treasure/team"),{treasure_code:r,origin:n}).then(function(e){var t=e.data,n=t.data,c=t.code,r=t.msg;if(200==c){a.setState({teamData:n,isCaptain:sessionStorage.getItem("isCaptain")?sessionStorage.getItem("isCaptain"):1==Object(j.c)("origin"),activityEnd:5==n.status});var s=new URLSearchParams(window.location.search);"1"!==s.get("origin")||j.b.isWeixin||(s.set("origin","2"),sessionStorage.setItem("isCaptain","1"),window.history.replaceState(null,"","landing?".concat(s.toString()))),a.showSharePromptWithParam()}else i.a.info(r,2,null,!1)})},a.showSharePromptWithParam=function(){sessionStorage.getItem("showShareTip")&&a.showShareTip()},a.joinTeam=function(){if(!a.requiredLogin()){var e=a.state.treasure_code;j.d.post("".concat(API.home,"/sys/treasure/joinTeam"),{treasure_code:e}).then(function(e){var t=e.data,n=t.data,c=t.code,r=t.msg;if(200===c)switch(n.status){case 1:case 2:a.joinSuccess(n);break;default:i.a.info(r,2,null,!1)}else i.a.info(r,2,null,!1)})}},a.handleToMyTreasure=function(){a.joinSuccessPopup&&a.joinSuccessPopup.remove(),Object(j.c)("version")?history.push("/year/yearTreasure?id=".concat(id,"&version=").concat(Object(j.c)("version"))):history.push("/year/yearTreasure?id=".concat(id))},a.joinSuccess=function(e){e.id;var t=e.status,n=e.my_team,c=n.team_num,r=n.lack_member,i=n.is_team,s=n.treasure_code;a.props.history;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===t?"\u7ec4\u961f\u6210\u529f\uff0c\u606d\u559c\u4f60\u83b7\u5f97\u4e00\u4e2a\u5b9d\u7bb1\uff01":i?h.a.createElement(h.a.Fragment,null,"\u60a8\u7684",h.a.createElement("span",null,c),"\u53f7\u961f\u4f0d\u8fd8\u5dee",h.a.createElement("span",null,r),"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1"):"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~"),2===t?h.a.createElement("img",{style:{width:"150px",marginTop:"23px"},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/treasure-box.png",alt:"",onClick:a.handleToMyTreasure}):i?h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(d.a)(Object(d.a)(a)),s)},"\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,r=t.user,i=t.location;if(Object(j.c)("version")){var s={title:"@".concat(r.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\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",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(j.a)("toShare",s)}j.b.isWeixin&&Object(j.i)({title:"@".concat(r.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\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",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"}),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 j.d.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,r=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)),r)},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),closeIcon:a.closeIcon,afterClose:function(){e||a.remind("create",r)}})})},a.saveImage=function(e){var t=Object(j.c)("version");(t="string"===typeof t?t.replace(".","").replace(".","").slice(0,3):"")&&parseInt(t)<451?i.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(j.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;j.d.get("".concat(API["base-api"],"/wx/user_temporary_qrcode/").concat(c.data.uid)).then(function(e){return e.data.data.url}).then(function(c){w.a.toDataURL(c).then(function(r){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:r,alt:""}),j.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(){a.fetchPageData({treasure_code:t,origin:n})}})})})},a.showShareTip=function(){var e=a.props,t=e.user,n=e.location;j.b.isAndroidApp||j.b.isIOSApp?Object(j.a)("toShare",{title:"@".concat(t.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\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",link:"".concat(window.location.origin,"/").concat(n.pathname,"?treasure_code=").concat(Object(j.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"}):(j.b.isWeixin&&1==Object(j.c)("origin")&&Object(j.i)({title:"@".concat(t.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\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",link:"".concat(window.location.origin).concat(n.pathname,"?treasure_code=").concat(Object(j.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"}),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(j.b.isWeixin?"wechat":""),closable:!1,close:function(){sessionStorage.removeItem("showShareTip"),t.hasError||a.getFollowStatus().then(function(e){!e&&a.remind("create",Object(j.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()||j.d.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,n=t.data,c=t.code,r=t.msg;200==c?a.createTeamSuccess(n):i.a.info(r,2,null,!1)})},a.requiredLogin=function(){var e=a.props,t=e.history;if(e.user.hasError)return t.push("/passport"),!0},a.toSquare=function(){var e=a.props.history;Object(j.c)("version")?e.push("/year/yearindex?version="+Object(j.c)("version")):e.push("/year/yearindex")},a}return Object(m.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.fetchPageData(),window.showFollowAlert=this.remind.bind(this,"create")}},{key:"componentDidUpdate",value:function(e){e.user.hasError===this.props.user.hasError||this.props.user.hasError||this.fetchPageData()}},{key:"render",value:function(){var e=this.state,t=e.teamData,a=t.head_img,n=t.member,r=t.status,i=t.lack_member,s=t.team_num,o=t.prize_info,l=t.my_team,u=e.activityEnd,m=e.isCaptain;return h.a.createElement("div",{id:"landing"},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"}),h.a.createElement("img",{className:"main-avatar",src:a,alt:""}),1===r?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,s),"\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===r&&!u&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},"\u8fd8\u5dee ",i," \u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5f53\u524d\u5b9d\u7bb1\u54e6~"),h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.showShareTip},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),3===r&&!u&&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~")),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===r&&!u&&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~")),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")),2===r&&!u&&h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.joinTeam},"\u540c\u610f\u52a0\u5165\u961f\u4f0d"),o&&0!==o.length&&!u&&!m&&h.a.createElement("div",{className:"certainly-prompt"},"\u7b2c",o[0].stage_no,"\u6b21\u5fc5\u4e2d ",o[0].name),u&&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")))),!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement(c.a,{size:"xl"}),h.a.createElement(_.a,{getSum:function(){}})))}}]),t}(p.Component);t.default=Object(v.b)(function(e){return{user:e.user}},null)(S)}}]);
//# sourceMappingURL=newyear-2019-landing.6ec2c26f.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/activity/newyear-2019/box-container/container.js","components/activity/newyear-2019/landing/index.js"],"names":["Container","react_default","a","createElement","className","this","props","children","Component","Landing","closeIcon","createTeamSuccessPopup","joinSuccessPopup","swiper","state","teamData","member","origin","sessionStorage","getItem","getParam","treasure_code","activityEnd","notices","rule","isCaptain","fetchPageData","_ref","arguments","length","undefined","_ref$origin","_this","_ref$treasure_code","http","post","concat","API","home","then","res","_res$data","data","code","msg","setState","status","searchParams","URLSearchParams","window","location","search","get","browser","isWeixin","set","setItem","history","replaceState","toString","showSharePromptWithParam","toast_default","info","showShareTip","joinTeam","requiredLogin","_res$data2","joinSuccess","handleToMyTreasure","remove","push","id","_ref2","_ref2$my_team","my_team","team_num","lack_member","is_team","Popup","title","src","alt","content","Fragment","style","width","marginTop","onClick","type","inviteMembers","bind","Object","assertThisInitialized","createMyTeam","close","getFollowStatus","isFollow","remind","_this$props","match","user","username","desc","link","pathname","imgUrl","SendMessageToApp","wxShare","replace","url","_res$data3","createTeamSuccess","_ref3","Array","fill","map","item","index","_member","key","afterClose","saveImage","version","slice","parseInt","uid","text","QRCode","toDataURL","isAndroidApp","_this$props2","isIOSApp","closable","removeItem","hasError","showOpenInBrowserTip","_res$data4","_this$props3","toSquare","showFollowAlert","prevProps","_this$state","_this$state$teamData","head_img","prize_info","href","container","prizes","showSystemNotices","user_bullet_screen","is_captain","stage_no","name","white_space_default","size","YearCourse","getSum","connect"],"mappings":"iQAceA,4LAVX,OACEC,EAAAC,EAAAC,cAAA,OAAKC,UAAW,iBACdH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,aACZC,KAAKC,MAAMC,kBALEC,4FCWlBC,6MAGJC,UAAY,+EACZC,uBAAyB,OACzBC,iBAAmB,OACnBC,OAAS,OAETC,MAAQ,CACNC,SAAU,CACRC,OAAQ,IAEVC,OAAQC,eAAeC,QAAQ,aAAe,EAAIC,YAAS,UAC3DC,cAAeD,YAAS,iBACxBE,aAAa,EACbC,QAAS,GACTC,KAAM,GACNC,UAAiC,GAAtBL,YAAS,aAetBM,cAAgB,WAAiF,IAAAC,EAAAC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAP,GAAOG,EAAAJ,EAA/EV,cAA+E,IAAAc,EAAtEC,EAAKlB,MAAMG,OAA2Dc,EAAAE,EAAAN,EAAnDN,qBAAmD,IAAAY,EAAnCD,EAAKlB,MAAMO,cAAwBY,EAC/FC,IAAKC,KAAL,GAAAC,OAAaC,IAAIC,KAAjB,sBAA2C,CACzCjB,gBACAJ,WAECsB,KAAK,SAAAC,GAAO,IAAAC,EACeD,EAAIE,KAAvBA,EADID,EACJC,KAAMC,EADFF,EACEE,KAAMC,EADRH,EACQG,IACnB,GAAY,KAARD,EAAa,CAEfX,EAAKa,SAAS,CACZ9B,SAAU2B,EACVjB,UAAWP,eAAeC,QAAQ,aAAeD,eAAeC,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React, { Component } from 'react'\nimport './box-container.scss'\nclass Container extends Component {\n render() {\n return (\n <div className={'box-container'}>\n <div className=\"image-box\">\n {this.props.children}\n </div>\n </div>\n )\n }\n}\n\nexport default Container\n","import React, { Component } from 'react'\nimport BoxContainer from '../box-container/container'\nimport { Toast, WhiteSpace } from \"antd-mobile\"\nimport { Popup } from \"@common/index\"\nimport { connect } from \"react-redux\"\nimport Prizes from \"@components/activity/newyear-2019/common/prizes\"\nimport BulletScreen from \"@components/activity/newyear-2019/common/user-bullet-screen\"\nimport './landing.scss'\nimport { browser, getParam, http, wxShare, SendMessageToApp } from \"@/utils\"\nimport QRCode from \"qrcode\"\nimport YearCourse from '../preheat/YearCourse'\n\n\nclass Landing extends Component {\n\n\n closeIcon = 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png'\n createTeamSuccessPopup = null\n joinSuccessPopup = null\n swiper = null\n\n state = {\n teamData: {\n member: []\n },\n origin: sessionStorage.getItem('isCaptain') ? 1 : getParam('origin'),\n treasure_code: getParam('treasure_code'),\n activityEnd: false,\n notices: [],\n rule: '',\n isCaptain: getParam('origin') == 1\n }\n\n componentDidMount() {\n this.fetchPageData()\n window.showFollowAlert = this.remind.bind(this, 'create')\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.user.hasError !== this.props.user.hasError && !this.props.user.hasError) {\n this.fetchPageData()\n }\n }\n\n\n fetchPageData = ({origin = this.state.origin, treasure_code = this.state.treasure_code} = {}) => {\n http.post(`${API.home}/sys/treasure/team`, {\n treasure_code,\n origin\n })\n .then(res => {\n const {data, code, msg} = res.data\n if (code == 200) {\n\n this.setState({\n teamData: data,\n isCaptain: sessionStorage.getItem('isCaptain') ? sessionStorage.getItem('isCaptain') : getParam('origin') == 1,\n activityEnd: data.status == 5\n })\n\n let searchParams = new URLSearchParams(window.location.search)\n if (searchParams.get('origin') === '1' && !browser.isWeixin) {\n searchParams.set('origin', '2')\n sessionStorage.setItem('isCaptain', '1')\n window.history.replaceState(null, '', `landing?${searchParams.toString()}`)\n }\n\n this.showSharePromptWithParam()\n\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n showSharePromptWithParam = () => {\n if (sessionStorage.getItem('showShareTip')) {\n this.showShareTip()\n }\n }\n\n joinTeam = () => {\n if (this.requiredLogin()) {\n return\n }\n const {treasure_code} = this.state\n http.post(`${API.home}/sys/treasure/joinTeam`, {\n treasure_code\n })\n .then(res => {\n const {data, code, msg} = res.data\n if (code === 200) {\n\n /*\n * status\n * 1-成功加入\n * 2-成功加入组队成功\n * 3-已加入当前队伍\n * 4-已加入其他队伍\n * */\n\n switch (data.status) {\n case 1:\n case 2:\n this.joinSuccess(data)\n break\n default:\n Toast.info(msg, 2, null, false)\n }\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n handleToMyTreasure = () => {\n this.joinSuccessPopup && this.joinSuccessPopup.remove()\n if (getParam('version')) {\n history.push(`/year/yearTreasure?id=${id}&version=${getParam('version')}`)\n } else {\n history.push(`/year/yearTreasure?id=${id}`)\n }\n }\n\n joinSuccess = ({id, status, my_team: {team_num, lack_member, is_team, treasure_code}}) => {\n const {history} = this.props\n this.joinSuccessPopup = Popup({\n title: <div className={'join-success'}>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/check-icon.png\" alt=\"\"/>\n <div>成功加入队伍</div>\n </div>,\n className: 'landing-join-success-wrapper',\n content: <div>\n <div className={'tip'}>\n {\n status === 2\n ? '组队成功,恭喜你获得一个宝箱!'\n : is_team\n ? <>您的{<span>{team_num}</span>}号队伍还差{<span>{lack_member}</span>}人即可获得宝箱</>\n : '自己当队长,宝箱内有专属奖品哦~'\n }\n </div>\n {\n status === 2\n ? <img style={{width: '150px', marginTop: '23px'}}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/treasure-box.png\"\n alt=\"\"\n onClick={this.handleToMyTreasure}\n />\n : is_team\n ? <button type='button'\n onClick={this.inviteMembers.bind(this, treasure_code)}>继续组队</button>\n : <button type=\"button\" onClick={this.createMyTeam}>创建我的队伍</button>\n }\n </div>,\n closeIcon: this.closeIcon,\n close: () => {\n this.fetchPageData()\n this.getFollowStatus()\n .then(isFollow => {\n !isFollow && this.remind('join', this.state.treasure_code, 2)\n })\n }\n })\n }\n\n inviteMembers = treasure_code => {\n const {history, match, user, location} = this.props\n if (getParam('version')) {\n let data = {\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}/${location.pathname}?treasure_code=${treasure_code}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n }\n SendMessageToApp(\"toShare\", data)\n }\n if (browser.isWeixin) {\n wxShare({\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}/${location.pathname}?treasure_code=${treasure_code}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n })\n }\n sessionStorage.setItem('showShareTip', '1')\n history.replace(`${match.url}?treasure_code=${treasure_code}&origin=${1}`)\n this.createTeamSuccessPopup && this.createTeamSuccessPopup.remove() && (this.createTeamSuccessPopup = null)\n this.joinSuccessPopup && this.joinSuccessPopup.remove() && (this.joinSuccessPopup = null)\n this.fetchPageData({treasure_code, origin: 1})\n this.setState({\n isCaptain: true\n })\n }\n\n getFollowStatus = () => http.get(`${API.home}/sys/user/isFollowWeChat`)\n .then(res => {\n const {code, data} = res.data\n return code === 200 && data['is_follow']\n })\n\n createTeamSuccess = ({member, team_num, lack_member, treasure_code}) => {\n this.joinSuccessPopup && this.joinSuccessPopup.remove() && (this.joinSuccessPopup = null)\n this.getFollowStatus()\n .then(isFollow => {\n this.createTeamSuccessPopup = Popup({\n title: '创建成功',\n className: 'landing-create-success',\n content: <div>\n <div className=\"tip\">{<span>{team_num}</span>}号队伍 还差{<span>{lack_member}</span>}名队员即可获得宝箱哦~</div>\n <img className={'treasure-box'}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png\" alt=\"\"/>\n <ul className='members'>\n {\n new Array(5).fill('a').map((item, index) => {\n const _member = member[index]\n return <li key={index}>\n {_member && _member['is_captain'] && <sup>队长</sup>}\n <img\n className={'avatar'}\n src={\n _member\n ? _member['head_img']\n : \"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png\"\n }\n alt=\"\"/>\n </li>\n })\n }\n </ul>\n <button type={'button'} onClick={this.inviteMembers.bind(this, treasure_code)}>邀请好友加入队伍</button>\n </div>,\n closeIcon: this.closeIcon,\n afterClose: () => {\n if (!isFollow) {\n this.remind('create', treasure_code)\n }\n }\n })\n\n })\n }\n\n // 安卓手机保存二维码\n saveImage = url => {\n let version = getParam('version')\n version = typeof version === 'string' ? version.replace('.', '').replace('.', '').slice(0, 3) : ''\n if (version && parseInt(version) < 451) {\n Toast.info('当前不支持此功能,升级到最新版本app可以点击保存二维码!', 3, null, false)\n } else {\n SendMessageToApp('generateQRCode', url)\n }\n }\n\n\n remind = (type = 'create', treasure_code, origin = 1) => {\n const {user} = this.props\n http.get(`${API[\"base-api\"]}/wx/user_temporary_qrcode/${user.data.uid}`)\n .then(res => {\n const {data} = res.data\n return data.url\n }).then(text => {\n QRCode.toDataURL(text)\n .then(url => {\n Popup({\n title: '提醒服务',\n className: 'landing-remind',\n closeIcon: this.closeIcon,\n content: <div>\n <div className=\"des\">{type === 'create' ? '有好友加入队伍后第一时间通知我~' : '获得宝箱时第一时间通知我~'}</div>\n <img src={url} alt=\"\"/>\n {browser.isAndroidApp ? <div>\n <button className={'android-qr-code-btn'} onClick={this.saveImage.bind(this, text)}>保存二维码</button>\n </div> : null}\n <div className=\"des\">长按识别/扫码 关注【七月在线】服务号即可预约</div>\n </div>,\n close: () => {\n // history.replace(`${match.path}?treasure_code=${treasure_code}&origin=1`)\n this.fetchPageData({\n treasure_code,\n origin\n })\n }\n })\n })\n })\n\n }\n\n showShareTip = () => {\n const {user, location} = this.props\n if (browser.isAndroidApp || browser.isIOSApp) {\n\n SendMessageToApp('toShare', {\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}/${location.pathname}?treasure_code=${getParam('treasure_code')}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n })\n\n } else {\n if (browser.isWeixin && getParam('origin') == 1) {\n wxShare({\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}${location.pathname}?treasure_code=${getParam('treasure_code')}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n })\n // history.replace(`${match.url}?treasure_code=${getParam('treasure_code')}&origin=2`)\n }\n Popup({\n title: <div>还差<span>{this.state.teamData.lack_member}</span>名队友即可获得宝箱 快分享给好友吧~</div>,\n className: `landing-share-tip ${browser.isWeixin ? 'wechat' : ''}`,\n closable: false,\n close: () => {\n sessionStorage.removeItem('showShareTip')\n if (!user.hasError) {\n this.getFollowStatus()\n .then(isFollow => {\n !isFollow && this.remind('create', getParam('treasure_code'), 1)\n })\n }\n }\n })\n }\n }\n\n showOpenInBrowserTip = () => {\n Popup({\n title: <div>点击右上角,选择“在浏览器打开”</div>,\n className: 'landing-open-in-browser-tip',\n closable: false,\n })\n }\n\n createMyTeam = () => {\n if (this.requiredLogin()) {\n return\n }\n http.get(`${API.home}/sys/treasure/createMyTeam`)\n .then(res => {\n const {data, code, msg} = res.data\n if (code == 200) {\n\n this.createTeamSuccess(data)\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n requiredLogin = () => {\n const {history, user} = this.props\n\n if (user.hasError) {\n history.push('/passport')\n return true\n }\n }\n\n toSquare = () => {\n const {history} = this.props\n if (!getParam('version')) {\n history.push('/year/yearindex')\n } else {\n history.push('/year/yearindex?version=' + getParam('version'))\n }\n }\n\n\n render() {\n const {\n teamData: {\n head_img,\n member,\n status,\n lack_member,\n team_num,\n prize_info,\n my_team\n },\n activityEnd,\n isCaptain\n } = this.state\n /*\n * status\n * 1-自己的队伍\n * 2-未加入队伍\n * 3-已加入当前队伍\n * 4-已加入别的队伍\n * */\n\n return (\n <div id={'landing'}>\n <div id=\"to-square\">\n <a href='javascript:' onClick={this.toSquare}>前往活动会场,享更多福利! >></a>\n </div>\n <BoxContainer>\n <i className=\"snow-deco\"/>\n <img className='main-avatar'\n src={head_img} alt=\"\"/>\n {\n status === 1\n ? <div className=\"des\">邀请好友加入队伍,开宝箱领取丰厚奖品~</div>\n : <div className=\"des\">加入我的<span>{team_num}</span>号队伍,一起开宝箱领取丰厚奖品~</div>\n }\n <Prizes showSystemNotices={false}/>\n <BulletScreen/>\n <div className=\"group\">\n <ul className={'member'}>\n {\n member && member.length &&\n new Array(5).fill('a').map((item, index) => {\n const _member = member[index]\n return (\n _member\n ? <li key={index}>\n <div className='avatar-wrapper'>\n {\n _member.is_captain ? <sup>队长</sup> : null\n }\n <img\n src={_member.head_img}\n alt=\"\"\n className=\"avatar\"/>\n </div>\n </li>\n :\n <li key={index}>\n <div className=\"avatar-wrapper\">\n <img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png\"\n alt=\"\"\n className=\"avatar\"/>\n </div>\n </li>\n )\n })\n }\n </ul>\n <ul className={'bars'}>\n {\n member && member.length &&\n new Array(5).fill('a').map((item, index) => {\n return (\n <li key={index} className={`${index < member.length ? 'active' : ''}`}/>\n )\n })\n }\n </ul>\n {\n status === 1 && !activityEnd &&\n <>\n <div className=\"group-des\">\n 还差 {lack_member} 名队员即可获得当前宝箱哦~\n </div>\n <button type='button' className={'invite-btn'} onClick={this.showShareTip}>\n 邀请好友加入队伍\n </button>\n </>\n }\n {\n status === 3 && !activityEnd &&\n <>\n <div className=\"group-des\">\n <p>已加入当前队伍</p>\n {\n my_team['is_team']\n ? <p>您的{my_team['team_num']}号队伍还差{my_team['lack_member']}人即可获得宝箱~</p>\n : <p>自己当队长,宝箱内有专属奖品哦~</p>\n }\n </div>\n {\n my_team['is_team'] ?\n <button type='button' className={'invite-btn'}\n onClick={this.inviteMembers.bind(this, my_team['treasure_code'])}>\n 继续组队\n </button>\n : <button type='button' className={'invite-btn'} onClick={this.createMyTeam}>\n 创建我的队伍\n </button>\n }\n </>\n }\n {\n status === 4 && !activityEnd &&\n <>\n <div className=\"group-des\">\n <p>已加入其他队伍</p>\n {\n my_team['is_team']\n ? <p>您的{my_team['team_num']}号队伍还差{my_team['lack_member']}人即可获得宝箱~</p>\n : <p>自己当队长,宝箱内有专属奖品哦~</p>\n }\n </div>\n {\n my_team['is_team'] ?\n <button type='button' className={'invite-btn'}\n onClick={this.inviteMembers.bind(this, my_team['treasure_code'])}>\n 继续组队\n </button>\n : <button type='button' className={'invite-btn'} onClick={this.createMyTeam}>\n 创建我的队伍\n </button>\n }\n </>\n }\n {\n status === 2 && !activityEnd && < button type='button' className={'invite-btn'} onClick={this.joinTeam}>\n 同意加入队伍\n </button>\n }\n {\n prize_info && prize_info.length !== 0 && !activityEnd && !isCaptain && <div className=\"certainly-prompt\">\n 第{prize_info[0].stage_no}次必中 {prize_info[0].name}\n </div>\n }\n {\n activityEnd &&\n <div className='activity-end'>\n <div>活动已结束</div>\n <div>关注【七月在线】服务号了解更多活动信息</div>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png\" alt=\"\"/>\n <div>长按识别 / 微信扫码</div>\n </div>\n }\n </div>\n </BoxContainer>\n {\n !isCaptain &&\n <>\n <WhiteSpace size={'xl'}/>\n <YearCourse getSum={() => {\n }}/>\n </>\n }\n </div>\n )\n }\n}\n\nexport default connect(\n state => ({user: state.user}),\n null\n)(Landing)\n"],"sourceRoot":""}
\ No newline at end of file
!function(e){function r(r){for(var n,a,d=r[0],c=r[1],f=r[2],s=0,l=[];s<d.length;s++)a=d[s],o[a]&&l.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(u&&u(r);l.length;)l.shift()();return i.push.apply(i,f||[]),t()}function t(){for(var e,r=0;r<i.length;r++){for(var t=i[r],n=!0,a=1;a<t.length;a++){var c=t[a];0!==o[c]&&(n=!1)}n&&(i.splice(r--,1),e=d(d.s=t[0]))}return e}var n={},a={34:0},o={34:0},i=[];function d(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,d),t.l=!0,t.exports}d.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,13:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,32:1,33:1,35:1,36:1,37:1,38:1,39:1,40:1,42:1,43:1,44:1,45:1,46:1,47:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"ddc8b984",3:"5ed15c7e",4:"a74b39fb",5:"fc53c3d0",6:"f2f19957",7:"16a64650",8:"85889ffd",9:"2e7d81ca",10:"f2cc3163",11:"a74b39fb",12:"31d6cfe0",13:"35f475a1",14:"31d6cfe0",15:"e5315535",16:"b279d085",17:"bb7c3056",18:"278ad3b1",19:"3a4dbb7a",20:"ca49c1cb",21:"951fd27d",22:"f16046f0",23:"b92d0394",24:"ff6280ad",25:"6f3a01ca",26:"039d87dd",27:"e318ce59",29:"3c41b358",30:"e939e004",31:"b02991f9",32:"55e46fc9",33:"dd7556e0",35:"fab97849",36:"f09a5959",37:"b002c899",38:"08df3d15",39:"49988cae",40:"1f56370b",42:"50547718",43:"2471f477",44:"0bb224f2",45:"ecbb6f9a",46:"18c88f1f",47:"eb90513f"}[e]+".chunk.css",o=d.p+n,i=document.getElementsByTagName("link"),c=0;c<i.length;c++){var f=(u=i[c]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(f===n||f===o))return r()}var s=document.getElementsByTagName("style");for(c=0;c<s.length;c++){var u;if((f=(u=s[c]).getAttribute("data-href"))===n||f===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,i=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");i.request=n,delete a[e],l.parentNode.removeChild(l),t(i)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var i,c=document.createElement("script");c.charset="utf-8",c.timeout=120,d.nc&&c.setAttribute("nonce",d.nc),c.src=function(e){return d.p+"mrstatic/js/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[e]||e)+"."+{0:"b10ff0c0",1:"1f6f7e8d",2:"20d812c7",3:"8a29b502",4:"18a190eb",5:"14123d42",6:"b1df8cc8",7:"5cf684c9",8:"34861d84",9:"36f3a7f4",10:"19ee9f02",11:"0b5b5a4f",12:"b2640394",13:"1a1ef2d0",14:"61a73f31",15:"fec4c498",16:"25d20b41",17:"cfce13e0",18:"6a15c8a8",19:"9686142e",20:"23651e74",21:"20f3bb2a",22:"216591ab",23:"9a88cde3",24:"d3617beb",25:"5808a539",26:"4b200da8",27:"e4fa14fa",29:"3113d077",30:"00c82079",31:"f3b86bf9",32:"63687f61",33:"2bba0bda",35:"941032bf",36:"9a0b00d8",37:"d3ec9cb4",38:"209b342e",39:"796a80ad",40:"72f1b799",42:"93b5c631",43:"8a6b5308",44:"5846c94e",45:"94dd8b4e",46:"5e9e1e20",47:"a2871adb"}[e]+".chunk.js"}(e),i=function(r){c.onerror=c.onload=null,clearTimeout(f);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,i=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");i.type=n,i.request=a,t[1](i)}o[e]=void 0}};var f=setTimeout(function(){i({type:"timeout",target:c})},12e4);c.onerror=c.onload=i,document.head.appendChild(c)}return Promise.all(r)},d.m=e,d.c=n,d.d=function(e,r,t){d.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,r){if(1&r&&(e=d(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)d.d(t,n,function(r){return e[r]}.bind(null,n));return t},d.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(r,"a",r),r},d.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},d.p="/",d.oe=function(e){throw console.error(e),e};var c=window.webpackJsonp=window.webpackJsonp||[],f=c.push.bind(c);c.push=r,c=c.slice();for(var s=0;s<c.length;s++)r(c[s]);var u=f;t()}([]);
//# sourceMappingURL=runtime~main.7074939a.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,a,d=r[0],c=r[1],f=r[2],s=0,l=[];s<d.length;s++)a=d[s],o[a]&&l.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(u&&u(r);l.length;)l.shift()();return i.push.apply(i,f||[]),t()}function t(){for(var e,r=0;r<i.length;r++){for(var t=i[r],n=!0,a=1;a<t.length;a++){var c=t[a];0!==o[c]&&(n=!1)}n&&(i.splice(r--,1),e=d(d.s=t[0]))}return e}var n={},a={34:0},o={34:0},i=[];function d(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,d),t.l=!0,t.exports}d.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,13:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,32:1,33:1,35:1,36:1,37:1,38:1,39:1,40:1,42:1,43:1,44:1,45:1,46:1,47:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"ddc8b984",3:"5ed15c7e",4:"a74b39fb",5:"fc53c3d0",6:"f2f19957",7:"16a64650",8:"85889ffd",9:"2e7d81ca",10:"f2cc3163",11:"a74b39fb",12:"31d6cfe0",13:"35f475a1",14:"31d6cfe0",15:"e5315535",16:"b279d085",17:"bb7c3056",18:"278ad3b1",19:"3a4dbb7a",20:"ca49c1cb",21:"951fd27d",22:"f16046f0",23:"b92d0394",24:"ff6280ad",25:"6f3a01ca",26:"039d87dd",27:"e318ce59",29:"3c41b358",30:"e939e004",31:"b02991f9",32:"55e46fc9",33:"dd7556e0",35:"fab97849",36:"f09a5959",37:"b002c899",38:"08df3d15",39:"49988cae",40:"1f56370b",42:"50547718",43:"2471f477",44:"0bb224f2",45:"ecbb6f9a",46:"18c88f1f",47:"eb90513f"}[e]+".chunk.css",o=d.p+n,i=document.getElementsByTagName("link"),c=0;c<i.length;c++){var f=(u=i[c]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(f===n||f===o))return r()}var s=document.getElementsByTagName("style");for(c=0;c<s.length;c++){var u;if((f=(u=s[c]).getAttribute("data-href"))===n||f===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,i=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");i.request=n,delete a[e],l.parentNode.removeChild(l),t(i)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var i,c=document.createElement("script");c.charset="utf-8",c.timeout=120,d.nc&&c.setAttribute("nonce",d.nc),c.src=function(e){return d.p+"mrstatic/js/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[e]||e)+"."+{0:"b10ff0c0",1:"1f6f7e8d",2:"20d812c7",3:"8a29b502",4:"18a190eb",5:"14123d42",6:"b1df8cc8",7:"5cf684c9",8:"34861d84",9:"36f3a7f4",10:"19ee9f02",11:"0b5b5a4f",12:"b2640394",13:"1a1ef2d0",14:"61a73f31",15:"fec4c498",16:"25d20b41",17:"cfce13e0",18:"6a15c8a8",19:"9686142e",20:"23651e74",21:"20f3bb2a",22:"216591ab",23:"9a88cde3",24:"d3617beb",25:"5808a539",26:"4b200da8",27:"e4fa14fa",29:"3113d077",30:"6ec2c26f",31:"f3b86bf9",32:"63687f61",33:"2bba0bda",35:"941032bf",36:"9a0b00d8",37:"d3ec9cb4",38:"209b342e",39:"796a80ad",40:"72f1b799",42:"93b5c631",43:"8a6b5308",44:"5846c94e",45:"94dd8b4e",46:"5e9e1e20",47:"a2871adb"}[e]+".chunk.js"}(e),i=function(r){c.onerror=c.onload=null,clearTimeout(f);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,i=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");i.type=n,i.request=a,t[1](i)}o[e]=void 0}};var f=setTimeout(function(){i({type:"timeout",target:c})},12e4);c.onerror=c.onload=i,document.head.appendChild(c)}return Promise.all(r)},d.m=e,d.c=n,d.d=function(e,r,t){d.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,r){if(1&r&&(e=d(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)d.d(t,n,function(r){return e[r]}.bind(null,n));return t},d.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(r,"a",r),r},d.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},d.p="/",d.oe=function(e){throw console.error(e),e};var c=window.webpackJsonp=window.webpackJsonp||[],f=c.push.bind(c);c.push=r,c=c.slice();for(var s=0;s<c.length;s++)r(c[s]);var u=f;t()}([]);
//# sourceMappingURL=runtime~main.db955668.js.map
\ No newline at end of file
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","34","exports","module","l","e","promises","2","3","4","5","6","7","8","9","10","11","13","15","16","17","18","19","20","21","22","23","24","25","26","27","29","30","31","32","33","35","36","37","38","39","40","42","43","44","45","46","47","Promise","resolve","reject","href","12","14","0","1","fullhref","p","existingLinkTags","document","getElementsByTagName","dataHref","tag","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","parentNode","removeChild","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","jsonpScriptSrc","clearTimeout","chunk","errorType","realSrc","error","undefined","setTimeout","head","all","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,EAAA,GACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAKA,IAFAe,KAAAhB,GAEAO,EAAAC,QACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,GAAA,IAGAe,IAEA,SAAAA,IAEA,IADA,IAAAC,EACAf,EAAA,EAAiBA,EAAAY,EAAAV,OAA4BF,IAAA,CAG7C,IAFA,IAAAgB,EAAAJ,EAAAZ,GACAiB,GAAA,EACAC,EAAA,EAAkBA,EAAAF,EAAAd,OAA2BgB,IAAA,CAC7C,IAAAC,EAAAH,EAAAE,GACA,IAAAf,EAAAgB,KAAAF,GAAA,GAEAA,IACAL,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,GAAA4B,EAAA5B,GACA,OAAA4B,EAAA5B,GAAA+B,QAGA,IAAAC,EAAAJ,EAAA5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A,iBACAC,EAAAF,EAAAhJ,KAAA0I,KAAAM,GACAA,EAAAhJ,KAAAX,EACA2J,IAAAG,QACA,QAAAvJ,EAAA,EAAgBA,EAAAoJ,EAAAlJ,OAAuBF,IAAAP,EAAA2J,EAAApJ,IACvC,IAAAU,EAAA4I,EAIAxI","file":"mrstatic/js/runtime~main.7074939a.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t34: 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t34: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"mrstatic/js/\" + ({\"4\":\"Activity\",\"5\":\"BargainMiddlePage\",\"6\":\"Classify\",\"7\":\"Country\",\"8\":\"CourseList\",\"9\":\"DrawDocument\",\"10\":\"Examination\",\"11\":\"Invite\",\"12\":\"MyEdit\",\"13\":\"Order\",\"14\":\"Orderinfo\",\"15\":\"PayOrder\",\"16\":\"Preferential\",\"17\":\"SearchResult\",\"18\":\"ShareCourse\",\"19\":\"ShopCart\",\"20\":\"aist-share\",\"21\":\"blessing-getPrize\",\"22\":\"blessing-preheat\",\"23\":\"blessing-rank\",\"24\":\"coupons\",\"25\":\"deposit-order\",\"26\":\"deposit-pay-order\",\"27\":\"detail\",\"29\":\"myorders\",\"30\":\"newyear-2019-landing\",\"31\":\"newyear-yearIndex\",\"32\":\"prize-winner-list\",\"33\":\"purchased\",\"35\":\"search\",\"36\":\"shareposter\",\"37\":\"study\",\"38\":\"system-notices\",\"39\":\"togroup\",\"40\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"b10ff0c0\",\"1\":\"1f6f7e8d\",\"2\":\"20d812c7\",\"3\":\"8a29b502\",\"4\":\"18a190eb\",\"5\":\"14123d42\",\"6\":\"b1df8cc8\",\"7\":\"5cf684c9\",\"8\":\"34861d84\",\"9\":\"36f3a7f4\",\"10\":\"19ee9f02\",\"11\":\"0b5b5a4f\",\"12\":\"b2640394\",\"13\":\"1a1ef2d0\",\"14\":\"61a73f31\",\"15\":\"fec4c498\",\"16\":\"25d20b41\",\"17\":\"cfce13e0\",\"18\":\"6a15c8a8\",\"19\":\"9686142e\",\"20\":\"23651e74\",\"21\":\"20f3bb2a\",\"22\":\"216591ab\",\"23\":\"9a88cde3\",\"24\":\"d3617beb\",\"25\":\"5808a539\",\"26\":\"4b200da8\",\"27\":\"e4fa14fa\",\"29\":\"3113d077\",\"30\":\"00c82079\",\"31\":\"f3b86bf9\",\"32\":\"63687f61\",\"33\":\"2bba0bda\",\"35\":\"941032bf\",\"36\":\"9a0b00d8\",\"37\":\"d3ec9cb4\",\"38\":\"209b342e\",\"39\":\"796a80ad\",\"40\":\"72f1b799\",\"42\":\"93b5c631\",\"43\":\"8a6b5308\",\"44\":\"5846c94e\",\"45\":\"94dd8b4e\",\"46\":\"5e9e1e20\",\"47\":\"a2871adb\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"2\":1,\"3\":1,\"4\":1,\"5\":1,\"6\":1,\"7\":1,\"8\":1,\"9\":1,\"10\":1,\"11\":1,\"13\":1,\"15\":1,\"16\":1,\"17\":1,\"18\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"25\":1,\"26\":1,\"27\":1,\"29\":1,\"30\":1,\"31\":1,\"32\":1,\"33\":1,\"35\":1,\"36\":1,\"37\":1,\"38\":1,\"39\":1,\"40\":1,\"42\":1,\"43\":1,\"44\":1,\"45\":1,\"46\":1,\"47\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"mrstatic/css/\" + ({\"4\":\"Activity\",\"5\":\"BargainMiddlePage\",\"6\":\"Classify\",\"7\":\"Country\",\"8\":\"CourseList\",\"9\":\"DrawDocument\",\"10\":\"Examination\",\"11\":\"Invite\",\"12\":\"MyEdit\",\"13\":\"Order\",\"14\":\"Orderinfo\",\"15\":\"PayOrder\",\"16\":\"Preferential\",\"17\":\"SearchResult\",\"18\":\"ShareCourse\",\"19\":\"ShopCart\",\"20\":\"aist-share\",\"21\":\"blessing-getPrize\",\"22\":\"blessing-preheat\",\"23\":\"blessing-rank\",\"24\":\"coupons\",\"25\":\"deposit-order\",\"26\":\"deposit-pay-order\",\"27\":\"detail\",\"29\":\"myorders\",\"30\":\"newyear-2019-landing\",\"31\":\"newyear-yearIndex\",\"32\":\"prize-winner-list\",\"33\":\"purchased\",\"35\":\"search\",\"36\":\"shareposter\",\"37\":\"study\",\"38\":\"system-notices\",\"39\":\"togroup\",\"40\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"31d6cfe0\",\"2\":\"ddc8b984\",\"3\":\"5ed15c7e\",\"4\":\"a74b39fb\",\"5\":\"fc53c3d0\",\"6\":\"f2f19957\",\"7\":\"16a64650\",\"8\":\"85889ffd\",\"9\":\"2e7d81ca\",\"10\":\"f2cc3163\",\"11\":\"a74b39fb\",\"12\":\"31d6cfe0\",\"13\":\"35f475a1\",\"14\":\"31d6cfe0\",\"15\":\"e5315535\",\"16\":\"b279d085\",\"17\":\"bb7c3056\",\"18\":\"278ad3b1\",\"19\":\"3a4dbb7a\",\"20\":\"ca49c1cb\",\"21\":\"951fd27d\",\"22\":\"f16046f0\",\"23\":\"b92d0394\",\"24\":\"ff6280ad\",\"25\":\"6f3a01ca\",\"26\":\"039d87dd\",\"27\":\"e318ce59\",\"29\":\"3c41b358\",\"30\":\"e939e004\",\"31\":\"b02991f9\",\"32\":\"55e46fc9\",\"33\":\"dd7556e0\",\"35\":\"fab97849\",\"36\":\"f09a5959\",\"37\":\"b002c899\",\"38\":\"08df3d15\",\"39\":\"49988cae\",\"40\":\"1f56370b\",\"42\":\"50547718\",\"43\":\"2471f477\",\"44\":\"0bb224f2\",\"45\":\"ecbb6f9a\",\"46\":\"18c88f1f\",\"47\":\"eb90513f\"}[chunkId] + \".chunk.css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\tvar error = new Error('Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')');\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","34","exports","module","l","e","promises","2","3","4","5","6","7","8","9","10","11","13","15","16","17","18","19","20","21","22","23","24","25","26","27","29","30","31","32","33","35","36","37","38","39","40","42","43","44","45","46","47","Promise","resolve","reject","href","12","14","0","1","fullhref","p","existingLinkTags","document","getElementsByTagName","dataHref","tag","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","parentNode","removeChild","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","jsonpScriptSrc","clearTimeout","chunk","errorType","realSrc","error","undefined","setTimeout","head","all","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,EAAA,GACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAKA,IAFAe,KAAAhB,GAEAO,EAAAC,QACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,GAAA,IAGAe,IAEA,SAAAA,IAEA,IADA,IAAAC,EACAf,EAAA,EAAiBA,EAAAY,EAAAV,OAA4BF,IAAA,CAG7C,IAFA,IAAAgB,EAAAJ,EAAAZ,GACAiB,GAAA,EACAC,EAAA,EAAkBA,EAAAF,EAAAd,OAA2BgB,IAAA,CAC7C,IAAAC,EAAAH,EAAAE,GACA,IAAAf,EAAAgB,KAAAF,GAAA,GAEAA,IACAL,EAAAQ,OAAApB,IAAA,GACAe,EAAAM,IAAAC,EAAAN,EAAA,KAGA,OAAAD,EAIA,IAAAQ,EAAA,GAGAC,EAAA,CACAC,GAAA,GAMAtB,EAAA,CACAsB,GAAA,GAGAb,EAAA,GAQA,SAAAS,EAAA1B,GAGA,GAAA4B,EAAA5B,GACA,OAAA4B,EAAA5B,GAAA+B,QAGA,IAAAC,EAAAJ,EAAA5B,GAAA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C,EAAAF,EAAAhJ,KAAA0I,KAAAM,GACAA,EAAAhJ,KAAAX,EACA2J,IAAAG,QACA,QAAAvJ,EAAA,EAAgBA,EAAAoJ,EAAAlJ,OAAuBF,IAAAP,EAAA2J,EAAApJ,IACvC,IAAAU,EAAA4I,EAIAxI","file":"mrstatic/js/runtime~main.db955668.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t34: 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t34: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"mrstatic/js/\" + ({\"4\":\"Activity\",\"5\":\"BargainMiddlePage\",\"6\":\"Classify\",\"7\":\"Country\",\"8\":\"CourseList\",\"9\":\"DrawDocument\",\"10\":\"Examination\",\"11\":\"Invite\",\"12\":\"MyEdit\",\"13\":\"Order\",\"14\":\"Orderinfo\",\"15\":\"PayOrder\",\"16\":\"Preferential\",\"17\":\"SearchResult\",\"18\":\"ShareCourse\",\"19\":\"ShopCart\",\"20\":\"aist-share\",\"21\":\"blessing-getPrize\",\"22\":\"blessing-preheat\",\"23\":\"blessing-rank\",\"24\":\"coupons\",\"25\":\"deposit-order\",\"26\":\"deposit-pay-order\",\"27\":\"detail\",\"29\":\"myorders\",\"30\":\"newyear-2019-landing\",\"31\":\"newyear-yearIndex\",\"32\":\"prize-winner-list\",\"33\":\"purchased\",\"35\":\"search\",\"36\":\"shareposter\",\"37\":\"study\",\"38\":\"system-notices\",\"39\":\"togroup\",\"40\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"b10ff0c0\",\"1\":\"1f6f7e8d\",\"2\":\"20d812c7\",\"3\":\"8a29b502\",\"4\":\"18a190eb\",\"5\":\"14123d42\",\"6\":\"b1df8cc8\",\"7\":\"5cf684c9\",\"8\":\"34861d84\",\"9\":\"36f3a7f4\",\"10\":\"19ee9f02\",\"11\":\"0b5b5a4f\",\"12\":\"b2640394\",\"13\":\"1a1ef2d0\",\"14\":\"61a73f31\",\"15\":\"fec4c498\",\"16\":\"25d20b41\",\"17\":\"cfce13e0\",\"18\":\"6a15c8a8\",\"19\":\"9686142e\",\"20\":\"23651e74\",\"21\":\"20f3bb2a\",\"22\":\"216591ab\",\"23\":\"9a88cde3\",\"24\":\"d3617beb\",\"25\":\"5808a539\",\"26\":\"4b200da8\",\"27\":\"e4fa14fa\",\"29\":\"3113d077\",\"30\":\"6ec2c26f\",\"31\":\"f3b86bf9\",\"32\":\"63687f61\",\"33\":\"2bba0bda\",\"35\":\"941032bf\",\"36\":\"9a0b00d8\",\"37\":\"d3ec9cb4\",\"38\":\"209b342e\",\"39\":\"796a80ad\",\"40\":\"72f1b799\",\"42\":\"93b5c631\",\"43\":\"8a6b5308\",\"44\":\"5846c94e\",\"45\":\"94dd8b4e\",\"46\":\"5e9e1e20\",\"47\":\"a2871adb\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"2\":1,\"3\":1,\"4\":1,\"5\":1,\"6\":1,\"7\":1,\"8\":1,\"9\":1,\"10\":1,\"11\":1,\"13\":1,\"15\":1,\"16\":1,\"17\":1,\"18\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"25\":1,\"26\":1,\"27\":1,\"29\":1,\"30\":1,\"31\":1,\"32\":1,\"33\":1,\"35\":1,\"36\":1,\"37\":1,\"38\":1,\"39\":1,\"40\":1,\"42\":1,\"43\":1,\"44\":1,\"45\":1,\"46\":1,\"47\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"mrstatic/css/\" + ({\"4\":\"Activity\",\"5\":\"BargainMiddlePage\",\"6\":\"Classify\",\"7\":\"Country\",\"8\":\"CourseList\",\"9\":\"DrawDocument\",\"10\":\"Examination\",\"11\":\"Invite\",\"12\":\"MyEdit\",\"13\":\"Order\",\"14\":\"Orderinfo\",\"15\":\"PayOrder\",\"16\":\"Preferential\",\"17\":\"SearchResult\",\"18\":\"ShareCourse\",\"19\":\"ShopCart\",\"20\":\"aist-share\",\"21\":\"blessing-getPrize\",\"22\":\"blessing-preheat\",\"23\":\"blessing-rank\",\"24\":\"coupons\",\"25\":\"deposit-order\",\"26\":\"deposit-pay-order\",\"27\":\"detail\",\"29\":\"myorders\",\"30\":\"newyear-2019-landing\",\"31\":\"newyear-yearIndex\",\"32\":\"prize-winner-list\",\"33\":\"purchased\",\"35\":\"search\",\"36\":\"shareposter\",\"37\":\"study\",\"38\":\"system-notices\",\"39\":\"togroup\",\"40\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"31d6cfe0\",\"2\":\"ddc8b984\",\"3\":\"5ed15c7e\",\"4\":\"a74b39fb\",\"5\":\"fc53c3d0\",\"6\":\"f2f19957\",\"7\":\"16a64650\",\"8\":\"85889ffd\",\"9\":\"2e7d81ca\",\"10\":\"f2cc3163\",\"11\":\"a74b39fb\",\"12\":\"31d6cfe0\",\"13\":\"35f475a1\",\"14\":\"31d6cfe0\",\"15\":\"e5315535\",\"16\":\"b279d085\",\"17\":\"bb7c3056\",\"18\":\"278ad3b1\",\"19\":\"3a4dbb7a\",\"20\":\"ca49c1cb\",\"21\":\"951fd27d\",\"22\":\"f16046f0\",\"23\":\"b92d0394\",\"24\":\"ff6280ad\",\"25\":\"6f3a01ca\",\"26\":\"039d87dd\",\"27\":\"e318ce59\",\"29\":\"3c41b358\",\"30\":\"e939e004\",\"31\":\"b02991f9\",\"32\":\"55e46fc9\",\"33\":\"dd7556e0\",\"35\":\"fab97849\",\"36\":\"f09a5959\",\"37\":\"b002c899\",\"38\":\"08df3d15\",\"39\":\"49988cae\",\"40\":\"1f56370b\",\"42\":\"50547718\",\"43\":\"2471f477\",\"44\":\"0bb224f2\",\"45\":\"ecbb6f9a\",\"46\":\"18c88f1f\",\"47\":\"eb90513f\"}[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
......@@ -16,16 +16,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/2.20d812c7.chunk.js"
},
{
"revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
},
{
"revision": "ed6a9d1b87fc974f14dc",
"url": "/mrstatic/js/3.8a29b502.chunk.js"
},
{
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
"revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
},
{
"revision": "183a7037ff6fae84b751",
......@@ -224,12 +224,12 @@ self.__precacheManifest = [
"url": "/mrstatic/js/myorders.3113d077.chunk.js"
},
{
"revision": "f025a4147b375be6faca",
"url": "/mrstatic/js/runtime~main.7074939a.js"
"revision": "2f86d290a6d6ec7b1c28",
"url": "/mrstatic/js/runtime~main.db955668.js"
},
{
"revision": "4f43782b9b799e10e4c4",
"url": "/mrstatic/js/newyear-2019-landing.00c82079.chunk.js"
"revision": "a19325ee8fd4dbc98410",
"url": "/mrstatic/js/newyear-2019-landing.6ec2c26f.chunk.js"
},
{
"revision": "9cbc00576e5053acae74",
......@@ -300,7 +300,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/newyear-yearIndex.b02991f9.chunk.css"
},
{
"revision": "4f43782b9b799e10e4c4",
"revision": "a19325ee8fd4dbc98410",
"url": "/mrstatic/css/newyear-2019-landing.e939e004.chunk.css"
},
{
......@@ -412,7 +412,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/2.ddc8b984.chunk.css"
},
{
"revision": "1954a9315a4aa07ef4275b3212a87bde",
"revision": "85a1114e7761dbf28376106ed240b4a4",
"url": "/index.html"
}
];
\ No newline at end of file
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
"/precache-manifest.6238e3e868d2eaaed0597224ca588660.js"
"/precache-manifest.34d9e94a156b0d96ffb1ec12302f2d56.js"
);
workbox.clientsClaim();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment