Commit e76870d4 by wangshuo

邀请好友注册打包

parent c34e47b0
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
"Examination.js": "/mrstatic/js/Examination.ff3c2d12.chunk.js", "Examination.js": "/mrstatic/js/Examination.ff3c2d12.chunk.js",
"Examination.js.map": "/mrstatic/js/Examination.ff3c2d12.chunk.js.map", "Examination.js.map": "/mrstatic/js/Examination.ff3c2d12.chunk.js.map",
"Invite.css": "/mrstatic/css/Invite.b3920f14.chunk.css", "Invite.css": "/mrstatic/css/Invite.b3920f14.chunk.css",
"Invite.js": "/mrstatic/js/Invite.7151b7f6.chunk.js", "Invite.js": "/mrstatic/js/Invite.ed634768.chunk.js",
"Invite.js.map": "/mrstatic/js/Invite.7151b7f6.chunk.js.map", "Invite.js.map": "/mrstatic/js/Invite.ed634768.chunk.js.map",
"MyEdit.js": "/mrstatic/js/MyEdit.307d7a24.chunk.js", "MyEdit.js": "/mrstatic/js/MyEdit.307d7a24.chunk.js",
"MyEdit.js.map": "/mrstatic/js/MyEdit.307d7a24.chunk.js.map", "MyEdit.js.map": "/mrstatic/js/MyEdit.307d7a24.chunk.js.map",
"Order.css": "/mrstatic/css/Order.0ab178ef.chunk.css", "Order.css": "/mrstatic/css/Order.0ab178ef.chunk.css",
...@@ -85,8 +85,8 @@ ...@@ -85,8 +85,8 @@
"purchased.css": "/mrstatic/css/purchased.28c23daa.chunk.css", "purchased.css": "/mrstatic/css/purchased.28c23daa.chunk.css",
"purchased.js": "/mrstatic/js/purchased.82ed1aea.chunk.js", "purchased.js": "/mrstatic/js/purchased.82ed1aea.chunk.js",
"purchased.js.map": "/mrstatic/js/purchased.82ed1aea.chunk.js.map", "purchased.js.map": "/mrstatic/js/purchased.82ed1aea.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.ea247ec1.js", "runtime~main.js": "/mrstatic/js/runtime~main.793c4d07.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.ea247ec1.js.map", "runtime~main.js.map": "/mrstatic/js/runtime~main.793c4d07.js.map",
"search.css": "/mrstatic/css/search.85280180.chunk.css", "search.css": "/mrstatic/css/search.85280180.chunk.css",
"search.js": "/mrstatic/js/search.02ed6860.chunk.js", "search.js": "/mrstatic/js/search.02ed6860.chunk.js",
"search.js.map": "/mrstatic/js/search.02ed6860.chunk.js.map", "search.js.map": "/mrstatic/js/search.02ed6860.chunk.js.map",
...@@ -166,6 +166,6 @@ ...@@ -166,6 +166,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff", "mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff",
"mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png", "mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png",
"mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png", "mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png",
"precache-manifest.954d88c24148a2a5d08394f1e2433686.js": "/precache-manifest.954d88c24148a2a5d08394f1e2433686.js", "precache-manifest.c5b01599e2631a57ea81d93f9c4e673c.js": "/precache-manifest.c5b01599e2631a57ea81d93f9c4e673c.js",
"service-worker.js": "/service-worker.js" "service-worker.js": "/service-worker.js"
} }
\ 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),l=a(6),r=a(8),o=a(9),m=a(0),u=a.n(m),d=a(22),h=(a(732),a(3)),_=a(37),v=a.n(_),p=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(l.a)(this,Object(r.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.inviteFriends=function(){var e=a.props,t=e.user,n=e.history;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"):h.d.get("".concat(API.home,"/sys/user/invite/link")).then(function(e){var t=e.data,i=t.code,c=t.data,l=t.msg;if(200===i){var r=c.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(v.a.get("uid"),"&new=1&inviteCode=").concat(r)),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(v.a.get("uid"),"&new=1&inviteCode=").concat(r)),a.setState({showTip:!0}))}else s.a.info(l,2)})},a.closeMark=function(){a.setState({showTip:!1})},a.state={isWeiXin:!1,showTip:!1,hotValue:0,hot_schedule:"",userList:[]},a}return Object(o.a)(t,e),Object(c.a)(t,[{key:"componentWillMount",value:function(){var e=v.a.get("uid"),t=Object(h.c)("shareuid");e===t||Object(h.c)("new")&&this.props.history.push("/activity?shareuid=".concat(t,"&inviteCode=").concat(inviteCode))}},{key:"componentDidMount",value:function(){this.props.user.hasError||(this.getUserList(),this.getHotValue())}},{key:"componentWillReceiveProps",value:function(e){e.user.hasError||(this.getUserList(),this.getHotValue())}},{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("span",null,"0"),u.a.createElement("div",{className:"progress__bar"},u.a.createElement("div",{className:"progress__point",style:{width:s}})),u.a.createElement("span",null,"3600"))))),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.avatar}),u.a.createElement("div",{className:"user_name"},e.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.7151b7f6.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),l=a(6),r=a(8),o=a(9),m=a(0),u=a.n(m),d=a(22),h=(a(732),a(3)),_=a(37),v=a.n(_),p=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(l.a)(this,Object(r.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.inviteFriends=function(){var e=a.props,t=e.user,n=e.history;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"):h.d.get("".concat(API.home,"/sys/user/invite/link")).then(function(e){var t=e.data,i=t.code,c=t.data,l=t.msg;if(200===i){var r=c.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(v.a.get("uid"),"&new=1&inviteCode=").concat(r)),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(v.a.get("uid"),"&new=1&inviteCode=").concat(r)),a.setState({showTip:!0}))}else s.a.info(l,2)})},a.closeMark=function(){a.setState({showTip:!1})},a.state={isWeiXin:!1,showTip:!1,hotValue:0,hot_schedule:"",userList:[]},a}return Object(o.a)(t,e),Object(c.a)(t,[{key:"componentWillMount",value:function(){var e=v.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())}},{key:"componentWillReceiveProps",value:function(e){e.user.hasError||(this.getUserList(),this.getHotValue())}},{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("span",null,"0"),u.a.createElement("div",{className:"progress__bar"},u.a.createElement("div",{className:"progress__point",style:{width:s}})),u.a.createElement("span",null,"3600"))))),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.avatar}),u.a.createElement("div",{className:"user_name"},e.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.ed634768.chunk.js.map
\ No newline at end of file
...@@ -16,16 +16,16 @@ self.__precacheManifest = [ ...@@ -16,16 +16,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/2.c0bbc2c0.chunk.js" "url": "/mrstatic/js/2.c0bbc2c0.chunk.js"
}, },
{ {
"revision": "6902434f8f18a23319d57d0ac8aaea8c", "revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png" "url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
}, },
{ {
"revision": "1a206f4723db59189520", "revision": "1a206f4723db59189520",
"url": "/mrstatic/js/Activity.df526086.chunk.js" "url": "/mrstatic/js/Activity.df526086.chunk.js"
}, },
{ {
"revision": "c79abf5cb7ae8a82009cf68fe44d1078", "revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png" "url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
}, },
{ {
"revision": "b499432e7ede43f9d435", "revision": "b499432e7ede43f9d435",
...@@ -76,8 +76,8 @@ self.__precacheManifest = [ ...@@ -76,8 +76,8 @@ self.__precacheManifest = [
"url": "/mrstatic/media/iconfont.b9b072e1.svg" "url": "/mrstatic/media/iconfont.b9b072e1.svg"
}, },
{ {
"revision": "bc5d8bf9231c1c19656b", "revision": "e0c81e76a5106ca5afb7",
"url": "/mrstatic/js/Invite.7151b7f6.chunk.js" "url": "/mrstatic/js/Invite.ed634768.chunk.js"
}, },
{ {
"revision": "c882032768d6909dc551", "revision": "c882032768d6909dc551",
...@@ -208,8 +208,8 @@ self.__precacheManifest = [ ...@@ -208,8 +208,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/myorders.290219ae.chunk.js" "url": "/mrstatic/js/myorders.290219ae.chunk.js"
}, },
{ {
"revision": "d66294865c8f5bf75604", "revision": "6ab497e6d2a45f332f17",
"url": "/mrstatic/js/runtime~main.ea247ec1.js" "url": "/mrstatic/js/runtime~main.793c4d07.js"
}, },
{ {
"revision": "e3668977a2b9b6d1c65c", "revision": "e3668977a2b9b6d1c65c",
...@@ -336,7 +336,7 @@ self.__precacheManifest = [ ...@@ -336,7 +336,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/Order.0ab178ef.chunk.css" "url": "/mrstatic/css/Order.0ab178ef.chunk.css"
}, },
{ {
"revision": "bc5d8bf9231c1c19656b", "revision": "e0c81e76a5106ca5afb7",
"url": "/mrstatic/css/Invite.b3920f14.chunk.css" "url": "/mrstatic/css/Invite.b3920f14.chunk.css"
}, },
{ {
...@@ -372,7 +372,7 @@ self.__precacheManifest = [ ...@@ -372,7 +372,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/2.fd1b61f1.chunk.css" "url": "/mrstatic/css/2.fd1b61f1.chunk.css"
}, },
{ {
"revision": "fd14464dc3eb3a80d2124a85a24633c9", "revision": "1407b565b56a341640ded8baff0728f2",
"url": "/index.html" "url": "/index.html"
} }
]; ];
\ No newline at end of file
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js"); importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts( importScripts(
"/precache-manifest.954d88c24148a2a5d08394f1e2433686.js" "/precache-manifest.c5b01599e2631a57ea81d93f9c4e673c.js"
); );
workbox.clientsClaim(); 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