Commit 2cde975e by xuzhenghua

to app

parents 9a344897 53861970
......@@ -56,8 +56,8 @@
"aist-share.js": "/mrstatic/js/aist-share.56f16245.chunk.js",
"aist-share.js.map": "/mrstatic/js/aist-share.56f16245.chunk.js.map",
"blessing-preheat.css": "/mrstatic/css/blessing-preheat.c60bb0ed.chunk.css",
"blessing-preheat.js": "/mrstatic/js/blessing-preheat.d87f1d2e.chunk.js",
"blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.d87f1d2e.chunk.js.map",
"blessing-preheat.js": "/mrstatic/js/blessing-preheat.38b6eb90.chunk.js",
"blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.38b6eb90.chunk.js.map",
"blessing-rank.css": "/mrstatic/css/blessing-rank.91e559d5.chunk.css",
"blessing-rank.js": "/mrstatic/js/blessing-rank.91701b45.chunk.js",
"blessing-rank.js.map": "/mrstatic/js/blessing-rank.91701b45.chunk.js.map",
......@@ -85,8 +85,8 @@
"purchased.css": "/mrstatic/css/purchased.bb758677.chunk.css",
"purchased.js": "/mrstatic/js/purchased.e26b2648.chunk.js",
"purchased.js.map": "/mrstatic/js/purchased.e26b2648.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.419126a7.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.419126a7.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.c67feb04.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.c67feb04.js.map",
"search.css": "/mrstatic/css/search.5716d9b3.chunk.css",
"search.js": "/mrstatic/js/search.aca64fd4.chunk.js",
"search.js.map": "/mrstatic/js/search.aca64fd4.chunk.js.map",
......@@ -166,6 +166,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.22b9b9f1fdcd2219e841f54c0fe732ff.js": "/precache-manifest.22b9b9f1fdcd2219e841f54c0fe732ff.js",
"precache-manifest.611fd0924ad480aba6b336a44e75e748.js": "/precache-manifest.611fd0924ad480aba6b336a44e75e748.js",
"service-worker.js": "/service-worker.js"
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -148,8 +148,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/38.621c7517.chunk.js"
},
{
"revision": "12aefa2608202416d10c",
"url": "/mrstatic/js/blessing-preheat.d87f1d2e.chunk.js"
"revision": "26329ab8f03b4b178f4e",
"url": "/mrstatic/js/blessing-preheat.38b6eb90.chunk.js"
},
{
"revision": "c4f0822e10f1be87c8ea",
......@@ -208,8 +208,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/myorders.4374e735.chunk.js"
},
{
"revision": "463a266b7f0ca0e5b037",
"url": "/mrstatic/js/runtime~main.419126a7.js"
"revision": "3dbdad5c290492340818",
"url": "/mrstatic/js/runtime~main.c67feb04.js"
},
{
"revision": "52917a3a43143beb8b70",
......@@ -288,7 +288,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/38.bff100af.chunk.css"
},
{
"revision": "12aefa2608202416d10c",
"revision": "26329ab8f03b4b178f4e",
"url": "/mrstatic/css/blessing-preheat.c60bb0ed.chunk.css"
},
{
......@@ -372,7 +372,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/2.bf839917.chunk.css"
},
{
"revision": "e7fd2da14b9aabb448d7a23a08c0b702",
"revision": "74f95033d43fadb74f046d692babb2dc",
"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.22b9b9f1fdcd2219e841f54c0fe732ff.js"
"/precache-manifest.611fd0924ad480aba6b336a44e75e748.js"
);
workbox.clientsClaim();
......
......@@ -65,18 +65,22 @@ class CoursePopup extends Component {
if(!getParam('version')) {
history.push(`/detail?id=${item.course_id}&ac=11`);
}else{
if(item.blessing) {
let data = {
courseId: item.course_id,
type: 2
}
SendMessageToApp("toBlessingCourse", data);
}else{
let data = {
courseId: item.course_id,
type: 1 // 正常跳课程详情页type:0,积福气浏览课程详情页-没有浏览过type:1 已浏览过type:2
if(this.state.isshowAppTip){
SendMessageToApp("toCourse", item.course_id);
} else {
if(item.blessing) {
let data = {
courseId: item.course_id,
type: 2
}
SendMessageToApp("toBlessingCourse", data);
}else{
let data = {
courseId: item.course_id,
type: 1 // 正常跳课程详情页type:0,积福气浏览课程详情页-没有浏览过type:1 已浏览过type:2
}
SendMessageToApp("toBlessingCourse", data);
}
SendMessageToApp("toBlessingCourse", data);
}
}
}else{
......
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