Commit 2b5b865f by zhanghaozhe

限时免费

parent c07ce304
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
"deposit-pay-order.css": "/mrstatic/css/deposit-pay-order.2883406f.chunk.css", "deposit-pay-order.css": "/mrstatic/css/deposit-pay-order.2883406f.chunk.css",
"deposit-pay-order.js": "/mrstatic/js/deposit-pay-order.9f4ad38e.chunk.js", "deposit-pay-order.js": "/mrstatic/js/deposit-pay-order.9f4ad38e.chunk.js",
"deposit-pay-order.js.map": "/mrstatic/js/deposit-pay-order.9f4ad38e.chunk.js.map", "deposit-pay-order.js.map": "/mrstatic/js/deposit-pay-order.9f4ad38e.chunk.js.map",
"detail.css": "/mrstatic/css/detail.d9ff5c2c.chunk.css", "detail.css": "/mrstatic/css/detail.08cc6c4c.chunk.css",
"detail.js": "/mrstatic/js/detail.1fb2f7a8.chunk.js", "detail.js": "/mrstatic/js/detail.1fb2f7a8.chunk.js",
"detail.js.map": "/mrstatic/js/detail.1fb2f7a8.chunk.js.map", "detail.js.map": "/mrstatic/js/detail.1fb2f7a8.chunk.js.map",
"main.css": "/mrstatic/css/main.4e24407e.chunk.css", "main.css": "/mrstatic/css/main.4e24407e.chunk.css",
...@@ -101,8 +101,8 @@ ...@@ -101,8 +101,8 @@
"python-class.css": "/mrstatic/css/python-class.38fe0012.chunk.css", "python-class.css": "/mrstatic/css/python-class.38fe0012.chunk.css",
"python-class.js": "/mrstatic/js/python-class.bfcdc4e4.chunk.js", "python-class.js": "/mrstatic/js/python-class.bfcdc4e4.chunk.js",
"python-class.js.map": "/mrstatic/js/python-class.bfcdc4e4.chunk.js.map", "python-class.js.map": "/mrstatic/js/python-class.bfcdc4e4.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.ab3c5271.js", "runtime~main.js": "/mrstatic/js/runtime~main.b23e3441.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.ab3c5271.js.map", "runtime~main.js.map": "/mrstatic/js/runtime~main.b23e3441.js.map",
"search.css": "/mrstatic/css/search.fab97849.chunk.css", "search.css": "/mrstatic/css/search.fab97849.chunk.css",
"search.js": "/mrstatic/js/search.ede28132.chunk.js", "search.js": "/mrstatic/js/search.ede28132.chunk.js",
"search.js.map": "/mrstatic/js/search.ede28132.chunk.js.map", "search.js.map": "/mrstatic/js/search.ede28132.chunk.js.map",
...@@ -152,9 +152,9 @@ ...@@ -152,9 +152,9 @@
"mrstatic/css/52.ab7f5e40.chunk.css": "/mrstatic/css/52.ab7f5e40.chunk.css", "mrstatic/css/52.ab7f5e40.chunk.css": "/mrstatic/css/52.ab7f5e40.chunk.css",
"mrstatic/js/52.b512ac3d.chunk.js": "/mrstatic/js/52.b512ac3d.chunk.js", "mrstatic/js/52.b512ac3d.chunk.js": "/mrstatic/js/52.b512ac3d.chunk.js",
"mrstatic/js/52.b512ac3d.chunk.js.map": "/mrstatic/js/52.b512ac3d.chunk.js.map", "mrstatic/js/52.b512ac3d.chunk.js.map": "/mrstatic/js/52.b512ac3d.chunk.js.map",
"mrstatic/css/53.01cbcb63.chunk.css": "/mrstatic/css/53.01cbcb63.chunk.css", "mrstatic/css/53.0c2dccb7.chunk.css": "/mrstatic/css/53.0c2dccb7.chunk.css",
"mrstatic/js/53.6b49c56e.chunk.js": "/mrstatic/js/53.6b49c56e.chunk.js", "mrstatic/js/53.89a07d17.chunk.js": "/mrstatic/js/53.89a07d17.chunk.js",
"mrstatic/js/53.6b49c56e.chunk.js.map": "/mrstatic/js/53.6b49c56e.chunk.js.map", "mrstatic/js/53.89a07d17.chunk.js.map": "/mrstatic/js/53.89a07d17.chunk.js.map",
"mrstatic/css/54.470b9744.chunk.css": "/mrstatic/css/54.470b9744.chunk.css", "mrstatic/css/54.470b9744.chunk.css": "/mrstatic/css/54.470b9744.chunk.css",
"mrstatic/js/54.c4e1414f.chunk.js": "/mrstatic/js/54.c4e1414f.chunk.js", "mrstatic/js/54.c4e1414f.chunk.js": "/mrstatic/js/54.c4e1414f.chunk.js",
"mrstatic/js/54.c4e1414f.chunk.js.map": "/mrstatic/js/54.c4e1414f.chunk.js.map", "mrstatic/js/54.c4e1414f.chunk.js.map": "/mrstatic/js/54.c4e1414f.chunk.js.map",
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
"mrstatic/css/50.ee45d0b0.chunk.css.map": "/mrstatic/css/50.ee45d0b0.chunk.css.map", "mrstatic/css/50.ee45d0b0.chunk.css.map": "/mrstatic/css/50.ee45d0b0.chunk.css.map",
"mrstatic/css/51.025e3921.chunk.css.map": "/mrstatic/css/51.025e3921.chunk.css.map", "mrstatic/css/51.025e3921.chunk.css.map": "/mrstatic/css/51.025e3921.chunk.css.map",
"mrstatic/css/52.ab7f5e40.chunk.css.map": "/mrstatic/css/52.ab7f5e40.chunk.css.map", "mrstatic/css/52.ab7f5e40.chunk.css.map": "/mrstatic/css/52.ab7f5e40.chunk.css.map",
"mrstatic/css/53.01cbcb63.chunk.css.map": "/mrstatic/css/53.01cbcb63.chunk.css.map", "mrstatic/css/53.0c2dccb7.chunk.css.map": "/mrstatic/css/53.0c2dccb7.chunk.css.map",
"mrstatic/css/54.470b9744.chunk.css.map": "/mrstatic/css/54.470b9744.chunk.css.map", "mrstatic/css/54.470b9744.chunk.css.map": "/mrstatic/css/54.470b9744.chunk.css.map",
"mrstatic/css/55.10a4034d.chunk.css.map": "/mrstatic/css/55.10a4034d.chunk.css.map", "mrstatic/css/55.10a4034d.chunk.css.map": "/mrstatic/css/55.10a4034d.chunk.css.map",
"mrstatic/css/56.697fa90d.chunk.css.map": "/mrstatic/css/56.697fa90d.chunk.css.map", "mrstatic/css/56.697fa90d.chunk.css.map": "/mrstatic/css/56.697fa90d.chunk.css.map",
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
"mrstatic/css/coupons.ff6280ad.chunk.css.map": "/mrstatic/css/coupons.ff6280ad.chunk.css.map", "mrstatic/css/coupons.ff6280ad.chunk.css.map": "/mrstatic/css/coupons.ff6280ad.chunk.css.map",
"mrstatic/css/deposit-order.6f3a01ca.chunk.css.map": "/mrstatic/css/deposit-order.6f3a01ca.chunk.css.map", "mrstatic/css/deposit-order.6f3a01ca.chunk.css.map": "/mrstatic/css/deposit-order.6f3a01ca.chunk.css.map",
"mrstatic/css/deposit-pay-order.2883406f.chunk.css.map": "/mrstatic/css/deposit-pay-order.2883406f.chunk.css.map", "mrstatic/css/deposit-pay-order.2883406f.chunk.css.map": "/mrstatic/css/deposit-pay-order.2883406f.chunk.css.map",
"mrstatic/css/detail.d9ff5c2c.chunk.css.map": "/mrstatic/css/detail.d9ff5c2c.chunk.css.map", "mrstatic/css/detail.08cc6c4c.chunk.css.map": "/mrstatic/css/detail.08cc6c4c.chunk.css.map",
"mrstatic/css/main.4e24407e.chunk.css.map": "/mrstatic/css/main.4e24407e.chunk.css.map", "mrstatic/css/main.4e24407e.chunk.css.map": "/mrstatic/css/main.4e24407e.chunk.css.map",
"mrstatic/css/myorders.3c41b358.chunk.css.map": "/mrstatic/css/myorders.3c41b358.chunk.css.map", "mrstatic/css/myorders.3c41b358.chunk.css.map": "/mrstatic/css/myorders.3c41b358.chunk.css.map",
"mrstatic/css/newyear-2019-landing.a33f1982.chunk.css.map": "/mrstatic/css/newyear-2019-landing.a33f1982.chunk.css.map", "mrstatic/css/newyear-2019-landing.a33f1982.chunk.css.map": "/mrstatic/css/newyear-2019-landing.a33f1982.chunk.css.map",
...@@ -228,6 +228,6 @@ ...@@ -228,6 +228,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.f2f4294d.woff", "mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.f2f4294d.woff",
"mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png", "mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png",
"mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png", "mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png",
"precache-manifest.1a78d95a6566bd98557856d8a4441bb1.js": "/precache-manifest.1a78d95a6566bd98557856d8a4441bb1.js", "precache-manifest.b93284ed7afd2d973e1ec98f65eafa66.js": "/precache-manifest.b93284ed7afd2d973e1ec98f65eafa66.js",
"service-worker.js": "/service-worker.js" "service-worker.js": "/service-worker.js"
} }
\ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/limit-free/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/common/v-list-base/index.scss"],"names":[],"mappings":"AAmGA,YACE,kBAAA,CACA,eAAgB,CAFlB,oBAKI,WAAY,CALhB,wBAQM,UAAW,CARjB,gBAaI,uBAAA,CAAA,eAAA,CACA,KAAA,CACA,MAAA,CACA,YAAA,CACA,kBAAA,CACA,aAAA,CACA,eAAA,CACA,eAAA,CACA,WAAY,CArBhB,wDAwBM,iBAAA,CACA,KAAA,CACA,iBAAA,CACA,aAAA,CACA,mBAAoB,CA5B1B,4BAgCM,MAAA,CACA,uFAAA,CAAA,+DAAA,CAAA,wDAAkF,CAjCxF,4BAqCM,OAAA,CACA,uFAAA,CAAA,+DAAA,CAAA,wDAAkF,CAtCxF,mBA2CM,UAAA,CACA,WAAA,CACA,eAAA,CACA,YAAA,CACA,kBAAA,CACA,eAAgB,CAhDtB,sCAmDQ,YAAa,CAnDrB,mBAwDM,SAAA,CACA,iBAAA,CACA,WAAA,CACA,kBAAA,CACA,aAAc,CA5DpB,0BA+DQ,UAAA,CACA,4BAA6B,CAhErC,yBAsEI,gCAAiC,CAtErC,sBA2EI,qBAAA,CACA,eAAA,CACA,wBAAkB,CA7EtB,eAkFI,sBAAuB,CAlF3B,mCAsFI,eAAgB,CAtFpB,uCAyFM,kBAAmB,CAzFzB,8BA8FI,SAAA,CACA,mBAAmB,CA/FvB,eAmGI,YAAA,CACA,kBAAA,CACA,cAAc,CArGlB,mBAwGM,WAAA,CACA,YAAA,CACA,kBAAiB,CA1GvB,oBA8GM,oBAAA,CACA,UAAW,CA/GjB,sBAoHI,eAAA,CACA,uBAAiB,CArHrB,kBAyHI,YAAA,CACA,cAAA,CACA,sBAAA,CACA,eAAA,CACA,UAAW,CA7Hf,uBAgIM,aAAA,CACA,aAAA,CACA,uBAAkB,CAlIxB,gCAsIM,UAAA,CACA,eAAA,CACA,4BAA6B,CAxInC,6CA4IM,iBAAA,CACA,YAAA,CACA,WAAA,CACA,kBAAA,CACA,eAAA,CACA,WAAA,CACA,oBAAA,CACA,UAAA,CACA,iBAAA,CACA,iBAAkB,CArJxB,yBAyJM,uBAAA,CACA,SAAU,CA1JhB,0BA8JM,UAAA,CACA,YAAA,CACA,mBAAA,CACA,WAAA,CACA,iBAAiB,CAlKvB,+BAqKQ,eAAe,CArKvB,qBA2KI,WAAA,CACA,kBAAA,CACA,uBAAA,CACA,kBAAA,CACA,oBAAA,CACA,UAAA,CACA,iBAAkB,CAItB,kBACE,kBAAA,CACA,0BAAA,CACA,wBAAA,CACA,yBAA2B,CAJ7B,yBAOI,iBAAA,CACA,iBAAmB,CARvB,6BAWM,SAAA,CACA,UAAY,CAZlB,6BAgBM,oBAAA,CACA,aAAc,CAjBpB,wBAsBI,yBAAA,CACA,YAAA,CACA,kBAAY,CAxBhB,+BA2BM,uBAAA,CACA,SAAA,CACA,WAAA,CACA,YAAA,CACA,UAAA,CACA,eAAA,CACA,uCAA0B,CAjChC,2CAqCM,2BAA4B,CArClC,0CAyCM,UAAW,CC9NjB,kBAEI,+BAAA,CACA,iBAAkB,CAHtB,2BAMQ,YAAA,CACA,WAAA,CACA,yBAAA,CACA,+BAzBW,CAgBnB,kCAYY,aAAA,CACA,uBAAA,CACA,iBAAkB,CAd9B,sCAgBgB,UAAA,CACA,aAAA,CACA,kBAAkB,CAlBlC,0CAsBY,UAAA,CACA,YAAA,CACA,iBAAA,CACA,WAAA,CACA,2BAAA,CACA,iBAAA,CACA,iBAAA,CACA,UAAA,CACA,oBAAe","file":"53.01cbcb63.chunk.css","sourcesContent":["@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.limit-free {\n background: #F9F9FB;\n min-height: 100%; }\n .limit-free .banner {\n font-size: 0; }\n .limit-free .banner img {\n width: 100%; }\n .limit-free nav {\n position: sticky;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n height: 39px;\n background: #fff;\n overflow: hidden;\n z-index: 999; }\n .limit-free nav .prev-cover, .limit-free nav .next-cover {\n position: absolute;\n top: 0;\n width: 44px;\n height: 39px;\n pointer-events: none; }\n .limit-free nav .prev-cover {\n left: 0;\n background: linear-gradient(90deg, white, rgba(255, 255, 255, 0)); }\n .limit-free nav .next-cover {\n right: 0;\n background: linear-gradient(90deg, rgba(255, 255, 255, 0), white); }\n .limit-free nav ul {\n width: 100%;\n height: 100%;\n padding: 0 18px;\n display: flex;\n align-items: center;\n overflow-x: auto; }\n .limit-free nav ul::-webkit-scrollbar {\n display: none; }\n .limit-free nav li {\n width: 20%;\n text-align: center;\n height: 100%;\n line-height: 39px;\n flex-shrink: 0; }\n .limit-free nav li.active {\n color: #09f;\n border-bottom: 1px solid #09f; }\n .limit-free .course-list {\n border-top: 1px solid transparent; }\n .limit-free .category {\n padding: 12px 12px 0;\n background: #fff;\n margin-bottom: 8px; }\n .limit-free h2 {\n scroll-margin-top: 45px; }\n .limit-free .courses li:nth-last-child(1) {\n margin-bottom: 0; }\n .limit-free .courses li:nth-last-child(1) div {\n border-bottom: none; }\n .limit-free .v-list-base-item {\n padding: 0;\n margin-bottom: 18px; }\n .limit-free h2 {\n display: flex;\n align-items: center;\n margin: 18px 0; }\n .limit-free h2 img {\n width: 12px;\n height: 12px;\n margin-right: 6px; }\n .limit-free h2 span {\n font-size: 16px;\n color: #333; }\n .limit-free .iconfont {\n font-size: 12px;\n margin-right: 4px; }\n .limit-free .info {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n font-size: 12px;\n color: #999; }\n .limit-free .info .red {\n color: #FF2121;\n font-size: 15px;\n margin-right: 10px; }\n .limit-free .info .origin-price {\n color: #999;\n font-size: 12px;\n text-decoration: line-through; }\n .limit-free .info button, .limit-free .info a {\n width: 68px;\n height: 24px;\n float: right;\n border-radius: 3px;\n background: #09f;\n border: none;\n font-size: 13px;\n color: #fff;\n line-height: 24px;\n text-align: center; }\n .limit-free .info button {\n -webkit-appearance: none;\n outline: 0; }\n .limit-free .info .bottom {\n width: 100%;\n height: 24px;\n align-self: flex-end;\n font-size: 0;\n line-height: 24px; }\n .limit-free .info .bottom span {\n font-size: 12px; }\n .limit-free .no-more {\n width: 375px;\n height: 82px;\n line-height: 82px;\n background: #F7F9FC;\n font-size: 14px;\n color: #AAA;\n text-align: center; }\n\n.get-course-popup {\n top: 210px !important;\n padding-bottom: 0 !important;\n padding-left: 0 !important;\n padding-right: 0 !important; }\n .get-course-popup .title {\n text-align: center;\n margin-bottom: 30px; }\n .get-course-popup .title img {\n width: 30px;\n height: 30px; }\n .get-course-popup .title div {\n font-size: 14px;\n color: #525C65; }\n .get-course-popup .btns {\n border-top: 1px solid #DDD;\n display: flex;\n height: 40px; }\n .get-course-popup .btns button {\n -webkit-appearance: none;\n width: 50%;\n border: none;\n outline: none;\n color: #333;\n background: #fff;\n border-radius: 0 0 5px 5px; }\n .get-course-popup .btns button:first-child {\n border-right: 1px solid #DDD; }\n .get-course-popup .btns button:last-child {\n color: #09f; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.v-list-base-item {\n padding: 10px 10px 0;\n position: relative; }\n .v-list-base-item .content {\n display: flex;\n height: 100%;\n padding-bottom: 10px;\n border-bottom: 1px solid #e7eaf1; }\n .v-list-base-item .content .cover {\n flex: 0 0 auto;\n margin-right: 16px;\n position: relative; }\n .v-list-base-item .content .cover img {\n width: 150px;\n height: 108px;\n border-radius: 3px; }\n .v-list-base-item .content .course-status {\n width: 100%;\n height: 24px;\n position: absolute;\n bottom: -1px;\n border-radius: 0 0 3px 3px;\n text-align: center;\n line-height: 24px;\n color: #fff;\n font-size: 13px; }\n"]}
\ No newline at end of file
.limit-free{background:#f9f9fb;min-height:100%}.limit-free .banner{font-size:0}.limit-free .banner img{width:100%}.limit-free nav{position:-webkit-sticky;position:sticky;top:0;left:0;display:flex;align-items:center;height:10.4vw;background:#fff;overflow:hidden;z-index:999}.limit-free nav .next-cover,.limit-free nav .prev-cover{position:absolute;top:0;width:11.733333vw;height:10.4vw;pointer-events:none}.limit-free nav .prev-cover{left:0;background:-webkit-gradient(linear,left top,right top,from(#fff),to(hsla(0,0%,100%,0)));background:-webkit-linear-gradient(left,#fff,hsla(0,0%,100%,0));background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.limit-free nav .next-cover{right:0;background:-webkit-gradient(linear,left top,right top,from(hsla(0,0%,100%,0)),to(#fff));background:-webkit-linear-gradient(left,hsla(0,0%,100%,0),#fff);background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff)}.limit-free nav ul{width:100%;height:100%;padding:0 4.8vw;display:flex;align-items:center;overflow-x:auto}.limit-free nav ul::-webkit-scrollbar{display:none}.limit-free nav li{width:20%;text-align:center;height:100%;line-height:10.4vw;flex-shrink:0}.limit-free nav li.active{color:#09f;border-bottom:1px solid #09f}.limit-free .course-list{border-top:1px solid transparent}.limit-free .category{padding:3.2vw 3.2vw 0;background:#fff;margin-bottom:2.133333vw}.limit-free h2{scroll-margin-top:12vw}.limit-free .courses li:last-child{margin-bottom:0}.limit-free .courses li:last-child div{border-bottom:none}.limit-free .v-list-base-item{padding:0;margin-bottom:4.8vw}.limit-free h2{display:flex;align-items:center;margin:4.8vw 0}.limit-free h2 img{width:3.2vw;height:3.2vw;margin-right:1.6vw}.limit-free h2 span{font-size:4.266667vw;color:#333}.limit-free .iconfont{font-size:3.2vw;margin-right:1.066667vw}.limit-free .info{display:flex;flex-wrap:wrap;align-items:flex-start;font-size:3.2vw;color:#999}.limit-free .info .red{color:#ff2121;font-size:4vw;margin-right:2.666667vw}.limit-free .info .origin-price{color:#999;font-size:3.2vw;text-decoration:line-through}.limit-free .info a,.limit-free .info button{width:18.133333vw;height:6.4vw;float:right;border-radius:.8vw;background:#09f;border:none;font-size:3.466667vw;color:#fff;line-height:6.4vw;text-align:center}.limit-free .info button{-webkit-appearance:none;outline:0}.limit-free .info .bottom{width:100%;height:6.4vw;align-self:flex-end;font-size:0;line-height:6.4vw}.limit-free .info .bottom span{font-size:3.2vw}.limit-free .no-more{width:100vw;height:21.866667vw;line-height:21.866667vw;background:#f7f9fc;font-size:3.733333vw;color:#aaa;text-align:center}.get-course-popup{top:56vw!important;padding-bottom:0!important;padding-left:0!important;padding-right:0!important}.get-course-popup .title{text-align:center;margin-bottom:8vw}.get-course-popup .title img{width:8vw;height:8vw}.get-course-popup .title div{font-size:3.733333vw;color:#525c65}.get-course-popup .btns{border-top:1px solid #ddd;display:flex;height:10.666667vw}.get-course-popup .btns button{-webkit-appearance:none;width:50%;border:none;outline:none;color:#333;background:#fff;border-radius:0 0 1.333333vw 1.333333vw}.get-course-popup .btns button:first-child{border-right:1px solid #ddd}.get-course-popup .btns button:last-child{color:#09f}.v-list-base-item{padding:2.666667vw 2.666667vw 0;position:relative}.v-list-base-item .content{display:flex;height:100%;padding-bottom:2.666667vw;border-bottom:1px solid #e7eaf1}.v-list-base-item .content .cover{flex:0 0 auto;margin-right:4.266667vw;position:relative}.v-list-base-item .content .cover img{width:40vw;height:28.8vw;border-radius:.8vw}.v-list-base-item .content .course-status{width:100%;height:6.4vw;position:absolute;bottom:-1px;border-radius:0 0 .8vw .8vw;text-align:center;line-height:6.4vw;color:#fff;font-size:3.466667vw} .limit-free{background:#f9f9fb;min-height:100%}.limit-free .banner{font-size:0}.limit-free .banner img{width:100%}.limit-free nav{position:-webkit-sticky;position:sticky;top:0;left:0;display:flex;align-items:center;height:10.4vw;background:#fff;overflow:hidden;z-index:999}.limit-free nav .next-cover,.limit-free nav .prev-cover{position:absolute;top:0;width:11.733333vw;height:10.4vw;pointer-events:none}.limit-free nav .prev-cover{left:0;background:-webkit-gradient(linear,left top,right top,from(#fff),to(hsla(0,0%,100%,0)));background:-webkit-linear-gradient(left,#fff,hsla(0,0%,100%,0));background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.limit-free nav .next-cover{right:0;background:-webkit-gradient(linear,left top,right top,from(hsla(0,0%,100%,0)),to(#fff));background:-webkit-linear-gradient(left,hsla(0,0%,100%,0),#fff);background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff)}.limit-free nav ul{width:100%;height:100%;padding:0 4.8vw;display:flex;align-items:center;overflow-x:auto}.limit-free nav ul::-webkit-scrollbar{display:none}.limit-free nav li{width:20%;text-align:center;height:100%;line-height:10.4vw;flex-shrink:0}.limit-free nav li.active{color:#09f;border-bottom:1px solid #09f}.limit-free .course-list{border-top:1px solid transparent}.limit-free .category{padding:3.2vw 3.2vw 0;background:#fff;margin-bottom:2.133333vw}.limit-free h2{scroll-margin-top:12vw}.limit-free .courses li:last-child{margin-bottom:0}.limit-free .courses li:last-child div{border-bottom:none}.limit-free .v-list-base-item{padding:0;margin-bottom:4.8vw}.limit-free h2{display:flex;align-items:center;margin:4.8vw 0}.limit-free h2 img{width:3.2vw;height:3.2vw;margin-right:1.6vw}.limit-free h2 span{font-size:4.266667vw;color:#333}.limit-free .iconfont{font-size:3.2vw;margin-right:1.066667vw}.limit-free .info{display:flex;flex-wrap:wrap;align-items:flex-start;font-size:3.2vw;color:#999}.limit-free .info .red{color:#ff2121;font-size:4vw;margin-right:2.666667vw}.limit-free .info .origin-price{color:#999;font-size:3.2vw;text-decoration:line-through}.limit-free .info a,.limit-free .info button{width:18.133333vw;height:6.4vw;float:right;border-radius:.8vw;background:#09f;border:none;font-size:3.466667vw;color:#fff;line-height:6.4vw;text-align:center}.limit-free .info button{-webkit-appearance:none;outline:0}.limit-free .info .bottom{width:100%;height:6.4vw;align-self:flex-end;font-size:0;line-height:6.4vw}.limit-free .info .bottom span{font-size:3.2vw}.limit-free .no-more{width:100vw;height:21.866667vw;line-height:21.866667vw;background:#f7f9fc;font-size:3.733333vw;color:#aaa;text-align:center}.get-course-popup{top:56vw!important;padding-bottom:0!important;padding-left:0!important;padding-right:0!important}.get-course-popup .title{text-align:center;margin-bottom:8vw}.get-course-popup .title img{width:8vw;height:8vw}.get-course-popup .title div{font-size:3.733333vw;color:#525c65}.get-course-popup .btns{border-top:1px solid #ddd;display:flex;height:10.666667vw}.get-course-popup .btns button{-webkit-appearance:none;width:50%;border:none;outline:none;color:#333;background:#fff;border-radius:0 0 1.333333vw 1.333333vw;font-size:4vw}.get-course-popup .btns button:first-child{border-right:1px solid #ddd}.get-course-popup .btns button:last-child{color:#09f}.v-list-base-item{padding:2.666667vw 2.666667vw 0;position:relative}.v-list-base-item .content{display:flex;height:100%;padding-bottom:2.666667vw;border-bottom:1px solid #e7eaf1}.v-list-base-item .content .cover{flex:0 0 auto;margin-right:4.266667vw;position:relative}.v-list-base-item .content .cover img{width:40vw;height:28.8vw;border-radius:.8vw}.v-list-base-item .content .course-status{width:100%;height:6.4vw;position:absolute;bottom:-1px;border-radius:0 0 .8vw .8vw;text-align:center;line-height:6.4vw;color:#fff;font-size:3.466667vw}
/*# sourceMappingURL=53.01cbcb63.chunk.css.map */ /*# sourceMappingURL=53.0c2dccb7.chunk.css.map */
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/limit-free/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/common/v-list-base/index.scss"],"names":[],"mappings":"AAmGA,YACE,kBAAA,CACA,eAAgB,CAFlB,oBAKI,WAAY,CALhB,wBAQM,UAAW,CARjB,gBAaI,uBAAA,CAAA,eAAA,CACA,KAAA,CACA,MAAA,CACA,YAAA,CACA,kBAAA,CACA,aAAA,CACA,eAAA,CACA,eAAA,CACA,WAAY,CArBhB,wDAwBM,iBAAA,CACA,KAAA,CACA,iBAAA,CACA,aAAA,CACA,mBAAoB,CA5B1B,4BAgCM,MAAA,CACA,uFAAA,CAAA,+DAAA,CAAA,wDAAkF,CAjCxF,4BAqCM,OAAA,CACA,uFAAA,CAAA,+DAAA,CAAA,wDAAkF,CAtCxF,mBA2CM,UAAA,CACA,WAAA,CACA,eAAA,CACA,YAAA,CACA,kBAAA,CACA,eAAgB,CAhDtB,sCAmDQ,YAAa,CAnDrB,mBAwDM,SAAA,CACA,iBAAA,CACA,WAAA,CACA,kBAAA,CACA,aAAc,CA5DpB,0BA+DQ,UAAA,CACA,4BAA6B,CAhErC,yBAsEI,gCAAiC,CAtErC,sBA2EI,qBAAA,CACA,eAAA,CACA,wBAAkB,CA7EtB,eAkFI,sBAAuB,CAlF3B,mCAsFI,eAAgB,CAtFpB,uCAyFM,kBAAmB,CAzFzB,8BA8FI,SAAA,CACA,mBAAmB,CA/FvB,eAmGI,YAAA,CACA,kBAAA,CACA,cAAc,CArGlB,mBAwGM,WAAA,CACA,YAAA,CACA,kBAAiB,CA1GvB,oBA8GM,oBAAA,CACA,UAAW,CA/GjB,sBAoHI,eAAA,CACA,uBAAiB,CArHrB,kBAyHI,YAAA,CACA,cAAA,CACA,sBAAA,CACA,eAAA,CACA,UAAW,CA7Hf,uBAgIM,aAAA,CACA,aAAA,CACA,uBAAkB,CAlIxB,gCAsIM,UAAA,CACA,eAAA,CACA,4BAA6B,CAxInC,6CA4IM,iBAAA,CACA,YAAA,CACA,WAAA,CACA,kBAAA,CACA,eAAA,CACA,WAAA,CACA,oBAAA,CACA,UAAA,CACA,iBAAA,CACA,iBAAkB,CArJxB,yBAyJM,uBAAA,CACA,SAAU,CA1JhB,0BA8JM,UAAA,CACA,YAAA,CACA,mBAAA,CACA,WAAA,CACA,iBAAiB,CAlKvB,+BAqKQ,eAAe,CArKvB,qBA2KI,WAAA,CACA,kBAAA,CACA,uBAAA,CACA,kBAAA,CACA,oBAAA,CACA,UAAA,CACA,iBAAkB,CAItB,kBACE,kBAAA,CACA,0BAAA,CACA,wBAAA,CACA,yBAA2B,CAJ7B,yBAOI,iBAAA,CACA,iBAAmB,CARvB,6BAWM,SAAA,CACA,UAAY,CAZlB,6BAgBM,oBAAA,CACA,aAAc,CAjBpB,wBAsBI,yBAAA,CACA,YAAA,CACA,kBAAY,CAxBhB,+BA2BM,uBAAA,CACA,SAAA,CACA,WAAA,CACA,YAAA,CACA,UAAA,CACA,eAAA,CACA,uCAAA,CACA,aAAe,CAlCrB,2CAsCM,2BAA4B,CAtClC,0CA0CM,UAAW,CC/NjB,kBAEI,+BAAA,CACA,iBAAkB,CAHtB,2BAMQ,YAAA,CACA,WAAA,CACA,yBAAA,CACA,+BAzBW,CAgBnB,kCAYY,aAAA,CACA,uBAAA,CACA,iBAAkB,CAd9B,sCAgBgB,UAAA,CACA,aAAA,CACA,kBAAkB,CAlBlC,0CAsBY,UAAA,CACA,YAAA,CACA,iBAAA,CACA,WAAA,CACA,2BAAA,CACA,iBAAA,CACA,iBAAA,CACA,UAAA,CACA,oBAAe","file":"53.0c2dccb7.chunk.css","sourcesContent":["@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.limit-free {\n background: #F9F9FB;\n min-height: 100%; }\n .limit-free .banner {\n font-size: 0; }\n .limit-free .banner img {\n width: 100%; }\n .limit-free nav {\n position: sticky;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n height: 39px;\n background: #fff;\n overflow: hidden;\n z-index: 999; }\n .limit-free nav .prev-cover, .limit-free nav .next-cover {\n position: absolute;\n top: 0;\n width: 44px;\n height: 39px;\n pointer-events: none; }\n .limit-free nav .prev-cover {\n left: 0;\n background: linear-gradient(90deg, white, rgba(255, 255, 255, 0)); }\n .limit-free nav .next-cover {\n right: 0;\n background: linear-gradient(90deg, rgba(255, 255, 255, 0), white); }\n .limit-free nav ul {\n width: 100%;\n height: 100%;\n padding: 0 18px;\n display: flex;\n align-items: center;\n overflow-x: auto; }\n .limit-free nav ul::-webkit-scrollbar {\n display: none; }\n .limit-free nav li {\n width: 20%;\n text-align: center;\n height: 100%;\n line-height: 39px;\n flex-shrink: 0; }\n .limit-free nav li.active {\n color: #09f;\n border-bottom: 1px solid #09f; }\n .limit-free .course-list {\n border-top: 1px solid transparent; }\n .limit-free .category {\n padding: 12px 12px 0;\n background: #fff;\n margin-bottom: 8px; }\n .limit-free h2 {\n scroll-margin-top: 45px; }\n .limit-free .courses li:nth-last-child(1) {\n margin-bottom: 0; }\n .limit-free .courses li:nth-last-child(1) div {\n border-bottom: none; }\n .limit-free .v-list-base-item {\n padding: 0;\n margin-bottom: 18px; }\n .limit-free h2 {\n display: flex;\n align-items: center;\n margin: 18px 0; }\n .limit-free h2 img {\n width: 12px;\n height: 12px;\n margin-right: 6px; }\n .limit-free h2 span {\n font-size: 16px;\n color: #333; }\n .limit-free .iconfont {\n font-size: 12px;\n margin-right: 4px; }\n .limit-free .info {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n font-size: 12px;\n color: #999; }\n .limit-free .info .red {\n color: #FF2121;\n font-size: 15px;\n margin-right: 10px; }\n .limit-free .info .origin-price {\n color: #999;\n font-size: 12px;\n text-decoration: line-through; }\n .limit-free .info button, .limit-free .info a {\n width: 68px;\n height: 24px;\n float: right;\n border-radius: 3px;\n background: #09f;\n border: none;\n font-size: 13px;\n color: #fff;\n line-height: 24px;\n text-align: center; }\n .limit-free .info button {\n -webkit-appearance: none;\n outline: 0; }\n .limit-free .info .bottom {\n width: 100%;\n height: 24px;\n align-self: flex-end;\n font-size: 0;\n line-height: 24px; }\n .limit-free .info .bottom span {\n font-size: 12px; }\n .limit-free .no-more {\n width: 375px;\n height: 82px;\n line-height: 82px;\n background: #F7F9FC;\n font-size: 14px;\n color: #AAA;\n text-align: center; }\n\n.get-course-popup {\n top: 210px !important;\n padding-bottom: 0 !important;\n padding-left: 0 !important;\n padding-right: 0 !important; }\n .get-course-popup .title {\n text-align: center;\n margin-bottom: 30px; }\n .get-course-popup .title img {\n width: 30px;\n height: 30px; }\n .get-course-popup .title div {\n font-size: 14px;\n color: #525C65; }\n .get-course-popup .btns {\n border-top: 1px solid #DDD;\n display: flex;\n height: 40px; }\n .get-course-popup .btns button {\n -webkit-appearance: none;\n width: 50%;\n border: none;\n outline: none;\n color: #333;\n background: #fff;\n border-radius: 0 0 5px 5px;\n font-size: 15px; }\n .get-course-popup .btns button:first-child {\n border-right: 1px solid #DDD; }\n .get-course-popup .btns button:last-child {\n color: #09f; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.v-list-base-item {\n padding: 10px 10px 0;\n position: relative; }\n .v-list-base-item .content {\n display: flex;\n height: 100%;\n padding-bottom: 10px;\n border-bottom: 1px solid #e7eaf1; }\n .v-list-base-item .content .cover {\n flex: 0 0 auto;\n margin-right: 16px;\n position: relative; }\n .v-list-base-item .content .cover img {\n width: 150px;\n height: 108px;\n border-radius: 3px; }\n .v-list-base-item .content .course-status {\n width: 100%;\n height: 24px;\n position: absolute;\n bottom: -1px;\n border-radius: 0 0 3px 3px;\n text-align: center;\n line-height: 24px;\n color: #fff;\n font-size: 13px; }\n"]}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[53],{1222:function(e,t,a){},1263:function(e,t,a){"use strict";a.r(t);a(155);var n=a(36),c=a.n(n),r=a(77),l=a(4),s=a(7),i=a(5),o=a(8),m=a(9),u=(a(37),a(11)),d=a.n(u),p=a(0),E=a.n(p),v=a(3),f=(a(1222),a(26)),b=a(604),g=a(159),h=a(21),y=a(16);function N(e){d.a.info(e,2,null,!1)}var k=function(e){function t(){var e,a;Object(l.a)(this,t);for(var n=arguments.length,c=new Array(n),s=0;s<n;s++)c[s]=arguments[s];return(a=Object(i.a)(this,(e=Object(o.a)(t)).call.apply(e,[this].concat(c)))).state={tab:{},courses:[],navItemStyle:{},tabActiveIndex:0},a.getData=function(){Promise.all([v.d.get("".concat(API.home,"/sys/category")),v.d.get("".concat(API.home,"/sys/course"))]).then(function(e){var t=Object(r.a)(e,2),n=t[0],c=t[1],l=n.data,s=l.data,i=l.code,o=l.msg,m=c.data,u=m.data,d=m.code,p=m.msg;200==i?a.setState({tab:s}):N(o),200===d?a.setState({courses:u}):N(p)})},a.handleClick=function(e){a.props.history.push("/detail?id=".concat(e))},a.changeTab=function(e,t){a.state.tabActiveIndex!==t&&a.setState({tabActiveIndex:t})},a.getCourse=function(e){v.d.post("".concat(API.home,"/sys/limitFree/receive"),{course_id:e}).then(function(t){var n=t.data,c=n.code,r=n.msg;if(200===c)var l=Object(f.h)({className:"get-course-popup",closable:!1,clickMaskClose:!1,title:E.a.createElement("div",null,E.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/time_limited_free/M/check.png",alt:""}),E.a.createElement("div",null,"\u8bfe\u7a0b\u6709\u6548\u671f7\u5929\uff0c\u5feb\u53bb\u5b66\u4e60\u5427~")),content:E.a.createElement("div",{className:"btns"},E.a.createElement("button",{onClick:function(){l.close(),a.getData()}},"\u77e5\u9053\u4e86"),E.a.createElement("button",{onClick:function(){a.toPlay(e),l.close()}},"\u7acb\u5373\u5b66\u4e60"))});else N(r)})},a.toPlay=function(e){a.props.history.push("/play/video?id=".concat(e))},a.formatTime=function(e){return{d:Math.floor(e/60/60/24).toString().padStart(2,"0"),h:Math.floor(e/60/60%24).toString().padStart(2,"0"),m:Math.floor(e/60%60).toString().padStart(2,"0")}},a}return Object(m.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.user,a=e.history;t.hasError&&a.push("/passport"),this.getData()}},{key:"render",value:function(){var e=this,t=this.state,a=t.tab,n=t.courses,r=t.navItemStyle,l=t.tabActiveIndex;return E.a.createElement("div",{className:"limit-free"},E.a.createElement(f.e,{arrow:!0,title:"\u9650\u65f6\u514d\u8d39"}),E.a.createElement("div",{className:"banner"},E.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/time_limited_free/M/banner.png",alt:""})),E.a.createElement("nav",null,E.a.createElement("div",{className:"prev-cover"}),E.a.createElement("ul",{ref:function(t){return e.nav=t}},a&&!!Object.keys(a).length&&Object.keys(a).map(function(t,n){return E.a.createElement("li",{key:n,className:n===l?"active":"",style:r,onClick:function(t){return e.changeTab(t,n)}},E.a.createElement("a",{href:"#category".concat(t),target:"_self"},a[t]))})),E.a.createElement("div",{className:"next-cover"})),E.a.createElement(c.a,null),E.a.createElement("div",{className:"course-list"},E.a.createElement("ul",null,a&&!!Object.keys(a).length&&Object.keys(a).map(function(t){return E.a.createElement("li",{key:t,className:"category"},E.a.createElement("h2",{id:"category".concat(t)},E.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/time_limited_free/M/category-icon.png",alt:""}),E.a.createElement("span",null,a[t])),E.a.createElement("ul",{className:"courses"},n&&n.length&&n.map(function(a,n){if(a.category_id!=t)return null;var c,r;switch(a.course_status){case 0:c=E.a.createElement("div",{className:"learner"},E.a.createElement("i",{className:"iconfont iconRectangleCopy4"}),E.a.createElement("span",null,a.play_times,"\u4eba\u5b66\u4e60")),r=E.a.createElement("div",{className:"bottom"},E.a.createElement("span",{className:"red"},"\u9650\u65f6\u514d\u8d39"),E.a.createElement("span",{className:"origin-price"},"\xa5",a.price0),E.a.createElement("button",{onClick:function(t){t.stopPropagation(),e.getCourse(a.course_id)}},"\u514d\u8d39\u9886\u53d6"));break;case 1:var l=e.formatTime(a.course_expire),s=l.d,i=l.h,o=l.m;c=E.a.createElement("div",{className:"remain-time"},E.a.createElement("i",{className:"iconfont iconiconfront-21"}),E.a.createElement("span",null,s,"\u5929",i,"\u65f6",o,"\u5206\u540e\u8fc7\u671f")),r=E.a.createElement("div",{className:"bottom"},E.a.createElement("span",{className:"red"},"\u9650\u65f6\u514d\u8d39"),E.a.createElement("span",{className:"origin-price"},"\xa5",a.price0),E.a.createElement(_,{id:a.course_id}));break;case 2:c=E.a.createElement("div",{className:"remain-time"},E.a.createElement("i",{className:"iconfont iconiconfront-21"}),E.a.createElement("span",null,a.play_times,"\u4eba\u5b66\u4e60")),r=E.a.createElement("div",{className:"bottom"},E.a.createElement("span",{className:"red"},"\xa5",a.price1),E.a.createElement("span",{className:"origin-price"},"\xa5",a.price0),E.a.createElement(y.b,{to:"/detail?id=".concat(a.course_id)},"\u7acb\u5373\u8d2d\u4e70"));break;case 3:c=E.a.createElement("div",{className:"purchased"},E.a.createElement("i",{className:"iconfont iconRectangleCopy4"}),E.a.createElement("span",null,a.play_times,"\u4eba\u5b66\u4e60")),r=E.a.createElement("div",{className:"bottom"},E.a.createElement("span",null,"\u5df2\u8d2d\u4e70"),E.a.createElement(_,{id:a.course_id}))}var m=E.a.createElement("div",{className:"info"},E.a.createElement("div",{className:"title"},a.course_title),c,r);return E.a.createElement(b.a,{img:a.image_name,handleClick:e.handleClick,id:a.course_id,info:m,key:n})})))}))),E.a.createElement("div",{className:"no-more"},"-\u6ca1\u6709\u66f4\u591a\u4e86-"))}}]),t}(p.Component);function _(e){var t=e.id;return E.a.createElement(y.b,{to:"/play/video?id=".concat(t)},"\u7acb\u5373\u5b66\u4e60")}t.default=Object(h.b)(function(e){return{user:e.user}},null)(Object(g.a)(k))},604:function(e,t,a){"use strict";var n=a(0),c=a.n(n);a(605);t.a=function(e){return c.a.createElement("li",{className:"v-list-base-item",onClick:e.handleClick.bind(void 0,e.id,e.item)},c.a.createElement("div",{className:"content"},c.a.createElement("div",{className:"cover"},e.status,c.a.createElement("img",{src:e.img,alt:""})),e.info),e.tab)}},605:function(e,t,a){}}]);
//# sourceMappingURL=53.6b49c56e.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[53],{1222:function(e,t,a){},1263:function(e,t,a){"use strict";a.r(t);a(155);var n=a(36),c=a.n(n),r=a(77),l=a(4),s=a(7),i=a(5),o=a(8),m=a(9),u=(a(37),a(11)),d=a.n(u),p=a(0),E=a.n(p),v=a(3),f=(a(1222),a(26)),b=a(604),g=a(159),h=a(21),y=a(16);function N(e){d.a.info(e,2,null,!1)}var k=function(e){function t(){var e,a;Object(l.a)(this,t);for(var n=arguments.length,c=new Array(n),s=0;s<n;s++)c[s]=arguments[s];return(a=Object(i.a)(this,(e=Object(o.a)(t)).call.apply(e,[this].concat(c)))).state={tab:{},courses:[],navItemStyle:{},tabActiveIndex:0},a.getData=function(){Promise.all([v.d.get("".concat(API.home,"/sys/category")),v.d.get("".concat(API.home,"/sys/course"))]).then(function(e){var t=Object(r.a)(e,2),n=t[0],c=t[1],l=n.data,s=l.data,i=l.code,o=l.msg,m=c.data,u=m.data,d=m.code,p=m.msg;200==i?a.setState({tab:s}):N(o),200===d?a.setState({courses:u}):N(p)})},a.handleClick=function(e){a.props.history.push("/detail?id=".concat(e))},a.changeTab=function(e,t){a.state.tabActiveIndex!==t&&a.setState({tabActiveIndex:t})},a.getCourse=function(e,t){v.d.post("".concat(API.home,"/sys/limitFree/receive"),{course_id:e}).then(function(e){var n=e.data,c=n.code,r=n.msg;if(200===c)var l=Object(f.h)({className:"get-course-popup",closable:!1,clickMaskClose:!1,title:E.a.createElement("div",null,E.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/time_limited_free/M/check.png",alt:""}),E.a.createElement("div",null,"\u8bfe\u7a0b\u6709\u6548\u671f7\u5929\uff0c\u5feb\u53bb\u5b66\u4e60\u5427~")),content:E.a.createElement("div",{className:"btns"},E.a.createElement("button",{onClick:function(){l.close(),a.getData()}},"\u77e5\u9053\u4e86"),E.a.createElement("button",{onClick:function(){a.toPlay(t),l.close()}},"\u7acb\u5373\u5b66\u4e60"))});else N(r)})},a.toPlay=function(e){a.props.history.push("/play/video?id=".concat(e))},a.formatTime=function(e){return{d:Math.floor(e/60/60/24).toString().padStart(2,"0"),h:Math.floor(e/60/60%24).toString().padStart(2,"0"),m:Math.floor(e/60%60).toString().padStart(2,"0")}},a}return Object(m.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.user,a=e.history;t.hasError&&a.push("/passport"),this.getData()}},{key:"render",value:function(){var e=this,t=this.state,a=t.tab,n=t.courses,r=t.navItemStyle,l=t.tabActiveIndex;return E.a.createElement("div",{className:"limit-free"},E.a.createElement(f.e,{arrow:!0,title:"\u9650\u65f6\u514d\u8d39"}),E.a.createElement("div",{className:"banner"},E.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/time_limited_free/M/banner.png",alt:""})),E.a.createElement("nav",null,E.a.createElement("div",{className:"prev-cover"}),E.a.createElement("ul",{ref:function(t){return e.nav=t}},a&&!!Object.keys(a).length&&Object.keys(a).map(function(t,n){return E.a.createElement("li",{key:n,className:n===l?"active":"",style:r,onClick:function(t){return e.changeTab(t,n)}},E.a.createElement("a",{href:"#category".concat(t),target:"_self"},a[t]))})),E.a.createElement("div",{className:"next-cover"})),E.a.createElement(c.a,null),E.a.createElement("div",{className:"course-list"},E.a.createElement("ul",null,a&&!!Object.keys(a).length&&Object.keys(a).map(function(t){return E.a.createElement("li",{key:t,className:"category"},E.a.createElement("h2",{id:"category".concat(t)},E.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/time_limited_free/M/category-icon.png",alt:""}),E.a.createElement("span",null,a[t])),E.a.createElement("ul",{className:"courses"},n&&n.length&&n.map(function(a,n){if(a.category_id!=t)return null;var c,r;switch(a.course_status){case 0:c=E.a.createElement("div",{className:"learner"},E.a.createElement("i",{className:"iconfont iconRectangleCopy4"}),E.a.createElement("span",null,a.play_times,"\u4eba\u5b66\u4e60")),r=E.a.createElement("div",{className:"bottom"},E.a.createElement("span",{className:"red"},"\u9650\u65f6\u514d\u8d39"),E.a.createElement("span",{className:"origin-price"},"\xa5",a.price0),E.a.createElement("button",{onClick:function(t){t.stopPropagation(),e.getCourse(a.course_id,a.v_course_id)}},"\u514d\u8d39\u9886\u53d6"));break;case 1:var l=e.formatTime(a.course_expire),s=l.d,i=l.h,o=l.m;c=E.a.createElement("div",{className:"remain-time"},E.a.createElement("i",{className:"iconfont iconiconfront-21"}),E.a.createElement("span",null,s,"\u5929",i,"\u65f6",o,"\u5206\u540e\u8fc7\u671f")),r=E.a.createElement("div",{className:"bottom"},E.a.createElement("span",{className:"red"},"\u9650\u65f6\u514d\u8d39"),E.a.createElement("span",{className:"origin-price"},"\xa5",a.price0),E.a.createElement(_,{id:a.course_id}));break;case 2:c=E.a.createElement("div",{className:"remain-time"},E.a.createElement("i",{className:"iconfont iconiconfront-21"}),E.a.createElement("span",null,a.play_times,"\u4eba\u5b66\u4e60")),r=E.a.createElement("div",{className:"bottom"},E.a.createElement("span",{className:"red"},"\xa5",a.price1),E.a.createElement("span",{className:"origin-price"},"\xa5",a.price0),E.a.createElement(y.b,{to:"/detail?id=".concat(a.course_id)},"\u7acb\u5373\u8d2d\u4e70"));break;case 3:c=E.a.createElement("div",{className:"purchased"},E.a.createElement("i",{className:"iconfont iconRectangleCopy4"}),E.a.createElement("span",null,a.play_times,"\u4eba\u5b66\u4e60")),r=E.a.createElement("div",{className:"bottom"},E.a.createElement("span",null,"\u5df2\u8d2d\u4e70"),E.a.createElement(_,{id:a.course_id}))}var m=E.a.createElement("div",{className:"info"},E.a.createElement("div",{className:"title"},a.course_title),c,r);return E.a.createElement(b.a,{img:a.image_name,handleClick:e.handleClick,id:a.course_id,info:m,key:n})})))}))),E.a.createElement("div",{className:"no-more"},"-\u6ca1\u6709\u66f4\u591a\u4e86-"))}}]),t}(p.Component);function _(e){var t=e.id;return E.a.createElement(y.b,{to:"/play/video?id=".concat(t)},"\u7acb\u5373\u5b66\u4e60")}t.default=Object(h.b)(function(e){return{user:e.user}},null)(Object(g.a)(k))},604:function(e,t,a){"use strict";var n=a(0),c=a.n(n);a(605);t.a=function(e){return c.a.createElement("li",{className:"v-list-base-item",onClick:e.handleClick.bind(void 0,e.id,e.item)},c.a.createElement("div",{className:"content"},c.a.createElement("div",{className:"cover"},e.status,c.a.createElement("img",{src:e.img,alt:""})),e.info),e.tab)}},605:function(e,t,a){}}]);
//# sourceMappingURL=53.89a07d17.chunk.js.map
\ No newline at end of file
...@@ -84,8 +84,8 @@ self.__precacheManifest = [ ...@@ -84,8 +84,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/Examination.d61b41f6.chunk.js" "url": "/mrstatic/js/Examination.d61b41f6.chunk.js"
}, },
{ {
"revision": "64fd0b167457064e12ff8a6afcd31720", "revision": "99b2454970e48c8bb00578cdca15b3d2",
"url": "/mrstatic/media/iconfont.64fd0b16.eot" "url": "/mrstatic/media/iconfont.99b24549.ttf"
}, },
{ {
"revision": "51d48862cdc5e85d7385", "revision": "51d48862cdc5e85d7385",
...@@ -96,8 +96,8 @@ self.__precacheManifest = [ ...@@ -96,8 +96,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/MyEdit.5543d38e.chunk.js" "url": "/mrstatic/js/MyEdit.5543d38e.chunk.js"
}, },
{ {
"revision": "99b2454970e48c8bb00578cdca15b3d2", "revision": "64fd0b167457064e12ff8a6afcd31720",
"url": "/mrstatic/media/iconfont.99b24549.ttf" "url": "/mrstatic/media/iconfont.64fd0b16.eot"
}, },
{ {
"revision": "dbf130143ece1b29eab0", "revision": "dbf130143ece1b29eab0",
...@@ -156,8 +156,8 @@ self.__precacheManifest = [ ...@@ -156,8 +156,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/aist-share.296e6235.chunk.js" "url": "/mrstatic/js/aist-share.296e6235.chunk.js"
}, },
{ {
"revision": "823edf43b58c101bbfb9", "revision": "750596d7ec514439d276",
"url": "/mrstatic/js/53.6b49c56e.chunk.js" "url": "/mrstatic/js/53.89a07d17.chunk.js"
}, },
{ {
"revision": "e73e4587ccffabf84093", "revision": "e73e4587ccffabf84093",
...@@ -208,7 +208,7 @@ self.__precacheManifest = [ ...@@ -208,7 +208,7 @@ self.__precacheManifest = [
"url": "/mrstatic/js/47.38966673.chunk.js" "url": "/mrstatic/js/47.38966673.chunk.js"
}, },
{ {
"revision": "29150ae27151c987041d", "revision": "5ddd0e109e59536e9814",
"url": "/mrstatic/js/detail.1fb2f7a8.chunk.js" "url": "/mrstatic/js/detail.1fb2f7a8.chunk.js"
}, },
{ {
...@@ -268,8 +268,8 @@ self.__precacheManifest = [ ...@@ -268,8 +268,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/python-class.bfcdc4e4.chunk.js" "url": "/mrstatic/js/python-class.bfcdc4e4.chunk.js"
}, },
{ {
"revision": "07fdf7a8f61d15bbff95", "revision": "e23a77296e87a702a874",
"url": "/mrstatic/js/runtime~main.ab3c5271.js" "url": "/mrstatic/js/runtime~main.b23e3441.js"
}, },
{ {
"revision": "04e5a608efc75de92c81", "revision": "04e5a608efc75de92c81",
...@@ -356,8 +356,8 @@ self.__precacheManifest = [ ...@@ -356,8 +356,8 @@ self.__precacheManifest = [
"url": "/mrstatic/css/47.0bb224f2.chunk.css" "url": "/mrstatic/css/47.0bb224f2.chunk.css"
}, },
{ {
"revision": "29150ae27151c987041d", "revision": "5ddd0e109e59536e9814",
"url": "/mrstatic/css/detail.d9ff5c2c.chunk.css" "url": "/mrstatic/css/detail.08cc6c4c.chunk.css"
}, },
{ {
"revision": "9b73d6ff57ad285dbe33", "revision": "9b73d6ff57ad285dbe33",
...@@ -400,8 +400,8 @@ self.__precacheManifest = [ ...@@ -400,8 +400,8 @@ self.__precacheManifest = [
"url": "/mrstatic/css/blessing-preheat.30803ca5.chunk.css" "url": "/mrstatic/css/blessing-preheat.30803ca5.chunk.css"
}, },
{ {
"revision": "823edf43b58c101bbfb9", "revision": "750596d7ec514439d276",
"url": "/mrstatic/css/53.01cbcb63.chunk.css" "url": "/mrstatic/css/53.0c2dccb7.chunk.css"
}, },
{ {
"revision": "9be7afc9a4dd96699eb3", "revision": "9be7afc9a4dd96699eb3",
...@@ -496,7 +496,7 @@ self.__precacheManifest = [ ...@@ -496,7 +496,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/1.5f5ee8e9.chunk.css" "url": "/mrstatic/css/1.5f5ee8e9.chunk.css"
}, },
{ {
"revision": "7d589595c6505f02022ec4a85b7991e0", "revision": "41c52a7ed6bff7dade918fc5d48ab0e3",
"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.1a78d95a6566bd98557856d8a4441bb1.js" "/precache-manifest.b93284ed7afd2d973e1ec98f65eafa66.js"
); );
workbox.clientsClaim(); workbox.clientsClaim();
......
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