Commit 8ced2e23 by wangshuo

no message

parent eba27de6
...@@ -88,9 +88,9 @@ ...@@ -88,9 +88,9 @@
"intelligent-recommend.css": "/mrstaticcss/intelligent-recommend.19b3a957.chunk.css", "intelligent-recommend.css": "/mrstaticcss/intelligent-recommend.19b3a957.chunk.css",
"intelligent-recommend.js": "/mrstaticjs/intelligent-recommend.1007cdc6.chunk.js", "intelligent-recommend.js": "/mrstaticjs/intelligent-recommend.1007cdc6.chunk.js",
"intelligent-recommend.js.map": "/mrstaticjs/intelligent-recommend.1007cdc6.chunk.js.map", "intelligent-recommend.js.map": "/mrstaticjs/intelligent-recommend.1007cdc6.chunk.js.map",
"main.css": "/mrstaticcss/main.5bed73c6.chunk.css", "main.css": "/mrstaticcss/main.58cb24b4.chunk.css",
"main.js": "/mrstaticjs/main.ed47eb53.chunk.js", "main.js": "/mrstaticjs/main.09e00204.chunk.js",
"main.js.map": "/mrstaticjs/main.ed47eb53.chunk.js.map", "main.js.map": "/mrstaticjs/main.09e00204.chunk.js.map",
"ml.css": "/mrstaticcss/ml.dda6fec9.chunk.css", "ml.css": "/mrstaticcss/ml.dda6fec9.chunk.css",
"ml.js": "/mrstaticjs/ml.83b42f93.chunk.js", "ml.js": "/mrstaticjs/ml.83b42f93.chunk.js",
"ml.js.map": "/mrstaticjs/ml.83b42f93.chunk.js.map", "ml.js.map": "/mrstaticjs/ml.83b42f93.chunk.js.map",
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
"mrstaticcss/deposit-pay-order.0a2ca945.chunk.css.map": "/mrstaticcss/deposit-pay-order.0a2ca945.chunk.css.map", "mrstaticcss/deposit-pay-order.0a2ca945.chunk.css.map": "/mrstaticcss/deposit-pay-order.0a2ca945.chunk.css.map",
"mrstaticcss/detail.588d0f20.chunk.css.map": "/mrstaticcss/detail.588d0f20.chunk.css.map", "mrstaticcss/detail.588d0f20.chunk.css.map": "/mrstaticcss/detail.588d0f20.chunk.css.map",
"mrstaticcss/intelligent-recommend.19b3a957.chunk.css.map": "/mrstaticcss/intelligent-recommend.19b3a957.chunk.css.map", "mrstaticcss/intelligent-recommend.19b3a957.chunk.css.map": "/mrstaticcss/intelligent-recommend.19b3a957.chunk.css.map",
"mrstaticcss/main.5bed73c6.chunk.css.map": "/mrstaticcss/main.5bed73c6.chunk.css.map", "mrstaticcss/main.58cb24b4.chunk.css.map": "/mrstaticcss/main.58cb24b4.chunk.css.map",
"mrstaticcss/ml.dda6fec9.chunk.css.map": "/mrstaticcss/ml.dda6fec9.chunk.css.map", "mrstaticcss/ml.dda6fec9.chunk.css.map": "/mrstaticcss/ml.dda6fec9.chunk.css.map",
"mrstaticcss/mlShare.0f4048d9.chunk.css.map": "/mrstaticcss/mlShare.0f4048d9.chunk.css.map", "mrstaticcss/mlShare.0f4048d9.chunk.css.map": "/mrstaticcss/mlShare.0f4048d9.chunk.css.map",
"mrstaticcss/myorders.3f7aa8e1.chunk.css.map": "/mrstaticcss/myorders.3f7aa8e1.chunk.css.map", "mrstaticcss/myorders.3f7aa8e1.chunk.css.map": "/mrstaticcss/myorders.3f7aa8e1.chunk.css.map",
...@@ -274,14 +274,14 @@ ...@@ -274,14 +274,14 @@
"mrstaticmedia/iconfont.css": "/mrstaticmedia/iconfont.d9c813a4.svg", "mrstaticmedia/iconfont.css": "/mrstaticmedia/iconfont.d9c813a4.svg",
"mrstaticmedia/kanjia_cg_icon.png": "/mrstaticmedia/kanjia_cg_icon.81a489ac.png", "mrstaticmedia/kanjia_cg_icon.png": "/mrstaticmedia/kanjia_cg_icon.81a489ac.png",
"mrstaticmedia/video.scss": "/mrstaticmedia/progress-share-bg.80011994.png", "mrstaticmedia/video.scss": "/mrstaticmedia/progress-share-bg.80011994.png",
"precache-manifest.a5458815ca2b635fb2501f110bb30080.js": "/precache-manifest.a5458815ca2b635fb2501f110bb30080.js", "precache-manifest.6c01b1e88986b75fea45c87e147064fa.js": "/precache-manifest.6c01b1e88986b75fea45c87e147064fa.js",
"service-worker.js": "/service-worker.js" "service-worker.js": "/service-worker.js"
}, },
"entrypoints": [ "entrypoints": [
"mrstaticjs/runtime-main.6f55c05c.js", "mrstaticjs/runtime-main.6f55c05c.js",
"mrstaticcss/51.372673c7.chunk.css", "mrstaticcss/51.372673c7.chunk.css",
"mrstaticjs/51.68dc3b45.chunk.js", "mrstaticjs/51.68dc3b45.chunk.js",
"mrstaticcss/main.5bed73c6.chunk.css", "mrstaticcss/main.58cb24b4.chunk.css",
"mrstaticjs/main.ed47eb53.chunk.js" "mrstaticjs/main.09e00204.chunk.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.
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.
self.__precacheManifest = (self.__precacheManifest || []).concat([ self.__precacheManifest = (self.__precacheManifest || []).concat([
{ {
"revision": "68b46a5c4746eef06ebbf664418e4e6e", "revision": "5ad377cf0a5effb5acb173c7247cb24d",
"url": "/index.html" "url": "/index.html"
}, },
{ {
...@@ -180,8 +180,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ ...@@ -180,8 +180,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticcss/intelligent-recommend.19b3a957.chunk.css" "url": "/mrstaticcss/intelligent-recommend.19b3a957.chunk.css"
}, },
{ {
"revision": "9e32453bf3199ef55897", "revision": "a2770c9f8a4765a76681",
"url": "/mrstaticcss/main.5bed73c6.chunk.css" "url": "/mrstaticcss/main.58cb24b4.chunk.css"
}, },
{ {
"revision": "e8f265187edc4fd4910f", "revision": "e8f265187edc4fd4910f",
...@@ -476,8 +476,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ ...@@ -476,8 +476,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticjs/intelligent-recommend.1007cdc6.chunk.js" "url": "/mrstaticjs/intelligent-recommend.1007cdc6.chunk.js"
}, },
{ {
"revision": "9e32453bf3199ef55897", "revision": "a2770c9f8a4765a76681",
"url": "/mrstaticjs/main.ed47eb53.chunk.js" "url": "/mrstaticjs/main.09e00204.chunk.js"
}, },
{ {
"revision": "e8f265187edc4fd4910f", "revision": "e8f265187edc4fd4910f",
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts( importScripts(
"/precache-manifest.a5458815ca2b635fb2501f110bb30080.js" "/precache-manifest.6c01b1e88986b75fea45c87e147064fa.js"
); );
self.addEventListener('message', (event) => { self.addEventListener('message', (event) => {
......
...@@ -55,6 +55,7 @@ const Module = function CourseList({ module, toDetail }) { ...@@ -55,6 +55,7 @@ const Module = function CourseList({ module, toDetail }) {
查看更多 > 查看更多 >
</Link> </Link>
)} )}
{module.show_more === 2 ? ( {module.show_more === 2 ? (
module.name === "限时免费" ? ( module.name === "限时免费" ? (
<Link className="more" to={"/free"}> <Link className="more" to={"/free"}>
...@@ -66,6 +67,7 @@ const Module = function CourseList({ module, toDetail }) { ...@@ -66,6 +67,7 @@ const Module = function CourseList({ module, toDetail }) {
</Link> </Link>
) )
) : null} ) : null}
{/* <LazyLoad offset={50}> */} {/* <LazyLoad offset={50}> */}
<ul className="index-course-detail"> <ul className="index-course-detail">
{module.name !== "限时免费" && {module.name !== "限时免费" &&
...@@ -90,7 +92,7 @@ const Module = function CourseList({ module, toDetail }) { ...@@ -90,7 +92,7 @@ const Module = function CourseList({ module, toDetail }) {
</div> </div>
) )
const bottom = <Bottom course={item} /> const bottom = <Bottom course={item} course1={module} />
const status = item.is_limit_free ? null : ( const status = item.is_limit_free ? null : (
<div> <div>
...@@ -122,7 +124,6 @@ const Module = function CourseList({ module, toDetail }) { ...@@ -122,7 +124,6 @@ const Module = function CourseList({ module, toDetail }) {
</div> </div>
) )
} }
//限时免费 //限时免费
function LimitFree({ course }) { function LimitFree({ course }) {
/* /*
...@@ -153,7 +154,7 @@ function LimitFree({ course }) { ...@@ -153,7 +154,7 @@ function LimitFree({ course }) {
} }
//课程底部 //课程底部
function Bottom({ course }) { function Bottom({ course,course1 }) {
if (course.is_buy) { if (course.is_buy) {
if (course.is_limit_free && course.limit_free_status === 1) { if (course.is_limit_free && course.limit_free_status === 1) {
return <div class={"isbuy"}>已领取</div> return <div class={"isbuy"}>已领取</div>
...@@ -164,10 +165,19 @@ function Bottom({ course }) { ...@@ -164,10 +165,19 @@ function Bottom({ course }) {
return course.is_limit_free ? ( return course.is_limit_free ? (
<LimitFree course={course} /> <LimitFree course={course} />
) : ( ) : (
<p className="course-price"> <div>
<span className="new">¥{course.discounts_price}</span> {course1.name === "双11秒杀课" ? (
<p className="course-price">
<span className="new">秒杀价:¥{course.discounts_price}</span>
<span className="old">¥{course.price}</span> <span className="old">¥{course.price}</span>
</p> </p>
) :<p className="course-price">
<span className="new">¥{course.discounts_price}</span>
<span className="old">¥{course.price}</span>
</p>}
</div>
) )
} }
} }
......
...@@ -58,6 +58,24 @@ ...@@ -58,6 +58,24 @@
margin-right: 4px; margin-right: 4px;
} }
} }
.audition1 {
position: absolute;
top: 10px;
width: 54px;
height: 18px;
line-height: 18px;
background-color:red;
font-size: 12px;
color: $white;
text-align: center;
border-radius: 1px;
.iconerji {
font-size: 14px !important;
display: inline-block;
margin-right: 4px;
}
}
.return_bash { .return_bash {
position: absolute; position: absolute;
......
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