(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{757:function(e,a,t){},763:function(e,a,t){"use strict";t.r(a);var c=t(3),s=t(4),n=t(6),m=t(5),l=t(7),i=t(0),r=t.n(i),o=(t(757),t(18)),d=(t(1),t(19),t(13)),p=function(e){function a(e){var t;return Object(c.a)(this,a),(t=Object(n.a)(this,Object(m.a)(a).call(this,e))).state={data:{course_id:"140",course_title:"\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898",simpledescription:"\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898\u8bfe\u7a0b\u6807\u9898",image_name:"https://julyedu-img-public.oss-cn-beijing.aliyuncs.com/Public/Image/6479fe123a.jpg",price0:"140",price1:"140",success:!1,my:0}},t}return Object(l.a)(a,e),Object(s.a)(a,[{key:"render",value:function(){var e=r.a.createElement("div",{className:"info"},r.a.createElement("p",{className:"title"},r.a.createElement(d.b,{to:"/detail?id=".concat(this.state.data.course_id)},this.state.data.course_title)),r.a.createElement("p",{className:"contact text-overflow-2"},this.state.data.simpledescription),r.a.createElement("div",{className:"des"},r.a.createElement("p",{className:"course-price"},r.a.createElement("span",{className:"new"},"\xa5",this.state.data.price1),r.a.createElement("span",{className:"old"},"\xa5",this.state.data.price0))));return r.a.createElement("div",{className:"to-group-box"},r.a.createElement(o.d,{title:"\u62fc\u56e2",arrow:!0,cart:!1}),r.a.createElement(o.g,{img:this.state.data.image_name,id:this.state.data.course_id,info:e}),r.a.createElement(u,{data:this.state.data}),r.a.createElement("div",{className:"group-course"},r.a.createElement("div",{className:"top-title"},r.a.createElement("span",null,"\u672c\u5468\u7279\u60e0"),r.a.createElement(d.b,{to:"/preferential",className:"more"},"\u66f4\u591a",r.a.createElement("i",{className:"iconfont iconiconfront-70"}))),r.a.createElement(o.g,{img:this.state.data.image_name,id:this.state.data.course_id,info:e})))}}]),a}(i.Component);function u(e){var a,t,c;return console.log(e),0===e.data.my?(a=r.a.createElement("p",{className:"tip"},"\u62fc\u56e2\u7701500\u5143"),t=r.a.createElement(d.b,{to:"/",className:"group-btn"},"\u9080\u8bf7\u597d\u53cb\u53c2\u56e2 23\uff1a23\uff1a23 \u540e\u7ed3\u675f"),c=r.a.createElement("p",{className:"dec"},"\u5206\u4eab\u52303\u4e2a\u7fa4\u540e\uff0c\u6210\u56e2\u7387\u9ad8\u8fbe98%")):(a=r.a.createElement("p",{className:"tip"},"\u62fc\u56e2\u7701500\u5143"),t=r.a.createElement(d.b,{to:"/",className:"group-btn"},"\u4e00\u952e\u53c2\u56e2")),e.data.success&&(a=r.a.createElement("p",{className:"success"},"\u62fc\u56e2\u6210\u529f"),t=r.a.createElement(d.b,{to:"/play",className:"tostudy"},"\u53bb\u5b66\u4e60")),r.a.createElement("div",{className:"gorup-content"},a,r.a.createElement("img",{className:"imgname",src:e.data.image_name,alt:""}),r.a.createElement("img",{className:"imgname",src:e.data.image_name,alt:""}),r.a.createElement("img",{className:"imgname",src:e.data.image_name,alt:""}),t,c,!e.data.success&&r.a.createElement("div",{className:"group-dec"},r.a.createElement("span",null,r.a.createElement("i",{className:"iconfont iconiconfront-1"}),"\xb7\u597d\u53cb\u53c2\u56e2  \xb7\u4eba\u6ee1\u6210\u4ea4  \xb7\u4eba\u4e0d\u6ee1\u9000\u6b3e"),r.a.createElement("span",{className:"allNum"},"\u7d2f\u8ba1856\u4eba\u6210\u56e2")))}a.default=p}}]);
//# sourceMappingURL=togroup.6905e23b.chunk.js.map