Commit a3fa2f58 by xuzhenghua

test

parent afad70ad
self.__precacheManifest = [
{
"revision": "8c294c94e8d10db977e6",
"url": "/static/js/purchased.0cbad572.chunk.js"
},
{
"revision": "2913522e3cf433621a98",
"url": "/static/css/BargainMiddlePage.f15334d9.chunk.css"
},
{
"revision": "ac076a89fd27e3a486b4",
"url": "/static/css/Classify.6f1b147b.chunk.css"
},
{
"revision": "ac076a89fd27e3a486b4",
"url": "/static/js/Classify.a2e3809e.chunk.js"
},
{
"revision": "b810edf00a570ab598e4",
"url": "/static/css/CourseList.2444c6c2.chunk.css"
},
{
"revision": "b810edf00a570ab598e4",
"url": "/static/js/CourseList.24d4ca20.chunk.js"
},
{
"revision": "d3b538a339bf93467b7b",
"url": "/static/css/DrawDocument.58508f31.chunk.css"
},
{
"revision": "d3b538a339bf93467b7b",
"url": "/static/js/DrawDocument.7725e9ac.chunk.js"
},
{
"revision": "2dd00425b4029e54ef8b",
"url": "/static/css/Examination.02475a25.chunk.css"
},
{
"revision": "2dd00425b4029e54ef8b",
"url": "/static/js/Examination.402592d7.chunk.js"
},
{
"revision": "0399cc2406af95de002a",
"url": "/static/js/MyEdit.f1f89766.chunk.js"
},
{
"revision": "dc46319e650ccbe0d8e2",
"url": "/static/css/Order.5199031c.chunk.css"
},
{
"revision": "dc46319e650ccbe0d8e2",
"url": "/static/js/Order.6c2e64c9.chunk.js"
},
{
"revision": "06c022aacf1932f6b64d",
"url": "/static/js/Orderinfo.896f1700.chunk.js"
},
{
"revision": "33e1e01a7fd5c7f81f89",
"url": "/static/css/PayOrder.4a91788c.chunk.css"
},
{
"revision": "33e1e01a7fd5c7f81f89",
"url": "/static/js/PayOrder.3835dc37.chunk.js"
},
{
"revision": "423ae205afddea707a42",
"url": "/static/css/Preferential.aced1689.chunk.css"
},
{
"revision": "423ae205afddea707a42",
"url": "/static/js/Preferential.20f4a86e.chunk.js"
},
{
"revision": "9e04715a411fd255468f",
"url": "/static/css/SearchResult.bbdc2bc7.chunk.css"
},
{
"revision": "9e04715a411fd255468f",
"url": "/static/js/SearchResult.e9a33ef6.chunk.js"
},
{
"revision": "0fb89e8d3b0c2595d727",
"url": "/static/css/ShopCart.f39ca42e.chunk.css"
},
{
"revision": "0fb89e8d3b0c2595d727",
"url": "/static/js/ShopCart.e203121e.chunk.js"
},
{
"revision": "1174e74afb7afaea845e",
"url": "/static/css/aist-share.01bc9663.chunk.css"
},
{
"revision": "1174e74afb7afaea845e",
"url": "/static/js/aist-share.6dafbb9b.chunk.js"
},
{
"revision": "341567f455eae2212731",
"url": "/static/css/coupons.c48c0144.chunk.css"
},
{
"revision": "341567f455eae2212731",
"url": "/static/js/coupons.aab15c32.chunk.js"
},
{
"revision": "e93df37249ff0da2de5b",
"url": "/static/css/detail.1eb8b1b7.chunk.css"
},
{
"revision": "e93df37249ff0da2de5b",
"url": "/static/js/detail.786a258a.chunk.js"
},
{
"revision": "079aa08de9f860d5c0dc",
"url": "/static/css/main.95f34d95.chunk.css"
},
{
"revision": "079aa08de9f860d5c0dc",
"url": "/static/js/main.282db4ba.chunk.js"
},
{
"revision": "ce10f622fab3520f008e",
"url": "/static/css/myorders.1dbd49e2.chunk.css"
},
{
"revision": "ce10f622fab3520f008e",
"url": "/static/js/myorders.76eb2d0c.chunk.js"
},
{
"revision": "8c294c94e8d10db977e6",
"url": "/static/css/purchased.a14c858f.chunk.css"
},
{
"revision": "2913522e3cf433621a98",
"url": "/static/js/BargainMiddlePage.64349d6e.chunk.js"
},
{
"revision": "8065366f1ef698a5193f",
"url": "/static/js/runtime~main.a73d0f35.js"
},
{
"revision": "b08ad07df690834e3490",
"url": "/static/css/search.85280180.chunk.css"
},
{
"revision": "b08ad07df690834e3490",
"url": "/static/js/search.abdfa4bd.chunk.js"
},
{
"revision": "99f3a7a7257087d5adb8",
"url": "/static/css/shareposter.0fd3f9ac.chunk.css"
},
{
"revision": "99f3a7a7257087d5adb8",
"url": "/static/js/shareposter.3b56bacd.chunk.js"
},
{
"revision": "b02a8df880a2ddd8a99f",
"url": "/static/css/study.f3c372c1.chunk.css"
},
{
"revision": "b02a8df880a2ddd8a99f",
"url": "/static/js/study.9e580b38.chunk.js"
},
{
"revision": "793f98febad168286b1f",
"url": "/static/css/togroup.acc61e40.chunk.css"
},
{
"revision": "793f98febad168286b1f",
"url": "/static/js/togroup.10c61ec4.chunk.js"
},
{
"revision": "64641b51c50e77bbeb2f",
"url": "/static/css/video.918e8086.chunk.css"
},
{
"revision": "64641b51c50e77bbeb2f",
"url": "/static/js/video.ae591593.chunk.js"
},
{
"revision": "80011994e30adf599e5f47fcc81bc06d",
"url": "/static/media/progress-share-bg.80011994.png"
},
{
"revision": "edc4aea46890d3978908",
"url": "/static/js/24.2ff74995.chunk.js"
},
{
"revision": "7f3acc087130c2daaeea",
"url": "/static/js/25.29681c9e.chunk.js"
},
{
"revision": "81a489ac63f2f2df5ab412e0782bd54c",
"url": "/static/media/kanjia_cg_icon.81a489ac.png"
},
{
"revision": "bc32407fdb23e9f6027e",
"url": "/static/js/26.b6c73fb7.chunk.js"
},
{
"revision": "13e8fbe2b0e4d85ba038",
"url": "/static/js/27.4dd08449.chunk.js"
},
{
"revision": "f983caa7c06f105373e7e1aec42da261",
"url": "/static/media/iconfont.f983caa7.svg"
},
{
"revision": "a03f82de07698de3d380",
"url": "/static/js/28.7a55bbab.chunk.js"
},
{
"revision": "145742789ab409c81f28938b15b5dee7",
"url": "/static/media/iconfont.14574278.ttf"
},
{
"revision": "f03eb977a6c234c7d55e",
"url": "/static/js/29.d2142bb3.chunk.js"
},
{
"revision": "cd1c41437a2e35a283e4b16b620a8c9e",
"url": "/static/media/iconfont.cd1c4143.eot"
},
{
"revision": "dd6fd0df65d14d3bcd32",
"url": "/static/js/30.93aecb2d.chunk.js"
},
{
"revision": "7b542c778563daa7cc420d21ed1601b3",
"url": "/static/media/iconfont.7b542c77.woff"
},
{
"revision": "f4f64b20e12f0b219361",
"url": "/static/js/31.72e5165d.chunk.js"
},
{
"revision": "f4f64b20e12f0b219361",
"url": "/static/css/31.ffbe0560.chunk.css"
},
{
"revision": "dd6fd0df65d14d3bcd32",
"url": "/static/css/30.44620a41.chunk.css"
},
{
"revision": "f03eb977a6c234c7d55e",
"url": "/static/css/29.fd1b61f1.chunk.css"
},
{
"revision": "a03f82de07698de3d380",
"url": "/static/css/28.415f421f.chunk.css"
},
{
"revision": "bc32407fdb23e9f6027e",
"url": "/static/css/26.2833f269.chunk.css"
},
{
"revision": "edc4aea46890d3978908",
"url": "/static/css/24.3f950fe8.chunk.css"
},
{
"revision": "736c5a4a7bd8cf5c856be041774c876a",
"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.7b97068377850e9d8f0f8d067b6f84b5.js"
"/precache-manifest.b51c66a0521dd998f12a1026207ca6b4.js"
);
workbox.clientsClaim();
......
......@@ -533,11 +533,12 @@ class Detail extends Component {
/>}
{/* 单集购买成功弹窗 */}
{
singleType != 1 &&
singleType !== 1 &&
<SingleSuccess
boxHide={this.boxHide}
data={this.state.singMess}
singleType={singleType}
vcourseId={course_info.v_course_id}
videoId={this.state.singMess.video_id}
nowPrice={this.state.nowPrice}
laterPrice={this.state.laterPrice}
......
......@@ -53,7 +53,8 @@ class Single extends Component {
// 确定购买
toBuy = () => {
http.get(`${API.home}/sys/createClassOrder/${this.props.data.video_id}`).then((res) => {
const videoID = this.props.data.video_id || this.props.data.id;
http.get(`${API.home}/sys/createClassOrder/${videoID}`).then((res) => {
if (res.data.code === 200) {
this.setState({
orderId: res.data.data.order_id
......
......@@ -172,7 +172,7 @@ class Single extends Component {
}, 1000)
}
const { singleType } = this.props;
console.log(this.state.singleBox);
console.log(this.props);
return (
<div className='popup-box'>
{
......
......@@ -707,7 +707,7 @@ class Video extends Component {
singleBox &&
<Single singleBox={this.state.singleBox} boxHide={this.boxHide} data={this.state.singMess}
singleType={this.state.singleType}
vcourseId={course.course_info.v_course_id}
vcourseId={course.v_course_id}
videoId={this.state.singMess.video_id}
check={this.check}
title={this.state.singMess.course_tile}/>
......@@ -719,6 +719,7 @@ class Video extends Component {
boxHide={this.boxHide}
data={this.state.singMess}
singleType={singleType}
vcourseId={course.v_course_id}
videoId={this.state.singMess.video_id}
nowPrice={this.state.nowPrice}
laterPrice={this.state.laterPrice}
......
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