{"version":3,"sources":["components/ml/pythomDes/Description/index.js","components/ml/pythomDes/Study/index.js","components/ml/pythomDes/Team/index.js","components/ml/pythomDes/Experience/index.js","components/ml/pythomDes/Progream/index.js","components/ml/pythomDes/Selection/index.js","components/ml/poup/index.js","components/ml/pythomDes/InAction/index.js","components/ml/pythomDes/index.js","components/ml/pythonStudy/index.js","components/ml/index.js","components/detail/shareRank/index.js","../node_modules/antd-mobile/lib/accordion/style/css.js","../node_modules/antd-mobile/lib/accordion/index.js","../node_modules/rc-collapse/es/PanelContent.js","../node_modules/rc-collapse/es/Panel.js","../node_modules/rc-collapse/es/openAnimationFactory.js","../node_modules/rc-collapse/es/Collapse.js","../node_modules/rc-collapse/es/index.js"],"names":["Description","state","list","icon","text","this","react_default","a","createElement","className","src","alt","map","item","index","key","Component","Study","Change","data","cn","str","toString","ci","Number","cs","Math","floor","cv","length","replace","_this2","props","syllabus","name","lessons","number","info","allSyllabusShow","onClick","hide","show","Team","_this","Object","classCallCheck","possibleConstructorReturn","getPrototypeOf","call","teacherList","avatar","des","Experience","_this$props","isOnline","tryLearn","Fragment","Progream","q","concat","Selection","screenshots","id","i","Poup","type","closePop","InAction","projects","image","title","detail","showAll","initialShowCount","_this$state","PythonDes","connect","user","statistics","hasError","toLogin","creatOid","url","API","http","post","course_id","getParam","then","res","_res$data","errno","msg","setState","orderId","oid","weixinPay","toast_default","browser","isWeixin","window","location","origin","pathname","href","encodeURIComponent","toLowerCase","get","toLearn","backwardVersion","_res$data2","code","SendMessageToApp","toApp","toDetail","onlyoneUse","setTimeout","clearTimeout","history","push","simple","isWxloginFun","allSyllabus","practice","allPractice","allPracticeShow","hideSome","slice","getStatus","buyTry","_res$data3","payMoney","course_info","price1","courseInfo","home","isShowChannel","sessionStorage","getItem","isPay","nextProps","nextState","nextContext","isAppUpdate","is_dist","shareRank","style","fontSize","common","Description_Description","Study_Study","ml_pythomDes_Selection","ml_pythomDes_InAction","Team_Team","Experience_Experience","display","width","height","Progream_Progream","poup_Poup","PythonStudy","fetchCourseDetail","learning","onChange","console","log","toPythonHome","isUnlock","uid","arrow","buy_try","contact_type","course_qq","schedule","day","left","accordion_default","defaultActiveKey","syllabusItem","header","stage","Panel","lessonsItem","shut","complete","opacity","is_unlock","img_url","data-status","project","is_must","ML","setCurrentUser","startFetchUser","isweixinPay","assertThisInitialized","weixin_code","undefined","onBridgeReady","WeixinJSBridge","invoke","appId","timeStamp","nonceStr","package","signType","paySign","err_msg","intervalPayStatus","setInterval","clearInterval","document","addEventListener","attachEvent","payCallback","val","isWxlogin","loginInfo","result","userInfoList","appLogin","expires","addDays","Date","cookie","set","token","path","domain","plat","uname","avatar_file","fetchCourseInfo","transformUser","payload","username","isFetching","version","isAndroidApp","isIOSApp","is_pay","ml_pythomDes","bind","ml_pythonStudy","ShareRank","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_4__","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_6__","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_7__","getRankList","rankingslice","antd_mobile_lib_toast__WEBPACK_IMPORTED_MODULE_3___default","getCode","share","courseId","dist_first","dist_first_level_ti","dist_code","openRanking","colse","_this$props$courseInf","react__WEBPACK_IMPORTED_MODULE_9___default","antd_mobile_lib_flex__WEBPACK_IMPORTED_MODULE_1___default","justify","head_imgurl","amount","align","user_name","compose","withRouter","__webpack_require__","defineProperty","exports","value","_classCallCheck3","_interopRequireDefault","_createClass3","_possibleConstructorReturn3","_inherits3","_rcCollapse","_rcCollapse2","React","obj","__esModule","newObj","prototype","hasOwnProperty","_interopRequireWildcard","default","Accordion","_React$Component","__proto__","apply","arguments","defaultProps","prefixCls","module","_createClass","defineProperties","target","descriptor","enumerable","configurable","writable","Constructor","protoProps","staticProps","_defineProperty","PanelContent_PanelContent","_Component","PanelContent","instance","TypeError","_classCallCheck","self","ReferenceError","_possibleConstructorReturn","subClass","superClass","create","constructor","setPrototypeOf","_inherits","react","forceRender","isActive","_classnames","_isActived","_props","children","destroyInactivePanel","role","contentCls","classnames_default","child","propTypes","prop_types_default","string","bool","any","es_PanelContent","Panel_createClass","Panel_defineProperty","Panel_possibleConstructorReturn","Panel_CollapsePanel","CollapsePanel","_ref","_temp","Panel_classCallCheck","_len","args","Array","_key","handleItemClick","onItemClick","handleKeyPress","e","keyCode","which","Panel_inherits","_classNames2","headerClass","showArrow","disabled","accordion","headerCls","itemCls","tabIndex","aria-expanded","onKeyPress","Animate","showProp","exclusive","component","animation","openAnimation","oneOfType","object","node","func","animate","transitionName","done","es","start","offsetHeight","active","end","openAnimationFactory","enter","leave","Collapse_createClass","Collapse_defineProperty","toArray","activeKey","currentActiveKey","isArray","Collapse_Collapse","Collapse","Collapse_classCallCheck","Collapse_possibleConstructorReturn","Collapse_inherits","arr","arr2","from","_toConsumableArray","indexOf","splice","setActiveKey","newChildren","forEach","String","_child$props","onClickItem","cloneElement","_classNames","_props2","collapseClassName","getItems","arrayOf","es_Collapse","d","__webpack_exports__","es_Panel"],"mappings":"waAGqBA,8NAEnBC,MAAQ,CACNC,KAAM,CACJ,CACEC,KAAM,4EACNC,KAAM,iHAER,CACED,KAAM,4EACNC,KAAM,sHAER,CACED,KAAM,4EACNC,KAAM,oIAER,CACED,KAAM,4EACNC,KAAM,kIAER,CACED,KAAM,4EACNC,KAAM,0LAKH,IACAF,EAAQG,KAAKJ,MAAbC,KACP,OACEI,EAAAC,EAAAC,cAAA,OAAKC,UAAW,eACdH,EAAAC,EAAAC,cAAA,OAAKC,UAAW,OAAQC,IAAI,qFAAqFC,IAAI,KACrHL,EAAAC,EAAAC,cAAA,OAAKC,UAAW,QAASC,IAAI,sFAAsFC,IAAI,KACvHL,EAAAC,E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OACtByD,UAAa1D,EAAAxU,EAASgX,UAAA,CAAYxC,EAAAxU,EAASyU,OAASD,EAAAxU,EAAS2Z,QAASnF,EAAAxU,EAASyU,UAC/E/J,iBAAoB8J,EAAAxU,EAASgX,UAAA,CAAYxC,EAAAxU,EAASyU,OAASD,EAAAxU,EAAS2Z,QAASnF,EAAAxU,EAASyU,UACtFsC,cAAiBvC,EAAAxU,EAASiX,OAC1BrN,SAAY4K,EAAAxU,EAASmX,KACrBf,UAAa5B,EAAAxU,EAAS0U,KACtBxU,UAAasU,EAAAxU,EAASyU,OACtB9L,MAAS6L,EAAAxU,EAASiX,OAClB/C,qBAAwBM,EAAAxU,EAAS0U,MAEjC2D,EAAQvG,aAAA,CACRC,UAAA,cACAnI,SAAA,aACAwM,WAAA,EACAlC,sBAAA,GAEAmE,EAAQvN,MAASA,EACF,IAAA8O,EAAA,ECzPftJ,EAAAuJ,EAAAC,EAAA,0BAAAC,IACeD,EAAA,cACJC,EAAQH,EAAQ9O","file":"mrstatic/js/ml.6268e49b.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport './index.scss'\n\nexport default class Description extends Component {\n\n state = {\n list: [\n {\n icon: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/des_icon_1.png',\n text: '0门槛交互式授课,学习像聊天一样有趣;'\n },\n {\n icon: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/des_icon_2.png',\n text: '原理部分结合图片和例子,内容讲解详细;'\n },\n {\n icon: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/des_icon_3.png',\n text: '代码逐行讲解,在线编程,QQ群答疑,学会为止;'\n },\n {\n icon: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/des_icon_4.png',\n text: '精编课程习题,结合面试场景,夯实理论基础;'\n },\n {\n icon: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/des_icon_5.png',\n text: '精选项目干货,结合所学,手把手指导。'\n },\n ]\n }\n\n render() {\n const {list} = this.state\n return (\n <div className={'description'}>\n <img className={'left'} src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/left__decorate.png\" alt=\"\"/>\n <img className={'right'} src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/right__decorate.png\" alt=\"\"/>\n <p className={'title'}>课 / 程 / 特 / 色</p>\n <img src={'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/ml-introduce.png'}/>\n <ul className={'des-list'}>\n {\n list.map((item,index) => {\n return <li key={index}>\n <img src={item.icon} alt=\"\"/>\n <span>{item.text}</span>\n </li>\n })\n }\n </ul>\n </div>\n )\n }\n}\n","import React, { Component } from 'react'\nimport './index.scss'\n\nexport default class Study extends Component {\n\n Change = (data) => {\n let cn = [\"一\", \"二\", \"三\", \"四\", \"五\", \"六\", \"七\", \"八\", \"九\", '十'];\n let newStr = ''\n let str = data.toString()\n let ci = Number(str) % 10\n let cs = Math.floor(Number(str) / 10)\n let cv = ''\n if (str.length > 1) {\n if(cs==1){\n cv = ci >= 1 ? cn[9] + cn[ci - 1] : cn[9]\n } else {\n cv = ci > 1 ? cn[cs - 1] + cn[9] + cn[ci - 1] : cn[cs - 1] + cn[9]\n }\n } else {\n cv = cn[ci - 1]\n }\n newStr = str.replace(str, cv)\n return newStr;\n }\n\n render() {\n return (\n <div className={'study__container'}>\n <img className={'learn_left'} src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/learn_left.png\" alt=\"\"/>\n <img className={'learn_bottom'} src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/learn_bottom.png\" alt=\"\"/>\n <p className={'title'}>课 / 程 / 安 / 排</p>\n {/*<p className={'sub__title'}>2020年4月20日开班</p>*/}\n <div className={'table__container'}>\n <div className={'table__head'}>\n <div className={'head_title order_number'}>序号</div>\n <div className={'head_title chapter'}>章节</div>\n <div className={'head_title points'}>知识点</div>\n </div>\n <div className={'table__body'}>\n {\n this.props.syllabus.map((item, index)=>{\n return (\n <div className={'item__container'} key={index}>\n <div className={'item__title'}>{ \n '第' + this.Change(index + 1) + '阶段 ' +item.name}</div>\n {\n item.lessons.map((item, index)=>{\n return (\n <div className={'item__content'} key={index}>\n <div className={'content order_number number_center'}>{item.number}</div>\n <div className={'content chapter'}>{item.name}</div>\n <div className={'content points'}>{item.info.name}</div>\n </div>\n )\n })\n }\n </div>\n )\n })\n }\n </div>\n <div className={'table__bottom'}>\n {\n this.props.allSyllabusShow ? (\n <div onClick={() => this.props.hide(1)}>\n <p>收起</p>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/shouqi.png\" alt=\"\"/>\n </div>\n ) : (\n <div onClick={() => this.props.show(1)}>\n <p>展开更多</p>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/zhankai.png\" alt=\"\"/>\n </div>\n )\n }\n </div>\n </div>\n </div>\n )\n }\n}\n","import React, { Component } from 'react'\nimport './index.scss'\n\nexport default class Team extends Component {\n constructor(props) {\n super(props);\n this.state = {\n teacherList: [\n {\n avatar: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/teacher1.png',\n name: '陈博士',\n des: '七月在线AI Lab负责人兼科学家。历任浪潮集团数据科学家,国家电网人工智能行业应用方向团队负责人。参与过一国家863项目,且曾主持一山东省自主创新及成果转化专项,发明专利十余项,专业论文十余篇。'\n },\n {\n avatar: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/teacher2.png',\n name: '孙老师',\n des: '10多年开发经验,先后任职国内知名互联网企业,从事人工智能方向的实施,擅长全栈开发,将机器学习/深度学习结合到实际生产运营中。'\n },\n {\n avatar: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/teacher_3.png',\n name: '魏老师',\n des: '通信工程专业毕业,在校期间对计算机视觉和机器人技术有较多的研究,熟悉 Pyhton 和 C++ 编程,现负责七月在线 AI Lab 推荐系统方向的技术研究。'\n },\n {\n avatar: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/teacher4.png',\n name: '珊酱',\n des: '班主任的工作是一项非常辛苦和琐碎的工作,不付出艰辛的劳动和辛苦的汗水是不会有收获的。历经数万名学员的一对一服务,始终坚持给学员做到最好的服务和最严格的要求,学员的点滴进步和成长就是我最大的期望!'\n }\n ]\n }\n }\n render() {\n const {teacherList} = this.state;\n return (\n <div className={'team_container'}>\n <img className={'team_top'} src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/team_top.png\" alt=\"\"/>\n <img className={'team_bottom'} src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/team_bottom.png\" alt=\"\"/>\n <p className={'title'}>教/学/团/队</p>\n <p className={'sub_title'}>讲师+助教+班主任全程陪伴,哪里不会问哪里</p>\n <ul>\n {\n teacherList.map((item,index)=>{\n return (\n <li key={index} className={'item_li'}>\n <img className={'item_image'} src={item.avatar} alt=\"\"/>\n <div className={'item_info'}>\n <span className={'name'}>{item.name}</span>\n <p className={'des'}>{item.des}</p>\n </div>\n </li>\n )\n })\n }\n </ul>\n </div>\n )\n }\n}\n","import React, { Component } from 'react'\nimport './index.scss'\n\nexport default class Experience extends Component {\n render() {\n const { isOnline, tryLearn } = this.props;\n return (\n <div className={'experience_container'}>\n <p className={'title'}>试 / 学 / 体 / 验</p>\n\n {\n isOnline\n ? (\n <>\n <div className={'experience'}>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/L%402x.png\" alt=\"\"/>\n <div>\n <p>特价试学9块9 体验前3个课时</p>\n <p>开启颠覆你想象的学习</p>\n </div>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/r%402x.png\" alt=\"\"/>\n </div>\n <div className={'btn'} onClick={() => {tryLearn(1)}}>立即体验</div>\n </>\n )\n : (\n <>\n <div className={'experience'}>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/L%402x.png\" alt=\"\"/>\n <div>\n <p>上架后可免费试学</p>\n <p>体验颠覆你想象的学习</p>\n </div>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/r%402x.png\" alt=\"\"/>\n </div>\n <div className={'btn btn--online'}>即将上架敬请期待</div>\n </>\n )\n }\n\n </div>\n )\n }\n}\n","import React, { Component } from 'react'\nimport './index.scss'\n\nexport default class Progream extends Component {\n constructor(props) {\n super(props);\n this.state = {\n list: [\n {\n q: '课程学习周期是多久?',\n a: '每天学习1小时,课程采用通关制解锁的方式,根据自己的时间和学习速度灵活调整。'\n },{\n q: '我没有机器学习基础可以学习吗?',\n a: '我们的课程是面向零基础的小伙伴设计的,内容通俗易懂,由浅入深,层层递进,尽可能帮助大家理解并且掌握所学知识,没有任何基础是可以学习的。'\n },{\n q: '学习过程中遇到了困难怎么办?',\n a: '我们为学员配备了专门的助教,有问题随时可以咨询助教老师。'\n },{\n q: '项目实战的形式是什么样的?',\n a: '项目实战会以考试的形式发给你,每一步都有详细的指导说明;提交试卷后可以下载完整的参考代码进行巩固复习。'\n }\n ]\n }\n }\n render() {\n const {list} = this.state;\n return (\n <div className={'pro_container'}>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/pro_left.png\" alt=\"\"/>\n <p>常 / 见 / 问 / 题</p>\n <ul>\n {\n list.map((item, index)=>{\n return (<li key={index} className={'q_item'}>\n <div className={'q'}> <p>{`Q:${item.q}`}</p> <span></span></div>\n <div className={'a__container'}>\n <div>A:</div>\n <p>{item.a}</p>\n </div>\n </li>)\n })\n }\n </ul>\n </div>\n )\n }\n}\n","import React, { Component } from 'react';\nimport './index.scss'\n\nclass Selection extends Component {\n state = {\n screenshots: ['https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/exercise_1.png', 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/exercise_2.png', 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/exercise_3.png']\n }\n\n render() {\n return (\n <div id={'selection'}>\n <h2>精 / 选 / 习 / 题</h2>\n <ul>\n {\n this.state.screenshots.map((item, i) => {\n return <li key={i}>\n <img src={item} alt=\"\"/>\n </li>\n })\n }\n </ul>\n </div>\n );\n }\n}\n\nexport default Selection;","import React, { Component } from 'react'\nimport './index.scss'\n\nexport default class Poup extends Component {\n render() {\n return (\n <div className={'mask_container'}>\n <div className={'content'}>\n <p className={'title'}>温馨提示</p>\n {\n this.props.type === 1 ? (\n <>\n <p className={'tip'}>当前环境暂不支持该课程模式,您可前往七月在线PC端体验课程。</p>\n </>\n ) : (\n <>\n <p className={'tip'}>当前环境暂不支持该课程模式,您可前往七月在线PC端学习课程。</p>\n </>\n )\n }\n <img onClick={this.props.closePop} className={'close_btn'} src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/bottom_close.png\" alt=\"\"/>\n </div>\n </div>\n )\n }\n}\n","import React, { Component } from 'react';\nimport './index.scss'\n\nclass InAction extends Component {\n state = {\n projects: [\n {\n image: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/project_1.png',\n title: ' 基于KNN的电影推荐系统',\n detail: '基于Surprise库使用movielens数据集构建电影推荐系统。在此之前,你还将学习K近邻算法、协同过滤与推荐系统的本质。'\n },\n {\n image: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/project_2.png',\n title: ' 使用线性回归预测股票走势',\n detail: '基于Sklearn中的线性回归实现Google股票走势预测。在此之前,你还将学习线性回归算法的相关细节与对应的代码实战。'\n },\n {\n image: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/project_3.png',\n title: ' 基于LR的广告点击率预估',\n detail: 'LR曾是各大互联网公司在CTR预估上使用的主流模型。它有着可解释性强、易于并行化、便于在线学习等不可替代的优势。'\n },\n {\n image: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/project_4.png',\n title: '基于朴素贝叶斯的垃圾邮件过滤',\n detail: '文本分类是NLP领域较为常见的任务,本项目使用朴素贝叶斯对垃圾邮件和正常邮件进行分类,涉及分词和正则表达式的内容。'\n },\n {\n image: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/project_5.png',\n title: ' 基于决策树的用户流失分析预测',\n detail: '用户流失分析对于提升用户活跃度有重要的意义,本项目基于Sklearn的决策树算法实现流失用户预测,并对决策树进行可视化。'\n },\n {\n image: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/project_6.png',\n title: ' 利用随机森林评估特征重要性',\n detail: '分析特征重要性对于机器学习建模有重要的意义,本项目基于Sklearn中的随机森林算法评估UCI葡萄酒数据的特征重要性。'\n },\n {\n image: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/project_7.png',\n title: ' 基于K-means实现图像分割',\n detail: '基于Sklearn中的Kmeans算法实现图像分割,将一幅图像分解成互不相交区域的集合,本质上是一种像素聚类的过程。'\n },\n {\n image: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/project_8.png',\n title: '基于SVM的人脸识别',\n detail: '人脸识别是计算机视觉领域的一项重要技术,本项目基于Skeran中的SVM算法在Olivetti人脸数据集上进行简单的人脸分类。'\n },\n ],\n showAll: false,\n initialShowCount: 8\n }\n\n render() {\n const {showAll, initialShowCount} = this.state\n\n return (\n <div id={'in-action'}>\n <h2>项 / 目 / 实 / 战</h2>\n <ul>\n {\n this.state.projects.map((item, i) => {\n if (i >= initialShowCount && !showAll) {\n return null\n }\n return <li key={i}>\n <div className={'project-image'}>\n <img src={item.image} alt=\"\"/>\n </div>\n <div className={'des'}>\n <div className=\"title\">\n <span>{i + 1}</span>\n <span>{item.title}</span>\n </div>\n <p className={'detail'}>{item.detail}</p>\n </div>\n </li>\n })\n }\n {/*<li>\n {\n !showAll\n ? <button onClick={() => {\n this.setState({\n showAll: true\n })\n }}>\n 展开更多\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/zhankai.png\" alt=\"\"/>\n </button>\n : <button onClick={() => {\n this.setState({\n showAll: false\n })\n }}>\n 收起\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/h5_python_class/shouqi.png\" alt=\"\"/>\n </button>\n }\n </li>*/}\n </ul>\n </div>\n );\n }\n}\n\nexport default InAction;","import React, {Component} from 'react'\nimport './index.scss'\nimport Description from './Description/index.js'\nimport Study from './Study/index.js'\nimport Team from './Team/index.js'\nimport Experience from './Experience/index.js'\nimport Progream from './Progream/index.js'\nimport Selection from './Selection'\nimport Mask from './../poup/index.js'\nimport InAction from \"./InAction\"\nimport ShareRank from \"@components/detail/shareRank\"\nimport {http, getParam, SendMessageToApp, browser} from '@/utils'\nimport {connect} from 'react-redux'\nimport {Toast} from \"antd-mobile\"\nimport {CallApp} from \"@common/index\"\n\n@connect(state => ({\n user: state.user\n}))\nclass PythonDes extends Component {\n constructor(props) {\n super(props)\n this.state = {\n syllabus: [], // 阶梯学习\n allSyllabus: [], // 阶梯学习\n allSyllabusShow: false,\n allPractice: [], // 课后实操\n toApp: false,\n payMoney: 0,\n isOnline: true, //课程是否上架\n courseInfo: {},\n isShowChannel: window.sessionStorage.getItem('isShowSiteWindowByChannel'),\n orderId: ''\n }\n }\n\n // 立即报名\n // signUp = () => {\n // this.statistics(3)\n // // 已登录\n // if (!this.props.user.hasError) {\n // this.toDetail()\n // } else {// 未登录\n // this.toLogin()\n // }\n // }\n\n // 立即体验type=1、立即报名type=3、9.9特价试学type=2\n tryLearn = type => {\n this.statistics(type)\n // 已登录\n if (!this.props.user.hasError) {\n this.creatOid(type)\n } else {// 未登录\n this.toLogin()\n }\n }\n creatOid = (type) => {\n let url = ''\n if (type == 3) {\n url = `${API['base-api']}/sys/it_baoming/create`\n } else {\n url = `${API['base-api']}/sys/trial_create`\n }\n http.post(url, {course_id: getParam('id')}).then(res => {\n const {errno, data, msg} = res.data\n if (errno === 200) {\n this.setState({\n orderId: data.oid\n })\n this.weixinPay(data.oid)\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n // 微信支付\n weixinPay = (orderId) => {\n // 微信内部-支付\n if (browser.isWeixin) {\n let url = window.location.origin + location.pathname + '?id=' + getParam('id')\n window.location.href = \"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=\" + encodeURIComponent(url + \"&aa=bb&oid=\" + orderId).toLowerCase() + \"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect\";\n } else {\n // 微信外部-支付\n http.get(`${API['base-api']}/pay/wxpay/wap_charge/oid/${orderId}`).then((res) => {\n if (res.data.errno === 0) {\n window.location.href = res.data.data.url + \"&redirect_url=\" + encodeURIComponent(window.location.href + \"&weixinpay=1&oid=\" + orderId).toLowerCase()\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n }\n\n toLearn = () => {\n const {backwardVersion} = this.props\n http.post(`${API['home']}/m/it/user/trialCourse`, {course_id: getParam('id')}).then((res) => {\n const {code, msg} = res.data\n if (code == 200) {\n if (!getParam('version')) { // H5\n this.setState({\n toApp: true\n })\n } else { // APP\n if (backwardVersion) {\n Toast.info('当前版本不支持该课程模式,请升级到最新版本或前往PC端体验', 2)\n } else {\n SendMessageToApp(\"toLearn\", getParam('id'))\n }\n }\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n\n closePop = () => {\n this.setState({\n toApp: false\n })\n }\n\n toDetail = () => {\n const {backwardVersion} = this.props\n const id = getParam('id')\n if (!getParam('version')) { // H5\n http.get(`${API['base-api']}/m/cart/addtopreorder/[${id}]`).then((res) => {\n if (res.data.errno === 0) {\n this.props.history.push(`/order?id=${id}`, {simple: 1})\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n } else { // APP\n if (backwardVersion) {\n Toast.info('当前版本不支持该课程模式,请升级到最新版本或前往PC端购买', 2)\n let onlyoneUse = setTimeout(() => {\n clearTimeout(onlyoneUse)\n onlyoneUse = null\n SendMessageToApp('toPay', id)\n }, 2000)\n } else {\n SendMessageToApp('toPay', id)\n }\n }\n }\n\n toLogin = () => {\n if (!getParam('version')) { // H5\n if (browser.isWeixin) {\n this.props.isWxloginFun(true);\n } else {\n this.props.history.push('/passport')\n }\n } else { // APP\n SendMessageToApp(\"toLogin\")\n }\n }\n\n showAll = (key) => {\n if (key === 1) {\n this.setState({\n syllabus: this.state.allSyllabus,\n allSyllabusShow: true,\n })\n }\n if (key === 2) {\n this.setState({\n practice: this.state.allPractice,\n allPracticeShow: true,\n })\n }\n }\n hideSome = (key) => {\n if (key === 1) {\n this.setState({\n syllabus: this.state.allSyllabus.slice(0, 2),\n allSyllabusShow: false,\n })\n }\n if (key === 2) {\n this.setState({\n practice: this.state.allPractice.slice(0, 2),\n allPracticeShow: false,\n })\n }\n }\n\n getStatus = () => {\n const {buyTry} = this.props\n\n http.get(`${API['home']}/web/it_detail?course_id=${getParam('id')}&buy_try=${buyTry}`).then(res => {\n const {code, data, msg} = res.data\n if (code == 200) {\n this.setState({\n syllabus: data.syllabus.slice(0, 2),\n allSyllabus: data.syllabus,\n allPractice: data.practice,\n payMoney: data.course_info.price1,\n courseInfo: data.course_info\n })\n } else {\n Toast.info(msg)\n }\n })\n }\n\n componentDidMount() {\n this.getStatus()\n\n const {backwardVersion, isPay} = this.props\n if (backwardVersion && isPay === 1) {\n Toast.info('当前版本不支持该课程模式,请升级到最新版本或前往PC端学习', 2)\n }\n }\n\n // 统计\n statistics = type => {\n http.post(`${API.home}/web/it_click_num/${getParam('id')}`, {type})\n }\n\n\n shouldComponentUpdate(nextProps, nextState, nextContext) {\n if (this.props.isAppUpdate !== nextProps.isAppUpdate) {\n this.getStatus()\n return false\n }\n return true\n }\n\n render() {\n const {\n syllabus,\n allSyllabusShow,\n toApp,\n payMoney,\n isOnline,\n courseInfo\n } = this.state\n return (\n <div className={'python__des'}>\n <div className={'des__start'}></div>\n {\n !!courseInfo.is_dist && <ShareRank courseInfo={courseInfo}/>\n }\n <div className={'course__introduce'}></div>\n {\n isOnline\n ? (\n <div className={'bottom__btn_group'}>\n <div className={'course__price'}>\n <div className={'money'}>{payMoney}<span style={{fontSize: '18px'}}>元</span></div>\n <div className={'discount'}>\n 限时特惠\n <div className={'triangle'}></div>\n </div>\n </div>\n\n <div className={'btn__group'}>\n <div className={'try__study'} onClick={() => {\n this.tryLearn(3)\n }}>立即报名\n </div>\n <div className={'sign__now'} onClick={() => {\n this.tryLearn(2)\n }}>9.9特价试学\n </div>\n </div>\n </div>\n )\n : (\n <div className=\"bottom__btn_group\">\n <p className=\"online__label\">Python人工智能</p>\n <button className=\"online__button\">即将上架 敬请期待</button>\n </div>\n )\n }\n\n {\n this.state.isShowChannel == 1 &&\n <CallApp className='toapp'/>\n }\n {/* 课程介绍 */}\n <Description/>\n\n <Study syllabus={syllabus} allSyllabusShow={allSyllabusShow} show={this.showAll}\n hide={this.hideSome}></Study>\n\n {/*精选习题*/}\n <Selection/>\n\n {/*项目实战*/}\n <InAction/>\n\n <Team/>\n\n {/* 试学体验 */}\n <Experience tryLearn={this.tryLearn} isOnline={isOnline}/>\n <img\n style={{\n display: 'block',\n width: '100%',\n height: '8px'\n }}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/di.png\"\n alt=\"\"\n />\n\n {/* 常见问题 */}\n <Progream/>\n {\n toApp && (<Mask type={1} closePop={this.closePop}/>)\n }\n </div>\n )\n }\n}\n\nfunction DefineItem(props) {\n const {item, item: {desInfo}} = props\n return (\n <div className={'number_one'}>\n <img className={'trophy'} src={item.titleUrl}></img>\n <p className={'item__title'}>{item.title}</p>\n <p className={'item__subtitle'} style={{width: item.subWidth}}>{item.subTitle}</p>\n <img style={{width: desInfo.width, height: desInfo.height}} src={item.bottomUrl}></img>\n </div>\n )\n}\n\nexport default PythonDes\n","import React, {Component} from 'react'\nimport {Accordion, Toast} from 'antd-mobile'\nimport {HeaderBar, CallApp} from '@/common'\nimport {http, getParam,browser} from '@/utils'\nimport './index.scss'\nimport {connect} from \"react-redux\"\nimport Mask from './../poup/index.js'\nimport ShareRank from \"@components/detail/shareRank\"\n\nclass PythonStudy extends Component {\n constructor(props) {\n super(props)\n this.state = {\n toApp: false,\n courseInfo: '',\n orderId: '',\n syllabus: '',\n learning: '',\n isShowChannel: window.sessionStorage.getItem('isShowSiteWindowByChannel')\n }\n }\n\n componentDidMount() {\n this.fetchCourseDetail()\n }\n\n fetchCourseDetail = () => {\n const {buyTry} = this.props\n\n http.get(`${API['home']}/web/it_detail?course_id=${getParam('id')}&is_pay=1&buy_try=${buyTry}`).then(res => {\n const {data, code, msg} = res.data\n if (code === 200) {\n this.setState({\n courseInfo: data.course_info,\n syllabus: data.syllabus,\n learning: data.learning\n })\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n\n Change = (data) => {\n let cn = [\"一\", \"二\", \"三\", \"四\", \"五\", \"六\", \"七\", \"八\", \"九\", '十']\n let newStr = ''\n let str = data.toString()\n let ci = Number(str) % 10\n let cs = Math.floor(Number(str) / 10)\n let cv = ''\n if (str.length > 1) {\n if (cs == 1) {\n cv = ci >= 1 ? cn[9] + cn[ci - 1] : cn[9]\n } else {\n cv = ci > 1 ? cn[cs - 1] + cn[9] + cn[ci - 1] : cn[cs - 1] + cn[9]\n }\n } else {\n cv = cn[ci - 1]\n }\n newStr = str.replace(str, cv)\n return newStr\n }\n\n onChange = (key) => {\n console.log(key)\n }\n\n toPythonHome = (isUnlock) => {\n if (isUnlock == 1) {\n this.setState({\n toApp: true\n })\n }\n }\n\n toLearn = () => {\n this.setState({\n toApp: true\n })\n }\n closePop = () => {\n this.setState({\n toApp: false,\n })\n }\n\n creatOid=()=>{\n http.post(`${API['base-api']}/sys/it_baoming/create`, {course_id: getParam('id')}).then(res => {\n const {errno, data, msg} = res.data\n if (errno === 200) {\n this.setState({\n orderId: data.oid\n })\n this.weixinPay(data.oid)\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n // 微信支付\n weixinPay = (orderId) => {\n // 微信内部-支付\n if (browser.isWeixin) {\n let url = window.location.origin + location.pathname + '?id=' + getParam('id')\n window.location.href = \"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=\" + encodeURIComponent(url + \"&aa=bb&oid=\" + orderId).toLowerCase() + \"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect\";\n } else {\n // 微信外部-支付\n http.get(`${API['base-api']}/pay/wxpay/wap_charge/oid/${orderId}`).then((res) => {\n if (res.data.errno === 0) {\n window.location.href = res.data.data.url + \"&redirect_url=\" + encodeURIComponent(window.location.href + \"&weixinpay=1&oid=\" + orderId).toLowerCase();\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n }\n\n\n render() {\n const {user} = this.props\n const uid = user && user.data && user.data.uid\n const {courseInfo, syllabus, learning, toApp} = this.state\n return (\n <div className=\"python-study\">\n <HeaderBar title='机器学习小课' arrow={true}/>\n <div className=\"python-study__header\">\n <div className=\"python-study__course\">\n <h2 className=\"python-study__course-name\">机器学习小课</h2>\n {\n courseInfo.buy_try == 0 &&\n <p className=\"python-study__course-contact\">\n <span>{courseInfo.contact_type == 1 ? '上课请加QQ学习群' : '添加助教微信入群'}:{courseInfo.course_qq}</span>\n <span>并备注您的学号:{uid}</span>\n </p>\n }\n </div>\n {\n learning.schedule > 0 &&\n <div className=\"python-study__progress\">\n <h2 className=\"python-study__progress-title\">\n 学习进度\n {\n !!learning.day && <span>(已连续学习<span>{learning.day}</span>天)</span>\n }\n </h2>\n <div className=\"python-study__progress-bar\">\n <i style={{width: learning.schedule + '%'}}/>\n <span className=\"python-study__progress-tip\"\n style={{left: learning.schedule + '%'}}>{learning.schedule + '%'}</span>\n </div>\n </div>\n }\n\n {\n this.state.isShowChannel == 1 &&\n <CallApp className='toapp'/>\n }\n\n </div>\n {\n !!courseInfo.is_dist && <div className={'dist-wrapper'}>\n <ShareRank courseInfo={courseInfo}/>\n </div>\n }\n <Accordion\n defaultActiveKey=\"0\"\n className=\"python-study__stage\"\n onChange={this.onChange}\n >\n {\n syllabus && syllabus.length > 0 && syllabus.map((syllabusItem, index) => {\n let header = `第${this.Change(syllabusItem.stage)}阶段:${syllabusItem.name}`\n return (\n <Accordion.Panel header={header} className=\"pad\" key={index}>\n {\n syllabusItem.lessons && syllabusItem.lessons.length > 0 && syllabusItem.lessons.map((lessonsItem, index) => {\n return (\n <div key={index}>\n <h2 className=\"python-study__pass\">\n 第{lessonsItem.shut}关 {lessonsItem.name}\n {\n lessonsItem.complete == 1 &&\n <i className=\"python-study__pass-tag\">闯关完成</i>\n }\n </h2>\n\n <div className=\"python-study__subject\"\n style={{opacity: lessonsItem.info.is_unlock == 0 ? '.6' : '1'}}\n onClick={() => {\n this.toPythonHome(lessonsItem.info.is_unlock)\n }}\n key={index}>\n <img className=\"python-study__subject-icon\"\n src={lessonsItem.info.img_url} alt=\"\"/>\n {\n lessonsItem.info.is_unlock == 1 && lessonsItem.info.complete == 1 &&\n <i className=\"python-study__subject-status\"\n data-status=\"complete\"/>\n }\n {\n lessonsItem.info.is_unlock == 0 &&\n <i className=\"python-study__subject-status\"\n data-status=\"lock\"/>\n }\n <div className=\"python-study__subject-content\">\n <h2 className=\"python-study__subject-title text-overflow-1\">{lessonsItem.info.name}</h2>\n </div>\n </div>\n\n {\n lessonsItem.project && <div className=\"python-study__subject\"\n style={{opacity: lessonsItem.project.is_unlock == 0 ? '.6' : '1'}}\n onClick={() => {\n this.toPythonHome(lessonsItem.project.is_unlock)\n }}\n >\n <img className=\"python-study__subject-icon\"\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/mlCourse/m/project-icon.png\"\n alt=\"\"/>\n {\n lessonsItem.project.is_unlock == 1 && lessonsItem.project.complete == 1 &&\n <i className=\"python-study__subject-status\"\n data-status=\"complete\"/>\n }\n {\n lessonsItem.project.is_unlock == 1 && lessonsItem.project.complete == 0 &&\n <i className=\"python-study__subject-status\"\n data-status=\"lock\"/>\n }\n <div className=\"python-study__subject-content\">\n <h2\n className=\"python-study__subject-title text-overflow-1\">{lessonsItem.project.name}</h2>\n {\n lessonsItem.project.is_must == 1 &&\n <span\n className=\"python-study__subject-tag\">必做练习</span>\n }\n </div>\n </div>\n }\n </div>\n )\n })\n }\n {\n index === 0 && syllabus[0].lessons[2].info.complete == 1 && courseInfo.buy_try == 1 &&\n\n <div className=\"study-end\">\n 试学结束,<span>{courseInfo.price1}元</span>学习全部课时\n <a className=\"tobuy\" onClick={() => {\n this.creatOid()\n }}>立即报名</a>\n </div>\n }\n </Accordion.Panel>\n )\n })\n }\n </Accordion>\n {\n learning.schedule == 0 &&\n <span onClick={this.toLearn} className=\"python-study__button\">开始学习</span>\n }\n {\n learning.schedule != 0 && learning.schedule != 100 &&\n <span onClick={this.toLearn} className=\"python-study__button\">继续学习</span>\n }\n {\n learning.schedule == 100 &&\n <button className=\"python-study__button python-study__over\">已学完全部课时</button>\n }\n\n {\n toApp && <Mask closePop={this.closePop} type={2}/>\n }\n </div>\n )\n }\n}\n\n\nexport default connect(\n state => ({user: state.user}),\n null\n)(PythonStudy)","import React, {Component} from 'react'\nimport {http, getParam, browser, SendMessageToApp} from '@/utils'\nimport PythonDes from './pythomDes'\nimport PythonStudy from './pythonStudy'\nimport {connect} from \"react-redux\"\nimport {addDays} from \"date-fns\"\nimport cookie from \"js-cookie\"\nimport {setCurrentUser, startFetchUser} from \"@/store/userAction\"\nimport {Toast} from \"antd-mobile\"\nimport {WxLogin} from \"@common/index\"\n\n\n@connect(state => ({\n user: state.user\n }),\n {setCurrentUser, startFetchUser}\n)\nclass ML extends Component {\n constructor(props) {\n super(props)\n this.state = {\n isPay: '',\n buyTry: '',\n userInfoList: [],\n isAppUpdate: false,\n backwardVersion: false, // 默认是新版本\n isWxlogin: false\n }\n }\n\n componentDidMount() {\n document.title = '机器学习小课 [精讲8大经典算法,在线编程,无需安装环境,会 python 即可学习] - 七月在线'\n const _this = this\n this.fetchCourseInfo()\n // 获取App登录信息\n window['loginInfo'] = result => {\n _this.loginInfo(result)\n }\n\n\n if (browser.isWeixin && getParam('oid')) {\n this.isweixinPay()\n }\n if (getParam('weixinpay')) {\n this.payCallback()\n }\n }\n\n // 微信内部支付回调\n isweixinPay = () => {\n let _this = this\n let weixin_code = getParam('code')\n if (weixin_code) {\n if (getParam('oid') === undefined) {\n return\n } else {\n http.get(`${API['base-api']}/pay/wxpay/pub_charge/oid/${getParam('oid')}/code/${weixin_code}`).then((res) => {\n if (res.data.errno === 0) {\n let data = res.data.data\n\n function onBridgeReady() {\n WeixinJSBridge.invoke(\n 'getBrandWCPayRequest', {\n appId: data.appId, //公众号名称,由商户传入\n timeStamp: data.timeStamp, //时间戳,自1970年以来的秒数\n nonceStr: data.nonceStr, //随机串\n package: data.package,\n signType: data.signType, //微信签名方式:\n paySign: data.paySign //微信签名\n },\n\n function (res) {\n if (res.err_msg == \"get_brand_wcpay_request:ok\") {\n Toast.info('支付成功', 2)\n _this.intervalPayStatus = setInterval(function () {\n http.get(`${API['base-api']}/m/orderState/oid/${getParam('oid')}`).then(res => {\n if (res.data.errno === 401) {\n clearInterval(_this.intervalPayStatus)\n _this.intervalPayStatus = null\n location.href = '/ml?id=' + getParam('id')\n }\n })\n }, 1000)\n }\n }\n )\n }\n\n if (typeof WeixinJSBridge == \"undefined\") {\n if (document.addEventListener) {\n document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false)\n } else if (document.attachEvent) {\n document.attachEvent('WeixinJSBridgeReady', onBridgeReady)\n document.attachEvent('onWeixinJSBridgeReady', onBridgeReady)\n }\n } else {\n onBridgeReady()\n }\n }\n })\n }\n }\n }\n // 支付完成之后获取状态\n payCallback = () => {\n const _this = this\n // 支付回调\n // 定时器轮训获取订单状态\n _this.intervalPayStatus = setInterval(function () {\n http.get(`${API['base-api']}/m/orderState/oid/${getParam('oid')}`).then(res => {\n if (res.data.errno === 401) {\n clearInterval(_this.intervalPayStatus)\n _this.intervalPayStatus = null\n location.href = '/ml?id=' + getParam('id')\n }\n })\n }, 1000)\n }\n\n isWxloginFun = (val) => {\n this.setState({isWxlogin: val})\n }\n // 获取app登录数据\n loginInfo = (result) => {\n this.setState({\n userInfoList: result\n }, () => {\n if (this.state.userInfoList.length) {\n this.props.startFetchUser()\n this.appLogin()\n }\n })\n\n }\n\n // 保存cookie\n appLogin = () => {\n let expires = addDays(new Date(), 90)\n this.state.userInfoList.map((item, index) => {\n cookie.set(\"token\", item.token, {expires, path: '/', domain: '.julyedu.com'})\n cookie.set(\"plat\", item.plat, {expires, path: '/', domain: '.julyedu.com'})\n cookie.set(\"uid\", item.uid, {expires, path: '/', domain: '.julyedu.com'})\n cookie.set(\"uname\", item.uname, {expires, path: '/', domain: '.julyedu.com'})\n cookie.set(\"avatar_file\", item.avatar_file, {expires, path: '/', domain: '.julyedu.com'})\n })\n\n if (cookie.get(\"token\") && cookie.get(\"uid\")) {\n this.setState({\n isAppUpdate: true\n })\n this.fetchCourseInfo()\n }\n\n this.props.setCurrentUser(this.transformUser(this.state.userInfoList))\n }\n\n transformUser = res => {\n let payload\n\n res.map((item, index) => {\n payload = {\n hasError: false,\n data: {\n username: item.uname,\n avatar: item.avatar_file,\n token: item.token,\n uid: item.uid\n },\n isFetching: false\n }\n })\n\n return payload\n }\n\n\n fetchCourseInfo = () => {\n const id = getParam('id')\n http.get(`${API.home}/m/course/detail/${id}`).then((res) => {\n const {data, code} = res.data\n if (code === 200) {\n let version = getParam('version')\n if (version) {\n version = version.replace(/\\./g, '').slice(0, 3)\n if (browser.isAndroidApp && version < 453) { // 安卓的低版本\n this.setState({\n backwardVersion: true,\n isPay: 0,\n })\n } else if (browser.isIOSApp && version < 380) { // ISO的低版本\n this.setState({\n backwardVersion: true,\n isPay: 0,\n })\n } else { // 安卓/IOS 的高版本\n if (data.course_info.is_pay === 1) { // 在APP内未登录-去登陆-登录后还显示此页;如果是已购买的用户 就需要跳转到 APP已购买的原生页面\n SendMessageToApp('toSyllabusChapter', id) // 跳转到APP的已购买详情页 id 是课程ID\n return\n }\n this.setState({\n backwardVersion: false,\n isPay: data.course_info.is_pay\n })\n }\n } else {\n this.setState({\n backwardVersion: false,\n isPay: data.course_info.is_pay,\n buyTry: data.course_info.buy_try\n })\n }\n }\n })\n }\n\n render() {\n const {isPay, buyTry, isAppUpdate, backwardVersion, isWxlogin} = this.state\n // 旧版本 无论购买未购买 都跳转到 未购买的详情页; 如果是已购买就提示更新APP\n return (\n <div>\n\n {\n isPay === 0 && buyTry === 0 && (\n <PythonDes\n backwardVersion={backwardVersion}\n isWxloginFun={this.isWxloginFun.bind(this)}\n history={this.props.history}\n isAppUpdate={isAppUpdate}\n isPay={isPay}\n buyTry={buyTry}\n />\n )\n }\n {\n ((isPay === 1 || buyTry === 1) && !getParam('version')) && <PythonStudy isAppUpdate={isAppUpdate} buyTry={buyTry}/>\n }\n\n {\n isWxlogin &&\n <WxLogin history={this.props.history}/>\n }\n\n </div>\n )\n }\n}\n\nexport default ML\n","import React, {Component} from 'react'\nimport './index.scss'\nimport {getParam, http} from \"@/utils\"\nimport {Toast, Flex} from 'antd-mobile'\nimport {connect} from \"react-redux\"\nimport {withRouter} from 'react-router-dom'\nimport {compose} from \"redux\"\n\nclass ShareRank extends Component {\n constructor(props) {\n super(props)\n this.state = {\n list: [], // 分销排行榜\n rankingslice: [], // 分销排行榜前两名\n code: '', // 分销code\n shareRank: false\n }\n }\n\n componentDidMount() {\n this.getRankList()\n this.getCode()\n }\n\n // 获取排行榜\n getRankList = () => {\n http.get(`${API.home}/dist/rankList/${getParam('id')}`).then((res) => {\n if (res.data.code === 200) {\n this.setState({\n list: res.data.data,\n rankingslice: res.data.data.slice(0, 2)\n })\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n\n // 获取分销码\n getCode = () => {\n const {user} = this.props\n const uid = user && user.data && user.data.uid\n if (!uid) return\n let data = {\n course_id: getParam('id')\n }\n http.post(`${API.home}/dist/createCode`, data).then((res) => {\n if (res.data.code === 200) {\n this.setState({\n code: res.data.data.code\n })\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n\n // 点击分销跳转到海报页\n share = (info) => {\n const {user} = this.props\n const uid = user && user.data && user.data.uid\n if (!uid) {\n this.props.history.push('/passport/login')\n } else {\n const courseId = getParam('id')\n const dist_first = info.dist_first_level_ti\n const dist_code = this.state.code\n this.props.history.push(`/shareposter?courseId=${courseId}&dist_first=${dist_first}&uid=${uid}&dist_code=${dist_code}`)\n }\n }\n\n\n // 打开分销排行榜弹窗\n openRanking = () => {\n this.setState({\n shareRank: true\n })\n }\n\n // 关闭弹窗\n colse = () => {\n this.setState({\n shareRank: false\n })\n }\n\n render() {\n const { courseInfo: info = '' } = this.props;\n // let info = ''\n // if (this.props.courseInfo && this.props.courseInfo.courseInfo && this.props.courseInfo.courseInfo.course_info) {\n // info = this.props.courseInfo.courseInfo.course_info\n // }\n return (\n <div className='share-ranking'>\n <Flex className='share-container' justify='between'>\n <Flex className='share-list'>\n <span className=\"title\">排行榜:</span>\n <div className='ranking-box' onClick={this.openRanking}>\n {\n this.state.rankingslice && this.state.rankingslice.length > 0 && this.state.rankingslice.map((item, index) => {\n return (\n <span key={index} className=\"ranking-mess\">\n <img src={item.head_imgurl} alt=\"\"/>\n <i>{item.amount}元</i>\n </span>\n )\n })\n }\n\n\n </div>\n </Flex>\n <Flex className='share-money' justify='between' align='center'>\n <img onClick={this.openRanking} className=\"ranking-ellipsis\"\n src=\"https://julyedu-img.oss-cn-beijing.aliyuncs.com/Image/train/ellipsis.png\" alt=\"\"/>\n <button className=\"share\" onClick={this.share.bind(this, info)}>分享赚{info.dist_first_level_ti}元\n </button>\n </Flex>\n </Flex>\n\n\n {\n this.state.shareRank &&\n <div className=\"shareMbc\">\n <div className=\"content\">\n <div className=\"title-box\">\n <span className=\"lable\">赚钱排行榜</span>\n <span className=\"tips\">只展示前9名用户</span>\n </div>\n <ul>\n {\n this.state.list && this.state.list.length > 0 && this.state.list.map((item, index) => {\n return (\n <li key={index}>\n <img src={item.head_imgurl} alt=\"\"/>\n <span className='course-title'>{item.user_name}</span>\n <span className='course-price'>{item.amount}元</span>\n </li>\n )\n })\n }\n </ul>\n <div className='shareBtn'>\n <button onClick={this.share.bind(this, info)}>分享赚{info.dist_first_level_ti}元</button>\n </div>\n <i onClick={this.colse} className={'iconfont iconiconfront-2 close'}></i>\n </div>\n\n </div>\n }\n </div>\n );\n }\n}\n\nexport default compose(\n connect(\n state => ({\n // courseInfo: state,\n user: state.user\n }),\n null\n ),\n withRouter\n)(ShareRank)\n","'use strict';\n\nrequire('../../style/css');\n\nrequire('./index.css');","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = require('babel-runtime/helpers/createClass');\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = require('babel-runtime/helpers/inherits');\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _rcCollapse = require('rc-collapse');\n\nvar _rcCollapse2 = _interopRequireDefault(_rcCollapse);\n\nvar _react = require('react');\n\nvar React = _interopRequireWildcard(_react);\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj['default'] = obj;\n return newObj;\n }\n}\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n 'default': obj\n };\n}\n\nvar Accordion = function (_React$Component) {\n (0, _inherits3['default'])(Accordion, _React$Component);\n\n function Accordion() {\n (0, _classCallCheck3['default'])(this, Accordion);\n return (0, _possibleConstructorReturn3['default'])(this, (Accordion.__proto__ || Object.getPrototypeOf(Accordion)).apply(this, arguments));\n }\n\n (0, _createClass3['default'])(Accordion, [{\n key: 'render',\n value: function render() {\n return React.createElement(_rcCollapse2['default'], this.props);\n }\n }]);\n return Accordion;\n}(React.Component);\n\nexports['default'] = Accordion;\nAccordion.Panel = _rcCollapse.Panel;\nAccordion.defaultProps = {\n prefixCls: 'am-accordion'\n};\nmodule.exports = exports['default'];","var _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\n\nvar PanelContent = function (_Component) {\n _inherits(PanelContent, _Component);\n\n function PanelContent() {\n _classCallCheck(this, PanelContent);\n\n return _possibleConstructorReturn(this, (PanelContent.__proto__ || Object.getPrototypeOf(PanelContent)).apply(this, arguments));\n }\n\n _createClass(PanelContent, [{\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate(nextProps) {\n return this.props.forceRender || this.props.isActive || nextProps.isActive;\n }\n }, {\n key: 'render',\n value: function render() {\n var _classnames;\n\n this._isActived = this.props.forceRender || this._isActived || this.props.isActive;\n\n if (!this._isActived) {\n return null;\n }\n\n var _props = this.props,\n prefixCls = _props.prefixCls,\n isActive = _props.isActive,\n children = _props.children,\n destroyInactivePanel = _props.destroyInactivePanel,\n forceRender = _props.forceRender,\n role = _props.role;\n var contentCls = classnames((_classnames = {}, _defineProperty(_classnames, prefixCls + '-content', true), _defineProperty(_classnames, prefixCls + '-content-active', isActive), _defineProperty(_classnames, prefixCls + '-content-inactive', !isActive), _classnames));\n var child = !forceRender && !isActive && destroyInactivePanel ? null : React.createElement('div', {\n className: prefixCls + '-content-box'\n }, children);\n return React.createElement('div', {\n className: contentCls,\n role: role\n }, child);\n }\n }]);\n\n return PanelContent;\n}(Component);\n\nPanelContent.propTypes = {\n prefixCls: PropTypes.string,\n isActive: PropTypes.bool,\n children: PropTypes.any,\n destroyInactivePanel: PropTypes.bool,\n forceRender: PropTypes.bool,\n role: PropTypes.string\n};\nexport default PanelContent;","var _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport PanelContent from './PanelContent';\nimport Animate from 'rc-animate';\n\nvar CollapsePanel = function (_Component) {\n _inherits(CollapsePanel, _Component);\n\n function CollapsePanel() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, CollapsePanel);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = CollapsePanel.__proto__ || Object.getPrototypeOf(CollapsePanel)).call.apply(_ref, [this].concat(args))), _this), _this.handleItemClick = function () {\n if (_this.props.onItemClick) {\n _this.props.onItemClick();\n }\n }, _this.handleKeyPress = function (e) {\n if (e.key === 'Enter' || e.keyCode === 13 || e.which === 13) {\n _this.handleItemClick();\n }\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(CollapsePanel, [{\n key: 'render',\n value: function render() {\n var _classNames2;\n\n var _props = this.props,\n className = _props.className,\n id = _props.id,\n style = _props.style,\n prefixCls = _props.prefixCls,\n header = _props.header,\n headerClass = _props.headerClass,\n children = _props.children,\n isActive = _props.isActive,\n showArrow = _props.showArrow,\n destroyInactivePanel = _props.destroyInactivePanel,\n disabled = _props.disabled,\n accordion = _props.accordion,\n forceRender = _props.forceRender;\n var headerCls = classNames(prefixCls + '-header', _defineProperty({}, headerClass, headerClass));\n var itemCls = classNames((_classNames2 = {}, _defineProperty(_classNames2, prefixCls + '-item', true), _defineProperty(_classNames2, prefixCls + '-item-active', isActive), _defineProperty(_classNames2, prefixCls + '-item-disabled', disabled), _classNames2), className);\n return React.createElement('div', {\n className: itemCls,\n style: style,\n id: id\n }, React.createElement('div', {\n className: headerCls,\n onClick: this.handleItemClick,\n role: accordion ? 'tab' : 'button',\n tabIndex: disabled ? -1 : 0,\n 'aria-expanded': '' + isActive,\n onKeyPress: this.handleKeyPress\n }, showArrow && React.createElement('i', {\n className: 'arrow'\n }), header), React.createElement(Animate, {\n showProp: 'isActive',\n exclusive: true,\n component: '',\n animation: this.props.openAnimation\n }, React.createElement(PanelContent, {\n prefixCls: prefixCls,\n isActive: isActive,\n destroyInactivePanel: destroyInactivePanel,\n forceRender: forceRender,\n role: accordion ? 'tabpanel' : null\n }, children)));\n }\n }]);\n\n return CollapsePanel;\n}(Component);\n\nCollapsePanel.propTypes = {\n className: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n id: PropTypes.string,\n children: PropTypes.any,\n openAnimation: PropTypes.object,\n prefixCls: PropTypes.string,\n header: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.node]),\n headerClass: PropTypes.string,\n showArrow: PropTypes.bool,\n isActive: PropTypes.bool,\n onItemClick: PropTypes.func,\n style: PropTypes.object,\n destroyInactivePanel: PropTypes.bool,\n disabled: PropTypes.bool,\n accordion: PropTypes.bool,\n forceRender: PropTypes.bool\n};\nCollapsePanel.defaultProps = {\n showArrow: true,\n isActive: false,\n destroyInactivePanel: false,\n onItemClick: function onItemClick() {},\n headerClass: '',\n forceRender: false\n};\nexport default CollapsePanel;","import cssAnimation from 'css-animation';\n\nfunction animate(node, show, transitionName, done) {\n var height = void 0;\n return cssAnimation(node, transitionName, {\n start: function start() {\n if (!show) {\n node.style.height = node.offsetHeight + 'px';\n } else {\n height = node.offsetHeight;\n node.style.height = 0;\n }\n },\n active: function active() {\n node.style.height = (show ? height : 0) + 'px';\n },\n end: function end() {\n node.style.height = '';\n done();\n }\n });\n}\n\nfunction animation(prefixCls) {\n return {\n enter: function enter(node, done) {\n return animate(node, true, prefixCls + '-anim', done);\n },\n leave: function leave(node, done) {\n return animate(node, false, prefixCls + '-anim', done);\n }\n };\n}\n\nexport default animation;","var _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _toConsumableArray(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n } else {\n return Array.from(arr);\n }\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nimport React, { Component, Children } from 'react';\nimport PropTypes from 'prop-types';\nimport CollapsePanel from './Panel';\nimport openAnimationFactory from './openAnimationFactory';\nimport classNames from 'classnames';\n\nfunction toArray(activeKey) {\n var currentActiveKey = activeKey;\n\n if (!Array.isArray(currentActiveKey)) {\n currentActiveKey = currentActiveKey ? [currentActiveKey] : [];\n }\n\n return currentActiveKey;\n}\n\nvar Collapse = function (_Component) {\n _inherits(Collapse, _Component);\n\n function Collapse(props) {\n _classCallCheck(this, Collapse);\n\n var _this = _possibleConstructorReturn(this, (Collapse.__proto__ || Object.getPrototypeOf(Collapse)).call(this, props));\n\n var _this$props = _this.props,\n activeKey = _this$props.activeKey,\n defaultActiveKey = _this$props.defaultActiveKey;\n var currentActiveKey = defaultActiveKey;\n\n if ('activeKey' in _this.props) {\n currentActiveKey = activeKey;\n }\n\n _this.state = {\n openAnimation: _this.props.openAnimation || openAnimationFactory(_this.props.prefixCls),\n activeKey: toArray(currentActiveKey)\n };\n return _this;\n }\n\n _createClass(Collapse, [{\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n if ('activeKey' in nextProps) {\n this.setState({\n activeKey: toArray(nextProps.activeKey)\n });\n }\n\n if ('openAnimation' in nextProps) {\n this.setState({\n openAnimation: nextProps.openAnimation\n });\n }\n }\n }, {\n key: 'onClickItem',\n value: function onClickItem(key) {\n var activeKey = this.state.activeKey;\n\n if (this.props.accordion) {\n activeKey = activeKey[0] === key ? [] : [key];\n } else {\n activeKey = [].concat(_toConsumableArray(activeKey));\n var index = activeKey.indexOf(key);\n var isActive = index > -1;\n\n if (isActive) {\n // remove active state\n activeKey.splice(index, 1);\n } else {\n activeKey.push(key);\n }\n }\n\n this.setActiveKey(activeKey);\n }\n }, {\n key: 'getItems',\n value: function getItems() {\n var _this2 = this;\n\n var activeKey = this.state.activeKey;\n var _props = this.props,\n prefixCls = _props.prefixCls,\n accordion = _props.accordion,\n destroyInactivePanel = _props.destroyInactivePanel;\n var newChildren = [];\n Children.forEach(this.props.children, function (child, index) {\n if (!child) return; // If there is no key provide, use the panel order as default key\n\n var key = child.key || String(index);\n var _child$props = child.props,\n header = _child$props.header,\n headerClass = _child$props.headerClass,\n disabled = _child$props.disabled;\n var isActive = false;\n\n if (accordion) {\n isActive = activeKey[0] === key;\n } else {\n isActive = activeKey.indexOf(key) > -1;\n }\n\n var props = {\n key: key,\n header: header,\n headerClass: headerClass,\n isActive: isActive,\n prefixCls: prefixCls,\n destroyInactivePanel: destroyInactivePanel,\n openAnimation: _this2.state.openAnimation,\n accordion: accordion,\n children: child.props.children,\n onItemClick: disabled ? null : function () {\n return _this2.onClickItem(key);\n }\n };\n newChildren.push(React.cloneElement(child, props));\n });\n return newChildren;\n }\n }, {\n key: 'setActiveKey',\n value: function setActiveKey(activeKey) {\n if (!('activeKey' in this.props)) {\n this.setState({\n activeKey: activeKey\n });\n }\n\n this.props.onChange(this.props.accordion ? activeKey[0] : activeKey);\n }\n }, {\n key: 'render',\n value: function render() {\n var _classNames;\n\n var _props2 = this.props,\n prefixCls = _props2.prefixCls,\n className = _props2.className,\n style = _props2.style,\n accordion = _props2.accordion;\n var collapseClassName = classNames((_classNames = {}, _defineProperty(_classNames, prefixCls, true), _defineProperty(_classNames, className, !!className), _classNames));\n return React.createElement('div', {\n className: collapseClassName,\n style: style,\n role: accordion ? 'tablist' : null\n }, this.getItems());\n }\n }]);\n\n return Collapse;\n}(Component);\n\nCollapse.propTypes = {\n children: PropTypes.any,\n prefixCls: PropTypes.string,\n activeKey: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.string)]),\n defaultActiveKey: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.string)]),\n openAnimation: PropTypes.object,\n onChange: PropTypes.func,\n accordion: PropTypes.bool,\n className: PropTypes.string,\n style: PropTypes.object,\n destroyInactivePanel: PropTypes.bool\n};\nCollapse.defaultProps = {\n prefixCls: 'rc-collapse',\n onChange: function onChange() {},\n accordion: false,\n destroyInactivePanel: false\n};\nCollapse.Panel = CollapsePanel;\nexport default Collapse;","import Collapse from './Collapse';\nexport default Collapse;\nexport var Panel = Collapse.Panel;"],"sourceRoot":""}