Commit 0868ab29 by wangshuo

打包

parent cafa5aa6
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{1228:function(e,t,a){"use strict";a.r(t);a(39);var n=a(12),i=a.n(n),s=a(5),c=a(7),o=a(6),l=a(8),r=a(9),m=a(0),u=a.n(m),d=a(22),h=(a(732),a(3)),v=a(37),_=a.n(v),p=function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(o.a)(this,Object(l.a)(t).call(this,e))).getUserList=function(){h.d.get("".concat(API.home,"/sys/user/invite/list")).then(function(e){var t=e.data,n=t.code,s=t.data,c=t.msg;200===n?a.setState({userList:s}):i.a.info(c,2)})},a.getHotValue=function(){h.d.get("".concat(API.home,"/sys/user/hot/value")).then(function(e){var t=e.data,n=t.code,s=t.data,c=t.msg;200===n?a.setState({hot_schedule:s.hot_schedule,hotValue:s.hot_value}):i.a.info(c,2)})},a.getInviteCode=function(){h.d.get("".concat(API.home,"/sys/user/invite/link")).then(function(e){var t=e.data,n=t.code,s=t.data,c=t.msg;if(200===n){var o=s.blessing_invite_code;Object(h.f)()&&Object(h.i)({title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:encodeURI(location.origin+"/invite?shareuid=".concat(_.a.get("uid"),"&new=1&inviteCode=").concat(o)),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}),a.setState(function(){return{inviteCode:o}})}else 4030===n||4040===n?history.push("/passport"):i.a.info(c,2)})},a.inviteFriends=function(){var e=a.props,t=e.user,n=e.history,i=a.state.inviteCode;if(Object(h.c)("version"))if(t.hasError)Object(h.a)("toLogin");else{Object(h.a)("toShare",{title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:"https://m.julyedu.com/blessingPreheat",imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"})}else t.hasError?n.push("/passport"):Object(h.f)()?(Object(h.i)({title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:encodeURI(location.origin+"/invite?shareuid=".concat(_.a.get("uid"),"&new=1&inviteCode=").concat(i)),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}),a.setState({showTip:!0,isWeiXin:!0})):(n.push("/invite?shareuid=".concat(_.a.get("uid"),"&new=1&inviteCode=").concat(i)),a.setState({showTip:!0}))},a.closeMark=function(){a.setState({showTip:!1})},a.state={isWeiXin:!1,showTip:!1,hotValue:0,hot_schedule:"",userList:[],inviteCode:""},a}return Object(r.a)(t,e),Object(c.a)(t,[{key:"componentWillMount",value:function(){var e=_.a.get("uid"),t=Object(h.c)("shareuid");e===t||Object(h.c)("new")&&this.props.history.push("/activity?shareuid=".concat(t,"&inviteCode=").concat(Object(h.c)("inviteCode")))}},{key:"componentDidMount",value:function(){this.props.user.hasError||(this.getUserList(),this.getHotValue(),this.getInviteCode())}},{key:"componentWillReceiveProps",value:function(e){console.log("componentWillReceiveProps"),e.user.hasError||(this.getUserList(),this.getHotValue(),this.getInviteCode())}},{key:"render",value:function(){var e=this.state,t=e.userList,a=e.showTip,n=e.hotValue,i=e.hot_schedule,s=e.isWeiXin;return u.a.createElement("div",{className:"activity__con"},u.a.createElement("div",{className:"banner__con"}),u.a.createElement("div",{className:"invite__content"},u.a.createElement("div",{className:"content__one"},u.a.createElement("p",null,"\u9080\u8bf7\u597d\u53cb\u6ce8\u518c\uff0c\u6bcf\u589e\u52a01\u4eba\u53ef"),u.a.createElement("div",{className:"img__con"})),u.a.createElement("div",{className:"content__two"},"\u798f\u6c14\u503c\u8d8a\u9ad8\uff0c\u70ed\u529b\u503c\u8d8a\u9ad8\uff0c\u4e2d\u5956\u6982\u7387\u8d8a\u5927\uff01"),u.a.createElement("div",{className:"box__out"},u.a.createElement("div",{className:"box__middle"},u.a.createElement("div",{className:"box__inner"},u.a.createElement("p",null,"\u5f53\u524d\u4e2d\u5956\u70ed\u529b\u503c:"),u.a.createElement("p",{className:"hot__value"},n),u.a.createElement("div",{className:"hot__progress"},u.a.createElement("div",{className:"progress__bar"},u.a.createElement("div",{className:"progress__point",style:{width:i}})))))),u.a.createElement("div",{className:"but__con"},u.a.createElement("div",{className:"button__content",onClick:this.inviteFriends},"\u7acb\u5373\u9080\u8bf7")),t.length>0?u.a.createElement(u.a.Fragment,null,u.a.createElement("div",{className:"list__title"},u.a.createElement("span",null,"\u9080\u8bf7\u597d\u53cb\u5217\u8868")),u.a.createElement("p",{className:"show__new"},"(\u4ec5\u663e\u793a\u65b0\u7528\u6237)")):null,t.length>0?u.a.createElement("div",{className:"list__con"},1===t.length&&t.map(function(e,t){return u.a.createElement("div",{className:"user__item-info item__con-only",key:t},u.a.createElement("div",{className:"item__con"},u.a.createElement("img",{className:"user_avatar",src:e.avatar}),u.a.createElement("div",{className:"user_name"},e.name)))}),t.length>1&&t.map(function(e,t){return u.a.createElement("div",{className:"user__item-info",key:t},u.a.createElement("div",{className:"item__con"},u.a.createElement("img",{className:"user_avatar",src:e.head_image}),u.a.createElement("div",{className:"user_name"},e.user_name)))})):null),a&&u.a.createElement("div",{className:"share__mark",onClick:this.closeMark},u.a.createElement("div",{className:"share__tip"},"\u7acb\u5373\u5206\u4eab\u7ed9\u597d\u53cb\u589e\u52a0\u4e2d\u5956\u6982\u7387"),s?u.a.createElement("div",{className:"share__row"}):null))}}]),t}(m.Component);t.default=Object(d.b)(function(e){return{user:e.user}},null)(p)},732:function(e,t,a){}}]);
//# sourceMappingURL=Invite.4225296e.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{1228:function(e,t,a){"use strict";a.r(t);a(39);var n=a(12),s=a.n(n),i=a(5),c=a(7),o=a(6),l=a(8),r=a(9),m=a(0),u=a.n(m),d=a(22),h=(a(732),a(3)),v=a(37),_=a.n(v),p=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(o.a)(this,Object(l.a)(t).call(this,e))).getUserList=function(){h.d.get("".concat(API.home,"/sys/user/invite/list")).then(function(e){var t=e.data,n=t.code,i=t.data,c=t.msg;200===n?a.setState({userList:i}):s.a.info(c,2)})},a.getHotValue=function(){h.d.get("".concat(API.home,"/sys/user/hot/value")).then(function(e){var t=e.data,n=t.code,i=t.data,c=t.msg;200===n?a.setState({hot_schedule:i.hot_schedule,hotValue:i.hot_value}):s.a.info(c,2)})},a.getInviteCode=function(){h.d.get("".concat(API.home,"/sys/user/invite/link")).then(function(e){var t=e.data,n=t.code,i=t.data,c=t.msg;if(200===n){var o=i.blessing_invite_code;Object(h.f)()&&Object(h.i)({title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:encodeURI(location.origin+"/invite?shareuid=".concat(_.a.get("uid"),"&new=1&inviteCode=").concat(o)),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"}),a.setState(function(){return{inviteCode:o}})}else 4030===n||4040===n?history.push("/passport"):s.a.info(c,2)})},a.inviteFriends=function(){var e=a.props,t=e.user,n=e.history,s=a.state.inviteCode;if(Object(h.c)("version"))if(t.hasError)Object(h.a)("toLogin");else{Object(h.a)("toShare",{title:"AI\u5145\u7535\u8282\uff0c\u79ef\u798f\u6c14\u4eab1\u6298\u79d2\u8bfe\uff0c\u8d8510\u4e07\u5143\u5956\u54c1\u6765\u5c31\u9001\uff01\uff01",desc:"\u628a\u8fd9\u95e8\u8d855\u4e07\u4eba\u62a5\u540d\u7684\u3010Python\u57fa\u7840\u5165\u95e8 \u5347\u7ea7\u7248\u3011\u8bfe\u7a0b\u9001\u7ed9\u4f60\uff0c\u9644200\u5143\u7ea2\u5305\uff0c\u8bf7\u7b11\u7eb3\uff01--\u4e03\u6708\u5728\u7ebf",link:"https://m.julyedu.com/blessingPreheat",imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png"})}else t.hasError?n.push("/passport"):Object(h.f)()?a.setState({showTip:!0,isWeiXin:!0}):(n.push("/invite?shareuid=".concat(_.a.get("uid"),"&new=1&inviteCode=").concat(s)),a.setState({showTip:!0}))},a.closeMark=function(){a.setState({showTip:!1})},a.state={isWeiXin:!1,showTip:!1,hotValue:0,hot_schedule:"",userList:[],inviteCode:""},a}return Object(r.a)(t,e),Object(c.a)(t,[{key:"componentWillMount",value:function(){var e=_.a.get("uid"),t=Object(h.c)("shareuid");e===t||Object(h.c)("new")&&this.props.history.push("/activity?shareuid=".concat(t,"&inviteCode=").concat(Object(h.c)("inviteCode")))}},{key:"componentDidMount",value:function(){this.props.user.hasError||(this.getUserList(),this.getHotValue(),this.getInviteCode())}},{key:"componentWillReceiveProps",value:function(e){console.log("componentWillReceiveProps"),e.user.hasError||(this.getUserList(),this.getHotValue(),this.getInviteCode())}},{key:"render",value:function(){var e=this.state,t=e.userList,a=e.showTip,n=e.hotValue,s=e.hot_schedule,i=e.isWeiXin;return u.a.createElement("div",{className:"activity__con"},u.a.createElement("div",{className:"banner__con"}),u.a.createElement("div",{className:"invite__content"},u.a.createElement("div",{className:"content__one"},u.a.createElement("p",null,"\u9080\u8bf7\u597d\u53cb\u6ce8\u518c\uff0c\u6bcf\u589e\u52a01\u4eba\u53ef"),u.a.createElement("div",{className:"img__con"})),u.a.createElement("div",{className:"content__two"},"\u798f\u6c14\u503c\u8d8a\u9ad8\uff0c\u70ed\u529b\u503c\u8d8a\u9ad8\uff0c\u4e2d\u5956\u6982\u7387\u8d8a\u5927\uff01"),u.a.createElement("div",{className:"box__out"},u.a.createElement("div",{className:"box__middle"},u.a.createElement("div",{className:"box__inner"},u.a.createElement("p",null,"\u5f53\u524d\u4e2d\u5956\u70ed\u529b\u503c:"),u.a.createElement("p",{className:"hot__value"},n),u.a.createElement("div",{className:"hot__progress"},u.a.createElement("div",{className:"progress__bar"},u.a.createElement("div",{className:"progress__point",style:{width:s}})))))),u.a.createElement("div",{className:"but__con"},u.a.createElement("div",{className:"button__content",onClick:this.inviteFriends},"\u7acb\u5373\u9080\u8bf7")),t.length>0?u.a.createElement(u.a.Fragment,null,u.a.createElement("div",{className:"list__title"},u.a.createElement("span",null,"\u9080\u8bf7\u597d\u53cb\u5217\u8868")),u.a.createElement("p",{className:"show__new"},"(\u4ec5\u663e\u793a\u65b0\u7528\u6237)")):null,t.length>0?u.a.createElement("div",{className:"list__con"},1===t.length&&t.map(function(e,t){return u.a.createElement("div",{className:"user__item-info item__con-only",key:t},u.a.createElement("div",{className:"item__con"},u.a.createElement("img",{className:"user_avatar",src:e.avatar}),u.a.createElement("div",{className:"user_name"},e.name)))}),t.length>1&&t.map(function(e,t){return u.a.createElement("div",{className:"user__item-info",key:t},u.a.createElement("div",{className:"item__con"},u.a.createElement("img",{className:"user_avatar",src:e.head_image}),u.a.createElement("div",{className:"user_name"},e.user_name)))})):null),a&&u.a.createElement("div",{className:"share__mark",onClick:this.closeMark},u.a.createElement("div",{className:"share__tip"},"\u7acb\u5373\u5206\u4eab\u7ed9\u597d\u53cb\u589e\u52a0\u4e2d\u5956\u6982\u7387"),i?u.a.createElement("div",{className:"share__row"}):null))}}]),t}(m.Component);t.default=Object(d.b)(function(e){return{user:e.user}},null)(p)},732:function(e,t,a){}}]);
//# sourceMappingURL=Invite.8fdce8f8.chunk.js.map
\ No newline at end of file
......@@ -76,16 +76,16 @@ self.__precacheManifest = [
"url": "/mrstatic/media/iconfont.b9b072e1.svg"
},
{
"revision": "7ec19f8a54c826f64684",
"url": "/mrstatic/js/Invite.4225296e.chunk.js"
"revision": "fa3f5e665cac481af5b4",
"url": "/mrstatic/js/Invite.8fdce8f8.chunk.js"
},
{
"revision": "c882032768d6909dc551",
"url": "/mrstatic/js/MyEdit.307d7a24.chunk.js"
},
{
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
},
{
"revision": "9f778d92ff36096a9ae9",
......@@ -96,8 +96,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/Orderinfo.26cc19cd.chunk.js"
},
{
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
},
{
"revision": "503ca3eb32514955b4f8",
......@@ -208,8 +208,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/myorders.290219ae.chunk.js"
},
{
"revision": "1ca8755e6d36f7f3a34d",
"url": "/mrstatic/js/runtime~main.5cce7ee6.js"
"revision": "f62c7a5d750951e60220",
"url": "/mrstatic/js/runtime~main.6cee2a7c.js"
},
{
"revision": "e3668977a2b9b6d1c65c",
......@@ -336,7 +336,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/Order.0ab178ef.chunk.css"
},
{
"revision": "7ec19f8a54c826f64684",
"revision": "fa3f5e665cac481af5b4",
"url": "/mrstatic/css/Invite.b3920f14.chunk.css"
},
{
......@@ -372,7 +372,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/2.fd1b61f1.chunk.css"
},
{
"revision": "d0361986ace100ac604cbdd892ddc06c",
"revision": "0d0d42d4302c928c7ad3ace34602166d",
"url": "/index.html"
}
];
\ No newline at end of file
......@@ -14,15 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
<<<<<<< HEAD
"/precache-manifest.46895332b1bd430002163bc2bdb1ee05.js"
=======
<<<<<<< HEAD
"/precache-manifest.5100a01b55c0144d15b42e4df5ff6c1b.js"
=======
"/precache-manifest.70bf3c0539f1e2c1ad56cc1c20e50a58.js"
>>>>>>> 1ef670f9f92c37d4fb0d6d3d4f45da114df627f5
>>>>>>> 11-11
"/precache-manifest.bb6e58210f9dc0bd82ef067334f9c1a9.js"
);
workbox.clientsClaim();
......
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