Commit e2701e9e by caixinyu

更新领取优惠券使用流程

parent dfca6340
......@@ -115,8 +115,8 @@
"python-class.css": "/mrstaticcss/python-class.af18e67a.chunk.css",
"python-class.js": "/mrstaticjs/python-class.f057d585.chunk.js",
"python-class.js.map": "/mrstaticjs/python-class.f057d585.chunk.js.map",
"runtime-main.js": "/mrstaticjs/runtime-main.55513a15.js",
"runtime-main.js.map": "/mrstaticjs/runtime-main.55513a15.js.map",
"runtime-main.js": "/mrstaticjs/runtime-main.e80b3d98.js",
"runtime-main.js.map": "/mrstaticjs/runtime-main.e80b3d98.js.map",
"search.css": "/mrstaticcss/search.b0c8ab06.chunk.css",
"search.js": "/mrstaticjs/search.22ac0029.chunk.js",
"search.js.map": "/mrstaticjs/search.22ac0029.chunk.js.map",
......@@ -188,9 +188,9 @@
"mrstaticcss/65.007ae542.chunk.css": "/mrstaticcss/65.007ae542.chunk.css",
"mrstaticjs/65.91ad905a.chunk.js": "/mrstaticjs/65.91ad905a.chunk.js",
"mrstaticjs/65.91ad905a.chunk.js.map": "/mrstaticjs/65.91ad905a.chunk.js.map",
"mrstaticcss/66.148c23dc.chunk.css": "/mrstaticcss/66.148c23dc.chunk.css",
"mrstaticjs/66.a0b2d817.chunk.js": "/mrstaticjs/66.a0b2d817.chunk.js",
"mrstaticjs/66.a0b2d817.chunk.js.map": "/mrstaticjs/66.a0b2d817.chunk.js.map",
"mrstaticcss/66.83216846.chunk.css": "/mrstaticcss/66.83216846.chunk.css",
"mrstaticjs/66.63156fee.chunk.js": "/mrstaticjs/66.63156fee.chunk.js",
"mrstaticjs/66.63156fee.chunk.js.map": "/mrstaticjs/66.63156fee.chunk.js.map",
"mrstaticcss/67.7e64bb18.chunk.css": "/mrstaticcss/67.7e64bb18.chunk.css",
"mrstaticjs/67.e6616998.chunk.js": "/mrstaticjs/67.e6616998.chunk.js",
"mrstaticjs/67.e6616998.chunk.js.map": "/mrstaticjs/67.e6616998.chunk.js.map",
......@@ -222,7 +222,7 @@
"mrstaticcss/62.4156076e.chunk.css.map": "/mrstaticcss/62.4156076e.chunk.css.map",
"mrstaticcss/63.d566ee8e.chunk.css.map": "/mrstaticcss/63.d566ee8e.chunk.css.map",
"mrstaticcss/65.007ae542.chunk.css.map": "/mrstaticcss/65.007ae542.chunk.css.map",
"mrstaticcss/66.148c23dc.chunk.css.map": "/mrstaticcss/66.148c23dc.chunk.css.map",
"mrstaticcss/66.83216846.chunk.css.map": "/mrstaticcss/66.83216846.chunk.css.map",
"mrstaticcss/67.7e64bb18.chunk.css.map": "/mrstaticcss/67.7e64bb18.chunk.css.map",
"mrstaticcss/68.697a8ccf.chunk.css.map": "/mrstaticcss/68.697a8ccf.chunk.css.map",
"mrstaticcss/69.d37e6e30.chunk.css.map": "/mrstaticcss/69.d37e6e30.chunk.css.map",
......@@ -279,11 +279,11 @@
"mrstaticmedia/kanjia_cg_icon.png": "/mrstaticmedia/kanjia_cg_icon.81a489ac.png",
"mrstaticmedia/video.scss": "/mrstaticmedia/progress-share-bg.80011994.png",
"mrstaticmedia/tanchuang.png": "/mrstaticmedia/tanchuang.de9468e5.png",
"precache-manifest.bd37418e7062756e23c4a5cf0ce41557.js": "/precache-manifest.bd37418e7062756e23c4a5cf0ce41557.js",
"precache-manifest.a66fea9b0f4e7cc2313dcbdbce62c1f1.js": "/precache-manifest.a66fea9b0f4e7cc2313dcbdbce62c1f1.js",
"service-worker.js": "/service-worker.js"
},
"entrypoints": [
"mrstaticjs/runtime-main.55513a15.js",
"mrstaticjs/runtime-main.e80b3d98.js",
"mrstaticcss/51.ee6d5e86.chunk.css",
"mrstaticjs/51.54378fc2.chunk.js",
"mrstaticcss/main.a40f1613.chunk.css",
......
{"version":3,"sources":["/Users/caixinyu/mr-julyedu/src/components/pythonCourse/index.scss"],"names":[],"mappings":"AACA,OAEE,SAAU,CACV,QAAS,CACT,8BAA+B,CAChC,KAEC,6BAAiC,CAClC,cAEC,cAAe,CACf,KAAM,CACN,MAAO,CACP,QAAS,CACT,OAAQ,CACR,y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Ae,CACf,UAAW,CACX,oBAAqB,CACrB,eAAgB,CACjB,YAIC,YAAY,CACZ,aAAc,CACd,eAAgB,CAChB,wBAAkB,CAClB,wBAAmB,CACnB,yBAAoB,CACrB,kBAGC,YAAY,CACZ,kBAAY,CACZ,uBAAiB,CACjB,iBAAkB,CAClB,kBAAmB,CACnB,uCAA0B,CAC1B,gCAAiC,CACjC,oBAAe,CACf,aAAc,CACd,oBAAsB,CACtB,eAAgB,CACjB,sBAGC,wBAAkB,CAClB,sBAAiB,CAClB,wBAGC,mBAAmB,CACnB,iBAAkB,CACnB,mCAEC,eAAe,CAChB,iBAEC,aAAc,CACd,iBAAkB,CAClB,gBAAW,CACX,cAAS,CACT,WAAW,CACX,YAAY,CACZ,iBAAiB,CACjB,kBAAmB,CACnB,iBAAkB,CAClB,UAAW,CACX,iBAAkB,CAClB,eAAgB,CACjB,iBAGC,oBAAe,CACf,UAAc,CACd,oBAAsB,CACtB,kBAAmB,CACnB,sBAAiB,CAClB,UAGC,YAAa","file":"66.148c23dc.chunk.css","sourcesContent":["@import \"src/assets/css/variable\";\n*,\nbody {\n padding: 0;\n margin: 0;\n font-family: PingFangSC-Regular;\n}\nbody{\n pointer-events: initial!important;\n}\n.python-model {\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background: rgba(0, 0, 0, 0.6);\n}\n.python-course-model-box {\n width: 100%;\n height: 100%;\n top: calc(50% - 180px);\n position: relative;\n}\n.python-course-model-box img.quan {\n display: block;\n width: 375px;\n margin: 0 auto;\n}\n.CloseCircle{\n display: block;\n margin:0 auto;\n width:40px;\n height:40px;\n}\n.course-prise{\n position: absolute;\n top: 195px;\n left: 80px;\n width: 170px;\n height: 74px;\n \n}\n.course-prise-first-child{\n font-weight: bold;\n line-height: 40px;\n text-align: center;\n font-size: 26px;\n color: #f00;\n }\n .course-prise-last-child{\n color: #fff;\n text-align: center;\n line-height: 28px;\n }\ndiv {\n box-sizing: border-box;\n}\n\n.content {\n background-color: #3fa9ff;\n padding-bottom: 30px;\n}\n\n.banner {\n width: 100%;\n}\n\n.banner img {\n display: block;\n width: 100%;\n height: auto;\n}\n\n.course-list {\n padding: 0 12px;\n}\n\n.course-list-title {\n font-size: 20px;\n color: #fff;\n font-weight: 700;\n text-align: center;\n margin-bottom: 38px;\n}\n\n.course-list-item {\n min-height: 73px;\n background-color: #fff;\n border-radius: 8px;\n margin-bottom: 32px;\n position: relative;\n padding: 28px 4px 16px 20px;\n}\n\n.course-list-item-tig {\n position: absolute;\n top: -12px;\n left: 20px;\n font-size: 11px;\n min-width: 142px;\n padding: 0 4px;\n height: 24px;\n line-height: 24px;\n background-image: linear-gradient(180deg, #ffbf69 0%, #fa8d15 100%);\n border-radius: 4px;\n text-align: center;\n color: #fff;\n font-weight: 500;\n}\n\n.course-list-item-img {\n display: block;\n width: 142px;\n height: 102px;\n margin-right: 15px;\n border-radius: 4px;\n}\n\n.course-list-item-title {\n font-family: SourceHanSansCN-Bold;\n font-size: 18px;\n color: #333333;\n letter-spacing: 0.03px;\n line-height: 18px;\n font-weight: 700;\n padding-top: 6px;\n}\n\n.course-list-item-des {\n width: 154px;\n font-family: SourceHanSansCN-Normal;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0.02px;\n line-height: 12px;\n font-weight: 400;\n padding-top: 12px;\n padding-bottom: 16px;\n}\n\n.course-list-item-btn {\n display: block;\n width: 102px;\n height: 32px;\n background-image: linear-gradient(179deg, #ff7874 0%, #f5212d 100%);\n border-radius: 4px;\n text-align: center;\n line-height: 32px;\n font-size: 16px;\n color: #fff;\n text-decoration: none;\n font-weight: 700;\n}\n\n.course-des {\n margin-top: 32px;\n width: 351px;\n margin: 0 auto;\n background: #fff;\n border-radius: 8px;\n padding-right: 20px;\n padding-bottom: 16px;\n}\n\n.course-des-tilte {\n width: 351px;\n height: 40px;\n line-height: 40px;\n text-align: center;\n background: #ffe7ba;\n border-radius: 8px 8px 0 0;\n font-family: SourceHanSansCN-Bold;\n font-size: 20px;\n color: #2297fe;\n letter-spacing: 0.03px;\n font-weight: 700;\n}\n\n.course-des-container {\n padding-left: 52px;\n padding-top: 20px;\n}\n\n.course-des-content-row {\n margin-bottom: 12px;\n position: relative;\n}\n.course-des-content-row:last-child{\n margin-bottom:0;\n}\n.course-des-icon {\n display: block;\n position: absolute;\n left: -32px;\n top: 10px;\n width: 24px;\n height: 24px;\n line-height: 24px;\n background: #009aff;\n border-radius: 50%;\n color: #fff;\n text-align: center;\n font-weight: 700;\n}\n\n.course-des-text {\n font-size: 14px;\n color: #333333;\n letter-spacing: 0.02px;\n text-align: justify;\n line-height: 22px;\n}\n\n.flex-row {\n display: flex;\n}\n"]}
\ No newline at end of file
*,body{padding:0;margin:0;font-family:PingFangSC-Regular}body{pointer-events:auto!important}.python-model{position:fixed;top:0;left:0;bottom:0;right:0;background:rgba(0,0,0,.6)}.python-course-model-box{width:100%;height:100%;top:calc(50% - 48vw);position:relative}.python-course-model-box img.quan{display:block;width:100vw;margin:0 auto}.CloseCircle{display:block;margin:0 auto;width:10.666667vw;height:10.666667vw}.course-prise{position:absolute;top:52vw;left:21.333333vw;width:45.333333vw;height:19.733333vw}.course-prise-first-child{font-weight:700;line-height:10.666667vw;text-align:center;font-size:6.933333vw;color:red}.course-prise-last-child{color:#fff;text-align:center;line-height:7.466667vw}div{box-sizing:border-box}.content{background-color:#3fa9ff;padding-bottom:8vw}.banner{width:100%}.banner img{display:block;width:100%;height:auto}.course-list{padding:0 3.2vw}.course-list-title{font-size:5.333333vw;color:#fff;font-weight:700;text-align:center;margin-bottom:10.133333vw}.course-list-item{min-height:19.466667vw;background-color:#fff;border-radius:2.133333vw;margin-bottom:8.533333vw;position:relative;padding:7.466667vw 1.066667vw 4.266667vw 5.333333vw}.course-list-item-tig{position:absolute;top:-3.2vw;left:5.333333vw;font-size:2.933333vw;min-width:37.866667vw;padding:0 1.066667vw;height:6.4vw;line-height:6.4vw;background-image:linear-gradient(180deg,#ffbf69,#fa8d15);border-radius:1.066667vw;text-align:center;color:#fff;font-weight:500}.course-list-item-img{display:block;width:37.866667vw;height:27.2vw;margin-right:4vw;border-radius:1.066667vw}.course-list-item-title{font-family:SourceHanSansCN-Bold;font-size:4.8vw;color:#333;letter-spacing:.03px;line-height:4.8vw;font-weight:700;padding-top:1.6vw}.course-list-item-des{width:41.066667vw;font-family:SourceHanSansCN-Normal;font-size:3.2vw;color:#666;letter-spacing:.02px;line-height:3.2vw;font-weight:400;padding-top:3.2vw;padding-bottom:4.266667vw}.course-list-item-btn{display:block;width:27.2vw;height:8.533333vw;background-image:linear-gradient(179deg,#ff7874,#f5212d);border-radius:1.066667vw;text-align:center;line-height:8.533333vw;font-size:4.266667vw;color:#fff;text-decoration:none;font-weight:700}.course-des{width:93.6vw;margin:0 auto;background:#fff;border-radius:2.133333vw;padding-right:5.333333vw;padding-bottom:4.266667vw}.course-des-tilte{width:93.6vw;height:10.666667vw;line-height:10.666667vw;text-align:center;background:#ffe7ba;border-radius:2.133333vw 2.133333vw 0 0;font-family:SourceHanSansCN-Bold;font-size:5.333333vw;color:#2297fe;letter-spacing:.03px;font-weight:700}.course-des-container{padding-left:13.866667vw;padding-top:5.333333vw}.course-des-content-row{margin-bottom:3.2vw;position:relative}.course-des-content-row:last-child{margin-bottom:0}.course-des-icon{display:block;position:absolute;left:-8.533333vw;top:2.666667vw;width:6.4vw;height:6.4vw;line-height:6.4vw;background:#009aff;border-radius:50%;color:#fff;text-align:center;font-weight:700}.course-des-text{font-size:3.733333vw;color:#333;letter-spacing:.02px;text-align:justify;line-height:5.866667vw}.flex-row{display:flex}
/*# sourceMappingURL=66.148c23dc.chunk.css.map */
\ No newline at end of file
*,body{padding:0;margin:0;font-family:PingFangSC-Regular}body{pointer-events:auto!important}.python-model{position:fixed;top:0;left:0;bottom:0;right:0;background:rgba(0,0,0,.6)}.python-course-model-box{width:100%;height:100%;top:calc(50% - 48vw);position:relative}.python-course-model-box img.quan{display:block;width:100vw;margin:0 auto}.CloseCircle{display:block;margin:0 auto;width:10.666667vw;height:10.666667vw}.course-prise{position:absolute;top:52vw;left:21.333333vw;width:45.333333vw;height:19.733333vw}.course-prise-first-child{font-weight:700;line-height:10.666667vw;text-align:center;font-size:6.933333vw;color:red}.course-prise-last-child{color:#fff;text-align:center;line-height:7.466667vw}div{box-sizing:border-box}.content{background-color:#3fa9ff;padding-bottom:8vw}.banner{width:100%}.banner img{display:block;width:100%;height:auto}.course-list{padding:0 3.2vw}.course-list-title{font-size:5.333333vw;color:#fff;font-weight:700;text-align:center;margin-bottom:10.133333vw}.course-list-item{min-height:19.466667vw;background-color:#fff;border-radius:2.133333vw;margin-bottom:8.533333vw;position:relative;padding:7.466667vw 1.066667vw 4.266667vw 5.333333vw}.course-list-item-tig{position:absolute;top:-3.2vw;left:5.333333vw;font-size:2.933333vw;min-width:37.866667vw;padding:0 1.066667vw;height:6.4vw;line-height:6.4vw;background-image:linear-gradient(180deg,#ffbf69,#fa8d15);border-radius:1.066667vw;text-align:center;color:#fff;font-weight:500}.course-list-item-img{display:block;width:37.866667vw;height:27.2vw;margin-right:4vw;border-radius:1.066667vw}.course-list-item-title{font-family:SourceHanSansCN-Bold;font-size:4.8vw;color:#333;letter-spacing:.03px;line-height:4.8vw;font-weight:700;padding-top:1.6vw}.course-list-item-des{width:41.066667vw;font-family:SourceHanSansCN-Normal;font-size:3.2vw;color:#666;letter-spacing:.02px;line-height:3.2vw;font-weight:400;padding-top:3.2vw;padding-bottom:4.266667vw}.course-list-item-btn{background-image:linear-gradient(179deg,#ff7874,#f5212d)}.course-list-item-btn,.course-list-item-btn2{display:block;width:27.2vw;height:8.533333vw;border-radius:1.066667vw;text-align:center;line-height:8.533333vw;font-size:4.266667vw;color:#fff;text-decoration:none;font-weight:700}.course-list-item-btn2{background-image:linear-gradient(179deg,#68c0ff,#1891fe)}.course-des{width:93.6vw;margin:0 auto;background:#fff;border-radius:2.133333vw;padding-right:5.333333vw;padding-bottom:4.266667vw}.course-des-tilte{width:93.6vw;height:10.666667vw;line-height:10.666667vw;text-align:center;background:#ffe7ba;border-radius:2.133333vw 2.133333vw 0 0;font-family:SourceHanSansCN-Bold;font-size:5.333333vw;color:#2297fe;letter-spacing:.03px;font-weight:700}.course-des-container{padding-left:13.866667vw;padding-top:5.333333vw}.course-des-content-row{margin-bottom:3.2vw;position:relative}.course-des-content-row:last-child{margin-bottom:0}.course-des-icon{display:block;position:absolute;left:-8.533333vw;top:2.666667vw;width:6.4vw;height:6.4vw;line-height:6.4vw;background:#009aff;border-radius:50%;color:#fff;text-align:center;font-weight:700}.course-des-text{font-size:3.733333vw;color:#333;letter-spacing:.02px;text-align:justify;line-height:5.866667vw}.flex-row{display:flex}
/*# sourceMappingURL=66.83216846.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["/Users/caixinyu/mr-julyedu/src/components/pythonCourse/index.scss"],"names":[],"mappings":"AACA,OAEE,SAAU,CACV,QAAS,CACT,8BAA+B,CAChC,KAEC,6BAAiC,CAClC,cAEC,cAAe,CACf,KAAM,CACN,MAAO,CACP,QAAS,CACT,OAAQ,CACR,yBAA8B,CAC/B,yBAEC,UAAW,CACX,WAAY,CACZ,oBAAsB,CACtB,iBAAkB,CACnB,kCAEC,aAAc,CACd,WAAY,CACZ,aAAc,CACf,aAEC,aAAc,CACd,aAAa,CACb,iBAAU,CACV,kBAAW,CACZ,cAEC,iBAAkB,CAClB,QAAU,CACV,gBAAU,CACV,iBAAY,CACZ,kBAAY,CAEb,0BAEG,eAAiB,CACjB,uBAAiB,CACjB,iBAAkB,CAClB,oBAAe,CACf,SAAW,CACZ,yBAEC,UAAW,CACX,iBAAkB,CAClB,sBAAiB,CAClB,IAED,qBAAsB,CACvB,SAGC,wBAAyB,CACzB,kBAAoB,CACrB,QAGC,UAAW,CACZ,YAGC,aAAc,CACd,UAAW,CACX,WAAY,CACb,aAGC,eAAe,CAChB,mBAGC,oBAAe,CACf,UAAW,CACX,eAAgB,CAChB,iBAAkB,CAClB,yBAAmB,CACpB,kBAGC,sBAAgB,CAChB,q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Ae,CACf,UAAc,CACd,oBAAsB,CACtB,kBAAmB,CACnB,sBAAiB,CAClB,UAGC,YAAa","file":"66.83216846.chunk.css","sourcesContent":["@import \"src/assets/css/variable\";\n*,\nbody {\n padding: 0;\n margin: 0;\n font-family: PingFangSC-Regular;\n}\nbody{\n pointer-events: initial!important;\n}\n.python-model {\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background: rgba(0, 0, 0, 0.6);\n}\n.python-course-model-box {\n width: 100%;\n height: 100%;\n top: calc(50% - 180px);\n position: relative;\n}\n.python-course-model-box img.quan {\n display: block;\n width: 375px;\n margin: 0 auto;\n}\n.CloseCircle{\n display: block;\n margin:0 auto;\n width:40px;\n height:40px;\n}\n.course-prise{\n position: absolute;\n top: 195px;\n left: 80px;\n width: 170px;\n height: 74px;\n \n}\n.course-prise-first-child{\n font-weight: bold;\n line-height: 40px;\n text-align: center;\n font-size: 26px;\n color: #f00;\n }\n .course-prise-last-child{\n color: #fff;\n text-align: center;\n line-height: 28px;\n }\ndiv {\n box-sizing: border-box;\n}\n\n.content {\n background-color: #3fa9ff;\n padding-bottom: 30px;\n}\n\n.banner {\n width: 100%;\n}\n\n.banner img {\n display: block;\n width: 100%;\n height: auto;\n}\n\n.course-list {\n padding: 0 12px;\n}\n\n.course-list-title {\n font-size: 20px;\n color: #fff;\n font-weight: 700;\n text-align: center;\n margin-bottom: 38px;\n}\n\n.course-list-item {\n min-height: 73px;\n background-color: #fff;\n border-radius: 8px;\n margin-bottom: 32px;\n position: relative;\n padding: 28px 4px 16px 20px;\n}\n\n.course-list-item-tig {\n position: absolute;\n top: -12px;\n left: 20px;\n font-size: 11px;\n min-width: 142px;\n padding: 0 4px;\n height: 24px;\n line-height: 24px;\n background-image: linear-gradient(180deg, #ffbf69 0%, #fa8d15 100%);\n border-radius: 4px;\n text-align: center;\n color: #fff;\n font-weight: 500;\n}\n\n.course-list-item-img {\n display: block;\n width: 142px;\n height: 102px;\n margin-right: 15px;\n border-radius: 4px;\n}\n\n.course-list-item-title {\n font-family: SourceHanSansCN-Bold;\n font-size: 18px;\n color: #333333;\n letter-spacing: 0.03px;\n line-height: 18px;\n font-weight: 700;\n padding-top: 6px;\n}\n\n.course-list-item-des {\n width: 154px;\n font-family: SourceHanSansCN-Normal;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0.02px;\n line-height: 12px;\n font-weight: 400;\n padding-top: 12px;\n padding-bottom: 16px;\n}\n\n.course-list-item-btn {\n display: block;\n width: 102px;\n height: 32px;\n background-image: linear-gradient(179deg, #ff7874 0%, #f5212d 100%);\n border-radius: 4px;\n text-align: center;\n line-height: 32px;\n font-size: 16px;\n color: #fff;\n text-decoration: none;\n font-weight: 700;\n}\n.course-list-item-btn2 {\n display: block;\n width: 102px;\n height: 32px;\n background-image: linear-gradient(179deg, #68c0ff 0%, #1891fe 100%);\n border-radius: 4px;\n text-align: center;\n line-height: 32px;\n font-size: 16px;\n color: #fff;\n text-decoration: none;\n font-weight: 700;\n}\n.course-des {\n margin-top: 32px;\n width: 351px;\n margin: 0 auto;\n background: #fff;\n border-radius: 8px;\n padding-right: 20px;\n padding-bottom: 16px;\n}\n\n.course-des-tilte {\n width: 351px;\n height: 40px;\n line-height: 40px;\n text-align: center;\n background: #ffe7ba;\n border-radius: 8px 8px 0 0;\n font-family: SourceHanSansCN-Bold;\n font-size: 20px;\n color: #2297fe;\n letter-spacing: 0.03px;\n font-weight: 700;\n}\n\n.course-des-container {\n padding-left: 52px;\n padding-top: 20px;\n}\n\n.course-des-content-row {\n margin-bottom: 12px;\n position: relative;\n}\n.course-des-content-row:last-child{\n margin-bottom:0;\n}\n.course-des-icon {\n display: block;\n position: absolute;\n left: -32px;\n top: 10px;\n width: 24px;\n height: 24px;\n line-height: 24px;\n background: #009aff;\n border-radius: 50%;\n color: #fff;\n text-align: center;\n font-weight: 700;\n}\n\n.course-des-text {\n font-size: 14px;\n color: #333333;\n letter-spacing: 0.02px;\n text-align: justify;\n line-height: 22px;\n}\n\n.flex-row {\n display: flex;\n}\n"]}
\ No newline at end of file
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "b255ca8e9ff3b1bba098063330946f3b",
"revision": "dea62eef8beb1e3de9e17132c0ad9ac6",
"url": "/index.html"
},
{
......@@ -64,8 +64,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticcss/65.007ae542.chunk.css"
},
{
"revision": "c7f67fecc9c1a871daf9",
"url": "/mrstaticcss/66.148c23dc.chunk.css"
"revision": "afca7e2e7f460391f559",
"url": "/mrstaticcss/66.83216846.chunk.css"
},
{
"revision": "c9b861a807da69dd260a",
......@@ -356,8 +356,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticjs/65.91ad905a.chunk.js"
},
{
"revision": "c7f67fecc9c1a871daf9",
"url": "/mrstaticjs/66.a0b2d817.chunk.js"
"revision": "afca7e2e7f460391f559",
"url": "/mrstaticjs/66.63156fee.chunk.js"
},
{
"revision": "c9b861a807da69dd260a",
......@@ -520,8 +520,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/mrstaticjs/python-class.f057d585.chunk.js"
},
{
"revision": "bc8b2ca451dbbfa7f4d0",
"url": "/mrstaticjs/runtime-main.55513a15.js"
"revision": "5d48dbeb9dfbf6fc2ab9",
"url": "/mrstaticjs/runtime-main.e80b3d98.js"
},
{
"revision": "eade04b8c861219d43a1",
......
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/precache-manifest.bd37418e7062756e23c4a5cf0ce41557.js"
"/precache-manifest.a66fea9b0f4e7cc2313dcbdbce62c1f1.js"
);
self.addEventListener('message', (event) => {
......
......@@ -43,7 +43,8 @@ class PythonCourse extends Component {
courseName: "课程专用",
prise: "100.00",
code: null,
getBool:false
getBool: false,
quanArr:[]
}
}
......@@ -54,7 +55,13 @@ class PythonCourse extends Component {
//领取过券
if (cookie.get("getBool")) {
this.setState({
getBool:true
getBool: true
})
}
let codeArr = cookie.get("quanArr")
if (codeArr) {
this.setState({
quanArr:JSON.parse(codeArr)
})
}
// if (cookie.get("token") && cookie.get("uid")) {
......@@ -70,6 +77,7 @@ class PythonCourse extends Component {
// console.log('登了');
// }
}
quanBool=(code) => this.state.quanArr.indexOf(code)>-1
showQuan = (id) => {
// this.getUser()
this.setState({
......@@ -92,19 +100,23 @@ class PythonCourse extends Component {
}
})
}
gotoCourse = () => {
gotoCourse = (code) => {
const _this = this
let codeArr = cookie.get("quanArr")?cookie.get("quanArr"):"[]"
let newQuanArr = [...new Set([...JSON.parse(codeArr),code])]
cookie.set("quanArr", JSON.stringify(newQuanArr))
if (cookie.get("token") && cookie.get("uid")) {
console.log("已经登录")
http
.post(`${API.home}/m/coupon/exchange`, {
code: _this.state.code,
code: code,
type: "order",
})
.then((res) => {
const data = res.data
if (data.code === 200) {
if(!cookie.get("getBool")){
if (!cookie.get("getBool")) {
Toast.info('领取成功', 2)
}
console.log('领取成功');
......@@ -119,10 +131,11 @@ class PythonCourse extends Component {
} else {
console.log('未登录');
Toast.info('领取成功', 2)
cookie.set("getBool",true)
setTimeout(function(){
cookie.set("getBool", true)
setTimeout(function () {
_this.props.history.push("/passport")
},1000)
}, 1000)
}
}
......@@ -139,7 +152,7 @@ class PythonCourse extends Component {
render() {
const { user } = this.props
const uid = user && user.data && user.data.uid
const { CourseUrl, modelBool, courseName, prise, code,getBool } = this.state
const { CourseUrl, modelBool, courseName, prise, code, getBool } = this.state
return (
<div id="python-box" className="python-study">
<div className="content">
......@@ -160,10 +173,17 @@ class PythonCourse extends Component {
<div className="course-list-item-title">Python图文课</div>
<div className="course-list-item-des">课时:17节闯关训练+17实操</div>
<div>
<a
className="course-list-item-btn"
onClick={(e) => { e.stopPropagation(); this.showQuan(0) }}
>领劵0元购</a>
{this.quanBool('B4C719F1D6') ?
<a
className="course-list-item-btn2"
onClick={(e) => { e.stopPropagation(); this.gotoCourse('B4C719F1D6') }}
>立即使用</a>
:
<a
className="course-list-item-btn"
onClick={(e) => { e.stopPropagation(); this.showQuan(0) }}
>领劵0元购</a>
}
</div>
</div>
</div>
......@@ -180,10 +200,18 @@ class PythonCourse extends Component {
<div className="course-list-item-title">Python数据分析</div>
<div className="course-list-item-des">课时:31节课</div>
<div>
<a
className="course-list-item-btn"
onClick={(e) => { e.stopPropagation(); this.showQuan(1) }}
>领劵0元购</a>
{this.quanBool('7DE0F40CE5') ?
<a
className="course-list-item-btn2"
onClick={(e) => { e.stopPropagation(); this.gotoCourse('7DE0F40CE5') }}
>立即使用</a>
:
<a
className="course-list-item-btn"
onClick={(e) => { e.stopPropagation(); this.showQuan(1) }}
>领劵0元购</a>
}
</div>
</div>
</div>
......@@ -202,10 +230,17 @@ class PythonCourse extends Component {
<div className="course-list-item-title">机器学习图文课</div>
<div className="course-list-item-des">课时:31节闯关课</div>
<div>
<a
className="course-list-item-btn"
onClick={(e) => { e.stopPropagation(); this.showQuan(2) }}
>领劵0元购</a>
{this.quanBool('8AED2B4DE5') ?
<a
className="course-list-item-btn2"
onClick={(e) => { e.stopPropagation(); this.gotoCourse('8AED2B4DE5') }}
>立即使用</a>
:
<a
className="course-list-item-btn"
onClick={(e) => { e.stopPropagation(); this.showQuan(2) }}
>领劵0元购</a>
}
</div>
</div>
</div>
......@@ -241,7 +276,7 @@ class PythonCourse extends Component {
{modelBool &&
<div className="python-model">
<div className="python-course-model-box">
<img className="quan" src={getBool?tanchuang:"https://www.julyedu.com/Public/img/tanchuang@3x.8f8490fd.png"} onClick={() => { this.gotoCourse() }} alt="" />
<img className="quan" src="https://www.julyedu.com/Public/img/tanchuang@3x.8f8490fd.png" onClick={() => { this.gotoCourse(code) }} alt="" />
<div className="course-prise">
<div className="course-prise-first-child">
{this.state.prise}
......
......@@ -152,7 +152,19 @@ div {
text-decoration: none;
font-weight: 700;
}
.course-list-item-btn2 {
display: block;
width: 102px;
height: 32px;
background-image: linear-gradient(179deg, #68c0ff 0%, #1891fe 100%);
border-radius: 4px;
text-align: center;
line-height: 32px;
font-size: 16px;
color: #fff;
text-decoration: none;
font-weight: 700;
}
.course-des {
margin-top: 32px;
width: 351px;
......
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