Commit 7b2f7e78 by FE

build

parent 83b2b653
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{1181:function(e,a,t){},1225:function(e,a,t){"use strict";t.r(a);t(41);var n=t(12),c=t.n(n),i=t(4),s=t(7),r=t(5),l=t(8),o=t(9),m=t(0),u=t.n(m),p=(t(1181),t(3)),d=t(21),v=function(e){function a(){var e,t;Object(i.a)(this,a);for(var n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];return(t=Object(r.a)(this,(e=Object(l.a)(a)).call.apply(e,[this].concat(s)))).state={data:""},t.getIndexData=function(){p.d.post("".concat(API["base-api"],"/m/deposit/coupon"),{order_id:Object(p.c)("order_id")}).then(function(e){if(200==e.data.errno){var a=e.data.data;t.setState({data:a})}else c.a.info(e.data.msg,2)})},t.invitation=function(e){var a=t.props,n=a.user;a.history;n&&n.data&&n.data.uid?window.location.href=e:t.props.history.push("/passport/login")},t}return Object(o.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){this.getIndexData()}},{key:"render",value:function(){var e=this,a=this.state.data;return u.a.createElement("div",{className:"callback-box"},u.a.createElement("div",{className:"banner"}),u.a.createElement("div",{className:"content"},u.a.createElement("div",{className:"title"},"\u606d\u559c\u4f60\uff0c\u83b7\u5f97\u4e00\u5f20"),u.a.createElement("div",{className:"coupon"},u.a.createElement("p",{className:"coupon-name"},"\u81a8\u80c0\u5238"),u.a.createElement("p",{className:"coupon-price"},u.a.createElement("span",null,a.amount),"\u5143"),u.a.createElement("p",{className:"coupon-time"},"\u6709\u6548\u671f\u81f3\uff1a",a.expire_time)),u.a.createElement("div",{className:"tip"},u.a.createElement("ul",null,new Array(19).fill("1").map(function(e,a){return u.a.createElement("li",{key:a})})),"\u5168\u573a\u901a\u7528"),u.a.createElement("div",{className:"expand"},u.a.createElement("span",{className:"expand-small"},a.amount),"\u5143",u.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/expand.png",alt:""}),u.a.createElement("span",{className:"expand-big"},a.limit_amount),"\u5143"),u.a.createElement("button",{className:"invitation",onClick:function(){return e.invitation(a.share_url)}},"\u9080\u8bf7\u597d\u53cb\u52a9\u529b\uff0c",a.amount,"\u5143\u53d8",a.limit_amount,"\u5143"),u.a.createElement("div",{className:"active-time"},"\u6d3b\u52a8\u65f6\u95f4\uff1a",a.start_time,"-",a.end_time),u.a.createElement("div",{className:"active-tip"},"\u9001\u52a9\u529b\u597d\u53cb",a.limit_amount,"\u5143\uff01")))}}]),a}(m.Component);a.default=Object(d.b)(function(e){return{user:e.user}})(v)}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[42],{1181:function(e,a,t){},1225:function(e,a,t){"use strict";t.r(a);t(41);var n=t(12),c=t.n(n),i=t(5),s=t(7),r=t(6),l=t(8),o=t(9),m=t(0),u=t.n(m),p=(t(1181),t(3)),d=t(22),v=function(e){function a(){var e,t;Object(i.a)(this,a);for(var n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];return(t=Object(r.a)(this,(e=Object(l.a)(a)).call.apply(e,[this].concat(s)))).state={data:""},t.getIndexData=function(){p.d.post("".concat(API["base-api"],"/m/deposit/coupon"),{order_id:Object(p.c)("order_id")}).then(function(e){if(200==e.data.errno){var a=e.data.data;t.setState({data:a})}else c.a.info(e.data.msg,2)})},t.invitation=function(e){var a=t.props,n=a.user;a.history;n&&n.data&&n.data.uid?window.location.href=e:t.props.history.push("/passport/login")},t}return Object(o.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){this.getIndexData()}},{key:"render",value:function(){var e=this,a=this.state.data;return u.a.createElement("div",{className:"callback-box"},u.a.createElement("div",{className:"banner"}),u.a.createElement("div",{className:"content"},u.a.createElement("div",{className:"title"},"\u606d\u559c\u4f60\uff0c\u83b7\u5f97\u4e00\u5f20"),u.a.createElement("div",{className:"coupon"},u.a.createElement("p",{className:"coupon-name"},"\u81a8\u80c0\u5238"),u.a.createElement("p",{className:"coupon-price"},u.a.createElement("span",null,a.amount),"\u5143"),u.a.createElement("p",{className:"coupon-time"},"\u6709\u6548\u671f\u81f3\uff1a",a.expire_time)),u.a.createElement("div",{className:"tip"},u.a.createElement("ul",null,new Array(19).fill("1").map(function(e,a){return u.a.createElement("li",{key:a})})),"\u5168\u573a\u901a\u7528"),u.a.createElement("div",{className:"expand"},u.a.createElement("span",{className:"expand-small"},a.amount),"\u5143",u.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/expand.png",alt:""}),u.a.createElement("span",{className:"expand-big"},a.limit_amount),"\u5143"),u.a.createElement("button",{className:"invitation",onClick:function(){return e.invitation(a.share_url)}},"\u9080\u8bf7\u597d\u53cb\u52a9\u529b\uff0c",a.amount,"\u5143\u53d8",a.limit_amount,"\u5143"),u.a.createElement("div",{className:"active-time"},"\u6d3b\u52a8\u65f6\u95f4\uff1a",a.start_time,"-",a.end_time),u.a.createElement("div",{className:"active-tip"},"\u9001\u52a9\u529b\u597d\u53cb",a.limit_amount,"\u5143\uff01")))}}]),a}(m.Component);a.default=Object(d.b)(function(e){return{user:e.user}})(v)}}]);
//# sourceMappingURL=42.4d22d978.chunk.js.map //# sourceMappingURL=42.b5f20c5a.chunk.js.map
\ No newline at end of file \ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{1227:function(e,t,n){"use strict";n.r(t);n(41);var c=n(12),a=n.n(c),i=n(4),s=n(7),o=n(5),r=n(8),u=n(9),l=n(0),b=n.n(l),d=n(21),f=n(3),p=(n(732),n(37)),v=n.n(p),m=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"):f.d.get("".concat(API.home,"/sys/receive/reg/gift")).then(function(e){var t=e.data,n=t.code,c=t.msg;200===n?a.a.info("\u9886\u53d6\u6210\u529f\uff0c\u4f60\u53ef\u524d\u5f80\u4e03\u6708\u5728\u7ebf\u5b98\u7f51/APP\u8fdb\u884c\u67e5\u770b",2):a.a.info(c,2)})},n}return Object(u.a)(t,e),Object(s.a)(t,[{key:"componentWillMount",value:function(){v.a.set("blessing_invite_uid",Object(f.c)("shareuid")),v.a.set("blessing_invite_code",Object(f.c)("code"))}},{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(d.b)(function(e){return{user:e.user}},null)(m)},732:function(e,t,n){}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[3],{1227: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),d=n(22),f=n(3),p=(n(732),n(37)),v=n.n(p),m=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"):f.d.get("".concat(API.home,"/sys/receive/reg/gift")).then(function(e){var t=e.data,n=t.code,c=t.msg;200===n?a.a.info("\u9886\u53d6\u6210\u529f\uff0c\u4f60\u53ef\u524d\u5f80\u4e03\u6708\u5728\u7ebf\u5b98\u7f51/APP\u8fdb\u884c\u67e5\u770b",2):a.a.info(c,2)})},n}return Object(u.a)(t,e),Object(s.a)(t,[{key:"componentWillMount",value:function(){v.a.set("blessing_invite_uid",Object(f.c)("shareuid")),v.a.set("blessing_invite_code",Object(f.c)("code"))}},{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(d.b)(function(e){return{user:e.user}},null)(m)},732:function(e,t,n){}}]);
//# sourceMappingURL=Activity.38ad80c6.chunk.js.map //# sourceMappingURL=Activity.95cc849c.chunk.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["components/activity/index.js"],"names":["Activity","props","_this","Object","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__","this","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__","_Users_fe_frontCode_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","http","get","concat","API","home","then","res","_res$data","data","code","msg","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,IAAKC,IAAL,GAAAC,OAAYC,IAAIC,KAAhB,0BAA6CC,KAAK,SAAAC,GAAO,IAAAC,EACrCD,EAAIE,KAAjBC,EADkDF,EAClDE,KAAMC,EAD4CH,EAC5CG,IACC,MAATD,EACDE,EAAAC,EAAMC,KAAK,yHAA2B,GAEtCF,EAAAC,EAAMC,KAAKH,EAAK,MAlBLtB,oFAKjB0B,IAASC,IAAI,sBAAuBC,YAAS,aAC7CF,IAASC,IAAI,uBAAwBC,YAAS,0CAmB9C,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,QAAS7B,KAAKI,SAA3C,qCA9Ba0B,aAqCRC,sBACb,SAAAC,GAAK,MAAK,CAAC3B,KAAM2B,EAAM3B,OACvB,KAFa0B,CAGbpC","file":"mrstatic/js/Activity.38ad80c6.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('code'));\n }\n\n getGift = () => {\n if(this.props.user.hasError) {\n this.props.history.push('/passport');\n } else {\n http.get(`${API.home}/sys/receive/reg/gift`).then(res => {\n let {code, msg} = res.data;\n if(code === 200) {\n Toast.info('领取成功,你可前往七月在线官网/APP进行查看', 2);\n }else{\n Toast.info(msg, 2);\n }\n })\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":""} {"version":3,"sources":["components/activity/index.js"],"names":["Activity","props","_this","Object","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__","this","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__","_Users_fe_frontCode_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","http","get","concat","API","home","then","res","_res$data","data","code","msg","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,IAAKC,IAAL,GAAAC,OAAYC,IAAIC,KAAhB,0BAA6CC,KAAK,SAAAC,GAAO,IAAAC,EACrCD,EAAIE,KAAjBC,EADkDF,EAClDE,KAAMC,EAD4CH,EAC5CG,IACC,MAATD,EACDE,EAAAC,EAAMC,KAAK,yHAA2B,GAEtCF,EAAAC,EAAMC,KAAKH,EAAK,MAlBLtB,oFAKjB0B,IAASC,IAAI,sBAAuBC,YAAS,aAC7CF,IAASC,IAAI,uBAAwBC,YAAS,0CAmB9C,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,QAAS7B,KAAKI,SAA3C,qCA9Ba0B,aAqCRC,sBACb,SAAAC,GAAK,MAAK,CAAC3B,KAAM2B,EAAM3B,OACvB,KAFa0B,CAGbpC","file":"mrstatic/js/Activity.95cc849c.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('code'));\n }\n\n getGift = () => {\n if(this.props.user.hasError) {\n this.props.history.push('/passport');\n } else {\n http.get(`${API.home}/sys/receive/reg/gift`).then(res => {\n let {code, msg} = res.data;\n if(code === 200) {\n Toast.info('领取成功,你可前往七月在线官网/APP进行查看', 2);\n }else{\n Toast.info(msg, 2);\n }\n })\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 \ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{1214:function(e,a,t){"use strict";t.r(a),t.d(a,"default",function(){return b});t(90);var n=t(26),c=t.n(n),l=(t(154),t(35)),s=t.n(l),i=(t(155),t(74)),r=t.n(i),m=t(4),o=t(7),d=t(5),p=t(8),E=t(9),u=t(0),N=t.n(u),v=(t(917),t(101)),b=function(e){function a(e){return Object(m.a)(this,a),Object(d.a)(this,Object(p.a)(a).call(this,e))}return Object(E.a)(a,e),Object(o.a)(a,[{key:"render",value:function(){return N.a.createElement("div",{className:"drawDocument"},N.a.createElement("div",null,N.a.createElement(r.a,{className:"navbar"},N.a.createElement("i",{className:"iconfont iconiconfront-68 back",onClick:this.props.history.goBack}),N.a.createElement("div",{className:"common-ft-15"},"\u89c4\u5219\u8bf4\u660e"))),N.a.createElement("div",{className:"content"},N.a.createElement(r.a,null,N.a.createElement("div",{className:"directions-div"},"\u5206\u9500\u89c4\u5219"),N.a.createElement(s.a,{size:"md"}),N.a.createElement("p",{className:"directions-p"},"\u70b9\u51fb\u300e\u5206\u4eab\u8d5a\u94b1\u300f\u751f\u6210\u60a8\u7684\u4e13\u5c5e\u6d77\u62a5\uff0c\u628a\u4e13\u5c5e\u6d77\u62a5\u5206\u4eab\u5230\u5fae\u4fe1\u3001\u5fae\u535a\u3001QQ\u3001\u77e5\u4e4e\u3001\u8d34\u5427\u7b49\uff0c\u4ed6\u4eba\u901a\u8fc7\u60a8\u7684\u6d77\u62a5\u8d2d\u4e70\u540e\u60a8\u53ef\u83b7\u5f97\u76f8\u5e94\u7684\u4f63\u91d1\u5956\u52b1\u3002"),N.a.createElement(s.a,{size:"lg"}),N.a.createElement(s.a,{size:"lg"}),N.a.createElement("div",{className:"directions-div"},"\u63d0\u73b0\u89c4\u5219"),N.a.createElement(s.a,{size:"md"}),N.a.createElement("p",{className:"directions-p"},"1. \u5df2\u5f00\u59cb\u7684\u76f4\u64ad\u8bfe\u7a0b\uff0c\u7528\u6237\u8d2d\u4e70\u540e\u4f63\u91d1\u4f1a\u5b9e\u65f6\u8f6c\u5165\u60a8\u7684\u8d26\u53f7\u4f59\u989d\uff1b"),N.a.createElement("p",{className:"directions-p"},"2. \u5c1a\u672a\u5f00\u8bfe\u7684\u76f4\u64ad\u8bfe\u7a0b\uff0c\u7528\u6237\u8d2d\u4e70\u540e\u5f52\u5c5e\u60a8\u7684\u4f63\u91d1\u6237\u6682\u65f6\u5b58\u653e\u5728\u300e\u5f85\u786e\u8ba4\u91d1\u989d\u300f\u4e2d\uff0c\u76f4\u5230\u8be5\u8bfe\u7a0b\u6b63\u5f0f\u5f00\u8bfe\u3002\u5982\u679c\u7528\u6237\u6ca1\u6709\u9000\u6b3e\uff0c\u5bf9\u5e94\u7684\u8ba2\u5355\u91d1\u989d\u4f1a\u81ea\u52a8\u8f6c\u5165\u60a8\u7684\u8d26\u53f7\u4f59\u989d\uff0c\u5426\u5219\u8be5\u4f63\u91d1\u4f1a\u81ea\u52a8\u6536\u56de\uff1b"),N.a.createElement("p",{className:"directions-p"},"3. \u4f59\u989d\u4e2d\u7684\u91d1\u989d\u53ef\u968f\u65f6\u63d0\u73b0\u3002"))),N.a.createElement("div",{className:"bottom"},N.a.createElement(r.a,null,N.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},N.a.createElement("p",{className:"tip"},"\u6536\u652f\u660e\u7ec6\u53ca\u5f85\u786e\u8ba4\u91d1\u989d\u8bf7\u524d\u5f80App\u67e5\u770b"),N.a.createElement(v.a,{className:"app",text:"\u5728APP\u6253\u5f00"})))))}}]),a}(u.Component)},917:function(e,a,t){}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[8],{1214:function(e,a,t){"use strict";t.r(a),t.d(a,"default",function(){return b});t(90);var n=t(26),c=t.n(n),l=(t(154),t(35)),s=t.n(l),i=(t(155),t(74)),r=t.n(i),m=t(5),o=t(7),d=t(6),p=t(8),E=t(9),u=t(0),N=t.n(u),v=(t(917),t(101)),b=function(e){function a(e){return Object(m.a)(this,a),Object(d.a)(this,Object(p.a)(a).call(this,e))}return Object(E.a)(a,e),Object(o.a)(a,[{key:"render",value:function(){return N.a.createElement("div",{className:"drawDocument"},N.a.createElement("div",null,N.a.createElement(r.a,{className:"navbar"},N.a.createElement("i",{className:"iconfont iconiconfront-68 back",onClick:this.props.history.goBack}),N.a.createElement("div",{className:"common-ft-15"},"\u89c4\u5219\u8bf4\u660e"))),N.a.createElement("div",{className:"content"},N.a.createElement(r.a,null,N.a.createElement("div",{className:"directions-div"},"\u5206\u9500\u89c4\u5219"),N.a.createElement(s.a,{size:"md"}),N.a.createElement("p",{className:"directions-p"},"\u70b9\u51fb\u300e\u5206\u4eab\u8d5a\u94b1\u300f\u751f\u6210\u60a8\u7684\u4e13\u5c5e\u6d77\u62a5\uff0c\u628a\u4e13\u5c5e\u6d77\u62a5\u5206\u4eab\u5230\u5fae\u4fe1\u3001\u5fae\u535a\u3001QQ\u3001\u77e5\u4e4e\u3001\u8d34\u5427\u7b49\uff0c\u4ed6\u4eba\u901a\u8fc7\u60a8\u7684\u6d77\u62a5\u8d2d\u4e70\u540e\u60a8\u53ef\u83b7\u5f97\u76f8\u5e94\u7684\u4f63\u91d1\u5956\u52b1\u3002"),N.a.createElement(s.a,{size:"lg"}),N.a.createElement(s.a,{size:"lg"}),N.a.createElement("div",{className:"directions-div"},"\u63d0\u73b0\u89c4\u5219"),N.a.createElement(s.a,{size:"md"}),N.a.createElement("p",{className:"directions-p"},"1. \u5df2\u5f00\u59cb\u7684\u76f4\u64ad\u8bfe\u7a0b\uff0c\u7528\u6237\u8d2d\u4e70\u540e\u4f63\u91d1\u4f1a\u5b9e\u65f6\u8f6c\u5165\u60a8\u7684\u8d26\u53f7\u4f59\u989d\uff1b"),N.a.createElement("p",{className:"directions-p"},"2. \u5c1a\u672a\u5f00\u8bfe\u7684\u76f4\u64ad\u8bfe\u7a0b\uff0c\u7528\u6237\u8d2d\u4e70\u540e\u5f52\u5c5e\u60a8\u7684\u4f63\u91d1\u6237\u6682\u65f6\u5b58\u653e\u5728\u300e\u5f85\u786e\u8ba4\u91d1\u989d\u300f\u4e2d\uff0c\u76f4\u5230\u8be5\u8bfe\u7a0b\u6b63\u5f0f\u5f00\u8bfe\u3002\u5982\u679c\u7528\u6237\u6ca1\u6709\u9000\u6b3e\uff0c\u5bf9\u5e94\u7684\u8ba2\u5355\u91d1\u989d\u4f1a\u81ea\u52a8\u8f6c\u5165\u60a8\u7684\u8d26\u53f7\u4f59\u989d\uff0c\u5426\u5219\u8be5\u4f63\u91d1\u4f1a\u81ea\u52a8\u6536\u56de\uff1b"),N.a.createElement("p",{className:"directions-p"},"3. \u4f59\u989d\u4e2d\u7684\u91d1\u989d\u53ef\u968f\u65f6\u63d0\u73b0\u3002"))),N.a.createElement("div",{className:"bottom"},N.a.createElement(r.a,null,N.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},N.a.createElement("p",{className:"tip"},"\u6536\u652f\u660e\u7ec6\u53ca\u5f85\u786e\u8ba4\u91d1\u989d\u8bf7\u524d\u5f80App\u67e5\u770b"),N.a.createElement(v.a,{className:"app",text:"\u5728APP\u6253\u5f00"})))))}}]),a}(u.Component)},917:function(e,a,t){}}]);
//# sourceMappingURL=DrawDocument.b4c2f862.chunk.js.map //# sourceMappingURL=DrawDocument.2b37d013.chunk.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["components/scholarship/DrawDocument/DrawDocument.js"],"names":["DrawDocument","props","Object","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__","this","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_8__","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__","call","react__WEBPACK_IMPORTED_MODULE_11___default","a","createElement","className","antd_mobile_lib_wing_blank__WEBPACK_IMPORTED_MODULE_5___default","onClick","history","goBack","antd_mobile_lib_white_space__WEBPACK_IMPORTED_MODULE_3___default","size","antd_mobile_lib_flex__WEBPACK_IMPORTED_MODULE_1___default","justify","align","style","height","_common_CallApp__WEBPACK_IMPORTED_MODULE_13__","text","Component"],"mappings":"4RAKqBA,cACjB,SAAAA,EAAYC,GAAQ,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAJ,GAAAE,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAF,GAAAO,KAAAH,KACVH,0EAGN,OACIO,EAAAC,EAAAC,cAAA,OAAKC,UAAW,gBACZH,EAAAC,EAAAC,cAAA,WACIF,EAAAC,EAAAC,cAAAE,EAAAH,EAAA,CAAWE,UAAW,UAClBH,EAAAC,EAAAC,cAAA,KAAGC,UAAW,iCAAkCE,QAAST,KAAKH,MAAMa,QAAQC,SAC5EP,EAAAC,EAAAC,cAAA,OAAKC,UAAW,gBAAhB,8BAIRH,EAAAC,EAAAC,cAAA,OAAKC,UAAW,WACZH,EAAAC,EAAAC,cAAAE,EAAAH,EAAA,KACID,EAAAC,EAAAC,cAAA,OAAKC,UAAW,kBAAhB,4BACAH,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,0XACAH,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAA,OAAKC,UAAW,kBAAhB,4BACAH,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,+KACAH,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,qgBACAH,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,iFAIRH,EAAAC,EAAAC,cAAA,OAAKC,UAAW,UACZH,EAAAC,EAAAC,cAAAE,EAAAH,EAAA,KACID,EAAAC,EAAAC,cAAAQ,EAAAT,EAAA,CAAMU,QAAQ,UAAUC,MAAM,SAASC,MAAO,CAACC,OAAQ,SACnDd,EAAAC,EAAAC,cAAA,KAAGC,UAAW,OAAd,iGAEAH,EAAAC,EAAAC,cAACa,EAAA,EAAD,CAASZ,UAAU,MAAMa,KAAK,qCAlChBC","file":"mrstatic/js/DrawDocument.b4c2f862.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport { Flex, WhiteSpace, WingBlank } from 'antd-mobile';\nimport './DrawDocument.scss';\nimport OpenApp from '@/common/CallApp';\n\nexport default class DrawDocument extends Component {\n constructor(props) {\n super(props);\n }\n render() {\n return (\n <div className={'drawDocument'}>\n <div>\n <WingBlank className={'navbar'}>\n <i className={'iconfont iconiconfront-68 back'} onClick={this.props.history.goBack}></i>\n <div className={\"common-ft-15\"}>规则说明</div>\n </WingBlank>\n </div>\n\n <div className={'content'}>\n <WingBlank>\n <div className={'directions-div'}>分销规则</div>\n <WhiteSpace size='md'></WhiteSpace>\n <p className={'directions-p'}>点击『分享赚钱』生成您的专属海报,把专属海报分享到微信、微博、QQ、知乎、贴吧等,他人通过您的海报购买后您可获得相应的佣金奖励。</p>\n <WhiteSpace size='lg'></WhiteSpace>\n <WhiteSpace size='lg'></WhiteSpace>\n <div className={'directions-div'}>提现规则</div>\n <WhiteSpace size='md'></WhiteSpace>\n <p className={'directions-p'}>1. 已开始的直播课程,用户购买后佣金会实时转入您的账号余额;</p>\n <p className={'directions-p'}>2. 尚未开课的直播课程,用户购买后归属您的佣金户暂时存放在『待确认金额』中,直到该课程正式开课。如果用户没有退款,对应的订单金额会自动转入您的账号余额,否则该佣金会自动收回;</p>\n <p className={'directions-p'}>3. 余额中的金额可随时提现。</p>\n </WingBlank>\n </div>\n\n <div className={'bottom'}>\n <WingBlank>\n <Flex justify='between' align='center' style={{height: '44px'}}>\n <p className={'tip'}>收支明细及待确认金额请前往App查看</p>\n {/* <div className={'app'}>在APP打开</div> */}\n <OpenApp className='app' text='在APP打开'/>\n </Flex>\n </WingBlank>\n </div>\n </div>\n )\n }\n}\n"],"sourceRoot":""} {"version":3,"sources":["components/scholarship/DrawDocument/DrawDocument.js"],"names":["DrawDocument","props","Object","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__","this","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_8__","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__","call","react__WEBPACK_IMPORTED_MODULE_11___default","a","createElement","className","antd_mobile_lib_wing_blank__WEBPACK_IMPORTED_MODULE_5___default","onClick","history","goBack","antd_mobile_lib_white_space__WEBPACK_IMPORTED_MODULE_3___default","size","antd_mobile_lib_flex__WEBPACK_IMPORTED_MODULE_1___default","justify","align","style","height","_common_CallApp__WEBPACK_IMPORTED_MODULE_13__","text","Component"],"mappings":"4RAKqBA,cACjB,SAAAA,EAAYC,GAAQ,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAJ,GAAAE,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAF,GAAAO,KAAAH,KACVH,0EAGN,OACIO,EAAAC,EAAAC,cAAA,OAAKC,UAAW,gBACZH,EAAAC,EAAAC,cAAA,WACIF,EAAAC,EAAAC,cAAAE,EAAAH,EAAA,CAAWE,UAAW,UAClBH,EAAAC,EAAAC,cAAA,KAAGC,UAAW,iCAAkCE,QAAST,KAAKH,MAAMa,QAAQC,SAC5EP,EAAAC,EAAAC,cAAA,OAAKC,UAAW,gBAAhB,8BAIRH,EAAAC,EAAAC,cAAA,OAAKC,UAAW,WACZH,EAAAC,EAAAC,cAAAE,EAAAH,EAAA,KACID,EAAAC,EAAAC,cAAA,OAAKC,UAAW,kBAAhB,4BACAH,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,0XACAH,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAA,OAAKC,UAAW,kBAAhB,4BACAH,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,+KACAH,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,qgBACAH,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,iFAIRH,EAAAC,EAAAC,cAAA,OAAKC,UAAW,UACZH,EAAAC,EAAAC,cAAAE,EAAAH,EAAA,KACID,EAAAC,EAAAC,cAAAQ,EAAAT,EAAA,CAAMU,QAAQ,UAAUC,MAAM,SAASC,MAAO,CAACC,OAAQ,SACnDd,EAAAC,EAAAC,cAAA,KAAGC,UAAW,OAAd,iGAEAH,EAAAC,EAAAC,cAACa,EAAA,EAAD,CAASZ,UAAU,MAAMa,KAAK,qCAlChBC","file":"mrstatic/js/DrawDocument.2b37d013.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport { Flex, WhiteSpace, WingBlank } from 'antd-mobile';\nimport './DrawDocument.scss';\nimport OpenApp from '@/common/CallApp';\n\nexport default class DrawDocument extends Component {\n constructor(props) {\n super(props);\n }\n render() {\n return (\n <div className={'drawDocument'}>\n <div>\n <WingBlank className={'navbar'}>\n <i className={'iconfont iconiconfront-68 back'} onClick={this.props.history.goBack}></i>\n <div className={\"common-ft-15\"}>规则说明</div>\n </WingBlank>\n </div>\n\n <div className={'content'}>\n <WingBlank>\n <div className={'directions-div'}>分销规则</div>\n <WhiteSpace size='md'></WhiteSpace>\n <p className={'directions-p'}>点击『分享赚钱』生成您的专属海报,把专属海报分享到微信、微博、QQ、知乎、贴吧等,他人通过您的海报购买后您可获得相应的佣金奖励。</p>\n <WhiteSpace size='lg'></WhiteSpace>\n <WhiteSpace size='lg'></WhiteSpace>\n <div className={'directions-div'}>提现规则</div>\n <WhiteSpace size='md'></WhiteSpace>\n <p className={'directions-p'}>1. 已开始的直播课程,用户购买后佣金会实时转入您的账号余额;</p>\n <p className={'directions-p'}>2. 尚未开课的直播课程,用户购买后归属您的佣金户暂时存放在『待确认金额』中,直到该课程正式开课。如果用户没有退款,对应的订单金额会自动转入您的账号余额,否则该佣金会自动收回;</p>\n <p className={'directions-p'}>3. 余额中的金额可随时提现。</p>\n </WingBlank>\n </div>\n\n <div className={'bottom'}>\n <WingBlank>\n <Flex justify='between' align='center' style={{height: '44px'}}>\n <p className={'tip'}>收支明细及待确认金额请前往App查看</p>\n {/* <div className={'app'}>在APP打开</div> */}\n <OpenApp className='app' text='在APP打开'/>\n </Flex>\n </WingBlank>\n </div>\n </div>\n )\n }\n}\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{1242:function(e,t,a){"use strict";a.r(t);var n=a(4),s=a(7),r=a(5),c=a(8),o=a(9),i=a(0),l=a.n(i),m=(a(925),a(17)),u=a.n(m),p=a(27),w=(a(926),function(){return l.a.createElement("div",{className:"open-app"},l.a.createElement("p",{className:"left"},"\u66f4\u591a\u8bd5\u9898\u8bf7\u524d\u5f80App\u67e5\u770b"),l.a.createElement(p.a,{className:"right"},"\u5728APP\u6253\u5f00"))}),h=a(3),d=a(760);a.d(t,"default",function(){return f});var f=function(e){function t(e){var a;return Object(n.a)(this,t),(a=Object(r.a)(this,Object(c.a)(t).call(this,e))).showAnswer=function(){a.setState({isShowAnswer:!a.state.isShowAnswer})},a.state={isShowAnswer:!1,questionData:{}},a}return Object(o.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){var e=this;h.d.get("".concat(API.home,"/m/dailyQuestion")).then(function(t){var a=t.data,n=a.data;if(200===a.code){var s=d.Object.assign(n,{analysis:n.analysis.length>0?n.analysis.split("\n"):[]});e.setState({questionData:s})}})}},{key:"render",value:function(){var e=this.state,t=e.questionData,a=t.ques,n=t.type_id,s=t.options,r=t.analysis,c=t.category,o=e.isShowAnswer;return l.a.createElement("div",{className:"examination"},l.a.createElement(p.e,{title:"\u6bcf\u65e5\u4e00\u9898",arrow:!0,cart:!1}),l.a.createElement("div",{className:"question-container"},l.a.createElement("div",{className:"topic"},l.a.createElement(p.i,{className:"category-tag"},c),l.a.createElement("span",{dangerouslySetInnerHTML:{__html:a}})),1===n&&l.a.createElement(E,{className:"options",options:s,showCorrect:this.state.isShowAnswer}),!o&&l.a.createElement("div",{className:"show-answer",onClick:this.showAnswer},l.a.createElement("span",null,"\u67e5\u770b\u89e3\u6790",l.a.createElement("i",{className:"iconfont iconiconfront-69"})))),o&&l.a.createElement(v,{content:r,isShowAnswer:!0}),l.a.createElement(w,null))}}]),t}(i.PureComponent),E=l.a.memo(function(e){var t=e.options,a=e.showCorrect;return l.a.createElement("ul",{className:"options"},t.map(function(e,t){return l.a.createElement("li",{key:t,className:u()("option",{active:1===e.is_ans&&a})},l.a.createElement("span",{className:"alphabet"},String.fromCharCode(65+t)),e.des)}))}),v=l.a.memo(function(e){var t=e.content,a=e.isShowAnswer;return l.a.createElement("div",{className:u()("answer",{scale:a})},l.a.createElement("p",{className:"legend"},"\u89e3\u6790"),t.length>0&&t.map(function(e,t){return l.a.createElement("p",{key:t,className:"content",dangerouslySetInnerHTML:{__html:e}})}))})},925:function(e,t,a){},926:function(e,t,a){}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[9],{1242:function(e,t,a){"use strict";a.r(t);var n=a(5),s=a(7),r=a(6),c=a(8),o=a(9),i=a(0),l=a.n(i),m=(a(925),a(17)),u=a.n(m),p=a(27),w=(a(926),function(){return l.a.createElement("div",{className:"open-app"},l.a.createElement("p",{className:"left"},"\u66f4\u591a\u8bd5\u9898\u8bf7\u524d\u5f80App\u67e5\u770b"),l.a.createElement(p.a,{className:"right"},"\u5728APP\u6253\u5f00"))}),h=a(3),d=a(760);a.d(t,"default",function(){return f});var f=function(e){function t(e){var a;return Object(n.a)(this,t),(a=Object(r.a)(this,Object(c.a)(t).call(this,e))).showAnswer=function(){a.setState({isShowAnswer:!a.state.isShowAnswer})},a.state={isShowAnswer:!1,questionData:{}},a}return Object(o.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){var e=this;h.d.get("".concat(API.home,"/m/dailyQuestion")).then(function(t){var a=t.data,n=a.data;if(200===a.code){var s=d.Object.assign(n,{analysis:n.analysis.length>0?n.analysis.split("\n"):[]});e.setState({questionData:s})}})}},{key:"render",value:function(){var e=this.state,t=e.questionData,a=t.ques,n=t.type_id,s=t.options,r=t.analysis,c=t.category,o=e.isShowAnswer;return l.a.createElement("div",{className:"examination"},l.a.createElement(p.e,{title:"\u6bcf\u65e5\u4e00\u9898",arrow:!0,cart:!1}),l.a.createElement("div",{className:"question-container"},l.a.createElement("div",{className:"topic"},l.a.createElement(p.i,{className:"category-tag"},c),l.a.createElement("span",{dangerouslySetInnerHTML:{__html:a}})),1===n&&l.a.createElement(E,{className:"options",options:s,showCorrect:this.state.isShowAnswer}),!o&&l.a.createElement("div",{className:"show-answer",onClick:this.showAnswer},l.a.createElement("span",null,"\u67e5\u770b\u89e3\u6790",l.a.createElement("i",{className:"iconfont iconiconfront-69"})))),o&&l.a.createElement(v,{content:r,isShowAnswer:!0}),l.a.createElement(w,null))}}]),t}(i.PureComponent),E=l.a.memo(function(e){var t=e.options,a=e.showCorrect;return l.a.createElement("ul",{className:"options"},t.map(function(e,t){return l.a.createElement("li",{key:t,className:u()("option",{active:1===e.is_ans&&a})},l.a.createElement("span",{className:"alphabet"},String.fromCharCode(65+t)),e.des)}))}),v=l.a.memo(function(e){var t=e.content,a=e.isShowAnswer;return l.a.createElement("div",{className:u()("answer",{scale:a})},l.a.createElement("p",{className:"legend"},"\u89e3\u6790"),t.length>0&&t.map(function(e,t){return l.a.createElement("p",{key:t,className:"content",dangerouslySetInnerHTML:{__html:e}})}))})},925:function(e,t,a){},926:function(e,t,a){}}]);
//# sourceMappingURL=Examination.a48c3d8d.chunk.js.map //# sourceMappingURL=Examination.9f48701b.chunk.js.map
\ No newline at end of file \ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{1228:function(e,t,a){"use strict";a.r(t);a(41);var n=a(12),s=a.n(n),c=a(4),i=a(7),l=a(5),r=a(8),o=a(9),m=a(0),u=a.n(m),d=a(21),_=(a(732),a(3)),v=a(37),h=a.n(v),p=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(l.a)(this,Object(r.a)(t).call(this,e))).getUserList=function(){_.d.get("".concat(API.home,"/sys/user/invite/list")).then(function(e){var t=e.data,n=t.code,c=t.data,i=t.msg;200===n?a.setState({userList:c}):s.a.info(i,2)})},a.getHotValue=function(){_.d.get("".concat(API.home,"/sys/user/hot/value")).then(function(e){var t=e.data,n=t.code,c=t.data,i=t.msg;200===n?a.setState({hotValue:c.hot_value}):s.a.info(i,2)})},a.inviteFriends=function(){a.props.user.hasError?a.props.history.push("/passport"):_.d.get("".concat(API.home,"/sys/user/invite/link")).then(function(e){var t=e.code,n=e.data,c=e.msg;if(200===t){var i=n.blessing_invite_code;Object(_.f)()?(Object(_.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(h.a.get("uid"),"&new=1&code=").concat(i)),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}),a.setState({showTip:!0,isWeiXin:!0})):(history.replaceState(null,null,"invite?shareuid=".concat(h.a.get("uid"),"&new=1&code=").concat(i)),a.setState({showTip:!0}))}else s.a.info(c,2)})},a.closeMark=function(){a.setState({showTip:!1})},a.state={isWeiXin:!1,showTip:!1,hotValue:0,userList:[]},a}return Object(o.a)(t,e),Object(i.a)(t,[{key:"componentWillMount",value:function(){var e=h.a.get("uid"),t=Object(_.c)("shareuid");e===t||Object(_.c)("new")&&this.props.history.push("/activity?shareuid=".concat(t,"&code=").concat(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.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("span",null,"0"),u.a.createElement("div",{className:"progress__bar"},u.a.createElement("div",{className:"progress__point",style:{width:n+"%"}})),u.a.createElement("span",null,"3600"))))),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)},732:function(e,t,a){}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[10],{1228:function(e,t,a){"use strict";a.r(t);a(41);var n=a(12),s=a.n(n),c=a(5),i=a(7),l=a(6),r=a(8),o=a(9),m=a(0),u=a.n(m),d=a(22),_=(a(732),a(3)),v=a(37),h=a.n(v),p=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(l.a)(this,Object(r.a)(t).call(this,e))).getUserList=function(){_.d.get("".concat(API.home,"/sys/user/invite/list")).then(function(e){var t=e.data,n=t.code,c=t.data,i=t.msg;200===n?a.setState({userList:c}):s.a.info(i,2)})},a.getHotValue=function(){_.d.get("".concat(API.home,"/sys/user/hot/value")).then(function(e){var t=e.data,n=t.code,c=t.data,i=t.msg;200===n?a.setState({hotValue:c.hot_value}):s.a.info(i,2)})},a.inviteFriends=function(){a.props.user.hasError?a.props.history.push("/passport"):_.d.get("".concat(API.home,"/sys/user/invite/link")).then(function(e){var t=e.code,n=e.data,c=e.msg;if(200===t){var i=n.blessing_invite_code;Object(_.f)()?(Object(_.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(h.a.get("uid"),"&new=1&code=").concat(i)),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}),a.setState({showTip:!0,isWeiXin:!0})):(history.replaceState(null,null,"invite?shareuid=".concat(h.a.get("uid"),"&new=1&code=").concat(i)),a.setState({showTip:!0}))}else s.a.info(c,2)})},a.closeMark=function(){a.setState({showTip:!1})},a.state={isWeiXin:!1,showTip:!1,hotValue:0,userList:[]},a}return Object(o.a)(t,e),Object(i.a)(t,[{key:"componentWillMount",value:function(){var e=h.a.get("uid"),t=Object(_.c)("shareuid");e===t||Object(_.c)("new")&&this.props.history.push("/activity?shareuid=".concat(t,"&code=").concat(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.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("span",null,"0"),u.a.createElement("div",{className:"progress__bar"},u.a.createElement("div",{className:"progress__point",style:{width:n+"%"}})),u.a.createElement("span",null,"3600"))))),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)},732:function(e,t,a){}}]);
//# sourceMappingURL=Invite.cfb85f07.chunk.js.map //# sourceMappingURL=Invite.29905977.chunk.js.map
\ No newline at end of file \ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{1219:function(e,t,a){"use strict";a.r(t);a(41);var n=a(12),s=a.n(n),i=a(4),c=a(7),l=a(5),o=a(8),u=a(9),r=a(0),m=a.n(r),d=(a(259),a(21)),h=a(3),p=a(27),v=a(31),f=a(24),b=a(63),E=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(l.a)(this,Object(o.a)(t).call(this,e))).toEditName=function(e){a.setState({isShow:!0,value:e})},a.cancle=function(){a.setState({isShow:!1})},a.handleChange=function(e){a.setState({value:e.target.value})},a.outLogin=function(){a.props.logout(),s.a.info("\u5df2\u9000\u51fa",2,null,!1),a.props.history.push("/my")},a.submit=function(){if(a.state.value.length>12)s.a.info("\u4e0d\u8d85\u8fc712\u4e2a\u5b57\u7b26",2);else if(0===a.state.value.length)s.a.info("\u8bf7\u8f93\u5165\u6635\u79f0",2);else{var e={user_name:a.state.value};h.d.post("".concat(API.home,"/m/user_info/update"),e).then(function(e){200===e.data.code?(a.setState({isShow:!1}),a.props.updateUser({data:{username:a.state.value}}),s.a.info("\u4fee\u6539\u6210\u529f",2)):4008===e.data.code?a.setState({isShow:!1}):s.a.info(e.data.msg,2)})}},a.state={isShow:!1,value:""},a}return Object(u.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){var e=this.props.user,t=e&&e.data&&e.data.username,a=e&&e.data&&e.data.avatar;return m.a.createElement("div",{className:"edit-name"},m.a.createElement(p.e,{title:"\u8d26\u53f7",arrow:!0,cart:!1}),m.a.createElement("div",{className:"my-mess"},m.a.createElement("img",{src:a,alt:""}),m.a.createElement("span",{className:"name"},t),m.a.createElement("span",{onClick:this.toEditName.bind(this,t),className:"edit"},"\u7f16\u8f91")),m.a.createElement("div",{className:"out-login",onClick:this.outLogin},"\u9000\u51fa\u767b\u5f55"),this.state.isShow&&m.a.createElement("div",{className:"edit-mbc"},m.a.createElement("div",{className:"edit-content"},m.a.createElement("div",{className:"edit-title"},"\u4fee\u6539\u6635\u79f0"),m.a.createElement("input",{type:"text",placeholder:"\u8bf7\u8f93\u5165\u6635\u79f0\uff08\u4e0d\u8d85\u8fc712\u4e2a\u5b57\u7b26\uff09",value:this.state.value,onChange:this.handleChange.bind(this)}),m.a.createElement("div",{className:"edit-btn"},m.a.createElement("button",{className:"cancle",onClick:this.cancle},"\u53d6\u6d88"),m.a.createElement("button",{className:"submit",onClick:this.submit},"\u786e\u8ba4")))))}}]),t}(r.PureComponent);t.default=Object(f.d)(Object(d.b)(function(e){return{user:e.user}},{logout:v.e,updateUser:v.i}),b.a)(E)}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[11],{1219: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),o=a(8),u=a(9),r=a(0),m=a.n(r),d=(a(259),a(22)),h=a(3),p=a(27),v=a(31),f=a(25),b=a(63),E=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(l.a)(this,Object(o.a)(t).call(this,e))).toEditName=function(e){a.setState({isShow:!0,value:e})},a.cancle=function(){a.setState({isShow:!1})},a.handleChange=function(e){a.setState({value:e.target.value})},a.outLogin=function(){a.props.logout(),s.a.info("\u5df2\u9000\u51fa",2,null,!1),a.props.history.push("/my")},a.submit=function(){if(a.state.value.length>12)s.a.info("\u4e0d\u8d85\u8fc712\u4e2a\u5b57\u7b26",2);else if(0===a.state.value.length)s.a.info("\u8bf7\u8f93\u5165\u6635\u79f0",2);else{var e={user_name:a.state.value};h.d.post("".concat(API.home,"/m/user_info/update"),e).then(function(e){200===e.data.code?(a.setState({isShow:!1}),a.props.updateUser({data:{username:a.state.value}}),s.a.info("\u4fee\u6539\u6210\u529f",2)):4008===e.data.code?a.setState({isShow:!1}):s.a.info(e.data.msg,2)})}},a.state={isShow:!1,value:""},a}return Object(u.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){var e=this.props.user,t=e&&e.data&&e.data.username,a=e&&e.data&&e.data.avatar;return m.a.createElement("div",{className:"edit-name"},m.a.createElement(p.e,{title:"\u8d26\u53f7",arrow:!0,cart:!1}),m.a.createElement("div",{className:"my-mess"},m.a.createElement("img",{src:a,alt:""}),m.a.createElement("span",{className:"name"},t),m.a.createElement("span",{onClick:this.toEditName.bind(this,t),className:"edit"},"\u7f16\u8f91")),m.a.createElement("div",{className:"out-login",onClick:this.outLogin},"\u9000\u51fa\u767b\u5f55"),this.state.isShow&&m.a.createElement("div",{className:"edit-mbc"},m.a.createElement("div",{className:"edit-content"},m.a.createElement("div",{className:"edit-title"},"\u4fee\u6539\u6635\u79f0"),m.a.createElement("input",{type:"text",placeholder:"\u8bf7\u8f93\u5165\u6635\u79f0\uff08\u4e0d\u8d85\u8fc712\u4e2a\u5b57\u7b26\uff09",value:this.state.value,onChange:this.handleChange.bind(this)}),m.a.createElement("div",{className:"edit-btn"},m.a.createElement("button",{className:"cancle",onClick:this.cancle},"\u53d6\u6d88"),m.a.createElement("button",{className:"submit",onClick:this.submit},"\u786e\u8ba4")))))}}]),t}(r.PureComponent);t.default=Object(f.d)(Object(d.b)(function(e){return{user:e.user}},{logout:v.e,updateUser:v.i}),b.a)(E)}}]);
//# sourceMappingURL=MyEdit.a4c6ea7c.chunk.js.map //# sourceMappingURL=MyEdit.a6b17939.chunk.js.map
\ No newline at end of file \ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{1216:function(e,a,n){"use strict";n.r(a);var o=n(4),r=n(7),t=n(5),l=n(8),i=n(9),c=(n(41),n(12)),s=n.n(c),p=n(20),u=(n(155),n(74)),d=n.n(u),f=(n(729),n(731)),h=n.n(f),m=(n(1166),n(1168)),v=n.n(m),b=n(0),q=n.n(b),g=n(19),E=n(27),j=n(3),y=Object(g.f)({mapPropsToValues:function(e){return Object(p.a)({},e.userInfo)},validate:function(e,a){return{}},handleSubmit:function(e,a){var n=e.real_name,o=e.cellphone,r=e.qq;if(n)if(0!=="".concat(n).replace(/\s+/g,"").length)if(o)if(/1\d{10}/g.test("".concat(o).replace(/\s+/g,"")))if(r)if(/\d{5,}/g.test(r)){var t=0;if(a.props.userInfo){var l=a.props.userInfo;l.real_name===n&&(t+=1),l.cellphone===o&&(t+=1),l.qq===r&&(t+=1)}var i="/order";a.props.userInfo.id&&(i=i+"?id="+a.props.userInfo.id),3!==t?j.d.post("".concat(API["base-api"],"/m/order/saveUserInfo"),{real_name:e.real_name,cellphone:"".concat(e.cellphone).replace(/\s+/g,""),qq:e.qq}).then(function(n){200===n.data.errno?(s.a.info("\u4fdd\u5b58\u6210\u529f\uff01",void 0,void 0,!1),a.props.history.replace(i,Object(p.a)({},e))):s.a.info(n.data.msg,void 0,void 0,!1)}):a.props.history.replace(i,Object(p.a)({},e))}else s.a.info("\u8bf7\u8f93\u5165\u6b63\u786eQQ\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165QQ\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1)}})(function(e){var a=e.values,n=(e.errors,e.touched,e.setFieldValue),o=(e.handleBlur,e.handleSubmit);e.isSubmitting;return q.a.createElement("form",null,q.a.createElement(v.a,{clear:!0,name:"real_name",onChange:function(e){return n("real_name",e)},placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u771f\u5b9e\u59d3\u540d",value:a.real_name},"\u59d3\u540d"),q.a.createElement(v.a,{clear:!0,type:"phone",name:"cellphone",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u624b\u673a\u53f7\u7801",onChange:function(e){return n("cellphone",e)},value:a.cellphone},"\u7535\u8bdd"),q.a.createElement(v.a,{clear:!0,name:"qq",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684QQ\u53f7\u7801",maxLength:"15",onChange:function(e){return n("qq",e)},value:a.qq},"QQ"),q.a.createElement("div",{style:{marginTop:"21px"}},q.a.createElement(d.a,null,q.a.createElement(h.a,{type:"primary",onClick:o},"\u786e\u8ba4"))))}),O=function(e){function a(e){return Object(o.a)(this,a),Object(t.a)(this,Object(l.a)(a).call(this,e))}return Object(i.a)(a,e),Object(r.a)(a,[{key:"render",value:function(){return q.a.createElement("div",null,q.a.createElement(E.e,{title:"\u62a5\u540d\u4fe1\u606f",arrow:!0}),q.a.createElement(y,{history:this.props.history,userInfo:this.props.location.state}))}}]),a}(b.Component);a.default=O}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[13],{1216:function(e,a,n){"use strict";n.r(a);var o=n(5),r=n(7),t=n(6),l=n(8),i=n(9),c=(n(41),n(12)),s=n.n(c),p=n(20),u=(n(155),n(74)),d=n.n(u),f=(n(729),n(731)),h=n.n(f),m=(n(1166),n(1168)),v=n.n(m),b=n(0),q=n.n(b),g=n(19),E=n(27),j=n(3),y=Object(g.f)({mapPropsToValues:function(e){return Object(p.a)({},e.userInfo)},validate:function(e,a){return{}},handleSubmit:function(e,a){var n=e.real_name,o=e.cellphone,r=e.qq;if(n)if(0!=="".concat(n).replace(/\s+/g,"").length)if(o)if(/1\d{10}/g.test("".concat(o).replace(/\s+/g,"")))if(r)if(/\d{5,}/g.test(r)){var t=0;if(a.props.userInfo){var l=a.props.userInfo;l.real_name===n&&(t+=1),l.cellphone===o&&(t+=1),l.qq===r&&(t+=1)}var i="/order";a.props.userInfo.id&&(i=i+"?id="+a.props.userInfo.id),3!==t?j.d.post("".concat(API["base-api"],"/m/order/saveUserInfo"),{real_name:e.real_name,cellphone:"".concat(e.cellphone).replace(/\s+/g,""),qq:e.qq}).then(function(n){200===n.data.errno?(s.a.info("\u4fdd\u5b58\u6210\u529f\uff01",void 0,void 0,!1),a.props.history.replace(i,Object(p.a)({},e))):s.a.info(n.data.msg,void 0,void 0,!1)}):a.props.history.replace(i,Object(p.a)({},e))}else s.a.info("\u8bf7\u8f93\u5165\u6b63\u786eQQ\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165QQ\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1)}})(function(e){var a=e.values,n=(e.errors,e.touched,e.setFieldValue),o=(e.handleBlur,e.handleSubmit);e.isSubmitting;return q.a.createElement("form",null,q.a.createElement(v.a,{clear:!0,name:"real_name",onChange:function(e){return n("real_name",e)},placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u771f\u5b9e\u59d3\u540d",value:a.real_name},"\u59d3\u540d"),q.a.createElement(v.a,{clear:!0,type:"phone",name:"cellphone",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u624b\u673a\u53f7\u7801",onChange:function(e){return n("cellphone",e)},value:a.cellphone},"\u7535\u8bdd"),q.a.createElement(v.a,{clear:!0,name:"qq",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684QQ\u53f7\u7801",maxLength:"15",onChange:function(e){return n("qq",e)},value:a.qq},"QQ"),q.a.createElement("div",{style:{marginTop:"21px"}},q.a.createElement(d.a,null,q.a.createElement(h.a,{type:"primary",onClick:o},"\u786e\u8ba4"))))}),O=function(e){function a(e){return Object(o.a)(this,a),Object(t.a)(this,Object(l.a)(a).call(this,e))}return Object(i.a)(a,e),Object(r.a)(a,[{key:"render",value:function(){return q.a.createElement("div",null,q.a.createElement(E.e,{title:"\u62a5\u540d\u4fe1\u606f",arrow:!0}),q.a.createElement(y,{history:this.props.history,userInfo:this.props.location.state}))}}]),a}(b.Component);a.default=O}}]);
//# sourceMappingURL=Orderinfo.47003dd1.chunk.js.map //# sourceMappingURL=Orderinfo.d94b7289.chunk.js.map
\ No newline at end of file \ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{1179:function(e,t,a){},1223:function(e,t,a){"use strict";a.r(t);a(41);var n=a(12),c=a.n(n),o=a(4),r=a(7),i=a(5),s=a(8),l=a(89),u=a(9),m=a(0),d=a.n(m),p=(a(1179),a(27)),f=a(3),h=function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(i.a)(this,Object(s.a)(t).call(this,e))).toCourseDetail=function(e){Object(l.a)(a).state.fromApp?Object(f.a)("toCourse",e):a.props.history.push("/detail?id=".concat(e))},a.state={list:[],fromApp:!!Object(f.c)("from")},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;f.d.get("".concat(API.home,"/sys/red_packet/share_course")).then(function(t){200===t.data.code?e.setState({list:t.data.data}):c.a.info(t.data.msg,2)})}},{key:"render",value:function(){var e=this,t=this.state.list;return d.a.createElement("div",{className:"share-course"},!this.state.fromApp&&d.a.createElement(p.e,{title:"\u5206\u4eab\u9886\u7ea2\u5305",arrow:!0}),t&&t.length>0?d.a.createElement("div",null,t.map(function(t,a){var n=d.a.createElement("div",{className:"info"},d.a.createElement("p",{className:"title text-overflow-1"},t.course_title),d.a.createElement("p",{className:"contact text-overflow-1"},t.simpledescription),d.a.createElement("button",null,"\u5206\u4eab\u9886\u7ea2\u5305"));return d.a.createElement("div",{key:a},d.a.createElement(p.j,{img:t.image_name,info:n,id:t.course_id,toDetail:e.toCourseDetail}))})):d.a.createElement("div",null,d.a.createElement("p",{className:"not-data"},"\u6682\u65f6\u6ca1\u6709\u53ef\u5206\u4eab\u7684\u8bfe\u7a0b\u54e6\u301c")))}}]),t}(m.Component);t.default=h}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[17],{1179:function(e,t,a){},1223:function(e,t,a){"use strict";a.r(t);a(41);var n=a(12),c=a.n(n),o=a(5),r=a(7),i=a(6),s=a(8),l=a(89),u=a(9),m=a(0),d=a.n(m),p=(a(1179),a(27)),f=a(3),h=function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(i.a)(this,Object(s.a)(t).call(this,e))).toCourseDetail=function(e){Object(l.a)(a).state.fromApp?Object(f.a)("toCourse",e):a.props.history.push("/detail?id=".concat(e))},a.state={list:[],fromApp:!!Object(f.c)("from")},a}return Object(u.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;f.d.get("".concat(API.home,"/sys/red_packet/share_course")).then(function(t){200===t.data.code?e.setState({list:t.data.data}):c.a.info(t.data.msg,2)})}},{key:"render",value:function(){var e=this,t=this.state.list;return d.a.createElement("div",{className:"share-course"},!this.state.fromApp&&d.a.createElement(p.e,{title:"\u5206\u4eab\u9886\u7ea2\u5305",arrow:!0}),t&&t.length>0?d.a.createElement("div",null,t.map(function(t,a){var n=d.a.createElement("div",{className:"info"},d.a.createElement("p",{className:"title text-overflow-1"},t.course_title),d.a.createElement("p",{className:"contact text-overflow-1"},t.simpledescription),d.a.createElement("button",null,"\u5206\u4eab\u9886\u7ea2\u5305"));return d.a.createElement("div",{key:a},d.a.createElement(p.j,{img:t.image_name,info:n,id:t.course_id,toDetail:e.toCourseDetail}))})):d.a.createElement("div",null,d.a.createElement("p",{className:"not-data"},"\u6682\u65f6\u6ca1\u6709\u53ef\u5206\u4eab\u7684\u8bfe\u7a0b\u54e6\u301c")))}}]),t}(m.Component);t.default=h}}]);
//# sourceMappingURL=ShareCourse.f229be46.chunk.js.map //# sourceMappingURL=ShareCourse.610cf7a9.chunk.js.map
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{1202:function(e,t,a){},1230:function(e,t,a){"use strict";a.r(t);var n=a(4),c=a(7),i=a(5),l=a(8),s=a(9),r=a(0),m=a.n(r),o=(a(1202),a(3)),u=a(63),d=function(e){function t(){var e,a;Object(n.a)(this,t);for(var c=arguments.length,s=new Array(c),r=0;r<c;r++)s[r]=arguments[r];return(a=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(s)))).state={list:[],title:""},a}return Object(s.a)(t,e),Object(c.a)(t,[{key:"componentDidMount",value:function(){var e=this;o.d.get("".concat(API.home,"/sys/activity/lottery_names/").concat(Object(o.c)("tid"))).then(function(t){var a=t.data;if(200==a.code){var n=a.data;e.setState({title:n.title,list:n.list})}})}},{key:"render",value:function(){var e=this.state,t=e.title,a=e.list;return m.a.createElement("div",{id:"prize-winner-list"},m.a.createElement("div",{className:"banner"},m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/prize-winner-list-banner.png",alt:"",className:"banner"})),m.a.createElement("h1",null,m.a.createElement("img",{className:"icon",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-left.png",alt:""}),m.a.createElement("span",null,t),m.a.createElement("img",{className:"icon",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-right.png",alt:""})),m.a.createElement("ul",null,m.a.createElement("li",{className:"head title"},m.a.createElement("div",{className:"code"},"\u4e2d\u5956\u7801"),m.a.createElement("div",{className:"user-name"},"\u7528\u6237\u540d\u79f0"),m.a.createElement("div",{className:"prize"},"\u5956\u54c1\u540d\u79f0")),a.map(function(e){return m.a.createElement("li",{key:e.code},m.a.createElement("div",{className:"code"},e.code),m.a.createElement("div",{className:"user-name"},e.name),m.a.createElement("div",{className:"prize"},e.prize))})))}}]),t}(r.Component);t.default=Object(u.a)(d)}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[28],{1202:function(e,t,a){},1230:function(e,t,a){"use strict";a.r(t);var n=a(5),c=a(7),i=a(6),l=a(8),s=a(9),r=a(0),m=a.n(r),o=(a(1202),a(3)),u=a(63),d=function(e){function t(){var e,a;Object(n.a)(this,t);for(var c=arguments.length,s=new Array(c),r=0;r<c;r++)s[r]=arguments[r];return(a=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(s)))).state={list:[],title:""},a}return Object(s.a)(t,e),Object(c.a)(t,[{key:"componentDidMount",value:function(){var e=this;o.d.get("".concat(API.home,"/sys/activity/lottery_names/").concat(Object(o.c)("tid"))).then(function(t){var a=t.data;if(200==a.code){var n=a.data;e.setState({title:n.title,list:n.list})}})}},{key:"render",value:function(){var e=this.state,t=e.title,a=e.list;return m.a.createElement("div",{id:"prize-winner-list"},m.a.createElement("div",{className:"banner"},m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/prize-winner-list-banner.png",alt:"",className:"banner"})),m.a.createElement("h1",null,m.a.createElement("img",{className:"icon",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-left.png",alt:""}),m.a.createElement("span",null,t),m.a.createElement("img",{className:"icon",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-right.png",alt:""})),m.a.createElement("ul",null,m.a.createElement("li",{className:"head title"},m.a.createElement("div",{className:"code"},"\u4e2d\u5956\u7801"),m.a.createElement("div",{className:"user-name"},"\u7528\u6237\u540d\u79f0"),m.a.createElement("div",{className:"prize"},"\u5956\u54c1\u540d\u79f0")),a.map(function(e){return m.a.createElement("li",{key:e.code},m.a.createElement("div",{className:"code"},e.code),m.a.createElement("div",{className:"user-name"},e.name),m.a.createElement("div",{className:"prize"},e.prize))})))}}]),t}(r.Component);t.default=Object(u.a)(d)}}]);
//# sourceMappingURL=prize-winner-list.b9e7c88a.chunk.js.map //# sourceMappingURL=prize-winner-list.baaff1be.chunk.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["components/activity/prize-winner-list/index.js"],"names":["PrizeWinnerList","state","list","title","_this2","this","http","get","concat","API","home","getParam","then","res","data","code","response","setState","_this$state","react__WEBPACK_IMPORTED_MODULE_5___default","a","createElement","id","className","src","alt","map","item","key","name","prize","Component","WithFullSize"],"mappings":"0MAKMA,6MAEJC,MAAQ,CACNC,KAAM,GACNC,MAAO,uFAGW,IAAAC,EAAAC,KAClBC,IAAKC,IAAL,GAAAC,OAAYC,IAAIC,KAAhB,gCAAAF,OAAmDG,YAAS,SACzDC,KAAK,SAAAC,GAAO,IACJC,EAAQD,EAARC,KACP,GAAiB,KAAbA,EAAKC,KAAa,KACPC,EAAYF,EAAlBA,KACPV,EAAKa,SAAS,CACZd,MAAOa,EAASb,MAChBD,KAAMc,EAASd,2CAMhB,IAAAgB,EACeb,KAAKJ,MAApBE,EADAe,EACAf,MAAOD,EADPgB,EACOhB,KACd,OACEiB,EAAAC,EAAAC,cAAA,OAAKC,GAAI,qBACPH,EAAAC,EAAAC,cAAA,OAAKE,UAAU,UACbJ,EAAAC,EAAAC,cAAA,OAAKG,IAAI,+FAA+FC,IAAI,GACvGF,UAAU,YAEjBJ,EAAAC,EAAAC,cAAA,UACEF,EAAAC,EAAAC,cAAA,OAAKE,UAAW,OACXC,IAAI,wFAAwFC,IAAI,KACrGN,EAAAC,EAAAC,cAAA,YAAOlB,GACPgB,EAAAC,EAAAC,cAAA,OAAKE,UAAW,OACXC,IAAI,yFAAyFC,IAAI,MAExGN,EAAAC,EAAAC,cAAA,UACEF,EAAAC,EAAAC,cAAA,MAAIE,UAAW,cACbJ,EAAAC,EAAAC,cAAA,OAAKE,UAAU,QAAf,sBACAJ,EAAAC,EAAAC,cAAA,OAAKE,UAAU,aAAf,4BACAJ,EAAAC,EAAAC,cAAA,OAAKE,UAAU,SAAf,6BAGArB,EAAKwB,IAAI,SAAAC,GAAI,OACXR,EAAAC,EAAAC,cAAA,MAAIO,IAAKD,EAAKZ,MACZI,EAAAC,EAAAC,cAAA,OAAKE,UAAU,QAAQI,EAAKZ,MAC5BI,EAAAC,EAAAC,cAAA,OAAKE,UAAU,aAAaI,EAAKE,MACjCV,EAAAC,EAAAC,cAAA,OAAKE,UAAU,SAASI,EAAKG,mBA/CfC,aAyDfC,sBAAahC","file":"mrstatic/js/prize-winner-list.b9e7c88a.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport './index.scss'\nimport { getParam, http } from '@/utils'\nimport { WithFullSize } from \"@/HOCs\"\n\nclass PrizeWinnerList extends Component {\n\n state = {\n list: [],\n title: '',\n }\n\n componentDidMount() {\n http.get(`${API.home}/sys/activity/lottery_names/${getParam('tid')}`)\n .then(res => {\n const {data} = res\n if (data.code == 200) {\n const {data: response} = data\n this.setState({\n title: response.title,\n list: response.list\n })\n }\n })\n }\n\n render() {\n const {title, list} = this.state\n return (\n <div id={'prize-winner-list'}>\n <div className=\"banner\">\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/prize-winner-list-banner.png\" alt=\"\"\n className=\"banner\"/>\n </div>\n <h1>\n <img className={'icon'}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-left.png\" alt=\"\"/>\n <span>{title}</span>\n <img className={'icon'}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-right.png\" alt=\"\"/>\n </h1>\n <ul>\n <li className={'head title'}>\n <div className=\"code\">中奖码</div>\n <div className=\"user-name\">用户名称</div>\n <div className=\"prize\">奖品名称</div>\n </li>\n {\n list.map(item => (\n <li key={item.code}>\n <div className=\"code\">{item.code}</div>\n <div className=\"user-name\">{item.name}</div>\n <div className=\"prize\">{item.prize}</div>\n </li>\n ))\n }\n </ul>\n </div>\n )\n }\n}\n\nexport default WithFullSize(PrizeWinnerList)\n"],"sourceRoot":""} {"version":3,"sources":["components/activity/prize-winner-list/index.js"],"names":["PrizeWinnerList","state","list","title","_this2","this","http","get","concat","API","home","getParam","then","res","data","code","response","setState","_this$state","react__WEBPACK_IMPORTED_MODULE_5___default","a","createElement","id","className","src","alt","map","item","key","name","prize","Component","WithFullSize"],"mappings":"0MAKMA,6MAEJC,MAAQ,CACNC,KAAM,GACNC,MAAO,uFAGW,IAAAC,EAAAC,KAClBC,IAAKC,IAAL,GAAAC,OAAYC,IAAIC,KAAhB,gCAAAF,OAAmDG,YAAS,SACzDC,KAAK,SAAAC,GAAO,IACJC,EAAQD,EAARC,KACP,GAAiB,KAAbA,EAAKC,KAAa,KACPC,EAAYF,EAAlBA,KACPV,EAAKa,SAAS,CACZd,MAAOa,EAASb,MAChBD,KAAMc,EAASd,2CAMhB,IAAAgB,EACeb,KAAKJ,MAApBE,EADAe,EACAf,MAAOD,EADPgB,EACOhB,KACd,OACEiB,EAAAC,EAAAC,cAAA,OAAKC,GAAI,qBACPH,EAAAC,EAAAC,cAAA,OAAKE,UAAU,UACbJ,EAAAC,EAAAC,cAAA,OAAKG,IAAI,+FAA+FC,IAAI,GACvGF,UAAU,YAEjBJ,EAAAC,EAAAC,cAAA,UACEF,EAAAC,EAAAC,cAAA,OAAKE,UAAW,OACXC,IAAI,wFAAwFC,IAAI,KACrGN,EAAAC,EAAAC,cAAA,YAAOlB,GACPgB,EAAAC,EAAAC,cAAA,OAAKE,UAAW,OACXC,IAAI,yFAAyFC,IAAI,MAExGN,EAAAC,EAAAC,cAAA,UACEF,EAAAC,EAAAC,cAAA,MAAIE,UAAW,cACbJ,EAAAC,EAAAC,cAAA,OAAKE,UAAU,QAAf,sBACAJ,EAAAC,EAAAC,cAAA,OAAKE,UAAU,aAAf,4BACAJ,EAAAC,EAAAC,cAAA,OAAKE,UAAU,SAAf,6BAGArB,EAAKwB,IAAI,SAAAC,GAAI,OACXR,EAAAC,EAAAC,cAAA,MAAIO,IAAKD,EAAKZ,MACZI,EAAAC,EAAAC,cAAA,OAAKE,UAAU,QAAQI,EAAKZ,MAC5BI,EAAAC,EAAAC,cAAA,OAAKE,UAAU,aAAaI,EAAKE,MACjCV,EAAAC,EAAAC,cAAA,OAAKE,UAAU,SAASI,EAAKG,mBA/CfC,aAyDfC,sBAAahC","file":"mrstatic/js/prize-winner-list.baaff1be.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport './index.scss'\nimport { getParam, http } from '@/utils'\nimport { WithFullSize } from \"@/HOCs\"\n\nclass PrizeWinnerList extends Component {\n\n state = {\n list: [],\n title: '',\n }\n\n componentDidMount() {\n http.get(`${API.home}/sys/activity/lottery_names/${getParam('tid')}`)\n .then(res => {\n const {data} = res\n if (data.code == 200) {\n const {data: response} = data\n this.setState({\n title: response.title,\n list: response.list\n })\n }\n })\n }\n\n render() {\n const {title, list} = this.state\n return (\n <div id={'prize-winner-list'}>\n <div className=\"banner\">\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/prize-winner-list-banner.png\" alt=\"\"\n className=\"banner\"/>\n </div>\n <h1>\n <img className={'icon'}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-left.png\" alt=\"\"/>\n <span>{title}</span>\n <img className={'icon'}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-right.png\" alt=\"\"/>\n </h1>\n <ul>\n <li className={'head title'}>\n <div className=\"code\">中奖码</div>\n <div className=\"user-name\">用户名称</div>\n <div className=\"prize\">奖品名称</div>\n </li>\n {\n list.map(item => (\n <li key={item.code}>\n <div className=\"code\">{item.code}</div>\n <div className=\"user-name\">{item.name}</div>\n <div className=\"prize\">{item.prize}</div>\n </li>\n ))\n }\n </ul>\n </div>\n )\n }\n}\n\nexport default WithFullSize(PrizeWinnerList)\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{1211:function(e,t,a){"use strict";a.r(t);a(41);var s=a(12),i=a.n(s),c=a(4),n=a(7),r=a(5),o=a(8),l=a(9),u=a(0),d=a.n(u),m=(a(914),a(27)),p=a(3),f=a(15),h=a(21),E=(a(73),a(62)),_=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(r.a)(this,Object(o.a)(t).call(this,e))).getList=function(){p.d.get("".concat(API.home,"/m/my/courses")).then(function(e){200===e.data.code?a.setState({data:e.data.data,isLoading:!1}):i.a.info(e.data.msg,2)})},a.toCourseDetail=function(e){var t=a.props;t.dispatch;t.history.push("/detail?id=".concat(e))},a.state={data:[],isLoading:!0},a}return Object(l.a)(t,e),Object(n.a)(t,[{key:"componentDidMount",value:function(){this.getList()}},{key:"render",value:function(){var e=this,t=this.props.user,a=t&&t.data&&t.data.uid;return d.a.createElement("div",{className:"purchased-box"},d.a.createElement(m.e,{arrow:!0,title:"\u5df2\u8d2d\u8bfe\u7a0b",cart:!1,toHref:"/my"}),d.a.createElement(E.a,{isLoading:this.state.isLoading},this.state.data&&this.state.data.length>0?d.a.createElement("div",{className:"purchased-body"},d.a.createElement("div",{className:"tip"},"\u52a0\u7fa4\u8bf7\u5907\u6ce8\u60a8\u7684\u5b66\u53f7\uff1a",a),this.state.data.map(function(t,a){var s=d.a.createElement("div",{className:"info"},d.a.createElement("p",{className:"title",onClick:function(){return e.toCourseDetail(t.course_id)}},t.course_title),d.a.createElement("p",{className:"contact text-overflow-2"},t.simpledescription),t.is_aist&&d.a.createElement("div",{className:"des"},"\u52a9\u6559\u5fae\u4fe1\uff1a",t.assist_weixin),!t.is_aist&&1==t.contact_type&&t.course_qq&&d.a.createElement("div",{className:"des"},"QQ\u7fa4\uff1a",t.course_qq),!t.is_aist&&2==t.contact_type&&t.course_qq&&d.a.createElement("div",{className:"des"},"\u73ed\u4e3b\u4efb\u5fae\u4fe1\uff1a",t.course_qq)),i=t.is_aist&&d.a.createElement("span",{className:"status"},"\u8fd4\u73b0"),c=t.course_expire&&""!=t.course_expire&&d.a.createElement("span",{className:"course-expire"},t.course_expire);return d.a.createElement(m.j,{key:a,img:t.image_name,id:t.course_id,info:s,status:i,courseExpire:c,toDetail:e.toCourseDetail})})):d.a.createElement("div",{className:"cart-tip"},d.a.createElement("p",{className:"cart-mess"},"\u60a8\u8fd8\u6ca1\u6709\u8bfe\u7a0b\u54e6\uff0c\u5feb\u53bb\u901b\u901b\u5427~"),d.a.createElement(f.b,{to:"/classify"},"\u53bb\u901b\u901b"))))}}]),t}(u.Component);t.default=Object(h.b)(function(e){return{user:e.user}},null)(_)},914:function(e,t,a){}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[29],{1211:function(e,t,a){"use strict";a.r(t);a(41);var s=a(12),i=a.n(s),c=a(5),n=a(7),r=a(6),o=a(8),l=a(9),u=a(0),d=a.n(u),m=(a(914),a(27)),p=a(3),f=a(15),h=a(22),E=(a(73),a(62)),_=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(r.a)(this,Object(o.a)(t).call(this,e))).getList=function(){p.d.get("".concat(API.home,"/m/my/courses")).then(function(e){200===e.data.code?a.setState({data:e.data.data,isLoading:!1}):i.a.info(e.data.msg,2)})},a.toCourseDetail=function(e){var t=a.props;t.dispatch;t.history.push("/detail?id=".concat(e))},a.state={data:[],isLoading:!0},a}return Object(l.a)(t,e),Object(n.a)(t,[{key:"componentDidMount",value:function(){this.getList()}},{key:"render",value:function(){var e=this,t=this.props.user,a=t&&t.data&&t.data.uid;return d.a.createElement("div",{className:"purchased-box"},d.a.createElement(m.e,{arrow:!0,title:"\u5df2\u8d2d\u8bfe\u7a0b",cart:!1,toHref:"/my"}),d.a.createElement(E.a,{isLoading:this.state.isLoading},this.state.data&&this.state.data.length>0?d.a.createElement("div",{className:"purchased-body"},d.a.createElement("div",{className:"tip"},"\u52a0\u7fa4\u8bf7\u5907\u6ce8\u60a8\u7684\u5b66\u53f7\uff1a",a),this.state.data.map(function(t,a){var s=d.a.createElement("div",{className:"info"},d.a.createElement("p",{className:"title",onClick:function(){return e.toCourseDetail(t.course_id)}},t.course_title),d.a.createElement("p",{className:"contact text-overflow-2"},t.simpledescription),t.is_aist&&d.a.createElement("div",{className:"des"},"\u52a9\u6559\u5fae\u4fe1\uff1a",t.assist_weixin),!t.is_aist&&1==t.contact_type&&t.course_qq&&d.a.createElement("div",{className:"des"},"QQ\u7fa4\uff1a",t.course_qq),!t.is_aist&&2==t.contact_type&&t.course_qq&&d.a.createElement("div",{className:"des"},"\u73ed\u4e3b\u4efb\u5fae\u4fe1\uff1a",t.course_qq)),i=t.is_aist&&d.a.createElement("span",{className:"status"},"\u8fd4\u73b0"),c=t.course_expire&&""!=t.course_expire&&d.a.createElement("span",{className:"course-expire"},t.course_expire);return d.a.createElement(m.j,{key:a,img:t.image_name,id:t.course_id,info:s,status:i,courseExpire:c,toDetail:e.toCourseDetail})})):d.a.createElement("div",{className:"cart-tip"},d.a.createElement("p",{className:"cart-mess"},"\u60a8\u8fd8\u6ca1\u6709\u8bfe\u7a0b\u54e6\uff0c\u5feb\u53bb\u901b\u901b\u5427~"),d.a.createElement(f.b,{to:"/classify"},"\u53bb\u901b\u901b"))))}}]),t}(u.Component);t.default=Object(h.b)(function(e){return{user:e.user}},null)(_)},914:function(e,t,a){}}]);
//# sourceMappingURL=purchased.0a105d7e.chunk.js.map //# sourceMappingURL=purchased.172cf22a.chunk.js.map
\ No newline at end of file \ 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.
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js"); importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts( importScripts(
"/precache-manifest.adc2d73282fb1dc223c86cdc4ce50684.js" "/precache-manifest.f909945640d294db78b335915e37ed97.js"
); );
workbox.clientsClaim(); workbox.clientsClaim();
...@@ -30,5 +30,5 @@ workbox.precaching.precacheAndRoute(self.__precacheManifest, {}); ...@@ -30,5 +30,5 @@ workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
workbox.routing.registerNavigationRoute("/index.html", { workbox.routing.registerNavigationRoute("/index.html", {
blacklist: [/^\/_/,/\/[^\/]+\.[^\/]+$/], blacklist: [/^\/_/,/\/[^/]+\.[^/]+$/],
}); });
...@@ -1650,15 +1650,15 @@ ...@@ -1650,15 +1650,15 @@
} }
}, },
"@videojs/http-streaming": { "@videojs/http-streaming": {
"version": "1.10.3", "version": "1.10.6",
"resolved": "https://registry.npmjs.org/@videojs/http-streaming/-/http-streaming-1.10.3.tgz", "resolved": "https://registry.npmjs.org/@videojs/http-streaming/-/http-streaming-1.10.6.tgz",
"integrity": "sha512-fxXtwVrQBdhOFh6GymPAPCb4utCI01Zs5fdyZgtR6FSsaz/zGmnzfNS5GvNjBi/hZviMsbNPFaOTTFMMNLNA3A==", "integrity": "sha512-uPBuunHnxWeFRYxRX0j6h1IIWv3+QKvSkZGmW9TvqxWBqeNGSrQymR6tm1nVjQ2HhMVxVphQTUhUTTPDVWqmQg==",
"requires": { "requires": {
"aes-decrypter": "3.0.0", "aes-decrypter": "3.0.0",
"global": "^4.3.0", "global": "^4.3.0",
"m3u8-parser": "4.3.0", "m3u8-parser": "4.4.0",
"mpd-parser": "0.8.1", "mpd-parser": "0.8.1",
"mux.js": "5.1.3", "mux.js": "5.2.1",
"url-toolkit": "^2.1.3", "url-toolkit": "^2.1.3",
"video.js": "^6.8.0 || ^7.0.0" "video.js": "^6.8.0 || ^7.0.0"
} }
...@@ -9333,9 +9333,9 @@ ...@@ -9333,9 +9333,9 @@
} }
}, },
"m3u8-parser": { "m3u8-parser": {
"version": "4.3.0", "version": "4.4.0",
"resolved": "https://registry.npmjs.org/m3u8-parser/-/m3u8-parser-4.3.0.tgz", "resolved": "https://registry.npmjs.org/m3u8-parser/-/m3u8-parser-4.4.0.tgz",
"integrity": "sha512-bVbjuBMoVIgFL1vpXVIxjeaoB5TPDJRb0m5qiTdM738SGqv/LAmsnVVPlKjM4fulm/rr1XZsKM+owHm+zvqxYA==", "integrity": "sha512-iH2AygTFILtato+XAgnoPYzLHM4R3DjATj7Ozbk7EHdB2XoLF2oyOUguM7Kc4UVHbQHHL/QPaw98r7PbWzG0gg==",
"requires": { "requires": {
"global": "^4.3.2" "global": "^4.3.2"
} }
...@@ -9845,9 +9845,9 @@ ...@@ -9845,9 +9845,9 @@
"integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=" "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s="
}, },
"mux.js": { "mux.js": {
"version": "5.1.3", "version": "5.2.1",
"resolved": "https://registry.npmjs.org/mux.js/-/mux.js-5.1.3.tgz", "resolved": "https://registry.npmjs.org/mux.js/-/mux.js-5.2.1.tgz",
"integrity": "sha512-FhDcysLvAkO9H8ftBJ2sK1O4Rmz0AWnMS+2uqP7WjrnaAyE/ox11GEiZkRzrWIdp8at9R9qBHDqdURY3/h/xTg==" "integrity": "sha512-1t2payD3Y8izfZRq7tfUQlhL2fKzjeLr9v1/2qNCTkEQnd9Abtn1JgzsBgGZubEXh6lM5L8B0iLGoWQiukjtbQ=="
}, },
"nan": { "nan": {
"version": "2.13.2", "version": "2.13.2",
...@@ -14570,11 +14570,6 @@ ...@@ -14570,11 +14570,6 @@
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz",
"integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==" "integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ=="
}, },
"tsml": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/tsml/-/tsml-1.0.1.tgz",
"integrity": "sha1-ifghi52eJX9H1/a1bQHFpNLGj8M="
},
"tty-browserify": { "tty-browserify": {
"version": "0.0.0", "version": "0.0.0",
"resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz",
...@@ -14965,25 +14960,24 @@ ...@@ -14965,25 +14960,24 @@
} }
}, },
"video.js": { "video.js": {
"version": "7.6.0", "version": "7.6.5",
"resolved": "https://registry.npmjs.org/video.js/-/video.js-7.6.0.tgz", "resolved": "https://registry.npmjs.org/video.js/-/video.js-7.6.5.tgz",
"integrity": "sha512-A0HSKzAmcYkd1xyExqUlM6n8bkghcX54iCvW08bPvvl3UHt8d8zijuylfIWu8vo1Z8fYyk9HPOFs1i3Cldr/cw==", "integrity": "sha512-r0kC9SNJhXz9th/wwbRaLVOIZTvXkF+rhFq9/FWU+e+EJClwClRCgP8STGmfrPHDXrfWiJwH9YY21JZK61vGGQ==",
"requires": { "requires": {
"@babel/runtime": "^7.4.5", "@babel/runtime": "^7.4.5",
"@videojs/http-streaming": "1.10.3", "@videojs/http-streaming": "1.10.6",
"global": "4.3.2", "global": "4.3.2",
"keycode": "^2.2.0", "keycode": "^2.2.0",
"safe-json-parse": "4.0.0", "safe-json-parse": "4.0.0",
"tsml": "1.0.1",
"videojs-font": "3.2.0", "videojs-font": "3.2.0",
"videojs-vtt.js": "^0.14.1", "videojs-vtt.js": "^0.14.1",
"xhr": "2.4.0" "xhr": "2.4.0"
}, },
"dependencies": { "dependencies": {
"@babel/runtime": { "@babel/runtime": {
"version": "7.5.5", "version": "7.6.3",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.5.5.tgz", "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.6.3.tgz",
"integrity": "sha512-28QvEGyQyNkB0/m2B4FU7IEZGK2NUrcMtT6BZEFALTguLk+AUT6ofsHtPk5QyjAdUkpMJ+/Em+quwz4HOt30AQ==", "integrity": "sha512-kq6anf9JGjW8Nt5rYfEuGRaEAaH1mkv3Bbu6rYvLOpPh/RusSJXuKPEAoZ7L7gybZkchE8+NV5g9vKF4AGAtsA==",
"requires": { "requires": {
"regenerator-runtime": "^0.13.2" "regenerator-runtime": "^0.13.2"
} }
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
"swiper": "^4.5.0", "swiper": "^4.5.0",
"terser-webpack-plugin": "1.2.2", "terser-webpack-plugin": "1.2.2",
"url-loader": "1.1.2", "url-loader": "1.1.2",
"video.js": "^7.6.0", "video.js": "^7.6.5",
"web-launch-app": "^2.1.9", "web-launch-app": "^2.1.9",
"webpack": "4.28.3", "webpack": "4.28.3",
"webpack-dev-server": "3.1.14", "webpack-dev-server": "3.1.14",
......
import React, { Component } from 'react' import React from 'react'
import ReactDOM from 'react-dom'
import './index.scss' import './index.scss'
import classnames from 'classnames' import classnames from 'classnames'
import propTypes from 'prop-types'
class ClosablePopup extends Component { function ClosablePopup({
title, content, className, closable = true, close = function () {
state = {
visible: this.props.visible
} }
} = {}) {
close = () => { function unmountComponent() {
const {close} = this.props ReactDOM.unmountComponentAtNode(div)
close ? close() : this.setState({visible: false}) if (div && div.parentNode) {
div.parentNode.removeChild(div)
}
} }
componentDidUpdate(prevProps, prevState) { function _close() {
const {visible} = this.props let _c = close()
if (prevState.visible !== this.props.visible) { if (_c && _c.then) {
this.setState({ _c.then(() => {
visible unmountComponent()
}) })
} else {
unmountComponent()
} }
} }
render() { const closablePopup = (
const {title, className, children, closable = true} = this.props <div className={'closable-popup-mask'}>
return ( <div className={classnames(['popup-container', className])}>
this.state.visible <div className="title">{title}</div>
? <div className="content">
<div className={'closable-popup-mask'}> {content}
<div className={classnames(['popup-container', className])}>
<div className="title">{title}</div>
<div className="content">
{children}
</div>
{
closable && <i className={'close iconfont iconiconfront-2'} onClick={this.close}/>
}
</div>
</div> </div>
: null {
) closable && <i className={'close iconfont iconiconfront-2'} onClick={_close}/>
} }
} </div>
</div>
)
const div = document.createElement('div')
document.body.appendChild(div)
ClosablePopup.propTypes = { ReactDOM.render(closablePopup, div)
title: propTypes.string.isRequired,
visible: propTypes.bool,
closable: propTypes.string,
close: propTypes.func
} }
export default ClosablePopup export default ClosablePopup
...@@ -20,6 +20,15 @@ class ReserveCourse extends Component { ...@@ -20,6 +20,15 @@ class ReserveCourse extends Component {
this.fetchAICourse(); this.fetchAICourse();
} }
shouldComponentUpdate(nextProps, nextState, nextContext) {
if(this.props.isApp !== nextProps.isApp) {
this.fetchAICourse();
return false;
}
return true;
}
fetchAICourse = () => { fetchAICourse = () => {
http.get(`${API.home}/sys/pre_coursee`).then(res => { http.get(`${API.home}/sys/pre_coursee`).then(res => {
const {code, data, msg} = res.data; const {code, data, msg} = res.data;
...@@ -62,8 +71,34 @@ class ReserveCourse extends Component { ...@@ -62,8 +71,34 @@ class ReserveCourse extends Component {
} }
} }
// 立即付尾款 // 立即付尾款
expandPaywk = (courseId, day) => { expandPaywk = (courseId, time,day) => {
Toast.info("付尾款时间将在" + day + "开启", 2); const {user, history} = this.props;
const uid = user && user.data && user.data.uid;
if (!uid) {
if (!getParam('version')) {
this.props.history.push('/passport/login')
} else {
SendMessageToApp("toLogin");
}
} else {
let timeStamp = Date.parse(new Date()) / 1000;
if (timeStamp >= time) {
if (!getParam('version')) {
this.props.history.push(
'/final-deposit-order?source=1',
{
id: courseId,
sourcenum: 1
}
)
} else {
SendMessageToApp("TailMoney");
}
} else {
Toast.info("付尾款时间将在" + day + "开启", 2);
}
}
} }
// 去学习 // 去学习
tostudy = (courseId) => { tostudy = (courseId) => {
...@@ -138,7 +173,7 @@ function CourseList(props) { ...@@ -138,7 +173,7 @@ function CourseList(props) {
{ {
item.is_buy === 1 && item.is_buy === 1 &&
<button className="to-expand-buy2" <button className="to-expand-buy2"
onClick={() => expandPaywk(item.course_id, item.final_start_time)}>立即付尾款</button> onClick={() => expandPaywk(item.course_id, item.start_timestamp,item.final_start_time)}>立即付尾款</button>
} }
{ {
item.is_buy === 2 && item.is_buy === 2 &&
......
.reserve-course-module { .reserve-course-module {
margin: 20px 15px 0 20px; margin: 20px 15px 0 20px;
padding-bottom: 5px; padding-bottom: 5px;
.course-list { .course-list {
ul { ul {
...@@ -118,4 +118,3 @@ ...@@ -118,4 +118,3 @@
outline: none; outline: none;
} }
} }
...@@ -52,7 +52,12 @@ class LevelTest extends Component { ...@@ -52,7 +52,12 @@ class LevelTest extends Component {
startTest = () => { startTest = () => {
const {history, isLogin, toLogin} = this.props; const {history, isLogin, toLogin} = this.props;
if(isLogin) { if(isLogin) {
history.push('/levelTest/testing'); // history.push('/levelTest/test');
// if(getParam('version')) {
window.location.href = `${API.m}/levelTest/test`;
// }else{
// history.push('/levelTest/test');
// }
}else{ }else{
toLogin(); toLogin();
} }
...@@ -73,11 +78,6 @@ class LevelTest extends Component { ...@@ -73,11 +78,6 @@ class LevelTest extends Component {
<img src="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/test_icon.png" /> <img src="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/test_icon.png" />
<div className="button__text"> <div className="button__text">
<p>点击测试</p> <p>点击测试</p>
{
isLogin && (
<span>(剩余{number}次)</span>
)
}
</div> </div>
</div> </div>
<div className='test__number'> <div className='test__number'>
...@@ -100,7 +100,7 @@ class LevelTest extends Component { ...@@ -100,7 +100,7 @@ class LevelTest extends Component {
}) })
} }
</div> </div>
<div className="prize__title"> 活动规则 </div> <div className="prize__title"> 活动规则 </div>
<div className="rules__text"> <div className="rules__text">
<p>1. 115日至1113日之间每人有一次测试机会,可通过“集福气”活动额外获得2次测试机会;</p> <p>1. 115日至1113日之间每人有一次测试机会,可通过“集福气”活动额外获得2次测试机会;</p>
......
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