Commit 0ca226f0 by xuzhenghua

pull

parents 15e0e1e3 0f92790c
#system-bullet-screen,#user-bullet-screen,.bullet-screen{width:87.733333vw;height:8vw;margin:0 auto 7.466667vw;background:rgba(0,0,0,.6);border-radius:4vw;line-height:8vw;text-align:left}#system-bullet-screen li,#user-bullet-screen li,.bullet-screen li{height:100%;padding:.533333vw;line-height:6.933333vw;display:flex;align-items:center}#system-bullet-screen .avatar,#user-bullet-screen .avatar,.bullet-screen .avatar{width:6.933333vw;height:6.933333vw;border-radius:50%;margin-right:1.866667vw;vertical-align:middle}#system-bullet-screen span:first-of-type,#user-bullet-screen span:first-of-type,.bullet-screen span:first-of-type{margin-right:1.333333vw}#system-bullet-screen span,#user-bullet-screen span,.bullet-screen span{font-size:3.2vw;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#system-bullet-screen{overflow:hidden;margin-top:2.933333vw;margin-bottom:4.266667vw;padding-left:.533333vw;display:flex;align-items:center;-webkit-transition:height .1s ease-out;transition:height .1s ease-out}#system-bullet-screen .sys-bullet-screen-swiper-container{height:100%}#system-bullet-screen ul{flex:auto;max-width:78.133333vw}#system-bullet-screen li{overflow:hidden;height:8vw}#system-bullet-screen li span{display:inline-block;white-space:nowrap;line-height:8vw}
/*# sourceMappingURL=system-notices.4eed25b3.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["/Users/fe/frontCode/mr-julyedu/src/components/activity/newyear-2019/common/user-bullet-screen/bullet-screen.scss","/Users/fe/frontCode/mr-julyedu/src/components/activity/newyear-2019/common/system-bullet-screen/system-bullet-screen.scss"],"names":[],"mappings":"AAAA,yDACI,iBAAA,CACA,UAAA,CACA,wBAAA,CACA,yBAAA,CACA,iBAAA,CACA,eAAA,CACA,eAAgB,CAPpB,kEAUQ,WAAA,CACA,iBAAA,CACA,sBAAA,CACA,YAAA,CACA,kBAAmB,CAd3B,iFAkBQ,gBAAA,CACA,iBAAA,CACA,iBAAA,CACA,uBAAA,CACA,qBAAsB,CAtB9B,kHA0BQ,uBAAiB,CA1BzB,wEA8BQ,eAAA,CACA,UAAA,CACA,kBAAA,CACA,eAAA,CACA,sBAAuB,CCmE/B,sBACI,eAAA,CACA,qBAAA,CACA,wBAAA,CACA,sBAAA,CACA,YAAA,CACA,kBAAA,CACA,sCAAA,CAAA,8BAA+B,CAPnC,0DAUQ,WAAY,CAVpB,yBAcQ,SAAA,CACA,qBAAgB,CAfxB,yBAmBQ,eAAA,CACA,UAAY,CApBpB,8BAuBY,oBAAA,CACA,kBAAA,CACA,eAAiB","file":"system-notices.4eed25b3.chunk.css","sourcesContent":[".bullet-screen{\n width: 329px;\n height: 30px;\n margin: 0 auto 28px;\n background: rgba(0, 0, 0, .6);\n border-radius: 15px;\n line-height: 30px;\n text-align: left;\n\n li {\n height: 100%;\n padding: 2px;\n line-height: 26px;\n display: flex;\n align-items: center;\n }\n\n .avatar {\n width: 26px;\n height: 26px;\n border-radius: 50%;\n margin-right: 7px;\n vertical-align: middle;\n }\n\n & span:nth-of-type(1) {\n margin-right: 5px;\n }\n\n span {\n font-size: 12px;\n color: #fff;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n}\n#user-bullet-screen {\n @extend .bullet-screen\n}\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.bullet-screen, #user-bullet-screen, #system-bullet-screen {\n width: 329px;\n height: 30px;\n margin: 0 auto 28px;\n background: rgba(0, 0, 0, 0.6);\n border-radius: 15px;\n line-height: 30px;\n text-align: left; }\n .bullet-screen li, #user-bullet-screen li, #system-bullet-screen li {\n height: 100%;\n padding: 2px;\n line-height: 26px;\n display: flex;\n align-items: center; }\n .bullet-screen .avatar, #user-bullet-screen .avatar, #system-bullet-screen .avatar {\n width: 26px;\n height: 26px;\n border-radius: 50%;\n margin-right: 7px;\n vertical-align: middle; }\n .bullet-screen span:nth-of-type(1), #user-bullet-screen span:nth-of-type(1), #system-bullet-screen span:nth-of-type(1) {\n margin-right: 5px; }\n .bullet-screen span, #user-bullet-screen span, #system-bullet-screen span {\n font-size: 12px;\n color: #fff;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis; }\n\n#system-bullet-screen {\n overflow: hidden;\n margin-top: 11px;\n margin-bottom: 16px;\n padding-left: 2px;\n display: flex;\n align-items: center;\n transition: height .1s ease-out; }\n #system-bullet-screen .sys-bullet-screen-swiper-container {\n height: 100%; }\n #system-bullet-screen ul {\n flex: auto;\n max-width: 293px; }\n #system-bullet-screen li {\n overflow: hidden;\n height: 30px; }\n #system-bullet-screen li span {\n display: inline-block;\n white-space: nowrap;\n line-height: 30px; }\n"]}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{1158:function(t,e,n){var o=n(1159),i=n(728),r="Expected a function";t.exports=function(t,e,n){var a=!0,u=!0;if("function"!=typeof t)throw new TypeError(r);return i(n)&&(a="leading"in n?!!n.leading:a,u="trailing"in n?!!n.trailing:u),o(t,e,{leading:a,maxWait:e,trailing:u})}},1159:function(t,e,n){var o=n(728),i=n(1160),r=n(1162),a="Expected a function",u=Math.max,l=Math.min;t.exports=function(t,e,n){var c,s,f,p,h,d,v=0,m=!1,g=!1,y=!0;if("function"!=typeof t)throw new TypeError(a);function b(e){var n=c,o=s;return c=s=void 0,v=e,p=t.apply(o,n)}function C(t){var n=t-d;return void 0===d||n>=e||n<0||g&&t-v>=f}function x(){var t=i();if(C(t))return w(t);h=setTimeout(x,function(t){var n=e-(t-d);return g?l(n,f-(t-v)):n}(t))}function w(t){return h=void 0,y&&c?b(t):(c=s=void 0,p)}function R(){var t=i(),n=C(t);if(c=arguments,s=this,d=t,n){if(void 0===h)return function(t){return v=t,h=setTimeout(x,e),m?b(t):p}(d);if(g)return clearTimeout(h),h=setTimeout(x,e),b(d)}return void 0===h&&(h=setTimeout(x,e)),p}return e=r(e)||0,o(n)&&(m=!!n.leading,f=(g="maxWait"in n)?u(r(n.maxWait)||0,e):f,y="trailing"in n?!!n.trailing:y),R.cancel=function(){void 0!==h&&clearTimeout(h),v=0,c=d=s=h=void 0},R.flush=function(){return void 0===h?p:w(i())},R}},1160:function(t,e,n){var o=n(805);t.exports=function(){return o.Date.now()}},1161:function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(46))},1162:function(t,e,n){var o=n(728),i=n(1163),r=NaN,a=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return r;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=l.test(t);return n||c.test(t)?s(t.slice(2),n?2:8):u.test(t)?r:+t}},1163:function(t,e,n){var o=n(1164),i=n(1167),r="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||i(t)&&o(t)==r}},1164:function(t,e,n){var o=n(806),i=n(1165),r=n(1166),a="[object Null]",u="[object Undefined]",l=o?o.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?u:a:l&&l in Object(t)?i(t):r(t)}},1165:function(t,e,n){var o=n(806),i=Object.prototype,r=i.hasOwnProperty,a=i.toString,u=o?o.toStringTag:void 0;t.exports=function(t){var e=r.call(t,u),n=t[u];try{t[u]=void 0;var o=!0}catch(l){}var i=a.call(t);return o&&(e?t[u]=n:delete t[u]),i}},1166:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},1167:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},588:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return Object.keys(t).reduce(function(e,n){return"aria-"!==n.substr(0,5)&&"data-"!==n.substr(0,5)&&"role"!==n||(e[n]=t[n]),e},{})},t.exports=e.default},593:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o,i=n(4),r=(o=i)&&o.__esModule?o:{default:o};e.getComponentLocale=function(t,e,n,o){var i={};if(e&&e.antLocale&&e.antLocale[n])i=e.antLocale[n];else{var a=o();i=a.default||a}var u=(0,r.default)({},i);t.locale&&(u=(0,r.default)({},u,t.locale),t.locale.lang&&(u.lang=(0,r.default)({},i.lang,t.locale.lang)));return u},e.getLocaleCode=function(t){var e=t.antLocale&&t.antLocale.locale;if(t.antLocale&&t.antLocale.exist&&!e)return"zh-cn";return e}},610:function(t,e,n){"use strict";n(50),n(611)},611:function(t,e,n){},612:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=g(n(4)),i=g(n(34)),r=g(n(10)),a=g(n(13)),u=g(n(11)),l=g(n(15)),c=g(n(17)),s=m(n(0)),f=m(n(2)),p=g(n(157)),h=g(n(588)),d=n(593),v=n(613);function m(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function g(t){return t&&t.__esModule?t:{default:t}}var y=function(t){function e(t){(0,r.default)(this,e);var n=(0,u.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));n.onSubmit=function(t){t.preventDefault(),n.props.onSubmit&&n.props.onSubmit(n.state.value||""),n.inputRef&&n.inputRef.blur()},n.onChange=function(t){n.state.focus||n.setState({focus:!0});var e=t.target.value;"value"in n.props||n.setState({value:e}),n.props.onChange&&n.props.onChange(e)},n.onFocus=function(){n.setState({focus:!0}),n.firstFocus=!0,n.props.onFocus&&n.props.onFocus()},n.onBlur=function(){var t;n.onBlurTimeout=(t=function(){n.blurFromOnClear||document.activeElement!==n.inputRef&&n.setState({focus:!1}),n.blurFromOnClear=!1},window.requestAnimationFrame?window.requestAnimationFrame(t):window.setTimeout(t,1)),n.props.onBlur&&(setTimeout(function(){document.body&&(document.body.scrollTop=document.body.scrollTop)},100),n.props.onBlur())},n.onClear=function(){n.doClear()},n.doClear=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];n.blurFromOnClear=t,"value"in n.props||n.setState({value:""}),n.props.onClear&&n.props.onClear(""),n.props.onChange&&n.props.onChange(""),t&&n.focus()},n.onCancel=function(){n.props.onCancel?n.props.onCancel(n.state.value||""):n.doClear(!1)},n.focus=function(){n.inputRef&&n.inputRef.focus()};var o=void 0;return o="value"in t?t.value||"":"defaultValue"in t?t.defaultValue:"",n.state={value:o,focus:!1},n}return(0,l.default)(e,t),(0,a.default)(e,[{key:"componentDidMount",value:function(){if(this.rightBtnRef){var t=window.getComputedStyle(this.rightBtnRef);this.rightBtnInitMarginleft=t.marginLeft}this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){if(this.syntheticPhRef)if(this.inputContainerRef&&this.inputContainerRef.className.indexOf(this.props.prefixCls+"-start")>-1){if(this.syntheticPhContainerRef){var t=this.syntheticPhContainerRef.getBoundingClientRect().width;this.syntheticPhRef.style.width=Math.ceil(t)+"px"}!this.props.showCancelButton&&this.rightBtnRef&&(this.rightBtnRef.style.marginRight="0")}else this.syntheticPhRef.style.width="100%",!this.props.showCancelButton&&this.rightBtnRef&&(this.rightBtnRef.style.marginRight="-"+(this.rightBtnRef.offsetWidth+(null!=this.rightBtnInitMarginleft?parseInt(this.rightBtnInitMarginleft,10):0))+"px")}},{key:"componentWillReceiveProps",value:function(t){"value"in t&&t.value!==this.state.value&&this.setState({value:t.value})}},{key:"componentWillUnmount",value:function(){var t;this.onBlurTimeout&&(t=this.onBlurTimeout,window.cancelAnimationFrame?window.cancelAnimationFrame(t):window.clearTimeout(t),this.onBlurTimeout=null)}},{key:"render",value:function(){var t,e=this,r=this.props,a=r.prefixCls,u=r.showCancelButton,l=r.disabled,f=r.placeholder,v=r.className,m=r.style,g=r.maxLength,y=(0,d.getComponentLocale)(this.props,this.context,"SearchBar",function(){return n(614)}).cancelText,b=this.state,C=b.value,x=b.focus,w=(0,c.default)(a,v,(0,i.default)({},a+"-start",!!(x||C&&C.length>0))),R=(0,c.default)(a+"-clear",(0,i.default)({},a+"-clear-show",!!(x&&C&&C.length>0))),B=(0,c.default)(a+"-cancel",(t={},(0,i.default)(t,a+"-cancel-show",!!(u||x||C&&C.length>0)),(0,i.default)(t,a+"-cancel-anim",this.firstFocus),t));return s.createElement("form",{onSubmit:this.onSubmit,className:w,style:m,ref:function(t){return e.inputContainerRef=t},action:"#"},s.createElement("div",{className:a+"-input"},s.createElement("div",{className:a+"-synthetic-ph",ref:function(t){return e.syntheticPhRef=t}},s.createElement("span",{className:a+"-synthetic-ph-container",ref:function(t){return e.syntheticPhContainerRef=t}},s.createElement("i",{className:a+"-synthetic-ph-icon"}),s.createElement("span",{className:a+"-synthetic-ph-placeholder",style:{visibility:f&&!C?"visible":"hidden"}},f))),s.createElement("input",(0,o.default)({type:"search",className:a+"-value",value:C,disabled:l,placeholder:f,onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,ref:function(t){return e.inputRef=t},maxLength:g},(0,h.default)(this.props))),s.createElement(p.default,{activeClassName:a+"-clear-active"},s.createElement("a",{onClick:this.onClear,className:R}))),s.createElement("div",{className:B,onClick:this.onCancel,ref:function(t){return e.rightBtnRef=t}},this.props.cancelText||y))}}]),e}(s.Component);e.default=y,y.defaultProps=v.defaultProps,y.contextTypes={antLocale:f.object},t.exports=e.default},613:function(t,e,n){"use strict";function o(){}Object.defineProperty(e,"__esModule",{value:!0});e.defaultProps={prefixCls:"am-search",placeholder:"",onSubmit:o,onChange:o,onFocus:o,onBlur:o,onClear:o,showCancelButton:!1,disabled:!1}},614:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={cancelText:"\u53d6\u6d88"},t.exports=e.default},728:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},805:function(t,e,n){var o=n(1161),i="object"==typeof self&&self&&self.Object===Object&&self,r=o||i||Function("return this")();t.exports=r},806:function(t,e,n){var o=n(805).Symbol;t.exports=o}}]);
//# sourceMappingURL=46.296ab055.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[48],{625:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(4)),o=s(n(10)),a=s(n(13)),u=s(n(11)),c=s(n(15)),l=s(n(17)),i=s(n(661)),f=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(0));function s(e){return e&&e.__esModule?e:{default:e}}var p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},d=function(e){function t(){return(0,o.default)(this,t),(0,u.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return(0,c.default)(t,e),(0,a.default)(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.style,o=p(e,["className","style"]),a=o.prefixCls,u=o.children,c=(0,l.default)(a+"-wrapper",t);"class"in o&&delete o.class;var s=f.createElement("label",{className:c,style:n},f.createElement(i.default,(0,r.default)({},o,{type:"radio"})),u);return this.props.wrapLabel?s:f.createElement(i.default,(0,r.default)({},this.props,{type:"radio"}))}}]),t}(f.Component);t.default=d,d.defaultProps={prefixCls:"am-radio",wrapLabel:!0},e.exports=t.default},637:function(e,t,n){"use strict";n(50),n(118),n(680)},638:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(625)),o=a(n(687));function a(e){return e&&e.__esModule?e:{default:e}}r.default.RadioItem=o.default,t.default=r.default,e.exports=t.default},661:function(e,t,n){"use strict";n.r(t);var r=n(4),o=n.n(r),a=n(34),u=n.n(a),c=n(71),l=n.n(c),i=n(10),f=n.n(i),s=n(13),p=n.n(s),d=n(11),y=n.n(d),h=n(15),b=n.n(h),v=n(0),m=n.n(v),O=n(2),g=n.n(O),j=n(681),C=n.n(j),k=n(17),x=n.n(k),P=function(e){function t(e){f()(this,t);var n=y()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));_.call(n);var r="checked"in e?e.checked:e.defaultChecked;return n.state={checked:r},n}return b()(t,e),p()(t,[{key:"componentWillReceiveProps",value:function(e){"checked"in e&&this.setState({checked:e.checked})}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return C.a.shouldComponentUpdate.apply(this,t)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.className,a=t.style,c=t.name,i=t.type,f=t.disabled,s=t.readOnly,p=t.tabIndex,d=t.onClick,y=t.onFocus,h=t.onBlur,b=l()(t,["prefixCls","className","style","name","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur"]),v=Object.keys(b).reduce(function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=b[t]),e},{}),O=this.state.checked,g=x()(n,r,(e={},u()(e,n+"-checked",O),u()(e,n+"-disabled",f),e));return m.a.createElement("span",{className:g,style:a},m.a.createElement("input",o()({name:c,type:i,readOnly:s,disabled:f,tabIndex:p,className:n+"-input",checked:!!O,onClick:d,onFocus:y,onBlur:h,onChange:this.handleChange},v)),m.a.createElement("span",{className:n+"-inner"}))}}]),t}(m.a.Component);P.propTypes={prefixCls:g.a.string,className:g.a.string,style:g.a.object,name:g.a.string,type:g.a.string,defaultChecked:g.a.oneOfType([g.a.number,g.a.bool]),checked:g.a.oneOfType([g.a.number,g.a.bool]),disabled:g.a.bool,onFocus:g.a.func,onBlur:g.a.func,onChange:g.a.func,onClick:g.a.func,tabIndex:g.a.string,readOnly:g.a.bool},P.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}};var _=function(){var e=this;this.handleChange=function(t){var n=e.props;n.disabled||("checked"in n||e.setState({checked:t.target.checked}),n.onChange({target:o()({},n,{checked:t.target.checked}),stopPropagation:function(){t.stopPropagation()},preventDefault:function(){t.preventDefault()}}))}},w=P;n.d(t,"default",function(){return w})},680:function(e,t,n){},681:function(e,t,n){var r=n(682);var o={shouldComponentUpdate:function(e,t){return function(e,t,n){return!r(e.props,t)||!r(e.state,n)}(this,e,t)}};e.exports=o},682:function(e,t,n){"use strict";var r=n(683);e.exports=function(e,t,n,o){var a=n?n.call(o,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var u=r(e),c=r(t),l=u.length;if(l!==c.length)return!1;o=o||null;for(var i=Object.prototype.hasOwnProperty.bind(t),f=0;f<l;f++){var s=u[f];if(!i(s))return!1;var p=e[s],d=t[s],y=n?n.call(o,p,d,s):void 0;if(!1===y||void 0===y&&p!==d)return!1}return!0}},683:function(e,t,n){var r=n(684),o=n(685),a=n(686),u=/^\d+$/,c=Object.prototype.hasOwnProperty,l=r(Object,"keys"),i=9007199254740991;var f,s=(f="length",function(e){return null==e?void 0:e[f]});function p(e,t){return e="number"==typeof e||u.test(e)?+e:-1,t=null==t?i:t,e>-1&&e%1==0&&e<t}function d(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function y(e){for(var t=function(e){if(null==e)return[];h(e)||(e=Object(e));var t=e.length;t=t&&d(t)&&(a(e)||o(e))&&t||0;var n=e.constructor,r=-1,u="function"==typeof n&&n.prototype===e,l=Array(t),i=t>0;for(;++r<t;)l[r]=r+"";for(var f in e)i&&p(f,t)||"constructor"==f&&(u||!c.call(e,f))||l.push(f);return l}(e),n=t.length,r=n&&e.length,u=!!r&&d(r)&&(a(e)||o(e)),l=-1,i=[];++l<n;){var f=t[l];(u&&p(f,r)||c.call(e,f))&&i.push(f)}return i}function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var b=l?function(e){var t,n=null==e?void 0:e.constructor;return"function"==typeof n&&n.prototype===e||"function"!=typeof e&&(null!=(t=e)&&d(s(t)))?y(e):h(e)?l(e):[]}:y;e.exports=b},684:function(e,t){var n="[object Function]",r=/^\[object .+?Constructor\]$/;var o=Object.prototype,a=Function.prototype.toString,u=o.hasOwnProperty,c=o.toString,l=RegExp("^"+a.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e,t){var o=null==e?void 0:e[t];return function(e){return null!=e&&(function(e){return function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)&&c.call(e)==n}(e)?l.test(a.call(e)):function(e){return!!e&&"object"==typeof e}(e)&&r.test(e))}(o)?o:void 0}},685:function(e,t){var n=9007199254740991,r="[object Arguments]",o="[object Function]",a="[object GeneratorFunction]",u=Object.prototype,c=u.hasOwnProperty,l=u.toString,i=u.propertyIsEnumerable;e.exports=function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?l.call(e):"";return t==o||t==a}(e)}(e)}(e)&&c.call(e,"callee")&&(!i.call(e,"callee")||l.call(e)==r)}},686:function(e,t){var n="[object Function]",r=/^\[object .+?Constructor\]$/;function o(e){return!!e&&"object"==typeof e}var a=Object.prototype,u=Function.prototype.toString,c=a.hasOwnProperty,l=a.toString,i=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),f=function(e,t){var a=null==e?void 0:e[t];return function(e){if(null==e)return!1;if(function(e){return function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)&&l.call(e)==n}(e))return i.test(u.call(e));return o(e)&&r.test(e)}(a)?a:void 0}(Array,"isArray"),s=9007199254740991;var p=f||function(e){return o(e)&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}(e.length)&&"[object Array]"==l.call(e)};e.exports=p},687:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n(4)),o=d(n(34)),a=d(n(10)),u=d(n(13)),c=d(n(11)),l=d(n(15)),i=d(n(17)),f=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(0)),s=d(n(47)),p=d(n(625));function d(e){return e&&e.__esModule?e:{default:e}}var y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},h=s.default.Item;function b(){}var v=function(e){function t(){return(0,a.default)(this,t),(0,c.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return(0,l.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.listPrefixCls,a=(t.onChange,t.disabled),u=t.radioProps,c=t.onClick,l=y(t,["listPrefixCls","onChange","disabled","radioProps","onClick"]),s=l.prefixCls,d=l.className,v=l.children,m=(0,i.default)(s+"-item",d,(0,o.default)({},s+"-item-disabled",!0===a));a||(l.onClick=c||b);var O={};return["name","defaultChecked","checked","onChange","disabled"].forEach(function(t){t in e.props&&(O[t]=e.props[t])}),f.createElement(h,(0,r.default)({},l,{prefixCls:n,className:m,extra:f.createElement(p.default,(0,r.default)({},u,O))}),v)}}]),t}(f.Component);t.default=v,v.defaultProps={prefixCls:"am-radio",listPrefixCls:"am-list",radioProps:{}},e.exports=t.default}}]);
//# sourceMappingURL=48.8cced5a9.chunk.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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={37:0},o={37: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,6:1,7:1,8:1,9:1,10:1,11:1,12:1,13:1,15:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,31:1,32:1,33:1,34:1,35:1,36:1,38:1,39:1,40:1,41:1,42:1,43:1,45:1,46:1,47:1,48:1,49:1,50:1,51:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({6:"Activity",7:"BargainMiddlePage",8:"Classify",9:"Country",10:"CourseList",11:"DrawDocument",12:"Examination",13:"Invite",14:"MyEdit",15:"Order",16:"Orderinfo",17:"PayOrder",18:"Preferential",19:"SearchResult",20:"ShareCourse",21:"ShopCart",22:"aist-share",23:"blessing-getPrize",24:"blessing-preheat",25:"blessing-rank",26:"coupons",27:"deposit-order",28:"deposit-pay-order",29:"detail",31:"myorders",32:"newyear-2019-landing",33:"newyear-yearIndex",34:"prize-winner-list",35:"purchased",36:"python-class",38:"search",39:"shareposter",40:"study",41:"system-notices",42:"togroup",43:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"d1aebba0",3:"1133c967",4:"3c987934",5:"31d6cfe0",6:"08739942",7:"2a913483",8:"127d35ae",9:"400393b7",10:"fed92c83",11:"1bd3da48",12:"17af9370",13:"08739942",14:"31d6cfe0",15:"83a999aa",16:"31d6cfe0",17:"68a25070",18:"ccebc534",19:"6d7d1b77",20:"6e885738",21:"887eb690",22:"affb05d7",23:"32a9cccc",24:"5dc65c0d",25:"39fb77c8",26:"0ce3fd3d",27:"2e5f43c4",28:"e8363b32",29:"55b938da",31:"841d0cfb",32:"6bf64b45",33:"24691c8a",34:"ce85cb83",35:"7558403e",36:"11408886",38:"efa1dd44",39:"cde549fc",40:"62b8863b",41:"4eed25b3",42:"ffd8be6c",43:"b3755c1b",45:"976b2058",46:"51412fcd",47:"e292ab6b",48:"37fb0c23",49:"bacf914e",50:"56b04545",51:"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/"+({6:"Activity",7:"BargainMiddlePage",8:"Classify",9:"Country",10:"CourseList",11:"DrawDocument",12:"Examination",13:"Invite",14:"MyEdit",15:"Order",16:"Orderinfo",17:"PayOrder",18:"Preferential",19:"SearchResult",20:"ShareCourse",21:"ShopCart",22:"aist-share",23:"blessing-getPrize",24:"blessing-preheat",25:"blessing-rank",26:"coupons",27:"deposit-order",28:"deposit-pay-order",29:"detail",31:"myorders",32:"newyear-2019-landing",33:"newyear-yearIndex",34:"prize-winner-list",35:"purchased",36:"python-class",38:"search",39:"shareposter",40:"study",41:"system-notices",42:"togroup",43:"video"}[e]||e)+"."+{0:"fca6c57e",1:"79bef975",2:"5d0a90d7",3:"887af415",4:"9345128a",5:"0fa85971",6:"2d5072de",7:"2dee5005",8:"f764cc42",9:"1f4b0f24",10:"01bbeddb",11:"e533ae08",12:"c698c660",13:"5df25916",14:"354eb41e",15:"cc67d4ed",16:"b6a2c403",17:"125a3f26",18:"7c89d7b4",19:"416c7de9",20:"023facd9",21:"e43f92e4",22:"7de7c72f",23:"123f1c0f",24:"02349140",25:"b6741d1f",26:"c08aebb9",27:"bbd6611f",28:"f46d957f",29:"14aa5b70",31:"eb703921",32:"2a088d23",33:"e18c0351",34:"8fe3351f",35:"36cd23d7",36:"56d079a1",38:"b8aee097",39:"da46cef0",40:"30c323d2",41:"e7cbffb7",42:"76c66649",43:"bef5adae",45:"82d89373",46:"296ab055",47:"33a8c3bc",48:"8cced5a9",49:"3344ed4c",50:"6b937f7c",51:"94631494"}[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()}([]);
//# sourceMappingURL=runtime~main.ef2e881f.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[41],{1251:function(e,t,n){"use strict";n.r(t);var i=n(5),s=n(7),a=n(6),o=n(8),r=n(89),c=n(9),l=n(0),u=n.n(l),p=n(162),d=(n(258),n(1252),function(e){function t(){var e,n;Object(i.a)(this,t);for(var s=arguments.length,c=new Array(s),l=0;l<s;l++)c[l]=arguments[l];return(n=Object(a.a)(this,(e=Object(o.a)(t)).call.apply(e,[this].concat(c)))).count=0,n.state={showNotices:!0},n.initializeSwiper=function(){var e=Object(r.a)(n);n.swiper=new p.a(".sys-bullet-screen-swiper-container",{allowTouchMove:!1,direction:"vertical",loop:!0,on:{init:function(){Array.from(this.slides).forEach(function(t){t.querySelector("span").addEventListener("transitionend",e.transitionEnd)})},slideChangeTransitionEnd:function(){e.slideHorizontal(this)},transitionEnd:function(){var e=this.slides[this.previousIndex].querySelector("span");e.style.transition="unset",e.style.transform="translate3d(0,0,0)"}}})},n.slideHorizontal=function(e){var t=e.slides[e.activeIndex],n=t.querySelector("span"),i=n.offsetWidth,s=t.clientWidth;i>s?(n.style.transition="transform ".concat(i/131.25,"s linear"),setTimeout(function(){n.style.transform="translate3d(".concat(-(i-s)-10,"px,0,0)")},1e3)):setTimeout(function(){e.slideNext()},3e3)},n.transitionEnd=function(){var e=n.props.bullets,t=3*(void 0===e?[]:e).length;++n.count===t?setTimeout(function(){n.sysNotice.style.height="0px"},2e3):setTimeout(function(){n.swiper&&n.swiper.slideNext()},1e3)},n.removeSystemNotices=function(e){e.persist(),e.target===n.sysNotice&&n.setState({showNotices:!1})},n}return Object(c.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){this.initializeSwiper()}},{key:"componentWillUnmount",value:function(){this.swiper&&this.swiper.destroy()}},{key:"render",value:function(){var e=this,t=this.props.bullets,n=void 0===t?["\u7b2c\u4e00\u6761\u6d88\u606f\uff0c\u7b2c\u4e00\u6761\u6d88\u606f\uff0c\u7b2c\u4e00\u6761\u6d88\u606f\uff0c\u7b2c\u4e00\u6761\u6d88\u606f\uff0c\u7b2c\u4e00\u6761\u6d88\u606f\uff0c\u7b2c\u4e00\u6761\u6d88\u606f\uff0c","\u7b2c\u4e8c\u6761\u6d88\u606f\uff0c\u7b2c\u4e8c\u6761\u6d88\u606f\uff0c\u7b2c\u4e8c\u6761\u6d88\u606f\uff0c\u7b2c\u4e8c\u6761\u6d88\u606f\uff0c\u7b2c\u4e8c\u6761\u6d88\u606f\uff0c\u7b2c\u4e8c\u6761\u6d88\u606f\uff0c","\u7b2c\u4e09\u6761\u6d88\u606f\uff0c\u7b2c\u4e09\u6761\u6d88\u606f\uff0c\u7b2c\u4e09\u6761\u6d88\u606f\uff0c\u7b2c\u4e09\u6761\u6d88\u606f\uff0c\u7b2c\u4e09\u6761\u6d88\u606f\uff0c\u7b2c\u4e09\u6761\u6d88\u606f\uff0c"]:t;return this.state.showNotices&&u.a.createElement("div",{id:"system-bullet-screen",onTransitionEnd:this.removeSystemNotices,ref:function(t){return e.sysNotice=t}},u.a.createElement("img",{className:"avatar",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/system-avatar.png",alt:""}),u.a.createElement("div",{className:"sys-bullet-screen-swiper-container"},u.a.createElement("ul",{className:"swiper-wrapper"},n&&n.length&&n.map(function(e,t){return u.a.createElement("li",{className:"swiper-slide",key:t},u.a.createElement("span",null,e))}))))}}]),t}(l.Component));t.default=d},1252:function(e,t,n){}}]);
//# sourceMappingURL=system-notices.e7cbffb7.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/activity/newyear-2019/common/system-bullet-screen/index.js"],"names":["SystemBulletScreen","count","state","showNotices","initializeSwiper","_this","Object","_Users_fe_frontCode_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_4__","_this2","swiper","Swiper","allowTouchMove","direction","loop","on","init","Array","from","this","slides","forEach","item","querySelector","addEventListener","transitionEnd","slideChangeTransitionEnd","slideHorizontal","el","previousIndex","style","transition","transform","activeIndex","content","contentWidth","offsetWidth","wrapperWidth","clientWidth","concat","setTimeout","slideNext","_this2$props$bullets","props","bullets","len","length","sysNotice","height","removeSystemNotices","e","persist","target","setState","destroy","_this3","_this$props$bullets","react__WEBPACK_IMPORTED_MODULE_6___default","a","createElement","id","onTransitionEnd","ref","className","src","alt","map","index","key","Component"],"mappings":"2KAMMA,6NAGJC,MAAQ,IAGRC,MAAQ,CACNC,aAAa,KAYfC,iBAAmB,WACjB,IAAMC,EAAKC,OAAAC,EAAA,EAAAD,CAAAE,GACXA,EAAKC,OAAS,IAAIC,IAAO,sCAAuC,CAC9DC,gBAAgB,EAChBC,UAAW,WACXC,MAAM,EACNC,GAAI,CACFC,KADE,WAEAC,MAAMC,KAAKC,KAAKC,QAAQC,QAAQ,SAAAC,GAC9BA,EAAKC,cAAc,QAAQC,iBAAiB,gBAAiBlB,EAAMmB,kBAGvEC,yBANE,WAOApB,EAAMqB,gBAAgBR,OAExBM,cATE,WAUA,IAAMG,EAAKT,KAAKC,OAAOD,KAAKU,eAAeN,cAAc,QACzDK,EAAGE,MAAMC,WAAa,QACtBH,EAAGE,MAAME,UAAY,4BAM7BL,gBAAkB,SAACjB,GACjB,IAAIkB,EAAKlB,EAAOU,OAAOV,EAAOuB,aAC5BC,EAAUN,EAAGL,cAAc,QAC3BY,EAAeD,EAAQE,YACvBC,EAAeT,EAAGU,YAIhBH,EAAeE,GACjBH,EAAQJ,MAAMC,WAAd,aAAAQ,OAAwCJ,EAH/B,OAGT,YACAK,WAAW,WACTN,EAAQJ,MAAME,UAAd,eAAAO,SAA2CJ,EAAeE,GAAgB,GAA1E,YACC,MAEHG,WAAW,WACT9B,EAAO+B,aACN,QAIPhB,cAAgB,WAAM,IAAAiB,EAGhBjC,EAAKkC,MADPC,QAGIC,EAAuB,QALT,IAAAH,EAER,GAFQA,GAKAI,SAEdrC,EAAKP,QAAU2C,EACnBL,WAAW,WACT/B,EAAKsC,UAAUjB,MAAMkB,OAArB,OACC,KAEHR,WAAW,WACT/B,EAAKC,QAAUD,EAAKC,OAAO+B,aAC1B,QAIPQ,oBAAsB,SAAAC,GACpBA,EAAEC,UACCD,EAAEE,SAAW3C,EAAKsC,WACnBtC,EAAK4C,SAAS,CACZjD,aAAa,wFA1EjBe,KAAKd,kEAILc,KAAKT,QAAUS,KAAKT,OAAO4C,2CA2EpB,IAAAC,EAAApC,KAAAqC,EAOHrC,KAAKwB,MALPC,eAFK,IAAAY,EAEK,CACR,2NACA,2NACA,4NALGA,EAQP,OACErC,KAAKhB,MAAMC,aACXqD,EAAAC,EAAAC,cAAA,OAAKC,GAAG,uBAAuBC,gBAAiB1C,KAAK8B,oBAAqBa,IAAK,SAAAlC,GAAE,OAAI2B,EAAKR,UAAYnB,IACpG6B,EAAAC,EAAAC,cAAA,OAAKI,UAAU,SACVC,IAAI,8EAA8EC,IAAI,KAC3FR,EAAAC,EAAAC,cAAA,OAAKI,UAAU,sCACbN,EAAAC,EAAAC,cAAA,MAAII,UAAU,kBAEVnB,GAAWA,EAAQE,QAAUF,EAAQsB,IAAI,SAAC5C,EAAM6C,GAC9C,OACEV,EAAAC,EAAAC,cAAA,MAAII,UAAU,eAAeK,IAAKD,GAChCV,EAAAC,EAAAC,cAAA,YAAOrC,gBA7GM+C,cA0HlBpE","file":"mrstatic/js/system-notices.e7cbffb7.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport Swiper from 'swiper'\nimport 'swiper/dist/css/swiper.min.css'\nimport './system-bullet-screen.scss'\n\n\nclass SystemBulletScreen extends Component {\n\n swiper\n count = 0\n sysNotice\n\n state = {\n showNotices: true\n }\n\n componentDidMount() {\n this.initializeSwiper()\n }\n\n componentWillUnmount() {\n this.swiper && this.swiper.destroy()\n }\n\n\n initializeSwiper = () => {\n const _this = this\n this.swiper = new Swiper('.sys-bullet-screen-swiper-container', {\n allowTouchMove: false,\n direction: 'vertical',\n loop: true,\n on: {\n init() {\n Array.from(this.slides).forEach(item => {\n item.querySelector('span').addEventListener('transitionend', _this.transitionEnd)\n })\n },\n slideChangeTransitionEnd() {\n _this.slideHorizontal(this)\n },\n transitionEnd() {\n const el = this.slides[this.previousIndex].querySelector('span')\n el.style.transition = 'unset'\n el.style.transform = 'translate3d(0,0,0)'\n }\n }\n })\n }\n\n slideHorizontal = (swiper) => {\n let el = swiper.slides[swiper.activeIndex],\n content = el.querySelector('span'),\n contentWidth = content.offsetWidth,\n wrapperWidth = el.clientWidth\n\n const co = 131.25\n\n if (contentWidth > wrapperWidth) {\n content.style.transition = `transform ${contentWidth / co}s linear`\n setTimeout(() => {\n content.style.transform = `translate3d(${-(contentWidth - wrapperWidth) - 10}px,0,0)`\n }, 1000)\n } else {\n setTimeout(() => {\n swiper.slideNext()\n }, 3000)\n }\n }\n\n transitionEnd = () => {\n const {\n bullets = []\n } = this.props\n\n const len = bullets.length * 3\n\n if (++this.count === len) {\n setTimeout(() => {\n this.sysNotice.style.height = `0px`\n }, 2000)\n } else {\n setTimeout(() => {\n this.swiper && this.swiper.slideNext()\n }, 1000)\n }\n }\n\n removeSystemNotices = e => {\n e.persist()\n if(e.target === this.sysNotice){\n this.setState({\n showNotices: false\n })\n }\n }\n\n render() {\n const {\n bullets = [\n '第一条消息,第一条消息,第一条消息,第一条消息,第一条消息,第一条消息,',\n '第二条消息,第二条消息,第二条消息,第二条消息,第二条消息,第二条消息,',\n '第三条消息,第三条消息,第三条消息,第三条消息,第三条消息,第三条消息,',\n ]\n } = this.props\n return (\n this.state.showNotices &&\n <div id=\"system-bullet-screen\" onTransitionEnd={this.removeSystemNotices} ref={el => this.sysNotice = el}>\n <img className='avatar'\n src='https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/system-avatar.png' alt=\"\"/>\n <div className='sys-bullet-screen-swiper-container'>\n <ul className=\"swiper-wrapper\">\n {\n bullets && bullets.length && bullets.map((item, index) => {\n return (\n <li className=\"swiper-slide\" key={index}>\n <span>{item}</span>\n </li>\n )\n })\n }\n </ul>\n </div>\n </div>\n\n )\n }\n}\n\nexport default SystemBulletScreen\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.
...@@ -28,7 +28,11 @@ class TreasureRank extends Component { ...@@ -28,7 +28,11 @@ class TreasureRank extends Component {
rankList: data, rankList: data,
isMore: true, isMore: true,
}); });
<<<<<<< HEAD
}else { }else {
=======
}else if() {
>>>>>>> 0f92790c458fe0a8758cbf45393373c95f25eb0f
this.setState({ this.setState({
rank: data, rank: data,
rankList: data, rankList: data,
......
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