Commit 7f7f8563 by FE

checkout

parent 22c4c062
{"version":3,"sources":["components/blessingPreheat/courseItem/index.js","components/activity/newyear-2019/common/commonContainer/index.js","components/activity/newyear-2019/common/commonPopup/index.js","components/activity/newyear-2019/common/prizes/index.js","components/activity/newyear-2019/common/user-bullet-screen/index.js","components/activity/newyear-2019/preheat/YearCourse/index.js"],"names":["CourseItem","_this$props","this","props","image","toCourse","id","react__WEBPACK_IMPORTED_MODULE_5___default","a","createElement","className","src","alt","onClick","children","Component","CommonContainer","Object","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__","call","title","React","Children","map","child","Fragment","index","_this","computedStyle","top","concat","width","closePopup","mark","style","e","stopPropagation","SystemBulletScreen","Loadable","__webpack_require__","then","bind","Prizes","closeIcon","state","prizes","notices","rule","unfoldList","getPrizes","http","get","API","home","res","_res$data","data","code","msg","setState","antd_mobile_lib_toast__WEBPACK_IMPORTED_MODULE_1___default","info","showRules","Popup","content","react__WEBPACK_IMPORTED_MODULE_7___default","dangerouslySetInnerHTML","__html","showMore","prev","bg","innerBox","prizeBox","headHeight","parseFloat","getComputedStyle","getPropertyValue","footerHeight","h","prizeList","scrollHeight","scrollListHeight","height","_this2","showSystemNotices","length","bullets","ref","el","href","item","key","img_name","backgroundImage","is_captain","mode","stage_no","grant_max","UserBulletScreen","bulletScreenData","initializeBulletScreen","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__","indexArray","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__","Array","slidesPerRequest","keys","removed","swiper","Swiper","direction","allowTouchMove","autoplay","on","transitionEnd","_this3","slides","removeSlide","start","activeIndex","stop","getBulletScreenData","appendSlide","getSlides","setTimeout","list","avatar_file","user_name","initializeSwiper","arguments","undefined","destroy","YearCourse","connect","user","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_3__","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__","getLength","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__","sum","fetchBigCourse","bigcourse","_res$data2","assign","isMore","course","filter","courseList","fetchFreeCourse","freecourse","_res$data3","errno","course_info","fetchGroupCourse","groupcourse","_res$data4","fetchAICourse","addshowMore","_res$data5","getList","_this2$state","basic","advanced","higher","expand","toQQque","getParam","SendMessageToApp","location","courseId","history","push","handleToMore","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__","toLogin","freeStudy","tofreeStudy","closePopupWish","isshowFollow","toJoinList","wish","getQRcodeUrl","uid","_res$data6","qrUrl","url","QRCode","toDataURL","err","followBarcode","addWishList","isLogin","hasError","isFollow","_res$data7","is_follow","post","course_id","_res$data8","success","saveImage","version","replace","slice","QRCodeUrl","parseInt","getTeamInfo","_res$data9","removable_data","removable","currentId","toBoxList","search","toYearWish","nextProps","nextState","nextContext","isAppUpdate","_this$state","react__WEBPACK_IMPORTED_MODULE_9___default","_common_commonContainer_index__WEBPACK_IMPORTED_MODULE_12__","_blessingPreheat_courseItem_index__WEBPACK_IMPORTED_MODULE_13__","image_name","is_buy","act_num","course_title","price1","is_join","type","price2","_common_commonPopup_index__WEBPACK_IMPORTED_MODULE_15__","browser","isAndroidApp","withRouter"],"mappings":"oQAGMA,2LACK,IAAAC,EACsBC,KAAKC,MAA1BC,EADDH,EACCG,MAAMC,EADPJ,EACOI,SAASC,EADhBL,EACgBK,GACvB,OACEC,EAAAC,EAAAC,cAAA,OAAKC,UAAU,oBACbH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,iBACbH,EAAAC,EAAAC,cAAA,OAAKE,IAAKP,EAAOQ,IAAI,QAAQC,QAAS,kBAAMR,EAASC,OAEtDJ,KAAKC,MAAMW,iBARKC,cAcVf,+HCdMgB,uBACnB,SAAAA,EAAYb,GAAQ,OAAAc,OAAAC,EAAA,EAAAD,CAAAf,KAAAc,GAAAC,OAAAE,EAAA,EAAAF,CAAAf,KAAAe,OAAAG,EAAA,EAAAH,CAAAD,GAAAK,KAAAnB,KACZC,0EAEC,IACCG,EAAOJ,KAAKC,MAAZG,GACR,OACEC,EAAAC,EAAAC,cAAA,OAAKC,UAAU,mBAAmBJ,GAAIA,GACpCC,EAAAC,EAAAC,cAAA,OAAKC,UAAU,kBACfH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,qBAEPR,KAAKC,MAAMmB,OACXf,EAAAC,EAAAC,cAAA,OAAKC,UAAU,mBACXH,EAAAC,EAAAC,cAAA,UACAF,EAAAC,EAAAC,cAAA,SAAIP,KAAKC,MAAMmB,OACff,EAAAC,EAAAC,cAAA,WAIRc,IAAMC,SAASC,IAAIvB,KAAKC,MAAMW,SAAU,SAAUY,GAChD,OAAOnB,EAAAC,EAAAC,cAAAF,EAAAC,EAAAmB,SAAA,KAAGD,MAIhBnB,EAAAC,EAAAC,cAAA,OAAKC,UAAU,6BAxBsBK,6JCA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EAAAC,cAAA,KAAGC,UAAU,YAAb,gHACAoN,EAAAtN,EAAAC,cAAA,OAAKC,UAAU,eAAeJ,GAAI,eAC7BK,IAAKT,KAAK4C,MAAMkJ,cAAepL,IAAI,KAEpC8N,IAAQC,aACJb,EAAAtN,EAAAC,cAAA,UAAQC,UAAW,aAAcG,QAASX,KAAKyM,WAA/C,kCACAmB,EAAAtN,EAAAC,cAAA,KAAGC,UAAU,YAAb,sHAh+BXK,iBA0+BV6N,gBAAWtG","file":"mrstatic/js/2.1dd4d567.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport './index.scss';\n\nclass CourseItem extends Component {\n render() {\n const { image,toCourse,id} = this.props;\n return (\n <div className=\"course-container\">\n <div className=\"course__cover\">\n <img src={image} alt=\"cover\" onClick={() => toCourse(id)}/>\n </div>\n {this.props.children}\n </div>\n );\n }\n}\n\nexport default CourseItem;","import React, { Component } from 'react'\nimport './index.scss'\n\nexport default class CommonContainer extends Component {\n constructor(props) {\n super(props)\n }\n render() {\n const { id } = this.props;\n return (\n <div className='common_container' id={id}>\n <div className='container_top'></div>\n <div className='container_content'>\n {\n this.props.title &&\n <div className='title_container'>\n <i></i>\n <p>{this.props.title}</p>\n <i></i>\n </div>\n }\n {\n React.Children.map(this.props.children, function (child) {\n return <>{child}</>;\n })\n }\n </div>\n <div className='container_bottom'></div>\n </div>\n )\n }\n}\n","import React, { Component } from 'react';\nimport './index.scss';\n\nexport default class index extends Component {\n constructor(props) {\n super(props);\n }\n computedStyle = () => {\n return {\n 'top': `${this.props.top}px`,\n 'width': `${this.props.width}px`\n }\n }\n\n // 控制点击空白处是否关闭弹窗 需要传递一个boolean属性 mark\n closePopup = () => {\n if(this.props.mark) {\n this.props.closePopup();\n }\n }\n\n render() {\n return (\n <div className='popup__container' onClick={this.closePopup}>\n <div className='content__container' style={this.computedStyle()} onClick={(e) => {e.stopPropagation()}}>\n <img className=\"close__btn\" onClick={this.props.closePopup} src='https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png' alt=\"\" />\n {\n React.Children.map(this.props.children, function (child) {\n return <>{child}</>;\n })\n }\n </div>\n </div>\n )\n }\n}\n","import React, { Component } from 'react'\nimport { http } from \"@/utils\"\nimport './prizes.scss'\nimport { Popup } from \"@common/index\"\nimport { Toast } from \"antd-mobile\"\n\n\nimport Loadable from '@loadable/component'\n\nconst SystemBulletScreen = Loadable(() => import(/* webpackChunkName: 'system-notices' */'@components/activity/newyear-2019/common/system-bullet-screen'))\n\nclass Prizes extends Component {\n\n prizeBox\n prizeList\n bg\n innerBox\n closeIcon = 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png'\n\n state = {\n prizes: [],\n notices: [],\n rule: [],\n unfoldList: false,\n }\n\n componentDidMount() {\n this.getPrizes()\n }\n\n getPrizes = () => {\n http.get(`${API.home}/sys/prize_data`)\n .then(res => {\n const {code, data, msg} = res.data\n if (code == 200) {\n\n this.setState({\n prizes: data['prize_data'],\n notices: data['notices'],\n rule: data['rule']\n })\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n\n showRules = () => {\n Popup({\n title: '组队开宝箱活动规则',\n className: 'landing-treasure-rules',\n content: <div dangerouslySetInnerHTML={{__html: this.state.rule}}/>,\n closeIcon: this.closeIcon\n })\n }\n\n\n showMore = () => {\n this.setState(prev => {\n if (this.state.unfoldList) {\n this.bg.style = this.innerBox.style = this.prizeBox.style = ''\n } else {\n let headHeight = parseFloat(getComputedStyle(this.prizeBox, ':before').getPropertyValue('height')),\n footerHeight = parseFloat(getComputedStyle(this.prizeBox, ':after').getPropertyValue('height')),\n innerOffsetTop = 0.12458,\n footerOffsetTop = 0.595,\n h = this.prizeList.scrollHeight,\n scrollListHeight = headHeight + h - (innerOffsetTop * headHeight) - (footerOffsetTop * footerHeight) + footerHeight,\n bottomOffset = 27\n\n this.prizeBox.style.height = `${scrollListHeight + bottomOffset}px`\n this.innerBox.style.height = `${h}px`\n this.bg.style.height = `${h - footerHeight + innerOffsetTop * headHeight + bottomOffset}px`\n }\n return {unfoldList: !prev.unfoldList}\n })\n\n }\n\n render() {\n const {\n showSystemNotices\n } = this.props\n const {notices} = this.state\n return (\n <>\n {(showSystemNotices && notices && notices.length) ? <SystemBulletScreen bullets={notices}/> : null}\n <div className={'prizes-box'} ref={el => this.prizeBox = el}>\n <a href=\"javascript:;\" className='rule-btn' onClick={this.showRules}>活动规则 > </a>\n <div className={`bg`} ref={el => this.bg = el}/>\n <div className={`inner-box`} ref={el => this.innerBox = el}>\n <ul className='prize-list' ref={el => this.prizeList = el}>\n {\n this.state.prizes.map((item, index) => {\n return (\n <li key={index}>\n {\n item.img_name\n ? <i className=\"prize-list__image\" style={{\n backgroundImage: `url(${item.img_name})`\n }}/>\n : <i className=\"prize-list__image\"/>\n }\n {/* <img src={item.img_name} alt=\"\"/> */}\n {\n item.is_captain != 0 && <span className='captain top-tag'>队长专属</span>\n }\n {\n item.mode === 2 && <span className='stage top-tag'>第{item.stage_no}次必中</span>\n }\n {\n item.grant_max\n ?\n <div className='bottom-bar'>\n <div className=\"progress-bar\"><span className={'progress'}/></div>\n <span>限量{item.grant_max}份</span>\n </div>\n : <span className='no-limit'>不限量</span>\n }\n </li>\n )\n })\n }\n <li>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/prize-placeholder.png\" alt=\"\"/>\n </li>\n </ul>\n </div>\n <div className=\"show-more\" onClick={this.showMore}>\n {\n this.state.unfoldList\n ? <div>\n 收起\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/fold-icon.png\" alt=\"\"/>\n </div>\n : <div>\n 查看全部奖品\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/unfold-icon.png\" alt=\"\"/>\n </div>\n }\n </div>\n </div>\n </>\n )\n }\n}\n\nexport default Prizes\n","import React, { Component } from 'react'\nimport { http } from \"@/utils\"\nimport Swiper from 'swiper'\nimport 'swiper/dist/css/swiper.min.css'\nimport './bullet-screen.scss'\n\nclass UserBulletScreen extends Component {\n\n swiper\n\n state = {\n bulletScreenData: []\n }\n\n componentDidMount() {\n this.getBulletScreenData(true)\n }\n\n componentWillUnmount() {\n this.swiper && this.swiper.destroy()\n }\n\n\n initializeBulletScreen = () => {\n const _this = this\n const slidesPerRequest = 20\n const indexArray = [...Array(slidesPerRequest - 1).keys()]\n let removed = false\n this.swiper = new Swiper('.swiper-container', {\n direction: 'vertical',\n allowTouchMove: false,\n autoplay: true,\n on: {\n transitionEnd() {\n if (this.slides.length > slidesPerRequest) {\n this.removeSlide(0)\n this.autoplay.start()\n }\n if (this.activeIndex === this.slides.length - 1 && !removed) {\n this.autoplay.stop()\n _this.getBulletScreenData().then(res => {\n removed = true\n this.removeSlide(indexArray)\n this.appendSlide(_this.getSlides(res))\n setTimeout(() => {\n this.autoplay.start()\n removed = false\n })\n })\n }\n }\n }\n })\n }\n\n getSlides = list => list.map(item => {\n return `\n <li class=\"swiper-slide\">\n <img class=\"avatar\" src=\"${item.avatar_file}\" alt=\"\">\n <span>${item.user_name} ${item.msg}</span>\n </li>\n `\n })\n\n getBulletScreenData = (initializeSwiper = false) => {\n return http.get(`${API.home}/sys/barrage_data`)\n .then(res => {\n const {data, code} = res.data\n if (code == 200) {\n if (initializeSwiper) {\n this.setState({\n bulletScreenData: data\n }, () => {\n this.initializeBulletScreen()\n })\n } else {\n return data\n }\n }\n })\n }\n\n\n render() {\n const {bulletScreenData} = this.state\n return (\n <div id=\"user-bullet-screen\" className='swiper-container'>\n <ul className='swiper-wrapper'>\n {\n bulletScreenData.length && bulletScreenData.map((item, index) => {\n return (\n <li className='swiper-slide' key={index}>\n <img src={item['avatar_file']}\n alt=\"\" className=\"avatar\"/>\n <span>{item.user_name} {item.msg}</span>\n </li>\n )\n })\n }\n </ul>\n </div>\n )\n }\n}\n\nexport default UserBulletScreen\n","import React, {Component} from 'react'\nimport './index.scss'\nimport {http, SendMessageToApp, getParam, browser} from '@/utils'\nimport CommonContainer from './../../common/commonContainer/index'\nimport CourseItem from '../../../../blessingPreheat/courseItem/index'\nimport {withRouter} from \"react-router-dom\"\nimport CommonPopup from './../../common/commonPopup/index'\nimport {Toast} from 'antd-mobile'\nimport QRCode from 'qrcode'\nimport {connect} from \"react-redux\"\n\n@connect(state => ({\n user: state.user\n}))\n\nclass YearCourse extends Component {\n constructor(props) {\n super(props)\n this.state = {\n tofreeStudy: false,\n basic: {\n course: [],\n courseList: [],\n isMore: false,\n addshowMore: false,\n },\n advanced: {\n course: [],\n courseList: [],\n isMore: false,\n addshowMore: false,\n },\n higher: {\n course: [],\n courseList: [],\n isMore: false,\n addshowMore: false,\n },\n expand: {\n course: [],\n courseList: [],\n isMore: false,\n addshowMore: false,\n },\n bigcourse: {\n course: [],\n courseList: [],\n isMore: false,\n },\n freecourse: {\n course: [],\n courseList: [],\n isMore: false,\n },\n groupcourse: {\n course: [],\n courseList: [],\n isMore: false,\n },\n isshowFollow: false, // 是否提示关注公众号\n wish: {\n id: '',\n key: \"\"\n },\n followBarcode: '',\n qrUrl:'',\n sum:'',\n removable:'',\n currentId:''\n }\n }\n\n componentDidMount() {\n this.getTeamInfo()\n this.getLength()\n this.fetchBigCourse()\n this.fetchFreeCourse()\n this.fetchGroupCourse()\n // AI之路-基础\n this.fetchAICourse('one', false)\n // AI之路-进阶\n this.fetchAICourse('two', false)\n // AI之路-高阶\n this.fetchAICourse('three', false)\n // AI之路-拓展\n this.fetchAICourse('four', false)\n }\n\n shouldComponentUpdate(nextProps, nextState, nextContext) {\n if (this.props.isAppUpdate !== nextProps.isAppUpdate) {\n this.getTeamInfo()\n this.getLength()\n this.fetchBigCourse()\n this.fetchFreeCourse()\n this.fetchGroupCourse()\n // AI之路-基础\n this.fetchAICourse('one')\n // AI之路-进阶\n this.fetchAICourse('two')\n // AI之路-高阶\n this.fetchAICourse('three')\n // AI之路-拓展\n this.fetchAICourse('four')\n return false\n }\n return true\n }\n\n getLength = () => {\n let _this = this\n http.get(`${API.home}/activity/wish_sum`).then(res => {\n const {code, data} = res.data\n if (code == 200) {\n _this.setState({\n sum: data.sum\n })\n }\n })\n }\n\n fetchBigCourse = () => {\n const {bigcourse} = this.state\n http.get(`${API.home}/activity/preheat_data`).then(res => {\n const {code, data} = res.data\n if (code === 200) {\n this.setState({\n bigcourse: Object.assign({}, bigcourse, {\n isMore: data.length > 4 ? true : false,\n course: data.length > 4 ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n })\n })\n }\n })\n }\n fetchFreeCourse = () => {\n const {freecourse} = this.state\n http.get(`${API['base-api']}/assistance/detail`).then(res => {\n const {errno, data} = res.data\n if (errno === 200) {\n this.setState({\n freecourse: Object.assign({}, freecourse, {\n isMore: data.course_info.length > 4 ? true : false,\n course: data.course_info.length > 4 ? data.course_info.filter((item, index) => index < 4) : data.course_info,\n courseList: data.course_info,\n })\n })\n }\n })\n }\n fetchGroupCourse = () => {\n const {groupcourse} = this.state\n http.get(`${API.home}/activity/excellent_course`).then(res => {\n const {code, data} = res.data\n if (code === 200) {\n this.setState({\n groupcourse: Object.assign({}, groupcourse, {\n isMore: data.length > 4 ? true : false,\n course: data.length > 4 ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n })\n })\n }\n })\n }\n\n fetchAICourse = (key, addshowMore) => {\n http.get(`${API.home}/activity/four_stage/${key}`).then(res => {\n const {code, data} = res.data\n if (code === 200) {\n this.getList(key, data, addshowMore)\n }\n })\n }\n\n getList = (key, data, addshowMore) => {\n const {basic, advanced, higher, expand} = this.state\n if (key === 'one') {\n this.setState({\n basic: Object.assign({}, basic, {\n isMore: data.length > 4 && !addshowMore ? true : false,\n course: data.length > 4 && !addshowMore ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n addshowMore: addshowMore,\n })\n })\n }\n if (key === 'two') {\n this.setState({\n advanced: Object.assign({}, advanced, {\n isMore: data.length > 4 && !addshowMore ? true : false,\n course: data.length > 4 && !addshowMore ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n addshowMore: addshowMore,\n })\n })\n }\n if (key === 'three') {\n this.setState({\n higher: Object.assign({}, higher, {\n isMore: data.length > 4 && !addshowMore ? true : false,\n course: data.length > 4 && !addshowMore ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n addshowMore: addshowMore,\n })\n })\n }\n if (key === 'four') {\n this.setState({\n expand: Object.assign({}, expand, {\n isMore: data.length > 4 && !addshowMore ? true : false,\n course: data.length > 4 && !addshowMore ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n addshowMore: addshowMore,\n })\n })\n }\n }\n\n toQQque = () => {\n if (!getParam('version')) {\n location.href = 'https://q.url.cn/AB8aue?_type=wpa&qidian=true'\n } else {\n SendMessageToApp(\"toQQ\", 'https://q.url.cn/AB8aue?_type=wpa&qidian=true')\n }\n }\n\n // 去课程详情页\n toCourse = (courseId) => {\n const {history} = this.props\n if (!getParam('version')) {\n history.push(`/detail?id=${courseId}`)\n } else {\n SendMessageToApp(\"toCourse\", courseId)\n }\n }\n handleToMore = (key) => {\n let data = {}\n if (this.state[key]['isMore']) {\n data[key] = {\n isMore: !this.state[key]['isMore'],\n course: this.state[key]['courseList'],\n courseList: this.state[key]['courseList'],\n addshowMore: !this.state[key]['addshowMore']\n }\n this.setState({\n ...data\n })\n } else {\n data[key] = {\n isMore: !this.state[key]['isMore'],\n course: this.state[key]['courseList'].filter((item, index) => index < 4),\n courseList: this.state[key]['courseList'],\n addshowMore: !this.state[key]['addshowMore']\n }\n\n this.setState({\n ...data\n })\n }\n }\n\n // 去登录\n toLogin = () => {\n if (!getParam('version')) {\n this.props.history.push('/passport/login')\n } else {\n SendMessageToApp(\"toLogin\")\n }\n }\n\n // 免费学习\n freeStudy = () => {\n this.setState({\n tofreeStudy: true,\n })\n }\n // 关闭弹框\n closePopup = () => {\n this.setState({\n tofreeStudy: false,\n })\n }\n\n closePopupWish = () => {\n const _this = this\n _this.setState({\n isshowFollow: false\n })\n\n setTimeout(function () {\n _this.toJoinList(_this.state.wish.id, _this.state.wish.key)\n }, 200)\n }\n\n getQRcodeUrl = () => {\n let _this = this\n http.get(`${API['base-api']}/wx/user_temporary_qrcode/${_this.props.user.data.uid}`)\n .then(res => {\n const {errno, data, msg} = res.data\n if (errno == 0) {\n this.setState({\n qrUrl:data.url\n })\n QRCode.toDataURL(data.url, (err, url) => {\n this.setState({\n followBarcode: url,\n })\n })\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n\n // 点击加入心愿单登录验证,在判断是否关注公众号,已关注的话直接加入,未关注弹出二维码弹窗,点击关闭按钮加入心愿单\n addWishList = (id, key) => {\n const _this = this\n const isLogin = !this.props.user.hasError\n _this.setState({\n wish: {\n id: id,\n key: key\n }\n })\n\n if (isLogin) {\n _this.isFollow(id, key)\n } else {\n _this.toLogin()\n }\n }\n\n isFollow = (id, key) => {\n const _this = this\n http.get(`${API.home}/sys/user/isFollowWeChat`).then(res => {\n const {code, data, msg} = res.data\n if (code === 200) {\n _this.setState({\n isshowFollow: !data.is_follow\n })\n\n if (!_this.state.isshowFollow) {\n _this.toJoinList(id, key)\n } else {\n _this.getQRcodeUrl()\n }\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n\n toJoinList = (id, key) => {\n const _this = this\n http.post(`${API.home}/activity/join_list`, {course_id: id})\n .then(res => {\n const {code, msg} = res.data\n if (code == 200) {\n Toast.success('已成功加入心愿单', 3)\n _this.getLength()\n if (key === '1') {\n _this.fetchAICourse('one', _this.state.basic.addshowMore)\n }\n if (key === '2') {\n _this.fetchAICourse('two', _this.state.advanced.addshowMore)\n }\n if (key === '3') {\n _this.fetchAICourse('three', _this.state.higher.addshowMore)\n }\n if (key === '4') {\n _this.fetchAICourse('four', _this.state.expand.addshowMore)\n }\n if (key === 'group') {\n _this.fetchGroupCourse()\n }\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n\n // 安卓手机保存二维码\n saveImage = () => {\n let version = getParam('version')\n version = typeof version === 'string' ? version.replace('.', '').replace('.', '').slice(0, 3) : ''\n const QRCodeUrl = this.state.qrUrl\n if (version && parseInt(version) < 451) {\n Toast.info('当前不支持此功能,升级到最新版本app可以点击保存二维码!', 3, null, false)\n } else {\n SendMessageToApp('generateQRCode', QRCodeUrl)\n }\n }\n\n // 获取队伍信息\n getTeamInfo = () => {\n http.get(`${API.home}/sys/treasure/teamInfo`).then(res => {\n const {code, data, msg} = res.data\n if (code === 200) {\n const {info, removable_data} = data\n this.setState({\n removable: info.removable,\n currentId: info.removable > 0 ? removable_data[0].id : null\n })\n } else {\n Toast.info(msg)\n }\n })\n }\n\n // 跳转到我的宝箱列表页\n toBoxList = () => {\n const isLogin = !this.props.user.hasError\n const {currentId} = this.state\n let search = ''\n if (currentId) {\n search = `?id=${currentId}`\n }\n if (isLogin) {\n if (!getParam('version')) {\n this.props.history.push(`/year/yearTreasure${search}`)\n } else {\n this.props.history.push(`/year/yearTreasure${search}?version=${getParam('version')}`)\n }\n } else {\n this.toLogin()\n }\n }\n\n toYearWish = () => {\n const isLogin = !this.props.user.hasError\n if (isLogin) {\n if (!getParam('version')) {\n this.props.history.push('/year/yearWish')\n } else {\n this.props.history.push(`/year/yearWish?version=${getParam('version')}`)\n }\n\n } else {\n this.toLogin()\n }\n\n }\n\n render() {\n const {bigcourse, freecourse, groupcourse, basic, advanced, higher, expand,removable,sum} = this.state\n\n return (\n <div className={'year-index-course'}>\n {/*浮框*/}\n <div className='nav-right'>\n <span onClick={this.toBoxList} className='nav-right__link'>\n 未开宝箱\n {\n removable > 0 &&\n <i className=\"nav-right__number\">{removable}</i>\n }\n </span>\n <a onClick={() => this.toYearWish()} className='nav-right__link'>\n 心愿单\n {\n sum > 0 &&\n <i className=\"nav-right__number\">{sum}</i>\n }\n </a>\n </div>\n\n <CommonContainer title='重磅好课' id='year-course'>\n <div>\n {\n (bigcourse.course && bigcourse.course.length > 0) &&\n <>\n <div className='bigcourse course-box'>\n {\n bigcourse.course.map(item => (\n <CourseItem image={item.image_name} key={item.course_id} id={item.course_id}\n toCourse={this.toCourse}>\n <div className=\"coupon-course__footer\">\n {\n item.is_buy == 1 &&\n <a onClick={() => this.toCourse(item.course_id)} className=\"btn to-study\">开始学习</a>\n }\n {\n item.is_buy == 0 &&\n <a onClick={() => this.toQQque()}\n className=\"btn big-course\">速抢拼团名额</a>\n }\n\n </div>\n </CourseItem>\n ))\n }\n </div>\n {\n (bigcourse.courseList && bigcourse.courseList.length > 4) &&\n <button className=\"more-button\" onClick={() => this.handleToMore('bigcourse')}>\n {bigcourse.isMore ? '查看更多' : '收起'}\n </button>\n }\n </>\n }\n </div>\n </CommonContainer>\n <CommonContainer title='人气好课免费学' id='year-free'>\n <div>\n {\n (freecourse.course && freecourse.course.length > 0) &&\n <>\n <div className='freecourse course-box'>\n {\n freecourse.course.map(item => (\n <CourseItem image={item.image_name} key={item.course_id} id={item.course_id}\n toCourse={this.toCourse}>\n <div className=\"coupon-course__footer\">\n {\n item.is_buy == 1 &&\n <a onClick={() => this.toCourse(item.course_id)} className=\"btn to-study\">开始学习</a>\n }\n {\n item.is_buy == 0 &&\n <a onClick={() => this.freeStudy()}\n className=\"btn free-study\">点击免费学</a>\n }\n\n <p className=\"free-course-num\">已送出<span>{item.act_num}</span>个课程</p>\n\n </div>\n </CourseItem>\n ))\n }\n </div>\n {\n (freecourse.courseList && freecourse.courseList.length > 4) &&\n <button className=\"more-button\" onClick={() => this.handleToMore('freecourse')}>\n {freecourse.isMore ? '查看更多' : '收起'}\n </button>\n }\n </>\n }\n </div>\n </CommonContainer>\n <CommonContainer title='精品好课1分开抢' id='year-group'>\n <div>\n {\n (groupcourse.course && groupcourse.course.length > 0) &&\n <>\n <div className='groupcourse course-box'>\n {\n groupcourse.course.map(item => (\n <CourseItem image={item.image_name} key={item.course_id} id={item.course_id}\n toCourse={this.toCourse}>\n <div className=\"group-num\">限量300个</div>\n <div className=\"coupon-course__footer\">\n {\n item.is_buy == 1 &&\n <>\n <p className={'course-title text-overflow-1'}>{item.course_title}</p>\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"btn to-study\">开始学习</a>\n </>\n }\n {\n item.is_buy == 0 &&\n <>\n <div className=\"type\">\n <span className=\"tag\">拼团价</span>\n <span className=\"time\">12月23日开团</span>\n </div>\n <div className=\"price\">¥\n <span className=\"new-price\">0.01</span>\n <span\n className=\"old-price\">现价:<s>¥{item.price1}</s></span>\n </div>\n\n <div className=\"status\">\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"status-btn to-buy\">直接购买</a>\n {\n item.is_join == 1 &&\n <a className=\"status-btn add-wish\"><img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png\"\n alt=\"\"/>已加心愿单</a>\n }\n {\n item.is_join == 0 &&\n <a\n onClick={() => this.addWishList(item.course_id, 'group')}\n className=\"status-btn add-wish-success\">\n <img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png\"\n alt=\"\"/>加入心愿单\n </a>\n }\n </div>\n </>\n }\n\n </div>\n </CourseItem>\n ))\n }\n </div>\n {\n (groupcourse.courseList && groupcourse.courseList.length > 4) &&\n <button className=\"more-button\" onClick={() => this.handleToMore('groupcourse')}>\n {groupcourse.isMore ? '查看更多' : '收起'}\n </button>\n }\n </>\n }\n </div>\n </CommonContainer>\n <CommonContainer title='好课价到,等你抄底' id='year-discount'>\n <div>\n <h4 className=\"ai-course__subtitle\">基础</h4>\n {\n (basic.course && basic.course.length > 0) &&\n <>\n <div className='groupcourse course-box'>\n {\n basic.course.map(item => (\n <CourseItem image={item.image_name} key={item.course_id} id={item.course_id}\n toCourse={this.toCourse}>\n <div className=\"coupon-course__footer\">\n {\n item.is_buy == 1 &&\n <>\n <p className={'course-title text-overflow-1'}>{item.course_title}</p>\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"btn to-study\">开始学习</a>\n </>\n }\n {\n item.is_buy == 0 &&\n <>\n <div className=\"type\">\n {\n item.type == 0 &&\n <>\n <span className=\"tag\">活动价</span>\n <span className=\"time\">12.23开始</span>\n </>\n }\n {\n item.type == 1 &&\n <>\n <span className=\"tag\">拼团价</span>\n <span className=\"time\">12.23开团</span>\n </>\n }\n {\n item.type == 2 &&\n <>\n <span className=\"tag\">好友帮帮砍</span>\n <span className=\"time\">12.23开砍</span>\n </>\n }\n\n </div>\n <div className=\"price\">\n {item.type == 2 ? '到手最低:¥' : '¥'}\n <span className=\"new-price\">{item.price2}</span>\n <span\n className=\"old-price\">\n {item.type == 2 ? '' : '现价:'}\n <s>¥{item.price1}</s></span>\n </div>\n\n <div className=\"status\">\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"status-btn to-buy\">直接购买</a>\n {\n item.is_join == 1 &&\n <a className=\"status-btn add-wish\"><img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png\"\n alt=\"\"/>已加心愿单</a>\n }\n {\n item.is_join == 0 &&\n <a\n onClick={() => this.addWishList(item.course_id, '1')}\n className=\"status-btn add-wish-success\">\n <img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png\"\n alt=\"\"/>加入心愿单\n </a>\n }\n </div>\n </>\n }\n\n </div>\n </CourseItem>\n ))\n }\n </div>\n {\n (basic.courseList && basic.courseList.length > 4) &&\n <button className=\"more-button\" onClick={() => this.handleToMore('basic')}>\n {basic.isMore ? '查看更多' : '收起'}\n </button>\n }\n </>\n }\n\n <h4 className=\"ai-course__subtitle\">进阶</h4>\n {\n (advanced.course && advanced.course.length > 0) &&\n <>\n <div className='groupcourse course-box'>\n {\n advanced.course.map(item => (\n <CourseItem image={item.image_name} key={item.course_id} id={item.course_id}\n toCourse={this.toCourse}>\n <div className=\"coupon-course__footer\">\n {\n item.is_buy == 1 &&\n <>\n <p className={'course-title text-overflow-1'}>{item.course_title}</p>\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"btn to-study\">开始学习</a>\n </>\n }\n {\n item.is_buy == 0 &&\n <>\n <div className=\"type\">\n {\n item.type == 0 &&\n <>\n <span className=\"tag\">活动价</span>\n <span className=\"time\">12.23开始</span>\n </>\n }\n {\n item.type == 1 &&\n <>\n <span className=\"tag\">拼团价</span>\n <span className=\"time\">12.23开团</span>\n </>\n }\n {\n item.type == 2 &&\n <>\n <span className=\"tag\">好友帮帮砍</span>\n <span className=\"time\">12.23开砍</span>\n </>\n }\n\n </div>\n <div className=\"price\">\n {item.type == 2 ? '到手最低:¥' : '¥'}\n <span className=\"new-price\">{item.price2}</span>\n <span\n className=\"old-price\">\n {item.type == 2 ? '' : '现价:'}\n <s>¥{item.price1}</s></span>\n </div>\n\n <div className=\"status\">\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"status-btn to-buy\">直接购买</a>\n {\n item.is_join == 1 &&\n <a className=\"status-btn add-wish\"><img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png\"\n alt=\"\"/>已加心愿单</a>\n }\n {\n item.is_join == 0 &&\n <a\n onClick={() => this.addWishList(item.course_id, '2')}\n className=\"status-btn add-wish-success\">\n <img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png\"\n alt=\"\"/>加入心愿单\n </a>\n }\n </div>\n </>\n }\n\n </div>\n </CourseItem>\n ))\n }\n </div>\n {\n (advanced.courseList && advanced.courseList.length > 4) &&\n <button className=\"more-button\" onClick={() => this.handleToMore('advanced')}>\n {advanced.isMore ? '查看更多' : '收起'}\n </button>\n }\n </>\n }\n\n <h4 className=\"ai-course__subtitle\">高阶</h4>\n {\n (higher.course && higher.course.length > 0) &&\n <>\n <div className='groupcourse course-box'>\n {\n higher.course.map(item => (\n <CourseItem image={item.image_name} key={item.course_id} id={item.course_id}\n toCourse={this.toCourse}>\n <div className=\"coupon-course__footer\">\n {\n item.is_buy == 1 &&\n <>\n <p className={'course-title text-overflow-1'}>{item.course_title}</p>\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"btn to-study\">开始学习</a>\n </>\n }\n {\n item.is_buy == 0 &&\n <>\n <div className=\"type\">\n {\n item.type == 0 &&\n <>\n <span className=\"tag\">活动价</span>\n <span className=\"time\">12.23开始</span>\n </>\n }\n {\n item.type == 1 &&\n <>\n <span className=\"tag\">拼团价</span>\n <span className=\"time\">12.23开团</span>\n </>\n }\n {\n item.type == 2 &&\n <>\n <span className=\"tag\">好友帮帮砍</span>\n <span className=\"time\">12.23开砍</span>\n </>\n }\n\n </div>\n <div className=\"price\">\n {item.type == 2 ? '到手最低:¥' : '¥'}\n <span className=\"new-price\">{item.price2}</span>\n <span\n className=\"old-price\">\n {item.type == 2 ? '' : '现价:'}\n <s>¥{item.price1}</s></span>\n </div>\n\n <div className=\"status\">\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"status-btn to-buy\">直接购买</a>\n {\n item.is_join == 1 &&\n <a className=\"status-btn add-wish\"><img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png\"\n alt=\"\"/>已加心愿单</a>\n }\n {\n item.is_join == 0 &&\n <a\n onClick={() => this.addWishList(item.course_id, '3')}\n className=\"status-btn add-wish-success\">\n <img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png\"\n alt=\"\"/>加入心愿单\n </a>\n }\n </div>\n </>\n }\n\n </div>\n </CourseItem>\n ))\n }\n </div>\n {\n (higher.courseList && higher.courseList.length > 4) &&\n <button className=\"more-button\" onClick={() => this.handleToMore('higher')}>\n {higher.isMore ? '查看更多' : '收起'}\n </button>\n }\n </>\n }\n\n <h4 className=\"ai-course__subtitle\">扩展</h4>\n {\n (expand.course && expand.course.length > 0) &&\n <>\n <div className='groupcourse course-box'>\n {\n expand.course.map(item => (\n <CourseItem image={item.image_name} key={item.course_id} id={item.course_id}\n toCourse={this.toCourse}>\n <div className=\"coupon-course__footer\">\n {\n item.is_buy == 1 &&\n <>\n <p className={'course-title text-overflow-1'}>{item.course_title}</p>\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"btn to-study\">开始学习</a>\n </>\n }\n {\n item.is_buy == 0 &&\n <>\n <div className=\"type\">\n {\n item.type == 0 &&\n <>\n <span className=\"tag\">活动价</span>\n <span className=\"time\">12.23开始</span>\n </>\n }\n {\n item.type == 1 &&\n <>\n <span className=\"tag\">拼团价</span>\n <span className=\"time\">12.23开团</span>\n </>\n }\n {\n item.type == 2 &&\n <>\n <span className=\"tag\">好友帮帮砍</span>\n <span className=\"time\">12.23开砍</span>\n </>\n }\n\n </div>\n <div className=\"price\">\n {item.type == 2 ? '到手最低:¥' : '¥'}\n <span className=\"new-price\">{item.price2}</span>\n <span\n className=\"old-price\">\n {item.type == 2 ? '' : '现价:'}\n <s>¥{item.price1}</s></span>\n </div>\n\n <div className=\"status\">\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"status-btn to-buy\">直接购买</a>\n {\n item.is_join == 1 &&\n <a className=\"status-btn add-wish\"><img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png\"\n alt=\"\"/>已加心愿单</a>\n }\n {\n item.is_join == 0 &&\n <a\n onClick={() => this.addWishList(item.course_id, '4')}\n className=\"status-btn add-wish-success\">\n <img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png\"\n alt=\"\"/>加入心愿单\n </a>\n }\n </div>\n </>\n }\n\n </div>\n </CourseItem>\n ))\n }\n </div>\n {\n (expand.courseList && expand.courseList.length > 4) &&\n <button className=\"more-button\" onClick={() => this.handleToMore('expand')}>\n {expand.isMore ? '查看更多' : '收起'}\n </button>\n }\n </>\n }\n </div>\n </CommonContainer>\n\n {\n this.state.tofreeStudy &&\n <CommonPopup top={100} closePopup={this.closePopup} mark={false}>\n <div className='sub__code_container'>\n <p className='sub__title'>提醒服务</p>\n <p className='sub__tip'>进入服务号回复<i>77</i>免费领取课程</p>\n <img className='sub__qr_code' id={'live-qr-code'}\n src='//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg' alt=\"\"/>\n {\n browser.isAndroidApp ? (\n <button className={'save-image'} onClick={this.saveImage}>保存二维码</button>\n ) : <p className='sub__tip'>长按识别/扫码 关注【七月在线】服务号</p>\n }\n </div>\n </CommonPopup>\n }\n {\n this.state.isshowFollow &&\n <CommonPopup top={100} closePopup={this.closePopupWish} mark={false}>\n <div className='sub__code_container'>\n <p className='sub__title'>提醒服务</p>\n <p className='sub__tip'>课程开售立即提醒,不错过任何优惠哦!</p>\n <img className='sub__qr_code' id={'live-qr-code'}\n src={this.state.followBarcode} alt=\"\"/>\n {\n browser.isAndroidApp ? (\n <button className={'save-image'} onClick={this.saveImage}>保存二维码</button>\n ) : <p className='sub__tip'>长按识别/扫码 关注【七月在线】服务号</p>\n }\n </div>\n </CommonPopup>\n }\n </div>\n )\n }\n}\n\nexport default withRouter(YearCourse)\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{1203:function(e,t,a){},1204:function(e,t,a){},1206:function(e,t,a){},1207:function(e,t,a){},1208:function(e,t,a){},659:function(e,t,a){"use strict";var s=a(5),n=a(7),c=a(6),r=a(8),o=a(9),i=a(0),l=a.n(i),u=(a(730),function(e){function t(){return Object(s.a)(this,t),Object(c.a)(this,Object(r.a)(t).apply(this,arguments))}return Object(o.a)(t,e),Object(n.a)(t,[{key:"render",value:function(){var e=this.props,t=e.image,a=e.toCourse,s=e.id;return l.a.createElement("div",{className:"course-container"},l.a.createElement("div",{className:"course__cover"},l.a.createElement("img",{src:t,alt:"cover",onClick:function(){return a(s)}})),this.props.children)}}]),t}(i.Component));t.a=u},660:function(e,t,a){"use strict";a.d(t,"a",function(){return u});var s=a(5),n=a(7),c=a(6),r=a(8),o=a(9),i=a(0),l=a.n(i),u=(a(1207),function(e){function t(e){return Object(s.a)(this,t),Object(c.a)(this,Object(r.a)(t).call(this,e))}return Object(o.a)(t,e),Object(n.a)(t,[{key:"render",value:function(){var e=this.props.id;return l.a.createElement("div",{className:"common_container",id:e},l.a.createElement("div",{className:"container_top"}),l.a.createElement("div",{className:"container_content"},this.props.title&&l.a.createElement("div",{className:"title_container"},l.a.createElement("i",null),l.a.createElement("p",null,this.props.title),l.a.createElement("i",null)),l.a.Children.map(this.props.children,function(e){return l.a.createElement(l.a.Fragment,null,e)})),l.a.createElement("div",{className:"container_bottom"}))}}]),t}(i.Component))},730:function(e,t,a){},732:function(e,t,a){"use strict";a.d(t,"a",function(){return u});var s=a(5),n=a(7),c=a(6),r=a(8),o=a(9),i=a(0),l=a.n(i),u=(a(1208),function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(c.a)(this,Object(r.a)(t).call(this,e))).computedStyle=function(){return{top:"".concat(a.props.top,"px"),width:"".concat(a.props.width,"px")}},a.closePopup=function(){a.props.mark&&a.props.closePopup()},a}return Object(o.a)(t,e),Object(n.a)(t,[{key:"render",value:function(){return l.a.createElement("div",{className:"popup__container",onClick:this.closePopup},l.a.createElement("div",{className:"content__container",style:this.computedStyle(),onClick:function(e){e.stopPropagation()}},l.a.createElement("img",{className:"close__btn",onClick:this.props.closePopup,src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",alt:""}),l.a.Children.map(this.props.children,function(e){return l.a.createElement(l.a.Fragment,null,e)})))}}]),t}(i.Component))},802:function(e,t,a){"use strict";a(41);var s=a(12),n=a.n(s),c=a(5),r=a(7),o=a(6),i=a(8),l=a(9),u=a(0),m=a.n(u),d=a(3),p=(a(1203),a(28)),h=a(16),g=Object(h.a)(function(){return a.e(38).then(a.bind(null,1224))}),f=function(e){function t(){var e,a;Object(c.a)(this,t);for(var s=arguments.length,r=new Array(s),l=0;l<s;l++)r[l]=arguments[l];return(a=Object(o.a)(this,(e=Object(i.a)(t)).call.apply(e,[this].concat(r)))).closeIcon="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",a.state={prizes:[],notices:[],rule:[],unfoldList:!1},a.getPrizes=function(){d.d.get("".concat(API.home,"/sys/prize_data")).then(function(e){var t=e.data,s=t.code,c=t.data,r=t.msg;200==s?a.setState({prizes:c.prize_data,notices:c.notices,rule:c.rule}):n.a.info(r,2,null,!1)})},a.showRules=function(){Object(p.h)({title:"\u7ec4\u961f\u5f00\u5b9d\u7bb1\u6d3b\u52a8\u89c4\u5219",className:"landing-treasure-rules",content:m.a.createElement("div",{dangerouslySetInnerHTML:{__html:a.state.rule}}),closeIcon:a.closeIcon})},a.showMore=function(){a.setState(function(e){if(a.state.unfoldList)a.bg.style=a.innerBox.style=a.prizeBox.style="";else{var t=parseFloat(getComputedStyle(a.prizeBox,":before").getPropertyValue("height")),s=parseFloat(getComputedStyle(a.prizeBox,":after").getPropertyValue("height")),n=a.prizeList.scrollHeight,c=t+n-.12458*t-.595*s+s;a.prizeBox.style.height="".concat(c+27,"px"),a.innerBox.style.height="".concat(n,"px"),a.bg.style.height="".concat(n-s+.12458*t+27,"px")}return{unfoldList:!e.unfoldList}})},a}return Object(l.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.getPrizes()}},{key:"render",value:function(){var e=this,t=this.props.showSystemNotices,a=this.state.notices;return m.a.createElement(m.a.Fragment,null,t&&a&&a.length?m.a.createElement(g,{bullets:a}):null,m.a.createElement("div",{className:"prizes-box",ref:function(t){return e.prizeBox=t}},m.a.createElement("a",{href:"javascript:;",className:"rule-btn",onClick:this.showRules},"\u6d3b\u52a8\u89c4\u5219 > "),m.a.createElement("div",{className:"bg",ref:function(t){return e.bg=t}}),m.a.createElement("div",{className:"inner-box",ref:function(t){return e.innerBox=t}},m.a.createElement("ul",{className:"prize-list",ref:function(t){return e.prizeList=t}},this.state.prizes.map(function(e,t){return m.a.createElement("li",{key:t},e.img_name?m.a.createElement("i",{className:"prize-list__image",style:{backgroundImage:"url(".concat(e.img_name,")")}}):m.a.createElement("i",{className:"prize-list__image"}),0!=e.is_captain&&m.a.createElement("span",{className:"captain top-tag"},"\u961f\u957f\u4e13\u5c5e"),2===e.mode&&m.a.createElement("span",{className:"stage top-tag"},"\u7b2c",e.stage_no,"\u6b21\u5fc5\u4e2d"),e.grant_max?m.a.createElement("div",{className:"bottom-bar"},m.a.createElement("div",{className:"progress-bar"},m.a.createElement("span",{className:"progress"})),m.a.createElement("span",null,"\u9650\u91cf",e.grant_max,"\u4efd")):m.a.createElement("span",{className:"no-limit"},"\u4e0d\u9650\u91cf"))}),m.a.createElement("li",null,m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/prize-placeholder.png",alt:""})))),m.a.createElement("div",{className:"show-more",onClick:this.showMore},this.state.unfoldList?m.a.createElement("div",null,"\u6536\u8d77",m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/fold-icon.png",alt:""})):m.a.createElement("div",null,"\u67e5\u770b\u5168\u90e8\u5956\u54c1",m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/unfold-icon.png",alt:""})))))}}]),t}(u.Component);t.a=f},803:function(e,t,a){"use strict";var s=a(119),n=a(5),c=a(7),r=a(6),o=a(8),i=a(89),l=a(9),u=a(0),m=a.n(u),d=a(3),p=a(162),h=(a(257),a(1204),function(e){function t(){var e,a;Object(n.a)(this,t);for(var c=arguments.length,l=new Array(c),u=0;u<c;u++)l[u]=arguments[u];return(a=Object(r.a)(this,(e=Object(o.a)(t)).call.apply(e,[this].concat(l)))).state={bulletScreenData:[]},a.initializeBulletScreen=function(){var e=Object(i.a)(a),t=Object(s.a)(Array(19).keys()),n=!1;a.swiper=new p.a(".swiper-container",{direction:"vertical",allowTouchMove:!1,autoplay:!0,on:{transitionEnd:function(){var a=this;this.slides.length>20&&(this.removeSlide(0),this.autoplay.start()),this.activeIndex!==this.slides.length-1||n||(this.autoplay.stop(),e.getBulletScreenData().then(function(s){n=!0,a.removeSlide(t),a.appendSlide(e.getSlides(s)),setTimeout(function(){a.autoplay.start(),n=!1})}))}}})},a.getSlides=function(e){return e.map(function(e){return'\n <li class="swiper-slide">\n <img class="avatar" src="'.concat(e.avatar_file,'" alt="">\n <span>').concat(e.user_name," ").concat(e.msg,"</span>\n </li>\n ")})},a.getBulletScreenData=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return d.d.get("".concat(API.home,"/sys/barrage_data")).then(function(t){var s=t.data,n=s.data;if(200==s.code){if(!e)return n;a.setState({bulletScreenData:n},function(){a.initializeBulletScreen()})}})},a}return Object(l.a)(t,e),Object(c.a)(t,[{key:"componentDidMount",value:function(){this.getBulletScreenData(!0)}},{key:"componentWillUnmount",value:function(){this.swiper&&this.swiper.destroy()}},{key:"render",value:function(){var e=this.state.bulletScreenData;return m.a.createElement("div",{id:"user-bullet-screen",className:"swiper-container"},m.a.createElement("ul",{className:"swiper-wrapper"},e.length&&e.map(function(e,t){return m.a.createElement("li",{className:"swiper-slide",key:t},m.a.createElement("img",{src:e.avatar_file,alt:"",className:"avatar"}),m.a.createElement("span",null,e.user_name," ",e.msg))})))}}]),t}(u.Component));t.a=h},804:function(e,t,a){"use strict";a(41);var s,n=a(12),c=a.n(n),r=a(19),o=a(5),i=a(7),l=a(6),u=a(8),m=a(89),d=a(9),p=a(0),h=a.n(p),g=(a(1206),a(3)),f=a(660),E=a(659),b=a(49),y=a(732),_=a(587),v=a.n(_),N=a(22),j=Object(N.b)(function(e){return{user:e.user}})(s=function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(l.a)(this,Object(u.a)(t).call(this,e))).getLength=function(){var e=Object(m.a)(a);g.d.get("".concat(API.home,"/activity/wish_sum")).then(function(t){var a=t.data,s=a.code,n=a.data;200==s&&e.setState({sum:n.sum})})},a.fetchBigCourse=function(){var e=a.state.bigcourse;g.d.get("".concat(API.home,"/activity/preheat_data")).then(function(t){var s=t.data,n=s.code,c=s.data;200===n&&a.setState({bigcourse:Object.assign({},e,{isMore:c.length>4,course:c.length>4?c.filter(function(e,t){return t<4}):c,courseList:c})})})},a.fetchFreeCourse=function(){var e=a.state.freecourse;g.d.get("".concat(API["base-api"],"/assistance/detail")).then(function(t){var s=t.data,n=s.errno,c=s.data;200===n&&a.setState({freecourse:Object.assign({},e,{isMore:c.course_info.length>4,course:c.course_info.length>4?c.course_info.filter(function(e,t){return t<4}):c.course_info,courseList:c.course_info})})})},a.fetchGroupCourse=function(){var e=a.state.groupcourse;g.d.get("".concat(API.home,"/activity/excellent_course")).then(function(t){var s=t.data,n=s.code,c=s.data;200===n&&a.setState({groupcourse:Object.assign({},e,{isMore:c.length>4,course:c.length>4?c.filter(function(e,t){return t<4}):c,courseList:c})})})},a.fetchAICourse=function(e,t){g.d.get("".concat(API.home,"/activity/four_stage/").concat(e)).then(function(s){var n=s.data,c=n.code,r=n.data;200===c&&a.getList(e,r,t)})},a.getList=function(e,t,s){var n=a.state,c=n.basic,r=n.advanced,o=n.higher,i=n.expand;"one"===e&&a.setState({basic:Object.assign({},c,{isMore:t.length>4&&!s,course:t.length>4&&!s?t.filter(function(e,t){return t<4}):t,courseList:t,addshowMore:s})}),"two"===e&&a.setState({advanced:Object.assign({},r,{isMore:t.length>4&&!s,course:t.length>4&&!s?t.filter(function(e,t){return t<4}):t,courseList:t,addshowMore:s})}),"three"===e&&a.setState({higher:Object.assign({},o,{isMore:t.length>4&&!s,course:t.length>4&&!s?t.filter(function(e,t){return t<4}):t,courseList:t,addshowMore:s})}),"four"===e&&a.setState({expand:Object.assign({},i,{isMore:t.length>4&&!s,course:t.length>4&&!s?t.filter(function(e,t){return t<4}):t,courseList:t,addshowMore:s})})},a.toQQque=function(){Object(g.c)("version")?Object(g.a)("toQQ","https://q.url.cn/AB8aue?_type=wpa&qidian=true"):location.href="https://q.url.cn/AB8aue?_type=wpa&qidian=true"},a.toCourse=function(e){var t=a.props.history;Object(g.c)("version")?Object(g.a)("toCourse",e):t.push("/detail?id=".concat(e))},a.handleToMore=function(e){var t={};a.state[e].isMore?(t[e]={isMore:!a.state[e].isMore,course:a.state[e].courseList,courseList:a.state[e].courseList,addshowMore:!a.state[e].addshowMore},a.setState(Object(r.a)({},t))):(t[e]={isMore:!a.state[e].isMore,course:a.state[e].courseList.filter(function(e,t){return t<4}),courseList:a.state[e].courseList,addshowMore:!a.state[e].addshowMore},a.setState(Object(r.a)({},t)))},a.toLogin=function(){Object(g.c)("version")?Object(g.a)("toLogin"):a.props.history.push("/passport/login")},a.freeStudy=function(){a.setState({tofreeStudy:!0})},a.closePopup=function(){a.setState({tofreeStudy:!1})},a.closePopupWish=function(){var e=Object(m.a)(a);e.setState({isshowFollow:!1}),setTimeout(function(){e.toJoinList(e.state.wish.id,e.state.wish.key)},200)},a.getQRcodeUrl=function(){var e=Object(m.a)(a);g.d.get("".concat(API["base-api"],"/wx/user_temporary_qrcode/").concat(e.props.user.data.uid)).then(function(e){var t=e.data,s=t.errno,n=t.data,r=t.msg;0==s?(a.setState({qrUrl:n.url}),v.a.toDataURL(n.url,function(e,t){a.setState({followBarcode:t})})):c.a.info(r,2)})},a.addWishList=function(e,t){var s=Object(m.a)(a),n=!a.props.user.hasError;s.setState({wish:{id:e,key:t}}),n?s.isFollow(e,t):s.toLogin()},a.isFollow=function(e,t){var s=Object(m.a)(a);g.d.get("".concat(API.home,"/sys/user/isFollowWeChat")).then(function(a){var n=a.data,r=n.code,o=n.data,i=n.msg;200===r?(s.setState({isshowFollow:!o.is_follow}),s.state.isshowFollow?s.getQRcodeUrl():s.toJoinList(e,t)):c.a.info(i,2)})},a.toJoinList=function(e,t){var s=Object(m.a)(a);g.d.post("".concat(API.home,"/activity/join_list"),{course_id:e}).then(function(e){var a=e.data,n=a.code,r=a.msg;200==n?(c.a.success("\u5df2\u6210\u529f\u52a0\u5165\u5fc3\u613f\u5355",3),s.getLength(),"1"===t&&s.fetchAICourse("one",s.state.basic.addshowMore),"2"===t&&s.fetchAICourse("two",s.state.advanced.addshowMore),"3"===t&&s.fetchAICourse("three",s.state.higher.addshowMore),"4"===t&&s.fetchAICourse("four",s.state.expand.addshowMore),"group"===t&&s.fetchGroupCourse()):c.a.info(r,2)})},a.saveImage=function(){var e=Object(g.c)("version");e="string"===typeof e?e.replace(".","").replace(".","").slice(0,3):"";var t=a.state.qrUrl;e&&parseInt(e)<451?c.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",3,null,!1):Object(g.a)("generateQRCode",t)},a.getTeamInfo=function(){g.d.get("".concat(API.home,"/sys/treasure/teamInfo")).then(function(e){var t=e.data,s=t.code,n=t.data,r=t.msg;if(200===s){var o=n.info,i=n.removable_data;a.setState({removable:o.removable,currentId:o.removable>0?i[0].id:null})}else c.a.info(r)})},a.toBoxList=function(){var e=!a.props.user.hasError,t=a.state.currentId,s="";t&&(s="?id=".concat(t)),e?Object(g.c)("version")?a.props.history.push("/year/yearTreasure".concat(s,"?version=").concat(Object(g.c)("version"))):a.props.history.push("/year/yearTreasure".concat(s)):a.toLogin()},a.toYearWish=function(){!a.props.user.hasError?Object(g.c)("version")?a.props.history.push("/year/yearWish?version=".concat(Object(g.c)("version"))):a.props.history.push("/year/yearWish"):a.toLogin()},a.state={tofreeStudy:!1,basic:{course:[],courseList:[],isMore:!1,addshowMore:!1},advanced:{course:[],courseList:[],isMore:!1,addshowMore:!1},higher:{course:[],courseList:[],isMore:!1,addshowMore:!1},expand:{course:[],courseList:[],isMore:!1,addshowMore:!1},bigcourse:{course:[],courseList:[],isMore:!1},freecourse:{course:[],courseList:[],isMore:!1},groupcourse:{course:[],courseList:[],isMore:!1},isshowFollow:!1,wish:{id:"",key:""},followBarcode:"",qrUrl:"",sum:"",removable:"",currentId:""},a}return Object(d.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.getTeamInfo(),this.getLength(),this.fetchBigCourse(),this.fetchFreeCourse(),this.fetchGroupCourse(),this.fetchAICourse("one",!1),this.fetchAICourse("two",!1),this.fetchAICourse("three",!1),this.fetchAICourse("four",!1)}},{key:"shouldComponentUpdate",value:function(e,t,a){return this.props.isAppUpdate===e.isAppUpdate||(this.getTeamInfo(),this.getLength(),this.fetchBigCourse(),this.fetchFreeCourse(),this.fetchGroupCourse(),this.fetchAICourse("one"),this.fetchAICourse("two"),this.fetchAICourse("three"),this.fetchAICourse("four"),!1)}},{key:"render",value:function(){var e=this,t=this.state,a=t.bigcourse,s=t.freecourse,n=t.groupcourse,c=t.basic,r=t.advanced,o=t.higher,i=t.expand,l=t.removable,u=t.sum;return h.a.createElement("div",{className:"year-index-course"},h.a.createElement("div",{className:"nav-right"},h.a.createElement("span",{onClick:this.toBoxList,className:"nav-right__link"},"\u672a\u5f00\u5b9d\u7bb1",l>0&&h.a.createElement("i",{className:"nav-right__number"},l)),h.a.createElement("a",{onClick:function(){return e.toYearWish()},className:"nav-right__link"},"\u5fc3\u613f\u5355",u>0&&h.a.createElement("i",{className:"nav-right__number"},u))),h.a.createElement(f.a,{title:"\u91cd\u78c5\u597d\u8bfe",id:"year-course"},h.a.createElement("div",null,a.course&&a.course.length>0&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"bigcourse course-box"},a.course.map(function(t){return h.a.createElement(E.a,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},h.a.createElement("div",{className:"coupon-course__footer"},1==t.is_buy&&h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-study"},"\u5f00\u59cb\u5b66\u4e60"),0==t.is_buy&&h.a.createElement("a",{onClick:function(){return e.toQQque()},className:"btn big-course"},"\u901f\u62a2\u62fc\u56e2\u540d\u989d")))})),a.courseList&&a.courseList.length>4&&h.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("bigcourse")}},a.isMore?"\u67e5\u770b\u66f4\u591a":"\u6536\u8d77")))),h.a.createElement(f.a,{title:"\u4eba\u6c14\u597d\u8bfe\u514d\u8d39\u5b66",id:"year-free"},h.a.createElement("div",null,s.course&&s.course.length>0&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"freecourse course-box"},s.course.map(function(t){return h.a.createElement(E.a,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},h.a.createElement("div",{className:"coupon-course__footer"},1==t.is_buy&&h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-study"},"\u5f00\u59cb\u5b66\u4e60"),0==t.is_buy&&h.a.createElement("a",{onClick:function(){return e.freeStudy()},className:"btn free-study"},"\u70b9\u51fb\u514d\u8d39\u5b66"),h.a.createElement("p",{className:"free-course-num"},"\u5df2\u9001\u51fa",h.a.createElement("span",null,t.act_num),"\u4e2a\u8bfe\u7a0b")))})),s.courseList&&s.courseList.length>4&&h.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("freecourse")}},s.isMore?"\u67e5\u770b\u66f4\u591a":"\u6536\u8d77")))),h.a.createElement(f.a,{title:"\u7cbe\u54c1\u597d\u8bfe1\u5206\u5f00\u62a2",id:"year-group"},h.a.createElement("div",null,n.course&&n.course.length>0&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"groupcourse course-box"},n.course.map(function(t){return h.a.createElement(E.a,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},h.a.createElement("div",{className:"group-num"},"\u9650\u91cf300\u4e2a"),h.a.createElement("div",{className:"coupon-course__footer"},1==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("p",{className:"course-title text-overflow-1"},t.course_title),h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-study"},"\u5f00\u59cb\u5b66\u4e60")),0==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"type"},h.a.createElement("span",{className:"tag"},"\u62fc\u56e2\u4ef7"),h.a.createElement("span",{className:"time"},"12\u670823\u65e5\u5f00\u56e2")),h.a.createElement("div",{className:"price"},"\xa5",h.a.createElement("span",{className:"new-price"},"0.01"),h.a.createElement("span",{className:"old-price"},"\u73b0\u4ef7\uff1a",h.a.createElement("s",null,"\xa5",t.price1))),h.a.createElement("div",{className:"status"},h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"status-btn to-buy"},"\u76f4\u63a5\u8d2d\u4e70"),1==t.is_join&&h.a.createElement("a",{className:"status-btn add-wish"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png",alt:""}),"\u5df2\u52a0\u5fc3\u613f\u5355"),0==t.is_join&&h.a.createElement("a",{onClick:function(){return e.addWishList(t.course_id,"group")},className:"status-btn add-wish-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png",alt:""}),"\u52a0\u5165\u5fc3\u613f\u5355")))))})),n.courseList&&n.courseList.length>4&&h.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("groupcourse")}},n.isMore?"\u67e5\u770b\u66f4\u591a":"\u6536\u8d77")))),h.a.createElement(f.a,{title:"\u597d\u8bfe\u4ef7\u5230\uff0c\u7b49\u4f60\u6284\u5e95",id:"year-discount"},h.a.createElement("div",null,h.a.createElement("h4",{className:"ai-course__subtitle"},"\u57fa\u7840"),c.course&&c.course.length>0&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"groupcourse course-box"},c.course.map(function(t){return h.a.createElement(E.a,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},h.a.createElement("div",{className:"coupon-course__footer"},1==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("p",{className:"course-title text-overflow-1"},t.course_title),h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-study"},"\u5f00\u59cb\u5b66\u4e60")),0==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"type"},0==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u6d3b\u52a8\u4ef7"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u59cb")),1==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u62fc\u56e2\u4ef7"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u56e2")),2==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u597d\u53cb\u5e2e\u5e2e\u780d"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u780d"))),h.a.createElement("div",{className:"price"},2==t.type?"\u5230\u624b\u6700\u4f4e:\xa5":"\xa5",h.a.createElement("span",{className:"new-price"},t.price2),h.a.createElement("span",{className:"old-price"},2==t.type?"":"\u73b0\u4ef7\uff1a",h.a.createElement("s",null,"\xa5",t.price1))),h.a.createElement("div",{className:"status"},h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"status-btn to-buy"},"\u76f4\u63a5\u8d2d\u4e70"),1==t.is_join&&h.a.createElement("a",{className:"status-btn add-wish"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png",alt:""}),"\u5df2\u52a0\u5fc3\u613f\u5355"),0==t.is_join&&h.a.createElement("a",{onClick:function(){return e.addWishList(t.course_id,"1")},className:"status-btn add-wish-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png",alt:""}),"\u52a0\u5165\u5fc3\u613f\u5355")))))})),c.courseList&&c.courseList.length>4&&h.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("basic")}},c.isMore?"\u67e5\u770b\u66f4\u591a":"\u6536\u8d77")),h.a.createElement("h4",{className:"ai-course__subtitle"},"\u8fdb\u9636"),r.course&&r.course.length>0&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"groupcourse course-box"},r.course.map(function(t){return h.a.createElement(E.a,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},h.a.createElement("div",{className:"coupon-course__footer"},1==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("p",{className:"course-title text-overflow-1"},t.course_title),h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-study"},"\u5f00\u59cb\u5b66\u4e60")),0==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"type"},0==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u6d3b\u52a8\u4ef7"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u59cb")),1==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u62fc\u56e2\u4ef7"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u56e2")),2==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u597d\u53cb\u5e2e\u5e2e\u780d"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u780d"))),h.a.createElement("div",{className:"price"},2==t.type?"\u5230\u624b\u6700\u4f4e:\xa5":"\xa5",h.a.createElement("span",{className:"new-price"},t.price2),h.a.createElement("span",{className:"old-price"},2==t.type?"":"\u73b0\u4ef7\uff1a",h.a.createElement("s",null,"\xa5",t.price1))),h.a.createElement("div",{className:"status"},h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"status-btn to-buy"},"\u76f4\u63a5\u8d2d\u4e70"),1==t.is_join&&h.a.createElement("a",{className:"status-btn add-wish"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png",alt:""}),"\u5df2\u52a0\u5fc3\u613f\u5355"),0==t.is_join&&h.a.createElement("a",{onClick:function(){return e.addWishList(t.course_id,"2")},className:"status-btn add-wish-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png",alt:""}),"\u52a0\u5165\u5fc3\u613f\u5355")))))})),r.courseList&&r.courseList.length>4&&h.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("advanced")}},r.isMore?"\u67e5\u770b\u66f4\u591a":"\u6536\u8d77")),h.a.createElement("h4",{className:"ai-course__subtitle"},"\u9ad8\u9636"),o.course&&o.course.length>0&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"groupcourse course-box"},o.course.map(function(t){return h.a.createElement(E.a,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},h.a.createElement("div",{className:"coupon-course__footer"},1==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("p",{className:"course-title text-overflow-1"},t.course_title),h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-study"},"\u5f00\u59cb\u5b66\u4e60")),0==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"type"},0==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u6d3b\u52a8\u4ef7"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u59cb")),1==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u62fc\u56e2\u4ef7"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u56e2")),2==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u597d\u53cb\u5e2e\u5e2e\u780d"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u780d"))),h.a.createElement("div",{className:"price"},2==t.type?"\u5230\u624b\u6700\u4f4e:\xa5":"\xa5",h.a.createElement("span",{className:"new-price"},t.price2),h.a.createElement("span",{className:"old-price"},2==t.type?"":"\u73b0\u4ef7\uff1a",h.a.createElement("s",null,"\xa5",t.price1))),h.a.createElement("div",{className:"status"},h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"status-btn to-buy"},"\u76f4\u63a5\u8d2d\u4e70"),1==t.is_join&&h.a.createElement("a",{className:"status-btn add-wish"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png",alt:""}),"\u5df2\u52a0\u5fc3\u613f\u5355"),0==t.is_join&&h.a.createElement("a",{onClick:function(){return e.addWishList(t.course_id,"3")},className:"status-btn add-wish-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png",alt:""}),"\u52a0\u5165\u5fc3\u613f\u5355")))))})),o.courseList&&o.courseList.length>4&&h.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("higher")}},o.isMore?"\u67e5\u770b\u66f4\u591a":"\u6536\u8d77")),h.a.createElement("h4",{className:"ai-course__subtitle"},"\u6269\u5c55"),i.course&&i.course.length>0&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"groupcourse course-box"},i.course.map(function(t){return h.a.createElement(E.a,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},h.a.createElement("div",{className:"coupon-course__footer"},1==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("p",{className:"course-title text-overflow-1"},t.course_title),h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-study"},"\u5f00\u59cb\u5b66\u4e60")),0==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"type"},0==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u6d3b\u52a8\u4ef7"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u59cb")),1==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u62fc\u56e2\u4ef7"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u56e2")),2==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u597d\u53cb\u5e2e\u5e2e\u780d"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u780d"))),h.a.createElement("div",{className:"price"},2==t.type?"\u5230\u624b\u6700\u4f4e:\xa5":"\xa5",h.a.createElement("span",{className:"new-price"},t.price2),h.a.createElement("span",{className:"old-price"},2==t.type?"":"\u73b0\u4ef7\uff1a",h.a.createElement("s",null,"\xa5",t.price1))),h.a.createElement("div",{className:"status"},h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"status-btn to-buy"},"\u76f4\u63a5\u8d2d\u4e70"),1==t.is_join&&h.a.createElement("a",{className:"status-btn add-wish"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png",alt:""}),"\u5df2\u52a0\u5fc3\u613f\u5355"),0==t.is_join&&h.a.createElement("a",{onClick:function(){return e.addWishList(t.course_id,"4")},className:"status-btn add-wish-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png",alt:""}),"\u52a0\u5165\u5fc3\u613f\u5355")))))})),i.courseList&&i.courseList.length>4&&h.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("expand")}},i.isMore?"\u67e5\u770b\u66f4\u591a":"\u6536\u8d77")))),this.state.tofreeStudy&&h.a.createElement(y.a,{top:100,closePopup:this.closePopup,mark:!1},h.a.createElement("div",{className:"sub__code_container"},h.a.createElement("p",{className:"sub__title"},"\u63d0\u9192\u670d\u52a1"),h.a.createElement("p",{className:"sub__tip"},"\u8fdb\u5165\u670d\u52a1\u53f7\u56de\u590d",h.a.createElement("i",null,"77"),"\u514d\u8d39\u9886\u53d6\u8bfe\u7a0b"),h.a.createElement("img",{className:"sub__qr_code",id:"live-qr-code",src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg",alt:""}),g.b.isAndroidApp?h.a.createElement("button",{className:"save-image",onClick:this.saveImage},"\u4fdd\u5b58\u4e8c\u7ef4\u7801"):h.a.createElement("p",{className:"sub__tip"},"\u957f\u6309\u8bc6\u522b/\u626b\u7801 \u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7"))),this.state.isshowFollow&&h.a.createElement(y.a,{top:100,closePopup:this.closePopupWish,mark:!1},h.a.createElement("div",{className:"sub__code_container"},h.a.createElement("p",{className:"sub__title"},"\u63d0\u9192\u670d\u52a1"),h.a.createElement("p",{className:"sub__tip"},"\u8bfe\u7a0b\u5f00\u552e\u7acb\u5373\u63d0\u9192\uff0c\u4e0d\u9519\u8fc7\u4efb\u4f55\u4f18\u60e0\u54e6\uff01"),h.a.createElement("img",{className:"sub__qr_code",id:"live-qr-code",src:this.state.followBarcode,alt:""}),g.b.isAndroidApp?h.a.createElement("button",{className:"save-image",onClick:this.saveImage},"\u4fdd\u5b58\u4e8c\u7ef4\u7801"):h.a.createElement("p",{className:"sub__tip"},"\u957f\u6309\u8bc6\u522b/\u626b\u7801 \u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7"))))}}]),t}(p.Component))||s;t.a=Object(b.g)(j)}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{1203:function(e,t,a){},1204:function(e,t,a){},1206:function(e,t,a){},1207:function(e,t,a){},1208:function(e,t,a){},659:function(e,t,a){"use strict";var s=a(5),n=a(7),c=a(6),r=a(8),o=a(9),i=a(0),l=a.n(i),u=(a(730),function(e){function t(){return Object(s.a)(this,t),Object(c.a)(this,Object(r.a)(t).apply(this,arguments))}return Object(o.a)(t,e),Object(n.a)(t,[{key:"render",value:function(){var e=this.props,t=e.image,a=e.toCourse,s=e.id;return l.a.createElement("div",{className:"course-container"},l.a.createElement("div",{className:"course__cover"},l.a.createElement("img",{src:t,alt:"cover",onClick:function(){return a(s)}})),this.props.children)}}]),t}(i.Component));t.a=u},660:function(e,t,a){"use strict";a.d(t,"a",function(){return u});var s=a(5),n=a(7),c=a(6),r=a(8),o=a(9),i=a(0),l=a.n(i),u=(a(1207),function(e){function t(e){return Object(s.a)(this,t),Object(c.a)(this,Object(r.a)(t).call(this,e))}return Object(o.a)(t,e),Object(n.a)(t,[{key:"render",value:function(){var e=this.props.id;return l.a.createElement("div",{className:"common_container",id:e},l.a.createElement("div",{className:"container_top"}),l.a.createElement("div",{className:"container_content"},this.props.title&&l.a.createElement("div",{className:"title_container"},l.a.createElement("i",null),l.a.createElement("p",null,this.props.title),l.a.createElement("i",null)),l.a.Children.map(this.props.children,function(e){return l.a.createElement(l.a.Fragment,null,e)})),l.a.createElement("div",{className:"container_bottom"}))}}]),t}(i.Component))},730:function(e,t,a){},732:function(e,t,a){"use strict";a.d(t,"a",function(){return u});var s=a(5),n=a(7),c=a(6),r=a(8),o=a(9),i=a(0),l=a.n(i),u=(a(1208),function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(c.a)(this,Object(r.a)(t).call(this,e))).computedStyle=function(){return{top:"".concat(a.props.top,"px"),width:"".concat(a.props.width,"px")}},a.closePopup=function(){a.props.mark&&a.props.closePopup()},a}return Object(o.a)(t,e),Object(n.a)(t,[{key:"render",value:function(){return l.a.createElement("div",{className:"popup__container",onClick:this.closePopup},l.a.createElement("div",{className:"content__container",style:this.computedStyle(),onClick:function(e){e.stopPropagation()}},l.a.createElement("img",{className:"close__btn",onClick:this.props.closePopup,src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",alt:""}),l.a.Children.map(this.props.children,function(e){return l.a.createElement(l.a.Fragment,null,e)})))}}]),t}(i.Component))},802:function(e,t,a){"use strict";a(41);var s=a(12),n=a.n(s),c=a(5),r=a(7),o=a(6),i=a(8),l=a(9),u=a(0),m=a.n(u),d=a(3),p=(a(1203),a(28)),h=a(16),g=Object(h.a)(function(){return a.e(38).then(a.bind(null,1224))}),f=function(e){function t(){var e,a;Object(c.a)(this,t);for(var s=arguments.length,r=new Array(s),l=0;l<s;l++)r[l]=arguments[l];return(a=Object(o.a)(this,(e=Object(i.a)(t)).call.apply(e,[this].concat(r)))).closeIcon="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",a.state={prizes:[],notices:[],rule:[],unfoldList:!1},a.getPrizes=function(){d.d.get("".concat(API.home,"/sys/prize_data")).then(function(e){var t=e.data,s=t.code,c=t.data,r=t.msg;200==s?a.setState({prizes:c.prize_data,notices:c.notices,rule:c.rule}):n.a.info(r,2,null,!1)})},a.showRules=function(){Object(p.h)({title:"\u7ec4\u961f\u5f00\u5b9d\u7bb1\u6d3b\u52a8\u89c4\u5219",className:"landing-treasure-rules",content:m.a.createElement("div",{dangerouslySetInnerHTML:{__html:a.state.rule}}),closeIcon:a.closeIcon})},a.showMore=function(){a.setState(function(e){if(a.state.unfoldList)a.bg.style=a.innerBox.style=a.prizeBox.style="";else{var t=parseFloat(getComputedStyle(a.prizeBox,":before").getPropertyValue("height")),s=parseFloat(getComputedStyle(a.prizeBox,":after").getPropertyValue("height")),n=a.prizeList.scrollHeight,c=t+n-.12458*t-.595*s+s;a.prizeBox.style.height="".concat(c+27,"px"),a.innerBox.style.height="".concat(n,"px"),a.bg.style.height="".concat(n-s+.12458*t+27,"px")}return{unfoldList:!e.unfoldList}})},a}return Object(l.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.getPrizes()}},{key:"render",value:function(){var e=this,t=this.props.showSystemNotices,a=this.state.notices;return m.a.createElement(m.a.Fragment,null,t&&a&&a.length?m.a.createElement(g,{bullets:a}):null,m.a.createElement("div",{className:"prizes-box",ref:function(t){return e.prizeBox=t}},m.a.createElement("a",{href:"javascript:;",className:"rule-btn",onClick:this.showRules},"\u6d3b\u52a8\u89c4\u5219 > "),m.a.createElement("div",{className:"bg",ref:function(t){return e.bg=t}}),m.a.createElement("div",{className:"inner-box",ref:function(t){return e.innerBox=t}},m.a.createElement("ul",{className:"prize-list",ref:function(t){return e.prizeList=t}},this.state.prizes.map(function(e,t){return m.a.createElement("li",{key:t},e.img_name?m.a.createElement("i",{className:"prize-list__image",style:{backgroundImage:"url(".concat(e.img_name,")")}}):m.a.createElement("i",{className:"prize-list__image"}),0!=e.is_captain&&m.a.createElement("span",{className:"captain top-tag"},"\u961f\u957f\u4e13\u5c5e"),2===e.mode&&m.a.createElement("span",{className:"stage top-tag"},"\u7b2c",e.stage_no,"\u6b21\u5fc5\u4e2d"),e.grant_max?m.a.createElement("div",{className:"bottom-bar"},m.a.createElement("div",{className:"progress-bar"},m.a.createElement("span",{className:"progress"})),m.a.createElement("span",null,"\u9650\u91cf",e.grant_max,"\u4efd")):m.a.createElement("span",{className:"no-limit"},"\u4e0d\u9650\u91cf"))}),m.a.createElement("li",null,m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/prize-placeholder.png",alt:""})))),m.a.createElement("div",{className:"show-more",onClick:this.showMore},this.state.unfoldList?m.a.createElement("div",null,"\u6536\u8d77",m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/fold-icon.png",alt:""})):m.a.createElement("div",null,"\u67e5\u770b\u5168\u90e8\u5956\u54c1",m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/unfold-icon.png",alt:""})))))}}]),t}(u.Component);t.a=f},803:function(e,t,a){"use strict";var s=a(119),n=a(5),c=a(7),r=a(6),o=a(8),i=a(89),l=a(9),u=a(0),m=a.n(u),d=a(3),p=a(162),h=(a(257),a(1204),function(e){function t(){var e,a;Object(n.a)(this,t);for(var c=arguments.length,l=new Array(c),u=0;u<c;u++)l[u]=arguments[u];return(a=Object(r.a)(this,(e=Object(o.a)(t)).call.apply(e,[this].concat(l)))).state={bulletScreenData:[]},a.initializeBulletScreen=function(){var e=Object(i.a)(a),t=Object(s.a)(Array(19).keys()),n=!1;a.swiper=new p.a(".swiper-container",{direction:"vertical",allowTouchMove:!1,autoplay:!0,on:{transitionEnd:function(){var a=this;this.slides.length>20&&(this.removeSlide(0),this.autoplay.start()),this.activeIndex!==this.slides.length-1||n||(this.autoplay.stop(),e.getBulletScreenData().then(function(s){n=!0,a.removeSlide(t),a.appendSlide(e.getSlides(s)),setTimeout(function(){a.autoplay.start(),n=!1})}))}}})},a.getSlides=function(e){return e.map(function(e){return'\n <li class="swiper-slide">\n <img class="avatar" src="'.concat(e.avatar_file,'" alt="">\n <span>').concat(e.user_name," ").concat(e.msg,"</span>\n </li>\n ")})},a.getBulletScreenData=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return d.d.get("".concat(API.home,"/sys/barrage_data")).then(function(t){var s=t.data,n=s.data;if(200==s.code){if(!e)return n;a.setState({bulletScreenData:n},function(){a.initializeBulletScreen()})}})},a}return Object(l.a)(t,e),Object(c.a)(t,[{key:"componentDidMount",value:function(){this.getBulletScreenData(!0)}},{key:"componentWillUnmount",value:function(){this.swiper&&this.swiper.destroy()}},{key:"render",value:function(){var e=this.state.bulletScreenData;return m.a.createElement("div",{id:"user-bullet-screen",className:"swiper-container"},m.a.createElement("ul",{className:"swiper-wrapper"},e.length&&e.map(function(e,t){return m.a.createElement("li",{className:"swiper-slide",key:t},m.a.createElement("img",{src:e.avatar_file,alt:"",className:"avatar"}),m.a.createElement("span",null,e.user_name," ",e.msg))})))}}]),t}(u.Component));t.a=h},804:function(e,t,a){"use strict";a(41);var s,n=a(12),c=a.n(n),r=a(19),o=a(5),i=a(7),l=a(6),u=a(8),m=a(89),d=a(9),p=a(0),h=a.n(p),g=(a(1206),a(3)),f=a(660),E=a(659),b=a(49),y=a(732),v=a(587),_=a.n(v),N=a(22),j=Object(N.b)(function(e){return{user:e.user}})(s=function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(l.a)(this,Object(u.a)(t).call(this,e))).getLength=function(){var e=Object(m.a)(a);g.d.get("".concat(API.home,"/activity/wish_sum")).then(function(t){var a=t.data,s=a.code,n=a.data;200==s&&e.setState({sum:n.sum})})},a.fetchBigCourse=function(){var e=a.state.bigcourse;g.d.get("".concat(API.home,"/activity/preheat_data")).then(function(t){var s=t.data,n=s.code,c=s.data;200===n&&a.setState({bigcourse:Object.assign({},e,{isMore:c.length>4,course:c.length>4?c.filter(function(e,t){return t<4}):c,courseList:c})})})},a.fetchFreeCourse=function(){var e=a.state.freecourse;g.d.get("".concat(API["base-api"],"/assistance/detail")).then(function(t){var s=t.data,n=s.errno,c=s.data;200===n&&a.setState({freecourse:Object.assign({},e,{isMore:c.course_info.length>4,course:c.course_info.length>4?c.course_info.filter(function(e,t){return t<4}):c.course_info,courseList:c.course_info})})})},a.fetchGroupCourse=function(){var e=a.state.groupcourse;g.d.get("".concat(API.home,"/activity/excellent_course")).then(function(t){var s=t.data,n=s.code,c=s.data;200===n&&a.setState({groupcourse:Object.assign({},e,{isMore:c.length>4,course:c.length>4?c.filter(function(e,t){return t<4}):c,courseList:c})})})},a.fetchAICourse=function(e,t){g.d.get("".concat(API.home,"/activity/four_stage/").concat(e)).then(function(s){var n=s.data,c=n.code,r=n.data;200===c&&a.getList(e,r,t)})},a.getList=function(e,t,s){var n=a.state,c=n.basic,r=n.advanced,o=n.higher,i=n.expand;"one"===e&&a.setState({basic:Object.assign({},c,{isMore:t.length>4&&!s,course:t.length>4&&!s?t.filter(function(e,t){return t<4}):t,courseList:t,addshowMore:s})}),"two"===e&&a.setState({advanced:Object.assign({},r,{isMore:t.length>4&&!s,course:t.length>4&&!s?t.filter(function(e,t){return t<4}):t,courseList:t,addshowMore:s})}),"three"===e&&a.setState({higher:Object.assign({},o,{isMore:t.length>4&&!s,course:t.length>4&&!s?t.filter(function(e,t){return t<4}):t,courseList:t,addshowMore:s})}),"four"===e&&a.setState({expand:Object.assign({},i,{isMore:t.length>4&&!s,course:t.length>4&&!s?t.filter(function(e,t){return t<4}):t,courseList:t,addshowMore:s})})},a.toQQque=function(){Object(g.c)("version")?Object(g.a)("toQQ","https://q.url.cn/AB8aue?_type=wpa&qidian=true"):location.href="https://q.url.cn/AB8aue?_type=wpa&qidian=true"},a.toCourse=function(e){var t=a.props.history;Object(g.c)("version")?Object(g.a)("toCourse",e):t.push("/detail?id=".concat(e))},a.handleToMore=function(e){var t={};a.state[e].isMore?(t[e]={isMore:!a.state[e].isMore,course:a.state[e].courseList,courseList:a.state[e].courseList,addshowMore:!a.state[e].addshowMore},a.setState(Object(r.a)({},t))):(t[e]={isMore:!a.state[e].isMore,course:a.state[e].courseList.filter(function(e,t){return t<4}),courseList:a.state[e].courseList,addshowMore:!a.state[e].addshowMore},a.setState(Object(r.a)({},t)))},a.toLogin=function(){Object(g.c)("version")?Object(g.a)("toLogin"):a.props.history.push("/passport/login")},a.freeStudy=function(){a.setState({tofreeStudy:!0})},a.closePopup=function(){a.setState({tofreeStudy:!1})},a.closePopupWish=function(){var e=Object(m.a)(a);e.setState({isshowFollow:!1}),setTimeout(function(){e.toJoinList(e.state.wish.id,e.state.wish.key)},200)},a.getQRcodeUrl=function(){var e=Object(m.a)(a);g.d.get("".concat(API["base-api"],"/wx/user_temporary_qrcode/").concat(e.props.user.data.uid)).then(function(e){var t=e.data,s=t.errno,n=t.data,r=t.msg;0==s?(a.setState({qrUrl:n.url}),_.a.toDataURL(n.url,function(e,t){a.setState({followBarcode:t})})):c.a.info(r,2)})},a.addWishList=function(e,t){var s=Object(m.a)(a),n=!a.props.user.hasError;s.setState({wish:{id:e,key:t}}),n?s.isFollow(e,t):s.toLogin()},a.isFollow=function(e,t){var s=Object(m.a)(a);g.d.get("".concat(API.home,"/sys/user/isFollowWeChat")).then(function(a){var n=a.data,r=n.code,o=n.data,i=n.msg;200===r?(s.setState({isshowFollow:!o.is_follow}),s.state.isshowFollow?s.getQRcodeUrl():s.toJoinList(e,t)):c.a.info(i,2)})},a.toJoinList=function(e,t){var s=Object(m.a)(a);g.d.post("".concat(API.home,"/activity/join_list"),{course_id:e}).then(function(e){var a=e.data,n=a.code,r=a.msg;200==n?(c.a.success("\u5df2\u6210\u529f\u52a0\u5165\u5fc3\u613f\u5355",3),s.getLength(),"1"===t&&s.fetchAICourse("one",s.state.basic.addshowMore),"2"===t&&s.fetchAICourse("two",s.state.advanced.addshowMore),"3"===t&&s.fetchAICourse("three",s.state.higher.addshowMore),"4"===t&&s.fetchAICourse("four",s.state.expand.addshowMore),"group"===t&&s.fetchGroupCourse()):c.a.info(r,2)})},a.saveImage=function(){var e=Object(g.c)("version");e="string"===typeof e?e.replace(".","").replace(".","").slice(0,3):"";var t=a.state.qrUrl;e&&parseInt(e)<451?c.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",3,null,!1):Object(g.a)("generateQRCode",t)},a.saveImage2=function(){var e=Object(g.c)("version");(e="string"===typeof e?e.replace(".","").replace(".","").slice(0,3):"")&&parseInt(e)<451?c.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",3,null,!1):Object(g.a)("saveImage","https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg")},a.getTeamInfo=function(){g.d.get("".concat(API.home,"/sys/treasure/teamInfo")).then(function(e){var t=e.data,s=t.code,n=t.data,r=t.msg;if(200===s){var o=n.info,i=n.removable_data;a.setState({removable:o.removable,currentId:o.removable>0?i[0].id:null})}else c.a.info(r)})},a.toBoxList=function(){var e=!a.props.user.hasError,t=a.state.currentId,s="";t&&(s="?id=".concat(t)),e?Object(g.c)("version")?a.props.history.push("/year/yearTreasure".concat(s,"?version=").concat(Object(g.c)("version"))):a.props.history.push("/year/yearTreasure".concat(s)):a.toLogin()},a.toYearWish=function(){!a.props.user.hasError?Object(g.c)("version")?a.props.history.push("/year/yearWish?version=".concat(Object(g.c)("version"))):a.props.history.push("/year/yearWish"):a.toLogin()},a.state={tofreeStudy:!1,basic:{course:[],courseList:[],isMore:!1,addshowMore:!1},advanced:{course:[],courseList:[],isMore:!1,addshowMore:!1},higher:{course:[],courseList:[],isMore:!1,addshowMore:!1},expand:{course:[],courseList:[],isMore:!1,addshowMore:!1},bigcourse:{course:[],courseList:[],isMore:!1},freecourse:{course:[],courseList:[],isMore:!1},groupcourse:{course:[],courseList:[],isMore:!1},isshowFollow:!1,wish:{id:"",key:""},followBarcode:"",qrUrl:"",sum:"",removable:"",currentId:""},a}return Object(d.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.getTeamInfo(),this.getLength(),this.fetchBigCourse(),this.fetchFreeCourse(),this.fetchGroupCourse(),this.fetchAICourse("one",!1),this.fetchAICourse("two",!1),this.fetchAICourse("three",!1),this.fetchAICourse("four",!1)}},{key:"shouldComponentUpdate",value:function(e,t,a){return this.props.isAppUpdate===e.isAppUpdate||(this.getTeamInfo(),this.getLength(),this.fetchBigCourse(),this.fetchFreeCourse(),this.fetchGroupCourse(),this.fetchAICourse("one"),this.fetchAICourse("two"),this.fetchAICourse("three"),this.fetchAICourse("four"),!1)}},{key:"render",value:function(){var e=this,t=this.state,a=t.bigcourse,s=t.freecourse,n=t.groupcourse,c=t.basic,r=t.advanced,o=t.higher,i=t.expand,l=t.removable,u=t.sum;return h.a.createElement("div",{className:"year-index-course"},h.a.createElement("div",{className:"nav-right"},h.a.createElement("span",{onClick:this.toBoxList,className:"nav-right__link"},"\u672a\u5f00\u5b9d\u7bb1",l>0&&h.a.createElement("i",{className:"nav-right__number"},l)),h.a.createElement("a",{onClick:function(){return e.toYearWish()},className:"nav-right__link"},"\u5fc3\u613f\u5355",u>0&&h.a.createElement("i",{className:"nav-right__number"},u))),h.a.createElement(f.a,{title:"\u91cd\u78c5\u597d\u8bfe",id:"year-course"},h.a.createElement("div",null,a.course&&a.course.length>0&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"bigcourse course-box"},a.course.map(function(t){return h.a.createElement(E.a,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},h.a.createElement("div",{className:"coupon-course__footer"},1==t.is_buy&&h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-study"},"\u5f00\u59cb\u5b66\u4e60"),0==t.is_buy&&h.a.createElement("a",{onClick:function(){return e.toQQque()},className:"btn big-course"},"\u901f\u62a2\u62fc\u56e2\u540d\u989d")))})),a.courseList&&a.courseList.length>4&&h.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("bigcourse")}},a.isMore?"\u67e5\u770b\u66f4\u591a":"\u6536\u8d77")))),h.a.createElement(f.a,{title:"\u4eba\u6c14\u597d\u8bfe\u514d\u8d39\u5b66",id:"year-free"},h.a.createElement("div",null,s.course&&s.course.length>0&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"freecourse course-box"},s.course.map(function(t){return h.a.createElement(E.a,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},h.a.createElement("div",{className:"coupon-course__footer"},1==t.is_buy&&h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-study"},"\u5f00\u59cb\u5b66\u4e60"),0==t.is_buy&&h.a.createElement("a",{onClick:function(){return e.freeStudy()},className:"btn free-study"},"\u70b9\u51fb\u514d\u8d39\u5b66"),h.a.createElement("p",{className:"free-course-num"},"\u5df2\u9001\u51fa",h.a.createElement("span",null,t.act_num),"\u4e2a\u8bfe\u7a0b")))})),s.courseList&&s.courseList.length>4&&h.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("freecourse")}},s.isMore?"\u67e5\u770b\u66f4\u591a":"\u6536\u8d77")))),h.a.createElement(f.a,{title:"\u7cbe\u54c1\u597d\u8bfe1\u5206\u5f00\u62a2",id:"year-group"},h.a.createElement("div",null,n.course&&n.course.length>0&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"groupcourse course-box"},n.course.map(function(t){return h.a.createElement(E.a,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},h.a.createElement("div",{className:"group-num"},"\u9650\u91cf300\u4e2a"),h.a.createElement("div",{className:"coupon-course__footer"},1==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("p",{className:"course-title text-overflow-1"},t.course_title),h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-study"},"\u5f00\u59cb\u5b66\u4e60")),0==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"type"},h.a.createElement("span",{className:"tag"},"\u62fc\u56e2\u4ef7"),h.a.createElement("span",{className:"time"},"12\u670823\u65e5\u5f00\u56e2")),h.a.createElement("div",{className:"price"},"\xa5",h.a.createElement("span",{className:"new-price"},"0.01"),h.a.createElement("span",{className:"old-price"},"\u73b0\u4ef7\uff1a",h.a.createElement("s",null,"\xa5",t.price1))),h.a.createElement("div",{className:"status"},h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"status-btn to-buy"},"\u76f4\u63a5\u8d2d\u4e70"),1==t.is_join&&h.a.createElement("a",{className:"status-btn add-wish"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png",alt:""}),"\u5df2\u52a0\u5fc3\u613f\u5355"),0==t.is_join&&h.a.createElement("a",{onClick:function(){return e.addWishList(t.course_id,"group")},className:"status-btn add-wish-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png",alt:""}),"\u52a0\u5165\u5fc3\u613f\u5355")))))})),n.courseList&&n.courseList.length>4&&h.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("groupcourse")}},n.isMore?"\u67e5\u770b\u66f4\u591a":"\u6536\u8d77")))),h.a.createElement(f.a,{title:"\u597d\u8bfe\u4ef7\u5230\uff0c\u7b49\u4f60\u6284\u5e95",id:"year-discount"},h.a.createElement("div",null,h.a.createElement("h4",{className:"ai-course__subtitle"},"\u57fa\u7840"),c.course&&c.course.length>0&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"groupcourse course-box"},c.course.map(function(t){return h.a.createElement(E.a,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},h.a.createElement("div",{className:"coupon-course__footer"},1==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("p",{className:"course-title text-overflow-1"},t.course_title),h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-study"},"\u5f00\u59cb\u5b66\u4e60")),0==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"type"},0==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u6d3b\u52a8\u4ef7"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u59cb")),1==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u62fc\u56e2\u4ef7"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u56e2")),2==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u597d\u53cb\u5e2e\u5e2e\u780d"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u780d"))),h.a.createElement("div",{className:"price"},2==t.type?"\u5230\u624b\u6700\u4f4e:\xa5":"\xa5",h.a.createElement("span",{className:"new-price"},t.price2),h.a.createElement("span",{className:"old-price"},2==t.type?"":"\u73b0\u4ef7\uff1a",h.a.createElement("s",null,"\xa5",t.price1))),h.a.createElement("div",{className:"status"},h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"status-btn to-buy"},"\u76f4\u63a5\u8d2d\u4e70"),1==t.is_join&&h.a.createElement("a",{className:"status-btn add-wish"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png",alt:""}),"\u5df2\u52a0\u5fc3\u613f\u5355"),0==t.is_join&&h.a.createElement("a",{onClick:function(){return e.addWishList(t.course_id,"1")},className:"status-btn add-wish-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png",alt:""}),"\u52a0\u5165\u5fc3\u613f\u5355")))))})),c.courseList&&c.courseList.length>4&&h.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("basic")}},c.isMore?"\u67e5\u770b\u66f4\u591a":"\u6536\u8d77")),h.a.createElement("h4",{className:"ai-course__subtitle"},"\u8fdb\u9636"),r.course&&r.course.length>0&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"groupcourse course-box"},r.course.map(function(t){return h.a.createElement(E.a,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},h.a.createElement("div",{className:"coupon-course__footer"},1==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("p",{className:"course-title text-overflow-1"},t.course_title),h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-study"},"\u5f00\u59cb\u5b66\u4e60")),0==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"type"},0==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u6d3b\u52a8\u4ef7"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u59cb")),1==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u62fc\u56e2\u4ef7"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u56e2")),2==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u597d\u53cb\u5e2e\u5e2e\u780d"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u780d"))),h.a.createElement("div",{className:"price"},2==t.type?"\u5230\u624b\u6700\u4f4e:\xa5":"\xa5",h.a.createElement("span",{className:"new-price"},t.price2),h.a.createElement("span",{className:"old-price"},2==t.type?"":"\u73b0\u4ef7\uff1a",h.a.createElement("s",null,"\xa5",t.price1))),h.a.createElement("div",{className:"status"},h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"status-btn to-buy"},"\u76f4\u63a5\u8d2d\u4e70"),1==t.is_join&&h.a.createElement("a",{className:"status-btn add-wish"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png",alt:""}),"\u5df2\u52a0\u5fc3\u613f\u5355"),0==t.is_join&&h.a.createElement("a",{onClick:function(){return e.addWishList(t.course_id,"2")},className:"status-btn add-wish-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png",alt:""}),"\u52a0\u5165\u5fc3\u613f\u5355")))))})),r.courseList&&r.courseList.length>4&&h.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("advanced")}},r.isMore?"\u67e5\u770b\u66f4\u591a":"\u6536\u8d77")),h.a.createElement("h4",{className:"ai-course__subtitle"},"\u9ad8\u9636"),o.course&&o.course.length>0&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"groupcourse course-box"},o.course.map(function(t){return h.a.createElement(E.a,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},h.a.createElement("div",{className:"coupon-course__footer"},1==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("p",{className:"course-title text-overflow-1"},t.course_title),h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-study"},"\u5f00\u59cb\u5b66\u4e60")),0==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"type"},0==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u6d3b\u52a8\u4ef7"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u59cb")),1==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u62fc\u56e2\u4ef7"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u56e2")),2==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u597d\u53cb\u5e2e\u5e2e\u780d"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u780d"))),h.a.createElement("div",{className:"price"},2==t.type?"\u5230\u624b\u6700\u4f4e:\xa5":"\xa5",h.a.createElement("span",{className:"new-price"},t.price2),h.a.createElement("span",{className:"old-price"},2==t.type?"":"\u73b0\u4ef7\uff1a",h.a.createElement("s",null,"\xa5",t.price1))),h.a.createElement("div",{className:"status"},h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"status-btn to-buy"},"\u76f4\u63a5\u8d2d\u4e70"),1==t.is_join&&h.a.createElement("a",{className:"status-btn add-wish"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png",alt:""}),"\u5df2\u52a0\u5fc3\u613f\u5355"),0==t.is_join&&h.a.createElement("a",{onClick:function(){return e.addWishList(t.course_id,"3")},className:"status-btn add-wish-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png",alt:""}),"\u52a0\u5165\u5fc3\u613f\u5355")))))})),o.courseList&&o.courseList.length>4&&h.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("higher")}},o.isMore?"\u67e5\u770b\u66f4\u591a":"\u6536\u8d77")),h.a.createElement("h4",{className:"ai-course__subtitle"},"\u6269\u5c55"),i.course&&i.course.length>0&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"groupcourse course-box"},i.course.map(function(t){return h.a.createElement(E.a,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},h.a.createElement("div",{className:"coupon-course__footer"},1==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("p",{className:"course-title text-overflow-1"},t.course_title),h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-study"},"\u5f00\u59cb\u5b66\u4e60")),0==t.is_buy&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"type"},0==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u6d3b\u52a8\u4ef7"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u59cb")),1==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u62fc\u56e2\u4ef7"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u56e2")),2==t.type&&h.a.createElement(h.a.Fragment,null,h.a.createElement("span",{className:"tag"},"\u597d\u53cb\u5e2e\u5e2e\u780d"),h.a.createElement("span",{className:"time"},"12.23\u5f00\u780d"))),h.a.createElement("div",{className:"price"},2==t.type?"\u5230\u624b\u6700\u4f4e:\xa5":"\xa5",h.a.createElement("span",{className:"new-price"},t.price2),h.a.createElement("span",{className:"old-price"},2==t.type?"":"\u73b0\u4ef7\uff1a",h.a.createElement("s",null,"\xa5",t.price1))),h.a.createElement("div",{className:"status"},h.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"status-btn to-buy"},"\u76f4\u63a5\u8d2d\u4e70"),1==t.is_join&&h.a.createElement("a",{className:"status-btn add-wish"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png",alt:""}),"\u5df2\u52a0\u5fc3\u613f\u5355"),0==t.is_join&&h.a.createElement("a",{onClick:function(){return e.addWishList(t.course_id,"4")},className:"status-btn add-wish-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png",alt:""}),"\u52a0\u5165\u5fc3\u613f\u5355")))))})),i.courseList&&i.courseList.length>4&&h.a.createElement("button",{className:"more-button",onClick:function(){return e.handleToMore("expand")}},i.isMore?"\u67e5\u770b\u66f4\u591a":"\u6536\u8d77")))),this.state.tofreeStudy&&h.a.createElement(y.a,{top:100,closePopup:this.closePopup,mark:!1},h.a.createElement("div",{className:"sub__code_container"},h.a.createElement("p",{className:"sub__title"},"\u63d0\u9192\u670d\u52a1"),h.a.createElement("p",{className:"sub__tip"},"\u8fdb\u5165\u670d\u52a1\u53f7\u56de\u590d",h.a.createElement("i",null,"77"),"\u514d\u8d39\u9886\u53d6\u8bfe\u7a0b"),h.a.createElement("img",{className:"sub__qr_code",id:"live-qr-code",src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg",alt:""}),g.b.isAndroidApp?h.a.createElement("button",{className:"save-image",onClick:this.saveImage2},"\u4fdd\u5b58\u4e8c\u7ef4\u7801"):h.a.createElement("p",{className:"sub__tip"},"\u957f\u6309\u8bc6\u522b/\u626b\u7801 \u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7"))),this.state.isshowFollow&&h.a.createElement(y.a,{top:100,closePopup:this.closePopupWish,mark:!1},h.a.createElement("div",{className:"sub__code_container"},h.a.createElement("p",{className:"sub__title"},"\u63d0\u9192\u670d\u52a1"),h.a.createElement("p",{className:"sub__tip"},"\u8bfe\u7a0b\u5f00\u552e\u7acb\u5373\u63d0\u9192\uff0c\u4e0d\u9519\u8fc7\u4efb\u4f55\u4f18\u60e0\u54e6\uff01"),h.a.createElement("img",{className:"sub__qr_code",id:"live-qr-code",src:this.state.followBarcode,alt:""}),g.b.isAndroidApp?h.a.createElement("button",{className:"save-image",onClick:this.saveImage},"\u4fdd\u5b58\u4e8c\u7ef4\u7801"):h.a.createElement("p",{className:"sub__tip"},"\u957f\u6309\u8bc6\u522b/\u626b\u7801 \u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7"))))}}]),t}(p.Component))||s;t.a=Object(b.g)(j)}}]);
//# sourceMappingURL=2.1dd4d567.chunk.js.map //# sourceMappingURL=2.ec3cb3e6.chunk.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["components/blessingPreheat/courseItem/index.js","components/activity/newyear-2019/common/commonContainer/index.js","components/activity/newyear-2019/common/commonPopup/index.js","components/activity/newyear-2019/common/prizes/index.js","components/activity/newyear-2019/common/user-bullet-screen/index.js","components/activity/newyear-2019/preheat/YearCourse/index.js"],"names":["CourseItem","_this$props","this","props","image","toCourse","id","react__WEBPACK_IMPORTED_MODULE_5___default","a","createElement","className","src","alt","onClick","children","Component","CommonContainer","Object","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__","call","title","React","Children","map","child","Fragment","index","_this","computedStyle","top","concat","width","closePopup","mark","style","e","stopPropagation","SystemBulletScreen","Loadable","__webpack_require__","then","bind","Prizes","closeIcon","state","prizes","notices","rule","unfoldList","getPrizes","http","get","API","home","res","_res$data","data","code","msg","setState","antd_mobile_lib_toast__WEBPACK_IMPORTED_MODULE_1___default","info","showRules","Popup","content","react__WEBPACK_IMPORTED_MODULE_7___default","dangerouslySetInnerHTML","__html","showMore","prev","bg","innerBox","prizeBox","headHeight","parseFloat","getComputedStyle","getPropertyValue","footerHeight","h","prizeList","scrollHeight","scrollListHeight","height","_this2","showSystemNotices","length","bullets","ref","el","href","item","key","img_name","backgroundImage","is_captain","mode","stage_no","grant_max","UserBulletScreen","bulletScreenData","initializeBulletScreen","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__","indexArray","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__","Array","slidesPerRequest","keys","removed","swiper","Swiper","direction","allowTouchMove","autoplay","on","transitionEnd","_this3","slides","removeSlide","start","activeIndex","stop","getBulletScreenData","appendSlide","getSlides","setTimeout","list","avatar_file","user_name","initializeSwiper","arguments","undefined","destroy","YearCourse","connect","user","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_3__","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__","getLength","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__","sum","fetchBigCourse","bigcourse","_res$data2","assign","isMore","course","filter","courseList","fetchFreeCourse","freecourse","_res$data3","errno","course_info","fetchGroupCourse","groupcourse","_res$data4","fetchAICourse","addshowMore","_res$data5","getList","_this2$state","basic","advanced","higher","expand","toQQque","getParam","SendMessageToApp","location","courseId","history","push","handleToMore","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__","toLogin","freeStudy","tofreeStudy","closePopupWish","isshowFollow","toJoinList","wish","getQRcodeUrl","uid","_res$data6","qrUrl","url","QRCode","toDataURL","err","followBarcode","addWishList","isLogin","hasError","isFollow","_res$data7","is_follow","post","course_id","_res$data8","success","saveImage","version","replace","slice","QRCodeUrl","parseInt","saveImage2","getTeamInfo","_res$data9","removable_data","removable","currentId","toBoxList","search","toYearWish","nextProps","nextState","nextContext","isAppUpdate","_this$state","react__WEBPACK_IMPORTED_MODULE_9___default","_common_commonContainer_index__WEBPACK_IMPORTED_MODULE_12__","_blessingPreheat_courseItem_index__WEBPACK_IMPORTED_MODULE_13__","image_name","is_buy","act_num","course_title","price1","is_join","type","price2","_common_commonPopup_index__WEBPACK_IMPORTED_MODULE_15__","browser","isAndroidApp","withRouter"],"mappings":"oQAGMA,2LACK,IAAAC,EACsBC,KAAKC,MAA1BC,EADDH,EACCG,MAAMC,EAD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AAAC,cAAA,KAAGC,UAAU,YAAb,gHACAqN,EAAAvN,EAAAC,cAAA,OAAKC,UAAU,eAAeJ,GAAI,eAC7BK,IAAKT,KAAK4C,MAAMkJ,cAAepL,IAAI,KAEpC+N,IAAQC,aACJb,EAAAvN,EAAAC,cAAA,UAAQC,UAAW,aAAcG,QAASX,KAAKyM,WAA/C,kCACAoB,EAAAvN,EAAAC,cAAA,KAAGC,UAAU,YAAb,sHA1+BXK,iBAo/BV8N,gBAAWvG","file":"mrstatic/js/2.ec3cb3e6.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport './index.scss';\n\nclass CourseItem extends Component {\n render() {\n const { image,toCourse,id} = this.props;\n return (\n <div className=\"course-container\">\n <div className=\"course__cover\">\n <img src={image} alt=\"cover\" onClick={() => toCourse(id)}/>\n </div>\n {this.props.children}\n </div>\n );\n }\n}\n\nexport default CourseItem;","import React, { Component } from 'react'\nimport './index.scss'\n\nexport default class CommonContainer extends Component {\n constructor(props) {\n super(props)\n }\n render() {\n const { id } = this.props;\n return (\n <div className='common_container' id={id}>\n <div className='container_top'></div>\n <div className='container_content'>\n {\n this.props.title &&\n <div className='title_container'>\n <i></i>\n <p>{this.props.title}</p>\n <i></i>\n </div>\n }\n {\n React.Children.map(this.props.children, function (child) {\n return <>{child}</>;\n })\n }\n </div>\n <div className='container_bottom'></div>\n </div>\n )\n }\n}\n","import React, { Component } from 'react';\nimport './index.scss';\n\nexport default class index extends Component {\n constructor(props) {\n super(props);\n }\n computedStyle = () => {\n return {\n 'top': `${this.props.top}px`,\n 'width': `${this.props.width}px`\n }\n }\n\n // 控制点击空白处是否关闭弹窗 需要传递一个boolean属性 mark\n closePopup = () => {\n if(this.props.mark) {\n this.props.closePopup();\n }\n }\n\n render() {\n return (\n <div className='popup__container' onClick={this.closePopup}>\n <div className='content__container' style={this.computedStyle()} onClick={(e) => {e.stopPropagation()}}>\n <img className=\"close__btn\" onClick={this.props.closePopup} src='https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png' alt=\"\" />\n {\n React.Children.map(this.props.children, function (child) {\n return <>{child}</>;\n })\n }\n </div>\n </div>\n )\n }\n}\n","import React, { Component } from 'react'\nimport { http } from \"@/utils\"\nimport './prizes.scss'\nimport { Popup } from \"@common/index\"\nimport { Toast } from \"antd-mobile\"\n\n\nimport Loadable from '@loadable/component'\n\nconst SystemBulletScreen = Loadable(() => import(/* webpackChunkName: 'system-notices' */'@components/activity/newyear-2019/common/system-bullet-screen'))\n\nclass Prizes extends Component {\n\n prizeBox\n prizeList\n bg\n innerBox\n closeIcon = 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png'\n\n state = {\n prizes: [],\n notices: [],\n rule: [],\n unfoldList: false,\n }\n\n componentDidMount() {\n this.getPrizes()\n }\n\n getPrizes = () => {\n http.get(`${API.home}/sys/prize_data`)\n .then(res => {\n const {code, data, msg} = res.data\n if (code == 200) {\n\n this.setState({\n prizes: data['prize_data'],\n notices: data['notices'],\n rule: data['rule']\n })\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n\n showRules = () => {\n Popup({\n title: '组队开宝箱活动规则',\n className: 'landing-treasure-rules',\n content: <div dangerouslySetInnerHTML={{__html: this.state.rule}}/>,\n closeIcon: this.closeIcon\n })\n }\n\n\n showMore = () => {\n this.setState(prev => {\n if (this.state.unfoldList) {\n this.bg.style = this.innerBox.style = this.prizeBox.style = ''\n } else {\n let headHeight = parseFloat(getComputedStyle(this.prizeBox, ':before').getPropertyValue('height')),\n footerHeight = parseFloat(getComputedStyle(this.prizeBox, ':after').getPropertyValue('height')),\n innerOffsetTop = 0.12458,\n footerOffsetTop = 0.595,\n h = this.prizeList.scrollHeight,\n scrollListHeight = headHeight + h - (innerOffsetTop * headHeight) - (footerOffsetTop * footerHeight) + footerHeight,\n bottomOffset = 27\n\n this.prizeBox.style.height = `${scrollListHeight + bottomOffset}px`\n this.innerBox.style.height = `${h}px`\n this.bg.style.height = `${h - footerHeight + innerOffsetTop * headHeight + bottomOffset}px`\n }\n return {unfoldList: !prev.unfoldList}\n })\n\n }\n\n render() {\n const {\n showSystemNotices\n } = this.props\n const {notices} = this.state\n return (\n <>\n {(showSystemNotices && notices && notices.length) ? <SystemBulletScreen bullets={notices}/> : null}\n <div className={'prizes-box'} ref={el => this.prizeBox = el}>\n <a href=\"javascript:;\" className='rule-btn' onClick={this.showRules}>活动规则 > </a>\n <div className={`bg`} ref={el => this.bg = el}/>\n <div className={`inner-box`} ref={el => this.innerBox = el}>\n <ul className='prize-list' ref={el => this.prizeList = el}>\n {\n this.state.prizes.map((item, index) => {\n return (\n <li key={index}>\n {\n item.img_name\n ? <i className=\"prize-list__image\" style={{\n backgroundImage: `url(${item.img_name})`\n }}/>\n : <i className=\"prize-list__image\"/>\n }\n {/* <img src={item.img_name} alt=\"\"/> */}\n {\n item.is_captain != 0 && <span className='captain top-tag'>队长专属</span>\n }\n {\n item.mode === 2 && <span className='stage top-tag'>第{item.stage_no}次必中</span>\n }\n {\n item.grant_max\n ?\n <div className='bottom-bar'>\n <div className=\"progress-bar\"><span className={'progress'}/></div>\n <span>限量{item.grant_max}份</span>\n </div>\n : <span className='no-limit'>不限量</span>\n }\n </li>\n )\n })\n }\n <li>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/prize-placeholder.png\" alt=\"\"/>\n </li>\n </ul>\n </div>\n <div className=\"show-more\" onClick={this.showMore}>\n {\n this.state.unfoldList\n ? <div>\n 收起\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/fold-icon.png\" alt=\"\"/>\n </div>\n : <div>\n 查看全部奖品\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/unfold-icon.png\" alt=\"\"/>\n </div>\n }\n </div>\n </div>\n </>\n )\n }\n}\n\nexport default Prizes\n","import React, { Component } from 'react'\nimport { http } from \"@/utils\"\nimport Swiper from 'swiper'\nimport 'swiper/dist/css/swiper.min.css'\nimport './bullet-screen.scss'\n\nclass UserBulletScreen extends Component {\n\n swiper\n\n state = {\n bulletScreenData: []\n }\n\n componentDidMount() {\n this.getBulletScreenData(true)\n }\n\n componentWillUnmount() {\n this.swiper && this.swiper.destroy()\n }\n\n\n initializeBulletScreen = () => {\n const _this = this\n const slidesPerRequest = 20\n const indexArray = [...Array(slidesPerRequest - 1).keys()]\n let removed = false\n this.swiper = new Swiper('.swiper-container', {\n direction: 'vertical',\n allowTouchMove: false,\n autoplay: true,\n on: {\n transitionEnd() {\n if (this.slides.length > slidesPerRequest) {\n this.removeSlide(0)\n this.autoplay.start()\n }\n if (this.activeIndex === this.slides.length - 1 && !removed) {\n this.autoplay.stop()\n _this.getBulletScreenData().then(res => {\n removed = true\n this.removeSlide(indexArray)\n this.appendSlide(_this.getSlides(res))\n setTimeout(() => {\n this.autoplay.start()\n removed = false\n })\n })\n }\n }\n }\n })\n }\n\n getSlides = list => list.map(item => {\n return `\n <li class=\"swiper-slide\">\n <img class=\"avatar\" src=\"${item.avatar_file}\" alt=\"\">\n <span>${item.user_name} ${item.msg}</span>\n </li>\n `\n })\n\n getBulletScreenData = (initializeSwiper = false) => {\n return http.get(`${API.home}/sys/barrage_data`)\n .then(res => {\n const {data, code} = res.data\n if (code == 200) {\n if (initializeSwiper) {\n this.setState({\n bulletScreenData: data\n }, () => {\n this.initializeBulletScreen()\n })\n } else {\n return data\n }\n }\n })\n }\n\n\n render() {\n const {bulletScreenData} = this.state\n return (\n <div id=\"user-bullet-screen\" className='swiper-container'>\n <ul className='swiper-wrapper'>\n {\n bulletScreenData.length && bulletScreenData.map((item, index) => {\n return (\n <li className='swiper-slide' key={index}>\n <img src={item['avatar_file']}\n alt=\"\" className=\"avatar\"/>\n <span>{item.user_name} {item.msg}</span>\n </li>\n )\n })\n }\n </ul>\n </div>\n )\n }\n}\n\nexport default UserBulletScreen\n","import React, {Component} from 'react'\nimport './index.scss'\nimport {http, SendMessageToApp, getParam, browser} from '@/utils'\nimport CommonContainer from './../../common/commonContainer/index'\nimport CourseItem from '../../../../blessingPreheat/courseItem/index'\nimport {withRouter} from \"react-router-dom\"\nimport CommonPopup from './../../common/commonPopup/index'\nimport {Toast} from 'antd-mobile'\nimport QRCode from 'qrcode'\nimport {connect} from \"react-redux\"\n\n@connect(state => ({\n user: state.user\n}))\n\nclass YearCourse extends Component {\n constructor(props) {\n super(props)\n this.state = {\n tofreeStudy: false,\n basic: {\n course: [],\n courseList: [],\n isMore: false,\n addshowMore: false,\n },\n advanced: {\n course: [],\n courseList: [],\n isMore: false,\n addshowMore: false,\n },\n higher: {\n course: [],\n courseList: [],\n isMore: false,\n addshowMore: false,\n },\n expand: {\n course: [],\n courseList: [],\n isMore: false,\n addshowMore: false,\n },\n bigcourse: {\n course: [],\n courseList: [],\n isMore: false,\n },\n freecourse: {\n course: [],\n courseList: [],\n isMore: false,\n },\n groupcourse: {\n course: [],\n courseList: [],\n isMore: false,\n },\n isshowFollow: false, // 是否提示关注公众号\n wish: {\n id: '',\n key: \"\"\n },\n followBarcode: '',\n qrUrl:'',\n sum:'',\n removable:'',\n currentId:''\n }\n }\n\n componentDidMount() {\n this.getTeamInfo()\n this.getLength()\n this.fetchBigCourse()\n this.fetchFreeCourse()\n this.fetchGroupCourse()\n // AI之路-基础\n this.fetchAICourse('one', false)\n // AI之路-进阶\n this.fetchAICourse('two', false)\n // AI之路-高阶\n this.fetchAICourse('three', false)\n // AI之路-拓展\n this.fetchAICourse('four', false)\n }\n\n shouldComponentUpdate(nextProps, nextState, nextContext) {\n if (this.props.isAppUpdate !== nextProps.isAppUpdate) {\n this.getTeamInfo()\n this.getLength()\n this.fetchBigCourse()\n this.fetchFreeCourse()\n this.fetchGroupCourse()\n // AI之路-基础\n this.fetchAICourse('one')\n // AI之路-进阶\n this.fetchAICourse('two')\n // AI之路-高阶\n this.fetchAICourse('three')\n // AI之路-拓展\n this.fetchAICourse('four')\n return false\n }\n return true\n }\n\n getLength = () => {\n let _this = this\n http.get(`${API.home}/activity/wish_sum`).then(res => {\n const {code, data} = res.data\n if (code == 200) {\n _this.setState({\n sum: data.sum\n })\n }\n })\n }\n\n fetchBigCourse = () => {\n const {bigcourse} = this.state\n http.get(`${API.home}/activity/preheat_data`).then(res => {\n const {code, data} = res.data\n if (code === 200) {\n this.setState({\n bigcourse: Object.assign({}, bigcourse, {\n isMore: data.length > 4 ? true : false,\n course: data.length > 4 ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n })\n })\n }\n })\n }\n fetchFreeCourse = () => {\n const {freecourse} = this.state\n http.get(`${API['base-api']}/assistance/detail`).then(res => {\n const {errno, data} = res.data\n if (errno === 200) {\n this.setState({\n freecourse: Object.assign({}, freecourse, {\n isMore: data.course_info.length > 4 ? true : false,\n course: data.course_info.length > 4 ? data.course_info.filter((item, index) => index < 4) : data.course_info,\n courseList: data.course_info,\n })\n })\n }\n })\n }\n fetchGroupCourse = () => {\n const {groupcourse} = this.state\n http.get(`${API.home}/activity/excellent_course`).then(res => {\n const {code, data} = res.data\n if (code === 200) {\n this.setState({\n groupcourse: Object.assign({}, groupcourse, {\n isMore: data.length > 4 ? true : false,\n course: data.length > 4 ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n })\n })\n }\n })\n }\n\n fetchAICourse = (key, addshowMore) => {\n http.get(`${API.home}/activity/four_stage/${key}`).then(res => {\n const {code, data} = res.data\n if (code === 200) {\n this.getList(key, data, addshowMore)\n }\n })\n }\n\n getList = (key, data, addshowMore) => {\n const {basic, advanced, higher, expand} = this.state\n if (key === 'one') {\n this.setState({\n basic: Object.assign({}, basic, {\n isMore: data.length > 4 && !addshowMore ? true : false,\n course: data.length > 4 && !addshowMore ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n addshowMore: addshowMore,\n })\n })\n }\n if (key === 'two') {\n this.setState({\n advanced: Object.assign({}, advanced, {\n isMore: data.length > 4 && !addshowMore ? true : false,\n course: data.length > 4 && !addshowMore ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n addshowMore: addshowMore,\n })\n })\n }\n if (key === 'three') {\n this.setState({\n higher: Object.assign({}, higher, {\n isMore: data.length > 4 && !addshowMore ? true : false,\n course: data.length > 4 && !addshowMore ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n addshowMore: addshowMore,\n })\n })\n }\n if (key === 'four') {\n this.setState({\n expand: Object.assign({}, expand, {\n isMore: data.length > 4 && !addshowMore ? true : false,\n course: data.length > 4 && !addshowMore ? data.filter((item, index) => index < 4) : data,\n courseList: data,\n addshowMore: addshowMore,\n })\n })\n }\n }\n\n toQQque = () => {\n if (!getParam('version')) {\n location.href = 'https://q.url.cn/AB8aue?_type=wpa&qidian=true'\n } else {\n SendMessageToApp(\"toQQ\", 'https://q.url.cn/AB8aue?_type=wpa&qidian=true')\n }\n }\n\n // 去课程详情页\n toCourse = (courseId) => {\n const {history} = this.props\n if (!getParam('version')) {\n history.push(`/detail?id=${courseId}`)\n } else {\n SendMessageToApp(\"toCourse\", courseId)\n }\n }\n handleToMore = (key) => {\n let data = {}\n if (this.state[key]['isMore']) {\n data[key] = {\n isMore: !this.state[key]['isMore'],\n course: this.state[key]['courseList'],\n courseList: this.state[key]['courseList'],\n addshowMore: !this.state[key]['addshowMore']\n }\n this.setState({\n ...data\n })\n } else {\n data[key] = {\n isMore: !this.state[key]['isMore'],\n course: this.state[key]['courseList'].filter((item, index) => index < 4),\n courseList: this.state[key]['courseList'],\n addshowMore: !this.state[key]['addshowMore']\n }\n\n this.setState({\n ...data\n })\n }\n }\n\n // 去登录\n toLogin = () => {\n if (!getParam('version')) {\n this.props.history.push('/passport/login')\n } else {\n SendMessageToApp(\"toLogin\")\n }\n }\n\n // 免费学习\n freeStudy = () => {\n this.setState({\n tofreeStudy: true,\n })\n }\n // 关闭弹框\n closePopup = () => {\n this.setState({\n tofreeStudy: false,\n })\n }\n\n closePopupWish = () => {\n const _this = this\n _this.setState({\n isshowFollow: false\n })\n\n setTimeout(function () {\n _this.toJoinList(_this.state.wish.id, _this.state.wish.key)\n }, 200)\n }\n\n getQRcodeUrl = () => {\n let _this = this\n http.get(`${API['base-api']}/wx/user_temporary_qrcode/${_this.props.user.data.uid}`)\n .then(res => {\n const {errno, data, msg} = res.data\n if (errno == 0) {\n this.setState({\n qrUrl:data.url\n })\n QRCode.toDataURL(data.url, (err, url) => {\n this.setState({\n followBarcode: url,\n })\n })\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n\n // 点击加入心愿单登录验证,在判断是否关注公众号,已关注的话直接加入,未关注弹出二维码弹窗,点击关闭按钮加入心愿单\n addWishList = (id, key) => {\n const _this = this\n const isLogin = !this.props.user.hasError\n _this.setState({\n wish: {\n id: id,\n key: key\n }\n })\n\n if (isLogin) {\n _this.isFollow(id, key)\n } else {\n _this.toLogin()\n }\n }\n\n isFollow = (id, key) => {\n const _this = this\n http.get(`${API.home}/sys/user/isFollowWeChat`).then(res => {\n const {code, data, msg} = res.data\n if (code === 200) {\n _this.setState({\n isshowFollow: !data.is_follow\n })\n\n if (!_this.state.isshowFollow) {\n _this.toJoinList(id, key)\n } else {\n _this.getQRcodeUrl()\n }\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n\n toJoinList = (id, key) => {\n const _this = this\n http.post(`${API.home}/activity/join_list`, {course_id: id})\n .then(res => {\n const {code, msg} = res.data\n if (code == 200) {\n Toast.success('已成功加入心愿单', 3)\n _this.getLength()\n if (key === '1') {\n _this.fetchAICourse('one', _this.state.basic.addshowMore)\n }\n if (key === '2') {\n _this.fetchAICourse('two', _this.state.advanced.addshowMore)\n }\n if (key === '3') {\n _this.fetchAICourse('three', _this.state.higher.addshowMore)\n }\n if (key === '4') {\n _this.fetchAICourse('four', _this.state.expand.addshowMore)\n }\n if (key === 'group') {\n _this.fetchGroupCourse()\n }\n } else {\n Toast.info(msg, 2)\n }\n })\n }\n\n // 安卓手机保存二维码\n saveImage = () => {\n let version = getParam('version')\n version = typeof version === 'string' ? version.replace('.', '').replace('.', '').slice(0, 3) : ''\n const QRCodeUrl = this.state.qrUrl\n if (version && parseInt(version) < 451) {\n Toast.info('当前不支持此功能,升级到最新版本app可以点击保存二维码!', 3, null, false)\n } else {\n SendMessageToApp('generateQRCode', QRCodeUrl)\n }\n }\n saveImage2 = () => {\n let version = getParam('version')\n version = typeof version === 'string' ? version.replace('.', '').replace('.', '').slice(0, 3) : ''\n const QRCodeUrl = 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg'\n if (version && parseInt(version) < 451) {\n Toast.info('当前不支持此功能,升级到最新版本app可以点击保存二维码!', 3, null, false)\n } else {\n SendMessageToApp('saveImage', QRCodeUrl)\n }\n }\n\n // 获取队伍信息\n getTeamInfo = () => {\n http.get(`${API.home}/sys/treasure/teamInfo`).then(res => {\n const {code, data, msg} = res.data\n if (code === 200) {\n const {info, removable_data} = data\n this.setState({\n removable: info.removable,\n currentId: info.removable > 0 ? removable_data[0].id : null\n })\n } else {\n Toast.info(msg)\n }\n })\n }\n\n // 跳转到我的宝箱列表页\n toBoxList = () => {\n const isLogin = !this.props.user.hasError\n const {currentId} = this.state\n let search = ''\n if (currentId) {\n search = `?id=${currentId}`\n }\n if (isLogin) {\n if (!getParam('version')) {\n this.props.history.push(`/year/yearTreasure${search}`)\n } else {\n this.props.history.push(`/year/yearTreasure${search}?version=${getParam('version')}`)\n }\n } else {\n this.toLogin()\n }\n }\n\n toYearWish = () => {\n const isLogin = !this.props.user.hasError\n if (isLogin) {\n if (!getParam('version')) {\n this.props.history.push('/year/yearWish')\n } else {\n this.props.history.push(`/year/yearWish?version=${getParam('version')}`)\n }\n\n } else {\n this.toLogin()\n }\n\n }\n\n render() {\n const {bigcourse, freecourse, groupcourse, basic, advanced, higher, expand,removable,sum} = this.state\n\n return (\n <div className={'year-index-course'}>\n {/*浮框*/}\n <div className='nav-right'>\n <span onClick={this.toBoxList} className='nav-right__link'>\n 未开宝箱\n {\n removable > 0 &&\n <i className=\"nav-right__number\">{removable}</i>\n }\n </span>\n <a onClick={() => this.toYearWish()} className='nav-right__link'>\n 心愿单\n {\n sum > 0 &&\n <i className=\"nav-right__number\">{sum}</i>\n }\n </a>\n </div>\n\n <CommonContainer title='重磅好课' id='year-course'>\n <div>\n {\n (bigcourse.course && bigcourse.course.length > 0) &&\n <>\n <div className='bigcourse course-box'>\n {\n bigcourse.course.map(item => (\n <CourseItem image={item.image_name} key={item.course_id} id={item.course_id}\n toCourse={this.toCourse}>\n <div className=\"coupon-course__footer\">\n {\n item.is_buy == 1 &&\n <a onClick={() => this.toCourse(item.course_id)} className=\"btn to-study\">开始学习</a>\n }\n {\n item.is_buy == 0 &&\n <a onClick={() => this.toQQque()}\n className=\"btn big-course\">速抢拼团名额</a>\n }\n\n </div>\n </CourseItem>\n ))\n }\n </div>\n {\n (bigcourse.courseList && bigcourse.courseList.length > 4) &&\n <button className=\"more-button\" onClick={() => this.handleToMore('bigcourse')}>\n {bigcourse.isMore ? '查看更多' : '收起'}\n </button>\n }\n </>\n }\n </div>\n </CommonContainer>\n <CommonContainer title='人气好课免费学' id='year-free'>\n <div>\n {\n (freecourse.course && freecourse.course.length > 0) &&\n <>\n <div className='freecourse course-box'>\n {\n freecourse.course.map(item => (\n <CourseItem image={item.image_name} key={item.course_id} id={item.course_id}\n toCourse={this.toCourse}>\n <div className=\"coupon-course__footer\">\n {\n item.is_buy == 1 &&\n <a onClick={() => this.toCourse(item.course_id)} className=\"btn to-study\">开始学习</a>\n }\n {\n item.is_buy == 0 &&\n <a onClick={() => this.freeStudy()}\n className=\"btn free-study\">点击免费学</a>\n }\n\n <p className=\"free-course-num\">已送出<span>{item.act_num}</span>个课程</p>\n\n </div>\n </CourseItem>\n ))\n }\n </div>\n {\n (freecourse.courseList && freecourse.courseList.length > 4) &&\n <button className=\"more-button\" onClick={() => this.handleToMore('freecourse')}>\n {freecourse.isMore ? '查看更多' : '收起'}\n </button>\n }\n </>\n }\n </div>\n </CommonContainer>\n <CommonContainer title='精品好课1分开抢' id='year-group'>\n <div>\n {\n (groupcourse.course && groupcourse.course.length > 0) &&\n <>\n <div className='groupcourse course-box'>\n {\n groupcourse.course.map(item => (\n <CourseItem image={item.image_name} key={item.course_id} id={item.course_id}\n toCourse={this.toCourse}>\n <div className=\"group-num\">限量300个</div>\n <div className=\"coupon-course__footer\">\n {\n item.is_buy == 1 &&\n <>\n <p className={'course-title text-overflow-1'}>{item.course_title}</p>\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"btn to-study\">开始学习</a>\n </>\n }\n {\n item.is_buy == 0 &&\n <>\n <div className=\"type\">\n <span className=\"tag\">拼团价</span>\n <span className=\"time\">12月23日开团</span>\n </div>\n <div className=\"price\">¥\n <span className=\"new-price\">0.01</span>\n <span\n className=\"old-price\">现价:<s>¥{item.price1}</s></span>\n </div>\n\n <div className=\"status\">\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"status-btn to-buy\">直接购买</a>\n {\n item.is_join == 1 &&\n <a className=\"status-btn add-wish\"><img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png\"\n alt=\"\"/>已加心愿单</a>\n }\n {\n item.is_join == 0 &&\n <a\n onClick={() => this.addWishList(item.course_id, 'group')}\n className=\"status-btn add-wish-success\">\n <img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png\"\n alt=\"\"/>加入心愿单\n </a>\n }\n </div>\n </>\n }\n\n </div>\n </CourseItem>\n ))\n }\n </div>\n {\n (groupcourse.courseList && groupcourse.courseList.length > 4) &&\n <button className=\"more-button\" onClick={() => this.handleToMore('groupcourse')}>\n {groupcourse.isMore ? '查看更多' : '收起'}\n </button>\n }\n </>\n }\n </div>\n </CommonContainer>\n <CommonContainer title='好课价到,等你抄底' id='year-discount'>\n <div>\n <h4 className=\"ai-course__subtitle\">基础</h4>\n {\n (basic.course && basic.course.length > 0) &&\n <>\n <div className='groupcourse course-box'>\n {\n basic.course.map(item => (\n <CourseItem image={item.image_name} key={item.course_id} id={item.course_id}\n toCourse={this.toCourse}>\n <div className=\"coupon-course__footer\">\n {\n item.is_buy == 1 &&\n <>\n <p className={'course-title text-overflow-1'}>{item.course_title}</p>\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"btn to-study\">开始学习</a>\n </>\n }\n {\n item.is_buy == 0 &&\n <>\n <div className=\"type\">\n {\n item.type == 0 &&\n <>\n <span className=\"tag\">活动价</span>\n <span className=\"time\">12.23开始</span>\n </>\n }\n {\n item.type == 1 &&\n <>\n <span className=\"tag\">拼团价</span>\n <span className=\"time\">12.23开团</span>\n </>\n }\n {\n item.type == 2 &&\n <>\n <span className=\"tag\">好友帮帮砍</span>\n <span className=\"time\">12.23开砍</span>\n </>\n }\n\n </div>\n <div className=\"price\">\n {item.type == 2 ? '到手最低:¥' : '¥'}\n <span className=\"new-price\">{item.price2}</span>\n <span\n className=\"old-price\">\n {item.type == 2 ? '' : '现价:'}\n <s>¥{item.price1}</s></span>\n </div>\n\n <div className=\"status\">\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"status-btn to-buy\">直接购买</a>\n {\n item.is_join == 1 &&\n <a className=\"status-btn add-wish\"><img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png\"\n alt=\"\"/>已加心愿单</a>\n }\n {\n item.is_join == 0 &&\n <a\n onClick={() => this.addWishList(item.course_id, '1')}\n className=\"status-btn add-wish-success\">\n <img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png\"\n alt=\"\"/>加入心愿单\n </a>\n }\n </div>\n </>\n }\n\n </div>\n </CourseItem>\n ))\n }\n </div>\n {\n (basic.courseList && basic.courseList.length > 4) &&\n <button className=\"more-button\" onClick={() => this.handleToMore('basic')}>\n {basic.isMore ? '查看更多' : '收起'}\n </button>\n }\n </>\n }\n\n <h4 className=\"ai-course__subtitle\">进阶</h4>\n {\n (advanced.course && advanced.course.length > 0) &&\n <>\n <div className='groupcourse course-box'>\n {\n advanced.course.map(item => (\n <CourseItem image={item.image_name} key={item.course_id} id={item.course_id}\n toCourse={this.toCourse}>\n <div className=\"coupon-course__footer\">\n {\n item.is_buy == 1 &&\n <>\n <p className={'course-title text-overflow-1'}>{item.course_title}</p>\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"btn to-study\">开始学习</a>\n </>\n }\n {\n item.is_buy == 0 &&\n <>\n <div className=\"type\">\n {\n item.type == 0 &&\n <>\n <span className=\"tag\">活动价</span>\n <span className=\"time\">12.23开始</span>\n </>\n }\n {\n item.type == 1 &&\n <>\n <span className=\"tag\">拼团价</span>\n <span className=\"time\">12.23开团</span>\n </>\n }\n {\n item.type == 2 &&\n <>\n <span className=\"tag\">好友帮帮砍</span>\n <span className=\"time\">12.23开砍</span>\n </>\n }\n\n </div>\n <div className=\"price\">\n {item.type == 2 ? '到手最低:¥' : '¥'}\n <span className=\"new-price\">{item.price2}</span>\n <span\n className=\"old-price\">\n {item.type == 2 ? '' : '现价:'}\n <s>¥{item.price1}</s></span>\n </div>\n\n <div className=\"status\">\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"status-btn to-buy\">直接购买</a>\n {\n item.is_join == 1 &&\n <a className=\"status-btn add-wish\"><img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png\"\n alt=\"\"/>已加心愿单</a>\n }\n {\n item.is_join == 0 &&\n <a\n onClick={() => this.addWishList(item.course_id, '2')}\n className=\"status-btn add-wish-success\">\n <img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png\"\n alt=\"\"/>加入心愿单\n </a>\n }\n </div>\n </>\n }\n\n </div>\n </CourseItem>\n ))\n }\n </div>\n {\n (advanced.courseList && advanced.courseList.length > 4) &&\n <button className=\"more-button\" onClick={() => this.handleToMore('advanced')}>\n {advanced.isMore ? '查看更多' : '收起'}\n </button>\n }\n </>\n }\n\n <h4 className=\"ai-course__subtitle\">高阶</h4>\n {\n (higher.course && higher.course.length > 0) &&\n <>\n <div className='groupcourse course-box'>\n {\n higher.course.map(item => (\n <CourseItem image={item.image_name} key={item.course_id} id={item.course_id}\n toCourse={this.toCourse}>\n <div className=\"coupon-course__footer\">\n {\n item.is_buy == 1 &&\n <>\n <p className={'course-title text-overflow-1'}>{item.course_title}</p>\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"btn to-study\">开始学习</a>\n </>\n }\n {\n item.is_buy == 0 &&\n <>\n <div className=\"type\">\n {\n item.type == 0 &&\n <>\n <span className=\"tag\">活动价</span>\n <span className=\"time\">12.23开始</span>\n </>\n }\n {\n item.type == 1 &&\n <>\n <span className=\"tag\">拼团价</span>\n <span className=\"time\">12.23开团</span>\n </>\n }\n {\n item.type == 2 &&\n <>\n <span className=\"tag\">好友帮帮砍</span>\n <span className=\"time\">12.23开砍</span>\n </>\n }\n\n </div>\n <div className=\"price\">\n {item.type == 2 ? '到手最低:¥' : '¥'}\n <span className=\"new-price\">{item.price2}</span>\n <span\n className=\"old-price\">\n {item.type == 2 ? '' : '现价:'}\n <s>¥{item.price1}</s></span>\n </div>\n\n <div className=\"status\">\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"status-btn to-buy\">直接购买</a>\n {\n item.is_join == 1 &&\n <a className=\"status-btn add-wish\"><img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png\"\n alt=\"\"/>已加心愿单</a>\n }\n {\n item.is_join == 0 &&\n <a\n onClick={() => this.addWishList(item.course_id, '3')}\n className=\"status-btn add-wish-success\">\n <img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png\"\n alt=\"\"/>加入心愿单\n </a>\n }\n </div>\n </>\n }\n\n </div>\n </CourseItem>\n ))\n }\n </div>\n {\n (higher.courseList && higher.courseList.length > 4) &&\n <button className=\"more-button\" onClick={() => this.handleToMore('higher')}>\n {higher.isMore ? '查看更多' : '收起'}\n </button>\n }\n </>\n }\n\n <h4 className=\"ai-course__subtitle\">扩展</h4>\n {\n (expand.course && expand.course.length > 0) &&\n <>\n <div className='groupcourse course-box'>\n {\n expand.course.map(item => (\n <CourseItem image={item.image_name} key={item.course_id} id={item.course_id}\n toCourse={this.toCourse}>\n <div className=\"coupon-course__footer\">\n {\n item.is_buy == 1 &&\n <>\n <p className={'course-title text-overflow-1'}>{item.course_title}</p>\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"btn to-study\">开始学习</a>\n </>\n }\n {\n item.is_buy == 0 &&\n <>\n <div className=\"type\">\n {\n item.type == 0 &&\n <>\n <span className=\"tag\">活动价</span>\n <span className=\"time\">12.23开始</span>\n </>\n }\n {\n item.type == 1 &&\n <>\n <span className=\"tag\">拼团价</span>\n <span className=\"time\">12.23开团</span>\n </>\n }\n {\n item.type == 2 &&\n <>\n <span className=\"tag\">好友帮帮砍</span>\n <span className=\"time\">12.23开砍</span>\n </>\n }\n\n </div>\n <div className=\"price\">\n {item.type == 2 ? '到手最低:¥' : '¥'}\n <span className=\"new-price\">{item.price2}</span>\n <span\n className=\"old-price\">\n {item.type == 2 ? '' : '现价:'}\n <s>¥{item.price1}</s></span>\n </div>\n\n <div className=\"status\">\n <a onClick={() => this.toCourse(item.course_id)}\n className=\"status-btn to-buy\">直接购买</a>\n {\n item.is_join == 1 &&\n <a className=\"status-btn add-wish\"><img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png\"\n alt=\"\"/>已加心愿单</a>\n }\n {\n item.is_join == 0 &&\n <a\n onClick={() => this.addWishList(item.course_id, '4')}\n className=\"status-btn add-wish-success\">\n <img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png\"\n alt=\"\"/>加入心愿单\n </a>\n }\n </div>\n </>\n }\n\n </div>\n </CourseItem>\n ))\n }\n </div>\n {\n (expand.courseList && expand.courseList.length > 4) &&\n <button className=\"more-button\" onClick={() => this.handleToMore('expand')}>\n {expand.isMore ? '查看更多' : '收起'}\n </button>\n }\n </>\n }\n </div>\n </CommonContainer>\n\n {\n this.state.tofreeStudy &&\n <CommonPopup top={100} closePopup={this.closePopup} mark={false}>\n <div className='sub__code_container'>\n <p className='sub__title'>提醒服务</p>\n <p className='sub__tip'>进入服务号回复<i>77</i>免费领取课程</p>\n <img className='sub__qr_code' id={'live-qr-code'}\n src='//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg' alt=\"\"/>\n {\n browser.isAndroidApp ? (\n <button className={'save-image'} onClick={this.saveImage2}>保存二维码</button>\n ) : <p className='sub__tip'>长按识别/扫码 关注【七月在线】服务号</p>\n }\n </div>\n </CommonPopup>\n }\n {\n this.state.isshowFollow &&\n <CommonPopup top={100} closePopup={this.closePopupWish} mark={false}>\n <div className='sub__code_container'>\n <p className='sub__title'>提醒服务</p>\n <p className='sub__tip'>课程开售立即提醒,不错过任何优惠哦!</p>\n <img className='sub__qr_code' id={'live-qr-code'}\n src={this.state.followBarcode} alt=\"\"/>\n {\n browser.isAndroidApp ? (\n <button className={'save-image'} onClick={this.saveImage}>保存二维码</button>\n ) : <p className='sub__tip'>长按识别/扫码 关注【七月在线】服务号</p>\n }\n </div>\n </CommonPopup>\n }\n </div>\n )\n }\n}\n\nexport default withRouter(YearCourse)\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{1202:function(e,t,a){},1205:function(e,t,a){},1270:function(e,t,a){"use strict";a.r(t);a(154);var n=a(35),c=a.n(n),r=(a(41),a(12)),s=a.n(r),i=a(5),o=a(7),l=a(6),u=a(8),m=a(89),p=a(9),d=a(0),h=a.n(d),g=(a(1202),function(e){function t(){return Object(i.a)(this,t),Object(l.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(p.a)(t,e),Object(o.a)(t,[{key:"render",value:function(){return h.a.createElement("div",{className:"box-container"},h.a.createElement("div",{className:"image-box"},this.props.children))}}]),t}(d.Component)),b=a(28),v=a(22),y=a(802),E=a(803),j=(a(1205),a(3)),f=a(587),w=a.n(f),_=a(804),S=(a(36),function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,c=new Array(n),r=0;r<n;r++)c[r]=arguments[r];return(a=Object(l.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(c)))).closeIcon="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",a.createTeamSuccessPopup=null,a.joinSuccessPopup=null,a.swiper=null,a.state={teamData:{member:[]},origin:sessionStorage.getItem("isCaptain")?1:Object(j.c)("origin"),treasure_code:Object(j.c)("treasure_code"),activityEnd:!1,notices:[],rule:"",isCaptain:1==Object(j.c)("origin")},a.fetchPageData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.origin,n=void 0===t?a.state.origin:t,c=e.treasure_code,r=void 0===c?a.state.treasure_code:c;j.d.post("".concat(API.home,"/sys/treasure/team"),{treasure_code:r,origin:n}).then(function(e){var t=e.data,n=t.data,c=t.code,r=t.msg;if(200==c){a.setState({teamData:n,isCaptain:sessionStorage.getItem("isCaptain")?sessionStorage.getItem("isCaptain"):1==Object(j.c)("origin"),activityEnd:5==n.status});var i=new URLSearchParams(window.location.search);"1"!==i.get("origin")||j.b.isWeixin||(i.set("origin","2"),sessionStorage.setItem("isCaptain","1"),window.history.replaceState(null,"","landing?".concat(i.toString()))),a.showSharePromptWithParam()}else s.a.info(r,2,null,!1)})},a.showSharePromptWithParam=function(){sessionStorage.getItem("showShareTip")&&a.showShareTip()},a.joinTeam=function(){if(!a.requiredLogin()){var e=a.state.treasure_code;j.d.post("".concat(API.home,"/sys/treasure/joinTeam"),{treasure_code:e}).then(function(e){var t=e.data,n=t.data,c=t.code,r=t.msg;if(200===c)switch(n.status){case 1:case 2:a.joinSuccess(n);break;default:s.a.info(r,2,null,!1)}else s.a.info(r,2,null,!1)})}},a.handleToMyTreasure=function(){a.joinSuccessPopup&&a.joinSuccessPopup.remove(),Object(j.c)("version")?history.push("/year/yearTreasure?id=".concat(id,"&version=").concat(Object(j.c)("version"))):history.push("/year/yearTreasure?id=".concat(id))},a.joinSuccess=function(e){e.id;var t=e.status,n=e.my_team,c=n.team_num,r=n.lack_member,s=n.is_team,i=n.treasure_code;a.props.history;a.joinSuccessPopup=Object(b.h)({title:h.a.createElement("div",{className:"join-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/check-icon.png",alt:""}),h.a.createElement("div",null,"\u6210\u529f\u52a0\u5165\u961f\u4f0d")),className:"landing-join-success-wrapper",content:h.a.createElement("div",null,h.a.createElement("div",{className:"tip"},2===t?"\u7ec4\u961f\u6210\u529f\uff0c\u606d\u559c\u4f60\u83b7\u5f97\u4e00\u4e2a\u5b9d\u7bb1\uff01":s?h.a.createElement(h.a.Fragment,null,"\u60a8\u7684",h.a.createElement("span",null,c),"\u53f7\u961f\u4f0d\u8fd8\u5dee",h.a.createElement("span",null,r),"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1"):"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~"),2===t?h.a.createElement("img",{style:{width:"150px",marginTop:"23px"},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/treasure-box.png",alt:"",onClick:a.handleToMyTreasure}):s?h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(m.a)(a),i)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",onClick:a.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d")),closeIcon:a.closeIcon,close:function(){a.fetchPageData(),a.getFollowStatus().then(function(e){!e&&a.remind("join",a.state.treasure_code,2)})}})},a.inviteMembers=function(e){var t=a.props,n=t.history,c=t.match,r=t.user,s=t.location;if(Object(j.c)("version")){var i={title:"@".concat(r.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\u52a0\u5165\u6211\u7684\u961f\u4f0d\uff0c\u673a\u68b0\u952e\u76d8\uff0c\u7eb8\u8d28\u4e66\u7c4d\u7b49\u8d85\u591a\u5956\u54c1\u7b49\u4f60\u62ff\uff01",link:"".concat(window.location.origin,"/").concat(s.pathname,"?treasure_code=").concat(e,"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"};Object(j.a)("toShare",i)}j.b.isWeixin&&Object(j.i)({title:"@".concat(r.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\u52a0\u5165\u6211\u7684\u961f\u4f0d\uff0c\u673a\u68b0\u952e\u76d8\uff0c\u7eb8\u8d28\u4e66\u7c4d\u7b49\u8d85\u591a\u5956\u54c1\u7b49\u4f60\u62ff\uff01",link:"".concat(window.location.origin,"/").concat(s.pathname,"?treasure_code=").concat(e,"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"}),sessionStorage.setItem("showShareTip","1"),n.replace("".concat(c.url,"?treasure_code=").concat(e,"&origin=",1)),a.createTeamSuccessPopup&&a.createTeamSuccessPopup.remove()&&(a.createTeamSuccessPopup=null),a.joinSuccessPopup&&a.joinSuccessPopup.remove()&&(a.joinSuccessPopup=null),a.fetchPageData({treasure_code:e,origin:1}),a.setState({isCaptain:!0})},a.getFollowStatus=function(){return j.d.get("".concat(API.home,"/sys/user/isFollowWeChat")).then(function(e){var t=e.data,a=t.code,n=t.data;return 200===a&&n.is_follow})},a.createTeamSuccess=function(e){var t=e.member,n=e.team_num,c=e.lack_member,r=e.treasure_code;a.joinSuccessPopup&&a.joinSuccessPopup.remove()&&(a.joinSuccessPopup=null),a.getFollowStatus().then(function(e){a.createTeamSuccessPopup=Object(b.h)({title:"\u521b\u5efa\u6210\u529f",className:"landing-create-success",content:h.a.createElement("div",null,h.a.createElement("div",{className:"tip"},h.a.createElement("span",null,n),"\u53f7\u961f\u4f0d \u8fd8\u5dee",h.a.createElement("span",null,c),"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6~"),h.a.createElement("img",{className:"treasure-box",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png",alt:""}),h.a.createElement("ul",{className:"members"},new Array(5).fill("a").map(function(e,a){var n=t[a];return h.a.createElement("li",{key:a},n&&n.is_captain&&h.a.createElement("sup",null,"\u961f\u957f"),h.a.createElement("img",{className:"avatar",src:n?n.head_img:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png",alt:""}))})),h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(m.a)(a),r)},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),closeIcon:a.closeIcon,afterClose:function(){e||a.remind("create",r)}})})},a.saveImage=function(e){var t=Object(j.c)("version");(t="string"===typeof t?t.replace(".","").replace(".","").slice(0,3):"")&&parseInt(t)<451?s.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",3,null,!1):Object(j.a)("generateQRCode",e)},a.remind=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"create",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,c=a.props.user;j.d.get("".concat(API["base-api"],"/wx/user_temporary_qrcode/").concat(c.data.uid)).then(function(e){return e.data.data.url}).then(function(c){w.a.toDataURL(c).then(function(r){Object(b.h)({title:"\u63d0\u9192\u670d\u52a1",className:"landing-remind",closeIcon:a.closeIcon,content:h.a.createElement("div",null,h.a.createElement("div",{className:"des"},"create"===e?"\u6709\u597d\u53cb\u52a0\u5165\u961f\u4f0d\u540e\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~":"\u83b7\u5f97\u5b9d\u7bb1\u65f6\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~"),h.a.createElement("img",{src:r,alt:""}),j.b.isAndroidApp?h.a.createElement("div",null,h.a.createElement("button",{className:"android-qr-code-btn",onClick:a.saveImage.bind(Object(m.a)(a),c)},"\u4fdd\u5b58\u4e8c\u7ef4\u7801")):null,h.a.createElement("div",{className:"des"},"\u957f\u6309\u8bc6\u522b/\u626b\u7801 \u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6")),close:function(){a.fetchPageData({treasure_code:t,origin:n})}})})})},a.showShareTip=function(){var e=a.props.user;if(j.b.isAndroidApp||j.b.isIOSApp)Object(j.a)("toShare",{title:"@".concat(e.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\u52a0\u5165\u6211\u7684\u961f\u4f0d\uff0c\u673a\u68b0\u952e\u76d8\uff0c\u7eb8\u8d28\u4e66\u7c4d\u7b49\u8d85\u591a\u5956\u54c1\u7b49\u4f60\u62ff\uff01",link:"".concat(window.location.origin,"/").concat(location.pathname,"?treasure_code=").concat(Object(j.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"});else{var t=a.props,n=t.history,c=t.match;j.b.isWeixin&&1==Object(j.c)("origin")&&n.replace("".concat(c.url,"?treasure_code=").concat(Object(j.c)("treasure_code"),"&origin=2")),Object(b.h)({title:h.a.createElement("div",null,"\u8fd8\u5dee",h.a.createElement("span",null,a.state.teamData.lack_member),"\u540d\u961f\u53cb\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1 \u5feb\u5206\u4eab\u7ed9\u597d\u53cb\u5427~"),className:"landing-share-tip ".concat(j.b.isWeixin?"wechat":""),closable:!1,close:function(){sessionStorage.removeItem("showShareTip"),e.hasError||a.getFollowStatus().then(function(e){!e&&a.remind("create",Object(j.c)("treasure_code"),1)})}})}},a.showOpenInBrowserTip=function(){Object(b.h)({title:h.a.createElement("div",null,"\u70b9\u51fb\u53f3\u4e0a\u89d2\uff0c\u9009\u62e9\u201c\u5728\u6d4f\u89c8\u5668\u6253\u5f00\u201d"),className:"landing-open-in-browser-tip",closable:!1})},a.createMyTeam=function(){a.requiredLogin()||j.d.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,n=t.data,c=t.code,r=t.msg;200==c?a.createTeamSuccess(n):s.a.info(r,2,null,!1)})},a.requiredLogin=function(){var e=a.props,t=e.history;if(e.user.hasError)return t.push("/passport"),!0},a.toSquare=function(){var e=a.props.history;Object(j.c)("version")?e.push("/year/yearindex?version="+Object(j.c)("version")):e.push("/year/yearindex")},a}return Object(p.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.fetchPageData(),window.showFollowAlert=this.remind.bind(this,"create")}},{key:"componentDidUpdate",value:function(e){e.user.hasError===this.props.user.hasError||this.props.user.hasError||this.fetchPageData()}},{key:"render",value:function(){var e=this.state,t=e.teamData,a=t.head_img,n=t.member,r=t.status,s=t.lack_member,i=t.team_num,o=t.prize_info,l=t.my_team,u=e.activityEnd,m=e.isCaptain;return h.a.createElement("div",{id:"landing"},h.a.createElement("div",{id:"to-square"},h.a.createElement("a",{href:"javascript:",onClick:this.toSquare},"\u524d\u5f80\u6d3b\u52a8\u4f1a\u573a\uff0c\u4eab\u66f4\u591a\u798f\u5229\uff01 >>")),h.a.createElement(g,null,h.a.createElement("i",{className:"snow-deco"}),h.a.createElement("img",{className:"main-avatar",src:a,alt:""}),1===r?h.a.createElement("div",{className:"des"},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d\uff0c\u5f00\u5b9d\u7bb1\u9886\u53d6\u4e30\u539a\u5956\u54c1~"):h.a.createElement("div",{className:"des"},"\u52a0\u5165\u6211\u7684",h.a.createElement("span",null,i),"\u53f7\u961f\u4f0d\uff0c\u4e00\u8d77\u5f00\u5b9d\u7bb1\u9886\u53d6\u4e30\u539a\u5956\u54c1~"),h.a.createElement(y.a,{showSystemNotices:!1}),h.a.createElement(E.a,null),h.a.createElement("div",{className:"group"},h.a.createElement("ul",{className:"member"},n&&n.length&&new Array(5).fill("a").map(function(e,t){var a=n[t];return a?h.a.createElement("li",{key:t},h.a.createElement("div",{className:"avatar-wrapper"},a.is_captain?h.a.createElement("sup",null,"\u961f\u957f"):null,h.a.createElement("img",{src:a.head_img,alt:"",className:"avatar"}))):h.a.createElement("li",{key:t},h.a.createElement("div",{className:"avatar-wrapper"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png",alt:"",className:"avatar"})))})),h.a.createElement("ul",{className:"bars"},n&&n.length&&new Array(5).fill("a").map(function(e,t){return h.a.createElement("li",{key:t,className:"".concat(t<n.length?"active":"")})})),1===r&&!u&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},"\u8fd8\u5dee ",s," \u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5f53\u524d\u5b9d\u7bb1\u54e6~"),h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.showShareTip},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),3===r&&!u&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},h.a.createElement("p",null,"\u5df2\u52a0\u5165\u5f53\u524d\u961f\u4f0d"),l.is_team?h.a.createElement("p",null,"\u60a8\u7684",l.team_num,"\u53f7\u961f\u4f0d\u8fd8\u5dee",l.lack_member,"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1~"):h.a.createElement("p",null,"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~")),l.is_team?h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.inviteMembers.bind(this,l.treasure_code)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d")),4===r&&!u&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},h.a.createElement("p",null,"\u5df2\u52a0\u5165\u5176\u4ed6\u961f\u4f0d"),l.is_team?h.a.createElement("p",null,"\u60a8\u7684",l.team_num,"\u53f7\u961f\u4f0d\u8fd8\u5dee",l.lack_member,"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1~"):h.a.createElement("p",null,"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~")),l.is_team?h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.inviteMembers.bind(this,l.treasure_code)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d")),2===r&&!u&&h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.joinTeam},"\u540c\u610f\u52a0\u5165\u961f\u4f0d"),o&&0!==o.length&&!u&&!m&&h.a.createElement("div",{className:"certainly-prompt"},"\u7b2c",o[0].stage_no,"\u6b21\u5fc5\u4e2d ",o[0].name),u&&h.a.createElement("div",{className:"activity-end"},h.a.createElement("div",null,"\u6d3b\u52a8\u5df2\u7ed3\u675f"),h.a.createElement("div",null,"\u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u4e86\u89e3\u66f4\u591a\u6d3b\u52a8\u4fe1\u606f"),h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png",alt:""}),h.a.createElement("div",null,"\u957f\u6309\u8bc6\u522b / \u5fae\u4fe1\u626b\u7801")))),!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement(c.a,{size:"xl"}),h.a.createElement(_.a,{getSum:function(){}})))}}]),t}(d.Component));t.default=Object(v.b)(function(e){return{user:e.user}},null)(S)}}]);
//# sourceMappingURL=newyear-2019-landing.51ec08c7.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/activity/newyear-2019/box-container/container.js","components/activity/newyear-2019/landing/index.js"],"names":["Container","react_default","a","createElement","className","this","props","children","Component","Landing","closeIcon","createTeamSuccessPopup","joinSuccessPopup","swiper","state","teamData","member","origin","sessionStorage","getItem","getParam","treasure_code","activityEnd","notices","rule","isCaptain","fetchPageData","_ref","arguments","length","undefined","_ref$origin","_this","_ref$treasure_code","http","post","concat","API","home","then","res","_res$data","data","code","msg","setState","status","searchParams","URLSearchParams","window","location","search","get","browser","isWeixin","set","setItem","history","replaceState","toString","showSharePromptWithParam","toast_default","info","showShareTip","joinTeam","requiredLogin","_res$data2","joinSuccess","handleToMyTreasure","remove","push","id","_ref2","_ref2$my_team","my_team","team_num","lack_member","is_team","Popup","title","src","alt","content","Fragment","style","width","marginTop","onClick","type","inviteMembers","bind","Object","assertThisInitialized","createMyTeam","close","getFollowStatus","isFollow","remind","_this$props","match","user","username","desc","link","pathname","imgUrl","SendMessageToApp","wxShare","replace","url","_res$data3","createTeamSuccess","_ref3","Array","fill","map","item","index","_member","key","afterClose","saveImage","version","slice","parseInt","uid","text","QRCode","toDataURL","isAndroidApp","isIOSApp","_this$props2","closable","removeItem","hasError","showOpenInBrowserTip","_res$data4","_this$props3","toSquare","showFollowAlert","prevProps","_this$state","_this$state$teamData","head_img","prize_info","href","container","prizes","showSystemNotices","user_bullet_screen","is_captain","stage_no","name","white_space_default","size","YearCourse","getSum","connect"],"mappings":"iQAceA,4LAVX,OACEC,EAAAC,EAAAC,cAAA,OAAKC,UAAW,iBACdH,EAAAC,EAAAC,cAAA,OAAKC,UAA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AtBA,EAAWnH,SAAiBP,IAAgBG,GAAaxB,EAAAC,EAAAC,cAAA,OAAKC,UAAU,oBAAf,SACnE4I,EAAW,GAAGO,SADqD,sBACvCP,EAAW,GAAGQ,MAI9ClI,GACArB,EAAAC,EAAAC,cAAA,OAAKC,UAAU,gBACbH,EAAAC,EAAAC,cAAA,6CACAF,EAAAC,EAAAC,cAAA,iIACAF,EAAAC,EAAAC,cAAA,OAAK6E,IAAI,kFAAkFC,IAAI,KAC/FhF,EAAAC,EAAAC,cAAA,sEAMLsB,GACDxB,EAAAC,EAAAC,cAAAF,EAAAC,EAAAiF,SAAA,KACElF,EAAAC,EAAAC,cAAAsJ,EAAAvJ,EAAA,CAAYwJ,KAAM,OAClBzJ,EAAAC,EAAAC,cAACwJ,EAAA,EAAD,CAAYC,OAAQ,wBArgBVpJ,cA8gBPqJ,sBACb,SAAA/I,GAAK,MAAK,CAACsF,KAAMtF,EAAMsF,OACvB,KAFayD,CAGbpJ","file":"mrstatic/js/newyear-2019-landing.51ec08c7.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport './box-container.scss'\nclass Container extends Component {\n render() {\n return (\n <div className={'box-container'}>\n <div className=\"image-box\">\n {this.props.children}\n </div>\n </div>\n )\n }\n}\n\nexport default Container\n","import React, { Component } from 'react'\nimport BoxContainer from '../box-container/container'\nimport { Toast, WhiteSpace } from \"antd-mobile\"\nimport { Popup } from \"@common/index\"\nimport { connect } from \"react-redux\"\nimport Prizes from \"@components/activity/newyear-2019/common/prizes\"\nimport BulletScreen from \"@components/activity/newyear-2019/common/user-bullet-screen\"\nimport './landing.scss'\nimport { browser, getParam, http, wxShare, SendMessageToApp } from \"@/utils\"\nimport { Link } from \"react-router-dom\"\nimport QRCode from \"qrcode\"\nimport YearCourse from '../preheat/YearCourse'\nimport jsCookie from \"js-cookie\"\n\n\nclass Landing extends Component {\n\n\n closeIcon = 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png'\n createTeamSuccessPopup = null\n joinSuccessPopup = null\n swiper = null\n\n state = {\n teamData: {\n member: []\n },\n origin: sessionStorage.getItem('isCaptain') ? 1 : getParam('origin'),\n treasure_code: getParam('treasure_code'),\n activityEnd: false,\n notices: [],\n rule: '',\n isCaptain: getParam('origin') == 1\n }\n\n componentDidMount() {\n this.fetchPageData()\n window.showFollowAlert = this.remind.bind(this, 'create')\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.user.hasError !== this.props.user.hasError && !this.props.user.hasError) {\n this.fetchPageData()\n }\n }\n\n\n fetchPageData = ({origin = this.state.origin, treasure_code = this.state.treasure_code} = {}) => {\n http.post(`${API.home}/sys/treasure/team`, {\n treasure_code,\n origin\n })\n .then(res => {\n const {data, code, msg} = res.data\n if (code == 200) {\n\n this.setState({\n teamData: data,\n isCaptain: sessionStorage.getItem('isCaptain') ? sessionStorage.getItem('isCaptain') : getParam('origin') == 1,\n activityEnd: data.status == 5\n })\n\n let searchParams = new URLSearchParams(window.location.search)\n if (searchParams.get('origin') === '1' && !browser.isWeixin) {\n searchParams.set('origin', '2')\n sessionStorage.setItem('isCaptain', '1')\n window.history.replaceState(null, '', `landing?${searchParams.toString()}`)\n }\n\n this.showSharePromptWithParam()\n\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n showSharePromptWithParam = () => {\n if (sessionStorage.getItem('showShareTip')) {\n this.showShareTip()\n }\n }\n\n joinTeam = () => {\n if (this.requiredLogin()) {\n return\n }\n const {treasure_code} = this.state\n http.post(`${API.home}/sys/treasure/joinTeam`, {\n treasure_code\n })\n .then(res => {\n const {data, code, msg} = res.data\n if (code === 200) {\n\n /*\n * status\n * 1-成功加入\n * 2-成功加入组队成功\n * 3-已加入当前队伍\n * 4-已加入其他队伍\n * */\n\n switch (data.status) {\n case 1:\n case 2:\n this.joinSuccess(data)\n break\n default:\n Toast.info(msg, 2, null, false)\n }\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n handleToMyTreasure = () => {\n this.joinSuccessPopup && this.joinSuccessPopup.remove()\n if (getParam('version')) {\n history.push(`/year/yearTreasure?id=${id}&version=${getParam('version')}`)\n } else {\n history.push(`/year/yearTreasure?id=${id}`)\n }\n }\n\n joinSuccess = ({id, status, my_team: {team_num, lack_member, is_team, treasure_code}}) => {\n const {history} = this.props\n this.joinSuccessPopup = Popup({\n title: <div className={'join-success'}>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/check-icon.png\" alt=\"\"/>\n <div>成功加入队伍</div>\n </div>,\n className: 'landing-join-success-wrapper',\n content: <div>\n <div className={'tip'}>\n {\n status === 2\n ? '组队成功,恭喜你获得一个宝箱!'\n : is_team\n ? <>您的{<span>{team_num}</span>}号队伍还差{<span>{lack_member}</span>}人即可获得宝箱</>\n : '自己当队长,宝箱内有专属奖品哦~'\n }\n </div>\n {\n status === 2\n ? <img style={{width: '150px', marginTop: '23px'}}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/treasure-box.png\"\n alt=\"\"\n onClick={this.handleToMyTreasure}\n />\n : is_team\n ? <button type='button'\n onClick={this.inviteMembers.bind(this, treasure_code)}>继续组队</button>\n : <button type=\"button\" onClick={this.createMyTeam}>创建我的队伍</button>\n }\n </div>,\n closeIcon: this.closeIcon,\n close: () => {\n this.fetchPageData()\n this.getFollowStatus()\n .then(isFollow => {\n !isFollow && this.remind('join', this.state.treasure_code, 2)\n })\n }\n })\n }\n\n inviteMembers = treasure_code => {\n const {history, match, user, location} = this.props\n if (getParam('version')) {\n let data = {\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}/${location.pathname}?treasure_code=${treasure_code}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n }\n SendMessageToApp(\"toShare\", data)\n }\n if (browser.isWeixin) {\n wxShare({\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}/${location.pathname}?treasure_code=${treasure_code}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n })\n }\n sessionStorage.setItem('showShareTip', '1')\n history.replace(`${match.url}?treasure_code=${treasure_code}&origin=${1}`)\n this.createTeamSuccessPopup && this.createTeamSuccessPopup.remove() && (this.createTeamSuccessPopup = null)\n this.joinSuccessPopup && this.joinSuccessPopup.remove() && (this.joinSuccessPopup = null)\n this.fetchPageData({treasure_code, origin: 1})\n this.setState({\n isCaptain: true\n })\n }\n\n getFollowStatus = () => http.get(`${API.home}/sys/user/isFollowWeChat`)\n .then(res => {\n const {code, data} = res.data\n return code === 200 && data['is_follow']\n })\n\n createTeamSuccess = ({member, team_num, lack_member, treasure_code}) => {\n this.joinSuccessPopup && this.joinSuccessPopup.remove() && (this.joinSuccessPopup = null)\n this.getFollowStatus()\n .then(isFollow => {\n this.createTeamSuccessPopup = Popup({\n title: '创建成功',\n className: 'landing-create-success',\n content: <div>\n <div className=\"tip\">{<span>{team_num}</span>}号队伍 还差{<span>{lack_member}</span>}名队员即可获得宝箱哦~</div>\n <img className={'treasure-box'}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png\" alt=\"\"/>\n <ul className='members'>\n {\n new Array(5).fill('a').map((item, index) => {\n const _member = member[index]\n return <li key={index}>\n {_member && _member['is_captain'] && <sup>队长</sup>}\n <img\n className={'avatar'}\n src={\n _member\n ? _member['head_img']\n : \"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png\"\n }\n alt=\"\"/>\n </li>\n })\n }\n </ul>\n <button type={'button'} onClick={this.inviteMembers.bind(this, treasure_code)}>邀请好友加入队伍</button>\n </div>,\n closeIcon: this.closeIcon,\n afterClose: () => {\n if (!isFollow) {\n this.remind('create', treasure_code)\n }\n }\n })\n\n })\n }\n\n // 安卓手机保存二维码\n saveImage = url => {\n let version = getParam('version')\n version = typeof version === 'string' ? version.replace('.', '').replace('.', '').slice(0, 3) : ''\n if (version && parseInt(version) < 451) {\n Toast.info('当前不支持此功能,升级到最新版本app可以点击保存二维码!', 3, null, false)\n } else {\n SendMessageToApp('generateQRCode', url)\n }\n }\n\n\n remind = (type = 'create', treasure_code, origin = 1) => {\n const {user} = this.props\n http.get(`${API[\"base-api\"]}/wx/user_temporary_qrcode/${user.data.uid}`)\n .then(res => {\n const {data} = res.data\n return data.url\n }).then(text => {\n QRCode.toDataURL(text)\n .then(url => {\n Popup({\n title: '提醒服务',\n className: 'landing-remind',\n closeIcon: this.closeIcon,\n content: <div>\n <div className=\"des\">{type === 'create' ? '有好友加入队伍后第一时间通知我~' : '获得宝箱时第一时间通知我~'}</div>\n <img src={url} alt=\"\"/>\n {browser.isAndroidApp ? <div>\n <button className={'android-qr-code-btn'} onClick={this.saveImage.bind(this, text)}>保存二维码</button>\n </div> : null}\n <div className=\"des\">长按识别/扫码 关注【七月在线】服务号即可预约</div>\n </div>,\n close: () => {\n // history.replace(`${match.path}?treasure_code=${treasure_code}&origin=1`)\n this.fetchPageData({\n treasure_code,\n origin\n })\n }\n })\n })\n })\n\n }\n\n showShareTip = () => {\n const {user} = this.props\n if (browser.isAndroidApp || browser.isIOSApp) {\n\n SendMessageToApp('toShare', {\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}/${location.pathname}?treasure_code=${getParam('treasure_code')}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n })\n\n } else {\n const {history, match} = this.props\n if (browser.isWeixin && getParam('origin') == 1) {\n history.replace(`${match.url}?treasure_code=${getParam('treasure_code')}&origin=2`)\n }\n Popup({\n title: <div>还差<span>{this.state.teamData.lack_member}</span>名队友即可获得宝箱 快分享给好友吧~</div>,\n className: `landing-share-tip ${browser.isWeixin ? 'wechat' : ''}`,\n closable: false,\n close: () => {\n sessionStorage.removeItem('showShareTip')\n if (!user.hasError) {\n this.getFollowStatus()\n .then(isFollow => {\n !isFollow && this.remind('create', getParam('treasure_code'), 1)\n })\n }\n }\n })\n }\n }\n\n showOpenInBrowserTip = () => {\n Popup({\n title: <div>点击右上角,选择“在浏览器打开”</div>,\n className: 'landing-open-in-browser-tip',\n closable: false,\n })\n }\n\n createMyTeam = () => {\n if (this.requiredLogin()) {\n return\n }\n http.get(`${API.home}/sys/treasure/createMyTeam`)\n .then(res => {\n const {data, code, msg} = res.data\n if (code == 200) {\n\n this.createTeamSuccess(data)\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n requiredLogin = () => {\n const {history, user} = this.props\n\n if (user.hasError) {\n history.push('/passport')\n return true\n }\n }\n\n toSquare = () => {\n const {history} = this.props\n if (!getParam('version')) {\n history.push('/year/yearindex')\n } else {\n history.push('/year/yearindex?version=' + getParam('version'))\n }\n }\n\n\n render() {\n const {\n teamData: {\n head_img,\n member,\n status,\n lack_member,\n team_num,\n prize_info,\n my_team\n },\n activityEnd,\n isCaptain\n } = this.state\n /*\n * status\n * 1-自己的队伍\n * 2-未加入队伍\n * 3-已加入当前队伍\n * 4-已加入别的队伍\n * */\n\n return (\n <div id={'landing'}>\n <div id=\"to-square\">\n <a href='javascript:' onClick={this.toSquare}>前往活动会场,享更多福利! >></a>\n </div>\n <BoxContainer>\n <i className=\"snow-deco\"/>\n <img className='main-avatar'\n src={head_img} alt=\"\"/>\n {\n status === 1\n ? <div className=\"des\">邀请好友加入队伍,开宝箱领取丰厚奖品~</div>\n : <div className=\"des\">加入我的<span>{team_num}</span>号队伍,一起开宝箱领取丰厚奖品~</div>\n }\n <Prizes showSystemNotices={false}/>\n <BulletScreen/>\n <div className=\"group\">\n <ul className={'member'}>\n {\n member && member.length &&\n new Array(5).fill('a').map((item, index) => {\n const _member = member[index]\n return (\n _member\n ? <li key={index}>\n <div className='avatar-wrapper'>\n {\n _member.is_captain ? <sup>队长</sup> : null\n }\n <img\n src={_member.head_img}\n alt=\"\"\n className=\"avatar\"/>\n </div>\n </li>\n :\n <li key={index}>\n <div className=\"avatar-wrapper\">\n <img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png\"\n alt=\"\"\n className=\"avatar\"/>\n </div>\n </li>\n )\n })\n }\n </ul>\n <ul className={'bars'}>\n {\n member && member.length &&\n new Array(5).fill('a').map((item, index) => {\n return (\n <li key={index} className={`${index < member.length ? 'active' : ''}`}/>\n )\n })\n }\n </ul>\n {\n status === 1 && !activityEnd &&\n <>\n <div className=\"group-des\">\n 还差 {lack_member} 名队员即可获得当前宝箱哦~\n </div>\n <button type='button' className={'invite-btn'} onClick={this.showShareTip}>\n 邀请好友加入队伍\n </button>\n </>\n }\n {\n status === 3 && !activityEnd &&\n <>\n <div className=\"group-des\">\n <p>已加入当前队伍</p>\n {\n my_team['is_team']\n ? <p>您的{my_team['team_num']}号队伍还差{my_team['lack_member']}人即可获得宝箱~</p>\n : <p>自己当队长,宝箱内有专属奖品哦~</p>\n }\n </div>\n {\n my_team['is_team'] ?\n <button type='button' className={'invite-btn'}\n onClick={this.inviteMembers.bind(this, my_team['treasure_code'])}>\n 继续组队\n </button>\n : <button type='button' className={'invite-btn'} onClick={this.createMyTeam}>\n 创建我的队伍\n </button>\n }\n </>\n }\n {\n status === 4 && !activityEnd &&\n <>\n <div className=\"group-des\">\n <p>已加入其他队伍</p>\n {\n my_team['is_team']\n ? <p>您的{my_team['team_num']}号队伍还差{my_team['lack_member']}人即可获得宝箱~</p>\n : <p>自己当队长,宝箱内有专属奖品哦~</p>\n }\n </div>\n {\n my_team['is_team'] ?\n <button type='button' className={'invite-btn'}\n onClick={this.inviteMembers.bind(this, my_team['treasure_code'])}>\n 继续组队\n </button>\n : <button type='button' className={'invite-btn'} onClick={this.createMyTeam}>\n 创建我的队伍\n </button>\n }\n </>\n }\n {\n status === 2 && !activityEnd && < button type='button' className={'invite-btn'} onClick={this.joinTeam}>\n 同意加入队伍\n </button>\n }\n {\n prize_info && prize_info.length !== 0 && !activityEnd && !isCaptain && <div className=\"certainly-prompt\">\n 第{prize_info[0].stage_no}次必中 {prize_info[0].name}\n </div>\n }\n {\n activityEnd &&\n <div className='activity-end'>\n <div>活动已结束</div>\n <div>关注【七月在线】服务号了解更多活动信息</div>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png\" alt=\"\"/>\n <div>长按识别 / 微信扫码</div>\n </div>\n }\n </div>\n </BoxContainer>\n {\n !isCaptain &&\n <>\n <WhiteSpace size={'xl'}/>\n <YearCourse getSum={() => {\n }}/>\n </>\n }\n </div>\n )\n }\n}\n\nexport default connect(\n state => ({user: state.user}),\n null\n)(Landing)\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{1202:function(e,t,a){},1205:function(e,t,a){},1270:function(e,t,a){"use strict";a.r(t);a(154);var n=a(35),c=a.n(n),r=(a(41),a(12)),i=a.n(r),s=a(5),o=a(7),l=a(6),u=a(8),m=a(89),d=a(9),p=a(0),h=a.n(p),g=(a(1202),function(e){function t(){return Object(s.a)(this,t),Object(l.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(d.a)(t,e),Object(o.a)(t,[{key:"render",value:function(){return h.a.createElement("div",{className:"box-container"},h.a.createElement("div",{className:"image-box"},this.props.children))}}]),t}(p.Component)),b=a(28),v=a(22),y=a(802),E=a(803),j=(a(1205),a(3)),f=a(587),w=a.n(f),_=a(804),S=function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,c=new Array(n),r=0;r<n;r++)c[r]=arguments[r];return(a=Object(l.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(c)))).closeIcon="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",a.createTeamSuccessPopup=null,a.joinSuccessPopup=null,a.swiper=null,a.state={teamData:{member:[]},origin:sessionStorage.getItem("isCaptain")?1:Object(j.c)("origin"),treasure_code:Object(j.c)("treasure_code"),activityEnd:!1,notices:[],rule:"",isCaptain:1==Object(j.c)("origin")},a.fetchPageData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.origin,n=void 0===t?a.state.origin:t,c=e.treasure_code,r=void 0===c?a.state.treasure_code:c;j.d.post("".concat(API.home,"/sys/treasure/team"),{treasure_code:r,origin:n}).then(function(e){var t=e.data,n=t.data,c=t.code,r=t.msg;if(200==c){a.setState({teamData:n,isCaptain:sessionStorage.getItem("isCaptain")?sessionStorage.getItem("isCaptain"):1==Object(j.c)("origin"),activityEnd:5==n.status});var s=new URLSearchParams(window.location.search);"1"!==s.get("origin")||j.b.isWeixin||(s.set("origin","2"),sessionStorage.setItem("isCaptain","1"),window.history.replaceState(null,"","landing?".concat(s.toString()))),a.showSharePromptWithParam()}else i.a.info(r,2,null,!1)})},a.showSharePromptWithParam=function(){sessionStorage.getItem("showShareTip")&&a.showShareTip()},a.joinTeam=function(){if(!a.requiredLogin()){var e=a.state.treasure_code;j.d.post("".concat(API.home,"/sys/treasure/joinTeam"),{treasure_code:e}).then(function(e){var t=e.data,n=t.data,c=t.code,r=t.msg;if(200===c)switch(n.status){case 1:case 2:a.joinSuccess(n);break;default:i.a.info(r,2,null,!1)}else i.a.info(r,2,null,!1)})}},a.handleToMyTreasure=function(){a.joinSuccessPopup&&a.joinSuccessPopup.remove(),Object(j.c)("version")?history.push("/year/yearTreasure?id=".concat(id,"&version=").concat(Object(j.c)("version"))):history.push("/year/yearTreasure?id=".concat(id))},a.joinSuccess=function(e){e.id;var t=e.status,n=e.my_team,c=n.team_num,r=n.lack_member,i=n.is_team,s=n.treasure_code;a.props.history;a.joinSuccessPopup=Object(b.h)({title:h.a.createElement("div",{className:"join-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/check-icon.png",alt:""}),h.a.createElement("div",null,"\u6210\u529f\u52a0\u5165\u961f\u4f0d")),className:"landing-join-success-wrapper",content:h.a.createElement("div",null,h.a.createElement("div",{className:"tip"},2===t?"\u7ec4\u961f\u6210\u529f\uff0c\u606d\u559c\u4f60\u83b7\u5f97\u4e00\u4e2a\u5b9d\u7bb1\uff01":i?h.a.createElement(h.a.Fragment,null,"\u60a8\u7684",h.a.createElement("span",null,c),"\u53f7\u961f\u4f0d\u8fd8\u5dee",h.a.createElement("span",null,r),"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1"):"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~"),2===t?h.a.createElement("img",{style:{width:"150px",marginTop:"23px"},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/treasure-box.png",alt:"",onClick:a.handleToMyTreasure}):i?h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(m.a)(a),s)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",onClick:a.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d")),closeIcon:a.closeIcon,close:function(){a.fetchPageData(),a.getFollowStatus().then(function(e){!e&&a.remind("join",a.state.treasure_code,2)})}})},a.inviteMembers=function(e){var t=a.props,n=t.history,c=t.match,r=t.user,i=t.location;if(Object(j.c)("version")){var s={title:"@".concat(r.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\u52a0\u5165\u6211\u7684\u961f\u4f0d\uff0c\u673a\u68b0\u952e\u76d8\uff0c\u7eb8\u8d28\u4e66\u7c4d\u7b49\u8d85\u591a\u5956\u54c1\u7b49\u4f60\u62ff\uff01",link:"".concat(window.location.origin).concat(i.pathname,"?treasure_code=").concat(e,"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"};Object(j.a)("toShare",s)}j.b.isWeixin&&Object(j.i)({title:"@".concat(r.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\u52a0\u5165\u6211\u7684\u961f\u4f0d\uff0c\u673a\u68b0\u952e\u76d8\uff0c\u7eb8\u8d28\u4e66\u7c4d\u7b49\u8d85\u591a\u5956\u54c1\u7b49\u4f60\u62ff\uff01",link:"".concat(window.location.origin).concat(i.pathname,"?treasure_code=").concat(e,"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"}),sessionStorage.setItem("showShareTip","1"),n.replace("".concat(c.url,"?treasure_code=").concat(e,"&origin=",1)),a.createTeamSuccessPopup&&a.createTeamSuccessPopup.remove()&&(a.createTeamSuccessPopup=null),a.joinSuccessPopup&&a.joinSuccessPopup.remove()&&(a.joinSuccessPopup=null),a.fetchPageData({treasure_code:e,origin:1}),a.setState({isCaptain:!0})},a.getFollowStatus=function(){return j.d.get("".concat(API.home,"/sys/user/isFollowWeChat")).then(function(e){var t=e.data,a=t.code,n=t.data;return 200===a&&n.is_follow})},a.createTeamSuccess=function(e){var t=e.member,n=e.team_num,c=e.lack_member,r=e.treasure_code;a.joinSuccessPopup&&a.joinSuccessPopup.remove()&&(a.joinSuccessPopup=null),a.getFollowStatus().then(function(e){a.createTeamSuccessPopup=Object(b.h)({title:"\u521b\u5efa\u6210\u529f",className:"landing-create-success",content:h.a.createElement("div",null,h.a.createElement("div",{className:"tip"},h.a.createElement("span",null,n),"\u53f7\u961f\u4f0d \u8fd8\u5dee",h.a.createElement("span",null,c),"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6~"),h.a.createElement("img",{className:"treasure-box",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png",alt:""}),h.a.createElement("ul",{className:"members"},new Array(5).fill("a").map(function(e,a){var n=t[a];return h.a.createElement("li",{key:a},n&&n.is_captain&&h.a.createElement("sup",null,"\u961f\u957f"),h.a.createElement("img",{className:"avatar",src:n?n.head_img:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png",alt:""}))})),h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(m.a)(a),r)},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),closeIcon:a.closeIcon,afterClose:function(){e||a.remind("create",r)}})})},a.saveImage=function(e){var t=Object(j.c)("version");(t="string"===typeof t?t.replace(".","").replace(".","").slice(0,3):"")&&parseInt(t)<451?i.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",3,null,!1):Object(j.a)("generateQRCode",e)},a.remind=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"create",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,c=a.props.user;j.d.get("".concat(API["base-api"],"/wx/user_temporary_qrcode/").concat(c.data.uid)).then(function(e){return e.data.data.url}).then(function(c){w.a.toDataURL(c).then(function(r){Object(b.h)({title:"\u63d0\u9192\u670d\u52a1",className:"landing-remind",closeIcon:a.closeIcon,content:h.a.createElement("div",null,h.a.createElement("div",{className:"des"},"create"===e?"\u6709\u597d\u53cb\u52a0\u5165\u961f\u4f0d\u540e\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~":"\u83b7\u5f97\u5b9d\u7bb1\u65f6\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~"),h.a.createElement("img",{src:r,alt:""}),j.b.isAndroidApp?h.a.createElement("div",null,h.a.createElement("button",{className:"android-qr-code-btn",onClick:a.saveImage.bind(Object(m.a)(a),c)},"\u4fdd\u5b58\u4e8c\u7ef4\u7801")):null,h.a.createElement("div",{className:"des"},"\u957f\u6309\u8bc6\u522b/\u626b\u7801 \u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6")),close:function(){a.fetchPageData({treasure_code:t,origin:n})}})})})},a.showShareTip=function(){var e=a.props,t=e.user,n=e.location;j.b.isAndroidApp||j.b.isIOSApp?Object(j.a)("toShare",{title:"@".concat(t.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\u52a0\u5165\u6211\u7684\u961f\u4f0d\uff0c\u673a\u68b0\u952e\u76d8\uff0c\u7eb8\u8d28\u4e66\u7c4d\u7b49\u8d85\u591a\u5956\u54c1\u7b49\u4f60\u62ff\uff01",link:"".concat(window.location.origin).concat(n.pathname,"?treasure_code=").concat(Object(j.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"}):(j.b.isWeixin&&1==Object(j.c)("origin")&&Object(j.i)({title:"@".concat(t.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\u52a0\u5165\u6211\u7684\u961f\u4f0d\uff0c\u673a\u68b0\u952e\u76d8\uff0c\u7eb8\u8d28\u4e66\u7c4d\u7b49\u8d85\u591a\u5956\u54c1\u7b49\u4f60\u62ff\uff01",link:"".concat(window.location.origin).concat(n.pathname,"?treasure_code=").concat(Object(j.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"}),Object(b.h)({title:h.a.createElement("div",null,"\u8fd8\u5dee",h.a.createElement("span",null,a.state.teamData.lack_member),"\u540d\u961f\u53cb\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1 \u5feb\u5206\u4eab\u7ed9\u597d\u53cb\u5427~"),className:"landing-share-tip ".concat(j.b.isWeixin?"wechat":""),closable:!1,close:function(){sessionStorage.removeItem("showShareTip"),t.hasError||a.getFollowStatus().then(function(e){!e&&a.remind("create",Object(j.c)("treasure_code"),1)})}}))},a.showOpenInBrowserTip=function(){Object(b.h)({title:h.a.createElement("div",null,"\u70b9\u51fb\u53f3\u4e0a\u89d2\uff0c\u9009\u62e9\u201c\u5728\u6d4f\u89c8\u5668\u6253\u5f00\u201d"),className:"landing-open-in-browser-tip",closable:!1})},a.createMyTeam=function(){a.requiredLogin()||j.d.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,n=t.data,c=t.code,r=t.msg;200==c?a.createTeamSuccess(n):i.a.info(r,2,null,!1)})},a.requiredLogin=function(){var e=a.props,t=e.history;if(e.user.hasError)return t.push("/passport"),!0},a.toSquare=function(){var e=a.props.history;Object(j.c)("version")?e.push("/year/yearindex?version="+Object(j.c)("version")):e.push("/year/yearindex")},a}return Object(d.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.fetchPageData(),window.showFollowAlert=this.remind.bind(this,"create")}},{key:"componentDidUpdate",value:function(e){e.user.hasError===this.props.user.hasError||this.props.user.hasError||this.fetchPageData()}},{key:"render",value:function(){var e=this.state,t=e.teamData,a=t.head_img,n=t.member,r=t.status,i=t.lack_member,s=t.team_num,o=t.prize_info,l=t.my_team,u=e.activityEnd,m=e.isCaptain;return h.a.createElement("div",{id:"landing"},h.a.createElement("div",{id:"to-square"},h.a.createElement("a",{href:"javascript:",onClick:this.toSquare},"\u524d\u5f80\u6d3b\u52a8\u4f1a\u573a\uff0c\u4eab\u66f4\u591a\u798f\u5229\uff01 >>")),h.a.createElement(g,null,h.a.createElement("i",{className:"snow-deco"}),h.a.createElement("img",{className:"main-avatar",src:a,alt:""}),1===r?h.a.createElement("div",{className:"des"},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d\uff0c\u5f00\u5b9d\u7bb1\u9886\u53d6\u4e30\u539a\u5956\u54c1~"):h.a.createElement("div",{className:"des"},"\u52a0\u5165\u6211\u7684",h.a.createElement("span",null,s),"\u53f7\u961f\u4f0d\uff0c\u4e00\u8d77\u5f00\u5b9d\u7bb1\u9886\u53d6\u4e30\u539a\u5956\u54c1~"),h.a.createElement(y.a,{showSystemNotices:!1}),h.a.createElement(E.a,null),h.a.createElement("div",{className:"group"},h.a.createElement("ul",{className:"member"},n&&n.length&&new Array(5).fill("a").map(function(e,t){var a=n[t];return a?h.a.createElement("li",{key:t},h.a.createElement("div",{className:"avatar-wrapper"},a.is_captain?h.a.createElement("sup",null,"\u961f\u957f"):null,h.a.createElement("img",{src:a.head_img,alt:"",className:"avatar"}))):h.a.createElement("li",{key:t},h.a.createElement("div",{className:"avatar-wrapper"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png",alt:"",className:"avatar"})))})),h.a.createElement("ul",{className:"bars"},n&&n.length&&new Array(5).fill("a").map(function(e,t){return h.a.createElement("li",{key:t,className:"".concat(t<n.length?"active":"")})})),1===r&&!u&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},"\u8fd8\u5dee ",i," \u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5f53\u524d\u5b9d\u7bb1\u54e6~"),h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.showShareTip},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),3===r&&!u&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},h.a.createElement("p",null,"\u5df2\u52a0\u5165\u5f53\u524d\u961f\u4f0d"),l.is_team?h.a.createElement("p",null,"\u60a8\u7684",l.team_num,"\u53f7\u961f\u4f0d\u8fd8\u5dee",l.lack_member,"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1~"):h.a.createElement("p",null,"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~")),l.is_team?h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.inviteMembers.bind(this,l.treasure_code)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d")),4===r&&!u&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},h.a.createElement("p",null,"\u5df2\u52a0\u5165\u5176\u4ed6\u961f\u4f0d"),l.is_team?h.a.createElement("p",null,"\u60a8\u7684",l.team_num,"\u53f7\u961f\u4f0d\u8fd8\u5dee",l.lack_member,"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1~"):h.a.createElement("p",null,"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~")),l.is_team?h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.inviteMembers.bind(this,l.treasure_code)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d")),2===r&&!u&&h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.joinTeam},"\u540c\u610f\u52a0\u5165\u961f\u4f0d"),o&&0!==o.length&&!u&&!m&&h.a.createElement("div",{className:"certainly-prompt"},"\u7b2c",o[0].stage_no,"\u6b21\u5fc5\u4e2d ",o[0].name),u&&h.a.createElement("div",{className:"activity-end"},h.a.createElement("div",null,"\u6d3b\u52a8\u5df2\u7ed3\u675f"),h.a.createElement("div",null,"\u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u4e86\u89e3\u66f4\u591a\u6d3b\u52a8\u4fe1\u606f"),h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png",alt:""}),h.a.createElement("div",null,"\u957f\u6309\u8bc6\u522b / \u5fae\u4fe1\u626b\u7801")))),!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement(c.a,{size:"xl"}),h.a.createElement(_.a,{getSum:function(){}})))}}]),t}(p.Component);t.default=Object(v.b)(function(e){return{user:e.user}},null)(S)}}]);
//# sourceMappingURL=newyear-2019-landing.aa34deee.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/activity/newyear-2019/box-container/container.js","components/activity/newyear-2019/landing/index.js"],"names":["Container","react_default","a","createElement","className","this","props","children","Component","Landing","closeIcon","createTeamSuccessPopup","joinSuccessPopup","swiper","state","teamData","member","origin","sessionStorage","getItem","getParam","treasure_code","activityEnd","notices","rule","isCaptain","fetchPageData","_ref","arguments","length","undefined","_ref$origin","_this","_ref$treasure_code","http","post","concat","API","home","then","res","_res$data","data","code","msg","setState","status","searchParams","URLSearchParams","window","location","search","get","browser","isWeixin","set","setItem","history","replaceState","toString","showSharePromptWithParam","toast_default","info","showShareTip","joinTeam","requiredLogin","_res$data2","joinSuccess","handleToMyTreasure","remove","push","id","_ref2","_ref2$my_team","my_team","team_num","lack_member","is_team","Popup","title","src","alt","content","Fragment","style","width","marginTop","onClick","type","inviteMembers","bind","Object","assertThisInitialized","createMyTeam","close","getFollowStatus","isFollow","remind","_this$props","match","user","username","desc","link","pathname","imgUrl","SendMessageToApp","wxShare","replace","url","_res$data3","createTeamSuccess","_ref3","Array","fill","map","item","index","_member","key","afterClose","saveImage","version","slice","parseInt","uid","text","QRCode","toDataURL","isAndroidApp","_this$props2","isIOSApp","closable","removeItem","hasError","showOpenInBrowserTip","_res$data4","_this$props3","toSquare","showFollowAlert","prevProps","_this$state","_this$state$teamData","head_img","prize_info","href","container","prizes","showSystemNotices","user_bullet_screen","is_captain","stage_no","name","white_space_default","size","YearCourse","getSum","connect"],"mappings":"iQAceA,4LAVX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7D,yCAOG,IAAX/C,IAAiBxB,GAAerB,EAAAC,EAAAC,cAAA,UAASqF,KAAK,SAASpF,UAAW,aAAcmF,QAASlF,KAAK2D,UAA9D,wCAKhCgF,GAAoC,IAAtBA,EAAWnH,SAAiBP,IAAgBG,GAAaxB,EAAAC,EAAAC,cAAA,OAAKC,UAAU,oBAAf,SACnE4I,EAAW,GAAGO,SADqD,sBACvCP,EAAW,GAAGQ,MAI9ClI,GACArB,EAAAC,EAAAC,cAAA,OAAKC,UAAU,gBACbH,EAAAC,EAAAC,cAAA,6CACAF,EAAAC,EAAAC,cAAA,iIACAF,EAAAC,EAAAC,cAAA,OAAK6E,IAAI,kFAAkFC,IAAI,KAC/FhF,EAAAC,EAAAC,cAAA,sEAMLsB,GACDxB,EAAAC,EAAAC,cAAAF,EAAAC,EAAAiF,SAAA,KACElF,EAAAC,EAAAC,cAAAsJ,EAAAvJ,EAAA,CAAYwJ,KAAM,OAClBzJ,EAAAC,EAAAC,cAACwJ,EAAA,EAAD,CAAYC,OAAQ,wBA1gBVpJ,aAmhBPqJ,sBACb,SAAA/I,GAAK,MAAK,CAACsF,KAAMtF,EAAMsF,OACvB,KAFayD,CAGbpJ","file":"mrstatic/js/newyear-2019-landing.aa34deee.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport './box-container.scss'\nclass Container extends Component {\n render() {\n return (\n <div className={'box-container'}>\n <div className=\"image-box\">\n {this.props.children}\n </div>\n </div>\n )\n }\n}\n\nexport default Container\n","import React, { Component } from 'react'\nimport BoxContainer from '../box-container/container'\nimport { Toast, WhiteSpace } from \"antd-mobile\"\nimport { Popup } from \"@common/index\"\nimport { connect } from \"react-redux\"\nimport Prizes from \"@components/activity/newyear-2019/common/prizes\"\nimport BulletScreen from \"@components/activity/newyear-2019/common/user-bullet-screen\"\nimport './landing.scss'\nimport { browser, getParam, http, wxShare, SendMessageToApp } from \"@/utils\"\nimport QRCode from \"qrcode\"\nimport YearCourse from '../preheat/YearCourse'\n\n\nclass Landing extends Component {\n\n\n closeIcon = 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png'\n createTeamSuccessPopup = null\n joinSuccessPopup = null\n swiper = null\n\n state = {\n teamData: {\n member: []\n },\n origin: sessionStorage.getItem('isCaptain') ? 1 : getParam('origin'),\n treasure_code: getParam('treasure_code'),\n activityEnd: false,\n notices: [],\n rule: '',\n isCaptain: getParam('origin') == 1\n }\n\n componentDidMount() {\n this.fetchPageData()\n window.showFollowAlert = this.remind.bind(this, 'create')\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.user.hasError !== this.props.user.hasError && !this.props.user.hasError) {\n this.fetchPageData()\n }\n }\n\n\n fetchPageData = ({origin = this.state.origin, treasure_code = this.state.treasure_code} = {}) => {\n http.post(`${API.home}/sys/treasure/team`, {\n treasure_code,\n origin\n })\n .then(res => {\n const {data, code, msg} = res.data\n if (code == 200) {\n\n this.setState({\n teamData: data,\n isCaptain: sessionStorage.getItem('isCaptain') ? sessionStorage.getItem('isCaptain') : getParam('origin') == 1,\n activityEnd: data.status == 5\n })\n\n let searchParams = new URLSearchParams(window.location.search)\n if (searchParams.get('origin') === '1' && !browser.isWeixin) {\n searchParams.set('origin', '2')\n sessionStorage.setItem('isCaptain', '1')\n window.history.replaceState(null, '', `landing?${searchParams.toString()}`)\n }\n\n this.showSharePromptWithParam()\n\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n showSharePromptWithParam = () => {\n if (sessionStorage.getItem('showShareTip')) {\n this.showShareTip()\n }\n }\n\n joinTeam = () => {\n if (this.requiredLogin()) {\n return\n }\n const {treasure_code} = this.state\n http.post(`${API.home}/sys/treasure/joinTeam`, {\n treasure_code\n })\n .then(res => {\n const {data, code, msg} = res.data\n if (code === 200) {\n\n /*\n * status\n * 1-成功加入\n * 2-成功加入组队成功\n * 3-已加入当前队伍\n * 4-已加入其他队伍\n * */\n\n switch (data.status) {\n case 1:\n case 2:\n this.joinSuccess(data)\n break\n default:\n Toast.info(msg, 2, null, false)\n }\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n handleToMyTreasure = () => {\n this.joinSuccessPopup && this.joinSuccessPopup.remove()\n if (getParam('version')) {\n history.push(`/year/yearTreasure?id=${id}&version=${getParam('version')}`)\n } else {\n history.push(`/year/yearTreasure?id=${id}`)\n }\n }\n\n joinSuccess = ({id, status, my_team: {team_num, lack_member, is_team, treasure_code}}) => {\n const {history} = this.props\n this.joinSuccessPopup = Popup({\n title: <div className={'join-success'}>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/check-icon.png\" alt=\"\"/>\n <div>成功加入队伍</div>\n </div>,\n className: 'landing-join-success-wrapper',\n content: <div>\n <div className={'tip'}>\n {\n status === 2\n ? '组队成功,恭喜你获得一个宝箱!'\n : is_team\n ? <>您的{<span>{team_num}</span>}号队伍还差{<span>{lack_member}</span>}人即可获得宝箱</>\n : '自己当队长,宝箱内有专属奖品哦~'\n }\n </div>\n {\n status === 2\n ? <img style={{width: '150px', marginTop: '23px'}}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/treasure-box.png\"\n alt=\"\"\n onClick={this.handleToMyTreasure}\n />\n : is_team\n ? <button type='button'\n onClick={this.inviteMembers.bind(this, treasure_code)}>继续组队</button>\n : <button type=\"button\" onClick={this.createMyTeam}>创建我的队伍</button>\n }\n </div>,\n closeIcon: this.closeIcon,\n close: () => {\n this.fetchPageData()\n this.getFollowStatus()\n .then(isFollow => {\n !isFollow && this.remind('join', this.state.treasure_code, 2)\n })\n }\n })\n }\n\n inviteMembers = treasure_code => {\n const {history, match, user, location} = this.props\n if (getParam('version')) {\n let data = {\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}${location.pathname}?treasure_code=${treasure_code}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n }\n SendMessageToApp(\"toShare\", data)\n }\n if (browser.isWeixin) {\n wxShare({\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}${location.pathname}?treasure_code=${treasure_code}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n })\n }\n sessionStorage.setItem('showShareTip', '1')\n history.replace(`${match.url}?treasure_code=${treasure_code}&origin=${1}`)\n this.createTeamSuccessPopup && this.createTeamSuccessPopup.remove() && (this.createTeamSuccessPopup = null)\n this.joinSuccessPopup && this.joinSuccessPopup.remove() && (this.joinSuccessPopup = null)\n this.fetchPageData({treasure_code, origin: 1})\n this.setState({\n isCaptain: true\n })\n }\n\n getFollowStatus = () => http.get(`${API.home}/sys/user/isFollowWeChat`)\n .then(res => {\n const {code, data} = res.data\n return code === 200 && data['is_follow']\n })\n\n createTeamSuccess = ({member, team_num, lack_member, treasure_code}) => {\n this.joinSuccessPopup && this.joinSuccessPopup.remove() && (this.joinSuccessPopup = null)\n this.getFollowStatus()\n .then(isFollow => {\n this.createTeamSuccessPopup = Popup({\n title: '创建成功',\n className: 'landing-create-success',\n content: <div>\n <div className=\"tip\">{<span>{team_num}</span>}号队伍 还差{<span>{lack_member}</span>}名队员即可获得宝箱哦~</div>\n <img className={'treasure-box'}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png\" alt=\"\"/>\n <ul className='members'>\n {\n new Array(5).fill('a').map((item, index) => {\n const _member = member[index]\n return <li key={index}>\n {_member && _member['is_captain'] && <sup>队长</sup>}\n <img\n className={'avatar'}\n src={\n _member\n ? _member['head_img']\n : \"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png\"\n }\n alt=\"\"/>\n </li>\n })\n }\n </ul>\n <button type={'button'} onClick={this.inviteMembers.bind(this, treasure_code)}>邀请好友加入队伍</button>\n </div>,\n closeIcon: this.closeIcon,\n afterClose: () => {\n if (!isFollow) {\n this.remind('create', treasure_code)\n }\n }\n })\n\n })\n }\n\n // 安卓手机保存二维码\n saveImage = url => {\n let version = getParam('version')\n version = typeof version === 'string' ? version.replace('.', '').replace('.', '').slice(0, 3) : ''\n if (version && parseInt(version) < 451) {\n Toast.info('当前不支持此功能,升级到最新版本app可以点击保存二维码!', 3, null, false)\n } else {\n SendMessageToApp('generateQRCode', url)\n }\n }\n\n\n remind = (type = 'create', treasure_code, origin = 1) => {\n const {user} = this.props\n http.get(`${API[\"base-api\"]}/wx/user_temporary_qrcode/${user.data.uid}`)\n .then(res => {\n const {data} = res.data\n return data.url\n }).then(text => {\n QRCode.toDataURL(text)\n .then(url => {\n Popup({\n title: '提醒服务',\n className: 'landing-remind',\n closeIcon: this.closeIcon,\n content: <div>\n <div className=\"des\">{type === 'create' ? '有好友加入队伍后第一时间通知我~' : '获得宝箱时第一时间通知我~'}</div>\n <img src={url} alt=\"\"/>\n {browser.isAndroidApp ? <div>\n <button className={'android-qr-code-btn'} onClick={this.saveImage.bind(this, text)}>保存二维码</button>\n </div> : null}\n <div className=\"des\">长按识别/扫码 关注【七月在线】服务号即可预约</div>\n </div>,\n close: () => {\n // history.replace(`${match.path}?treasure_code=${treasure_code}&origin=1`)\n this.fetchPageData({\n treasure_code,\n origin\n })\n }\n })\n })\n })\n\n }\n\n showShareTip = () => {\n const {user, location} = this.props\n if (browser.isAndroidApp || browser.isIOSApp) {\n\n SendMessageToApp('toShare', {\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}${location.pathname}?treasure_code=${getParam('treasure_code')}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n })\n\n } else {\n if (browser.isWeixin && getParam('origin') == 1) {\n wxShare({\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}${location.pathname}?treasure_code=${getParam('treasure_code')}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n })\n // history.replace(`${match.url}?treasure_code=${getParam('treasure_code')}&origin=2`)\n }\n Popup({\n title: <div>还差<span>{this.state.teamData.lack_member}</span>名队友即可获得宝箱 快分享给好友吧~</div>,\n className: `landing-share-tip ${browser.isWeixin ? 'wechat' : ''}`,\n closable: false,\n close: () => {\n sessionStorage.removeItem('showShareTip')\n if (!user.hasError) {\n this.getFollowStatus()\n .then(isFollow => {\n !isFollow && this.remind('create', getParam('treasure_code'), 1)\n })\n }\n }\n })\n }\n }\n\n showOpenInBrowserTip = () => {\n Popup({\n title: <div>点击右上角,选择“在浏览器打开”</div>,\n className: 'landing-open-in-browser-tip',\n closable: false,\n })\n }\n\n createMyTeam = () => {\n if (this.requiredLogin()) {\n return\n }\n http.get(`${API.home}/sys/treasure/createMyTeam`)\n .then(res => {\n const {data, code, msg} = res.data\n if (code == 200) {\n\n this.createTeamSuccess(data)\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n requiredLogin = () => {\n const {history, user} = this.props\n\n if (user.hasError) {\n history.push('/passport')\n return true\n }\n }\n\n toSquare = () => {\n const {history} = this.props\n if (!getParam('version')) {\n history.push('/year/yearindex')\n } else {\n history.push('/year/yearindex?version=' + getParam('version'))\n }\n }\n\n\n render() {\n const {\n teamData: {\n head_img,\n member,\n status,\n lack_member,\n team_num,\n prize_info,\n my_team\n },\n activityEnd,\n isCaptain\n } = this.state\n /*\n * status\n * 1-自己的队伍\n * 2-未加入队伍\n * 3-已加入当前队伍\n * 4-已加入别的队伍\n * */\n\n return (\n <div id={'landing'}>\n <div id=\"to-square\">\n <a href='javascript:' onClick={this.toSquare}>前往活动会场,享更多福利! >></a>\n </div>\n <BoxContainer>\n <i className=\"snow-deco\"/>\n <img className='main-avatar'\n src={head_img} alt=\"\"/>\n {\n status === 1\n ? <div className=\"des\">邀请好友加入队伍,开宝箱领取丰厚奖品~</div>\n : <div className=\"des\">加入我的<span>{team_num}</span>号队伍,一起开宝箱领取丰厚奖品~</div>\n }\n <Prizes showSystemNotices={false}/>\n <BulletScreen/>\n <div className=\"group\">\n <ul className={'member'}>\n {\n member && member.length &&\n new Array(5).fill('a').map((item, index) => {\n const _member = member[index]\n return (\n _member\n ? <li key={index}>\n <div className='avatar-wrapper'>\n {\n _member.is_captain ? <sup>队长</sup> : null\n }\n <img\n src={_member.head_img}\n alt=\"\"\n className=\"avatar\"/>\n </div>\n </li>\n :\n <li key={index}>\n <div className=\"avatar-wrapper\">\n <img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png\"\n alt=\"\"\n className=\"avatar\"/>\n </div>\n </li>\n )\n })\n }\n </ul>\n <ul className={'bars'}>\n {\n member && member.length &&\n new Array(5).fill('a').map((item, index) => {\n return (\n <li key={index} className={`${index < member.length ? 'active' : ''}`}/>\n )\n })\n }\n </ul>\n {\n status === 1 && !activityEnd &&\n <>\n <div className=\"group-des\">\n 还差 {lack_member} 名队员即可获得当前宝箱哦~\n </div>\n <button type='button' className={'invite-btn'} onClick={this.showShareTip}>\n 邀请好友加入队伍\n </button>\n </>\n }\n {\n status === 3 && !activityEnd &&\n <>\n <div className=\"group-des\">\n <p>已加入当前队伍</p>\n {\n my_team['is_team']\n ? <p>您的{my_team['team_num']}号队伍还差{my_team['lack_member']}人即可获得宝箱~</p>\n : <p>自己当队长,宝箱内有专属奖品哦~</p>\n }\n </div>\n {\n my_team['is_team'] ?\n <button type='button' className={'invite-btn'}\n onClick={this.inviteMembers.bind(this, my_team['treasure_code'])}>\n 继续组队\n </button>\n : <button type='button' className={'invite-btn'} onClick={this.createMyTeam}>\n 创建我的队伍\n </button>\n }\n </>\n }\n {\n status === 4 && !activityEnd &&\n <>\n <div className=\"group-des\">\n <p>已加入其他队伍</p>\n {\n my_team['is_team']\n ? <p>您的{my_team['team_num']}号队伍还差{my_team['lack_member']}人即可获得宝箱~</p>\n : <p>自己当队长,宝箱内有专属奖品哦~</p>\n }\n </div>\n {\n my_team['is_team'] ?\n <button type='button' className={'invite-btn'}\n onClick={this.inviteMembers.bind(this, my_team['treasure_code'])}>\n 继续组队\n </button>\n : <button type='button' className={'invite-btn'} onClick={this.createMyTeam}>\n 创建我的队伍\n </button>\n }\n </>\n }\n {\n status === 2 && !activityEnd && < button type='button' className={'invite-btn'} onClick={this.joinTeam}>\n 同意加入队伍\n </button>\n }\n {\n prize_info && prize_info.length !== 0 && !activityEnd && !isCaptain && <div className=\"certainly-prompt\">\n 第{prize_info[0].stage_no}次必中 {prize_info[0].name}\n </div>\n }\n {\n activityEnd &&\n <div className='activity-end'>\n <div>活动已结束</div>\n <div>关注【七月在线】服务号了解更多活动信息</div>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png\" alt=\"\"/>\n <div>长按识别 / 微信扫码</div>\n </div>\n }\n </div>\n </BoxContainer>\n {\n !isCaptain &&\n <>\n <WhiteSpace size={'xl'}/>\n <YearCourse getSum={() => {\n }}/>\n </>\n }\n </div>\n )\n }\n}\n\nexport default connect(\n state => ({user: state.user}),\n null\n)(Landing)\n"],"sourceRoot":""}
\ No newline at end of file
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.
!function(e){function r(r){for(var n,a,d=r[0],i=r[1],s=r[2],f=0,l=[];f<d.length;f++)a=d[f],o[a]&&l.push(o[a][0]),o[a]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(u&&u(r);l.length;)l.shift()();return c.push.apply(c,s||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,a=1;a<t.length;a++){var i=t[a];0!==o[i]&&(n=!1)}n&&(c.splice(r--,1),e=d(d.s=t[0]))}return e}var n={},a={34:0},o={34:0},c=[];function d(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,d),t.l=!0,t.exports}d.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,13:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,32:1,33:1,35:1,36:1,37:1,38:1,39:1,40:1,42:1,43:1,44:1,45:1,46:1,47:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"95acca4a",3:"1133c967",4:"08739942",5:"2a913483",6:"127d35ae",7:"400393b7",8:"fed92c83",9:"1bd3da48",10:"17af9370",11:"08739942",12:"31d6cfe0",13:"83a999aa",14:"31d6cfe0",15:"68a25070",16:"ccebc534",17:"6d7d1b77",18:"6e885738",19:"887eb690",20:"affb05d7",21:"32a9cccc",22:"5dc65c0d",23:"39fb77c8",24:"0ce3fd3d",25:"2e5f43c4",26:"e8363b32",27:"55b938da",29:"841d0cfb",30:"7993c145",31:"2c5e2cc2",32:"ce85cb83",33:"7558403e",35:"efa1dd44",36:"cde549fc",37:"62b8863b",38:"4fbf61d8",39:"ffd8be6c",40:"b3755c1b",42:"976b2058",43:"51412fcd",44:"e292ab6b",45:"37fb0c23",46:"56b04545",47:"ce17075b"}[e]+".chunk.css",o=d.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var s=(u=c[i]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(s===n||s===o))return r()}var f=document.getElementsByTagName("style");for(i=0;i<f.length;i++){var u;if((s=(u=f[i]).getAttribute("data-href"))===n||s===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.request=n,delete a[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var c,i=document.createElement("script");i.charset="utf-8",i.timeout=120,d.nc&&i.setAttribute("nonce",d.nc),i.src=function(e){return d.p+"mrstatic/js/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[e]||e)+"."+{0:"43dd2336",1:"3394dc8f",2:"1dd4d567",3:"ac471c3d",4:"9d2bcd02",5:"ee9f49e7",6:"cc0bcec2",7:"23462b73",8:"a70eadab",9:"3a281ff6",10:"6e059753",11:"e94f1325",12:"136b402e",13:"bb18574c",14:"49b78136",15:"2f6bc85a",16:"7732eb2c",17:"898dfad9",18:"9f726830",19:"71012ab4",20:"85264d37",21:"e9282439",22:"e8383d61",23:"82da66de",24:"c0489b12",25:"cd73a69e",26:"4203b243",27:"f5f551f5",29:"978cb0a2",30:"51ec08c7",31:"a5223d56",32:"5b063df8",33:"642c09b0",35:"80d1b3d1",36:"a78abb9e",37:"3f2591ee",38:"283f5398",39:"dbd3f54c",40:"61161570",42:"df4177bc",43:"9ebd27e5",44:"bb8f8269",45:"47c128cc",46:"c5238c5f",47:"cc32b75c"}[e]+".chunk.js"}(e),c=function(r){i.onerror=i.onload=null,clearTimeout(s);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var s=setTimeout(function(){c({type:"timeout",target:i})},12e4);i.onerror=i.onload=c,document.head.appendChild(i)}return Promise.all(r)},d.m=e,d.c=n,d.d=function(e,r,t){d.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,r){if(1&r&&(e=d(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)d.d(t,n,function(r){return e[r]}.bind(null,n));return t},d.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(r,"a",r),r},d.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},d.p="/",d.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],s=i.push.bind(i);i.push=r,i=i.slice();for(var f=0;f<i.length;f++)r(i[f]);var u=s;t()}([]); !function(e){function r(r){for(var n,a,i=r[0],d=r[1],s=r[2],f=0,l=[];f<i.length;f++)a=i[f],o[a]&&l.push(o[a][0]),o[a]=0;for(n in d)Object.prototype.hasOwnProperty.call(d,n)&&(e[n]=d[n]);for(u&&u(r);l.length;)l.shift()();return c.push.apply(c,s||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,a=1;a<t.length;a++){var d=t[a];0!==o[d]&&(n=!1)}n&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},a={34:0},o={34:0},c=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,13:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,32:1,33:1,35:1,36:1,37:1,38:1,39:1,40:1,42:1,43:1,44:1,45:1,46:1,47:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"95acca4a",3:"1133c967",4:"08739942",5:"2a913483",6:"127d35ae",7:"400393b7",8:"fed92c83",9:"1bd3da48",10:"17af9370",11:"08739942",12:"31d6cfe0",13:"83a999aa",14:"31d6cfe0",15:"68a25070",16:"ccebc534",17:"6d7d1b77",18:"6e885738",19:"887eb690",20:"affb05d7",21:"32a9cccc",22:"5dc65c0d",23:"39fb77c8",24:"0ce3fd3d",25:"2e5f43c4",26:"e8363b32",27:"55b938da",29:"841d0cfb",30:"7993c145",31:"2c5e2cc2",32:"ce85cb83",33:"7558403e",35:"efa1dd44",36:"cde549fc",37:"62b8863b",38:"4fbf61d8",39:"ffd8be6c",40:"b3755c1b",42:"976b2058",43:"51412fcd",44:"e292ab6b",45:"37fb0c23",46:"56b04545",47:"ce17075b"}[e]+".chunk.css",o=i.p+n,c=document.getElementsByTagName("link"),d=0;d<c.length;d++){var s=(u=c[d]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(s===n||s===o))return r()}var f=document.getElementsByTagName("style");for(d=0;d<f.length;d++){var u;if((s=(u=f[d]).getAttribute("data-href"))===n||s===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.request=n,delete a[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var c,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=function(e){return i.p+"mrstatic/js/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[e]||e)+"."+{0:"43dd2336",1:"3394dc8f",2:"ec3cb3e6",3:"ac471c3d",4:"9d2bcd02",5:"ee9f49e7",6:"cc0bcec2",7:"23462b73",8:"a70eadab",9:"3a281ff6",10:"6e059753",11:"e94f1325",12:"136b402e",13:"bb18574c",14:"49b78136",15:"2f6bc85a",16:"7732eb2c",17:"898dfad9",18:"9f726830",19:"71012ab4",20:"85264d37",21:"e9282439",22:"e8383d61",23:"82da66de",24:"c0489b12",25:"cd73a69e",26:"4203b243",27:"f5f551f5",29:"978cb0a2",30:"aa34deee",31:"67a3f02e",32:"5b063df8",33:"642c09b0",35:"80d1b3d1",36:"a78abb9e",37:"3f2591ee",38:"283f5398",39:"dbd3f54c",40:"61161570",42:"df4177bc",43:"9ebd27e5",44:"bb8f8269",45:"47c128cc",46:"c5238c5f",47:"cc32b75c"}[e]+".chunk.js"}(e),c=function(r){d.onerror=d.onload=null,clearTimeout(s);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var s=setTimeout(function(){c({type:"timeout",target:d})},12e4);d.onerror=d.onload=c,document.head.appendChild(d)}return Promise.all(r)},i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var d=window.webpackJsonp=window.webpackJsonp||[],s=d.push.bind(d);d.push=r,d=d.slice();for(var f=0;f<d.length;f++)r(d[f]);var u=s;t()}([]);
//# sourceMappingURL=runtime~main.4f499422.js.map //# sourceMappingURL=runtime~main.d2059c82.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","34","exports","module","l","e","promises","2","3","4","5","6","7","8","9","10","11","13","15","16","17","18","19","20","21","22","23","24","25","26","27","29","30","31","32","33","35","36","37","38","39","40","42","43","44","45","46","47","Promise","resolve","reject","href","12","14","0","1","fullhref","p","existingLinkTags","document","getElementsByTagName","dataHref","tag","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","parentNode","removeChild","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","jsonpScriptSrc","clearTimeout","chunk","errorType","realSrc","error","undefined","setTimeout","head","all","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,EAAA,GACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ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,KAQjDlH,EAAAmH,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAAlH,EAAAkH,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,kBAAAF,QAAAG,WAAA,OAAAH,EACA,IAAAI,EAAAtI,OAAAuI,OAAA,MAGA,GAFAvH,EAAA+G,EAAAO,GACAtI,OAAA4H,eAAAU,EAAA,WAAyCT,YAAA,EAAAK,UACzC,EAAAE,GAAA,iBAAAF,EAAA,QAAAM,KAAAN,EAAAlH,EAAAwG,EAAAc,EAAAE,EAAA,SAAAA,GAAgH,OAAAN,EAAAM,IAAqBC,KAAA,KAAAD,IACrI,OAAAF,GAIAtH,EAAA0H,EAAA,SAAApH,GACA,IAAAoG,EAAApG,KAAA+G,WACA,WAA2B,OAAA/G,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAN,EAAAwG,EAAAE,EAAA,IAAAA,GACAA,GAIA1G,EAAA2G,EAAA,SAAAgB,EAAAC,GAAsD,OAAA5I,OAAAC,UAAAC,eAAAC,KAAAwI,EAAAC,IAGtD5H,EAAA4D,EAAA,IAGA5D,EAAA6H,GAAA,SAAA/C,GAA8D,MAApBgD,QAAA7B,MAAAnB,GAAoBA,GAE9D,IAAAiD,EAAAC,OAAA,aAAAA,OAAA,iBACAC,EAAAF,EAAAhJ,KAAA0I,KAAAM,GACAA,EAAAhJ,KAAAX,EACA2J,IAAAG,QACA,QAAAvJ,EAAA,EAAgBA,EAAAoJ,EAAAlJ,OAAuBF,IAAAP,EAAA2J,EAAApJ,IACvC,IAAAU,EAAA4I,EAIAxI","file":"mrstatic/js/runtime~main.4f499422.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t34: 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t34: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"mrstatic/js/\" + ({\"4\":\"Activity\",\"5\":\"BargainMiddlePage\",\"6\":\"Classify\",\"7\":\"Country\",\"8\":\"CourseList\",\"9\":\"DrawDocument\",\"10\":\"Examination\",\"11\":\"Invite\",\"12\":\"MyEdit\",\"13\":\"Order\",\"14\":\"Orderinfo\",\"15\":\"PayOrder\",\"16\":\"Preferential\",\"17\":\"SearchResult\",\"18\":\"ShareCourse\",\"19\":\"ShopCart\",\"20\":\"aist-share\",\"21\":\"blessing-getPrize\",\"22\":\"blessing-preheat\",\"23\":\"blessing-rank\",\"24\":\"coupons\",\"25\":\"deposit-order\",\"26\":\"deposit-pay-order\",\"27\":\"detail\",\"29\":\"myorders\",\"30\":\"newyear-2019-landing\",\"31\":\"newyear-yearIndex\",\"32\":\"prize-winner-list\",\"33\":\"purchased\",\"35\":\"search\",\"36\":\"shareposter\",\"37\":\"study\",\"38\":\"system-notices\",\"39\":\"togroup\",\"40\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"43dd2336\",\"1\":\"3394dc8f\",\"2\":\"1dd4d567\",\"3\":\"ac471c3d\",\"4\":\"9d2bcd02\",\"5\":\"ee9f49e7\",\"6\":\"cc0bcec2\",\"7\":\"23462b73\",\"8\":\"a70eadab\",\"9\":\"3a281ff6\",\"10\":\"6e059753\",\"11\":\"e94f1325\",\"12\":\"136b402e\",\"13\":\"bb18574c\",\"14\":\"49b78136\",\"15\":\"2f6bc85a\",\"16\":\"7732eb2c\",\"17\":\"898dfad9\",\"18\":\"9f726830\",\"19\":\"71012ab4\",\"20\":\"85264d37\",\"21\":\"e9282439\",\"22\":\"e8383d61\",\"23\":\"82da66de\",\"24\":\"c0489b12\",\"25\":\"cd73a69e\",\"26\":\"4203b243\",\"27\":\"f5f551f5\",\"29\":\"978cb0a2\",\"30\":\"51ec08c7\",\"31\":\"a5223d56\",\"32\":\"5b063df8\",\"33\":\"642c09b0\",\"35\":\"80d1b3d1\",\"36\":\"a78abb9e\",\"37\":\"3f2591ee\",\"38\":\"283f5398\",\"39\":\"dbd3f54c\",\"40\":\"61161570\",\"42\":\"df4177bc\",\"43\":\"9ebd27e5\",\"44\":\"bb8f8269\",\"45\":\"47c128cc\",\"46\":\"c5238c5f\",\"47\":\"cc32b75c\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"2\":1,\"3\":1,\"4\":1,\"5\":1,\"6\":1,\"7\":1,\"8\":1,\"9\":1,\"10\":1,\"11\":1,\"13\":1,\"15\":1,\"16\":1,\"17\":1,\"18\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"25\":1,\"26\":1,\"27\":1,\"29\":1,\"30\":1,\"31\":1,\"32\":1,\"33\":1,\"35\":1,\"36\":1,\"37\":1,\"38\":1,\"39\":1,\"40\":1,\"42\":1,\"43\":1,\"44\":1,\"45\":1,\"46\":1,\"47\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"mrstatic/css/\" + ({\"4\":\"Activity\",\"5\":\"BargainMiddlePage\",\"6\":\"Classify\",\"7\":\"Country\",\"8\":\"CourseList\",\"9\":\"DrawDocument\",\"10\":\"Examination\",\"11\":\"Invite\",\"12\":\"MyEdit\",\"13\":\"Order\",\"14\":\"Orderinfo\",\"15\":\"PayOrder\",\"16\":\"Preferential\",\"17\":\"SearchResult\",\"18\":\"ShareCourse\",\"19\":\"ShopCart\",\"20\":\"aist-share\",\"21\":\"blessing-getPrize\",\"22\":\"blessing-preheat\",\"23\":\"blessing-rank\",\"24\":\"coupons\",\"25\":\"deposit-order\",\"26\":\"deposit-pay-order\",\"27\":\"detail\",\"29\":\"myorders\",\"30\":\"newyear-2019-landing\",\"31\":\"newyear-yearIndex\",\"32\":\"prize-winner-list\",\"33\":\"purchased\",\"35\":\"search\",\"36\":\"shareposter\",\"37\":\"study\",\"38\":\"system-notices\",\"39\":\"togroup\",\"40\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"31d6cfe0\",\"2\":\"95acca4a\",\"3\":\"1133c967\",\"4\":\"08739942\",\"5\":\"2a913483\",\"6\":\"127d35ae\",\"7\":\"400393b7\",\"8\":\"fed92c83\",\"9\":\"1bd3da48\",\"10\":\"17af9370\",\"11\":\"08739942\",\"12\":\"31d6cfe0\",\"13\":\"83a999aa\",\"14\":\"31d6cfe0\",\"15\":\"68a25070\",\"16\":\"ccebc534\",\"17\":\"6d7d1b77\",\"18\":\"6e885738\",\"19\":\"887eb690\",\"20\":\"affb05d7\",\"21\":\"32a9cccc\",\"22\":\"5dc65c0d\",\"23\":\"39fb77c8\",\"24\":\"0ce3fd3d\",\"25\":\"2e5f43c4\",\"26\":\"e8363b32\",\"27\":\"55b938da\",\"29\":\"841d0cfb\",\"30\":\"7993c145\",\"31\":\"2c5e2cc2\",\"32\":\"ce85cb83\",\"33\":\"7558403e\",\"35\":\"efa1dd44\",\"36\":\"cde549fc\",\"37\":\"62b8863b\",\"38\":\"4fbf61d8\",\"39\":\"ffd8be6c\",\"40\":\"b3755c1b\",\"42\":\"976b2058\",\"43\":\"51412fcd\",\"44\":\"e292ab6b\",\"45\":\"37fb0c23\",\"46\":\"56b04545\",\"47\":\"ce17075b\"}[chunkId] + \".chunk.css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\tvar error = new Error('Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')');\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""} {"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","34","exports","module","l","e","promises","2","3","4","5","6","7","8","9","10","11","13","15","16","17","18","19","20","21","22","23","24","25","26","27","29","30","31","32","33","35","36","37","38","39","40","42","43","44","45","46","47","Promise","resolve","reject","href","12","14","0","1","fullhref","p","existingLinkTags","document","getElementsByTagName","dataHref","tag","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","parentNode","removeChild","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","jsonpScriptSrc","clearTimeout","chunk","errorType","realSrc","error","undefined","setTimeout","head","all","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,EAAA,GACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,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EA,GADA,EAAAA,IAAAF,EAAAlH,EAAAkH,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,kBAAAF,QAAAG,WAAA,OAAAH,EACA,IAAAI,EAAAtI,OAAAuI,OAAA,MAGA,GAFAvH,EAAA+G,EAAAO,GACAtI,OAAA4H,eAAAU,EAAA,WAAyCT,YAAA,EAAAK,UACzC,EAAAE,GAAA,iBAAAF,EAAA,QAAAM,KAAAN,EAAAlH,EAAAwG,EAAAc,EAAAE,EAAA,SAAAA,GAAgH,OAAAN,EAAAM,IAAqBC,KAAA,KAAAD,IACrI,OAAAF,GAIAtH,EAAA0H,EAAA,SAAApH,GACA,IAAAoG,EAAApG,KAAA+G,WACA,WAA2B,OAAA/G,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAN,EAAAwG,EAAAE,EAAA,IAAAA,GACAA,GAIA1G,EAAA2G,EAAA,SAAAgB,EAAAC,GAAsD,OAAA5I,OAAAC,UAAAC,eAAAC,KAAAwI,EAAAC,IAGtD5H,EAAA4D,EAAA,IAGA5D,EAAA6H,GAAA,SAAA/C,GAA8D,MAApBgD,QAAA7B,MAAAnB,GAAoBA,GAE9D,IAAAiD,EAAAC,OAAA,aAAAA,OAAA,iBACAC,EAAAF,EAAAhJ,KAAA0I,KAAAM,GACAA,EAAAhJ,KAAAX,EACA2J,IAAAG,QACA,QAAAvJ,EAAA,EAAgBA,EAAAoJ,EAAAlJ,OAAuBF,IAAAP,EAAA2J,EAAApJ,IACvC,IAAAU,EAAA4I,EAIAxI","file":"mrstatic/js/runtime~main.d2059c82.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t34: 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t34: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"mrstatic/js/\" + ({\"4\":\"Activity\",\"5\":\"BargainMiddlePage\",\"6\":\"Classify\",\"7\":\"Country\",\"8\":\"CourseList\",\"9\":\"DrawDocument\",\"10\":\"Examination\",\"11\":\"Invite\",\"12\":\"MyEdit\",\"13\":\"Order\",\"14\":\"Orderinfo\",\"15\":\"PayOrder\",\"16\":\"Preferential\",\"17\":\"SearchResult\",\"18\":\"ShareCourse\",\"19\":\"ShopCart\",\"20\":\"aist-share\",\"21\":\"blessing-getPrize\",\"22\":\"blessing-preheat\",\"23\":\"blessing-rank\",\"24\":\"coupons\",\"25\":\"deposit-order\",\"26\":\"deposit-pay-order\",\"27\":\"detail\",\"29\":\"myorders\",\"30\":\"newyear-2019-landing\",\"31\":\"newyear-yearIndex\",\"32\":\"prize-winner-list\",\"33\":\"purchased\",\"35\":\"search\",\"36\":\"shareposter\",\"37\":\"study\",\"38\":\"system-notices\",\"39\":\"togroup\",\"40\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"43dd2336\",\"1\":\"3394dc8f\",\"2\":\"ec3cb3e6\",\"3\":\"ac471c3d\",\"4\":\"9d2bcd02\",\"5\":\"ee9f49e7\",\"6\":\"cc0bcec2\",\"7\":\"23462b73\",\"8\":\"a70eadab\",\"9\":\"3a281ff6\",\"10\":\"6e059753\",\"11\":\"e94f1325\",\"12\":\"136b402e\",\"13\":\"bb18574c\",\"14\":\"49b78136\",\"15\":\"2f6bc85a\",\"16\":\"7732eb2c\",\"17\":\"898dfad9\",\"18\":\"9f726830\",\"19\":\"71012ab4\",\"20\":\"85264d37\",\"21\":\"e9282439\",\"22\":\"e8383d61\",\"23\":\"82da66de\",\"24\":\"c0489b12\",\"25\":\"cd73a69e\",\"26\":\"4203b243\",\"27\":\"f5f551f5\",\"29\":\"978cb0a2\",\"30\":\"aa34deee\",\"31\":\"67a3f02e\",\"32\":\"5b063df8\",\"33\":\"642c09b0\",\"35\":\"80d1b3d1\",\"36\":\"a78abb9e\",\"37\":\"3f2591ee\",\"38\":\"283f5398\",\"39\":\"dbd3f54c\",\"40\":\"61161570\",\"42\":\"df4177bc\",\"43\":\"9ebd27e5\",\"44\":\"bb8f8269\",\"45\":\"47c128cc\",\"46\":\"c5238c5f\",\"47\":\"cc32b75c\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"2\":1,\"3\":1,\"4\":1,\"5\":1,\"6\":1,\"7\":1,\"8\":1,\"9\":1,\"10\":1,\"11\":1,\"13\":1,\"15\":1,\"16\":1,\"17\":1,\"18\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"25\":1,\"26\":1,\"27\":1,\"29\":1,\"30\":1,\"31\":1,\"32\":1,\"33\":1,\"35\":1,\"36\":1,\"37\":1,\"38\":1,\"39\":1,\"40\":1,\"42\":1,\"43\":1,\"44\":1,\"45\":1,\"46\":1,\"47\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"mrstatic/css/\" + ({\"4\":\"Activity\",\"5\":\"BargainMiddlePage\",\"6\":\"Classify\",\"7\":\"Country\",\"8\":\"CourseList\",\"9\":\"DrawDocument\",\"10\":\"Examination\",\"11\":\"Invite\",\"12\":\"MyEdit\",\"13\":\"Order\",\"14\":\"Orderinfo\",\"15\":\"PayOrder\",\"16\":\"Preferential\",\"17\":\"SearchResult\",\"18\":\"ShareCourse\",\"19\":\"ShopCart\",\"20\":\"aist-share\",\"21\":\"blessing-getPrize\",\"22\":\"blessing-preheat\",\"23\":\"blessing-rank\",\"24\":\"coupons\",\"25\":\"deposit-order\",\"26\":\"deposit-pay-order\",\"27\":\"detail\",\"29\":\"myorders\",\"30\":\"newyear-2019-landing\",\"31\":\"newyear-yearIndex\",\"32\":\"prize-winner-list\",\"33\":\"purchased\",\"35\":\"search\",\"36\":\"shareposter\",\"37\":\"study\",\"38\":\"system-notices\",\"39\":\"togroup\",\"40\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"31d6cfe0\",\"2\":\"95acca4a\",\"3\":\"1133c967\",\"4\":\"08739942\",\"5\":\"2a913483\",\"6\":\"127d35ae\",\"7\":\"400393b7\",\"8\":\"fed92c83\",\"9\":\"1bd3da48\",\"10\":\"17af9370\",\"11\":\"08739942\",\"12\":\"31d6cfe0\",\"13\":\"83a999aa\",\"14\":\"31d6cfe0\",\"15\":\"68a25070\",\"16\":\"ccebc534\",\"17\":\"6d7d1b77\",\"18\":\"6e885738\",\"19\":\"887eb690\",\"20\":\"affb05d7\",\"21\":\"32a9cccc\",\"22\":\"5dc65c0d\",\"23\":\"39fb77c8\",\"24\":\"0ce3fd3d\",\"25\":\"2e5f43c4\",\"26\":\"e8363b32\",\"27\":\"55b938da\",\"29\":\"841d0cfb\",\"30\":\"7993c145\",\"31\":\"2c5e2cc2\",\"32\":\"ce85cb83\",\"33\":\"7558403e\",\"35\":\"efa1dd44\",\"36\":\"cde549fc\",\"37\":\"62b8863b\",\"38\":\"4fbf61d8\",\"39\":\"ffd8be6c\",\"40\":\"b3755c1b\",\"42\":\"976b2058\",\"43\":\"51412fcd\",\"44\":\"e292ab6b\",\"45\":\"37fb0c23\",\"46\":\"56b04545\",\"47\":\"ce17075b\"}[chunkId] + \".chunk.css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\tvar error = new Error('Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')');\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
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