Commit c6ee5a03 by FE

Merge branch 'master' of gitlab.julyedu.com:baiguangyao/mr-julyedu

parents 8db24322 72a3ee93
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
"Classify.css": "/static/css/Classify.2ef92576.chunk.css", "Classify.css": "/static/css/Classify.2ef92576.chunk.css",
"Classify.js": "/static/js/Classify.17ebd626.chunk.js", "Classify.js": "/static/js/Classify.17ebd626.chunk.js",
"Classify.js.map": "/static/js/Classify.17ebd626.chunk.js.map", "Classify.js.map": "/static/js/Classify.17ebd626.chunk.js.map",
"CourseList.css": "/static/css/CourseList.dd64a7a3.chunk.css", "CourseList.css": "/static/css/CourseList.c9d1579b.chunk.css",
"CourseList.js": "/static/js/CourseList.6b8635fc.chunk.js", "CourseList.js": "/static/js/CourseList.df1427b5.chunk.js",
"CourseList.js.map": "/static/js/CourseList.6b8635fc.chunk.js.map", "CourseList.js.map": "/static/js/CourseList.df1427b5.chunk.js.map",
"DrawDocument.css": "/static/css/DrawDocument.aeb3f822.chunk.css", "DrawDocument.css": "/static/css/DrawDocument.aeb3f822.chunk.css",
"DrawDocument.js": "/static/js/DrawDocument.7fd9d55d.chunk.js", "DrawDocument.js": "/static/js/DrawDocument.7fd9d55d.chunk.js",
"DrawDocument.js.map": "/static/js/DrawDocument.7fd9d55d.chunk.js.map", "DrawDocument.js.map": "/static/js/DrawDocument.7fd9d55d.chunk.js.map",
...@@ -22,46 +22,46 @@ ...@@ -22,46 +22,46 @@
"Orderinfo.js": "/static/js/Orderinfo.229e2d92.chunk.js", "Orderinfo.js": "/static/js/Orderinfo.229e2d92.chunk.js",
"Orderinfo.js.map": "/static/js/Orderinfo.229e2d92.chunk.js.map", "Orderinfo.js.map": "/static/js/Orderinfo.229e2d92.chunk.js.map",
"PayOrder.css": "/static/css/PayOrder.71617dc9.chunk.css", "PayOrder.css": "/static/css/PayOrder.71617dc9.chunk.css",
"PayOrder.js": "/static/js/PayOrder.77cb4e93.chunk.js", "PayOrder.js": "/static/js/PayOrder.c1e37291.chunk.js",
"PayOrder.js.map": "/static/js/PayOrder.77cb4e93.chunk.js.map", "PayOrder.js.map": "/static/js/PayOrder.c1e37291.chunk.js.map",
"Preferential.css": "/static/css/Preferential.a285bc5d.chunk.css", "Preferential.css": "/static/css/Preferential.a285bc5d.chunk.css",
"Preferential.js": "/static/js/Preferential.a605cd2a.chunk.js", "Preferential.js": "/static/js/Preferential.1ac4da1c.chunk.js",
"Preferential.js.map": "/static/js/Preferential.a605cd2a.chunk.js.map", "Preferential.js.map": "/static/js/Preferential.1ac4da1c.chunk.js.map",
"SearchResult.css": "/static/css/SearchResult.706b43f2.chunk.css", "SearchResult.css": "/static/css/SearchResult.706b43f2.chunk.css",
"SearchResult.js": "/static/js/SearchResult.21f335ee.chunk.js", "SearchResult.js": "/static/js/SearchResult.21f335ee.chunk.js",
"SearchResult.js.map": "/static/js/SearchResult.21f335ee.chunk.js.map", "SearchResult.js.map": "/static/js/SearchResult.21f335ee.chunk.js.map",
"ShopCart.css": "/static/css/ShopCart.fa7d91fc.chunk.css", "ShopCart.css": "/static/css/ShopCart.fa7d91fc.chunk.css",
"ShopCart.js": "/static/js/ShopCart.a454c28a.chunk.js", "ShopCart.js": "/static/js/ShopCart.a3aa3523.chunk.js",
"ShopCart.js.map": "/static/js/ShopCart.a454c28a.chunk.js.map", "ShopCart.js.map": "/static/js/ShopCart.a3aa3523.chunk.js.map",
"aist-share.css": "/static/css/aist-share.a97e13d0.chunk.css", "aist-share.css": "/static/css/aist-share.a97e13d0.chunk.css",
"aist-share.js": "/static/js/aist-share.a340851a.chunk.js", "aist-share.js": "/static/js/aist-share.645eee55.chunk.js",
"aist-share.js.map": "/static/js/aist-share.a340851a.chunk.js.map", "aist-share.js.map": "/static/js/aist-share.645eee55.chunk.js.map",
"coupons.css": "/static/css/coupons.f2c7a13b.chunk.css", "coupons.css": "/static/css/coupons.f2c7a13b.chunk.css",
"coupons.js": "/static/js/coupons.72b220db.chunk.js", "coupons.js": "/static/js/coupons.72b220db.chunk.js",
"coupons.js.map": "/static/js/coupons.72b220db.chunk.js.map", "coupons.js.map": "/static/js/coupons.72b220db.chunk.js.map",
"detail.css": "/static/css/detail.2f69295d.chunk.css", "detail.css": "/static/css/detail.2f69295d.chunk.css",
"detail.js": "/static/js/detail.64397892.chunk.js", "detail.js": "/static/js/detail.ca5ba54a.chunk.js",
"detail.js.map": "/static/js/detail.64397892.chunk.js.map", "detail.js.map": "/static/js/detail.ca5ba54a.chunk.js.map",
"main.css": "/static/css/main.60b2aeb1.chunk.css", "main.css": "/static/css/main.cecbf534.chunk.css",
"main.js": "/static/js/main.99c54e88.chunk.js", "main.js": "/static/js/main.8031095a.chunk.js",
"main.js.map": "/static/js/main.99c54e88.chunk.js.map", "main.js.map": "/static/js/main.8031095a.chunk.js.map",
"myorders.css": "/static/css/myorders.789a128d.chunk.css", "myorders.css": "/static/css/myorders.789a128d.chunk.css",
"myorders.js": "/static/js/myorders.d9a9fa8b.chunk.js", "myorders.js": "/static/js/myorders.fa5a3185.chunk.js",
"myorders.js.map": "/static/js/myorders.d9a9fa8b.chunk.js.map", "myorders.js.map": "/static/js/myorders.fa5a3185.chunk.js.map",
"purchased.css": "/static/css/purchased.bd80fb0a.chunk.css", "purchased.css": "/static/css/purchased.bd80fb0a.chunk.css",
"purchased.js": "/static/js/purchased.1a0cc90e.chunk.js", "purchased.js": "/static/js/purchased.1a0cc90e.chunk.js",
"purchased.js.map": "/static/js/purchased.1a0cc90e.chunk.js.map", "purchased.js.map": "/static/js/purchased.1a0cc90e.chunk.js.map",
"runtime~main.js": "/static/js/runtime~main.06e8a167.js", "runtime~main.js": "/static/js/runtime~main.a6afffbd.js",
"runtime~main.js.map": "/static/js/runtime~main.06e8a167.js.map", "runtime~main.js.map": "/static/js/runtime~main.a6afffbd.js.map",
"search.css": "/static/css/search.68fd6acc.chunk.css", "search.css": "/static/css/search.68fd6acc.chunk.css",
"search.js": "/static/js/search.449ffe8e.chunk.js", "search.js": "/static/js/search.449ffe8e.chunk.js",
"search.js.map": "/static/js/search.449ffe8e.chunk.js.map", "search.js.map": "/static/js/search.449ffe8e.chunk.js.map",
"shareposter.css": "/static/css/shareposter.175bee2a.chunk.css", "shareposter.css": "/static/css/shareposter.175bee2a.chunk.css",
"shareposter.js": "/static/js/shareposter.2a7c128d.chunk.js", "shareposter.js": "/static/js/shareposter.2842f7fe.chunk.js",
"shareposter.js.map": "/static/js/shareposter.2a7c128d.chunk.js.map", "shareposter.js.map": "/static/js/shareposter.2842f7fe.chunk.js.map",
"study.css": "/static/css/study.95315632.chunk.css", "study.css": "/static/css/study.95315632.chunk.css",
"study.js": "/static/js/study.bb91493f.chunk.js", "study.js": "/static/js/study.7d4b3c37.chunk.js",
"study.js.map": "/static/js/study.bb91493f.chunk.js.map", "study.js.map": "/static/js/study.7d4b3c37.chunk.js.map",
"togroup.css": "/static/css/togroup.f08bc5f3.chunk.css", "togroup.css": "/static/css/togroup.f08bc5f3.chunk.css",
"togroup.js": "/static/js/togroup.d73bccb5.chunk.js", "togroup.js": "/static/js/togroup.d73bccb5.chunk.js",
"togroup.js.map": "/static/js/togroup.d73bccb5.chunk.js.map", "togroup.js.map": "/static/js/togroup.d73bccb5.chunk.js.map",
...@@ -69,8 +69,8 @@ ...@@ -69,8 +69,8 @@
"video.js": "/static/js/video.46b1913c.chunk.js", "video.js": "/static/js/video.46b1913c.chunk.js",
"video.js.map": "/static/js/video.46b1913c.chunk.js.map", "video.js.map": "/static/js/video.46b1913c.chunk.js.map",
"static/css/24.965d713a.chunk.css": "/static/css/24.965d713a.chunk.css", "static/css/24.965d713a.chunk.css": "/static/css/24.965d713a.chunk.css",
"static/js/24.34dc39a9.chunk.js": "/static/js/24.34dc39a9.chunk.js", "static/js/24.ed68e76b.chunk.js": "/static/js/24.ed68e76b.chunk.js",
"static/js/24.34dc39a9.chunk.js.map": "/static/js/24.34dc39a9.chunk.js.map", "static/js/24.ed68e76b.chunk.js.map": "/static/js/24.ed68e76b.chunk.js.map",
"static/js/25.403aae65.chunk.js": "/static/js/25.403aae65.chunk.js", "static/js/25.403aae65.chunk.js": "/static/js/25.403aae65.chunk.js",
"static/js/25.403aae65.chunk.js.map": "/static/js/25.403aae65.chunk.js.map", "static/js/25.403aae65.chunk.js.map": "/static/js/25.403aae65.chunk.js.map",
"static/css/26.73976871.chunk.css": "/static/css/26.73976871.chunk.css", "static/css/26.73976871.chunk.css": "/static/css/26.73976871.chunk.css",
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
"static/js/31.1bf13040.chunk.js": "/static/js/31.1bf13040.chunk.js", "static/js/31.1bf13040.chunk.js": "/static/js/31.1bf13040.chunk.js",
"static/js/31.1bf13040.chunk.js.map": "/static/js/31.1bf13040.chunk.js.map", "static/js/31.1bf13040.chunk.js.map": "/static/js/31.1bf13040.chunk.js.map",
"index.html": "/index.html", "index.html": "/index.html",
"precache-manifest.d7bd5b1d49f4aba2092b236c8f9c2bf3.js": "/precache-manifest.d7bd5b1d49f4aba2092b236c8f9c2bf3.js", "precache-manifest.b1fc8d119f075ccc7a91d616deacac15.js": "/precache-manifest.b1fc8d119f075ccc7a91d616deacac15.js",
"service-worker.js": "/service-worker.js", "service-worker.js": "/service-worker.js",
"static/css/24.965d713a.chunk.css.map": "/static/css/24.965d713a.chunk.css.map", "static/css/24.965d713a.chunk.css.map": "/static/css/24.965d713a.chunk.css.map",
"static/css/26.73976871.chunk.css.map": "/static/css/26.73976871.chunk.css.map", "static/css/26.73976871.chunk.css.map": "/static/css/26.73976871.chunk.css.map",
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
"static/css/31.57d8b033.chunk.css.map": "/static/css/31.57d8b033.chunk.css.map", "static/css/31.57d8b033.chunk.css.map": "/static/css/31.57d8b033.chunk.css.map",
"static/css/BargainMiddlePage.6d24aba4.chunk.css.map": "/static/css/BargainMiddlePage.6d24aba4.chunk.css.map", "static/css/BargainMiddlePage.6d24aba4.chunk.css.map": "/static/css/BargainMiddlePage.6d24aba4.chunk.css.map",
"static/css/Classify.2ef92576.chunk.css.map": "/static/css/Classify.2ef92576.chunk.css.map", "static/css/Classify.2ef92576.chunk.css.map": "/static/css/Classify.2ef92576.chunk.css.map",
"static/css/CourseList.dd64a7a3.chunk.css.map": "/static/css/CourseList.dd64a7a3.chunk.css.map", "static/css/CourseList.c9d1579b.chunk.css.map": "/static/css/CourseList.c9d1579b.chunk.css.map",
"static/css/DrawDocument.aeb3f822.chunk.css.map": "/static/css/DrawDocument.aeb3f822.chunk.css.map", "static/css/DrawDocument.aeb3f822.chunk.css.map": "/static/css/DrawDocument.aeb3f822.chunk.css.map",
"static/css/Examination.7bb0622b.chunk.css.map": "/static/css/Examination.7bb0622b.chunk.css.map", "static/css/Examination.7bb0622b.chunk.css.map": "/static/css/Examination.7bb0622b.chunk.css.map",
"static/css/Order.c25de43a.chunk.css.map": "/static/css/Order.c25de43a.chunk.css.map", "static/css/Order.c25de43a.chunk.css.map": "/static/css/Order.c25de43a.chunk.css.map",
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
"static/css/aist-share.a97e13d0.chunk.css.map": "/static/css/aist-share.a97e13d0.chunk.css.map", "static/css/aist-share.a97e13d0.chunk.css.map": "/static/css/aist-share.a97e13d0.chunk.css.map",
"static/css/coupons.f2c7a13b.chunk.css.map": "/static/css/coupons.f2c7a13b.chunk.css.map", "static/css/coupons.f2c7a13b.chunk.css.map": "/static/css/coupons.f2c7a13b.chunk.css.map",
"static/css/detail.2f69295d.chunk.css.map": "/static/css/detail.2f69295d.chunk.css.map", "static/css/detail.2f69295d.chunk.css.map": "/static/css/detail.2f69295d.chunk.css.map",
"static/css/main.60b2aeb1.chunk.css.map": "/static/css/main.60b2aeb1.chunk.css.map", "static/css/main.cecbf534.chunk.css.map": "/static/css/main.cecbf534.chunk.css.map",
"static/css/myorders.789a128d.chunk.css.map": "/static/css/myorders.789a128d.chunk.css.map", "static/css/myorders.789a128d.chunk.css.map": "/static/css/myorders.789a128d.chunk.css.map",
"static/css/purchased.bd80fb0a.chunk.css.map": "/static/css/purchased.bd80fb0a.chunk.css.map", "static/css/purchased.bd80fb0a.chunk.css.map": "/static/css/purchased.bd80fb0a.chunk.css.map",
"static/css/search.68fd6acc.chunk.css.map": "/static/css/search.68fd6acc.chunk.css.map", "static/css/search.68fd6acc.chunk.css.map": "/static/css/search.68fd6acc.chunk.css.map",
......
...@@ -16,12 +16,12 @@ self.__precacheManifest = [ ...@@ -16,12 +16,12 @@ self.__precacheManifest = [
"url": "/static/js/Classify.17ebd626.chunk.js" "url": "/static/js/Classify.17ebd626.chunk.js"
}, },
{ {
"revision": "3f86e5eab3080e8d96a8", "revision": "dac671cf9852a139ce5e",
"url": "/static/css/CourseList.dd64a7a3.chunk.css" "url": "/static/css/CourseList.c9d1579b.chunk.css"
}, },
{ {
"revision": "3f86e5eab3080e8d96a8", "revision": "dac671cf9852a139ce5e",
"url": "/static/js/CourseList.6b8635fc.chunk.js" "url": "/static/js/CourseList.df1427b5.chunk.js"
}, },
{ {
"revision": "2a34a8f4ca1effab3622", "revision": "2a34a8f4ca1effab3622",
...@@ -56,20 +56,20 @@ self.__precacheManifest = [ ...@@ -56,20 +56,20 @@ self.__precacheManifest = [
"url": "/static/js/Orderinfo.229e2d92.chunk.js" "url": "/static/js/Orderinfo.229e2d92.chunk.js"
}, },
{ {
"revision": "63ad364ba88aec609ae1", "revision": "a0029119bbe40dd74c21",
"url": "/static/css/PayOrder.71617dc9.chunk.css" "url": "/static/css/PayOrder.71617dc9.chunk.css"
}, },
{ {
"revision": "63ad364ba88aec609ae1", "revision": "a0029119bbe40dd74c21",
"url": "/static/js/PayOrder.77cb4e93.chunk.js" "url": "/static/js/PayOrder.c1e37291.chunk.js"
}, },
{ {
"revision": "96b2f3888c647dabdd4d", "revision": "1240dac1ab2ba52e20d9",
"url": "/static/css/Preferential.a285bc5d.chunk.css" "url": "/static/css/Preferential.a285bc5d.chunk.css"
}, },
{ {
"revision": "96b2f3888c647dabdd4d", "revision": "1240dac1ab2ba52e20d9",
"url": "/static/js/Preferential.a605cd2a.chunk.js" "url": "/static/js/Preferential.1ac4da1c.chunk.js"
}, },
{ {
"revision": "a18c6219b5269d3639d2", "revision": "a18c6219b5269d3639d2",
...@@ -80,20 +80,20 @@ self.__precacheManifest = [ ...@@ -80,20 +80,20 @@ self.__precacheManifest = [
"url": "/static/js/SearchResult.21f335ee.chunk.js" "url": "/static/js/SearchResult.21f335ee.chunk.js"
}, },
{ {
"revision": "e4b8c49d3277d89b8ba1", "revision": "237cb74e1f81560f21ac",
"url": "/static/css/ShopCart.fa7d91fc.chunk.css" "url": "/static/css/ShopCart.fa7d91fc.chunk.css"
}, },
{ {
"revision": "e4b8c49d3277d89b8ba1", "revision": "237cb74e1f81560f21ac",
"url": "/static/js/ShopCart.a454c28a.chunk.js" "url": "/static/js/ShopCart.a3aa3523.chunk.js"
}, },
{ {
"revision": "aa2d8bc1835c3bd96374", "revision": "292b7381ee082add0d6d",
"url": "/static/css/aist-share.a97e13d0.chunk.css" "url": "/static/css/aist-share.a97e13d0.chunk.css"
}, },
{ {
"revision": "aa2d8bc1835c3bd96374", "revision": "292b7381ee082add0d6d",
"url": "/static/js/aist-share.a340851a.chunk.js" "url": "/static/js/aist-share.645eee55.chunk.js"
}, },
{ {
"revision": "258db4eb2f82f9ef57c1", "revision": "258db4eb2f82f9ef57c1",
...@@ -104,28 +104,28 @@ self.__precacheManifest = [ ...@@ -104,28 +104,28 @@ self.__precacheManifest = [
"url": "/static/js/coupons.72b220db.chunk.js" "url": "/static/js/coupons.72b220db.chunk.js"
}, },
{ {
"revision": "c0718fc426702ce16441", "revision": "ad4012bbcd4b49343a34",
"url": "/static/css/detail.2f69295d.chunk.css" "url": "/static/css/detail.2f69295d.chunk.css"
}, },
{ {
"revision": "c0718fc426702ce16441", "revision": "ad4012bbcd4b49343a34",
"url": "/static/js/detail.64397892.chunk.js" "url": "/static/js/detail.ca5ba54a.chunk.js"
}, },
{ {
"revision": "79dd72b667dc2eee9ef0", "revision": "9e1a304e69ca3afe1891",
"url": "/static/css/main.60b2aeb1.chunk.css" "url": "/static/css/main.cecbf534.chunk.css"
}, },
{ {
"revision": "79dd72b667dc2eee9ef0", "revision": "9e1a304e69ca3afe1891",
"url": "/static/js/main.99c54e88.chunk.js" "url": "/static/js/main.8031095a.chunk.js"
}, },
{ {
"revision": "01b227671055f504163d", "revision": "54dfc96b008de8bac910",
"url": "/static/css/myorders.789a128d.chunk.css" "url": "/static/css/myorders.789a128d.chunk.css"
}, },
{ {
"revision": "01b227671055f504163d", "revision": "54dfc96b008de8bac910",
"url": "/static/js/myorders.d9a9fa8b.chunk.js" "url": "/static/js/myorders.fa5a3185.chunk.js"
}, },
{ {
"revision": "bf2c9c8ca19508a6b3dd", "revision": "bf2c9c8ca19508a6b3dd",
...@@ -136,8 +136,8 @@ self.__precacheManifest = [ ...@@ -136,8 +136,8 @@ self.__precacheManifest = [
"url": "/static/js/BargainMiddlePage.c17d2450.chunk.js" "url": "/static/js/BargainMiddlePage.c17d2450.chunk.js"
}, },
{ {
"revision": "c9c7c1ed11bfdc8b4cff", "revision": "d12d295c47e1f28118fb",
"url": "/static/js/runtime~main.06e8a167.js" "url": "/static/js/runtime~main.a6afffbd.js"
}, },
{ {
"revision": "43dbc7a6a2095dc3c29a", "revision": "43dbc7a6a2095dc3c29a",
...@@ -148,20 +148,20 @@ self.__precacheManifest = [ ...@@ -148,20 +148,20 @@ self.__precacheManifest = [
"url": "/static/js/search.449ffe8e.chunk.js" "url": "/static/js/search.449ffe8e.chunk.js"
}, },
{ {
"revision": "c477283af13ef002875b", "revision": "5e52e909ff01c854cbeb",
"url": "/static/css/shareposter.175bee2a.chunk.css" "url": "/static/css/shareposter.175bee2a.chunk.css"
}, },
{ {
"revision": "c477283af13ef002875b", "revision": "5e52e909ff01c854cbeb",
"url": "/static/js/shareposter.2a7c128d.chunk.js" "url": "/static/js/shareposter.2842f7fe.chunk.js"
}, },
{ {
"revision": "012d588852ebcf491e78", "revision": "20fc5f69e5bd216235d1",
"url": "/static/css/study.95315632.chunk.css" "url": "/static/css/study.95315632.chunk.css"
}, },
{ {
"revision": "012d588852ebcf491e78", "revision": "20fc5f69e5bd216235d1",
"url": "/static/js/study.bb91493f.chunk.js" "url": "/static/js/study.7d4b3c37.chunk.js"
}, },
{ {
"revision": "b4b777b7bf19a9312150", "revision": "b4b777b7bf19a9312150",
...@@ -184,8 +184,8 @@ self.__precacheManifest = [ ...@@ -184,8 +184,8 @@ self.__precacheManifest = [
"url": "/static/media/progress-share-bg.80011994.png" "url": "/static/media/progress-share-bg.80011994.png"
}, },
{ {
"revision": "4e38ca9d85df6129ce01", "revision": "30eafc34de51d97c110a",
"url": "/static/js/24.34dc39a9.chunk.js" "url": "/static/js/24.ed68e76b.chunk.js"
}, },
{ {
"revision": "c36733f1a53eb4beb646", "revision": "c36733f1a53eb4beb646",
...@@ -212,16 +212,16 @@ self.__precacheManifest = [ ...@@ -212,16 +212,16 @@ self.__precacheManifest = [
"url": "/static/js/28.ab85697f.chunk.js" "url": "/static/js/28.ab85697f.chunk.js"
}, },
{ {
"revision": "10b7bd5b99a2a0a2f1a30d7ed72ec1a0", "revision": "55ad4bbcfbe7879698a2538de5145a09",
"url": "/static/media/iconfont.10b7bd5b.eot" "url": "/static/media/iconfont.55ad4bbc.ttf"
}, },
{ {
"revision": "0ddb8222b83ddc441ccb", "revision": "0ddb8222b83ddc441ccb",
"url": "/static/js/29.52529984.chunk.js" "url": "/static/js/29.52529984.chunk.js"
}, },
{ {
"revision": "55ad4bbcfbe7879698a2538de5145a09", "revision": "10b7bd5b99a2a0a2f1a30d7ed72ec1a0",
"url": "/static/media/iconfont.55ad4bbc.ttf" "url": "/static/media/iconfont.10b7bd5b.eot"
}, },
{ {
"revision": "e0787ad15d0a12c4d4fc", "revision": "e0787ad15d0a12c4d4fc",
...@@ -256,11 +256,11 @@ self.__precacheManifest = [ ...@@ -256,11 +256,11 @@ self.__precacheManifest = [
"url": "/static/css/26.73976871.chunk.css" "url": "/static/css/26.73976871.chunk.css"
}, },
{ {
"revision": "4e38ca9d85df6129ce01", "revision": "30eafc34de51d97c110a",
"url": "/static/css/24.965d713a.chunk.css" "url": "/static/css/24.965d713a.chunk.css"
}, },
{ {
"revision": "81e6b7d1f2fbd85d72dffb20fa664b35", "revision": "42205dcf3765324c26f1e67ed46fb249",
"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.d7bd5b1d49f4aba2092b236c8f9c2bf3.js" "/precache-manifest.b1fc8d119f075ccc7a91d616deacac15.js"
); );
workbox.clientsClaim(); workbox.clientsClaim();
......
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.
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.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{1162:function(e,a,t){"use strict";t.r(a),t.d(a,"default",function(){return R});t(155);var n=t(75),i=t.n(n),o=(t(89),t(26)),c=t.n(o),r=(t(154),t(35)),l=t.n(r),s=(t(44),t(14)),d=t.n(s),u=t(7),p=t(8),m=t(11),y=t(9),g=t(10),h=(t(890),t(892)),f=t.n(h),b=(t(115),t(47)),v=t.n(b),w=t(0),E=t.n(w),x=t(4),k=t(30),N=t(20),_=(t(894),v.a.Item.Brief,f.a.RadioItem),S=[];S=x.a.isWeixin?[{value:1,label:"\u5fae\u4fe1\u652f\u4ed8",icon:"iconweixinzhifu"}]:[{value:0,label:"\u652f\u4ed8\u5b9d",icon:"iconzhifubaox-"},{value:1,label:"\u5fae\u4fe1\u652f\u4ed8",icon:"iconweixinzhifu"}];var R=function(e){function a(e){var t;return Object(u.a)(this,a),(t=Object(m.a)(this,Object(y.a)(a).call(this,e))).onChange=function(e){t.setState({payType:e,checkPeriod:!1}),2===e&&t.setState({huabei:!0})},t.checkStaging=function(e){console.log(e),t.setState({huabei:!1,stageNumber:e.value,singleMoney:e.everyTotal,periodNumber:e.stage,checkPeriod:!0})},t.print=function(){for(var e=arguments.length,a=new Array(e),t=0;t<e;t++)a[t]=arguments[t];console.log(a)},t.pay=function(){var e=t.state,a=e.payType,n=e.orderId;0===a?t.alipayPay(n):1===a&&t.weixinPay(n)},t.weixinPay=function(e){Object(x.e)()?window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri="+encodeURIComponent(window.location.href+"&aa=bb").toLowerCase()+"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect":x.c.get("".concat(API["base-api"],"/pay/wxpay/wap_charge/oid/").concat(e)).then(function(e){console.log(e),0===e.data.errno?window.location.href=e.data.data.url+"&redirect_url="+encodeURIComponent(window.location.href+"&weixinpay=1").toLowerCase():d.a.info(e.data.msg,2)})},t.isweixinPay=function(){var e=Object(x.b)("code");if(e){if(void 0===Object(x.b)("oid"))return;x.c.get("".concat(API["base-api"],"/pay/wxpay/pub_charge/oid/").concat(Object(x.b)("oid"),"/code/").concat(e)).then(function(e){if(0===e.data.errno){var a=e.data.data;t.onBridgeReady(a),"undefined"==typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",t.onBridgeReady,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",t.onBridgeReady),document.attachEvent("onWeixinJSBridgeReady",t.onBridgeReady)):t.onBridgeReady()}else d.a.info(e.data.msg,2)})}},t.payCallback=function(){},t.onBridgeReady=function(e){WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:e.appId,timeStamp:e.timeStamp,nonceStr:e.nonceStr,package:e.package,signType:e.signType,paySign:e.paySign},function(e){"get_brand_wcpay_request:ok"==e.err_msg?this.payCallback():alert("\u652f\u4ed8\u5931\u8d25")})},t.alipayPay=function(e){x.c.get("".concat(API["base-api"],"/pay/alipay/wap_charge_new/oid/").concat(e)).then(function(e){0===e.data.errno?window.location=e.data.data.url:d.a.info(e.data.msg,2)})},t.huabeiPay=function(e){var a=t.state,n=(a.singleMoney,a.periodNumber);console.log("\u82b1\u5457\u5206\u671f\u652f\u4ed8"),x.c.get("/pay/alipay/wap_charge/oid/".concat(e,"/plat/{plat} /hb_num/").concat(n)).then(function(e){console.log(e),0===e.data.errno?window.location=e.data.data.url:d.a.info(e.data.msg,2)})},t.state={pay_amount:0,payType:0,stageNumber:0,checkPeriod:!1,singleMoney:0,periodNumber:0,orderId:Object(x.b)("oid"),huabei:!1,fenqiList:[{value:"zhifubao",qishu:"3",lilv:"2.30%",everyMoney:300,feiyong:2.3},{value:"weixin",qishu:"6",lilv:"4.50%",everyMoney:150,feiyong:4.5},{value:"huabei",qishu:"9",lilv:"7.50%",everyMoney:100,feiyong:7.5}],categoryList:[]},t}return Object(g.a)(a,e),Object(p.a)(a,[{key:"componentDidMount",value:function(){var e=this;x.c.post("".concat(API["base-api"],"/m/order/detail"),{order_id:this.state.orderId}).then(function(a){if(console.log(a),200===a.data.errno){var t=a.data.data,n=t.course,i=t.pay_amount,o=[];[1,2,3].map(function(e){var a={};a.value=e,1===e?(a.stage=3,a.moneyRate="2.30%",a.rate=.023,a.periodic=(i/3).toFixed(2)):2===e?(a.stage=6,a.moneyRate="4.50%",a.rate=.045,a.periodic=(i/6).toFixed(2)):(a.stage=12,a.moneyRate="7.50%",a.rate=.075,a.periodic=(i/9).toFixed(2)),a.serviceFee=(i*a.rate/a.stage).toFixed(2),a.everyTotal=(parseFloat(a.periodic)+parseFloat(a.serviceFee)).toFixed(2),o.push(a)}),console.log(o),e.setState({pay_amount:i,categoryList:n,fenqiList:o})}else d.a.info(a.data.msg,2)}),(1===Object(x.b)("is_class")||Object(x.b)("weixinpay"))&&this.payCallback(),Object(x.e)()&&(this.setState({payType:1}),this.isweixinPay())}},{key:"render",value:function(){var e=this,a=this.state,t=a.orderId,n=a.pay_amount,o=a.payType,r=a.checkPeriod,s=a.singleMoney,d=a.periodNumber,u=a.huabei,p=a.fenqiList,m=a.categoryList,y=a.stageNumber;return E.a.createElement("div",{className:"pay-order"},E.a.createElement(k.e,{title:"\u786e\u8ba4\u652f\u4ed8",arrow:!0}),E.a.createElement(l.a,{size:"sm"}),E.a.createElement("div",{className:"order-number"},E.a.createElement(i.a,null,E.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},E.a.createElement("span",null,"\u8ba2\u5355\u53f7"),E.a.createElement("span",{className:"number"},t)))),E.a.createElement(l.a,{size:"md"}),m.map(function(a,t){var n=E.a.createElement("div",{className:"order-info"},E.a.createElement("p",{className:"order-title text-overflow-one"},E.a.createElement(N.b,{to:"/detail?id=".concat(a.course_id)},a.course_title)),E.a.createElement("p",{className:"order-content text-overflow-2"},a.simpledescription),E.a.createElement("p",{className:"order-des"},E.a.createElement("span",{className:"order-newprice"},"\xa5",a.price1),E.a.createElement("span",{className:"order-price"},"\xa5",a.price0)));return E.a.createElement(k.i,{handleClick:e.print,key:t,img:a.image_name,id:a.course_id,info:n})}),E.a.createElement(l.a,{size:"md"}),E.a.createElement("div",{className:"order-number"},E.a.createElement(i.a,null,E.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},E.a.createElement("span",null,"\u652f\u4ed8\u91d1\u989d"),E.a.createElement("span",{className:"money"},"\uffe5".concat(n))))),E.a.createElement(l.a,{size:"md"}),E.a.createElement(v.a,{renderHeader:function(){return"\u652f\u4ed8\u65b9\u5f0f"},className:"pay-type-list"},S.map(function(a){return E.a.createElement(_,{thumb:E.a.createElement("i",{className:"iconfont ".concat(a.icon," ").concat(o===a.value?"checked":"")}),key:a.value,checked:o===a.value,onChange:function(){return e.onChange(a.value)}},2===a.value?E.a.createElement(c.a,{direction:"column",align:"start",style:{width:"100%",marginTop:"6px"}},E.a.createElement(c.a,{direction:"row",justify:"between",style:{width:"100%",paddingRight:"30px"}},E.a.createElement("span",{style:{color:"#555555",fontSize:"14px"}},a.label),r?E.a.createElement("span",{style:{color:"#333333",fontSize:"12px"}},"".concat(s,"\u5143 \xd7 ").concat(d,"\u671f")):null),E.a.createElement(c.a,{justify:"start"},E.a.createElement("span",{style:{color:"#999999",fontSize:"12px"}},"\u652f\u4ed8\u4e0a\u9650\u53d7\u9650\u4e8e\u60a8\u7684\u82b1\u5457\u989d\u5ea6"))):a.label)})),E.a.createElement("div",{className:"pay-tip"},"\u8bf7\u572815\u5206\u949f\u5185\u5b8c\u6210\u652f\u4ed8\uff0c\u5426\u5219\u5c4a\u65f6\u7cfb\u7edf\u5c06\u5173\u95ed\u8be5\u8ba2\u5355\u3002"),E.a.createElement("div",{className:"pay-button",onClick:this.pay},"\u786e\u8ba4\u652f\u4ed8"),u?E.a.createElement("div",{className:"check-staging"},E.a.createElement("div",{className:"container"},E.a.createElement("p",{className:"check-title"},"\u8bf7\u9009\u62e9\u5206\u671f"),p.map(function(a){return E.a.createElement(_,{key:a.value,checked:y===a.value,onChange:function(){return e.checkStaging(a)}},"".concat(a.everyTotal,"\u5143 \xd7 ").concat(a.stage,"\u671f"),E.a.createElement(v.a.Item.Brief,null,"\u624b\u7eed\u8d39".concat(a.serviceFee,"\u5143/\u671f\uff0c\u8d39\u7387").concat(a.moneyRate)))}))):null)}}]),a}(w.Component)},894:function(e,a,t){}}]);
//# sourceMappingURL=PayOrder.77cb4e93.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{1162:function(e,a,t){"use strict";t.r(a),t.d(a,"default",function(){return P});t(155);var n=t(75),i=t.n(n),o=(t(89),t(26)),c=t.n(o),r=(t(154),t(35)),l=t.n(r),s=(t(44),t(14)),d=t.n(s),p=t(7),u=t(8),m=t(11),y=t(9),h=t(157),g=t(10),f=(t(890),t(892)),b=t.n(f),v=(t(115),t(47)),w=t.n(v),E=t(0),x=t.n(E),k=t(4),_=t(30),S=t(20),N=(t(894),w.a.Item.Brief,b.a.RadioItem),j=[];j=k.a.isWeixin?[{value:1,label:"\u5fae\u4fe1\u652f\u4ed8",icon:"iconweixinzhifu"}]:[{value:0,label:"\u652f\u4ed8\u5b9d",icon:"iconzhifubaox-"},{value:1,label:"\u5fae\u4fe1\u652f\u4ed8",icon:"iconweixinzhifu"}];var P=function(e){function a(e){var t;return Object(p.a)(this,a),(t=Object(m.a)(this,Object(y.a)(a).call(this,e))).redirectAfterPay=function(){var e=Object(k.b)("status"),a=Object(k.b)("type"),n=Object(k.b)("oid"),i=t.props.history;(e||a)&&(0===parseInt(e,10)?2===parseInt(a,10)?i.push("/togroup?id=".concat(n)):i.push("/purchased"):d.a.info("\u652f\u4ed8\u5f02\u5e38",2))},t.onChange=function(e){t.setState({payType:e,checkPeriod:!1}),2===e&&t.setState({huabei:!0})},t.checkStaging=function(e){console.log(e),t.setState({huabei:!1,stageNumber:e.value,singleMoney:e.everyTotal,periodNumber:e.stage,checkPeriod:!0})},t.print=function(){for(var e=arguments.length,a=new Array(e),t=0;t<e;t++)a[t]=arguments[t];console.log(a)},t.pay=function(){var e=t.state,a=e.payType,n=e.orderId;0===a?t.alipayPay(n):1===a&&t.weixinPay(n)},t.weixinPay=function(e){Object(k.e)()?window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri="+encodeURIComponent(window.location.href+"&aa=bb&oid="+e).toLowerCase()+"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect":k.c.get("".concat(API["base-api"],"/pay/wxpay/wap_charge/oid/").concat(e)).then(function(a){console.log(a),0===a.data.errno?window.location.href=a.data.data.url+"&redirect_url="+encodeURIComponent(window.location.href+"&weixinpay=1&oid="+e).toLowerCase():d.a.info(a.data.msg,2)})},t.isweixinPay=function(){var e=Object(k.b)("code");if(e){if(void 0===Object(k.b)("oid"))return;k.c.get("".concat(API["base-api"],"/pay/wxpay/pub_charge/oid/").concat(Object(k.b)("oid"),"/code/").concat(e)).then(function(e){if(0===e.data.errno){var a=e.data.data;t.onBridgeReady(a),"undefined"==typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",t.onBridgeReady,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",t.onBridgeReady),document.attachEvent("onWeixinJSBridgeReady",t.onBridgeReady)):t.onBridgeReady()}else d.a.info(e.data.msg,2)})}},t.payCallback=function(){var e=Object(h.a)(t);e.intervalPayStatus=setInterval(function(){var a=this;k.c.get("".concat(API.home,"/m/orderState/oid/").concat(Object(k.b)("oid"))).then(function(t){401===t.data.errno&&(clearInterval(e.intervalPayStatus),e.intervalPayStatus=null,k.c.get("".concat(API.home,"/m/app_order/detail/").concat(Object(k.b)("oid"))).then(function(e){"2"===e.data.data.course_type?a.props.history.replace("/togroup?id=".concat(Object(k.b)("oid"))):a.props.history.replace("/purchased")}))})},1e3)},t.onBridgeReady=function(e){WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:e.appId,timeStamp:e.timeStamp,nonceStr:e.nonceStr,package:e.package,signType:e.signType,paySign:e.paySign},function(e){"get_brand_wcpay_request:ok"==e.err_msg?this.payCallback():alert("\u652f\u4ed8\u5931\u8d25")})},t.alipayPay=function(e){k.c.get("".concat(API["base-api"],"/pay/alipay/wap_charge_new/oid/").concat(e)).then(function(e){0===e.data.errno?window.location=e.data.data.url:d.a.info(e.data.msg,2)})},t.huabeiPay=function(e){var a=t.state,n=(a.singleMoney,a.periodNumber);console.log("\u82b1\u5457\u5206\u671f\u652f\u4ed8"),k.c.get("/pay/alipay/wap_charge/oid/".concat(e,"/plat/{plat} /hb_num/").concat(n)).then(function(e){console.log(e),0===e.data.errno?window.location=e.data.data.url:d.a.info(e.data.msg,2)})},t.state={pay_amount:0,payType:0,stageNumber:0,checkPeriod:!1,singleMoney:0,periodNumber:0,orderId:Object(k.b)("oid"),huabei:!1,fenqiList:[{value:"zhifubao",qishu:"3",lilv:"2.30%",everyMoney:300,feiyong:2.3},{value:"weixin",qishu:"6",lilv:"4.50%",everyMoney:150,feiyong:4.5},{value:"huabei",qishu:"9",lilv:"7.50%",everyMoney:100,feiyong:7.5}],categoryList:[]},t}return Object(g.a)(a,e),Object(u.a)(a,[{key:"componentDidMount",value:function(){var e=this;this.redirectAfterPay(),k.c.post("".concat(API["base-api"],"/m/order/detail"),{order_id:this.state.orderId}).then(function(a){if(console.log(a),200===a.data.errno){var t=a.data.data,n=t.course,i=t.pay_amount,o=[];[1,2,3].map(function(e){var a={};a.value=e,1===e?(a.stage=3,a.moneyRate="2.30%",a.rate=.023,a.periodic=(i/3).toFixed(2)):2===e?(a.stage=6,a.moneyRate="4.50%",a.rate=.045,a.periodic=(i/6).toFixed(2)):(a.stage=12,a.moneyRate="7.50%",a.rate=.075,a.periodic=(i/9).toFixed(2)),a.serviceFee=(i*a.rate/a.stage).toFixed(2),a.everyTotal=(parseFloat(a.periodic)+parseFloat(a.serviceFee)).toFixed(2),o.push(a)}),console.log(o),e.setState({pay_amount:i,categoryList:n,fenqiList:o})}else d.a.info(a.data.msg,2)}),(1===Object(k.b)("is_class")||Object(k.b)("weixinpay"))&&this.payCallback(),Object(k.e)()&&(this.setState({payType:1}),this.isweixinPay())}},{key:"render",value:function(){var e=this,a=this.state,t=a.orderId,n=a.pay_amount,o=a.payType,r=a.checkPeriod,s=a.singleMoney,d=a.periodNumber,p=a.huabei,u=a.fenqiList,m=a.categoryList,y=a.stageNumber;return x.a.createElement("div",{className:"pay-order"},x.a.createElement(_.e,{title:"\u786e\u8ba4\u652f\u4ed8",arrow:!0}),x.a.createElement(l.a,{size:"sm"}),x.a.createElement("div",{className:"order-number"},x.a.createElement(i.a,null,x.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},x.a.createElement("span",null,"\u8ba2\u5355\u53f7"),x.a.createElement("span",{className:"number"},t)))),x.a.createElement(l.a,{size:"md"}),m.map(function(a,t){var n=x.a.createElement("div",{className:"order-info"},x.a.createElement("p",{className:"order-title text-overflow-one"},x.a.createElement(S.b,{to:"/detail?id=".concat(a.course_id)},a.course_title)),x.a.createElement("p",{className:"order-content text-overflow-2"},a.simpledescription),x.a.createElement("p",{className:"order-des"},x.a.createElement("span",{className:"order-newprice"},"\xa5",a.price1),x.a.createElement("span",{className:"order-price"},"\xa5",a.price0)));return x.a.createElement(_.i,{handleClick:e.print,key:t,img:a.image_name,id:a.course_id,info:n})}),x.a.createElement(l.a,{size:"md"}),x.a.createElement("div",{className:"order-number"},x.a.createElement(i.a,null,x.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},x.a.createElement("span",null,"\u652f\u4ed8\u91d1\u989d"),x.a.createElement("span",{className:"money"},"\uffe5".concat(n))))),x.a.createElement(l.a,{size:"md"}),x.a.createElement(w.a,{renderHeader:function(){return"\u652f\u4ed8\u65b9\u5f0f"},className:"pay-type-list"},j.map(function(a){return x.a.createElement(N,{thumb:x.a.createElement("i",{className:"iconfont ".concat(a.icon," ").concat(o===a.value?"checked":"")}),key:a.value,checked:o===a.value,onChange:function(){return e.onChange(a.value)}},2===a.value?x.a.createElement(c.a,{direction:"column",align:"start",style:{width:"100%",marginTop:"6px"}},x.a.createElement(c.a,{direction:"row",justify:"between",style:{width:"100%",paddingRight:"30px"}},x.a.createElement("span",{style:{color:"#555555",fontSize:"14px"}},a.label),r?x.a.createElement("span",{style:{color:"#333333",fontSize:"12px"}},"".concat(s,"\u5143 \xd7 ").concat(d,"\u671f")):null),x.a.createElement(c.a,{justify:"start"},x.a.createElement("span",{style:{color:"#999999",fontSize:"12px"}},"\u652f\u4ed8\u4e0a\u9650\u53d7\u9650\u4e8e\u60a8\u7684\u82b1\u5457\u989d\u5ea6"))):a.label)})),x.a.createElement("div",{className:"pay-tip"},"\u8bf7\u572815\u5206\u949f\u5185\u5b8c\u6210\u652f\u4ed8\uff0c\u5426\u5219\u5c4a\u65f6\u7cfb\u7edf\u5c06\u5173\u95ed\u8be5\u8ba2\u5355\u3002"),x.a.createElement("div",{className:"pay-button",onClick:this.pay},"\u786e\u8ba4\u652f\u4ed8"),p?x.a.createElement("div",{className:"check-staging"},x.a.createElement("div",{className:"container"},x.a.createElement("p",{className:"check-title"},"\u8bf7\u9009\u62e9\u5206\u671f"),u.map(function(a){return x.a.createElement(N,{key:a.value,checked:y===a.value,onChange:function(){return e.checkStaging(a)}},"".concat(a.everyTotal,"\u5143 \xd7 ").concat(a.stage,"\u671f"),x.a.createElement(w.a.Item.Brief,null,"\u624b\u7eed\u8d39".concat(a.serviceFee,"\u5143/\u671f\uff0c\u8d39\u7387").concat(a.moneyRate)))}))):null)}}]),a}(E.Component)},894:function(e,a,t){}}]);
//# sourceMappingURL=PayOrder.c1e37291.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{1153:function(e,a,t){},1173:function(e,a,t){"use strict";t.r(a);var s=t(7),c=t(8),n=t(11),r=t(9),l=t(10),i=t(0),m=t.n(i),o=(t(1153),t(158)),d=t(4),u=(t(145),t(20)),v=function(e){function a(){var e,t;Object(s.a)(this,a);for(var c=arguments.length,l=new Array(c),i=0;i<c;i++)l[i]=arguments[i];return(t=Object(n.a)(this,(e=Object(r.a)(a)).call.apply(e,[this].concat(l)))).state={course:{title:"",des:"",img:"",id:""},progress:{days:0,action:0},showShareCover:!0,user:{avatar:"",name:"",time:""}},t}return Object(l.a)(a,e),Object(c.a)(a,[{key:"componentDidMount",value:function(){var e=this,a=new URLSearchParams(this.props.location.search);d.c.get("".concat(API["base-api"],"/m/aist/share_ground_data/").concat(a.get("id"),"/").concat(a.get("vId"))).then(function(a){if(200==a.data.errno){var t=a.data.data;e.setState({course:{title:t.course_title,des:t.course_desc,img:t.image_name,id:t.course_id},user:{avatar:t.avatar,name:t.username,time:t.create_time},progress:{days:t.learn_day_num,action:t.action_power}}),Object(d.h)({title:t.share_title,desc:t.share_desc,imgUrl:t.image_name,link:location.href})}})}},{key:"render",value:function(){var e=this.state,a=e.user,t=e.course,s=e.progress;return m.a.createElement("div",{className:"aist-share"},m.a.createElement("div",{className:"content"},m.a.createElement("div",{className:"user"},m.a.createElement("img",{src:a.avatar,alt:"\u5934\u50cf"}),m.a.createElement("span",{className:"username"},a.name),m.a.createElement("span",{className:"time"},a.time)),m.a.createElement(u.b,{to:{pathname:"/detail",search:"?id=".concat(this.state.course.id)}},m.a.createElement("div",{className:"course"},m.a.createElement("div",{className:"course-cover"},m.a.createElement("img",{src:t.img,alt:"\u8bfe\u7a0b\u5c01\u9762"})),m.a.createElement("div",{className:"course-info"},m.a.createElement("div",{className:"title"},t.title),m.a.createElement("div",{className:"des"},t.des)))),m.a.createElement("ul",{className:"progress"},m.a.createElement("li",null,m.a.createElement("div",{className:"title"},"\u7d2f\u8ba1\u5b66\u4e60"),m.a.createElement("div",{className:"progress-value"},m.a.createElement("span",{className:"num"},s.days),"\u5929")),m.a.createElement("li",null,m.a.createElement("div",{className:"title"},"\u884c\u52a8\u529b\u8d85\u8fc7"),m.a.createElement("div",{className:"progress-value"},m.a.createElement("span",{className:"num"},s.action),"%"))),m.a.createElement("div",{className:"recommend-app"},m.a.createElement("div",{className:"text"},m.a.createElement("div",{className:"bold"},m.a.createElement("div",null,"\u7acb\u5373\u4e0b\u8f7d\u3010\u4e03\u6708\u5728\u7ebf\u3011"),m.a.createElement("div",null,"\u4f17\u591a\u597d\u8bfe\u514d\u8d39\u5b66")),m.a.createElement("div",{className:"light"},"\u957f\u6309\u8bc6\u522b\u53f3\u4fa7\u4e8c\u7ef4\u7801",m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/aist/arrow.png",alt:""}))),m.a.createElement("div",{className:"qrcode"},m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_app.png",alt:""})))))}}]),a}(i.PureComponent);a.default=Object(o.a)(v)}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[12],{1153:function(e,a,t){},1173:function(e,a,t){"use strict";t.r(a);var s=t(7),c=t(8),n=t(11),r=t(9),l=t(10),i=t(0),m=t.n(i),o=(t(1153),t(159)),d=t(4),u=(t(145),t(20)),v=function(e){function a(){var e,t;Object(s.a)(this,a);for(var c=arguments.length,l=new Array(c),i=0;i<c;i++)l[i]=arguments[i];return(t=Object(n.a)(this,(e=Object(r.a)(a)).call.apply(e,[this].concat(l)))).state={course:{title:"",des:"",img:"",id:""},progress:{days:0,action:0},showShareCover:!0,user:{avatar:"",name:"",time:""}},t}return Object(l.a)(a,e),Object(c.a)(a,[{key:"componentDidMount",value:function(){var e=this,a=new URLSearchParams(this.props.location.search);d.c.get("".concat(API["base-api"],"/m/aist/share_ground_data/").concat(a.get("id"),"/").concat(a.get("vId"))).then(function(a){if(200==a.data.errno){var t=a.data.data;e.setState({course:{title:t.course_title,des:t.course_desc,img:t.image_name,id:t.course_id},user:{avatar:t.avatar,name:t.username,time:t.create_time},progress:{days:t.learn_day_num,action:t.action_power}}),Object(d.h)({title:t.share_title,desc:t.share_desc,imgUrl:t.image_name,link:location.href})}})}},{key:"render",value:function(){var e=this.state,a=e.user,t=e.course,s=e.progress;return m.a.createElement("div",{className:"aist-share"},m.a.createElement("div",{className:"content"},m.a.createElement("div",{className:"user"},m.a.createElement("img",{src:a.avatar,alt:"\u5934\u50cf"}),m.a.createElement("span",{className:"username"},a.name),m.a.createElement("span",{className:"time"},a.time)),m.a.createElement(u.b,{to:{pathname:"/detail",search:"?id=".concat(this.state.course.id)}},m.a.createElement("div",{className:"course"},m.a.createElement("div",{className:"course-cover"},m.a.createElement("img",{src:t.img,alt:"\u8bfe\u7a0b\u5c01\u9762"})),m.a.createElement("div",{className:"course-info"},m.a.createElement("div",{className:"title"},t.title),m.a.createElement("div",{className:"des"},t.des)))),m.a.createElement("ul",{className:"progress"},m.a.createElement("li",null,m.a.createElement("div",{className:"title"},"\u7d2f\u8ba1\u5b66\u4e60"),m.a.createElement("div",{className:"progress-value"},m.a.createElement("span",{className:"num"},s.days),"\u5929")),m.a.createElement("li",null,m.a.createElement("div",{className:"title"},"\u884c\u52a8\u529b\u8d85\u8fc7"),m.a.createElement("div",{className:"progress-value"},m.a.createElement("span",{className:"num"},s.action),"%"))),m.a.createElement("div",{className:"recommend-app"},m.a.createElement("div",{className:"text"},m.a.createElement("div",{className:"bold"},m.a.createElement("div",null,"\u7acb\u5373\u4e0b\u8f7d\u3010\u4e03\u6708\u5728\u7ebf\u3011"),m.a.createElement("div",null,"\u4f17\u591a\u597d\u8bfe\u514d\u8d39\u5b66")),m.a.createElement("div",{className:"light"},"\u957f\u6309\u8bc6\u522b\u53f3\u4fa7\u4e8c\u7ef4\u7801",m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/aist/arrow.png",alt:""}))),m.a.createElement("div",{className:"qrcode"},m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_app.png",alt:""})))))}}]),a}(i.PureComponent);a.default=Object(o.a)(v)}}]);
//# sourceMappingURL=aist-share.a340851a.chunk.js.map //# sourceMappingURL=aist-share.645eee55.chunk.js.map
\ No newline at end of file \ 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.
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.
!function(e){function r(r){for(var a,n,i=r[0],d=r[1],u=r[2],f=0,l=[];f<i.length;f++)n=i[f],o[n]&&l.push(o[n][0]),o[n]=0;for(a in d)Object.prototype.hasOwnProperty.call(d,a)&&(e[a]=d[a]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,u||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],a=!0,n=1;n<t.length;n++){var d=t[n];0!==o[d]&&(a=!1)}a&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var a={},n={18:0},o={18:0},c=[];function i(r){if(a[r])return a[r].exports;var t=a[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[];n[e]?r.push(n[e]):0!==n[e]&&{0:1,1:1,2:1,3:1,4:1,6:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,26:1,28:1,29:1,30:1,31:1}[e]&&r.push(n[e]=new Promise(function(r,t){for(var a="static/css/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"6d24aba4",1:"2ef92576",2:"dd64a7a3",3:"aeb3f822",4:"7bb0622b",5:"31d6cfe0",6:"c25de43a",7:"31d6cfe0",8:"71617dc9",9:"a285bc5d",10:"706b43f2",11:"fa7d91fc",12:"a97e13d0",13:"f2c7a13b",14:"2f69295d",16:"789a128d",17:"bd80fb0a",19:"68fd6acc",20:"175bee2a",21:"95315632",22:"f08bc5f3",23:"a4013dc8",25:"31d6cfe0",26:"73976871",27:"31d6cfe0",28:"42a89c77",29:"bf839917",30:"35e22f8c",31:"57d8b033"}[e]+".chunk.css",o=i.p+a,c=document.getElementsByTagName("link"),d=0;d<c.length;d++){var u=(s=c[d]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(u===a||u===o))return r()}var f=document.getElementsByTagName("style");for(d=0;d<f.length;d++){var s;if((u=(s=f[d]).getAttribute("data-href"))===a||u===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var a=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.request=a,delete n[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){n[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var a=new Promise(function(r,a){t=o[e]=[r,a]});r.push(t[2]=a);var c,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=function(e){return i.p+"static/js/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"c17d2450",1:"17ebd626",2:"6b8635fc",3:"7fd9d55d",4:"681b3739",5:"539ac99a",6:"36a03aa7",7:"229e2d92",8:"77cb4e93",9:"a605cd2a",10:"21f335ee",11:"a454c28a",12:"a340851a",13:"72b220db",14:"64397892",16:"d9a9fa8b",17:"1a0cc90e",19:"449ffe8e",20:"2a7c128d",21:"bb91493f",22:"d73bccb5",23:"46b1913c",25:"403aae65",26:"f842ed87",27:"33496196",28:"ab85697f",29:"52529984",30:"3e2101f4",31:"1bf13040"}[e]+".chunk.js"}(e),c=function(r){d.onerror=d.onload=null,clearTimeout(u);var t=o[e];if(0!==t){if(t){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+a+": "+n+")");c.type=a,c.request=n,t[1](c)}o[e]=void 0}};var u=setTimeout(function(){c({type:"timeout",target:d})},12e4);d.onerror=d.onload=c,document.head.appendChild(d)}return Promise.all(r)},i.m=e,i.c=a,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)i.d(t,a,function(r){return e[r]}.bind(null,a));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var d=window.webpackJsonp=window.webpackJsonp||[],u=d.push.bind(d);d.push=r,d=d.slice();for(var f=0;f<d.length;f++)r(d[f]);var s=u;t()}([]); !function(e){function r(r){for(var a,n,i=r[0],d=r[1],u=r[2],f=0,l=[];f<i.length;f++)n=i[f],o[n]&&l.push(o[n][0]),o[n]=0;for(a in d)Object.prototype.hasOwnProperty.call(d,a)&&(e[a]=d[a]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,u||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],a=!0,n=1;n<t.length;n++){var d=t[n];0!==o[d]&&(a=!1)}a&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var a={},n={18:0},o={18:0},c=[];function i(r){if(a[r])return a[r].exports;var t=a[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[];n[e]?r.push(n[e]):0!==n[e]&&{0:1,1:1,2:1,3:1,4:1,6:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,26:1,28:1,29:1,30:1,31:1}[e]&&r.push(n[e]=new Promise(function(r,t){for(var a="static/css/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"6d24aba4",1:"2ef92576",2:"c9d1579b",3:"aeb3f822",4:"7bb0622b",5:"31d6cfe0",6:"c25de43a",7:"31d6cfe0",8:"71617dc9",9:"a285bc5d",10:"706b43f2",11:"fa7d91fc",12:"a97e13d0",13:"f2c7a13b",14:"2f69295d",16:"789a128d",17:"bd80fb0a",19:"68fd6acc",20:"175bee2a",21:"95315632",22:"f08bc5f3",23:"a4013dc8",25:"31d6cfe0",26:"73976871",27:"31d6cfe0",28:"42a89c77",29:"bf839917",30:"35e22f8c",31:"57d8b033"}[e]+".chunk.css",o=i.p+a,c=document.getElementsByTagName("link"),d=0;d<c.length;d++){var u=(s=c[d]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(u===a||u===o))return r()}var f=document.getElementsByTagName("style");for(d=0;d<f.length;d++){var s;if((u=(s=f[d]).getAttribute("data-href"))===a||u===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var a=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.request=a,delete n[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){n[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var a=new Promise(function(r,a){t=o[e]=[r,a]});r.push(t[2]=a);var c,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.src=function(e){return i.p+"static/js/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"c17d2450",1:"17ebd626",2:"df1427b5",3:"7fd9d55d",4:"681b3739",5:"539ac99a",6:"36a03aa7",7:"229e2d92",8:"c1e37291",9:"1ac4da1c",10:"21f335ee",11:"a3aa3523",12:"645eee55",13:"72b220db",14:"ca5ba54a",16:"fa5a3185",17:"1a0cc90e",19:"449ffe8e",20:"2842f7fe",21:"7d4b3c37",22:"d73bccb5",23:"46b1913c",25:"403aae65",26:"f842ed87",27:"33496196",28:"ab85697f",29:"52529984",30:"3e2101f4",31:"1bf13040"}[e]+".chunk.js"}(e),c=function(r){d.onerror=d.onload=null,clearTimeout(u);var t=o[e];if(0!==t){if(t){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+a+": "+n+")");c.type=a,c.request=n,t[1](c)}o[e]=void 0}};var u=setTimeout(function(){c({type:"timeout",target:d})},12e4);d.onerror=d.onload=c,document.head.appendChild(d)}return Promise.all(r)},i.m=e,i.c=a,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)i.d(t,a,function(r){return e[r]}.bind(null,a));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var d=window.webpackJsonp=window.webpackJsonp||[],u=d.push.bind(d);d.push=r,d=d.slice();for(var f=0;f<d.length;f++)r(d[f]);var s=u;t()}([]);
//# sourceMappingURL=runtime~main.06e8a167.js.map //# sourceMappingURL=runtime~main.a6afffbd.js.map
\ No newline at end of file \ No newline at end of file
...@@ -35,8 +35,6 @@ class App extends Component { ...@@ -35,8 +35,6 @@ class App extends Component {
}) })
//微信 //微信
let code = getParam('code') let code = getParam('code')
...@@ -52,10 +50,10 @@ class App extends Component { ...@@ -52,10 +50,10 @@ class App extends Component {
} else { } else {
let user = this.transformWxUser(res) let user = this.transformWxUser(res)
let {role, uid, token} = data.data let {role, uid, token} = data.data
let expires = {expires: addDays(new Date(), 90)} let expires = addDays(new Date(), 90)
cookie.set('role', role, expires) cookie.set('role', role, {expires, domain: '.julyedu.com', path: '/'})
cookie.set('uid', uid, expires) cookie.set('uid', uid, {expires, domain: '.julyedu.com', path: '/'})
cookie.set('token', token, expires) cookie.set('token', token, {expires, domain: '.julyedu.com', path: '/'})
this.props.setCurrentUser(user) this.props.setCurrentUser(user)
} }
} else { } else {
......
...@@ -94,7 +94,7 @@ class Index extends Component { ...@@ -94,7 +94,7 @@ class Index extends Component {
roomMess: item roomMess: item
}) })
} else { } else {
window.location.href = `http://www-test.julyedu.com/live/m_room/${item.room_id}` window.location.href = `http://www.julyedu.com/live/m_room/${item.room_id}`
} }
} }
} }
......
...@@ -397,6 +397,7 @@ ...@@ -397,6 +397,7 @@
height: 400px; height: 400px;
border-radius: 10px; border-radius: 10px;
margin: 110px auto 0 auto; margin: 110px auto 0 auto;
position: relative;
padding-top: 20px; padding-top: 20px;
.course-banner { .course-banner {
...@@ -453,6 +454,7 @@ ...@@ -453,6 +454,7 @@
.course-dec { .course-dec {
text-align: center; text-align: center;
padding: 0 10px;
margin-top: 10px; margin-top: 10px;
.title { .title {
...@@ -499,9 +501,9 @@ ...@@ -499,9 +501,9 @@
.course-subscribe { .course-subscribe {
text-align: center; text-align: center;
height: 47px;
button { button {
margin-top: 12px;
width: 60px; width: 60px;
height: 27px; height: 27px;
background-color: $bg_active; background-color: $bg_active;
...@@ -509,13 +511,23 @@ ...@@ -509,13 +511,23 @@
font-size: 14px; font-size: 14px;
color: $white; color: $white;
border: none; border: none;
position: absolute;
left: 50%;
margin-left: -30px;
bottom: 10px;
} }
span { span {
width: 220px;
display: inline-block; display: inline-block;
margin-top: 12px; margin-top: 12px;
height: 27px;
line-height: 27px;
font-size: 16px; font-size: 16px;
color: $redprice; color: $redprice;
position: absolute;
margin-left: -110px;
bottom: 10px;
} }
} }
} }
...@@ -566,7 +578,7 @@ ...@@ -566,7 +578,7 @@
background-color: $bg_18B4ED; background-color: $bg_18B4ED;
font-size: 16px; font-size: 16px;
color: $white; color: $white;
width: 135px; padding: 0 15px;
height: 30px; height: 30px;
border-radius: 15px; border-radius: 15px;
border: none; border: none;
...@@ -641,6 +653,7 @@ ...@@ -641,6 +653,7 @@
padding-left: 15px; padding-left: 15px;
border: 1px solid $border_ccc; border: 1px solid $border_ccc;
margin-top: 15px; margin-top: 15px;
font-size: 12px;
} }
input:focus { input:focus {
......
...@@ -92,6 +92,10 @@ class LiveRoom extends Component { ...@@ -92,6 +92,10 @@ class LiveRoom extends Component {
this.setState({ this.setState({
toSubscribe: false toSubscribe: false
}) })
this.props.getIndexData()
} else if (res.data.data.status === 5) {
window.location.href = 'https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzIyMzMzMTIwNA==&scene=126&bizpsid=0&subscene=0#wechat_redirect';
} else { } else {
Toast.info(res.data.data.msg, 2) Toast.info(res.data.data.msg, 2)
} }
...@@ -130,7 +134,7 @@ class LiveRoom extends Component { ...@@ -130,7 +134,7 @@ class LiveRoom extends Component {
// 服务号预约 // 服务号预约
serverStep = () => { serverStep = () => {
if (this.state.isfollow === 0) { if (this.state.isfollow == 2) {
window.location.href = 'https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzIyMzMzMTIwNA==&scene=126&bizpsid=0&subscene=0#wechat_redirect'; window.location.href = 'https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzIyMzMzMTIwNA==&scene=126&bizpsid=0&subscene=0#wechat_redirect';
} else { } else {
this.livePrepare(this.props.roomMess.room_id, 1, 1, '') this.livePrepare(this.props.roomMess.room_id, 1, 1, '')
...@@ -153,13 +157,16 @@ class LiveRoom extends Component { ...@@ -153,13 +157,16 @@ class LiveRoom extends Component {
mobile: this.state.iphone, mobile: this.state.iphone,
room_id: this.props.roomMess.room_id room_id: this.props.roomMess.room_id
} }
http.get(`${API.home}/m/live/wxReservedTel`, data).then((res) => { http.post(`${API.home}/m/live/wxReservedTel`, data).then((res) => {
if (res.data.code === 200) { if (res.data.code === 200) {
this.setState({ this.setState({
toSubscribe: false toSubscribe: false
}) })
Toast.info(res.data.msg, 2) Toast.info(res.data.msg, 2)
} else { this.props.getIndexData()
} else if(res.data.code === 410){
Toast.info('请输入手机号', 2)
}else {
Toast.info(res.data.msg, 2) Toast.info(res.data.msg, 2)
} }
}) })
...@@ -233,12 +240,12 @@ class LiveRoom extends Component { ...@@ -233,12 +240,12 @@ class LiveRoom extends Component {
onClick={this.serverStep}>微信服务号通知 onClick={this.serverStep}>微信服务号通知
</button> </button>
{ {
this.state.isfollow === 0 && this.state.isfollow === 2 &&
<span className='tips'>关注服务号即代表预约成功</span> <span className='tips'>关注服务号即代表预约成功</span>
} }
<button className={this.state.isfollow === 1 ? 'follow' : 'nofollow'} <button className={this.state.isfollow === 1 ? 'follow' : 'nofollow'}
onClick={this.iphoneStep}>手机短信通知 onClick={this.iphoneStep}>&nbsp;手机短信通知&nbsp;&nbsp;
</button> </button>
</div> </div>
</div> </div>
......
.class-child { .class-child {
position: relative;
.class-content { .class-content {
padding: 0 12px; padding: 0 12px;
......
...@@ -109,13 +109,13 @@ export default class PayOrder extends Component { ...@@ -109,13 +109,13 @@ export default class PayOrder extends Component {
weixinPay = (orderId) => { weixinPay = (orderId) => {
// 微信内部-支付 // 微信内部-支付
if (is_weixin()) { if (is_weixin()) {
window.location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=" + encodeURIComponent(window.location.href + "&aa=bb").toLowerCase() + "&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect"; window.location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=" + encodeURIComponent(window.location.href + "&aa=bb&oid=" + orderId).toLowerCase() + "&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect";
} else { } else {
// 微信外部-支付 // 微信外部-支付
http.get(`${API['base-api']}/pay/wxpay/wap_charge/oid/${orderId}`).then((res) => { http.get(`${API['base-api']}/pay/wxpay/wap_charge/oid/${orderId}`).then((res) => {
console.log(res); console.log(res);
if (res.data.errno === 0) { if (res.data.errno === 0) {
window.location.href = res.data.data.url + "&redirect_url=" + encodeURIComponent(window.location.href + "&weixinpay=1").toLowerCase(); window.location.href = res.data.data.url + "&redirect_url=" + encodeURIComponent(window.location.href + "&weixinpay=1&oid=" + orderId).toLowerCase();
} else { } else {
Toast.info(res.data.msg, 2) Toast.info(res.data.msg, 2)
} }
...@@ -152,7 +152,27 @@ export default class PayOrder extends Component { ...@@ -152,7 +152,27 @@ export default class PayOrder extends Component {
} }
// 支付完成之后获取状态 // 支付完成之后获取状态
payCallback = () => { payCallback = () => {
// 调到已购课程 /purchased 不需要传递任何参数 const _this = this;
// 支付回调
// 定时器轮训获取订单状态
_this.intervalPayStatus = setInterval(function(){
http.get(`${API.home}/m/orderState/oid/${getParam('oid')}`).then(res => {
if (res.data.errno === 401) {
clearInterval(_this.intervalPayStatus);
_this.intervalPayStatus = null;
// 获取课程类型
http.get(`${API.home}/m/app_order/detail/${getParam('oid')}`).then(res => {
if(res.data.data.course_type === '2') {
this.props.history.replace(`/togroup?id=${getParam('oid')}`);
}else{
// 跳转到已购课程 /purchased 不需要传递任何参数
this.props.history.replace(`/purchased`);
}
});
}
})
}, 1000)
} }
onBridgeReady = (data) => { onBridgeReady = (data) => {
......
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