Commit bb4940e1 by FE

build

parent 721902c3
......@@ -94,8 +94,8 @@
"python-class.css": "/mrstatic/css/python-class.11408886.chunk.css",
"python-class.js": "/mrstatic/js/python-class.b6afbbaa.chunk.js",
"python-class.js.map": "/mrstatic/js/python-class.b6afbbaa.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.4989e1cb.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.4989e1cb.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.ef7702b0.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.ef7702b0.js.map",
"search.css": "/mrstatic/css/search.efa1dd44.chunk.css",
"search.js": "/mrstatic/js/search.0e502e29.chunk.js",
"search.js.map": "/mrstatic/js/search.0e502e29.chunk.js.map",
......@@ -135,8 +135,8 @@
"mrstatic/js/46.cec05770.chunk.js": "/mrstatic/js/46.cec05770.chunk.js",
"mrstatic/js/46.cec05770.chunk.js.map": "/mrstatic/js/46.cec05770.chunk.js.map",
"mrstatic/css/47.bacf914e.chunk.css": "/mrstatic/css/47.bacf914e.chunk.css",
"mrstatic/js/47.8695575c.chunk.js": "/mrstatic/js/47.8695575c.chunk.js",
"mrstatic/js/47.8695575c.chunk.js.map": "/mrstatic/js/47.8695575c.chunk.js.map",
"mrstatic/js/47.f546a7de.chunk.js": "/mrstatic/js/47.f546a7de.chunk.js",
"mrstatic/js/47.f546a7de.chunk.js.map": "/mrstatic/js/47.f546a7de.chunk.js.map",
"index.html": "/index.html",
"mrstatic/css/2.1133c967.chunk.css.map": "/mrstatic/css/2.1133c967.chunk.css.map",
"mrstatic/css/3.ac8fad1f.chunk.css.map": "/mrstatic/css/3.ac8fad1f.chunk.css.map",
......@@ -184,6 +184,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff",
"mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png",
"mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png",
"precache-manifest.6c9043f5db374f7f85bf42df461f72c7.js": "/precache-manifest.6c9043f5db374f7f85bf42df461f72c7.js",
"precache-manifest.c241a3dbf5bce1bd463322df5c7e088e.js": "/precache-manifest.c241a3dbf5bce1bd463322df5c7e088e.js",
"service-worker.js": "/service-worker.js"
}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{1220:function(e,t,a){},1253:function(e,t,a){"use strict";a.r(t);a(41);var n=a(12),c=a.n(n),o=a(5),s=a(7),r=a(6),i=a(8),l=a(9),m=a(0),h=a.n(m),d=a(15),u=a(720),p=a(1214),y=a.n(p),E=a(28),b=a(3),_=(a(1220),a(1221),a(1222),function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(r.a)(this,Object(i.a)(t).call(this,e))).initCommand=function(){a.setState({command:"".concat(API.m,"/pythonShare?id=").concat(Object(b.c)("id"),"&type=").concat(Object(b.c)("type"),"&ques=").concat(Object(b.c)("ques"),"&from=python")})},a.initPageStatus=function(){"barcode"===Object(b.c)("from")&&a.setState({entryMode:0}),"python"===Object(b.c)("from")&&a.setState({entryMode:2}),"1"===Object(b.c)("type")&&a.setState({isShare:!0}),"2"===Object(b.c)("type")&&a.setState({isShare:!1}),a.setState({type:Object(b.c)("ques")||"1"})},a.handleFetchInfo=function(){var e=Object(b.c)("id")||10;b.d.get("".concat(API.home,"/m/it/share/show"),{params:{id:e}}).then(function(e){var t=e.data,n=t.code,c=t.data;200===n&&a.setState({data:c})})},a.handleToSend=function(){var e=a.props.history;b.b.isWeixin&&(a.setState({entryMode:1}),e.push("/pythonShare?id=".concat(Object(b.c)("id"),"&type=").concat(Object(b.c)("type"),"&ques=").concat(Object(b.c)("ques"),"&from=python")))},a.copyToSuccess=function(){c.a.info("\u5df2\u590d\u5236\u94fe\u63a5\uff0c\u5feb\u53bb\u7c98\u8d34\u53d1\u7ed9\u597d\u53cb\u5427\uff5e"),a.setState({isCopy:!0})},a.handleToExecute=function(){a.setState({isExecute:!0})},a.state={isWechat:b.b.isWeixin,isShare:!0,type:"1",entryMode:1,isExecute:!1,isCopy:!1,command:"",data:{}},a}return Object(l.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){this.handleFetchInfo(),this.initPageStatus(),this.initCommand()}},{key:"render",value:function(){var e=this.state,t=e.isWechat,a=e.isShare,n=e.isExecute,c=e.type,o=e.entryMode,s=e.command,r=e.isCopy,i=e.data;return h.a.createElement(h.a.Fragment,null,h.a.createElement(E.e,{title:"Python\u57fa\u7840\u8bed\u6cd5",arrow:!0,home:!0}),h.a.createElement(f,{isWechat:t,isShare:a,type:c,isExecute:n,entryMode:o,isCopy:r,command:s,data:i,handleToExecute:this.handleToExecute,handleToSend:this.handleToSend,copyToSuccess:this.copyToSuccess}))}}]),t}(m.Component));function S(e){return h.a.createElement(y.a,{mode:"python",theme:"dracula",readOnly:!0,showPrintMargin:!1,value:e.code,style:{width:"100%",height:"100%"}})}function f(e){var t=e.isWechat,a=e.isShare,n=e.isExecute,c=e.type,o=e.entryMode,s=e.isCopy,r=e.command,i=e.data,l=i.head_img,m=i.nickname,p=i.code_lines,y=i.code,E=i.result,b=i.ques_name,_=i.course_name,f=i.course_id,N=i.video_name,v=e.handleToSend,O=e.copyToSuccess,j=e.handleToExecute,T="";return"1"===c&&(T="\u7ec3\u4e60-".concat(b)),"2"===c&&(T="\u8bfe\u5802-".concat(N)),h.a.createElement("div",{className:"python-container"},1===o&&t&&h.a.createElement("div",{className:"python-popup"},h.a.createElement("div",{className:"python-header"},h.a.createElement("p",{className:"python-wechat__title"},"\u8bf7\u70b9\u51fb\u53f3\u4e0a\u89d2\u5206\u4eab"),h.a.createElement("i",{className:"iconfont iconyindao"}))),h.a.createElement("div",{className:"python-content"},h.a.createElement("div",{className:"python-user"},h.a.createElement("div",{className:"python-user__portrait"},h.a.createElement("img",{src:l,alt:""})),h.a.createElement("h2",{className:"python-user__id"},m),0===o&&a&&h.a.createElement("p",{className:"python-user__desc"},"\u5b8c\u6210\u4e86",h.a.createElement("span",null,"\u3010",T,"\u3011")),0!==o&&a&&h.a.createElement("p",{className:"python-user__desc"},"\u5728",h.a.createElement("span",null,"\u3010",_,"\u3011"),"\u5b8c\u6210\u4e86",h.a.createElement("br",null),T),0===o&&!a&&h.a.createElement("p",{className:"python-user__desc"},"\u5728",h.a.createElement("span",null,"\u3010",T,"\u3011"),"\u9047\u5230\u4e86\u56f0\u96be"),0!==o&&!a&&h.a.createElement("p",{className:"python-user__desc"},"\u5728",h.a.createElement("span",null,"\u3010",_,"\u3011"),"\u7684",h.a.createElement("br",null),h.a.createElement("span",null,T),"\u9047\u5230\u4e86\u56f0\u96be")),h.a.createElement("h4",{className:"python-code__title"},0!==o&&a&&!t?"\u8fd9\u662fTa\u7684\u7b2c".concat(p,"\u884c\u4ee3\u7801"):"\u8fd0\u884c\u7ed3\u679c"),h.a.createElement("div",{className:"python-code__content"},h.a.createElement(S,{code:0!==o&&a&&!t?y:E})),h.a.createElement("h4",{className:"python-code__title"},0!==o&&a&&!t?"\u8fd0\u884c\u7ed3\u679c":"\u4ee3\u7801"),h.a.createElement("div",{className:"python-code__content"},0!==o&&a&&!t?h.a.createElement(S,{code:n?E:""}):h.a.createElement(S,{code:y}),0!==o&&a&&!t&&!n&&h.a.createElement("button",{className:"python-button python-button__execute",onClick:j},"\u8fd0\u884c\u770b\u770b"))),0===o&&t&&h.a.createElement("button",{className:"python-button python-button__study",onClick:v},a?"\u5206\u4eab\u7ed9\u597d\u53cb":"\u53d1\u7ed9\u597d\u53cb\u6c42\u52a9"),0===o&&!t&&!s&&h.a.createElement(u.CopyToClipboard,{text:r,onCopy:O},h.a.createElement("button",{className:"python-button python-button__study"},a?"\u5206\u4eab\u7ed9\u597d\u53cb":"\u53d1\u7ed9\u597d\u53cb\u6c42\u52a9")),0===o&&!t&&s&&h.a.createElement("p",{className:"python-button__tip"},"\u5df2\u590d\u5236\u94fe\u63a5\uff0c\u5feb\u53bb\u7c98\u8d34\u53d1\u7ed9\u597d\u53cb\u5427\uff5e"),0!==o&&h.a.createElement(d.b,{className:"python-button python-button__study",to:"/python?id=".concat(f)},"\u6211\u4e5f\u8981\u5b66Python"))}t.default=_}}]);
//# sourceMappingURL=47.8695575c.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{1220:function(e,t,a){},1253:function(e,t,a){"use strict";a.r(t);a(41);var n=a(12),c=a.n(n),o=a(5),s=a(7),i=a(6),l=a(8),r=a(9),d=a(0),m=a.n(d),h=a(15),u=a(720),p=a(1214),y=a.n(p),E=a(28),b=a(3),_=(a(1220),a(1221),a(1222),function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(i.a)(this,Object(l.a)(t).call(this,e))).initCommand=function(){a.setState({command:"".concat(API.m,"/pythonShare?id=").concat(Object(b.c)("id"),"&type=").concat(Object(b.c)("type"),"&ques=").concat(Object(b.c)("ques"),"&from=python")})},a.initPageStatus=function(){"barcode"===Object(b.c)("from")&&a.setState({entryMode:0}),"python"===Object(b.c)("from")&&a.setState({entryMode:2}),"1"===Object(b.c)("type")&&a.setState({isShare:!0}),"2"===Object(b.c)("type")&&a.setState({isShare:!1}),a.setState({type:Object(b.c)("ques")||"1"})},a.handleFetchInfo=function(){var e=Object(b.c)("id")||10;b.d.get("".concat(API.home,"/m/it/share/show"),{params:{id:e}}).then(function(e){var t=e.data,n=t.code,c=t.data;200===n&&a.setState({data:c})})},a.handleToSend=function(){var e=a.props.history;b.b.isWeixin&&(a.setState({entryMode:1}),e.push("/pythonShare?id=".concat(Object(b.c)("id"),"&type=").concat(Object(b.c)("type"),"&ques=").concat(Object(b.c)("ques"),"&from=python")))},a.copyToSuccess=function(){c.a.info("\u5df2\u590d\u5236\u94fe\u63a5\uff0c\u5feb\u53bb\u7c98\u8d34\u53d1\u7ed9\u597d\u53cb\u5427\uff5e"),a.setState({isCopy:!0})},a.handleToExecute=function(){a.setState({isExecute:!0})},a.handleToHide=function(){a.setState({entryMode:2})},a.state={isWechat:b.b.isWeixin,isShare:!0,type:"1",entryMode:0,isExecute:!1,isCopy:!1,command:"",data:{}},a}return Object(r.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){this.handleFetchInfo(),this.initPageStatus(),this.initCommand()}},{key:"render",value:function(){var e=this.state,t=e.isWechat,a=e.isShare,n=e.isExecute,c=e.type,o=e.entryMode,s=e.command,i=e.isCopy,l=e.data;return m.a.createElement(m.a.Fragment,null,m.a.createElement(E.e,{title:"Python\u57fa\u7840\u8bed\u6cd5",arrow:!0,home:!0}),m.a.createElement(f,{isWechat:t,isShare:a,type:c,isExecute:n,entryMode:o,isCopy:i,command:s,data:l,handleToExecute:this.handleToExecute,handleToSend:this.handleToSend,copyToSuccess:this.copyToSuccess,handleToHide:this.handleToHide}))}}]),t}(d.Component));function S(e){return m.a.createElement(y.a,{mode:"python",theme:"dracula",readOnly:!0,showPrintMargin:!1,value:e.code,style:{width:"100%",height:"100%"}})}function f(e){var t=e.isWechat,a=e.isShare,n=e.isExecute,c=e.type,o=e.entryMode,s=e.isCopy,i=e.command,l=e.data,r=l.head_img,d=l.nickname,p=l.code_lines,y=l.code,E=l.result,b=l.ques_name,_=l.course_name,f=l.course_id,N=l.video_name,v=e.handleToSend,O=e.copyToSuccess,T=e.handleToExecute,j=e.handleToHide,C="";return"1"===c&&(C="\u7ec3\u4e60-".concat(b)),"2"===c&&(C="\u8bfe\u5802-".concat(N)),m.a.createElement("div",{className:"python-container"},1===o&&t&&m.a.createElement("div",{className:"python-popup",onClick:j},m.a.createElement("div",{className:"python-header"},m.a.createElement("p",{className:"python-wechat__title"},"\u8bf7\u70b9\u51fb\u53f3\u4e0a\u89d2\u5206\u4eab"),m.a.createElement("i",{className:"iconfont iconyindao"}))),m.a.createElement("div",{className:"python-content"},m.a.createElement("div",{className:"python-user"},m.a.createElement("div",{className:"python-user__portrait"},m.a.createElement("img",{src:r,alt:""})),m.a.createElement("h2",{className:"python-user__id"},d),0===o&&a&&m.a.createElement("p",{className:"python-user__desc"},"\u5b8c\u6210\u4e86",m.a.createElement("span",null,"\u3010",C,"\u3011")),0!==o&&a&&m.a.createElement("p",{className:"python-user__desc"},"\u5728",m.a.createElement("span",null,"\u3010",_,"\u3011"),"\u5b8c\u6210\u4e86",m.a.createElement("br",null),C),0===o&&!a&&m.a.createElement("p",{className:"python-user__desc"},"\u5728",m.a.createElement("span",null,"\u3010",C,"\u3011"),"\u9047\u5230\u4e86\u56f0\u96be"),0!==o&&!a&&m.a.createElement("p",{className:"python-user__desc"},"\u5728",m.a.createElement("span",null,"\u3010",_,"\u3011"),"\u7684",m.a.createElement("br",null),m.a.createElement("span",null,C),"\u9047\u5230\u4e86\u56f0\u96be")),m.a.createElement("h4",{className:"python-code__title"},0!==o&&a&&!t?"\u8fd9\u662fTa\u7684\u7b2c".concat(p,"\u884c\u4ee3\u7801"):"\u8fd0\u884c\u7ed3\u679c"),m.a.createElement("div",{className:"python-code__content"},m.a.createElement(S,{code:0!==o&&a&&!t?y:E})),m.a.createElement("h4",{className:"python-code__title"},0!==o&&a&&!t?"\u8fd0\u884c\u7ed3\u679c":"\u4ee3\u7801"),m.a.createElement("div",{className:"python-code__content"},0!==o&&a&&!t?m.a.createElement(S,{code:n?E:""}):m.a.createElement(S,{code:y}),0!==o&&a&&!t&&!n&&m.a.createElement("button",{className:"python-button python-button__execute",onClick:T},"\u8fd0\u884c\u770b\u770b"))),0===o&&t&&m.a.createElement("button",{className:"python-button python-button__study",onClick:v},a?"\u5206\u4eab\u7ed9\u597d\u53cb":"\u53d1\u7ed9\u597d\u53cb\u6c42\u52a9"),0===o&&!t&&!s&&m.a.createElement(u.CopyToClipboard,{text:i,onCopy:O},m.a.createElement("button",{className:"python-button python-button__study"},a?"\u5206\u4eab\u7ed9\u597d\u53cb":"\u53d1\u7ed9\u597d\u53cb\u6c42\u52a9")),0===o&&!t&&s&&m.a.createElement("p",{className:"python-button__tip"},"\u5df2\u590d\u5236\u94fe\u63a5\uff0c\u5feb\u53bb\u7c98\u8d34\u53d1\u7ed9\u597d\u53cb\u5427\uff5e"),0!==o&&m.a.createElement(h.b,{className:"python-button python-button__study",to:"/python?id=".concat(f)},"\u6211\u4e5f\u8981\u5b66Python"))}t.default=_}}]);
//# sourceMappingURL=47.f546a7de.chunk.js.map
\ No newline at end of file
......@@ -248,8 +248,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/python-class.b6afbbaa.chunk.js"
},
{
"revision": "2efa2a268cdc6d98cccb",
"url": "/mrstatic/js/runtime~main.4989e1cb.js"
"revision": "b445c6e26bf9ef404f53",
"url": "/mrstatic/js/runtime~main.ef7702b0.js"
},
{
"revision": "39b606ec549cfee8a0d2",
......@@ -352,42 +352,42 @@ self.__precacheManifest = [
"url": "/mrstatic/js/46.cec05770.chunk.js"
},
{
"revision": "54fd77af7968e6dfe232",
"revision": "7b1fd48ea61212b54260",
"url": "/mrstatic/css/47.bacf914e.chunk.css"
},
{
"revision": "54fd77af7968e6dfe232",
"url": "/mrstatic/js/47.8695575c.chunk.js"
},
{
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
},
{
"revision": "e0655d4da66dce391e6b5227b400e037",
"url": "/mrstatic/media/iconfont.e0655d4d.woff"
"revision": "7b1fd48ea61212b54260",
"url": "/mrstatic/js/47.f546a7de.chunk.js"
},
{
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
},
{
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
},
{
"revision": "b9b072e1116fd1830cc8f425dc163a6b",
"url": "/mrstatic/media/iconfont.b9b072e1.svg"
},
{
"revision": "81a489ac63f2f2df5ab412e0782bd54c",
"url": "/mrstatic/media/kanjia_cg_icon.81a489ac.png"
"revision": "e0655d4da66dce391e6b5227b400e037",
"url": "/mrstatic/media/iconfont.e0655d4d.woff"
},
{
"revision": "d76ebce726bdf3459fa14e96d84c5b9a",
"url": "/mrstatic/media/formal-banner.d76ebce7.png"
"revision": "81a489ac63f2f2df5ab412e0782bd54c",
"url": "/mrstatic/media/kanjia_cg_icon.81a489ac.png"
},
{
"revision": "9ab091267ae7c83bd30d0f5ad018a8c9",
"url": "/mrstatic/media/dalibao_bj.9ab09126.png"
},
{
"revision": "d76ebce726bdf3459fa14e96d84c5b9a",
"url": "/mrstatic/media/formal-banner.d76ebce7.png"
},
{
"revision": "80011994e30adf599e5f47fcc81bc06d",
"url": "/mrstatic/media/progress-share-bg.80011994.png"
},
......@@ -396,10 +396,6 @@ self.__precacheManifest = [
"url": "/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png"
},
{
"revision": "79139f6aad350256e151f9f73c226348",
"url": "/mrstatic/media/hb_bj.79139f6a.png"
},
{
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
},
......@@ -408,7 +404,11 @@ self.__precacheManifest = [
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
},
{
"revision": "df1bd60a32f7e8322afb2ee5eb8a2913",
"revision": "79139f6aad350256e151f9f73c226348",
"url": "/mrstatic/media/hb_bj.79139f6a.png"
},
{
"revision": "3497ba5b7882387d85905e1bb3d2b4b7",
"url": "/index.html"
}
];
\ No newline at end of file
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
"/precache-manifest.6c9043f5db374f7f85bf42df461f72c7.js"
"/precache-manifest.c241a3dbf5bce1bd463322df5c7e088e.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