Commit af183580 by FE

build

parent e3e18afd
...@@ -99,10 +99,10 @@ ...@@ -99,10 +99,10 @@
"purchased.js": "/mrstatic/js/purchased.89577d91.chunk.js", "purchased.js": "/mrstatic/js/purchased.89577d91.chunk.js",
"purchased.js.map": "/mrstatic/js/purchased.89577d91.chunk.js.map", "purchased.js.map": "/mrstatic/js/purchased.89577d91.chunk.js.map",
"python-class.css": "/mrstatic/css/python-class.13b5b2f3.chunk.css", "python-class.css": "/mrstatic/css/python-class.13b5b2f3.chunk.css",
"python-class.js": "/mrstatic/js/python-class.9c949c22.chunk.js", "python-class.js": "/mrstatic/js/python-class.29392c8c.chunk.js",
"python-class.js.map": "/mrstatic/js/python-class.9c949c22.chunk.js.map", "python-class.js.map": "/mrstatic/js/python-class.29392c8c.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.1f3ec3f4.js", "runtime~main.js": "/mrstatic/js/runtime~main.560082a0.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.1f3ec3f4.js.map", "runtime~main.js.map": "/mrstatic/js/runtime~main.560082a0.js.map",
"search.css": "/mrstatic/css/search.efa1dd44.chunk.css", "search.css": "/mrstatic/css/search.efa1dd44.chunk.css",
"search.js": "/mrstatic/js/search.bbed24b1.chunk.js", "search.js": "/mrstatic/js/search.bbed24b1.chunk.js",
"search.js.map": "/mrstatic/js/search.bbed24b1.chunk.js.map", "search.js.map": "/mrstatic/js/search.bbed24b1.chunk.js.map",
...@@ -200,6 +200,6 @@ ...@@ -200,6 +200,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.e5b337d5738dddcc299dfecb768faa8d.js": "/precache-manifest.e5b337d5738dddcc299dfecb768faa8d.js", "precache-manifest.5a43686784aaabc49cb582ecd71700ce.js": "/precache-manifest.5a43686784aaabc49cb582ecd71700ce.js",
"service-worker.js": "/service-worker.js" "service-worker.js": "/service-worker.js"
} }
\ No newline at end of file
...@@ -260,16 +260,16 @@ self.__precacheManifest = [ ...@@ -260,16 +260,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/purchased.89577d91.chunk.js" "url": "/mrstatic/js/purchased.89577d91.chunk.js"
}, },
{ {
"revision": "3836eb5dc3965196c1fd", "revision": "aacd8152d55f557a5f66",
"url": "/mrstatic/css/python-class.13b5b2f3.chunk.css" "url": "/mrstatic/css/python-class.13b5b2f3.chunk.css"
}, },
{ {
"revision": "3836eb5dc3965196c1fd", "revision": "aacd8152d55f557a5f66",
"url": "/mrstatic/js/python-class.9c949c22.chunk.js" "url": "/mrstatic/js/python-class.29392c8c.chunk.js"
}, },
{ {
"revision": "3e7fa00a8019946d7713", "revision": "c8a42d5c0241afc73d7a",
"url": "/mrstatic/js/runtime~main.1f3ec3f4.js" "url": "/mrstatic/js/runtime~main.560082a0.js"
}, },
{ {
"revision": "dc607b2ee118c7ff1ac5", "revision": "dc607b2ee118c7ff1ac5",
...@@ -392,6 +392,10 @@ self.__precacheManifest = [ ...@@ -392,6 +392,10 @@ self.__precacheManifest = [
"url": "/mrstatic/js/51.3c10cacd.chunk.js" "url": "/mrstatic/js/51.3c10cacd.chunk.js"
}, },
{ {
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
},
{
"revision": "e0655d4da66dce391e6b5227b400e037", "revision": "e0655d4da66dce391e6b5227b400e037",
"url": "/mrstatic/media/iconfont.e0655d4d.woff" "url": "/mrstatic/media/iconfont.e0655d4d.woff"
}, },
...@@ -400,10 +404,6 @@ self.__precacheManifest = [ ...@@ -400,10 +404,6 @@ self.__precacheManifest = [
"url": "/mrstatic/media/iconfont.258b4b11.ttf" "url": "/mrstatic/media/iconfont.258b4b11.ttf"
}, },
{ {
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
},
{
"revision": "b9b072e1116fd1830cc8f425dc163a6b", "revision": "b9b072e1116fd1830cc8f425dc163a6b",
"url": "/mrstatic/media/iconfont.b9b072e1.svg" "url": "/mrstatic/media/iconfont.b9b072e1.svg"
}, },
...@@ -420,19 +420,19 @@ self.__precacheManifest = [ ...@@ -420,19 +420,19 @@ self.__precacheManifest = [
"url": "/mrstatic/media/hb_bj.79139f6a.png" "url": "/mrstatic/media/hb_bj.79139f6a.png"
}, },
{ {
"revision": "6902434f8f18a23319d57d0ac8aaea8c", "revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png" "url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
}, },
{ {
"revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae", "revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae",
"url": "/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png" "url": "/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png"
}, },
{ {
"revision": "c79abf5cb7ae8a82009cf68fe44d1078", "revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png" "url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
}, },
{ {
"revision": "767f5228185019706d697d5034c55031", "revision": "59b395bf8e8e11b04b6aec9580836ea4",
"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.e5b337d5738dddcc299dfecb768faa8d.js" "/precache-manifest.5a43686784aaabc49cb582ecd71700ce.js"
); );
workbox.clientsClaim(); workbox.clientsClaim();
......
...@@ -101,14 +101,7 @@ class Python extends Component { ...@@ -101,14 +101,7 @@ class Python extends Component {
backwardVersion: true, backwardVersion: true,
isPay: 0, isPay: 0,
}) })
}else{ }else if(browser.isIOSApp && version < 380) { // ISO的低版本
alert('高版本');
this.setState({
backwardVersion: false,
isPay: data.course_info.is_pay
})
}
if(browser.isIOSApp && version < 380) { // ISO的低版本
this.setState({ this.setState({
backwardVersion: true, backwardVersion: true,
isPay: 0, isPay: 0,
...@@ -120,6 +113,7 @@ class Python extends Component { ...@@ -120,6 +113,7 @@ class Python extends Component {
}) })
} }
} else { } else {
this.setState({ this.setState({
backwardVersion: false, backwardVersion: false,
isPay: data.course_info.is_pay isPay: data.course_info.is_pay
...@@ -145,8 +139,7 @@ class Python extends Component { ...@@ -145,8 +139,7 @@ class Python extends Component {
isAppUpdate={isAppUpdate} isAppUpdate={isAppUpdate}
/> />
</div> </div>
) ) }
}
{ {
(isPay === 1 && !getParam('version')) && <PythonStudy isAppUpdate={isAppUpdate}/> (isPay === 1 && !getParam('version')) && <PythonStudy isAppUpdate={isAppUpdate}/>
} }
......
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