Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiguangyao
mr-julyedu
Commits
a3fa2f58
Commit
a3fa2f58
authored
Aug 23, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
afad70ad
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
275 additions
and
5 deletions
+275
-5
build/asset-manifest.json
+0
-0
build/index.html
+0
-0
build/precache-manifest.b51c66a0521dd998f12a1026207ca6b4.js
+267
-0
build/service-worker.js
+1
-1
src/components/detail/index.js
+2
-1
src/components/detail/single/index.js
+2
-1
src/components/detail/single/singleSuccess.js
+1
-1
src/components/video/index.js
+2
-1
No files found.
build/asset-manifest.json
View file @
a3fa2f58
This diff is collapsed.
Click to expand it.
build/index.html
View file @
a3fa2f58
This diff is collapsed.
Click to expand it.
build/precache-manifest.b51c66a0521dd998f12a1026207ca6b4.js
0 → 100644
View file @
a3fa2f58
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
build/service-worker.js
View file @
a3fa2f58
...
@@ -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.
7b97068377850e9d8f0f8d067b6f84b5
.js"
"/precache-manifest.
b51c66a0521dd998f12a1026207ca6b4
.js"
);
);
workbox
.
clientsClaim
();
workbox
.
clientsClaim
();
...
...
src/components/detail/index.js
View file @
a3fa2f58
...
@@ -533,11 +533,12 @@ class Detail extends Component {
...
@@ -533,11 +533,12 @@ class Detail extends Component {
/>
}
/>
}
{
/* 单集购买成功弹窗 */
}
{
/* 单集购买成功弹窗 */
}
{
{
singleType
!=
1
&&
singleType
!=
=
1
&&
<
SingleSuccess
<
SingleSuccess
boxHide
=
{
this
.
boxHide
}
boxHide
=
{
this
.
boxHide
}
data
=
{
this
.
state
.
singMess
}
data
=
{
this
.
state
.
singMess
}
singleType
=
{
singleType
}
singleType
=
{
singleType
}
vcourseId
=
{
course_info
.
v_course_id
}
videoId
=
{
this
.
state
.
singMess
.
video_id
}
videoId
=
{
this
.
state
.
singMess
.
video_id
}
nowPrice
=
{
this
.
state
.
nowPrice
}
nowPrice
=
{
this
.
state
.
nowPrice
}
laterPrice
=
{
this
.
state
.
laterPrice
}
laterPrice
=
{
this
.
state
.
laterPrice
}
...
...
src/components/detail/single/index.js
View file @
a3fa2f58
...
@@ -53,7 +53,8 @@ class Single extends Component {
...
@@ -53,7 +53,8 @@ class Single extends Component {
// 确定购买
// 确定购买
toBuy
=
()
=>
{
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
)
{
if
(
res
.
data
.
code
===
200
)
{
this
.
setState
({
this
.
setState
({
orderId
:
res
.
data
.
data
.
order_id
orderId
:
res
.
data
.
data
.
order_id
...
...
src/components/detail/single/singleSuccess.js
View file @
a3fa2f58
...
@@ -172,7 +172,7 @@ class Single extends Component {
...
@@ -172,7 +172,7 @@ class Single extends Component {
},
1000
)
},
1000
)
}
}
const
{
singleType
}
=
this
.
props
;
const
{
singleType
}
=
this
.
props
;
console
.
log
(
this
.
state
.
singleBox
);
console
.
log
(
this
.
props
);
return
(
return
(
<
div
className
=
'popup-box'
>
<
div
className
=
'popup-box'
>
{
{
...
...
src/components/video/index.js
View file @
a3fa2f58
...
@@ -707,7 +707,7 @@ class Video extends Component {
...
@@ -707,7 +707,7 @@ class Video extends Component {
singleBox
&&
singleBox
&&
<
Single
singleBox
=
{
this
.
state
.
singleBox
}
boxHide
=
{
this
.
boxHide
}
data
=
{
this
.
state
.
singMess
}
<
Single
singleBox
=
{
this
.
state
.
singleBox
}
boxHide
=
{
this
.
boxHide
}
data
=
{
this
.
state
.
singMess
}
singleType
=
{
this
.
state
.
singleType
}
singleType
=
{
this
.
state
.
singleType
}
vcourseId
=
{
course
.
course_info
.
v_course_id
}
vcourseId
=
{
course
.
v_course_id
}
videoId
=
{
this
.
state
.
singMess
.
video_id
}
videoId
=
{
this
.
state
.
singMess
.
video_id
}
check
=
{
this
.
check
}
check
=
{
this
.
check
}
title
=
{
this
.
state
.
singMess
.
course_tile
}
/
>
title
=
{
this
.
state
.
singMess
.
course_tile
}
/
>
...
@@ -719,6 +719,7 @@ class Video extends Component {
...
@@ -719,6 +719,7 @@ class Video extends Component {
boxHide
=
{
this
.
boxHide
}
boxHide
=
{
this
.
boxHide
}
data
=
{
this
.
state
.
singMess
}
data
=
{
this
.
state
.
singMess
}
singleType
=
{
singleType
}
singleType
=
{
singleType
}
vcourseId
=
{
course
.
v_course_id
}
videoId
=
{
this
.
state
.
singMess
.
video_id
}
videoId
=
{
this
.
state
.
singMess
.
video_id
}
nowPrice
=
{
this
.
state
.
nowPrice
}
nowPrice
=
{
this
.
state
.
nowPrice
}
laterPrice
=
{
this
.
state
.
laterPrice
}
laterPrice
=
{
this
.
state
.
laterPrice
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment