Commit 960f94e6 by zhanghaozhe

Merge branch 'master' of gitlab.julyedu.com:baiguangyao/mr-julyedu

parents e0291119 fc93ccf3
{ {
"BargainMiddlePage.css": "/static/css/BargainMiddlePage.6d24aba4.chunk.css", "BargainMiddlePage.css": "/static/css/BargainMiddlePage.6d24aba4.chunk.css",
"BargainMiddlePage.js": "/static/js/BargainMiddlePage.e6893cf2.chunk.js", "BargainMiddlePage.js": "/static/js/BargainMiddlePage.71acf373.chunk.js",
"BargainMiddlePage.js.map": "/static/js/BargainMiddlePage.e6893cf2.chunk.js.map", "BargainMiddlePage.js.map": "/static/js/BargainMiddlePage.71acf373.chunk.js.map",
"Classify.css": "/static/css/Classify.5ed0fc89.chunk.css", "Classify.css": "/static/css/Classify.5ed0fc89.chunk.css",
"Classify.js": "/static/js/Classify.f39f4af6.chunk.js", "Classify.js": "/static/js/Classify.f39f4af6.chunk.js",
"Classify.js.map": "/static/js/Classify.f39f4af6.chunk.js.map", "Classify.js.map": "/static/js/Classify.f39f4af6.chunk.js.map",
"CourseList.css": "/static/css/CourseList.5ce769bd.chunk.css", "CourseList.css": "/static/css/CourseList.5ce769bd.chunk.css",
"CourseList.js": "/static/js/CourseList.1d564862.chunk.js", "CourseList.js": "/static/js/CourseList.6b8635fc.chunk.js",
"CourseList.js.map": "/static/js/CourseList.1d564862.chunk.js.map", "CourseList.js.map": "/static/js/CourseList.6b8635fc.chunk.js.map",
"DrawDocument.css": "/static/css/DrawDocument.aeb3f822.chunk.css", "DrawDocument.css": "/static/css/DrawDocument.aeb3f822.chunk.css",
"DrawDocument.js": "/static/js/DrawDocument.7fd9d55d.chunk.js", "DrawDocument.js": "/static/js/DrawDocument.7fd9d55d.chunk.js",
"DrawDocument.js.map": "/static/js/DrawDocument.7fd9d55d.chunk.js.map", "DrawDocument.js.map": "/static/js/DrawDocument.7fd9d55d.chunk.js.map",
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
"Examination.js.map": "/static/js/Examination.a16b0638.chunk.js.map", "Examination.js.map": "/static/js/Examination.a16b0638.chunk.js.map",
"MyEdit.js": "/static/js/MyEdit.539ac99a.chunk.js", "MyEdit.js": "/static/js/MyEdit.539ac99a.chunk.js",
"MyEdit.js.map": "/static/js/MyEdit.539ac99a.chunk.js.map", "MyEdit.js.map": "/static/js/MyEdit.539ac99a.chunk.js.map",
"Order.css": "/static/css/Order.061a2017.chunk.css", "Order.css": "/static/css/Order.c25de43a.chunk.css",
"Order.js": "/static/js/Order.f6c14d09.chunk.js", "Order.js": "/static/js/Order.36a03aa7.chunk.js",
"Order.js.map": "/static/js/Order.f6c14d09.chunk.js.map", "Order.js.map": "/static/js/Order.36a03aa7.chunk.js.map",
"Orderinfo.js": "/static/js/Orderinfo.229e2d92.chunk.js", "Orderinfo.js": "/static/js/Orderinfo.229e2d92.chunk.js",
"Orderinfo.js.map": "/static/js/Orderinfo.229e2d92.chunk.js.map", "Orderinfo.js.map": "/static/js/Orderinfo.229e2d92.chunk.js.map",
"PayOrder.css": "/static/css/PayOrder.71617dc9.chunk.css", "PayOrder.css": "/static/css/PayOrder.71617dc9.chunk.css",
...@@ -37,22 +37,22 @@ ...@@ -37,22 +37,22 @@
"aist-share.js": "/static/js/aist-share.a340851a.chunk.js", "aist-share.js": "/static/js/aist-share.a340851a.chunk.js",
"aist-share.js.map": "/static/js/aist-share.a340851a.chunk.js.map", "aist-share.js.map": "/static/js/aist-share.a340851a.chunk.js.map",
"coupons.css": "/static/css/coupons.f2c7a13b.chunk.css", "coupons.css": "/static/css/coupons.f2c7a13b.chunk.css",
"coupons.js": "/static/js/coupons.8698a12a.chunk.js", "coupons.js": "/static/js/coupons.b6c44482.chunk.js",
"coupons.js.map": "/static/js/coupons.8698a12a.chunk.js.map", "coupons.js.map": "/static/js/coupons.b6c44482.chunk.js.map",
"detail.css": "/static/css/detail.f878917b.chunk.css", "detail.css": "/static/css/detail.f878917b.chunk.css",
"detail.js": "/static/js/detail.f91e31ea.chunk.js", "detail.js": "/static/js/detail.083b87f5.chunk.js",
"detail.js.map": "/static/js/detail.f91e31ea.chunk.js.map", "detail.js.map": "/static/js/detail.083b87f5.chunk.js.map",
"main.css": "/static/css/main.f2c45c83.chunk.css", "main.css": "/static/css/main.ae11b5d9.chunk.css",
"main.js": "/static/js/main.6fca9af4.chunk.js", "main.js": "/static/js/main.6fb5eb6b.chunk.js",
"main.js.map": "/static/js/main.6fca9af4.chunk.js.map", "main.js.map": "/static/js/main.6fb5eb6b.chunk.js.map",
"myorders.css": "/static/css/myorders.789a128d.chunk.css", "myorders.css": "/static/css/myorders.789a128d.chunk.css",
"myorders.js": "/static/js/myorders.d9a9fa8b.chunk.js", "myorders.js": "/static/js/myorders.d9a9fa8b.chunk.js",
"myorders.js.map": "/static/js/myorders.d9a9fa8b.chunk.js.map", "myorders.js.map": "/static/js/myorders.d9a9fa8b.chunk.js.map",
"purchased.css": "/static/css/purchased.bd80fb0a.chunk.css", "purchased.css": "/static/css/purchased.bd80fb0a.chunk.css",
"purchased.js": "/static/js/purchased.1a0cc90e.chunk.js", "purchased.js": "/static/js/purchased.1a0cc90e.chunk.js",
"purchased.js.map": "/static/js/purchased.1a0cc90e.chunk.js.map", "purchased.js.map": "/static/js/purchased.1a0cc90e.chunk.js.map",
"runtime~main.js": "/static/js/runtime~main.70f62e54.js", "runtime~main.js": "/static/js/runtime~main.89451ebc.js",
"runtime~main.js.map": "/static/js/runtime~main.70f62e54.js.map", "runtime~main.js.map": "/static/js/runtime~main.89451ebc.js.map",
"search.css": "/static/css/search.066ba825.chunk.css", "search.css": "/static/css/search.066ba825.chunk.css",
"search.js": "/static/js/search.c4d7f744.chunk.js", "search.js": "/static/js/search.c4d7f744.chunk.js",
"search.js.map": "/static/js/search.c4d7f744.chunk.js.map", "search.js.map": "/static/js/search.c4d7f744.chunk.js.map",
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
"static/js/31.1bf13040.chunk.js": "/static/js/31.1bf13040.chunk.js", "static/js/31.1bf13040.chunk.js": "/static/js/31.1bf13040.chunk.js",
"static/js/31.1bf13040.chunk.js.map": "/static/js/31.1bf13040.chunk.js.map", "static/js/31.1bf13040.chunk.js.map": "/static/js/31.1bf13040.chunk.js.map",
"index.html": "/index.html", "index.html": "/index.html",
"precache-manifest.9406ce1c3e00f0d1291d0662cb746e15.js": "/precache-manifest.9406ce1c3e00f0d1291d0662cb746e15.js", "precache-manifest.bd0766a7b7d4c422d1044f30af6f2265.js": "/precache-manifest.bd0766a7b7d4c422d1044f30af6f2265.js",
"service-worker.js": "/service-worker.js", "service-worker.js": "/service-worker.js",
"static/css/24.965d713a.chunk.css.map": "/static/css/24.965d713a.chunk.css.map", "static/css/24.965d713a.chunk.css.map": "/static/css/24.965d713a.chunk.css.map",
"static/css/26.73976871.chunk.css.map": "/static/css/26.73976871.chunk.css.map", "static/css/26.73976871.chunk.css.map": "/static/css/26.73976871.chunk.css.map",
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
"static/css/CourseList.5ce769bd.chunk.css.map": "/static/css/CourseList.5ce769bd.chunk.css.map", "static/css/CourseList.5ce769bd.chunk.css.map": "/static/css/CourseList.5ce769bd.chunk.css.map",
"static/css/DrawDocument.aeb3f822.chunk.css.map": "/static/css/DrawDocument.aeb3f822.chunk.css.map", "static/css/DrawDocument.aeb3f822.chunk.css.map": "/static/css/DrawDocument.aeb3f822.chunk.css.map",
"static/css/Examination.7bb0622b.chunk.css.map": "/static/css/Examination.7bb0622b.chunk.css.map", "static/css/Examination.7bb0622b.chunk.css.map": "/static/css/Examination.7bb0622b.chunk.css.map",
"static/css/Order.061a2017.chunk.css.map": "/static/css/Order.061a2017.chunk.css.map", "static/css/Order.c25de43a.chunk.css.map": "/static/css/Order.c25de43a.chunk.css.map",
"static/css/PayOrder.71617dc9.chunk.css.map": "/static/css/PayOrder.71617dc9.chunk.css.map", "static/css/PayOrder.71617dc9.chunk.css.map": "/static/css/PayOrder.71617dc9.chunk.css.map",
"static/css/Preferential.003de950.chunk.css.map": "/static/css/Preferential.003de950.chunk.css.map", "static/css/Preferential.003de950.chunk.css.map": "/static/css/Preferential.003de950.chunk.css.map",
"static/css/SearchResult.b968f5d5.chunk.css.map": "/static/css/SearchResult.b968f5d5.chunk.css.map", "static/css/SearchResult.b968f5d5.chunk.css.map": "/static/css/SearchResult.b968f5d5.chunk.css.map",
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
"static/css/aist-share.a97e13d0.chunk.css.map": "/static/css/aist-share.a97e13d0.chunk.css.map", "static/css/aist-share.a97e13d0.chunk.css.map": "/static/css/aist-share.a97e13d0.chunk.css.map",
"static/css/coupons.f2c7a13b.chunk.css.map": "/static/css/coupons.f2c7a13b.chunk.css.map", "static/css/coupons.f2c7a13b.chunk.css.map": "/static/css/coupons.f2c7a13b.chunk.css.map",
"static/css/detail.f878917b.chunk.css.map": "/static/css/detail.f878917b.chunk.css.map", "static/css/detail.f878917b.chunk.css.map": "/static/css/detail.f878917b.chunk.css.map",
"static/css/main.f2c45c83.chunk.css.map": "/static/css/main.f2c45c83.chunk.css.map", "static/css/main.ae11b5d9.chunk.css.map": "/static/css/main.ae11b5d9.chunk.css.map",
"static/css/myorders.789a128d.chunk.css.map": "/static/css/myorders.789a128d.chunk.css.map", "static/css/myorders.789a128d.chunk.css.map": "/static/css/myorders.789a128d.chunk.css.map",
"static/css/purchased.bd80fb0a.chunk.css.map": "/static/css/purchased.bd80fb0a.chunk.css.map", "static/css/purchased.bd80fb0a.chunk.css.map": "/static/css/purchased.bd80fb0a.chunk.css.map",
"static/css/search.066ba825.chunk.css.map": "/static/css/search.066ba825.chunk.css.map", "static/css/search.066ba825.chunk.css.map": "/static/css/search.066ba825.chunk.css.map",
......
...@@ -4,7 +4,7 @@ self.__precacheManifest = [ ...@@ -4,7 +4,7 @@ self.__precacheManifest = [
"url": "/static/js/purchased.1a0cc90e.chunk.js" "url": "/static/js/purchased.1a0cc90e.chunk.js"
}, },
{ {
"revision": "5986e8d0695cc5584ce7", "revision": "c4da9f303e33dc6822e5",
"url": "/static/css/BargainMiddlePage.6d24aba4.chunk.css" "url": "/static/css/BargainMiddlePage.6d24aba4.chunk.css"
}, },
{ {
...@@ -16,12 +16,12 @@ self.__precacheManifest = [ ...@@ -16,12 +16,12 @@ self.__precacheManifest = [
"url": "/static/js/Classify.f39f4af6.chunk.js" "url": "/static/js/Classify.f39f4af6.chunk.js"
}, },
{ {
"revision": "faaf93a6059b647ff5b8", "revision": "6444a4520a61fe72ab68",
"url": "/static/css/CourseList.5ce769bd.chunk.css" "url": "/static/css/CourseList.5ce769bd.chunk.css"
}, },
{ {
"revision": "faaf93a6059b647ff5b8", "revision": "6444a4520a61fe72ab68",
"url": "/static/js/CourseList.1d564862.chunk.js" "url": "/static/js/CourseList.6b8635fc.chunk.js"
}, },
{ {
"revision": "2a34a8f4ca1effab3622", "revision": "2a34a8f4ca1effab3622",
...@@ -44,12 +44,12 @@ self.__precacheManifest = [ ...@@ -44,12 +44,12 @@ self.__precacheManifest = [
"url": "/static/js/MyEdit.539ac99a.chunk.js" "url": "/static/js/MyEdit.539ac99a.chunk.js"
}, },
{ {
"revision": "43de7a580069d7b6a152", "revision": "a5556c783e0f308d7cec",
"url": "/static/css/Order.061a2017.chunk.css" "url": "/static/css/Order.c25de43a.chunk.css"
}, },
{ {
"revision": "43de7a580069d7b6a152", "revision": "a5556c783e0f308d7cec",
"url": "/static/js/Order.f6c14d09.chunk.js" "url": "/static/js/Order.36a03aa7.chunk.js"
}, },
{ {
"revision": "a922bc1867d35985dd06", "revision": "a922bc1867d35985dd06",
...@@ -96,28 +96,28 @@ self.__precacheManifest = [ ...@@ -96,28 +96,28 @@ self.__precacheManifest = [
"url": "/static/js/aist-share.a340851a.chunk.js" "url": "/static/js/aist-share.a340851a.chunk.js"
}, },
{ {
"revision": "94c589488aecee99ef2c", "revision": "dfc52b8c75cbc0a0b1ee",
"url": "/static/css/coupons.f2c7a13b.chunk.css" "url": "/static/css/coupons.f2c7a13b.chunk.css"
}, },
{ {
"revision": "94c589488aecee99ef2c", "revision": "dfc52b8c75cbc0a0b1ee",
"url": "/static/js/coupons.8698a12a.chunk.js" "url": "/static/js/coupons.b6c44482.chunk.js"
}, },
{ {
"revision": "8af9cf5daf6053ef2485", "revision": "de20ebca55012e0dbc3e",
"url": "/static/css/detail.f878917b.chunk.css" "url": "/static/css/detail.f878917b.chunk.css"
}, },
{ {
"revision": "8af9cf5daf6053ef2485", "revision": "de20ebca55012e0dbc3e",
"url": "/static/js/detail.f91e31ea.chunk.js" "url": "/static/js/detail.083b87f5.chunk.js"
}, },
{ {
"revision": "145867b1cb91af8fb205", "revision": "f49c0afc3b5d679c7a47",
"url": "/static/css/main.f2c45c83.chunk.css" "url": "/static/css/main.ae11b5d9.chunk.css"
}, },
{ {
"revision": "145867b1cb91af8fb205", "revision": "f49c0afc3b5d679c7a47",
"url": "/static/js/main.6fca9af4.chunk.js" "url": "/static/js/main.6fb5eb6b.chunk.js"
}, },
{ {
"revision": "01b227671055f504163d", "revision": "01b227671055f504163d",
...@@ -132,12 +132,12 @@ self.__precacheManifest = [ ...@@ -132,12 +132,12 @@ self.__precacheManifest = [
"url": "/static/css/purchased.bd80fb0a.chunk.css" "url": "/static/css/purchased.bd80fb0a.chunk.css"
}, },
{ {
"revision": "5986e8d0695cc5584ce7", "revision": "c4da9f303e33dc6822e5",
"url": "/static/js/BargainMiddlePage.e6893cf2.chunk.js" "url": "/static/js/BargainMiddlePage.71acf373.chunk.js"
}, },
{ {
"revision": "316a62de380efa0376d4", "revision": "24b15e9f5b5581ff142d",
"url": "/static/js/runtime~main.70f62e54.js" "url": "/static/js/runtime~main.89451ebc.js"
}, },
{ {
"revision": "b0173d90c41e80d3abe8", "revision": "b0173d90c41e80d3abe8",
...@@ -212,16 +212,16 @@ self.__precacheManifest = [ ...@@ -212,16 +212,16 @@ self.__precacheManifest = [
"url": "/static/js/28.ab85697f.chunk.js" "url": "/static/js/28.ab85697f.chunk.js"
}, },
{ {
"revision": "55ad4bbcfbe7879698a2538de5145a09", "revision": "10b7bd5b99a2a0a2f1a30d7ed72ec1a0",
"url": "/static/media/iconfont.55ad4bbc.ttf" "url": "/static/media/iconfont.10b7bd5b.eot"
}, },
{ {
"revision": "0ddb8222b83ddc441ccb", "revision": "0ddb8222b83ddc441ccb",
"url": "/static/js/29.52529984.chunk.js" "url": "/static/js/29.52529984.chunk.js"
}, },
{ {
"revision": "10b7bd5b99a2a0a2f1a30d7ed72ec1a0", "revision": "55ad4bbcfbe7879698a2538de5145a09",
"url": "/static/media/iconfont.10b7bd5b.eot" "url": "/static/media/iconfont.55ad4bbc.ttf"
}, },
{ {
"revision": "e0787ad15d0a12c4d4fc", "revision": "e0787ad15d0a12c4d4fc",
...@@ -260,7 +260,7 @@ self.__precacheManifest = [ ...@@ -260,7 +260,7 @@ self.__precacheManifest = [
"url": "/static/css/24.965d713a.chunk.css" "url": "/static/css/24.965d713a.chunk.css"
}, },
{ {
"revision": "927a914525f597c6273fc877cc6ea052", "revision": "7990a8a72620c742ba8e8cb797110b63",
"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.9406ce1c3e00f0d1291d0662cb746e15.js" "/precache-manifest.bd0766a7b7d4c422d1044f30af6f2265.js"
); );
workbox.clientsClaim(); workbox.clientsClaim();
......
.order-wrapper{width:100%;height:100vh;margin-bottom:13.333333vw;background-color:#f5f5f5}.order-wrapper .order-tab{color:#000;background:#f7f9fc}.order-wrapper .order-information{display:flex;width:100%;overflow:hidden;padding:7.733333vw 4vw;color:#555;background-color:#fff;position:relative}.order-wrapper .order-information:before{content:"";left:0;right:0;bottom:0;height:.533333vw;position:absolute;background:-webkit-repeating-linear-gradient(135deg,#ff6c6c,#ff6c6c 20%,transparent 0,transparent 25%,#1989fa 0,#1989fa 45%,transparent 0,transparent 50%);background:repeating-linear-gradient(-45deg,#ff6c6c,#ff6c6c 20%,transparent 0,transparent 25%,#1989fa 0,#1989fa 45%,transparent 0,transparent 50%);background-size:21.333333vw}.order-wrapper .order-information2{height:21.333333vw;background-color:#fff;margin-top:2.133333vw;position:relative}.order-wrapper .order-information2 .user-icon{font-size:7.466667vw;flex-basis:10.666667vw}.order-wrapper .order-information2 .order-cell{height:13.333333vw;font-size:3.466667vw;color:#333;line-height:5.333333vw;flex:1 1 auto}.order-wrapper .order-information2 .order-cell .name{margin-bottom:2.666667vw}.order-wrapper .order-information2:before{content:"";left:0;right:0;bottom:0;height:.533333vw;position:absolute;background:-webkit-repeating-linear-gradient(135deg,#ff6c6c,#ff6c6c 20%,transparent 0,transparent 25%,#1989fa 0,#1989fa 45%,transparent 0,transparent 50%);background:repeating-linear-gradient(-45deg,#ff6c6c,#ff6c6c 20%,transparent 0,transparent 25%,#1989fa 0,#1989fa 45%,transparent 0,transparent 50%);background-size:21.333333vw}.order-wrapper .order-addsize{font-size:5.866667vw!important;height:5.866667vw;color:#09f}.order-wrapper .order-addsize,.order-wrapper .order-next{margin-bottom:0;line-height:5.866667vw}.order-wrapper .order-list{margin-top:2.133333vw;background-color:#f5f5f5}.order-wrapper .order-list .public-content{padding:2.666667vw 4vw}.order-wrapper .order-infotext{flex:1 1;height:5.866667vw;line-height:5.866667vw;margin-left:2.666667vw;font-size:3.733333vw;color:#555}.order-wrapper .order-info{color:#666;font-size:3.733333vw;min-width:42.666667vw;flex:1 1 auto;display:flex;flex-direction:column;justify-content:space-around}.order-wrapper .order-info .order-title{height:4.266667vw;line-height:4.266667vw;color:#333;font-size:4.266667vw}.order-wrapper .order-info .order-content{color:#666;font-size:3.733333vw;line-height:4.8vw}.order-wrapper .order-info .order-newprice{color:#ff3131;font-size:4.266667vw;margin-right:4vw}.order-wrapper .order-info .order-price{color:#999;font-size:3.2vw;text-decoration:line-through}.order-wrapper .order-bar{width:100%;position:fixed;bottom:0;z-index:2;height:13.333333vw;display:flex;font-size:3.733333vw;align-items:center;background-color:#fff}.order-wrapper .order-course{margin-left:5.333333vw}.order-wrapper .order-course .order-course-text{font-size:4.266667vw;color:#333}.order-wrapper .order-bar-text{flex:1 1;font-weight:500;text-align:right;color:#323233;padding-right:5.333333vw}.order-wrapper .order-bar-text .order-amount{font-size:3.733333vw;color:#333}.order-wrapper .order-bar-text .order-amount .order-amount-price{color:#ff3131}.order-wrapper .order-bar-text .order-preprice{font-size:3.2vw;color:#555}.order-wrapper .order-button{width:29.333333vw;height:13.333333vw;display:inline-block;padding:0;background-color:#ff9898;color:#fff;line-height:12.8vw;font-size:4.266667vw;border-radius:0;text-align:center;box-sizing:border-box;-webkit-appearance:none;-webkit-text-size-adjust:100%;border:1px solid transparent}.order-wrapper .has-info{background-color:#ff3131}.order-wrapper .v-list-item{margin-top:2.133333vw;padding:2.666667vw 4vw 0}.order-wrapper .v-list-item .content{border-bottom:none}.order-wrapper .order-prefer .am-list-content{font-size:4vw!important}.order-wrapper .order-prefer .am-list-line{padding:0 4vw}.order-wrapper .order-balance .order-balanceprice{color:#666;font-size:3.2vw}.order-wrapper .order-balance .order-balanceprice .order-money{color:#ff2121;font-size:3.2vw!important;font-weight:400;font-style:inherit;vertical-align:middle;margin:0}.order-wrapper .order-balance .am-list-content .iconiconfront-22.question-mark{font-size:6.4vw}.order-wrapper .order-balance .balance-used{font-size:6.4vw;color:#09f}.order-wrapper .order-balance .circle-icon{width:5.333333vw;height:5.333333vw;border:1px solid #bfbfbf;border-radius:50%;margin-right:.533333vw}.order-wrapper .am-list-item .am-list-line .am-list-content{color:#333}.order-wrapper .order-list .am-list-item{padding-left:0!important}.order-wrapper .order-balance{height:11.733333vw;line-height:11.733333vw;margin:2.133333vw 0 13.333333vw}.order-wrapper .order-balance .am-list-item{padding-left:0!important}.order-wrapper .order-balance .am-list-line{padding:0 4vw}.order-wrapper .order-balance .am-list-content{color:#333;font-size:4.266667vw}.order-wrapper .order-balance .am-list-content .iconiconfront-22{font-size:4.8vw;margin-left:4vw}
/*# sourceMappingURL=Order.061a2017.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["/Users/xzh/dnmp/www/mr-julyedu/src/components/order/order.scss"],"names":[],"mappings":"AAmGA,eACE,UAAA,CACA,YAAA,CACA,yBAAA,CACA,wBAzDiB,CAqDnB,0BAOI,UAAA,CACA,kBA5De,CAoDnB,kCAYI,YAAA,CACA,UAAA,CACA,eAAA,CACA,sBAAA,CACA,UAAA,CACA,qBAAA,CACA,iBAAkB,CAlBtB,yCAuBI,UAAA,CACA,MAAA,CACA,OAAA,CACA,QAAA,CACA,gBAAA,CACA,iBAAA,CACA,0JAAA,CACA,kJAAA,CACA,2BAAqB,CA/BzB,mCAmCI,kBAAA,CACA,qBAAA,CACA,qBAAA,CACA,iBAAkB,CAtCtB,8CAyCM,oBAAA,CACA,sBAAgB,CA1CtB,+CA8CM,kBAAA,CACA,oBAAA,CACA,UAAA,CACA,sBAAA,CACA,aAAc,CAlDpB,qDAqDQ,wBAAmB,CArD3B,0CA2DI,UAAA,CACA,MAAA,CACA,OAAA,CACA,QAAA,CACA,gBAAA,CACA,iBAAA,CACA,0JAAA,CACA,kJAAA,CACA,2BAAqB,CAnEzB,8BAuEI,8BAAA,CAEA,iBAAA,CACA,UACiB,CA3ErB,yDAwEI,eAAA,CAGA,sBAKkB,CAhFtB,2BAoFI,qBAAA,CACA,wBAAyB,CArF7B,2CAuFM,sBAAkB,CAvFxB,+BA4FI,QAAA,CACA,iBAAA,CACA,sBAAA,CACA,sBAAA,CACA,oBAAA,CACA,UA3LY,CA0FhB,2BAqGI,UAAA,CACA,oBAAA,CACA,qBAAA,CACA,aAAA,CACA,YAAA,CACA,qBAAA,CACA,4BAA6B,CA3GjC,wCA8GM,iBAAA,CACA,sBAAA,CACA,UAAA,CACA,oBApLQ,CAmEd,0CAqHM,UAAA,CACA,oBAAA,CACA,iBAAiB,CAvHvB,2CA2HM,aAAA,CACA,oBAAA,CACA,gBAAkB,CA7HxB,wCAiIM,UAAA,CACA,eAAA,CACA,4BAA6B,CAnInC,0BAwII,UAAA,CACA,cAAA,CACA,QAAA,CACA,SAAA,CACA,kBAAA,CACA,YAAA,CACA,oBAAA,CACA,kBAAA,CACA,qBAxMS,CAwDb,6BAoJI,sBAAiB,CApJrB,gDAuJM,oBAAA,CACA,UAnPU,CA2FhB,+BA6JI,QAAA,CACA,eAAA,CACA,gBAAA,CACA,aAAA,CACA,wBAAmB,CAjKvB,6CAoKM,oBAAA,CACA,UAhQU,CA2FhB,iEAwKQ,aApQU,CA4FlB,+CA6KM,eAAA,CACA,UAxQU,CA0FhB,6BAmLI,iBAAA,CACA,kBAAA,CACA,oBAAA,CACA,SAAA,CACA,wBAAA,CACA,UAAA,CACA,kBAAA,CACA,oBAAA,CACA,eAAA,CACA,iBAAA,CACA,qBAAA,CACA,uBAAA,CACA,6BAAA,CACA,4BAA6B,CAhMjC,yBAmMI,wBAAyB,CAnM7B,4BAuMI,qBAAA,CACA,wBAAyB,CAxM7B,qCA2MM,kBAAmB,CA3MzB,8CAiNM,uBAA0B,CAjNhC,2CAoNM,aAAe,CApNrB,kDA0NM,UAAA,CACA,eA5RQ,CAiEd,+DA8NQ,aAAA,CACA,yBAAA,CACA,eAAA,CACA,kBAAA,CACA,qBAAA,CACA,QAAS,CAnOjB,+EAuOM,eAAe,CAvOrB,4CA0OM,eAAA,CACA,UAAc,CA3OpB,2CA8OM,gBAAA,CACA,iBAAA,CACA,wBAAA,CACA,iBAAA,CACA,sBAAiB,CAlPvB,4DAuPI,UAlVY,CA2FhB,yCA2PM,wBAA0B,CA3PhC,8BAiQI,kBAAA,CACA,uBAAA,CACA,+BAAoB,CAnQxB,4CAqQM,wBAA0B,CArQhC,4CAyQM,aAAe,CAzQrB,+CA4QM,UAAA,CACA,oBAhVQ,CAmEd,iEA+QQ,eAAA,CACA,eAAiB","file":"Order.061a2017.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.order-wrapper {\n width: 100%;\n height: 100vh;\n margin-bottom: 50px;\n background-color: #f5f5f5; }\n .order-wrapper .order-tab {\n color: #000;\n background: #f7f9fc; }\n .order-wrapper .order-information {\n display: flex;\n width: 100%;\n overflow: hidden;\n padding: 29px 15px;\n color: #555;\n background-color: #fff;\n position: relative; }\n .order-wrapper .order-information::before {\n content: '';\n left: 0;\n right: 0;\n bottom: 0;\n height: 2px;\n position: absolute;\n background: -webkit-repeating-linear-gradient(135deg, #ff6c6c 0, #ff6c6c 20%, transparent 0, transparent 25%, #1989fa 0, #1989fa 45%, transparent 0, transparent 50%);\n background: repeating-linear-gradient(-45deg, #ff6c6c 0, #ff6c6c 20%, transparent 0, transparent 25%, #1989fa 0, #1989fa 45%, transparent 0, transparent 50%);\n background-size: 80px; }\n .order-wrapper .order-information2 {\n height: 80px;\n background-color: #FFF;\n margin-top: 8px;\n position: relative; }\n .order-wrapper .order-information2 .user-icon {\n font-size: 28px;\n flex-basis: 40px; }\n .order-wrapper .order-information2 .order-cell {\n height: 50px;\n font-size: 13px;\n color: #333;\n line-height: 20px;\n flex: 1 1 auto; }\n .order-wrapper .order-information2 .order-cell .name {\n margin-bottom: 10px; }\n .order-wrapper .order-information2::before {\n content: '';\n left: 0;\n right: 0;\n bottom: 0;\n height: 2px;\n position: absolute;\n background: -webkit-repeating-linear-gradient(135deg, #ff6c6c 0, #ff6c6c 20%, transparent 0, transparent 25%, #1989fa 0, #1989fa 45%, transparent 0, transparent 50%);\n background: repeating-linear-gradient(-45deg, #ff6c6c 0, #ff6c6c 20%, transparent 0, transparent 25%, #1989fa 0, #1989fa 45%, transparent 0, transparent 50%);\n background-size: 80px; }\n .order-wrapper .order-addsize {\n font-size: 22px !important;\n margin-bottom: 0px;\n height: 22px;\n color: #09f;\n line-height: 22px; }\n .order-wrapper .order-next {\n line-height: 22px;\n margin-bottom: 0px; }\n .order-wrapper .order-list {\n margin-top: 8px;\n background-color: #F5F5F5; }\n .order-wrapper .order-list .public-content {\n padding: 10px 15px; }\n .order-wrapper .order-infotext {\n flex: 1;\n height: 22px;\n line-height: 22px;\n margin-left: 10px;\n font-size: 14px;\n color: #555; }\n .order-wrapper .order-info {\n color: #666;\n font-size: 14px;\n min-width: 160px;\n flex: 1 1 auto;\n display: flex;\n flex-direction: column;\n justify-content: space-around; }\n .order-wrapper .order-info .order-title {\n height: 16px;\n line-height: 16px;\n color: #333;\n font-size: 16px; }\n .order-wrapper .order-info .order-content {\n color: #666;\n font-size: 14px;\n line-height: 18px; }\n .order-wrapper .order-info .order-newprice {\n color: #ff3131;\n font-size: 16px;\n margin-right: 15px; }\n .order-wrapper .order-info .order-price {\n color: #999;\n font-size: 12px;\n text-decoration: line-through; }\n .order-wrapper .order-bar {\n width: 100%;\n position: fixed;\n bottom: 0;\n z-index: 2;\n height: 50px;\n display: flex;\n font-size: 14px;\n align-items: center;\n background-color: #fff; }\n .order-wrapper .order-course {\n margin-left: 20px; }\n .order-wrapper .order-course .order-course-text {\n font-size: 16px;\n color: #333; }\n .order-wrapper .order-bar-text {\n flex: 1;\n font-weight: 500;\n text-align: right;\n color: #323233;\n padding-right: 20px; }\n .order-wrapper .order-bar-text .order-amount {\n font-size: 14px;\n color: #333; }\n .order-wrapper .order-bar-text .order-amount .order-amount-price {\n color: #ff3131; }\n .order-wrapper .order-bar-text .order-preprice {\n font-size: 12px;\n color: #555; }\n .order-wrapper .order-button {\n width: 110px;\n height: 50px;\n display: inline-block;\n padding: 0;\n background-color: #ff9898;\n color: #fff;\n line-height: 48px;\n font-size: 16px;\n border-radius: 0px;\n text-align: center;\n box-sizing: border-box;\n -webkit-appearance: none;\n -webkit-text-size-adjust: 100%;\n border: 1px solid transparent; }\n .order-wrapper .has-info {\n background-color: #FF3131; }\n .order-wrapper .v-list-item {\n margin-top: 8px;\n padding: 10px 15px 0 15px; }\n .order-wrapper .v-list-item .content {\n border-bottom: none; }\n .order-wrapper .order-prefer .am-list-content {\n font-size: 15px !important; }\n .order-wrapper .order-prefer .am-list-line {\n padding: 0 15px; }\n .order-wrapper .order-balance .order-balanceprice {\n color: #666;\n font-size: 12px; }\n .order-wrapper .order-balance .order-balanceprice .order-money {\n color: #ff2121;\n font-size: 12px !important;\n font-weight: normal;\n font-style: inherit;\n vertical-align: middle;\n margin: 0; }\n .order-wrapper .order-balance .am-list-content .iconiconfront-22.question-mark {\n font-size: 24px; }\n .order-wrapper .order-balance .balance-used {\n font-size: 24px;\n color: #0099FF; }\n .order-wrapper .order-balance .circle-icon {\n width: 20px;\n height: 20px;\n border: 1px solid #BFBFBF;\n border-radius: 50%;\n margin-right: 2px; }\n .order-wrapper .am-list-item .am-list-line .am-list-content {\n color: #333; }\n .order-wrapper .order-list .am-list-item {\n padding-left: 0 !important; }\n .order-wrapper .order-balance {\n height: 44px;\n line-height: 44px;\n margin: 8px 0 50px 0; }\n .order-wrapper .order-balance .am-list-item {\n padding-left: 0 !important; }\n .order-wrapper .order-balance .am-list-line {\n padding: 0 15px; }\n .order-wrapper .order-balance .am-list-content {\n color: #333;\n font-size: 16px; }\n .order-wrapper .order-balance .am-list-content .iconiconfront-22 {\n font-size: 18px;\n margin-left: 15px; }\n"]}
\ No newline at end of file
.order-wrapper{width:100%;height:100vh;margin-bottom:13.333333vw;background-color:#f5f5f5}.order-wrapper .order-tab{color:#000;background:#f7f9fc}.order-wrapper .order-information{display:flex;width:100%;overflow:hidden;padding:7.733333vw 4vw;color:#555;background-color:#fff;position:relative}.order-wrapper .order-information:before{content:"";left:0;right:0;bottom:0;height:.533333vw;position:absolute;background:-webkit-repeating-linear-gradient(135deg,#ff6c6c,#ff6c6c 20%,transparent 0,transparent 25%,#1989fa 0,#1989fa 45%,transparent 0,transparent 50%);background:repeating-linear-gradient(-45deg,#ff6c6c,#ff6c6c 20%,transparent 0,transparent 25%,#1989fa 0,#1989fa 45%,transparent 0,transparent 50%);background-size:21.333333vw}.order-wrapper .order-information2{height:21.333333vw;background-color:#fff;margin-top:2.133333vw;position:relative}.order-wrapper .order-information2 .user-icon{font-size:7.466667vw;flex-basis:10.666667vw}.order-wrapper .order-information2 .order-cell{height:13.333333vw;font-size:3.466667vw;color:#333;line-height:5.333333vw;flex:1 1 auto}.order-wrapper .order-information2 .order-cell .name{margin-bottom:2.666667vw}.order-wrapper .order-information2:before{content:"";left:0;right:0;bottom:0;height:.533333vw;position:absolute;background:-webkit-repeating-linear-gradient(135deg,#ff6c6c,#ff6c6c 20%,transparent 0,transparent 25%,#1989fa 0,#1989fa 45%,transparent 0,transparent 50%);background:repeating-linear-gradient(-45deg,#ff6c6c,#ff6c6c 20%,transparent 0,transparent 25%,#1989fa 0,#1989fa 45%,transparent 0,transparent 50%);background-size:21.333333vw}.order-wrapper .order-addsize{font-size:5.866667vw!important;height:5.866667vw;color:#09f}.order-wrapper .order-addsize,.order-wrapper .order-next{margin-bottom:0;line-height:5.866667vw}.order-wrapper .order-list{margin-top:2.133333vw;background-color:#f5f5f5}.order-wrapper .order-list .public-content{padding:2.666667vw 4vw}.order-wrapper .order-infotext{flex:1 1;height:5.866667vw;line-height:5.866667vw;margin-left:2.666667vw;font-size:3.733333vw;color:#555}.order-wrapper .order-info{color:#666;font-size:3.733333vw;min-width:42.666667vw;flex:1 1 auto;display:flex;flex-direction:column;justify-content:space-around}.order-wrapper .order-info .order-title{height:4.8vw;line-height:18x;color:#333;font-size:4.266667vw}.order-wrapper .order-info .order-content{color:#666;font-size:3.733333vw;line-height:4.8vw}.order-wrapper .order-info .order-newprice{color:#ff3131;font-size:4.266667vw;margin-right:4vw}.order-wrapper .order-info .order-price{color:#999;font-size:3.2vw;text-decoration:line-through}.order-wrapper .order-bar{width:100%;position:fixed;bottom:0;z-index:2;height:13.333333vw;display:flex;font-size:3.733333vw;align-items:center;background-color:#fff}.order-wrapper .order-course{margin-left:5.333333vw}.order-wrapper .order-course .order-course-text{font-size:4.266667vw;color:#333}.order-wrapper .order-bar-text{flex:1 1;font-weight:500;text-align:right;color:#323233;padding-right:5.333333vw}.order-wrapper .order-bar-text .order-amount{font-size:3.733333vw;color:#333}.order-wrapper .order-bar-text .order-amount .order-amount-price{color:#ff3131}.order-wrapper .order-bar-text .order-preprice{font-size:3.2vw;color:#555}.order-wrapper .order-button{width:29.333333vw;height:13.333333vw;display:inline-block;padding:0;background-color:#ff9898;color:#fff;line-height:12.8vw;font-size:4.266667vw;border-radius:0;text-align:center;box-sizing:border-box;-webkit-appearance:none;-webkit-text-size-adjust:100%;border:1px solid transparent}.order-wrapper .has-info{background-color:#ff3131}.order-wrapper .v-list-item{margin-top:2.133333vw;padding:2.666667vw 4vw 0}.order-wrapper .v-list-item .content{border-bottom:none}.order-wrapper .order-prefer .am-list-content{font-size:4vw!important}.order-wrapper .order-prefer .am-list-line{padding:0 4vw}.order-wrapper .order-balance .order-balanceprice{color:#666;font-size:3.2vw}.order-wrapper .order-balance .order-balanceprice .order-money{color:#ff2121;font-size:3.2vw!important;font-weight:400;font-style:inherit;vertical-align:middle;margin:0}.order-wrapper .order-balance .am-list-content .iconiconfront-22.question-mark{font-size:6.4vw}.order-wrapper .order-balance .balance-used{font-size:6.4vw;color:#09f}.order-wrapper .order-balance .circle-icon{width:5.333333vw;height:5.333333vw;border:1px solid #bfbfbf;border-radius:50%;margin-right:.533333vw}.order-wrapper .am-list-item .am-list-line .am-list-content{color:#333}.order-wrapper .order-list .am-list-item{padding-left:0!important}.order-wrapper .order-balance{height:11.733333vw;line-height:11.733333vw;margin:2.133333vw 0 13.333333vw}.order-wrapper .order-balance .am-list-item{padding-left:0!important}.order-wrapper .order-balance .am-list-line{padding:0 4vw}.order-wrapper .order-balance .am-list-content{color:#333;font-size:4.266667vw}.order-wrapper .order-balance .am-list-content .iconiconfront-22{font-size:4.8vw;margin-left:4vw}
/*# sourceMappingURL=Order.c25de43a.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["/Users/xzh/dnmp/www/mr-julyedu/src/components/order/order.scss"],"names":[],"mappings":"AAmGA,eACE,UAAA,CACA,YAAA,CACA,yBAAA,CACA,wBAzDiB,CAqDnB,0BAOI,UAAA,CACA,kBA5De,CAoDnB,kCAYI,YAAA,CACA,UAAA,CACA,eAAA,CACA,sBAAA,CACA,UAAA,CACA,qBAAA,CACA,iBAAkB,CAlBtB,yCAuBI,UAAA,CACA,MAAA,CACA,OAAA,CACA,QAAA,CACA,gBAAA,CACA,iBAAA,CACA,0JAAA,CACA,kJAAA,CACA,2BAAqB,CA/BzB,mCAmCI,kBAAA,CACA,qBAAA,CACA,qBAAA,CACA,iBAAkB,CAtCtB,8CAyCM,oBAAA,CACA,sBAAgB,CA1CtB,+CA8CM,kBAAA,CACA,oBAAA,CACA,UAAA,CACA,sBAAA,CACA,aAAc,CAlDpB,qDAqDQ,wBAAmB,CArD3B,0CA2DI,UAAA,CACA,MAAA,CACA,OAAA,CACA,QAAA,CACA,gBAAA,CACA,iBAAA,CACA,0JAAA,CACA,kJAAA,CACA,2BAAqB,CAnEzB,8BAuEI,8BAAA,CAEA,iBAAA,CACA,UACiB,CA3ErB,yDAwEI,eAAA,CAGA,sBAKkB,CAhFtB,2BAoFI,qBAAA,CACA,wBAAyB,CArF7B,2CAuFM,sBAAkB,CAvFxB,+BA4FI,QAAA,CACA,iBAAA,CACA,sBAAA,CACA,sBAAA,CACA,oBAAA,CACA,UA3LY,CA0FhB,2BAqGI,UAAA,CACA,oBAAA,CACA,qBAAA,CACA,aAAA,CACA,YAAA,CACA,qBAAA,CACA,4BAA6B,CA3GjC,wCA8GM,YAAA,CACA,eAAA,CACA,UAAA,CACA,oBApLQ,CAmEd,0CAqHM,UAAA,CACA,oBAAA,CACA,iBAAiB,CAvHvB,2CA2HM,aAAA,CACA,oBAAA,CACA,gBAAkB,CA7HxB,wCAiIM,UAAA,CACA,eAAA,CACA,4BAA6B,CAnInC,0BAwII,UAAA,CACA,cAAA,CACA,QAAA,CACA,SAAA,CACA,kBAAA,CACA,YAAA,CACA,oBAAA,CACA,kBAAA,CACA,qBAxMS,CAwDb,6BAoJI,sBAAiB,CApJrB,gDAuJM,oBAAA,CACA,UAnPU,CA2FhB,+BA6JI,QAAA,CACA,eAAA,CACA,gBAAA,CACA,aAAA,CACA,wBAAmB,CAjKvB,6CAoKM,oBAAA,CACA,UAhQU,CA2FhB,iEAwKQ,aApQU,CA4FlB,+CA6KM,eAAA,CACA,UAxQU,CA0FhB,6BAmLI,iBAAA,CACA,kBAAA,CACA,oBAAA,CACA,SAAA,CACA,wBAAA,CACA,UAAA,CACA,kBAAA,CACA,oBAAA,CACA,eAAA,CACA,iBAAA,CACA,qBAAA,CACA,uBAAA,CACA,6BAAA,CACA,4BAA6B,CAhMjC,yBAmMI,wBAAyB,CAnM7B,4BAuMI,qBAAA,CACA,wBAAyB,CAxM7B,qCA2MM,kBAAmB,CA3MzB,8CAiNM,uBAA0B,CAjNhC,2CAoNM,aAAe,CApNrB,kDA0NM,UAAA,CACA,eA5RQ,CAiEd,+DA8NQ,aAAA,CACA,yBAAA,CACA,eAAA,CACA,kBAAA,CACA,qBAAA,CACA,QAAS,CAnOjB,+EAuOM,eAAe,CAvOrB,4CA0OM,eAAA,CACA,UAAc,CA3OpB,2CA8OM,gBAAA,CACA,iBAAA,CACA,wBAAA,CACA,iBAAA,CACA,sBAAiB,CAlPvB,4DAuPI,UAlVY,CA2FhB,yCA2PM,wBAA0B,CA3PhC,8BAiQI,kBAAA,CACA,uBAAA,CACA,+BAAoB,CAnQxB,4CAqQM,wBAA0B,CArQhC,4CAyQM,aAAe,CAzQrB,+CA4QM,UAAA,CACA,oBAhVQ,CAmEd,iEA+QQ,eAAA,CACA,eAAiB","file":"Order.c25de43a.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.order-wrapper {\n width: 100%;\n height: 100vh;\n margin-bottom: 50px;\n background-color: #f5f5f5; }\n .order-wrapper .order-tab {\n color: #000;\n background: #f7f9fc; }\n .order-wrapper .order-information {\n display: flex;\n width: 100%;\n overflow: hidden;\n padding: 29px 15px;\n color: #555;\n background-color: #fff;\n position: relative; }\n .order-wrapper .order-information::before {\n content: '';\n left: 0;\n right: 0;\n bottom: 0;\n height: 2px;\n position: absolute;\n background: -webkit-repeating-linear-gradient(135deg, #ff6c6c 0, #ff6c6c 20%, transparent 0, transparent 25%, #1989fa 0, #1989fa 45%, transparent 0, transparent 50%);\n background: repeating-linear-gradient(-45deg, #ff6c6c 0, #ff6c6c 20%, transparent 0, transparent 25%, #1989fa 0, #1989fa 45%, transparent 0, transparent 50%);\n background-size: 80px; }\n .order-wrapper .order-information2 {\n height: 80px;\n background-color: #FFF;\n margin-top: 8px;\n position: relative; }\n .order-wrapper .order-information2 .user-icon {\n font-size: 28px;\n flex-basis: 40px; }\n .order-wrapper .order-information2 .order-cell {\n height: 50px;\n font-size: 13px;\n color: #333;\n line-height: 20px;\n flex: 1 1 auto; }\n .order-wrapper .order-information2 .order-cell .name {\n margin-bottom: 10px; }\n .order-wrapper .order-information2::before {\n content: '';\n left: 0;\n right: 0;\n bottom: 0;\n height: 2px;\n position: absolute;\n background: -webkit-repeating-linear-gradient(135deg, #ff6c6c 0, #ff6c6c 20%, transparent 0, transparent 25%, #1989fa 0, #1989fa 45%, transparent 0, transparent 50%);\n background: repeating-linear-gradient(-45deg, #ff6c6c 0, #ff6c6c 20%, transparent 0, transparent 25%, #1989fa 0, #1989fa 45%, transparent 0, transparent 50%);\n background-size: 80px; }\n .order-wrapper .order-addsize {\n font-size: 22px !important;\n margin-bottom: 0px;\n height: 22px;\n color: #09f;\n line-height: 22px; }\n .order-wrapper .order-next {\n line-height: 22px;\n margin-bottom: 0px; }\n .order-wrapper .order-list {\n margin-top: 8px;\n background-color: #F5F5F5; }\n .order-wrapper .order-list .public-content {\n padding: 10px 15px; }\n .order-wrapper .order-infotext {\n flex: 1;\n height: 22px;\n line-height: 22px;\n margin-left: 10px;\n font-size: 14px;\n color: #555; }\n .order-wrapper .order-info {\n color: #666;\n font-size: 14px;\n min-width: 160px;\n flex: 1 1 auto;\n display: flex;\n flex-direction: column;\n justify-content: space-around; }\n .order-wrapper .order-info .order-title {\n height: 18px;\n line-height: 18x;\n color: #333;\n font-size: 16px; }\n .order-wrapper .order-info .order-content {\n color: #666;\n font-size: 14px;\n line-height: 18px; }\n .order-wrapper .order-info .order-newprice {\n color: #ff3131;\n font-size: 16px;\n margin-right: 15px; }\n .order-wrapper .order-info .order-price {\n color: #999;\n font-size: 12px;\n text-decoration: line-through; }\n .order-wrapper .order-bar {\n width: 100%;\n position: fixed;\n bottom: 0;\n z-index: 2;\n height: 50px;\n display: flex;\n font-size: 14px;\n align-items: center;\n background-color: #fff; }\n .order-wrapper .order-course {\n margin-left: 20px; }\n .order-wrapper .order-course .order-course-text {\n font-size: 16px;\n color: #333; }\n .order-wrapper .order-bar-text {\n flex: 1;\n font-weight: 500;\n text-align: right;\n color: #323233;\n padding-right: 20px; }\n .order-wrapper .order-bar-text .order-amount {\n font-size: 14px;\n color: #333; }\n .order-wrapper .order-bar-text .order-amount .order-amount-price {\n color: #ff3131; }\n .order-wrapper .order-bar-text .order-preprice {\n font-size: 12px;\n color: #555; }\n .order-wrapper .order-button {\n width: 110px;\n height: 50px;\n display: inline-block;\n padding: 0;\n background-color: #ff9898;\n color: #fff;\n line-height: 48px;\n font-size: 16px;\n border-radius: 0px;\n text-align: center;\n box-sizing: border-box;\n -webkit-appearance: none;\n -webkit-text-size-adjust: 100%;\n border: 1px solid transparent; }\n .order-wrapper .has-info {\n background-color: #FF3131; }\n .order-wrapper .v-list-item {\n margin-top: 8px;\n padding: 10px 15px 0 15px; }\n .order-wrapper .v-list-item .content {\n border-bottom: none; }\n .order-wrapper .order-prefer .am-list-content {\n font-size: 15px !important; }\n .order-wrapper .order-prefer .am-list-line {\n padding: 0 15px; }\n .order-wrapper .order-balance .order-balanceprice {\n color: #666;\n font-size: 12px; }\n .order-wrapper .order-balance .order-balanceprice .order-money {\n color: #ff2121;\n font-size: 12px !important;\n font-weight: normal;\n font-style: inherit;\n vertical-align: middle;\n margin: 0; }\n .order-wrapper .order-balance .am-list-content .iconiconfront-22.question-mark {\n font-size: 24px; }\n .order-wrapper .order-balance .balance-used {\n font-size: 24px;\n color: #0099FF; }\n .order-wrapper .order-balance .circle-icon {\n width: 20px;\n height: 20px;\n border: 1px solid #BFBFBF;\n border-radius: 50%;\n margin-right: 2px; }\n .order-wrapper .am-list-item .am-list-line .am-list-content {\n color: #333; }\n .order-wrapper .order-list .am-list-item {\n padding-left: 0 !important; }\n .order-wrapper .order-balance {\n height: 44px;\n line-height: 44px;\n margin: 8px 0 50px 0; }\n .order-wrapper .order-balance .am-list-item {\n padding-left: 0 !important; }\n .order-wrapper .order-balance .am-list-line {\n padding: 0 15px; }\n .order-wrapper .order-balance .am-list-content {\n color: #333;\n font-size: 16px; }\n .order-wrapper .order-balance .am-list-content .iconiconfront-22 {\n font-size: 18px;\n margin-left: 15px; }\n"]}
\ 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.
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{1175:function(e,t,a){"use strict";a.r(t);var n=a(25),o=(a(44),a(14)),c=a.n(o),s=a(116),i=a(7),r=a(8),l=a(11),u=a(9),p=a(10),d=a(0),m=a.n(d),h=(a(778),a(779),a(780),a(15)),f=a.n(h),v=function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,o=new Array(n),c=0;c<n;c++)o[c]=arguments[c];return(a=Object(l.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(o)))).clearInput=function(){a.props.onChange("")},a}return Object(p.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.type,a=e.placeholder;return m.a.createElement("div",{className:"custom-input-wrapper"},m.a.createElement("input",{type:t,className:f()("custom-input"),placeholder:a,onChange:this.props.onChange,value:this.props.value}),m.a.createElement("i",{className:f()("iconfont icondanseshixintubiao-3",{hide:0===this.props.value.length}),onClick:this.clearInput}))}}]),t}(d.Component);v.defaultProps={type:"text",placeholder:""};var C=v,g=function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,o=new Array(n),c=0;c<n;c++)o[c]=arguments[c];return(a=Object(l.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(o)))).state={},a}return Object(p.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.onChange,a=e.redeemCode,n=e.exchange;return m.a.createElement("div",{className:"exchange-bar"},m.a.createElement(C,{placeholder:"\u8bf7\u8f93\u5165\u4f18\u60e0\u7801",onChange:t,value:a}),m.a.createElement("button",{className:f()({active:a&&a.length>0}),onClick:n},"\u5151\u6362"))}}]),t}(d.Component),b=(a(781),function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,o=new Array(n),c=0;c<n;c++)o[c]=arguments[c];return(a=Object(l.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(o)))).pick=function(){var e=a.props,t=e.useCoupon;!e.invalid&&t&&t(a.props.id)},a.GoToUse=function(){a.props.useCoupon(a.props.id)},a}return Object(p.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.ctype,a=e.amount,n=e.format_expire_time,o=e.limit_course,c=e.invalid,s=e.course_title,i=e.id,r=e.selectedCouponId,l=e.showUseButton;return m.a.createElement("li",{className:"coupon",onClick:this.pick},m.a.createElement("div",{className:f()("coupon-info",c?"invalid":"coupon-type".concat(t))},m.a.createElement("p",{className:"type"},1===t?"\u4ee3\u91d1\u5238":"\u8bfe\u7a0b\u5238"),1===t?m.a.createElement("p",{className:"denomination"},a," ",m.a.createElement("span",null,"\u5143")):m.a.createElement("p",{className:"course-title"},s),m.a.createElement("p",{className:"expire"},"\u6709\u6548\u671f\u81f3\uff1a",n),r===i&&m.a.createElement("i",{className:f()("iconfont icondanseshixintubiao-5",{check:!c})}),m.a.createElement("ul",null,new Array(19).fill("a").map(function(e,t){return m.a.createElement("li",{key:t})}))),m.a.createElement("div",{className:"coupon-des"},m.a.createElement("span",{className:"limit"},0===o?"\u53ef\u7528\u4e8e\u5927\u4e8e\u4ee3\u91d1\u5238\u91d1\u989d\u7684\u8bfe\u7a0b":"\u4ec5\u9002\u7528\u4e8e\u300a".concat(s,"\u300b")),l&&m.a.createElement("button",{className:"use",onClick:this.GoToUse},"\u7acb\u5373\u4f7f\u7528")))}}]),t}(d.PureComponent)),y=a(4),E=a(71),j=a(40),O=a(30),_=function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(a=Object(l.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(o)))).state={selectedCouponId:0,redeemCode:"",couponList:[],valid_coupons:[],invalid_coupons:[],courseId:Object(y.b)("id"),showUseButton:!1},a.handleChange=function(e){var t=e?e.target.value:"";a.setState({redeemCode:t})},a.exchange=function(){""!==a.state.redeemCode?y.c.post("".concat(API.home,"/m/coupon/exchange"),{code:a.state.redeemCode}).then(function(e){var t=e.data;if(200===t.code){var n=t.data;if(a.state.showUseButton)a.setState({couponList:[].concat(Object(s.a)(a.state.couponList),[n]),redeemCode:""});else{var o=t.data;2==o.ctype&&o.limit_course!=a.state.courseId?a.setState({invalid_coupons:[].concat(Object(s.a)(a.state.invalid_coupons),[o]),showUseButton:null}):a.setState({valid_coupons:[].concat(Object(s.a)(a.state.valid_coupons),[o]),redeemCode:""})}c.a.info("\u5151\u6362\u6210\u529f"),a.getMyCoupons()}else c.a.info(t.msg)}):c.a.info("\u8bf7\u8f93\u5165\u5151\u6362\u7801")},a.getMyCoupons=function(){y.c.get("".concat(API.home,"/m/coupon/all")).then(function(e){var t=e.data;200===t.code?a.setState({couponList:Object(j.isEmpty)(t.data)?[]:t.data}):c.a.info(t.msg)})},a.getAllCoupons=function(){y.c.post("".concat(API.home,"/m/coupon/select"),{course_id:a.state.courseId}).then(function(e){var t=e.data;if(200===t.code){var n=t.data.inuse_coupon;a.setState({valid_coupons:n?[].concat(Object(s.a)(n),Object(s.a)(t.data.valid_coupons)):t.data.valid_coupons,invalid_coupons:t.data.invalid_coupons,selectedCouponId:n.length?n[0].id:0})}else c.a.info(t.msg)})},a.useCoupon=function(e){var t=a.props.history,n=a.state.couponList.find(function(t){return t.id===e});if(e)if(a.state.showUseButton)1===n.ctype?t.push("/classify"):t.push("/detail?id=".concat(n.limit_course));else{var o=a.state,s=o.courseId;o.selectedCouponId===e?y.c.post("".concat(API.home,"/m/coupon/cancel"),{course_id:s}).then(function(e){var t=e.data;200===t.code?a.setState({selectedCouponId:0}):c.a.info(t.msg)}):y.c.post("".concat(API.home,"/m/coupon/use"),{course_id:a.state.courseId,coupon_id:e}).then(function(t){var n=t&&t.data;200===n.code?(a.setState({selectedCouponId:e}),a.props.history.goBack()):c.a.info(n.msg)})}else c.a.info("\u672a\u77e5\u9519\u8bef"),location.reload()},a}return Object(p.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.history,a=e.location,n=this.props.location.state;n&&n.from&&("/my"===n.from?(this.getMyCoupons(),this.setState({showUseButton:!0})):(this.state.courseId||(a.state&&a.state.from?t.replace(a.state.from):t.goBack()),this.getAllCoupons()))}},{key:"render",value:function(){var e=this.props.location.state,t=this.state,a=t.showUseButton,n=t.selectedCouponId;return m.a.createElement("div",{className:"use-coupon"},m.a.createElement(O.e,{title:"\u4f18\u60e0\u5238",arrow:!0}),m.a.createElement(g,{onChange:this.handleChange,exchange:this.exchange,redeemCode:this.state.redeemCode}),m.a.createElement("div",{className:"coupons-area"},m.a.createElement(I,{coupons:e&&e.from&&"/my"===e.from?this.state.couponList:this.state.valid_coupons,showUseButton:a,selectedCouponId:n,select:this.select,useCoupon:this.useCoupon}),this.state.invalid_coupons.length>0&&m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"invalid-title"},"- \u4e0d\u53ef\u4f7f\u7528\u7684\u4f18\u60e0\u5238 -"),m.a.createElement(I,{coupons:this.state.invalid_coupons,selectedCouponId:n,select:this.select,purpose:"use",invalid:"invalid"}))))}}]),t}(d.PureComponent);function I(e){var t=e.coupons,a=Object(n.a)(e,["coupons"]);return 0===t.length?m.a.createElement("div",{className:"empty"},m.a.createElement("p",null,"\u6682\u65e0\u53ef\u4f7f\u7528\u7684\u4f18\u60e0\u5238")):m.a.createElement("ul",null,t.map(function(e){return m.a.createElement(b,Object.assign({key:e.id},e,{id:e.id},a))}))}t.default=Object(E.a)(_)},778:function(e,t,a){},779:function(e,t,a){},780:function(e,t,a){},781:function(e,t,a){}}]);
//# sourceMappingURL=coupons.8698a12a.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{1175:function(e,t,a){"use strict";a.r(t);var n=a(25),o=(a(44),a(14)),c=a.n(o),s=a(116),i=a(7),r=a(8),u=a(11),l=a(9),p=a(10),d=a(0),m=a.n(d),h=(a(778),a(779),a(780),a(15)),f=a.n(h),v=function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,o=new Array(n),c=0;c<n;c++)o[c]=arguments[c];return(a=Object(u.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(o)))).clearInput=function(){a.props.onChange("")},a}return Object(p.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.type,a=e.placeholder;return m.a.createElement("div",{className:"custom-input-wrapper"},m.a.createElement("input",{type:t,className:f()("custom-input"),placeholder:a,onChange:this.props.onChange,value:this.props.value}),m.a.createElement("i",{className:f()("iconfont icondanseshixintubiao-3",{hide:0===this.props.value.length}),onClick:this.clearInput}))}}]),t}(d.Component);v.defaultProps={type:"text",placeholder:""};var C,b=v,g=function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,o=new Array(n),c=0;c<n;c++)o[c]=arguments[c];return(a=Object(u.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(o)))).state={},a}return Object(p.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.onChange,a=e.redeemCode,n=e.exchange;return m.a.createElement("div",{className:"exchange-bar"},m.a.createElement(b,{placeholder:"\u8bf7\u8f93\u5165\u4f18\u60e0\u7801",onChange:t,value:a}),m.a.createElement("button",{className:f()({active:a&&a.length>0}),onClick:n},"\u5151\u6362"))}}]),t}(d.Component),y=(a(781),function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,o=new Array(n),c=0;c<n;c++)o[c]=arguments[c];return(a=Object(u.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(o)))).pick=function(){var e=a.props,t=e.useCoupon;!e.invalid&&t&&t(a.props.id)},a.GoToUse=function(){a.props.useCoupon(a.props.id)},a}return Object(p.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.ctype,a=e.amount,n=e.format_expire_time,o=e.limit_course,c=e.invalid,s=e.course_title,i=e.id,r=e.selectedCouponId,u=e.showUseButton;return m.a.createElement("li",{className:"coupon",onClick:this.pick},m.a.createElement("div",{className:f()("coupon-info",c?"invalid":"coupon-type".concat(t))},m.a.createElement("p",{className:"type"},1===t?"\u4ee3\u91d1\u5238":"\u8bfe\u7a0b\u5238"),1===t?m.a.createElement("p",{className:"denomination"},a," ",m.a.createElement("span",null,"\u5143")):m.a.createElement("p",{className:"course-title"},s),m.a.createElement("p",{className:"expire"},"\u6709\u6548\u671f\u81f3\uff1a",n),r===i&&m.a.createElement("i",{className:f()("iconfont icondanseshixintubiao-5",{check:!c})}),m.a.createElement("ul",null,new Array(19).fill("a").map(function(e,t){return m.a.createElement("li",{key:t})}))),m.a.createElement("div",{className:"coupon-des"},m.a.createElement("span",{className:"limit"},0===o?"\u53ef\u7528\u4e8e\u5927\u4e8e\u4ee3\u91d1\u5238\u91d1\u989d\u7684\u8bfe\u7a0b":"\u4ec5\u9002\u7528\u4e8e\u300a".concat(s,"\u300b")),u&&m.a.createElement("button",{className:"use",onClick:this.GoToUse},"\u7acb\u5373\u4f7f\u7528")))}}]),t}(d.PureComponent)),j=a(4),E=a(71),O=a(40),_=a(30),I=a(21),w=a(46),N=Object(I.b)()(C=function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(a=Object(u.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(o)))).state={selectedCouponId:0,redeemCode:"",couponList:[],valid_coupons:[],invalid_coupons:[],courseId:Object(j.b)("id"),showUseButton:!1},a.handleChange=function(e){var t=e?e.target.value:"";a.setState({redeemCode:t})},a.exchange=function(){""!==a.state.redeemCode?j.c.post("".concat(API.home,"/m/coupon/exchange"),{code:a.state.redeemCode}).then(function(e){var t=e.data;if(200===t.code){var n=t.data;if(a.state.showUseButton)a.setState({couponList:[].concat(Object(s.a)(a.state.couponList),[n]),redeemCode:""});else{var o=t.data;2==o.ctype&&o.limit_course!=a.state.courseId?a.setState({invalid_coupons:[].concat(Object(s.a)(a.state.invalid_coupons),[o]),showUseButton:null}):a.setState({valid_coupons:[].concat(Object(s.a)(a.state.valid_coupons),[o]),redeemCode:""})}c.a.info("\u5151\u6362\u6210\u529f"),a.getMyCoupons()}else c.a.info(t.msg)}):c.a.info("\u8bf7\u8f93\u5165\u5151\u6362\u7801")},a.getMyCoupons=function(){j.c.get("".concat(API.home,"/m/coupon/all")).then(function(e){var t=e.data;200===t.code?a.setState({couponList:Object(O.isEmpty)(t.data)?[]:t.data}):c.a.info(t.msg)})},a.getAllCoupons=function(){j.c.post("".concat(API.home,"/m/coupon/select"),{course_id:a.state.courseId}).then(function(e){var t=e.data;if(200===t.code){var n=t.data.inuse_coupon;a.setState({valid_coupons:n?[].concat(Object(s.a)(n),Object(s.a)(t.data.valid_coupons)):t.data.valid_coupons,invalid_coupons:t.data.invalid_coupons,selectedCouponId:n.length?n[0].id:0})}else c.a.info(t.msg)})},a.useCoupon=function(e){var t=a.props,n=t.history,o=t.dispatch,s=a.state.couponList.find(function(t){return t.id===e});if(e)if(a.state.showUseButton)1===s.ctype?n.push("/classify"):o(Object(w.d)(s.limit_course,function(){return n.push("/detail?id=".concat(s.limit_course)),!1}));else{var i=a.state,r=i.courseId;i.selectedCouponId===e?j.c.post("".concat(API.home,"/m/coupon/cancel"),{course_id:r}).then(function(e){var t=e.data;200===t.code?a.setState({selectedCouponId:0}):c.a.info(t.msg)}):j.c.post("".concat(API.home,"/m/coupon/use"),{course_id:a.state.courseId,coupon_id:e}).then(function(t){var n=t&&t.data;200===n.code?(a.setState({selectedCouponId:e}),a.props.history.goBack()):c.a.info(n.msg)})}else c.a.info("\u672a\u77e5\u9519\u8bef"),location.reload()},a}return Object(p.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.history,a=e.location,n=this.props.location.state;n&&n.from&&("/my"===n.from?(this.getMyCoupons(),this.setState({showUseButton:!0})):(this.state.courseId||(a.state&&a.state.from?t.replace(a.state.from):t.goBack()),this.getAllCoupons()))}},{key:"render",value:function(){var e=this.props.location.state,t=this.state,a=t.showUseButton,n=t.selectedCouponId;return m.a.createElement("div",{className:"use-coupon"},m.a.createElement(_.e,{title:"\u4f18\u60e0\u5238",arrow:!0}),m.a.createElement(g,{onChange:this.handleChange,exchange:this.exchange,redeemCode:this.state.redeemCode}),m.a.createElement("div",{className:"coupons-area"},m.a.createElement(k,{coupons:e&&e.from&&"/my"===e.from?this.state.couponList:this.state.valid_coupons,showUseButton:a,selectedCouponId:n,select:this.select,useCoupon:this.useCoupon}),this.state.invalid_coupons.length>0&&m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"invalid-title"},"- \u4e0d\u53ef\u4f7f\u7528\u7684\u4f18\u60e0\u5238 -"),m.a.createElement(k,{coupons:this.state.invalid_coupons,selectedCouponId:n,select:this.select,purpose:"use",invalid:"invalid"}))))}}]),t}(d.PureComponent))||C;function k(e){var t=e.coupons,a=Object(n.a)(e,["coupons"]);return 0===t.length?m.a.createElement("div",{className:"empty"},m.a.createElement("p",null,"\u6682\u65e0\u53ef\u4f7f\u7528\u7684\u4f18\u60e0\u5238")):m.a.createElement("ul",null,t.map(function(e){return m.a.createElement(y,Object.assign({key:e.id},e,{id:e.id},a))}))}t.default=Object(E.a)(N)},778:function(e,t,a){},779:function(e,t,a){},780:function(e,t,a){},781:function(e,t,a){}}]);
//# sourceMappingURL=coupons.b6c44482.chunk.js.map
\ 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.
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.
!function(e){function r(r){for(var a,n,i=r[0],f=r[1],d=r[2],u=0,l=[];u<i.length;u++)n=i[u],o[n]&&l.push(o[n][0]),o[n]=0;for(a in f)Object.prototype.hasOwnProperty.call(f,a)&&(e[a]=f[a]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,d||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],a=!0,n=1;n<t.length;n++){var f=t[n];0!==o[f]&&(a=!1)}a&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var a={},n={18:0},o={18:0},c=[];function i(r){if(a[r])return a[r].exports;var t=a[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[];n[e]?r.push(n[e]):0!==n[e]&&{0:1,1:1,2:1,3:1,4:1,6:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,26:1,28:1,29:1,30:1,31:1}[e]&&r.push(n[e]=new Promise(function(r,t){for(var a="static/css/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"6d24aba4",1:"5ed0fc89",2:"5ce769bd",3:"aeb3f822",4:"7bb0622b",5:"31d6cfe0",6:"061a2017",7:"31d6cfe0",8:"71617dc9",9:"003de950",10:"b968f5d5",11:"fa7d91fc",12:"a97e13d0",13:"f2c7a13b",14:"f878917b",16:"789a128d",17:"bd80fb0a",19:"066ba825",20:"175bee2a",21:"ab4e7ff5",22:"f08bc5f3",23:"8ba7b5db",25:"31d6cfe0",26:"73976871",27:"31d6cfe0",28:"42a89c77",29:"bf839917",30:"35e22f8c",31:"57d8b033"}[e]+".chunk.css",o=i.p+a,c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var d=(s=c[f]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(d===a||d===o))return r()}var u=document.getElementsByTagName("style");for(f=0;f<u.length;f++){var s;if((d=(s=u[f]).getAttribute("data-href"))===a||d===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var a=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.request=a,delete n[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){n[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var a=new Promise(function(r,a){t=o[e]=[r,a]});r.push(t[2]=a);var c,f=document.createElement("script");f.charset="utf-8",f.timeout=120,i.nc&&f.setAttribute("nonce",i.nc),f.src=function(e){return i.p+"static/js/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"e6893cf2",1:"f39f4af6",2:"1d564862",3:"7fd9d55d",4:"a16b0638",5:"539ac99a",6:"f6c14d09",7:"229e2d92",8:"50a376cc",9:"4c7b2684",10:"21f335ee",11:"a454c28a",12:"a340851a",13:"8698a12a",14:"f91e31ea",16:"d9a9fa8b",17:"1a0cc90e",19:"c4d7f744",20:"2a7c128d",21:"c2e7b754",22:"d73bccb5",23:"c629d579",25:"403aae65",26:"f842ed87",27:"33496196",28:"ab85697f",29:"52529984",30:"3e2101f4",31:"1bf13040"}[e]+".chunk.js"}(e),c=function(r){f.onerror=f.onload=null,clearTimeout(d);var t=o[e];if(0!==t){if(t){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+a+": "+n+")");c.type=a,c.request=n,t[1](c)}o[e]=void 0}};var d=setTimeout(function(){c({type:"timeout",target:f})},12e4);f.onerror=f.onload=c,document.head.appendChild(f)}return Promise.all(r)},i.m=e,i.c=a,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)i.d(t,a,function(r){return e[r]}.bind(null,a));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var f=window.webpackJsonp=window.webpackJsonp||[],d=f.push.bind(f);f.push=r,f=f.slice();for(var u=0;u<f.length;u++)r(f[u]);var s=d;t()}([]); !function(e){function r(r){for(var a,n,i=r[0],f=r[1],u=r[2],d=0,l=[];d<i.length;d++)n=i[d],o[n]&&l.push(o[n][0]),o[n]=0;for(a in f)Object.prototype.hasOwnProperty.call(f,a)&&(e[a]=f[a]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,u||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],a=!0,n=1;n<t.length;n++){var f=t[n];0!==o[f]&&(a=!1)}a&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var a={},n={18:0},o={18:0},c=[];function i(r){if(a[r])return a[r].exports;var t=a[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[];n[e]?r.push(n[e]):0!==n[e]&&{0:1,1:1,2:1,3:1,4:1,6:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,16:1,17:1,19:1,20:1,21:1,22:1,23:1,26:1,28:1,29:1,30:1,31:1}[e]&&r.push(n[e]=new Promise(function(r,t){for(var a="static/css/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"6d24aba4",1:"5ed0fc89",2:"5ce769bd",3:"aeb3f822",4:"7bb0622b",5:"31d6cfe0",6:"c25de43a",7:"31d6cfe0",8:"71617dc9",9:"003de950",10:"b968f5d5",11:"fa7d91fc",12:"a97e13d0",13:"f2c7a13b",14:"f878917b",16:"789a128d",17:"bd80fb0a",19:"066ba825",20:"175bee2a",21:"ab4e7ff5",22:"f08bc5f3",23:"8ba7b5db",25:"31d6cfe0",26:"73976871",27:"31d6cfe0",28:"42a89c77",29:"bf839917",30:"35e22f8c",31:"57d8b033"}[e]+".chunk.css",o=i.p+a,c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var u=(s=c[f]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(u===a||u===o))return r()}var d=document.getElementsByTagName("style");for(f=0;f<d.length;f++){var s;if((u=(s=d[f]).getAttribute("data-href"))===a||u===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var a=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.request=a,delete n[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){n[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var a=new Promise(function(r,a){t=o[e]=[r,a]});r.push(t[2]=a);var c,f=document.createElement("script");f.charset="utf-8",f.timeout=120,i.nc&&f.setAttribute("nonce",i.nc),f.src=function(e){return i.p+"static/js/"+({0:"BargainMiddlePage",1:"Classify",2:"CourseList",3:"DrawDocument",4:"Examination",5:"MyEdit",6:"Order",7:"Orderinfo",8:"PayOrder",9:"Preferential",10:"SearchResult",11:"ShopCart",12:"aist-share",13:"coupons",14:"detail",16:"myorders",17:"purchased",19:"search",20:"shareposter",21:"study",22:"togroup",23:"video"}[e]||e)+"."+{0:"71acf373",1:"f39f4af6",2:"6b8635fc",3:"7fd9d55d",4:"a16b0638",5:"539ac99a",6:"36a03aa7",7:"229e2d92",8:"50a376cc",9:"4c7b2684",10:"21f335ee",11:"a454c28a",12:"a340851a",13:"b6c44482",14:"083b87f5",16:"d9a9fa8b",17:"1a0cc90e",19:"c4d7f744",20:"2a7c128d",21:"c2e7b754",22:"d73bccb5",23:"c629d579",25:"403aae65",26:"f842ed87",27:"33496196",28:"ab85697f",29:"52529984",30:"3e2101f4",31:"1bf13040"}[e]+".chunk.js"}(e),c=function(r){f.onerror=f.onload=null,clearTimeout(u);var t=o[e];if(0!==t){if(t){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+a+": "+n+")");c.type=a,c.request=n,t[1](c)}o[e]=void 0}};var u=setTimeout(function(){c({type:"timeout",target:f})},12e4);f.onerror=f.onload=c,document.head.appendChild(f)}return Promise.all(r)},i.m=e,i.c=a,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)i.d(t,a,function(r){return e[r]}.bind(null,a));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var f=window.webpackJsonp=window.webpackJsonp||[],u=f.push.bind(f);f.push=r,f=f.slice();for(var d=0;d<f.length;d++)r(f[d]);var s=u;t()}([]);
//# sourceMappingURL=runtime~main.70f62e54.js.map //# sourceMappingURL=runtime~main.89451ebc.js.map
\ No newline at end of file \ No newline at end of file
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
.order-title { .order-title {
font-size: 16px; font-size: 16px;
color: $color_333; color: $color_333;
height: 16px; height: 18px;
line-height: 16px; line-height: 18px;
} }
.order-content { .order-content {
......
...@@ -9,7 +9,10 @@ const VList = (props) => { ...@@ -9,7 +9,10 @@ const VList = (props) => {
<div className="cover"> <div className="cover">
{props.status} {props.status}
{/* <Link to={`/detail?id=${props.id}`}> */} {/* <Link to={`/detail?id=${props.id}`}> */}
<img src={props.img} alt="" onClick={() => props.toDetail(props.id)} /> {props.toDetail
?(<img src={props.img} alt="" onClick={() => props.toDetail(props.id)} />)
:(<img src={props.img} alt="" />)
}
{/* </Link> */} {/* </Link> */}
</div> </div>
{props.info} {props.info}
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
flex: 0 0 auto; flex: 0 0 auto;
margin-right: 16px; margin-right: 16px;
position: relative; position: relative;
width: 150px;
img { img {
width: 150px; width: 150px;
height: 108px; height: 108px;
......
...@@ -10,8 +10,11 @@ import { differenceInSeconds, differenceInMinutes, differenceInHours, difference ...@@ -10,8 +10,11 @@ import { differenceInSeconds, differenceInMinutes, differenceInHours, difference
import Overlay from '../detail/overlay' import Overlay from '../detail/overlay'
import { compose } from "redux" import { compose } from "redux"
import { connect } from "react-redux"; import { connect } from "react-redux";
import {getCourses} from './../detail/actions';
@connect(state => ({
user: state.user
}))
class BargainMiddlePage extends Component { class BargainMiddlePage extends Component {
timer timer
...@@ -22,6 +25,7 @@ class BargainMiddlePage extends Component { ...@@ -22,6 +25,7 @@ class BargainMiddlePage extends Component {
isShowOverlay: false, isShowOverlay: false,
isOriginator: '', isOriginator: '',
kanjiaIcon: require('./image/kanjia_icon.png'), kanjiaIcon: require('./image/kanjia_icon.png'),
course: {}, // 当前砍价课程
courseList: [], // 所有砍价课程 courseList: [], // 所有砍价课程
data: '', data: '',
bargainData: '', bargainData: '',
...@@ -53,14 +57,17 @@ class BargainMiddlePage extends Component { ...@@ -53,14 +57,17 @@ class BargainMiddlePage extends Component {
http.get(`${API.home}/m/bargain/info?bargaincode=${getParam('bargaincode')}&is_originator=${getParam('is_originator')}`).then((res) => { http.get(`${API.home}/m/bargain/info?bargaincode=${getParam('bargaincode')}&is_originator=${getParam('is_originator')}`).then((res) => {
if (res.data.code === 200) { if (res.data.code === 200) {
this.setState({ this.setState(
{
data: res.data.data, data: res.data.data,
isOriginator: res.data.data.is_originator, isOriginator: res.data.data.is_originator,
originatorUid: res.data.data.originator_uid, originatorUid: res.data.data.originator_uid,
course: res.data.data.course,
limitPeople: res.data.data.course.limit_people, limitPeople: res.data.data.course.limit_people,
bargainData: res.data.data.bargain, bargainData: res.data.data.bargain,
width: (res.data.data.bargain.bargain_price / res.data.data.bargain.total_price).toFixed(2) * 100 + '%' width: (res.data.data.bargain.bargain_price / res.data.data.bargain.total_price).toFixed(2) * 100 + '%'
}, () => { },
() => {
if (this.state.bargainData.expire_time) { if (this.state.bargainData.expire_time) {
let date = this.state.bargainData.expire_time * 1000 let date = this.state.bargainData.expire_time * 1000
let now = Date.now() let now = Date.now()
...@@ -81,7 +88,8 @@ class BargainMiddlePage extends Component { ...@@ -81,7 +88,8 @@ class BargainMiddlePage extends Component {
}, 1000) }, 1000)
} }
}) }
)
} else { } else {
Toast.info(res.data.msg, 2) Toast.info(res.data.msg, 2)
} }
...@@ -262,8 +270,15 @@ class BargainMiddlePage extends Component { ...@@ -262,8 +270,15 @@ class BargainMiddlePage extends Component {
}) })
} }
render() { toCourseDetail = (id) => {
const { dispatch, history } = this.props;
dispatch(getCourses(id, () => {
history.push(`/detail?id=${id}`);
return false;
}));
}
render() {
let thirdRow, btn let thirdRow, btn
// is_artifact 0-再邀请多少人可以使用 1-可以使用未领取 2-已领取 3-已使用 // is_artifact 0-再邀请多少人可以使用 1-可以使用未领取 2-已领取 3-已使用
if (this.state.bargainData.is_artifact === 0) { if (this.state.bargainData.is_artifact === 0) {
...@@ -291,8 +306,6 @@ class BargainMiddlePage extends Component { ...@@ -291,8 +306,6 @@ class BargainMiddlePage extends Component {
} else if (this.state.isOriginator === 1 && this.state.data.bargain_status === 0) { } else if (this.state.isOriginator === 1 && this.state.data.bargain_status === 0) {
bargainBtn = <button className='active-btn' onClick={this.shareFriendBargain}>邀请好友砍价</button> bargainBtn = <button className='active-btn' onClick={this.shareFriendBargain}>邀请好友砍价</button>
} }
return ( return (
<div className={'bargain-middle-page'}> <div className={'bargain-middle-page'}>
<HeaderBar title='砍价详情' arrow={true} cart={true}></HeaderBar> <HeaderBar title='砍价详情' arrow={true} cart={true}></HeaderBar>
...@@ -306,10 +319,13 @@ class BargainMiddlePage extends Component { ...@@ -306,10 +319,13 @@ class BargainMiddlePage extends Component {
<ul> <ul>
<VList <VList
info={<CourseDes img={this.state.course.course_img}
info={
<CourseDes
isOriginator={this.state.isOriginator} isOriginator={this.state.isOriginator}
data={this.state.data} data={this.state.data}
toCart={this.toCart}/>} toCart={this.toCart}/>
}
/> />
</ul> </ul>
<div className="bargain-detail"> <div className="bargain-detail">
...@@ -405,9 +421,12 @@ class BargainMiddlePage extends Component { ...@@ -405,9 +421,12 @@ class BargainMiddlePage extends Component {
id={item.course_id} id={item.course_id}
img={item.image_name} img={item.image_name}
title={item.course_title} title={item.course_title}
bottom={<CourseBottom toDetail={this.toCourseDetail}
bottom={
<CourseBottom
item={item} item={item}
toCart={this.toCart} toCart={this.toCart}
toDetail={this.toCourseDetail}
/> />
} }
/> />
...@@ -511,7 +530,8 @@ function CourseDes(props) { ...@@ -511,7 +530,8 @@ function CourseDes(props) {
function CourseBottom(props) { function CourseBottom(props) {
let Buttons let Buttons
if (props.item.bargain_status === 2) { if (props.item.bargain_status === 2) {
Buttons = <Link to={`/detail?id=${props.item.course_id}`} className={'bargain'}>我要砍价</Link> // Buttons = <Link to={`/detail?id=${props.item.course_id}`} className={'bargain'}>我要砍价</Link>
Buttons = <a href="javascript:;" onClick={() => props.toDetail(props.item.course_id)} className={'bargain'}>我要砍价</a>
} else if (props.item.bargain_status === 3) { } else if (props.item.bargain_status === 3) {
Buttons = <Link to={`/play?id=${props.item.course_id}`} className={'bargain'}>去学习</Link> Buttons = <Link to={`/play?id=${props.item.course_id}`} className={'bargain'}>去学习</Link>
} else { } else {
...@@ -526,7 +546,7 @@ function CourseBottom(props) { ...@@ -526,7 +546,7 @@ function CourseBottom(props) {
} }
{ {
props.item.bargain_status === 0 && props.item.bargain_status === 0 &&
<Link to={`/detail?id=${props.item.course_id}`} className={'bargain-btn'}>继续砍价</Link> <a href="javascript:;" onClick={() => props.toDetail(props.item.course_id)} className={'bargain-btn'}>我要砍价</a>
} }
...@@ -650,10 +670,4 @@ function BargainSuccess(props) { ...@@ -650,10 +670,4 @@ function BargainSuccess(props) {
} }
export default compose( export default withRouter(BargainMiddlePage);
connect(
state => ({user: state.user}),
null
),
withRouter
)(BargainMiddlePage)
...@@ -65,9 +65,10 @@ class Classify extends Component { ...@@ -65,9 +65,10 @@ class Classify extends Component {
// 获取课程接口 // 获取课程接口
getList = () => { getList = () => {
const _this = this
http.get(`${API.home}/m/course/list/${getParam('id')}`).then((res) => { http.get(`${API.home}/m/course/list/${getParam('id')}`).then((res) => {
if (res.data.code === 200) { if (res.data.code === 200) {
this.setState({ _this.setState({
data: res.data.data, data: res.data.data,
isLoading: false isLoading: false
}) })
......
...@@ -3,13 +3,15 @@ import './coupons.scss' ...@@ -3,13 +3,15 @@ import './coupons.scss'
import RedeemBar from "./RedeemBar"; import RedeemBar from "./RedeemBar";
import Coupon from './Coupon' import Coupon from './Coupon'
import { http, api, getParam } from '@/utils' import { http, getParam } from '@/utils'
import { WithFullSize } from '@/HOCs' import { WithFullSize } from '@/HOCs'
import { Toast } from 'antd-mobile' import { Toast } from 'antd-mobile'
import { isEmpty } from 'lodash' import { isEmpty } from 'lodash'
import { HeaderBar } from "@/common"; import { HeaderBar } from "@/common";
import {connect} from 'react-redux';
import {getCourses} from './../detail/actions';
@connect()
class UseCoupon extends PureComponent { class UseCoupon extends PureComponent {
state = { state = {
...@@ -132,7 +134,7 @@ class UseCoupon extends PureComponent { ...@@ -132,7 +134,7 @@ class UseCoupon extends PureComponent {
} }
useCoupon = val => { useCoupon = val => {
const {history} = this.props const {history, dispatch} = this.props
const coupon = this.state.couponList.find(item => item.id === val) const coupon = this.state.couponList.find(item => item.id === val)
if (val) { if (val) {
...@@ -141,7 +143,10 @@ class UseCoupon extends PureComponent { ...@@ -141,7 +143,10 @@ class UseCoupon extends PureComponent {
if (coupon['ctype'] === 1) { if (coupon['ctype'] === 1) {
history.push(`/classify`) history.push(`/classify`)
} else { } else {
history.push(`/detail?id=${coupon['limit_course']}`) dispatch(getCourses(coupon['limit_course'], () => {
history.push(`/detail?id=${coupon['limit_course']}`);
return false;
}));
} }
} else { } else {
......
...@@ -228,17 +228,11 @@ class BtnStatus extends Component { ...@@ -228,17 +228,11 @@ class BtnStatus extends Component {
} }
render() { render() {
let info = '' // data 课程信息;barInfo 砍价信息
if (this.props.data && this.props.data.course_info) { const { data: info = {}, barInfo = {}, user = {} } = this.props;
info = this.props.data.course_info const { countdown } = this.state;
} const uid = user.data && user.data.uid;
const {countdown} = this.state;
const {user} = this.props
const uid = user && user.data && user.data.uid
const { barInfo = {} } = this.props;
console.log(this.props);
return ( return (
<div> <div>
{/*正常购买*/} {/*正常购买*/}
{ {
......
...@@ -38,7 +38,6 @@ class Detail extends Component { ...@@ -38,7 +38,6 @@ class Detail extends Component {
this.props.getCourses(); this.props.getCourses();
} }
const { courseInfo } = this.props; const { courseInfo } = this.props;
console.log(this.props);
if(courseInfo.course_info.is_bargain) { if(courseInfo.course_info.is_bargain) {
this.getBargainInfo(); this.getBargainInfo();
} }
...@@ -268,7 +267,7 @@ class Detail extends Component { ...@@ -268,7 +267,7 @@ class Detail extends Component {
{/*砍价*/} {/*砍价*/}
{ {
(!courseInfo.is_aist) && this.props.courseInfo && this.props.courseInfo.is_bargain && (!courseInfo.is_aist) && this.props.courseInfo.course_info && this.props.courseInfo.course_info.is_bargain &&
<Bargain/> <Bargain/>
} }
...@@ -277,7 +276,7 @@ class Detail extends Component { ...@@ -277,7 +276,7 @@ class Detail extends Component {
{/*课程按钮*/} {/*课程按钮*/}
<BtnStatus countdown={countdown} <BtnStatus countdown={countdown}
data={this.props.courseInfo} data={this.props.courseInfo.course_info}
user={this.props.user} user={this.props.user}
barInfo={this.state.barInfo} barInfo={this.state.barInfo}
invitedFriends={this.invitedFriends} invitedFriends={this.invitedFriends}
......
...@@ -20,9 +20,11 @@ class OutLine extends Component { ...@@ -20,9 +20,11 @@ class OutLine extends Component {
return e.childNodes.length === 0 ? "" : e.childNodes[0].nodeValue; return e.childNodes.length === 0 ? "" : e.childNodes[0].nodeValue;
} }
componentDidMount() { tabchange = (tab, index) => {
if(index === 1) {
this.getList() this.getList()
} }
};
// 获取大纲数据 // 获取大纲数据
getList = () => { getList = () => {
...@@ -49,7 +51,10 @@ class OutLine extends Component { ...@@ -49,7 +51,10 @@ class OutLine extends Component {
return ( return (
<div className='course-detail'> <div className='course-detail'>
<WhiteSpace/> <WhiteSpace/>
<Tabs tabs={tabs}> <Tabs tabs={tabs}
initialPage={0}
onChange={(tab, index) => { this.tabchange(tab, index) }}
>
{/*介绍*/} {/*介绍*/}
<div className='introduce'> <div className='introduce'>
<p>讲师:{introduce.teachers}</p> <p>讲师:{introduce.teachers}</p>
......
...@@ -297,7 +297,7 @@ class Order extends Component { ...@@ -297,7 +297,7 @@ class Order extends Component {
if(orderInfo.data.errno === 200) { if(orderInfo.data.errno === 200) {
newData = Object.assign({}, orderInfo.data.data, {course: []}); newData = Object.assign({}, orderInfo.data.data, {course: []});
}else{ }else{
Toast.info(courseInfo.data.msg, 2); Toast.info(orderInfo.data.msg, 2);
return; return;
} }
if(courseInfo.data.code === 200) { if(courseInfo.data.code === 200) {
......
...@@ -108,8 +108,8 @@ ...@@ -108,8 +108,8 @@
justify-content: space-around; justify-content: space-around;
.order-title { .order-title {
height: 16px; height: 18px;
line-height: 16px; line-height: 18x;
color: $color_333; color: $color_333;
font-size: $font_16; font-size: $font_16;
} }
......
...@@ -25,7 +25,7 @@ class PasswordInput extends PureComponent { ...@@ -25,7 +25,7 @@ class PasswordInput extends PureComponent {
placeholder={placeholder} placeholder={placeholder}
{...rest} {...rest}
> >
<i className={classnames('iconfont', [this.state.showPassword ? 'iconpwd-hidden' : 'iconyanjing'])} <i className={classnames('iconfont', [this.state.showPassword ? 'iconyanjing' : 'iconpwd-hidden'])}
onClick={this.togglePasswordVisibility}/> onClick={this.togglePasswordVisibility}/>
</Input> </Input>
); );
......
...@@ -257,7 +257,7 @@ class _Scholarship extends Component { ...@@ -257,7 +257,7 @@ class _Scholarship extends Component {
</> </>
) : ( ) : (
<> <>
<Flex justify='center' align='baseline' style={{ height: '20px', lineHeight: '20px' }}> <Flex justify='center' align='baseline' className={"drawCash"} >
<span className={'common-ft-25'}>{account}</span> <span className={'common-ft-25'}>{account}</span>
<span className={'common-ft-15'}></span> <span className={'common-ft-15'}></span>
</Flex> </Flex>
......
...@@ -40,6 +40,10 @@ ...@@ -40,6 +40,10 @@
line-height: 30px; line-height: 30px;
text-align: center; text-align: center;
} }
.drawCash {
height: 24px;
line-height: 24px;
}
} }
.runtimeList { .runtimeList {
height: 30px; height: 30px;
......
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