Commit 90f46553 by caixinyu

更新拼团老用户提示

parent 3dcf043b
...@@ -34,8 +34,8 @@ ...@@ -34,8 +34,8 @@
"Examination.js": "/mrstaticjs/Examination.fbc507e3.chunk.js", "Examination.js": "/mrstaticjs/Examination.fbc507e3.chunk.js",
"Examination.js.map": "/mrstaticjs/Examination.fbc507e3.chunk.js.map", "Examination.js.map": "/mrstaticjs/Examination.fbc507e3.chunk.js.map",
"Invite.css": "/mrstaticcss/Invite.cde1bf00.chunk.css", "Invite.css": "/mrstaticcss/Invite.cde1bf00.chunk.css",
"Invite.js": "/mrstaticjs/Invite.7b3c627c.chunk.js", "Invite.js": "/mrstaticjs/Invite.c1c9ef99.chunk.js",
"Invite.js.map": "/mrstaticjs/Invite.7b3c627c.chunk.js.map", "Invite.js.map": "/mrstaticjs/Invite.c1c9ef99.chunk.js.map",
"MyEdit.js": "/mrstaticjs/MyEdit.5a44007e.chunk.js", "MyEdit.js": "/mrstaticjs/MyEdit.5a44007e.chunk.js",
"MyEdit.js.map": "/mrstaticjs/MyEdit.5a44007e.chunk.js.map", "MyEdit.js.map": "/mrstaticjs/MyEdit.5a44007e.chunk.js.map",
"Order.css": "/mrstaticcss/Order.df1a3a09.chunk.css", "Order.css": "/mrstaticcss/Order.df1a3a09.chunk.css",
...@@ -115,8 +115,8 @@ ...@@ -115,8 +115,8 @@
"python-class.css": "/mrstaticcss/python-class.af18e67a.chunk.css", "python-class.css": "/mrstaticcss/python-class.af18e67a.chunk.css",
"python-class.js": "/mrstaticjs/python-class.f057d585.chunk.js", "python-class.js": "/mrstaticjs/python-class.f057d585.chunk.js",
"python-class.js.map": "/mrstaticjs/python-class.f057d585.chunk.js.map", "python-class.js.map": "/mrstaticjs/python-class.f057d585.chunk.js.map",
"runtime-main.js": "/mrstaticjs/runtime-main.58f43694.js", "runtime-main.js": "/mrstaticjs/runtime-main.79f4d1a0.js",
"runtime-main.js.map": "/mrstaticjs/runtime-main.58f43694.js.map", "runtime-main.js.map": "/mrstaticjs/runtime-main.79f4d1a0.js.map",
"search.css": "/mrstaticcss/search.b0c8ab06.chunk.css", "search.css": "/mrstaticcss/search.b0c8ab06.chunk.css",
"search.js": "/mrstaticjs/search.22ac0029.chunk.js", "search.js": "/mrstaticjs/search.22ac0029.chunk.js",
"search.js.map": "/mrstaticjs/search.22ac0029.chunk.js.map", "search.js.map": "/mrstaticjs/search.22ac0029.chunk.js.map",
...@@ -130,8 +130,8 @@ ...@@ -130,8 +130,8 @@
"system-notices.js": "/mrstaticjs/system-notices.8ed83d6f.chunk.js", "system-notices.js": "/mrstaticjs/system-notices.8ed83d6f.chunk.js",
"system-notices.js.map": "/mrstaticjs/system-notices.8ed83d6f.chunk.js.map", "system-notices.js.map": "/mrstaticjs/system-notices.8ed83d6f.chunk.js.map",
"togroup.css": "/mrstaticcss/togroup.3d97fe71.chunk.css", "togroup.css": "/mrstaticcss/togroup.3d97fe71.chunk.css",
"togroup.js": "/mrstaticjs/togroup.8385d54e.chunk.js", "togroup.js": "/mrstaticjs/togroup.2b6688e2.chunk.js",
"togroup.js.map": "/mrstaticjs/togroup.8385d54e.chunk.js.map", "togroup.js.map": "/mrstaticjs/togroup.2b6688e2.chunk.js.map",
"treasure-box-home.css": "/mrstaticcss/treasure-box-home.2e425d64.chunk.css", "treasure-box-home.css": "/mrstaticcss/treasure-box-home.2e425d64.chunk.css",
"treasure-box-home.js": "/mrstaticjs/treasure-box-home.c45030e1.chunk.js", "treasure-box-home.js": "/mrstaticjs/treasure-box-home.c45030e1.chunk.js",
"treasure-box-home.js.map": "/mrstaticjs/treasure-box-home.c45030e1.chunk.js.map", "treasure-box-home.js.map": "/mrstaticjs/treasure-box-home.c45030e1.chunk.js.map",
...@@ -279,11 +279,11 @@ ...@@ -279,11 +279,11 @@
"mrstaticmedia/kanjia_cg_icon.png": "/mrstaticmedia/kanjia_cg_icon.81a489ac.png", "mrstaticmedia/kanjia_cg_icon.png": "/mrstaticmedia/kanjia_cg_icon.81a489ac.png",
"mrstaticmedia/video.scss": "/mrstaticmedia/progress-share-bg.80011994.png", "mrstaticmedia/video.scss": "/mrstaticmedia/progress-share-bg.80011994.png",
"mrstaticmedia/tanchuang.png": "/mrstaticmedia/tanchuang.de9468e5.png", "mrstaticmedia/tanchuang.png": "/mrstaticmedia/tanchuang.de9468e5.png",
"precache-manifest.e53fb1a39dc86386608e17cde3ad3298.js": "/precache-manifest.e53fb1a39dc86386608e17cde3ad3298.js", "precache-manifest.06941c3bef3a1737d043bc089b0ef763.js": "/precache-manifest.06941c3bef3a1737d043bc089b0ef763.js",
"service-worker.js": "/service-worker.js" "service-worker.js": "/service-worker.js"
}, },
"entrypoints": [ "entrypoints": [
"mrstaticjs/runtime-main.58f43694.js", "mrstaticjs/runtime-main.79f4d1a0.js",
"mrstaticcss/51.ee6d5e86.chunk.css", "mrstaticcss/51.ee6d5e86.chunk.css",
"mrstaticjs/51.54378fc2.chunk.js", "mrstaticjs/51.54378fc2.chunk.js",
"mrstaticcss/main.a40f1613.chunk.css", "mrstaticcss/main.a40f1613.chunk.css",
......
(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[45],{1144:function(e,a,t){"use strict";t.r(a);t(135);var n,s=t(71),c=t.n(s),r=(t(83),t(29)),o=t.n(r),i=(t(134),t(34)),l=t.n(i),d=(t(203),t(85)),m=t.n(d),u=(t(36),t(10)),p=t.n(u),_=t(3),E=t(5),f=t(6),h=t(7),v=t(0),N=t.n(v),g=(t(730),t(25)),b=t(1),w=t(20),y=t(15),C=Object(w.b)((function(e){return{user:e.user}}))(n=function(e){Object(f.a)(t,e);var a=Object(h.a)(t);function t(e){var n;return Object(_.a)(this,t),(n=a.call(this,e)).invitedFriends=function(){var e=n.state,a=e.pdd_price,t=e.number,s=e.data;if(b.b.isWeixin){var c=n.state.share;n.setState({share:!c}),Object(b.m)({title:"\u3010\u4ec5\u5269".concat(t,"\u4e2a\u540d\u989d\u3011\u6211").concat(a,"\u5143\u62fc\u4e86\u300a").concat(s.course_title,"\u300b"),desc:s.course_title,link:window.location.href+"&is_originator=1",imgUrl:s.image_name})}else p.a.info("\u8bf7\u5728\u5fae\u4fe1\u4e2d\u4f7f\u7528\u5206\u4eab\u529f\u80fd\uff01",2)},n.toCourseDetail=function(e){return n.props.history.push("/detail?id=".concat(e),{href:"/classify"}),!1},n.handleToGroup=function(){var e=n.state,a=e.isBuy,t=void 0!==a&&a,s=e.data,c=void 0===s?{}:s,r=n.props,o=r.user,i=r.history,l=r.location;if(o.hasError)if(b.b.isWeixin){var d=window.location.href;if(d.includes("code=")&&d.includes("state=STATE")){var m=d.lastIndexOf("code=");d=d.substr(0,m-1)}window.location.assign("https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=".concat(encodeURIComponent(d),"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect"))}else i.push("/passport",{from:l});else t?n.setState({modal:!0}):i.push("/order?id=".concat(c.course_id),{group:1,pdd_order_id:n.state.pddOrderId})},n.state={data:{},share:!1,pdd_price:0,groupon_member:[],person_num:0,is_success:!1,number:0,isBuy:!1,modal:!1,pddOrderId:"",is_new_user:!1},n}return Object(E.a)(t,[{key:"componentDidMount",value:function(){var e=this;b.f.get("".concat(API["base-api"],"/pdd/info/").concat(Object(b.c)("id"))).then((function(a){if(0===a.data.errno){if(e.setState({data:a.data.data.course_info,pdd_price:a.data.data.pdd_price,groupon_member:a.data.data.groupon_member,is_success:a.data.data.is_success,person_num:a.data.data.person_num,course_list:a.data.data.course_list,number:a.data.data.number,pddOrderId:a.data.data.pdd_order_id,countdown:"",isBuy:a.data.data.is_buy}),0===a.data.data.is_success){var t=1e3*a.data.data.end_time,n=0,s=0,c=0,r=0;setInterval((function(){t-=1e3,a.data.data.end_time>86400?(n="".concat(parseInt(t/864e5)).padStart(2,0),s="".concat(parseInt((t-36e5*n*24)/36e5)).padStart(2,0),c="".concat(parseInt((t-36e5*n*24-36e5*s)/6e4)).padStart(2,0),e.setState({countdown:"".concat(n,"\u5929").concat(s,"\u65f6").concat(c,"\u5206")})):(s="".concat(parseInt(t/36e5)).padStart(2,0),c="".concat(parseInt((t-36e5*s)/6e4)).padStart(2,0),r="".concat(parseInt((t-36e5*s-6e4*c)/1e3)).padStart(2,0),e.setState({countdown:"".concat(s,":").concat(c,":").concat(r)}))}),1e3)}}else p.a.info(a.data.msg,2)})),b.f.get("".concat(API.home,"/m/user_info_sample/0")).then((function(a){200===a.code?(console.log("\u5df2\u7ecf\u767b\u5f55"),e.setState({is_new_user:a.data.is_new_user})):(console.log("\u53bb\u767b\u5f55"),e.props.history.push("/passport",{from:e.props.location}))}))}},{key:"render",value:function(){var e=this,a=this.state,t=a.data,n=t.course_id,s=t.course_title,c=t.simpledescription,r=t.price0,o=t.price1,i=a.is_success,d=a.course_list,u=(a.is_new_user,N.a.createElement("div",{className:"info"},N.a.createElement("p",{className:"title",onClick:function(){return e.toCourseDetail(n)}},s),N.a.createElement("p",{className:"contact text-overflow-2"},c),N.a.createElement("div",{className:"des"},N.a.createElement("p",{className:"course-price"},N.a.createElement("span",{className:"new"},"\xa5",o),N.a.createElement("span",{className:"old"},"\xa5",r)))));return N.a.createElement("div",{className:"to-group-box"},N.a.createElement(g.e,{title:"\u62fc\u56e2",cart:!1,toHref:"/"}),N.a.createElement(m.a,{transparent:!0,visible:this.state.modal,title:"\u63d0\u793a",footer:[{text:"\u786e\u5b9a",onPress:function(){e.setState({modal:!1}),e.props.history.push("/")}}]},N.a.createElement("p",null,"\u60a8\u5df2\u7ecf\u8d2d\u4e70\u8fc7\u8be5\u8bfe\u7a0b\uff5e")),!i&&N.a.createElement(g.j,{img:this.state.data.image_name,id:this.state.data.course_id,info:u,toDetail:this.toCourseDetail}),N.a.createElement(I,{data:this.state,invitedFriends:this.invitedFriends,handleToGroup:this.handleToGroup,userInfo:this.props.user}),N.a.createElement(l.a,null),N.a.createElement("div",{className:"group-course"},N.a.createElement("div",{className:"top-title"},N.a.createElement("span",null,"\u672c\u5468\u7279\u60e0")),d&&d.length>0&&d[0].course&&d[0].course.length>0&&d[0].course.slice(0,4).map((function(a){var t=N.a.createElement("div",{className:"info"},N.a.createElement("p",{className:"title",onClick:function(){return e.toCourseDetail(a.course_id)}},a.course_title),N.a.createElement("p",{className:"contact text-overflow-2"},a.simpledescription),N.a.createElement("div",{className:"des"},N.a.createElement("p",{className:"course-price"},N.a.createElement("span",{className:"new"},"\xa5",a.pdd_price),N.a.createElement("span",{className:"old"},"\xa5",a.price0))));return N.a.createElement(g.j,{img:a.image_name,key:a.course_id,id:a.course_id,info:t,toDetail:e.toCourseDetail})}))))}}]),t}(v.Component))||n;function I(e){for(var a,t,n,s,r=e.data,i=r.pdd_price,l=r.data,d=r.groupon_member,m=r.is_success,u=r.person_num,p=r.share,_=r.number,E=r.countdown,f=r.is_new_user,h=e.userInfo,v=[],g=_;0!=g;)v.push(g),g--;if(s=N.a.createElement("div",{className:"group-user-list"},N.a.createElement(o.a,{justify:"center",className:"imgList"},d.map((function(e){return N.a.createElement("div",{className:"imgContainer",key:Math.random()},N.a.createElement("img",{className:"imgname",src:e.avatar,alt:""}),1===e.user_type?N.a.createElement("div",{className:"leaderFlag"},N.a.createElement("span",null,"\u56e2\u957f")):null)})),v.map((function(e){return N.a.createElement("div",{className:"imgContainer",key:Math.random()},N.a.createElement("div",{className:"imgname"},N.a.createElement("i",{className:"iconfont iconwode-xianxing no-body"})))})))),d&&d.length>0){var w=!1;!h.hasError&&d.forEach((function(e){e.uid==h.data.uid&&(w=!0)})),w?(a=f?N.a.createElement("p",{className:"tip"},"\u62fc\u56e2\u7701\uffe5".concat(Math.round(l.price1-i,2),"\u5143")):N.a.createElement("p",null,"\u60a8\u5df2\u662f\u4e03\u6708\u7684\u8001\u670b\u53cb\uff0c\u5feb\u5f00\u56e2\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u5427"),t=N.a.createElement("span",{className:"group-btn",onClick:e.invitedFriends},"\u9080\u8bf7\u597d\u53cb\u53c2\u56e2 ",E," \u540e\u7ed3\u675f"),n=N.a.createElement("p",{className:"dec"},"\u5206\u4eab\u52303\u4e2a\u7fa4\u540e\uff0c\u6210\u56e2\u7387\u9ad8\u8fbe98%")):1==Object(b.c)("is_originator")?(a=f?N.a.createElement("p",{className:"tip"},"\u62fc\u56e2\u7701\uffe5".concat(Math.round(l.price1-i,2),"\u5143")):N.a.createElement("p",null,"\u60a8\u5df2\u662f\u4e03\u6708\u7684\u8001\u670b\u53cb\uff0c\u5feb\u5f00\u56e2\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u5427"),t=N.a.createElement("a",{href:"javascript:;",className:"group-btn",onClick:e.handleToGroup},"\u4e00\u952e\u5f00\u56e2")):(a=f?N.a.createElement("p",{className:"tip"},"\u62fc\u56e2\u7701\uffe5".concat(Math.round(l.price1-i,2),"\u5143")):N.a.createElement("p",null,"\u60a8\u5df2\u662f\u4e03\u6708\u7684\u8001\u670b\u53cb\uff0c\u5feb\u5f00\u56e2\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u5427"),t=N.a.createElement("span",{className:"group-btn",onClick:e.invitedFriends},"\u9080\u8bf7\u597d\u53cb\u53c2\u56e2 ",E," \u540e\u7ed3\u675f"),n=N.a.createElement("p",{className:"dec"},"\u5206\u4eab\u52303\u4e2a\u7fa4\u540e\uff0c\u6210\u56e2\u7387\u9ad8\u8fbe98%"))}return 1===m&&(a=N.a.createElement("p",{className:"success"},"\u62fc\u56e2\u6210\u529f"),t=N.a.createElement(y.b,{to:"/detail?id=".concat(l.course_id),className:"tostudy"},"\u53bb\u5b66\u4e60")),N.a.createElement("div",{className:"gorup-content"},p?N.a.createElement("div",{className:"groupSuccessMbc",onClick:e.invitedFriends},N.a.createElement("div",{className:"tipContent"},"\u8fd8\u5dee".concat(_,"\u4eba\uff0c\u5206\u4eab\u52303\u4e2a\u7fa4\uff0c\u6210\u56e2\u7387\u9ad8\u8fbe98%")),N.a.createElement("div",{className:"tipArrow"},N.a.createElement("i",{className:"iconfont iconyindao"}))):null,a,N.a.createElement(c.a,null,s),N.a.createElement(c.a,null,t),n,!m&&N.a.createElement("div",{className:"group-dec"},N.a.createElement("span",null,N.a.createElement("i",{className:"iconfont iconiconfront-1"}),"\xb7\u597d\u53cb\u53c2\u56e2 \xb7\u4eba\u6ee1\u6210\u4ea4 \xb7\u4eba\u4e0d\u6ee1\u9000\u6b3e"),N.a.createElement("span",{className:"allNum"},"\u7d2f\u8ba1".concat(u,"\u4eba\u6210\u56e2"))))}a.default=C},730:function(e,a,t){}}]);
//# sourceMappingURL=togroup.2b6688e2.chunk.js.map
\ No newline at end of file
(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[45],{1144:function(e,a,t){"use strict";t.r(a);t(135);var n,c=t(71),s=t.n(c),r=(t(83),t(29)),i=t.n(r),o=(t(134),t(34)),l=t.n(o),d=(t(203),t(85)),m=t.n(d),u=(t(36),t(10)),p=t.n(u),E=t(3),f=t(5),h=t(6),_=t(7),v=t(0),N=t.n(v),g=(t(730),t(25)),b=t(1),w=t(20),y=t(15),C=Object(w.b)((function(e){return{user:e.user}}))(n=function(e){Object(h.a)(t,e);var a=Object(_.a)(t);function t(e){var n;return Object(E.a)(this,t),(n=a.call(this,e)).invitedFriends=function(){var e=n.state,a=e.pdd_price,t=e.number,c=e.data;if(b.b.isWeixin){var s=n.state.share;n.setState({share:!s}),Object(b.m)({title:"\u3010\u4ec5\u5269".concat(t,"\u4e2a\u540d\u989d\u3011\u6211").concat(a,"\u5143\u62fc\u4e86\u300a").concat(c.course_title,"\u300b"),desc:c.course_title,link:window.location.href+"&is_originator=1",imgUrl:c.image_name})}else p.a.info("\u8bf7\u5728\u5fae\u4fe1\u4e2d\u4f7f\u7528\u5206\u4eab\u529f\u80fd\uff01",2)},n.toCourseDetail=function(e){return n.props.history.push("/detail?id=".concat(e),{href:"/classify"}),!1},n.handleToGroup=function(){var e=n.state,a=e.isBuy,t=void 0!==a&&a,c=e.data,s=void 0===c?{}:c,r=n.props,i=r.user,o=r.history,l=r.location;if(i.hasError)if(b.b.isWeixin){var d=window.location.href;if(d.includes("code=")&&d.includes("state=STATE")){var m=d.lastIndexOf("code=");d=d.substr(0,m-1)}window.location.assign("https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=".concat(encodeURIComponent(d),"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect"))}else o.push("/passport",{from:l});else t?n.setState({modal:!0}):o.push("/order?id=".concat(s.course_id),{group:1,pdd_order_id:n.state.pddOrderId})},n.state={data:{},share:!1,pdd_price:0,groupon_member:[],person_num:0,is_success:!1,number:0,isBuy:!1,modal:!1,pddOrderId:""},n}return Object(f.a)(t,[{key:"componentDidMount",value:function(){var e=this;b.f.get("".concat(API["base-api"],"/pdd/info/").concat(Object(b.c)("id"))).then((function(a){if(0===a.data.errno){if(e.setState({data:a.data.data.course_info,pdd_price:a.data.data.pdd_price,groupon_member:a.data.data.groupon_member,is_success:a.data.data.is_success,person_num:a.data.data.person_num,course_list:a.data.data.course_list,number:a.data.data.number,pddOrderId:a.data.data.pdd_order_id,countdown:"",isBuy:a.data.data.is_buy}),0===a.data.data.is_success){var t=1e3*a.data.data.end_time,n=0,c=0,s=0,r=0;setInterval((function(){t-=1e3,a.data.data.end_time>86400?(n="".concat(parseInt(t/864e5)).padStart(2,0),c="".concat(parseInt((t-36e5*n*24)/36e5)).padStart(2,0),s="".concat(parseInt((t-36e5*n*24-36e5*c)/6e4)).padStart(2,0),e.setState({countdown:"".concat(n,"\u5929").concat(c,"\u65f6").concat(s,"\u5206")})):(c="".concat(parseInt(t/36e5)).padStart(2,0),s="".concat(parseInt((t-36e5*c)/6e4)).padStart(2,0),r="".concat(parseInt((t-36e5*c-6e4*s)/1e3)).padStart(2,0),e.setState({countdown:"".concat(c,":").concat(s,":").concat(r)}))}),1e3)}}else p.a.info(a.data.msg,2)}))}},{key:"render",value:function(){var e=this,a=this.state,t=a.data,n=t.course_id,c=t.course_title,s=t.simpledescription,r=t.price0,i=t.price1,o=a.is_success,d=a.course_list,u=N.a.createElement("div",{className:"info"},N.a.createElement("p",{className:"title",onClick:function(){return e.toCourseDetail(n)}},c),N.a.createElement("p",{className:"contact text-overflow-2"},s),N.a.createElement("div",{className:"des"},N.a.createElement("p",{className:"course-price"},N.a.createElement("span",{className:"new"},"\xa5",i),N.a.createElement("span",{className:"old"},"\xa5",r))));return N.a.createElement("div",{className:"to-group-box"},N.a.createElement(g.e,{title:"\u62fc\u56e2",cart:!1,toHref:"/"}),N.a.createElement(m.a,{transparent:!0,visible:this.state.modal,title:"\u63d0\u793a",footer:[{text:"\u786e\u5b9a",onPress:function(){e.setState({modal:!1}),e.props.history.push("/")}}]},N.a.createElement("p",null,"\u60a8\u5df2\u7ecf\u8d2d\u4e70\u8fc7\u8be5\u8bfe\u7a0b\uff5e")),!o&&N.a.createElement(g.j,{img:this.state.data.image_name,id:this.state.data.course_id,info:u,toDetail:this.toCourseDetail}),N.a.createElement(I,{data:this.state,invitedFriends:this.invitedFriends,handleToGroup:this.handleToGroup,userInfo:this.props.user}),N.a.createElement(l.a,null),N.a.createElement("div",{className:"group-course"},N.a.createElement("div",{className:"top-title"},N.a.createElement("span",null,"\u672c\u5468\u7279\u60e0")),d&&d.length>0&&d[0].course&&d[0].course.length>0&&d[0].course.slice(0,4).map((function(a){var t=N.a.createElement("div",{className:"info"},N.a.createElement("p",{className:"title",onClick:function(){return e.toCourseDetail(a.course_id)}},a.course_title),N.a.createElement("p",{className:"contact text-overflow-2"},a.simpledescription),N.a.createElement("div",{className:"des"},N.a.createElement("p",{className:"course-price"},N.a.createElement("span",{className:"new"},"\xa5",a.pdd_price),N.a.createElement("span",{className:"old"},"\xa5",a.price0))));return N.a.createElement(g.j,{img:a.image_name,key:a.course_id,id:a.course_id,info:t,toDetail:e.toCourseDetail})}))))}}]),t}(v.Component))||n;function I(e){for(var a,t,n,c,r=e.data,o=r.pdd_price,l=r.data,d=r.groupon_member,m=r.is_success,u=r.person_num,p=r.share,E=r.number,f=r.countdown,h=e.userInfo,_=[],v=E;0!=v;)_.push(v),v--;if(c=N.a.createElement("div",{className:"group-user-list"},N.a.createElement(i.a,{justify:"center",className:"imgList"},d.map((function(e){return N.a.createElement("div",{className:"imgContainer",key:Math.random()},N.a.createElement("img",{className:"imgname",src:e.avatar,alt:""}),1===e.user_type?N.a.createElement("div",{className:"leaderFlag"},N.a.createElement("span",null,"\u56e2\u957f")):null)})),_.map((function(e){return N.a.createElement("div",{className:"imgContainer",key:Math.random()},N.a.createElement("div",{className:"imgname"},N.a.createElement("i",{className:"iconfont iconwode-xianxing no-body"})))})))),d&&d.length>0){var g=!1;!h.hasError&&d.forEach((function(e){e.uid==h.data.uid&&(g=!0)})),g?(a=N.a.createElement("p",{className:"tip"},"\u62fc\u56e2\u7701\uffe5".concat(Math.round(l.price1-o,2),"\u5143")),t=N.a.createElement("span",{className:"group-btn",onClick:e.invitedFriends},"\u9080\u8bf7\u597d\u53cb\u53c2\u56e2 ",f," \u540e\u7ed3\u675f"),n=N.a.createElement("p",{className:"dec"},"\u5206\u4eab\u52303\u4e2a\u7fa4\u540e\uff0c\u6210\u56e2\u7387\u9ad8\u8fbe98%")):1==Object(b.c)("is_originator")?(a=N.a.createElement("p",{className:"tip"},"\u62fc\u56e2\u7701\uffe5".concat(Math.round(l.price1-o,2),"\u5143")),t=N.a.createElement("a",{href:"javascript:;",className:"group-btn",onClick:e.handleToGroup},"\u4e00\u952e\u53c2\u56e2")):(a=N.a.createElement("p",{className:"tip"},"\u62fc\u56e2\u7701\uffe5".concat(Math.round(l.price1-o,2),"\u5143")),t=N.a.createElement("span",{className:"group-btn",onClick:e.invitedFriends},"\u9080\u8bf7\u597d\u53cb\u53c2\u56e2 ",f," \u540e\u7ed3\u675f"),n=N.a.createElement("p",{className:"dec"},"\u5206\u4eab\u52303\u4e2a\u7fa4\u540e\uff0c\u6210\u56e2\u7387\u9ad8\u8fbe98%"))}return 1===m&&(a=N.a.createElement("p",{className:"success"},"\u62fc\u56e2\u6210\u529f"),t=N.a.createElement(y.b,{to:"/detail?id=".concat(l.course_id),className:"tostudy"},"\u53bb\u5b66\u4e60")),N.a.createElement("div",{className:"gorup-content"},p?N.a.createElement("div",{className:"groupSuccessMbc",onClick:e.invitedFriends},N.a.createElement("div",{className:"tipContent"},"\u8fd8\u5dee".concat(E,"\u4eba\uff0c\u5206\u4eab\u52303\u4e2a\u7fa4\uff0c\u6210\u56e2\u7387\u9ad8\u8fbe98%")),N.a.createElement("div",{className:"tipArrow"},N.a.createElement("i",{className:"iconfont iconyindao"}))):null,a,N.a.createElement(s.a,null,c),N.a.createElement(s.a,null,t),n,!m&&N.a.createElement("div",{className:"group-dec"},N.a.createElement("span",null,N.a.createElement("i",{className:"iconfont iconiconfront-1"}),"\xb7\u597d\u53cb\u53c2\u56e2 \xb7\u4eba\u6ee1\u6210\u4ea4 \xb7\u4eba\u4e0d\u6ee1\u9000\u6b3e"),N.a.createElement("span",{className:"allNum"},"\u7d2f\u8ba1".concat(u,"\u4eba\u6210\u56e2"))))}a.default=C},730:function(e,a,t){}}]);
//# sourceMappingURL=togroup.8385d54e.chunk.js.map
\ No newline at end of file
self.__precacheManifest = (self.__precacheManifest || []).concat([ self.__precacheManifest = (self.__precacheManifest || []).concat([
{ {
"revision": "495c659000ca833eb58bdf381ac28e3a", "revision": "72c0660460d2917db2a5547b66cb1cd3",
"url": "/index.html" "url": "/index.html"
}, },
{ {
...@@ -116,7 +116,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ ...@@ -116,7 +116,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticcss/Examination.ffc0422c.chunk.css" "url": "/mrstaticcss/Examination.ffc0422c.chunk.css"
}, },
{ {
"revision": "4d007d443fd38539b944", "revision": "5efd2e6f4953fb64d81f",
"url": "/mrstaticcss/Invite.cde1bf00.chunk.css" "url": "/mrstaticcss/Invite.cde1bf00.chunk.css"
}, },
{ {
...@@ -236,7 +236,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ ...@@ -236,7 +236,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticcss/system-notices.a84016b5.chunk.css" "url": "/mrstaticcss/system-notices.a84016b5.chunk.css"
}, },
{ {
"revision": "eedb859a07e1d01838cf", "revision": "27541ad74e57fa66228e",
"url": "/mrstaticcss/togroup.3d97fe71.chunk.css" "url": "/mrstaticcss/togroup.3d97fe71.chunk.css"
}, },
{ {
...@@ -408,8 +408,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ ...@@ -408,8 +408,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticjs/Examination.fbc507e3.chunk.js" "url": "/mrstaticjs/Examination.fbc507e3.chunk.js"
}, },
{ {
"revision": "4d007d443fd38539b944", "revision": "5efd2e6f4953fb64d81f",
"url": "/mrstaticjs/Invite.7b3c627c.chunk.js" "url": "/mrstaticjs/Invite.c1c9ef99.chunk.js"
}, },
{ {
"revision": "9667c9764dfeaad0a939", "revision": "9667c9764dfeaad0a939",
...@@ -520,8 +520,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ ...@@ -520,8 +520,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticjs/python-class.f057d585.chunk.js" "url": "/mrstaticjs/python-class.f057d585.chunk.js"
}, },
{ {
"revision": "dd7e20b74eeea03fc6b3", "revision": "856bc1dd4031e81182cc",
"url": "/mrstaticjs/runtime-main.58f43694.js" "url": "/mrstaticjs/runtime-main.79f4d1a0.js"
}, },
{ {
"revision": "eade04b8c861219d43a1", "revision": "eade04b8c861219d43a1",
...@@ -540,8 +540,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ ...@@ -540,8 +540,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticjs/system-notices.8ed83d6f.chunk.js" "url": "/mrstaticjs/system-notices.8ed83d6f.chunk.js"
}, },
{ {
"revision": "eedb859a07e1d01838cf", "revision": "27541ad74e57fa66228e",
"url": "/mrstaticjs/togroup.8385d54e.chunk.js" "url": "/mrstaticjs/togroup.2b6688e2.chunk.js"
}, },
{ {
"revision": "c277216450f0b042a248", "revision": "c277216450f0b042a248",
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts( importScripts(
"/precache-manifest.e53fb1a39dc86386608e17cde3ad3298.js" "/precache-manifest.06941c3bef3a1737d043bc089b0ef763.js"
); );
self.addEventListener('message', (event) => { self.addEventListener('message', (event) => {
......
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