Commit 1ebb9cfc by xuzhenghua

直播

parent b8180e79
......@@ -7,8 +7,8 @@
"mrstatic/js/2.94d294dd.chunk.js": "/mrstatic/js/2.94d294dd.chunk.js",
"mrstatic/js/2.94d294dd.chunk.js.map": "/mrstatic/js/2.94d294dd.chunk.js.map",
"Activity.css": "/mrstatic/css/Activity.fa2c419d.chunk.css",
"Activity.js": "/mrstatic/js/Activity.aa238441.chunk.js",
"Activity.js.map": "/mrstatic/js/Activity.aa238441.chunk.js.map",
"Activity.js": "/mrstatic/js/Activity.98ecb255.chunk.js",
"Activity.js.map": "/mrstatic/js/Activity.98ecb255.chunk.js.map",
"BargainMiddlePage.css": "/mrstatic/css/BargainMiddlePage.eb686c74.chunk.css",
"BargainMiddlePage.js": "/mrstatic/js/BargainMiddlePage.516fb98e.chunk.js",
"BargainMiddlePage.js.map": "/mrstatic/js/BargainMiddlePage.516fb98e.chunk.js.map",
......@@ -28,13 +28,13 @@
"Examination.js": "/mrstatic/js/Examination.1cf1d3c6.chunk.js",
"Examination.js.map": "/mrstatic/js/Examination.1cf1d3c6.chunk.js.map",
"Invite.css": "/mrstatic/css/Invite.fa2c419d.chunk.css",
"Invite.js": "/mrstatic/js/Invite.bd29d41d.chunk.js",
"Invite.js.map": "/mrstatic/js/Invite.bd29d41d.chunk.js.map",
"Invite.js": "/mrstatic/js/Invite.a5980622.chunk.js",
"Invite.js.map": "/mrstatic/js/Invite.a5980622.chunk.js.map",
"MyEdit.js": "/mrstatic/js/MyEdit.94f33fa9.chunk.js",
"MyEdit.js.map": "/mrstatic/js/MyEdit.94f33fa9.chunk.js.map",
"Order.css": "/mrstatic/css/Order.8c058a7a.chunk.css",
"Order.js": "/mrstatic/js/Order.bac3f4ad.chunk.js",
"Order.js.map": "/mrstatic/js/Order.bac3f4ad.chunk.js.map",
"Order.js": "/mrstatic/js/Order.9a12e125.chunk.js",
"Order.js.map": "/mrstatic/js/Order.9a12e125.chunk.js.map",
"Orderinfo.js": "/mrstatic/js/Orderinfo.75fbdb93.chunk.js",
"Orderinfo.js.map": "/mrstatic/js/Orderinfo.75fbdb93.chunk.js.map",
"PayOrder.css": "/mrstatic/css/PayOrder.7eb7d317.chunk.css",
......@@ -56,11 +56,11 @@
"aist-share.js": "/mrstatic/js/aist-share.1aac9dd7.chunk.js",
"aist-share.js.map": "/mrstatic/js/aist-share.1aac9dd7.chunk.js.map",
"blessing-preheat.css": "/mrstatic/css/blessing-preheat.d6114e36.chunk.css",
"blessing-preheat.js": "/mrstatic/js/blessing-preheat.c33c547f.chunk.js",
"blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.c33c547f.chunk.js.map",
"blessing-preheat.js": "/mrstatic/js/blessing-preheat.8d974594.chunk.js",
"blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.8d974594.chunk.js.map",
"blessing-rank.css": "/mrstatic/css/blessing-rank.edf00bf8.chunk.css",
"blessing-rank.js": "/mrstatic/js/blessing-rank.0dd86d2f.chunk.js",
"blessing-rank.js.map": "/mrstatic/js/blessing-rank.0dd86d2f.chunk.js.map",
"blessing-rank.js": "/mrstatic/js/blessing-rank.2ca65536.chunk.js",
"blessing-rank.js.map": "/mrstatic/js/blessing-rank.2ca65536.chunk.js.map",
"coupons.css": "/mrstatic/css/coupons.466858c7.chunk.css",
"coupons.js": "/mrstatic/js/coupons.7b30820c.chunk.js",
"coupons.js.map": "/mrstatic/js/coupons.7b30820c.chunk.js.map",
......@@ -85,8 +85,8 @@
"purchased.css": "/mrstatic/css/purchased.bb758677.chunk.css",
"purchased.js": "/mrstatic/js/purchased.d4a92690.chunk.js",
"purchased.js.map": "/mrstatic/js/purchased.d4a92690.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.dfe9d349.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.dfe9d349.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.301879b2.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.301879b2.js.map",
"search.css": "/mrstatic/css/search.5716d9b3.chunk.css",
"search.js": "/mrstatic/js/search.34ce5f12.chunk.js",
"search.js.map": "/mrstatic/js/search.34ce5f12.chunk.js.map",
......@@ -166,6 +166,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.825549a54c994a6d51e7c5b10e84c489.js": "/precache-manifest.825549a54c994a6d51e7c5b10e84c489.js",
"precache-manifest.bd9f3249a619d2d1f9a3ef4916716e01.js": "/precache-manifest.bd9f3249a619d2d1f9a3ef4916716e01.js",
"service-worker.js": "/service-worker.js"
}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{1213:function(e,t,n){"use strict";n.r(t);n(41);var c=n(12),a=n.n(c),i=n(5),o=n(7),s=n(6),r=n(8),u=n(9),l=n(0),d=n.n(l),b=n(22),m=n(3),p=(n(728),n(37)),f=n.n(p),v=function(e){function t(e){var n;return Object(i.a)(this,t),(n=Object(s.a)(this,Object(r.a)(t).call(this,e))).getGift=function(){n.props.user.hasError?n.props.history.push("/passport"):a.a.info("\u9886\u53d6\u6210\u529f\uff0c\u4f60\u53ef\u524d\u5f80\u4e03\u6708\u5728\u7ebf\u5b98\u7f51/APP\u8fdb\u884c\u67e5\u770b",2)},n}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentWillMount",value:function(){f.a.set("blessing_invite_uid",Object(m.c)("shareuid"),{domain:".julyedu.com"}),f.a.set("blessing_invite_code",Object(m.c)("inviteCode"),{domain:".julyedu.com"})}},{key:"render",value:function(){return d.a.createElement("div",{className:"activity__con"},d.a.createElement("div",{className:"banner__con"}),d.a.createElement("div",{className:"content__con"},d.a.createElement("div",{className:"button__get",onClick:this.getGift},"\u7acb\u5373\u9886\u53d6")))}}]),t}(l.Component);t.default=Object(b.b)(function(e){return{user:e.user}},null)(v)},728:function(e,t,n){}}]);
//# sourceMappingURL=Activity.98ecb255.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/activity/index.js"],"names":["Activity","props","_this","Object","_Users_xzh_dnmp_www_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__","this","_Users_xzh_dnmp_www_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__","_Users_xzh_dnmp_www_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__","call","getGift","user","hasError","history","push","antd_mobile_lib_toast__WEBPACK_IMPORTED_MODULE_1___default","a","info","jsCookie","set","getParam","domain","react__WEBPACK_IMPORTED_MODULE_7___default","createElement","className","onClick","Component","connect","state"],"mappings":"yNAOMA,cACJ,SAAAA,EAAYC,GAAO,IAAAC,EAAA,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAL,IACjBE,EAAAC,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAH,GAAAQ,KAAAH,KAAMJ,KAQRQ,QAAU,WACLP,EAAKD,MAAMS,KAAKC,SACjBT,EAAKD,MAAMW,QAAQC,KAAK,aAExBC,EAAAC,EAAMC,KAAK,yHAA2B,IAbvBd,oFAKjBe,IAASC,IAAI,sBAAuBC,YAAS,YAAa,CAACC,OAAQ,iBACnEH,IAASC,IAAI,uBAAwBC,YAAS,cAAe,CAACC,OAAQ,kDAYtE,OACEC,EAAAN,EAAAO,cAAA,OAAKC,UAAU,iBACbF,EAAAN,EAAAO,cAAA,OAAKC,UAAU,gBACfF,EAAAN,EAAAO,cAAA,OAAKC,UAAU,gBACbF,EAAAN,EAAAO,cAAA,OAAKC,UAAU,cAAcC,QAASnB,KAAKI,SAA3C,qCAvBagB,aA8BRC,sBACb,SAAAC,GAAK,MAAK,CAACjB,KAAMiB,EAAMjB,OACvB,KAFagB,CAGb1B","file":"mrstatic/js/Activity.98ecb255.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport {connect} from \"react-redux\";\nimport { http, getParam } from '@/utils';\nimport './index.scss';\nimport {Toast} from \"antd-mobile\";\nimport jsCookie from 'js-cookie';\n\nclass Activity extends Component {\n constructor(props) {\n super(props);\n }\n\n componentWillMount() {\n jsCookie.set('blessing_invite_uid', getParam('shareuid'), {domain: '.julyedu.com'});\n jsCookie.set('blessing_invite_code', getParam('inviteCode'), {domain: '.julyedu.com'});\n }\n\n getGift = () => {\n if(this.props.user.hasError) {\n this.props.history.push('/passport');\n } else {\n Toast.info('领取成功,你可前往七月在线官网/APP进行查看', 2);\n }\n }\n\n render() {\n return (\n <div className=\"activity__con\">\n <div className='banner__con'></div>\n <div className='content__con'>\n <div className=\"button__get\" onClick={this.getGift}>立即领取</div>\n </div>\n </div>\n )\n }\n}\n\nexport default connect(\n state => ({user: state.user}),\n null\n)(Activity);\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{1213:function(e,t,n){"use strict";n.r(t);n(41);var c=n(12),a=n.n(c),i=n(5),s=n(7),o=n(6),r=n(8),u=n(9),l=n(0),b=n.n(l),p=n(22),d=n(3),f=(n(728),n(37)),v=n.n(f),_=function(e){function t(e){var n;return Object(i.a)(this,t),(n=Object(o.a)(this,Object(r.a)(t).call(this,e))).getGift=function(){n.props.user.hasError?n.props.history.push("/passport"):a.a.info("\u9886\u53d6\u6210\u529f\uff0c\u4f60\u53ef\u524d\u5f80\u4e03\u6708\u5728\u7ebf\u5b98\u7f51/APP\u8fdb\u884c\u67e5\u770b",2)},n}return Object(u.a)(t,e),Object(s.a)(t,[{key:"componentWillMount",value:function(){v.a.set("blessing_invite_uid",Object(d.c)("shareuid")),v.a.set("blessing_invite_code",Object(d.c)("inviteCode"))}},{key:"render",value:function(){return b.a.createElement("div",{className:"activity__con"},b.a.createElement("div",{className:"banner__con"}),b.a.createElement("div",{className:"content__con"},b.a.createElement("div",{className:"button__get",onClick:this.getGift},"\u7acb\u5373\u9886\u53d6")))}}]),t}(l.Component);t.default=Object(p.b)(function(e){return{user:e.user}},null)(_)},728:function(e,t,n){}}]);
//# sourceMappingURL=Activity.aa238441.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/activity/index.js"],"names":["Activity","props","_this","Object","_Users_xzh_dnmp_www_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__","this","_Users_xzh_dnmp_www_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__","_Users_xzh_dnmp_www_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__","call","getGift","user","hasError","history","push","antd_mobile_lib_toast__WEBPACK_IMPORTED_MODULE_1___default","a","info","jsCookie","set","getParam","react__WEBPACK_IMPORTED_MODULE_7___default","createElement","className","onClick","Component","connect","state"],"mappings":"yNAOMA,cACJ,SAAAA,EAAYC,GAAO,IAAAC,EAAA,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAL,IACjBE,EAAAC,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAH,GAAAQ,KAAAH,KAAMJ,KAQRQ,QAAU,WACLP,EAAKD,MAAMS,KAAKC,SACjBT,EAAKD,MAAMW,QAAQC,KAAK,aAExBC,EAAAC,EAAMC,KAAK,yHAA2B,IAbvBd,oFAKjBe,IAASC,IAAI,sBAAuBC,YAAS,aAC7CF,IAASC,IAAI,uBAAwBC,YAAS,gDAY9C,OACEC,EAAAL,EAAAM,cAAA,OAAKC,UAAU,iBACbF,EAAAL,EAAAM,cAAA,OAAKC,UAAU,gBACfF,EAAAL,EAAAM,cAAA,OAAKC,UAAU,gBACbF,EAAAL,EAAAM,cAAA,OAAKC,UAAU,cAAcC,QAASlB,KAAKI,SAA3C,qCAvBae,aA8BRC,sBACb,SAAAC,GAAK,MAAK,CAAChB,KAAMgB,EAAMhB,OACvB,KAFae,CAGbzB","file":"mrstatic/js/Activity.aa238441.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport {connect} from \"react-redux\";\nimport { http, getParam } from '@/utils';\nimport './index.scss';\nimport {Toast} from \"antd-mobile\";\nimport jsCookie from 'js-cookie';\n\nclass Activity extends Component {\n constructor(props) {\n super(props);\n }\n\n componentWillMount() {\n jsCookie.set('blessing_invite_uid', getParam('shareuid'));\n jsCookie.set('blessing_invite_code', getParam('inviteCode'));\n }\n\n getGift = () => {\n if(this.props.user.hasError) {\n this.props.history.push('/passport');\n } else {\n Toast.info('领取成功,你可前往七月在线官网/APP进行查看', 2);\n }\n }\n\n render() {\n return (\n <div className=\"activity__con\">\n <div className='banner__con'></div>\n <div className='content__con'>\n <div className=\"button__get\" onClick={this.getGift}>立即领取</div>\n </div>\n </div>\n )\n }\n}\n\nexport default connect(\n state => ({user: state.user}),\n null\n)(Activity);\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{1214:function(e,t,a){"use strict";a.r(t);a(41);var n=a(12),i=a.n(n),s=a(5),c=a(7),o=a(6),l=a(8),r=a(9),m=a(0),u=a.n(m),d=a(22),h=(a(728),a(3)),v=a(37),_=a.n(v),p=function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(o.a)(this,Object(l.a)(t).call(this,e))).getUserList=function(){h.d.get("".concat(API.home,"/sys/user/invite/list")).then(function(e){var t=e.data,n=t.code,s=t.data,c=t.msg;200===n?a.setState({userList:s}):i.a.info(c,2)})},a.getHotValue=function(){h.d.get("".concat(API.home,"/sys/user/hot/value")).then(function(e){var t=e.data,n=t.code,s=t.data,c=t.msg;200===n?a.setState({hot_schedule:s.hot_schedule,hotValue:s.hot_value}):i.a.info(c,2)})},a.getInviteCode=function(){h.d.get("".concat(API.home,"/sys/user/invite/link")).then(function(e){var t=e.data,n=t.code,s=t.data,c=t.msg;if(200===n){var o=s.blessing_invite_code;Object(h.f)()&&Object(h.i)({title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:encodeURI(location.origin+"/invite?shareuid=".concat(_.a.get("uid"),"&new=1&inviteCode=").concat(o)),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}),a.setState(function(){return{inviteCode:o}})}else 4030===n||4040===n?history.push("/passport"):i.a.info(c,2)})},a.inviteFriends=function(){var e=a.props,t=e.user,n=e.history,i=a.state.inviteCode;if(Object(h.c)("version"))if(t.hasError)Object(h.a)("toLogin");else{Object(h.a)("toShare",{title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:"https://m.julyedu.com/blessingPreheat",imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"})}else t.hasError?n.push("/passport"):Object(h.f)()?(Object(h.i)({title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:encodeURI(location.origin+"/invite?shareuid=".concat(_.a.get("uid"),"&new=1&inviteCode=").concat(i)),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}),a.setState({showTip:!0,isWeiXin:!0})):(n.push("/invite?shareuid=".concat(_.a.get("uid"),"&new=1&inviteCode=").concat(i)),a.setState({showTip:!0}))},a.closeMark=function(){a.setState({showTip:!1})},a.state={isWeiXin:!1,showTip:!1,hotValue:0,hot_schedule:"",userList:[],inviteCode:""},a}return Object(r.a)(t,e),Object(c.a)(t,[{key:"componentWillMount",value:function(){var e=_.a.get("uid"),t=Object(h.c)("shareuid");e===t||Object(h.c)("new")&&this.props.history.push("/activity?shareuid=".concat(t,"&inviteCode=").concat(Object(h.c)("inviteCode")))}},{key:"componentDidMount",value:function(){this.props.user.hasError||(this.getUserList(),this.getHotValue(),this.getInviteCode())}},{key:"componentWillReceiveProps",value:function(e){console.log("componentWillReceiveProps"),e.user.hasError||(this.getUserList(),this.getHotValue(),this.getInviteCode())}},{key:"render",value:function(){var e=this.state,t=e.userList,a=e.showTip,n=e.hotValue,i=e.hot_schedule,s=e.isWeiXin;return u.a.createElement("div",{className:"activity__con"},u.a.createElement("div",{className:"banner__con"}),u.a.createElement("div",{className:"invite__content"},u.a.createElement("div",{className:"content__one"},u.a.createElement("p",null,"\u9080\u8bf7\u597d\u53cb\u6ce8\u518c\uff0c\u6bcf\u589e\u52a01\u4eba\u53ef"),u.a.createElement("div",{className:"img__con"})),u.a.createElement("div",{className:"content__two"},"\u798f\u6c14\u503c\u8d8a\u9ad8\uff0c\u70ed\u529b\u503c\u8d8a\u9ad8\uff0c\u4e2d\u5956\u6982\u7387\u8d8a\u5927\uff01"),u.a.createElement("div",{className:"box__out"},u.a.createElement("div",{className:"box__middle"},u.a.createElement("div",{className:"box__inner"},u.a.createElement("p",null,"\u5f53\u524d\u4e2d\u5956\u70ed\u529b\u503c:"),u.a.createElement("p",{className:"hot__value"},n),u.a.createElement("div",{className:"hot__progress"},u.a.createElement("div",{className:"progress__bar"},u.a.createElement("div",{className:"progress__point",style:{width:i}})))))),u.a.createElement("div",{className:"but__con"},u.a.createElement("div",{className:"button__content",onClick:this.inviteFriends},"\u7acb\u5373\u9080\u8bf7")),t.length>0?u.a.createElement(u.a.Fragment,null,u.a.createElement("div",{className:"list__title"},u.a.createElement("span",null,"\u9080\u8bf7\u597d\u53cb\u5217\u8868")),u.a.createElement("p",{className:"show__new"},"(\u4ec5\u663e\u793a\u65b0\u7528\u6237)")):null,t.length>0?u.a.createElement("div",{className:"list__con"},1===t.length&&t.map(function(e,t){return u.a.createElement("div",{className:"user__item-info item__con-only",key:t},u.a.createElement("div",{className:"item__con"},u.a.createElement("img",{className:"user_avatar",src:e.avatar}),u.a.createElement("div",{className:"user_name"},e.name)))}),t.length>1&&t.map(function(e,t){return u.a.createElement("div",{className:"user__item-info",key:t},u.a.createElement("div",{className:"item__con"},u.a.createElement("img",{className:"user_avatar",src:e.avatar}),u.a.createElement("div",{className:"user_name"},e.name)))})):null),a&&u.a.createElement("div",{className:"share__mark",onClick:this.closeMark},u.a.createElement("div",{className:"share__tip"},"\u7acb\u5373\u5206\u4eab\u7ed9\u597d\u53cb\u589e\u52a0\u4e2d\u5956\u6982\u7387"),s?u.a.createElement("div",{className:"share__row"}):null))}}]),t}(m.Component);t.default=Object(d.b)(function(e){return{user:e.user}},null)(p)},728:function(e,t,a){}}]);
//# sourceMappingURL=Invite.a5980622.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{1214:function(e,t,a){"use strict";a.r(t);a(41);var n=a(12),s=a.n(n),i=a(5),c=a(7),l=a(6),r=a(8),o=a(9),m=a(0),u=a.n(m),d=a(22),h=(a(728),a(3)),_=a(37),v=a.n(_),p=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(l.a)(this,Object(r.a)(t).call(this,e))).getUserList=function(){h.d.get("".concat(API.home,"/sys/user/invite/list")).then(function(e){var t=e.data,n=t.code,i=t.data,c=t.msg;200===n?a.setState({userList:i}):s.a.info(c,2)})},a.getHotValue=function(){h.d.get("".concat(API.home,"/sys/user/hot/value")).then(function(e){var t=e.data,n=t.code,i=t.data,c=t.msg;200===n?a.setState({hot_schedule:i.hot_schedule,hotValue:i.hot_value}):s.a.info(c,2)})},a.inviteFriends=function(){var e=a.props,t=e.user,n=e.history;if(Object(h.c)("version"))if(t.hasError)Object(h.a)("toLogin");else{Object(h.a)("toShare",{title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:"https://m.julyedu.com/blessingPreheat",imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"})}else t.hasError?n.push("/passport"):h.d.get("".concat(API.home,"/sys/user/invite/link")).then(function(e){var t=e.data,i=t.code,c=t.data,l=t.msg;if(200===i){var r=c.blessing_invite_code;Object(h.f)()?(Object(h.i)({title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:encodeURI(location.origin+"/invite?shareuid=".concat(v.a.get("uid"),"&new=1&inviteCode=").concat(r)),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}),a.setState({showTip:!0,isWeiXin:!0})):(n.push("/invite?shareuid=".concat(v.a.get("uid"),"&new=1&inviteCode=").concat(r)),a.setState({showTip:!0}))}else 4030===i||4040===i?n.push("/passport"):s.a.info(l,2)})},a.closeMark=function(){a.setState({showTip:!1})},a.state={isWeiXin:!1,showTip:!1,hotValue:0,hot_schedule:"",userList:[]},a}return Object(o.a)(t,e),Object(c.a)(t,[{key:"componentWillMount",value:function(){var e=v.a.get("uid"),t=Object(h.c)("shareuid");e===t||Object(h.c)("new")&&this.props.history.push("/activity?shareuid=".concat(t,"&inviteCode=").concat(Object(h.c)("inviteCode")))}},{key:"componentDidMount",value:function(){this.props.user.hasError||(this.getUserList(),this.getHotValue())}},{key:"componentWillReceiveProps",value:function(e){e.user.hasError||(this.getUserList(),this.getHotValue())}},{key:"render",value:function(){var e=this.state,t=e.userList,a=e.showTip,n=e.hotValue,s=e.hot_schedule,i=e.isWeiXin;return u.a.createElement("div",{className:"activity__con"},u.a.createElement("div",{className:"banner__con"}),u.a.createElement("div",{className:"invite__content"},u.a.createElement("div",{className:"content__one"},u.a.createElement("p",null,"\u9080\u8bf7\u597d\u53cb\u6ce8\u518c\uff0c\u6bcf\u589e\u52a01\u4eba\u53ef"),u.a.createElement("div",{className:"img__con"})),u.a.createElement("div",{className:"content__two"},"\u798f\u6c14\u503c\u8d8a\u9ad8\uff0c\u70ed\u529b\u503c\u8d8a\u9ad8\uff0c\u4e2d\u5956\u6982\u7387\u8d8a\u5927\uff01"),u.a.createElement("div",{className:"box__out"},u.a.createElement("div",{className:"box__middle"},u.a.createElement("div",{className:"box__inner"},u.a.createElement("p",null,"\u5f53\u524d\u4e2d\u5956\u70ed\u529b\u503c:"),u.a.createElement("p",{className:"hot__value"},n),u.a.createElement("div",{className:"hot__progress"},u.a.createElement("div",{className:"progress__bar"},u.a.createElement("div",{className:"progress__point",style:{width:s}})))))),u.a.createElement("div",{className:"but__con"},u.a.createElement("div",{className:"button__content",onClick:this.inviteFriends},"\u7acb\u5373\u9080\u8bf7")),t.length>0?u.a.createElement(u.a.Fragment,null,u.a.createElement("div",{className:"list__title"},u.a.createElement("span",null,"\u9080\u8bf7\u597d\u53cb\u5217\u8868")),u.a.createElement("p",{className:"show__new"},"(\u4ec5\u663e\u793a\u65b0\u7528\u6237)")):null,t.length>0?u.a.createElement("div",{className:"list__con"},1===t.length&&t.map(function(e,t){return u.a.createElement("div",{className:"user__item-info item__con-only",key:t},u.a.createElement("div",{className:"item__con"},u.a.createElement("img",{className:"user_avatar",src:e.avatar}),u.a.createElement("div",{className:"user_name"},e.name)))}),t.length>1&&t.map(function(e,t){return u.a.createElement("div",{className:"user__item-info",key:t},u.a.createElement("div",{className:"item__con"},u.a.createElement("img",{className:"user_avatar",src:e.avatar}),u.a.createElement("div",{className:"user_name"},e.name)))})):null),a&&u.a.createElement("div",{className:"share__mark",onClick:this.closeMark},u.a.createElement("div",{className:"share__tip"},"\u7acb\u5373\u5206\u4eab\u7ed9\u597d\u53cb\u589e\u52a0\u4e2d\u5956\u6982\u7387"),i?u.a.createElement("div",{className:"share__row"}):null))}}]),t}(m.Component);t.default=Object(d.b)(function(e){return{user:e.user}},null)(p)},728:function(e,t,a){}}]);
//# sourceMappingURL=Invite.bd29d41d.chunk.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{1170:function(e,a,t){},1171:function(e,a,t){},1229:function(e,a,t){"use strict";t.r(a);var n,r=t(5),s=t(7),c=t(6),l=t(8),d=t(9),m=t(0),o=t.n(m),i=t(22),u=t(3),_=t(27),p=t(20),f=(t(41),t(12)),b=t.n(f),h=t(42),E=t(19),k=(t(1170),function(e){function a(e){var t;return Object(r.a)(this,a),(t=Object(c.a)(this,Object(l.a)(a).call(this,e))).fetchUserAddress=function(){var e=t.state.addressInfo;u.d.get("".concat(API.home,"/sys/user_address_info")).then(function(a){var n=a.data,r=n.code,s=n.data;n.msg;200===r&&t.setState({addressInfo:Object.assign({},e,{name:s.name,phone:s.phone,address:s.address}),isLoading:!0})})},t.handleToSubmit=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.props.handleToHide;u.d.post("".concat(API.home,"/sys/collect_info"),e).then(function(e){var t=e.data,n=t.code,r=t.msg;200===n?a():b.a.info(r,2,null,!1)})},t.state={isLoading:!1,addressInfo:{name:"",phone:"",address:""}},t}return Object(d.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){this.fetchUserAddress()}},{key:"render",value:function(){var e=this,a=this.state,t=a.isLoading,n=a.addressInfo;return o.a.createElement(o.a.Fragment,null,t&&o.a.createElement(E.d,{initialValues:Object(p.a)({},n),validate:function(e){var a=e.name,t=e.phone,n=e.address,r={};return a||(r.name="\u8bf7\u8f93\u5165\u6536\u4ef6\u4eba"),/^1[3-9]\d{9}$/.test(t)||(r.phone="\u8bf7\u586b\u5199\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7"),n||(r.address="\u8bf7\u8f93\u5165\u6536\u8d27\u5730\u5740"),r},onSubmit:function(a){e.handleToSubmit(a)},render:function(e){var a=e.errors;return o.a.createElement(E.c,{className:"address-form"},o.a.createElement("p",{className:"address-form__desc"},"\u8bf7\u53ca\u65f6\u586b\u5199\u6536\u8d27\u4fe1\u606f\uff0c\u83b7\u5f97\u5b9e\u7269\u5956\u54c1\u540e\u5c06\u7b2c\u4e00\u65f6\u95f4\u4e3a\u60a8\u90ae\u5bc4"),o.a.createElement(E.b,{name:"name",render:function(e){var t=e.field;return o.a.createElement("div",{className:"address-form__item"},o.a.createElement("input",Object.assign({},t,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u4ef6\u4eba"})),a.name&&o.a.createElement("p",{className:"address-form__tip"},a.name))}}),o.a.createElement(E.b,{name:"phone",render:function(e){var t=e.field;return o.a.createElement("div",{className:"address-form__item"},o.a.createElement("input",Object.assign({},t,{className:"address-form__ipt",type:"text",placeholder:"\u8054\u7cfb\u65b9\u5f0f"})),a.phone&&o.a.createElement("p",{className:"address-form__tip"},a.phone))}}),o.a.createElement(E.b,{name:"address",render:function(e){var t=e.field;return o.a.createElement("div",{className:"address-form__item"},o.a.createElement("input",Object.assign({},t,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u8d27\u5730\u5740"})),a.address&&o.a.createElement("p",{className:"address-form__tip"},a.address))}}),o.a.createElement("button",{className:"address-form__submit","data-status":Object(h.isEmpty)(a)?"do":"",type:"submit"},"\u63d0\u4ea4"))}}))}}]),a}(m.Component)),N=(t(1171),Object(i.b)(function(e){return{uid:e.user.data.uid||""}})(n=function(e){function a(e){var t;return Object(r.a)(this,a),(t=Object(c.a)(this,Object(l.a)(a).call(this,e))).popupInstance=null,t.fetchRankData=function(){u.d.get("".concat(API.home,"/sys/blessing/ranking")).then(function(e){var a=e.data,n=a.code,r=a.data;200===n&&t.setState({rankList:r})})},t.handleToSwitch=function(e){var a=t.props,n=a.history,r=a.uid;e&&!r?n.push("/passport"):e&&!t.popupInstance?t.popupInstance=Object(_.h)({title:"\u6536\u8d27\u4fe1\u606f",content:o.a.createElement(k,{handleToHide:function(){return t.handleToSwitch(!1)}})}):(t.popupInstance.close(),t.popupInstance=null)},t.formatString=function(e,a){return e.length>a?"".concat(e.substr(0,a),"..."):e},t.state={rankList:[],rules:["1\u3001\u6392\u884c\u699c\u540d\u6b21\u4ee52019\u5e7411\u670813\u65e524\u70b9\u4e03\u6708\u5728\u7ebf\u516c\u5e03\u7684\u6392\u884c\u699c\u4e3a\u51c6\uff0c\u699c\u5355\u786e\u8ba4\u540e\uff0c\u5f97\u5956\u5c0f\u4f19\u4f34\u8bf7\u53ca\u65f6\u586b\u5199\u90ae\u5bc4\u4fe1\u606f\uff0c7\u4e2a\u81ea\u7136\u65e5\u5185\u4e0d\u586b\u5199\uff0c\u89c6\u4e3a\u4e3b\u52a8\u653e\u5f03\u5956\u54c1\uff1b","2\u3001\u798f\u6c14\u503c\u53ea\u5728\u672c\u6d3b\u52a8\u671f\u95f4\u4eab\u53d7\u62bd\u5956\u3001\u63d0\u9ad8\u4e2d\u5956\u6982\u7387\u3001\u8d2d\u8bfe\u4f18\u5316\u3001\u589e\u52a0AI\u6c34\u5e73\u6d4b\u8bd5\u7b49\u798f\u5229\uff1b","3\u3001\u5982\u6709\u53d1\u73b0\u6076\u610f\u5237\u699c\uff0c\u5237\u865a\u5047\u6570\u636e\u7b49\u884c\u4e3a\u5c06\u53d6\u6d88\u5176\u9886\u5956\u8d44\u683c\uff1b","4\u3001\u672c\u6d3b\u52a8\u89e3\u91ca\u6743\u5f52\u5317\u4eac\u4e03\u6708\u5728\u7ebf\u79d1\u6280\u6709\u9650\u516c\u53f8\u6240\u6709\u3002"]},t}return Object(d.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){this.fetchRankData()}},{key:"render",value:function(){var e=this,a=this.state,t=a.rankList,n=a.rules;return o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"rank__banner"}),o.a.createElement("div",{className:"rank__body"},o.a.createElement("button",{className:"rank__address",onClick:function(){return e.handleToSwitch(!0)}},"\u586b\u5199\u6536\u8d27\u5730\u5740>"),o.a.createElement("div",{className:"rank__table"},o.a.createElement("dl",{className:"rank__table-header"},o.a.createElement("dd",{className:"rank__table-column"},"\u6392\u540d"),o.a.createElement("dd",{className:"rank__table-column"},"\u7528\u6237"),o.a.createElement("dd",{className:"rank__table-column"},"\u6210\u7ee9"),o.a.createElement("dd",{className:"rank__table-column"},"\u5956\u54c1")),t.map(function(a,t){return o.a.createElement("dl",{className:"rank__table-body",key:t},o.a.createElement("dd",{className:"rank__table-column"},t<3?o.a.createElement("i",{className:"rank__table-num","data-num":t+1}):t+1),o.a.createElement("dd",{className:"rank__table-column"},o.a.createElement("div",{className:"rank__table-user"},o.a.createElement("i",{className:"rank__table-portrait",style:{backgroundImage:"url(".concat(a.head_image,")")}}),o.a.createElement("span",null,e.formatString(a.user_name,5)))),o.a.createElement("dd",{className:"rank__table-column"},a.blessing_value),o.a.createElement("dd",{className:"rank__table-column"},e.formatString(a.prize_name,7)))})),o.a.createElement("div",{className:"rank__rule"},o.a.createElement("h2",{className:"rank__rule-title"},"\u6d3b\u52a8\u89c4\u5219"),n.map(function(e,a){return o.a.createElement("p",{className:"rank__rule-desc",key:a},e)}))))}}]),a}(m.Component))||n);a.default=N}}]);
//# sourceMappingURL=blessing-rank.0dd86d2f.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{1170:function(e,a,t){},1171:function(e,a,t){},1229:function(e,a,t){"use strict";t.r(a);var n,r=t(5),s=t(7),c=t(6),l=t(8),d=t(9),m=t(0),o=t.n(m),i=t(22),u=t(3),_=t(27),p=t(20),f=(t(41),t(12)),h=t.n(f),b=(t(42),t(19)),E=(t(1170),function(e){function a(e){var t;return Object(r.a)(this,a),(t=Object(c.a)(this,Object(l.a)(a).call(this,e))).fetchUserAddress=function(){var e=t.state.addressInfo;u.d.get("".concat(API.home,"/sys/user_address_info")).then(function(a){var n=a.data,r=n.code,s=n.data;n.msg;200===r&&t.setState({addressInfo:Object.assign({},e,{name:s.name,phone:s.phone,address:s.address}),isLoading:!0})})},t.handleToSubmit=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.props.handleToHide;u.d.post("".concat(API.home,"/sys/collect_info"),e).then(function(e){var t=e.data,n=t.code,r=t.msg;200===n?a():h.a.info(r,2,null,!1)})},t.state={isLoading:!1,addressInfo:{name:"",phone:"",address:""}},t}return Object(d.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){this.fetchUserAddress()}},{key:"render",value:function(){var e=this,a=this.state,t=a.isLoading,n=a.addressInfo;return o.a.createElement(o.a.Fragment,null,t&&o.a.createElement(b.d,{initialValues:Object(p.a)({},n),validate:function(e){var a=e.name,t=e.phone,n=e.address,r={};return a||(r.name="\u8bf7\u8f93\u5165\u6536\u4ef6\u4eba"),/^1[3-9]\d{9}$/.test(t)||(r.phone="\u8bf7\u586b\u5199\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7"),n||(r.address="\u8bf7\u8f93\u5165\u6536\u8d27\u5730\u5740"),r},validateOnBlur:!1,validateOnChange:!1,onSubmit:function(a){e.handleToSubmit(a)},render:function(e){var a=e.errors;return o.a.createElement(b.c,{className:"address-form"},o.a.createElement("p",{className:"address-form__desc"},"\u8bf7\u53ca\u65f6\u586b\u5199\u6536\u8d27\u4fe1\u606f\uff0c\u83b7\u5f97\u5b9e\u7269\u5956\u54c1\u540e\u5c06\u7b2c\u4e00\u65f6\u95f4\u4e3a\u60a8\u90ae\u5bc4"),o.a.createElement(b.b,{name:"name",render:function(e){var t=e.field;return o.a.createElement("div",{className:"address-form__item"},o.a.createElement("input",Object.assign({},t,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u4ef6\u4eba"})),a.name&&o.a.createElement("p",{className:"address-form__tip"},a.name))}}),o.a.createElement(b.b,{name:"phone",render:function(e){var t=e.field;return o.a.createElement("div",{className:"address-form__item"},o.a.createElement("input",Object.assign({},t,{className:"address-form__ipt",type:"text",placeholder:"\u8054\u7cfb\u65b9\u5f0f"})),a.phone&&o.a.createElement("p",{className:"address-form__tip"},a.phone))}}),o.a.createElement(b.b,{name:"address",render:function(e){var t=e.field;return o.a.createElement("div",{className:"address-form__item"},o.a.createElement("input",Object.assign({},t,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u8d27\u5730\u5740"})),a.address&&o.a.createElement("p",{className:"address-form__tip"},a.address))}}),o.a.createElement("button",{className:"address-form__submit","data-status":"do",type:"submit"},"\u63d0\u4ea4"))}}))}}]),a}(m.Component)),k=(t(1171),Object(i.b)(function(e){return{uid:e.user.data.uid||""}})(n=function(e){function a(e){var t;return Object(r.a)(this,a),(t=Object(c.a)(this,Object(l.a)(a).call(this,e))).popupInstance=null,t.fetchRankData=function(){u.d.get("".concat(API.home,"/sys/blessing/ranking")).then(function(e){var a=e.data,n=a.code,r=a.data;200===n&&t.setState({rankList:r})})},t.handleToSwitch=function(e){var a=t.props,n=a.history,r=a.uid;e&&!r?n.push("/passport"):e&&!t.popupInstance?t.popupInstance=Object(_.h)({title:"\u6536\u8d27\u4fe1\u606f",content:o.a.createElement(E,{handleToHide:function(){return t.handleToSwitch(!1)}})}):(t.popupInstance.close(),t.popupInstance=null)},t.formatString=function(e,a){return e.length>a?"".concat(e.substr(0,a),"..."):e},t.state={rankList:[],rules:["1\u3001\u6392\u884c\u699c\u540d\u6b21\u4ee52019\u5e7411\u670813\u65e524\u70b9\u4e03\u6708\u5728\u7ebf\u516c\u5e03\u7684\u6392\u884c\u699c\u4e3a\u51c6\uff0c\u699c\u5355\u786e\u8ba4\u540e\uff0c\u5f97\u5956\u5c0f\u4f19\u4f34\u8bf7\u53ca\u65f6\u586b\u5199\u90ae\u5bc4\u4fe1\u606f\uff0c7\u4e2a\u81ea\u7136\u65e5\u5185\u4e0d\u586b\u5199\uff0c\u89c6\u4e3a\u4e3b\u52a8\u653e\u5f03\u5956\u54c1\uff1b","2\u3001\u798f\u6c14\u503c\u53ea\u5728\u672c\u6d3b\u52a8\u671f\u95f4\u4eab\u53d7\u62bd\u5956\u3001\u63d0\u9ad8\u4e2d\u5956\u6982\u7387\u3001\u8d2d\u8bfe\u4f18\u5316\u3001\u589e\u52a0AI\u6c34\u5e73\u6d4b\u8bd5\u7b49\u798f\u5229\uff1b","3\u3001\u5982\u6709\u53d1\u73b0\u6076\u610f\u5237\u699c\uff0c\u5237\u865a\u5047\u6570\u636e\u7b49\u884c\u4e3a\u5c06\u53d6\u6d88\u5176\u9886\u5956\u8d44\u683c\uff1b","4\u3001\u672c\u6d3b\u52a8\u89e3\u91ca\u6743\u5f52\u5317\u4eac\u4e03\u6708\u5728\u7ebf\u79d1\u6280\u6709\u9650\u516c\u53f8\u6240\u6709\u3002"]},t}return Object(d.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){this.fetchRankData()}},{key:"render",value:function(){var e=this,a=this.state,t=a.rankList,n=a.rules;return o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"rank__banner"}),o.a.createElement("div",{className:"rank__body"},o.a.createElement("button",{className:"rank__address",onClick:function(){return e.handleToSwitch(!0)}},"\u586b\u5199\u6536\u8d27\u5730\u5740>"),o.a.createElement("div",{className:"rank__table"},o.a.createElement("dl",{className:"rank__table-header"},o.a.createElement("dd",{className:"rank__table-column"},"\u6392\u540d"),o.a.createElement("dd",{className:"rank__table-column"},"\u7528\u6237"),o.a.createElement("dd",{className:"rank__table-column"},"\u6210\u7ee9"),o.a.createElement("dd",{className:"rank__table-column"},"\u5956\u54c1")),t.map(function(a,t){return o.a.createElement("dl",{className:"rank__table-body",key:t},o.a.createElement("dd",{className:"rank__table-column"},t<3?o.a.createElement("i",{className:"rank__table-num","data-num":t+1}):t+1),o.a.createElement("dd",{className:"rank__table-column"},o.a.createElement("div",{className:"rank__table-user"},o.a.createElement("i",{className:"rank__table-portrait",style:{backgroundImage:"url(".concat(a.head_image,")")}}),o.a.createElement("span",null,e.formatString(a.user_name,5)))),o.a.createElement("dd",{className:"rank__table-column"},a.blessing_value),o.a.createElement("dd",{className:"rank__table-column"},e.formatString(a.prize_name,7)))})),o.a.createElement("div",{className:"rank__rule"},o.a.createElement("h2",{className:"rank__rule-title"},"\u6d3b\u52a8\u89c4\u5219"),n.map(function(e,a){return o.a.createElement("p",{className:"rank__rule-desc",key:a},e)}))))}}]),a}(m.Component))||n);a.default=k}}]);
//# sourceMappingURL=blessing-rank.2ca65536.chunk.js.map
\ No newline at end of file
......@@ -16,16 +16,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/2.94d294dd.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": "07fcc83e62f5dd5cdc4b",
"url": "/mrstatic/js/Activity.aa238441.chunk.js"
"revision": "ce6ff4f258074b4c0163",
"url": "/mrstatic/js/Activity.98ecb255.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": "6c43bfb6e8e8b3f2788e",
......@@ -76,8 +76,8 @@ self.__precacheManifest = [
"url": "/mrstatic/media/iconfont.b9b072e1.svg"
},
{
"revision": "1c689919c29f3f85d3c8",
"url": "/mrstatic/js/Invite.bd29d41d.chunk.js"
"revision": "0fcffac78fd28528d121",
"url": "/mrstatic/js/Invite.a5980622.chunk.js"
},
{
"revision": "b3cb3c36a6f9b8d7f1c6",
......@@ -88,8 +88,8 @@ self.__precacheManifest = [
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
},
{
"revision": "a6d3160a3537f1db2e6c",
"url": "/mrstatic/js/Order.bac3f4ad.chunk.js"
"revision": "839b8a2a8d3fad7423d7",
"url": "/mrstatic/js/Order.9a12e125.chunk.js"
},
{
"revision": "3310e3a8231584a1c9cc",
......@@ -148,16 +148,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/38.70e9bd98.chunk.js"
},
{
"revision": "f94a5fc1ee00cac527c6",
"url": "/mrstatic/js/blessing-preheat.c33c547f.chunk.js"
"revision": "585db1e801e788cab40a",
"url": "/mrstatic/js/blessing-preheat.8d974594.chunk.js"
},
{
"revision": "71d97cf00cf6d7c0538e",
"url": "/mrstatic/js/37.7951ce42.chunk.js"
},
{
"revision": "48baaf5f111ac687bee2",
"url": "/mrstatic/js/blessing-rank.0dd86d2f.chunk.js"
"revision": "973466911916c4e88ca2",
"url": "/mrstatic/js/blessing-rank.2ca65536.chunk.js"
},
{
"revision": "ffa71b8780a0ce3dd18f",
......@@ -208,8 +208,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/myorders.1c01ec2c.chunk.js"
},
{
"revision": "1c741b538fe4d155fe32",
"url": "/mrstatic/js/runtime~main.dfe9d349.js"
"revision": "289fa46c97b3cca584fc",
"url": "/mrstatic/js/runtime~main.301879b2.js"
},
{
"revision": "52917a3a43143beb8b70",
......@@ -280,7 +280,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/37.2fd45d08.chunk.css"
},
{
"revision": "48baaf5f111ac687bee2",
"revision": "973466911916c4e88ca2",
"url": "/mrstatic/css/blessing-rank.edf00bf8.chunk.css"
},
{
......@@ -288,7 +288,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/38.bff100af.chunk.css"
},
{
"revision": "f94a5fc1ee00cac527c6",
"revision": "585db1e801e788cab40a",
"url": "/mrstatic/css/blessing-preheat.d6114e36.chunk.css"
},
{
......@@ -332,11 +332,11 @@ self.__precacheManifest = [
"url": "/mrstatic/css/PayOrder.7eb7d317.chunk.css"
},
{
"revision": "a6d3160a3537f1db2e6c",
"revision": "839b8a2a8d3fad7423d7",
"url": "/mrstatic/css/Order.8c058a7a.chunk.css"
},
{
"revision": "1c689919c29f3f85d3c8",
"revision": "0fcffac78fd28528d121",
"url": "/mrstatic/css/Invite.fa2c419d.chunk.css"
},
{
......@@ -364,7 +364,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/BargainMiddlePage.eb686c74.chunk.css"
},
{
"revision": "07fcc83e62f5dd5cdc4b",
"revision": "ce6ff4f258074b4c0163",
"url": "/mrstatic/css/Activity.fa2c419d.chunk.css"
},
{
......@@ -372,7 +372,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/2.bf839917.chunk.css"
},
{
"revision": "6135bb2cf008fe5fec2c3ef01fb3e034",
"revision": "4dc197166b7d9d6d24c474e122daf0f9",
"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.825549a54c994a6d51e7c5b10e84c489.js"
"/precache-manifest.bd9f3249a619d2d1f9a3ef4916716e01.js"
);
workbox.clientsClaim();
......
......@@ -519,7 +519,7 @@ class BlessingPreheat extends Component {
<RankList></RankList>
<Live isFormal={isFormal}></Live>
<Live isFormal={isFormal} isLogin={isLogin}></Live>
</div>
)
}
......
......@@ -69,10 +69,19 @@ class Live extends Component {
}
toLiveRoom = id => {
const {history,isLogin} = this.props;
if (this.state.isApp) {
SendMessageToApp('toLiveRoom', id)
if(isLogin){
SendMessageToApp('toLiveRoom', id)
}else {
SendMessageToApp("toLogin")
}
} else {
window.location.href = `${window.location.protocol}//www.julyedu.com/live/m_room/${id}`
if(isLogin){
window.location.href = `${window.location.protocol}//www.julyedu.com/live/m_room/${id}`
}else {
history.push('/passport')
}
}
}
......
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