Commit 70151df2 by FE

合并,并修bug

parents 65190b98 1c9cd273
self.__precacheManifest = [
{
"revision": "7f7d4cb210035200c5c5",
"url": "/static/css/purchased.4b0044ec.chunk.css"
},
{
"revision": "bb643d4f17d685c9f805",
"url": "/static/css/BargainMiddlePage.9e05243b.chunk.css"
},
{
"revision": "56b6b8c6cd3382d883e6",
"url": "/static/css/Classify.de22eb69.chunk.css"
},
{
"revision": "56b6b8c6cd3382d883e6",
"url": "/static/js/Classify.e680dd84.chunk.js"
},
{
"revision": "7a197c0025d41b4dd069",
"url": "/static/css/CourseList.ce9acdcb.chunk.css"
},
{
"revision": "7a197c0025d41b4dd069",
"url": "/static/js/CourseList.8d1561d1.chunk.js"
},
{
"revision": "0b10d99fe84a32f4689e",
"url": "/static/css/DrawDocument.2e7d81ca.chunk.css"
},
{
"revision": "0b10d99fe84a32f4689e",
"url": "/static/js/DrawDocument.e8eba551.chunk.js"
},
{
"revision": "6fdaa8aac9228d4cec7f",
"url": "/static/css/Examination.fc9da1d2.chunk.css"
},
{
"revision": "6fdaa8aac9228d4cec7f",
"url": "/static/js/Examination.b549cb5c.chunk.js"
},
{
"revision": "a541f55e7e67c2de6678",
"url": "/static/js/MyEdit.bdcf46d3.chunk.js"
},
{
"revision": "b406932d00ca70bd7e8a",
"url": "/static/css/Order.6576554c.chunk.css"
},
{
"revision": "b406932d00ca70bd7e8a",
"url": "/static/js/Order.674bdc75.chunk.js"
},
{
"revision": "c92e5289c2211646b0b3",
"url": "/static/js/Orderinfo.da0ef8ca.chunk.js"
},
{
"revision": "5036d13a110269a80894",
"url": "/static/css/PayOrder.21570c76.chunk.css"
},
{
"revision": "5036d13a110269a80894",
"url": "/static/js/PayOrder.29c31098.chunk.js"
},
{
"revision": "5c684fd5a33f44c2f9f8",
"url": "/static/css/Preferential.20451cd3.chunk.css"
},
{
"revision": "5c684fd5a33f44c2f9f8",
"url": "/static/js/Preferential.306d9f2a.chunk.js"
},
{
"revision": "fab35fe2c57e3fc20c8f",
"url": "/static/css/SearchResult.b59ee96d.chunk.css"
},
{
"revision": "fab35fe2c57e3fc20c8f",
"url": "/static/js/SearchResult.eb57ee9f.chunk.js"
},
{
"revision": "c3148eab1665ad0723e6",
"url": "/static/css/ShopCart.a93db4c0.chunk.css"
},
{
"revision": "c3148eab1665ad0723e6",
"url": "/static/js/ShopCart.f34dcd85.chunk.js"
},
{
"revision": "a6cfbecdd3dcdc8d9bc4",
"url": "/static/css/aist-share.bef8c404.chunk.css"
},
{
"revision": "a6cfbecdd3dcdc8d9bc4",
"url": "/static/js/aist-share.c9707307.chunk.js"
},
{
"revision": "00a4384dbbe9ff9751b7",
"url": "/static/css/coupons.9ece7350.chunk.css"
},
{
"revision": "00a4384dbbe9ff9751b7",
"url": "/static/js/coupons.ab462211.chunk.js"
},
{
"revision": "09bd68a7de86438c8b0a",
"url": "/static/css/detail.deae77c4.chunk.css"
},
{
"revision": "09bd68a7de86438c8b0a",
"url": "/static/js/detail.061bdab5.chunk.js"
},
{
"revision": "308b21079d9c539351da",
"url": "/static/css/main.12aa8431.chunk.css"
},
{
"revision": "308b21079d9c539351da",
"url": "/static/js/main.9cc29dd5.chunk.js"
},
{
"revision": "6b421c243ad5b183a57a",
"url": "/static/css/myorders.3ab93c8e.chunk.css"
},
{
"revision": "6b421c243ad5b183a57a",
"url": "/static/js/myorders.5e6a11fe.chunk.js"
},
{
"revision": "bb643d4f17d685c9f805",
"url": "/static/js/BargainMiddlePage.cce384ee.chunk.js"
},
{
"revision": "7f7d4cb210035200c5c5",
"url": "/static/js/purchased.485fcfcf.chunk.js"
},
{
"revision": "c71e11ea0b375a3c0313",
"url": "/static/js/runtime~main.2f233195.js"
},
{
"revision": "89308c82265d28af0fa7",
"url": "/static/css/search.9fa57dd6.chunk.css"
},
{
"revision": "89308c82265d28af0fa7",
"url": "/static/js/search.27283df0.chunk.js"
},
{
"revision": "6f164643df3df3db40dd",
"url": "/static/css/shareposter.82081d02.chunk.css"
},
{
"revision": "6f164643df3df3db40dd",
"url": "/static/js/shareposter.76f14aa0.chunk.js"
},
{
"revision": "7c768af0979b43cf9ca8",
"url": "/static/css/study.2f1e5759.chunk.css"
},
{
"revision": "7c768af0979b43cf9ca8",
"url": "/static/js/study.3f965e01.chunk.js"
},
{
"revision": "af239b6645e675ed23c1",
"url": "/static/css/togroup.49988cae.chunk.css"
},
{
"revision": "af239b6645e675ed23c1",
"url": "/static/js/togroup.c80fdad6.chunk.js"
},
{
"revision": "8896b170e1957c858878",
"url": "/static/css/video.5463a623.chunk.css"
},
{
"revision": "8896b170e1957c858878",
"url": "/static/js/video.380f1b68.chunk.js"
},
{
"revision": "80011994e30adf599e5f47fcc81bc06d",
"url": "/static/media/progress-share-bg.80011994.png"
},
{
"revision": "3e41c49a106a1011998c",
"url": "/static/js/24.8a285f5c.chunk.js"
},
{
"revision": "81a489ac63f2f2df5ab412e0782bd54c",
"url": "/static/media/kanjia_cg_icon.81a489ac.png"
},
{
"revision": "ba4ff63d081715cfafc3",
"url": "/static/js/25.2d2641c2.chunk.js"
},
{
"revision": "8be0a64ae16143478681",
"url": "/static/js/26.7b048f4b.chunk.js"
},
{
"revision": "bf51ccc733319bcc56b89eec5dde1394",
"url": "/static/media/iconfont.bf51ccc7.svg"
},
{
"revision": "b06db4a486b8f4f1a624",
"url": "/static/js/27.b62db96d.chunk.js"
},
{
"revision": "55ad4bbcfbe7879698a2538de5145a09",
"url": "/static/media/iconfont.55ad4bbc.ttf"
},
{
"revision": "43b71c824ae23b68069d",
"url": "/static/js/28.76b60535.chunk.js"
},
{
"revision": "10b7bd5b99a2a0a2f1a30d7ed72ec1a0",
"url": "/static/media/iconfont.10b7bd5b.eot"
},
{
"revision": "7ac56354133db11b62c4",
"url": "/static/js/29.2c626bdc.chunk.js"
},
{
"revision": "d9bc424b15d521a0c979da25ea02c1c9",
"url": "/static/media/iconfont.d9bc424b.woff"
},
{
"revision": "e58e14409b6dc400e378",
"url": "/static/js/30.3933456b.chunk.js"
},
{
"revision": "e58e14409b6dc400e378",
"url": "/static/css/30.bc06dce4.chunk.css"
},
{
"revision": "7ac56354133db11b62c4",
"url": "/static/css/29.ecbb6f9a.chunk.css"
},
{
"revision": "43b71c824ae23b68069d",
"url": "/static/css/28.5ed15c7e.chunk.css"
},
{
"revision": "b06db4a486b8f4f1a624",
"url": "/static/css/27.694b4628.chunk.css"
},
{
"revision": "ba4ff63d081715cfafc3",
"url": "/static/css/25.4c706a4e.chunk.css"
},
{
"revision": "3e41c49a106a1011998c",
"url": "/static/css/24.257b0329.chunk.css"
},
{
"revision": "b33a82929fad2bee9873bfe7ac082543",
"url": "/index.html"
}
];
\ No newline at end of file
self.__precacheManifest = [
{
"revision": "8bdb438efa9916303ed8",
"url": "/static/css/purchased.4b0044ec.chunk.css"
},
{
"revision": "4d2b1aa483d44cf3f28b",
"url": "/static/css/BargainMiddlePage.9e05243b.chunk.css"
},
{
"revision": "610070f9b47537e157c0",
"url": "/static/css/Classify.de22eb69.chunk.css"
},
{
"revision": "610070f9b47537e157c0",
"url": "/static/js/Classify.0c09c28b.chunk.js"
},
{
"revision": "16e71e44754ac684864d",
"url": "/static/css/CourseList.ce9acdcb.chunk.css"
},
{
"revision": "16e71e44754ac684864d",
"url": "/static/js/CourseList.fcc26c19.chunk.js"
},
{
"revision": "01d086cba91b0577d28a",
"url": "/static/css/DrawDocument.2e7d81ca.chunk.css"
},
{
"revision": "01d086cba91b0577d28a",
"url": "/static/js/DrawDocument.4d71b0d8.chunk.js"
},
{
"revision": "08822e572bb83b45927d",
"url": "/static/css/Examination.1a38e85d.chunk.css"
},
{
"revision": "08822e572bb83b45927d",
"url": "/static/js/Examination.04d34ba8.chunk.js"
},
{
"revision": "b8c081aba5a6ed0b1f1b",
"url": "/static/js/MyEdit.d53d06e5.chunk.js"
},
{
"revision": "1a910ea155b20b7e88d7",
"url": "/static/css/Order.6576554c.chunk.css"
},
{
"revision": "1a910ea155b20b7e88d7",
"url": "/static/js/Order.f5e96bf7.chunk.js"
},
{
"revision": "7799c1eacdf0724ba7e6",
"url": "/static/js/Orderinfo.70b0db04.chunk.js"
},
{
"revision": "2ae07e546bc9cc9f3973",
"url": "/static/css/PayOrder.21570c76.chunk.css"
},
{
"revision": "2ae07e546bc9cc9f3973",
"url": "/static/js/PayOrder.5af8307e.chunk.js"
},
{
"revision": "de3ef7d91eab014467f4",
"url": "/static/css/Preferential.20451cd3.chunk.css"
},
{
"revision": "de3ef7d91eab014467f4",
"url": "/static/js/Preferential.659805a5.chunk.js"
},
{
"revision": "b55a8d00607479dd0461",
"url": "/static/css/SearchResult.b59ee96d.chunk.css"
},
{
"revision": "b55a8d00607479dd0461",
"url": "/static/js/SearchResult.1240fd4e.chunk.js"
},
{
"revision": "d66e5667dec57e42a4ef",
"url": "/static/css/ShopCart.a93db4c0.chunk.css"
},
{
"revision": "d66e5667dec57e42a4ef",
"url": "/static/js/ShopCart.5b9868fb.chunk.js"
},
{
"revision": "8907d5a0e1f6d4533291",
"url": "/static/css/aist-share.bef8c404.chunk.css"
},
{
"revision": "8907d5a0e1f6d4533291",
"url": "/static/js/aist-share.acf1ca74.chunk.js"
},
{
"revision": "420dfc03141d3078204e",
"url": "/static/css/coupons.9ece7350.chunk.css"
},
{
"revision": "420dfc03141d3078204e",
"url": "/static/js/coupons.62c3afd6.chunk.js"
},
{
"revision": "f2bcd383d3afee4f8fb2",
"url": "/static/css/detail.deae77c4.chunk.css"
},
{
"revision": "f2bcd383d3afee4f8fb2",
"url": "/static/js/detail.4ef70074.chunk.js"
},
{
"revision": "e87c893dcc0f5960063c",
"url": "/static/css/main.12aa8431.chunk.css"
},
{
"revision": "e87c893dcc0f5960063c",
"url": "/static/js/main.ca020864.chunk.js"
},
{
"revision": "ce19e7f7ffdd1fc740f9",
"url": "/static/css/myorders.3ab93c8e.chunk.css"
},
{
"revision": "ce19e7f7ffdd1fc740f9",
"url": "/static/js/myorders.10940b3d.chunk.js"
},
{
"revision": "4d2b1aa483d44cf3f28b",
"url": "/static/js/BargainMiddlePage.c8e3669c.chunk.js"
},
{
"revision": "8bdb438efa9916303ed8",
"url": "/static/js/purchased.31fa5e4e.chunk.js"
},
{
"revision": "2bac29fc9704c592d155",
"url": "/static/js/runtime~main.28b2be20.js"
},
{
"revision": "c45c1e264cf112a45edd",
"url": "/static/css/search.9fa57dd6.chunk.css"
},
{
"revision": "c45c1e264cf112a45edd",
"url": "/static/js/search.5e68d822.chunk.js"
},
{
"revision": "2933ee025c063814fbe6",
"url": "/static/css/shareposter.82081d02.chunk.css"
},
{
"revision": "2933ee025c063814fbe6",
"url": "/static/js/shareposter.f667c34f.chunk.js"
},
{
"revision": "67937ef7b41320111035",
"url": "/static/css/study.2f1e5759.chunk.css"
},
{
"revision": "67937ef7b41320111035",
"url": "/static/js/study.55683afc.chunk.js"
},
{
"revision": "391277f16aa513f0177a",
"url": "/static/css/togroup.49988cae.chunk.css"
},
{
"revision": "391277f16aa513f0177a",
"url": "/static/js/togroup.38b70eb0.chunk.js"
},
{
"revision": "7196e832232b7cfa892c",
"url": "/static/css/video.5463a623.chunk.css"
},
{
"revision": "7196e832232b7cfa892c",
"url": "/static/js/video.371d8ec0.chunk.js"
},
{
"revision": "80011994e30adf599e5f47fcc81bc06d",
"url": "/static/media/progress-share-bg.80011994.png"
},
{
"revision": "dd7486e1330afa4a5bc0",
"url": "/static/js/24.ad69c58d.chunk.js"
},
{
"revision": "81a489ac63f2f2df5ab412e0782bd54c",
"url": "/static/media/kanjia_cg_icon.81a489ac.png"
},
{
"revision": "eb7ea479667392372f35",
"url": "/static/js/25.6ccc443e.chunk.js"
},
{
"revision": "8be0a64ae16143478681",
"url": "/static/js/26.7b048f4b.chunk.js"
},
{
"revision": "bf51ccc733319bcc56b89eec5dde1394",
"url": "/static/media/iconfont.bf51ccc7.svg"
},
{
"revision": "a6115d4e556d2e0e1754",
"url": "/static/js/27.fb848190.chunk.js"
},
{
"revision": "10b7bd5b99a2a0a2f1a30d7ed72ec1a0",
"url": "/static/media/iconfont.10b7bd5b.eot"
},
{
"revision": "6b8bb5a84b3ddaed7458",
"url": "/static/js/28.d44dcc23.chunk.js"
},
{
"revision": "55ad4bbcfbe7879698a2538de5145a09",
"url": "/static/media/iconfont.55ad4bbc.ttf"
},
{
"revision": "23851ab419d2d5bc7e46",
"url": "/static/js/29.f4c45245.chunk.js"
},
{
"revision": "d9bc424b15d521a0c979da25ea02c1c9",
"url": "/static/media/iconfont.d9bc424b.woff"
},
{
"revision": "e58e14409b6dc400e378",
"url": "/static/js/30.3933456b.chunk.js"
},
{
"revision": "e58e14409b6dc400e378",
"url": "/static/css/30.bc06dce4.chunk.css"
},
{
"revision": "23851ab419d2d5bc7e46",
"url": "/static/css/29.ecbb6f9a.chunk.css"
},
{
"revision": "6b8bb5a84b3ddaed7458",
"url": "/static/css/28.5ed15c7e.chunk.css"
},
{
"revision": "a6115d4e556d2e0e1754",
"url": "/static/css/27.694b4628.chunk.css"
},
{
"revision": "eb7ea479667392372f35",
"url": "/static/css/25.4c706a4e.chunk.css"
},
{
"revision": "dd7486e1330afa4a5bc0",
"url": "/static/css/24.257b0329.chunk.css"
},
{
"revision": "7bd59292e820326ba0e9b99336f61a53",
"url": "/index.html"
}
];
\ No newline at end of file
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
"/precache-manifest.e9325da1e98dc149e2897e2041cc90bb.js"
"/precache-manifest.acd1f1240a33bd979c93c5cf201cd724.js"
);
workbox.clientsClaim();
......
.examination{display:flex;flex-direction:column;height:calc(100% - 11.73333vw);padding-bottom:11.733333vw}.examination .topic{padding:3.733333vw 3.2vw;font-size:4.266667vw;line-height:8vw}.examination .category-tag{padding:1.066667vw;margin-right:2.666667vw;font-size:3.2vw;background-color:#e0b97b;color:#fff}.examination .show-answer{padding:3.733333vw 3.2vw;text-align:right}.examination .show-answer span{color:#09f;font-size:3.733333vw;line-height:3.733333vw}.examination .show-answer span i{-webkit-transform:translateY(30%);transform:translateY(30%);display:inline-block}.examination .options{list-style:none}.examination .options li{font-size:4.266667vw;margin-bottom:1.866667vw;padding:1.866667vw 3.2vw;line-height:8vw}.examination .options .alphabet{width:8vw;height:8vw;margin-right:4.266667vw;display:inline-block;border:1px solid #999;border-radius:50%;text-align:center;font-size:3.733333vw;line-height:8vw}.examination .options .active{color:#09f;background:#f8f8fb}.examination .options .active .alphabet{border-color:#09f}.examination .answer{padding:3.733333vw 3.2vw;background-color:#f5f5f5;visibility:hidden;overflow:auto;flex:1 1}.examination .answer .legend{font-size:3.733333vw;color:#999}.examination .answer .content{font-size:4.266667vw}.examination .answer.scale{-webkit-animation:slideInDown .3s both;animation:slideInDown .3s both}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-10%,0);transform:translate3d(0,-10%,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0);visibility:visible}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-10%,0);transform:translate3d(0,-10%,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0);visibility:visible}}.slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}.open-app{position:fixed;bottom:0;left:0;display:flex;justify-content:space-between;align-items:center;width:100%;height:11.733333vw;padding:0 4vw;border-top:1px solid #ddd;background:#fff}.open-app .left{font-size:3.2vw;color:#555}.open-app .right{width:23.466667vw;height:5.866667vw;border:1px solid #09f;border-radius:2.933333vw;color:#09f;font-size:3.2vw;background:transparent}
/*# sourceMappingURL=Examination.1a38e85d.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/examination/examination.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/examination/OpenApp/index.scss"],"names":[],"mappings":"AAuGA,aACI,YAAA,CACA,qBAAA,CACA,8BAAA,CACA,0BAAoB,CAJxB,oBAHI,wBAAA,CAWI,oBAAA,CACA,eAAiB,CATzB,2BAaQ,kBAAA,CACA,uBAAA,CACA,eAAA,CACA,wBAAA,CACA,UApHI,CAmGZ,0BAHI,wBAAA,CAyBI,gBAAiB,CAtBzB,+BAyBY,UAAA,CACA,oBAAA,CACA,sBAjGE,CAsEd,iCA8BgB,iCAAA,CAAA,yBAAA,CACA,oBAAqB,CA/BrC,sBAsCQ,eAAgB,CAtCxB,yBA2CY,oBAAA,CACA,wBAAA,CAEA,wBAAA,CACA,eAAiB,CA/C7B,gCAoDY,SAAA,CACA,UAAA,CACA,uBAAA,CACA,oBAAA,CAEA,qBAAA,CACA,iBAAA,CACA,iBAAA,CACA,oBAAA,CACA,eAVW,CAnDvB,8BAiEY,UAAA,CACA,kBAAmB,CAlE/B,wCAqEgB,iBAzKH,CAoGb,qBAHI,wBAAA,CA+EI,wBAAA,CACA,iBAAA,CACA,aAAA,CACA,QAAO,CA/Ef,6BAmFY,oBAAA,CACA,UA/KI,CA2FhB,8BAwFY,oBA/JE,CAuEd,2BA4FY,sCAAA,CAAA,8BAA+B,CAM3C,+BACI,GACI,uCAAA,CAAA,+BAAkC,CAGtC,GACI,+BAAA,CAAA,uBAAA,CACA,kBAAmB,CAAA,CAP3B,uBACI,GACI,uCAAA,CAAA,+BAAkC,CAGtC,GACI,+BAAA,CAAA,uBAAA,CACA,kBAAmB,CAAA,CAI3B,aACI,kCAAA,CAAA,0BAA2B,CClH/B,UACI,cAAA,CACA,QAAA,CACA,MAAA,CACA,YAAA,CACA,6BAAA,CACA,kBAAA,CAEA,UAAA,CACA,kBAAA,CACA,aAAA,CACA,yBAAA,CACA,eA3GQ,CA+FZ,gBAeQ,eAAA,CACA,UA1GQ,CA0FhB,iBAoBQ,iBAAA,CACA,iBAAA,CACA,qBAAA,CACA,wBAAA,CACA,UAAA,CACA,eAAA,CACA,sBAAuB","file":"Examination.1a38e85d.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.examination {\n display: flex;\n flex-direction: column;\n height: calc(100% - 44px);\n padding-bottom: 44px; }\n .examination .topic {\n padding: 14px 12px;\n font-size: 16px;\n line-height: 30px; }\n .examination .category-tag {\n padding: 4px;\n margin-right: 10px;\n font-size: 12px;\n background-color: #E0B97B;\n color: #fff; }\n .examination .show-answer {\n padding: 14px 12px;\n text-align: right; }\n .examination .show-answer span {\n color: #09f;\n font-size: 14px;\n line-height: 14px; }\n .examination .show-answer span i {\n transform: translateY(30%);\n display: inline-block; }\n .examination .options {\n list-style: none; }\n .examination .options li {\n padding: 14px 12px;\n font-size: 16px;\n margin-bottom: 7px;\n padding-top: 7px;\n padding-bottom: 7px;\n line-height: 30px; }\n .examination .options .alphabet {\n width: 30px;\n height: 30px;\n margin-right: 16px;\n display: inline-block;\n border: 1px solid #999;\n border-radius: 50%;\n text-align: center;\n font-size: 14px;\n line-height: 30px; }\n .examination .options .active {\n color: #09f;\n background: #F8F8Fb; }\n .examination .options .active .alphabet {\n border-color: #09f; }\n .examination .answer {\n padding: 14px 12px;\n background-color: #f5f5f5;\n visibility: hidden;\n overflow: auto;\n flex: 1; }\n .examination .answer .legend {\n font-size: 14px;\n color: #999; }\n .examination .answer .content {\n font-size: 16px; }\n .examination .answer.scale {\n animation: slideInDown .3s both; }\n\n@keyframes slideInDown {\n from {\n transform: translate3d(0, -10%, 0); }\n to {\n transform: translate3d(0, 0, 0);\n visibility: visible; } }\n\n.slideInDown {\n animation-name: slideInDown; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.open-app {\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n height: 44px;\n padding: 0 15px;\n border-top: 1px solid #ddd;\n background: #fff; }\n .open-app .left {\n font-size: 12px;\n color: #555; }\n .open-app .right {\n width: 88px;\n height: 22px;\n border: 1px solid #09f;\n border-radius: 11px;\n color: #09f;\n font-size: 12px;\n background: transparent; }\n"]}
\ No newline at end of file
.examination{display:flex;flex-direction:column;height:calc(100% - 11.73333vw);padding-bottom:11.733333vw}.examination .topic{padding:3.733333vw 3.2vw;font-size:4.266667vw;line-height:8vw}.examination .category-tag{padding:1.066667vw;margin-right:2.666667vw;font-size:3.2vw;background-color:#e0b97b;color:#fff}.examination .show-answer{padding:3.733333vw 3.2vw;text-align:right}.examination .show-answer span{color:#09f;font-size:3.733333vw;line-height:3.733333vw}.examination .show-answer span i{-webkit-transform:translateY(30%);transform:translateY(30%);display:inline-block}.examination .options{list-style:none}.examination .options li{font-size:4.266667vw;margin-bottom:1.866667vw;padding:1.866667vw 3.2vw;line-height:8vw}.examination .options .alphabet{width:8vw;height:8vw;margin-right:4.266667vw;display:inline-block;border:1px solid #999;border-radius:50%;text-align:center;font-size:3.733333vw;line-height:8vw}.examination .options .active{color:#09f;background:#f8f8fb}.examination .options .active .alphabet{border-color:#09f}.examination .answer{padding:3.733333vw 3.2vw;background-color:#f5f5f5;visibility:hidden;overflow:auto;flex:1 1}.examination .answer a{color:#09f}.examination .answer .legend{font-size:3.733333vw;color:#999}.examination .answer .content{font-size:4.266667vw}.examination .answer.scale{-webkit-animation:slideInDown .3s both;animation:slideInDown .3s both}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-10%,0);transform:translate3d(0,-10%,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0);visibility:visible}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-10%,0);transform:translate3d(0,-10%,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0);visibility:visible}}.slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}.open-app{position:fixed;bottom:0;left:0;display:flex;justify-content:space-between;align-items:center;width:100%;height:11.733333vw;padding:0 4vw;border-top:1px solid #ddd;background:#fff}.open-app .left{font-size:3.2vw;color:#555}.open-app .right{width:23.466667vw;height:5.866667vw;border:1px solid #09f;border-radius:2.933333vw;color:#09f;font-size:3.2vw;background:transparent}
/*# sourceMappingURL=Examination.fc9da1d2.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/examination/examination.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/examination/OpenApp/index.scss"],"names":[],"mappings":"AAuGA,aACI,YAAA,CACA,qBAAA,CACA,8BAAA,CACA,0BAAoB,CAJxB,oBAHI,wBAAA,CAWI,oBAAA,CACA,eAAiB,CATzB,2BAaQ,kBAAA,CACA,uBAAA,CACA,eAAA,CACA,wBAAA,CACA,UApHI,CAmGZ,0BAHI,wBAAA,CAyBI,gBAAiB,CAtBzB,+BAyBY,UAAA,CACA,oBAAA,CACA,sBAjGE,CAsEd,iCA8BgB,iCAAA,CAAA,yBAAA,CACA,oBAAqB,CA/BrC,sBAsCQ,eAAgB,CAtCxB,yBA2CY,oBAAA,CACA,wBAAA,CAEA,wBAAA,CACA,eAAiB,CA/C7B,gCAoDY,SAAA,CACA,UAAA,CACA,uBAAA,CACA,oBAAA,CAEA,qBAAA,CACA,iBAAA,CACA,iBAAA,CACA,oBAAA,CACA,eAVW,CAnDvB,8BAiEY,UAAA,CACA,kBAAmB,CAlE/B,wCAqEgB,iBAzKH,CAoGb,qBAHI,wBAAA,CA+EI,wBAAA,CACA,iBAAA,CACA,aAAA,CACA,QAAO,CA/Ef,uBAkFY,UAtLC,CAoGb,6BAsFY,oBAAA,CACA,UAlLI,CA2FhB,8BA2FY,oBAlKE,CAuEd,2BA+FY,sCAAA,CAAA,8BAA+B,CAM3C,+BACI,GACI,uCAAA,CAAA,+BAAkC,CAGtC,GACI,+BAAA,CAAA,uBAAA,CACA,kBAAmB,CAAA,CAP3B,uBACI,GACI,uCAAA,CAAA,+BAAkC,CAGtC,GACI,+BAAA,CAAA,uBAAA,CACA,kBAAmB,CAAA,CAI3B,aACI,kCAAA,CAAA,0BAA2B,CCrH/B,UACI,cAAA,CACA,QAAA,CACA,MAAA,CACA,YAAA,CACA,6BAAA,CACA,kBAAA,CAEA,UAAA,CACA,kBAAA,CACA,aAAA,CACA,yBAAA,CACA,eA3GQ,CA+FZ,gBAeQ,eAAA,CACA,UA1GQ,CA0FhB,iBAoBQ,iBAAA,CACA,iBAAA,CACA,qBAAA,CACA,wBAAA,CACA,UAAA,CACA,eAAA,CACA,sBAAuB","file":"Examination.fc9da1d2.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.examination {\n display: flex;\n flex-direction: column;\n height: calc(100% - 44px);\n padding-bottom: 44px; }\n .examination .topic {\n padding: 14px 12px;\n font-size: 16px;\n line-height: 30px; }\n .examination .category-tag {\n padding: 4px;\n margin-right: 10px;\n font-size: 12px;\n background-color: #E0B97B;\n color: #fff; }\n .examination .show-answer {\n padding: 14px 12px;\n text-align: right; }\n .examination .show-answer span {\n color: #09f;\n font-size: 14px;\n line-height: 14px; }\n .examination .show-answer span i {\n transform: translateY(30%);\n display: inline-block; }\n .examination .options {\n list-style: none; }\n .examination .options li {\n padding: 14px 12px;\n font-size: 16px;\n margin-bottom: 7px;\n padding-top: 7px;\n padding-bottom: 7px;\n line-height: 30px; }\n .examination .options .alphabet {\n width: 30px;\n height: 30px;\n margin-right: 16px;\n display: inline-block;\n border: 1px solid #999;\n border-radius: 50%;\n text-align: center;\n font-size: 14px;\n line-height: 30px; }\n .examination .options .active {\n color: #09f;\n background: #F8F8Fb; }\n .examination .options .active .alphabet {\n border-color: #09f; }\n .examination .answer {\n padding: 14px 12px;\n background-color: #f5f5f5;\n visibility: hidden;\n overflow: auto;\n flex: 1; }\n .examination .answer a {\n color: #09f; }\n .examination .answer .legend {\n font-size: 14px;\n color: #999; }\n .examination .answer .content {\n font-size: 16px; }\n .examination .answer.scale {\n animation: slideInDown .3s both; }\n\n@keyframes slideInDown {\n from {\n transform: translate3d(0, -10%, 0); }\n to {\n transform: translate3d(0, 0, 0);\n visibility: visible; } }\n\n.slideInDown {\n animation-name: slideInDown; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.open-app {\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n height: 44px;\n padding: 0 15px;\n border-top: 1px solid #ddd;\n background: #fff; }\n .open-app .left {\n font-size: 12px;\n color: #555; }\n .open-app .right {\n width: 88px;\n height: 22px;\n border: 1px solid #09f;\n border-radius: 11px;\n color: #09f;\n font-size: 12px;\n background: transparent; }\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.
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.
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{748:function(t,e,a){},749:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAYCAMAAADNlS1EAAAA+VBMVEUAAADeP03XQVEDmP38MjMGl/rSQ1Uhi+QJlfj9MjIsh9sGl/o6gtD/MTEYj+zoOkTxNzw6gtAIlvn8MjNQeL+wUXGAZZgnieCAZJg3g9LJSF0rh9x5aJ6HYpPfPktDfsm8TGhec7ShV3wNk/PxNjxdc7ShV3y7TGdDfskgi+XePkt4Z52GYpM2g9PIR10Ok/PxNjyUXYdrbajoOkQXkOwXkOzoO0M3g9LJR13UQ1TePksXkO0Nk/Qhi+QshtzePkzxNjz5MzbnO0RqbamUXIivUXI2g9NDfslQeL9dc7R4aJ6GYpKiV328TGfJR13UQlPoOkNQeb7pOkQ6pR5tAAAAO3RSTlMABo85Of3w7JGRjO7u7u3t7ZGDg09PMBUV+vrz7+/q397X18/Pv7+1tKSjmZh9fHd2cnFmZTQ0KCgbEL1XwbEAAADqSURBVBjTXZHlssIwFAZpqVDc4bq7+wXa4nUB3v9h+HKAYZL9k52dZJI5yfBk61m2SEapZEi7pqoqq8YYNLbxyjTNN6zVEahu2vcA/EAqE1Ch1tEty3pgJg+BTDFv2/ZRhy6SNU2mi/4OHMd5yfDcu657JrSm5y29phAvfN+/EdrnFLT51j0OguBJ2PgchuFJl2/tGfgQNt5GUXQp8a01By2+SedxHN8Jh1+TJDn8J60VizWSnpam6W4mIM/sEXM67VPULaBDfieLxeoLAsoDUIa8Y/TX2+fkTFCHKPgkhRWqhUKORGlQ27MGJhAis32Nv3oAAAAASUVORK5CYII="},766:function(t,e,a){"use strict";a.r(e);a(43);var c=a(14),s=a.n(c),n=a(7),i=a(8),l=a(10),m=a(9),o=a(11),d=a(0),r=a.n(d),p=a(69),A=(a(748),a(4)),h=a(16),u=a(33),g=a(87),E=function(t){function e(t){var a;return Object(n.a)(this,e),(a=Object(l.a)(this,Object(m.a)(e).call(this,t))).state={camp:[],employment:[],basics:[],advanced:[],special:[],isLoading:!0},a}return Object(o.a)(e,t),Object(i.a)(e,[{key:"componentDidMount",value:function(){var t=this;A.c.get("".concat(API.home,"/m/course/classify/").concat(1)).then(function(e){200===e.data.code?(t.setState({isLoading:!1}),e.data.data.common.length>0&&t.setState({basics:e.data.data.common[0],advanced:e.data.data.common[1]}),e.data.data.special.length>0&&t.setState({camp:e.data.data.special[0],employment:e.data.data.special[1],special:e.data.data.special[2]})):s.a.info(e.data.msg,2)})}},{key:"render",value:function(){return r.a.createElement("div",{className:"class-box"},r.a.createElement(u.e,{title:"\u5206\u7c7b",arrow:!1,cart:!1}),r.a.createElement(g.a,{isLoading:this.state.isLoading},r.a.createElement(N,{data:this.state.camp.list,title:this.state.camp.name,type:1}),r.a.createElement(N,{data:this.state.employment.list,title:this.state.employment.name,type:1}),r.a.createElement(N,{data:this.state.basics.list,title:this.state.basics.name,type:2}),r.a.createElement(N,{data:this.state.advanced.list,title:this.state.advanced.name,type:2}),r.a.createElement("div",{className:"vip"},this.state.special.list&&this.state.special.list.length>0&&this.state.special.list.map(function(t,e){return r.a.createElement(h.b,{key:e,to:"/detail?id=".concat(t.course_id)},r.a.createElement("img",{src:t.course_img,alt:""}))}))))}}]),e}(d.Component);function f(t){var e=t.data;return r.a.createElement("div",{className:"items-box"},e&&e.length>0&&e.map(function(t,e){return r.a.createElement(h.b,{to:"/detail?id=".concat(t.course_id),key:e,className:"item-banner"},r.a.createElement("img",{src:t.course_img,alt:""}))}))}function b(t){return r.a.createElement("div",{className:"items-box"},t.data&&t.data.length>0&&t.data.map(function(t,e){return r.a.createElement(h.b,{to:"/courselist?id=".concat(t.c_id,"&name=").concat(t.c_name),key:e,className:"item-label"},t.c_name)}))}function N(t){return r.a.createElement("div",{className:"class-course"},r.a.createElement("p",{className:"course-items-title"},r.a.createElement("img",{src:a(749),alt:""}),t.title),1===t.type&&r.a.createElement(f,{data:t.data}),2===t.type&&r.a.createElement(b,{data:t.data}))}e.default=Object(p.b)(E)}}]);
//# sourceMappingURL=Classify.0c09c28b.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{748:function(t,e,a){},749:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAYCAMAAADNlS1EAAAA+VBMVEUAAADeP03XQVEDmP38MjMGl/rSQ1Uhi+QJlfj9MjIsh9sGl/o6gtD/MTEYj+zoOkTxNzw6gtAIlvn8MjNQeL+wUXGAZZgnieCAZJg3g9LJSF0rh9x5aJ6HYpPfPktDfsm8TGhec7ShV3wNk/PxNjxdc7ShV3y7TGdDfskgi+XePkt4Z52GYpM2g9PIR10Ok/PxNjyUXYdrbajoOkQXkOwXkOzoO0M3g9LJR13UQ1TePksXkO0Nk/Qhi+QshtzePkzxNjz5MzbnO0RqbamUXIivUXI2g9NDfslQeL9dc7R4aJ6GYpKiV328TGfJR13UQlPoOkNQeb7pOkQ6pR5tAAAAO3RSTlMABo85Of3w7JGRjO7u7u3t7ZGDg09PMBUV+vrz7+/q397X18/Pv7+1tKSjmZh9fHd2cnFmZTQ0KCgbEL1XwbEAAADqSURBVBjTXZHlssIwFAZpqVDc4bq7+wXa4nUB3v9h+HKAYZL9k52dZJI5yfBk61m2SEapZEi7pqoqq8YYNLbxyjTNN6zVEahu2vcA/EAqE1Ch1tEty3pgJg+BTDFv2/ZRhy6SNU2mi/4OHMd5yfDcu657JrSm5y29phAvfN+/EdrnFLT51j0OguBJ2PgchuFJl2/tGfgQNt5GUXQp8a01By2+SedxHN8Jh1+TJDn8J60VizWSnpam6W4mIM/sEXM67VPULaBDfieLxeoLAsoDUIa8Y/TX2+fkTFCHKPgkhRWqhUKORGlQ27MGJhAis32Nv3oAAAAASUVORK5CYII="},766:function(t,e,a){"use strict";a.r(e);a(43);var c=a(14),s=a.n(c),n=a(7),i=a(8),l=a(10),m=a(9),o=a(11),d=a(0),r=a.n(d),p=a(70),A=(a(748),a(4)),h=a(16),u=a(33),g=a(63),E=function(t){function e(t){var a;return Object(n.a)(this,e),(a=Object(l.a)(this,Object(m.a)(e).call(this,t))).state={camp:[],employment:[],basics:[],advanced:[],special:[],isLoading:!0},a}return Object(o.a)(e,t),Object(i.a)(e,[{key:"componentDidMount",value:function(){var t=this;A.c.get("".concat(API.home,"/m/course/classify/").concat(1)).then(function(e){200===e.data.code?(t.setState({isLoading:!1}),e.data.data.common.length>0&&t.setState({basics:e.data.data.common[0],advanced:e.data.data.common[1]}),e.data.data.special.length>0&&t.setState({camp:e.data.data.special[0],employment:e.data.data.special[1],special:e.data.data.special[2]})):s.a.info(e.data.msg,2)})}},{key:"render",value:function(){return r.a.createElement("div",{className:"class-box"},r.a.createElement(u.e,{title:"\u5206\u7c7b",arrow:!1,cart:!1}),r.a.createElement(g.a,{isLoading:this.state.isLoading},r.a.createElement(N,{data:this.state.camp.list,title:this.state.camp.name,type:1}),r.a.createElement(N,{data:this.state.employment.list,title:this.state.employment.name,type:1}),r.a.createElement(N,{data:this.state.basics.list,title:this.state.basics.name,type:2}),r.a.createElement(N,{data:this.state.advanced.list,title:this.state.advanced.name,type:2}),r.a.createElement("div",{className:"vip"},this.state.special.list&&this.state.special.list.length>0&&this.state.special.list.map(function(t,e){return r.a.createElement(h.b,{key:e,to:"/detail?id=".concat(t.course_id)},r.a.createElement("img",{src:t.course_img,alt:""}))}))))}}]),e}(d.Component);function f(t){var e=t.data;return r.a.createElement("div",{className:"items-box"},e&&e.length>0&&e.map(function(t,e){return r.a.createElement(h.b,{to:"/detail?id=".concat(t.course_id),key:e,className:"item-banner"},r.a.createElement("img",{src:t.course_img,alt:""}))}))}function b(t){return r.a.createElement("div",{className:"items-box"},t.data&&t.data.length>0&&t.data.map(function(t,e){return r.a.createElement(h.b,{to:"/courselist?id=".concat(t.c_id,"&name=").concat(t.c_name),key:e,className:"item-label"},t.c_name)}))}function N(t){return r.a.createElement("div",{className:"class-course"},r.a.createElement("p",{className:"course-items-title"},r.a.createElement("img",{src:a(749),alt:""}),t.title),1===t.type&&r.a.createElement(f,{data:t.data}),2===t.type&&r.a.createElement(b,{data:t.data}))}e.default=Object(p.b)(E)}}]);
//# sourceMappingURL=Classify.e680dd84.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{702:function(e,a,t){},759:function(e,a,t){"use strict";t.r(a),t.d(a,"default",function(){return b});t(86);var n=t(25),c=t.n(n),l=(t(151),t(34)),s=t.n(l),i=(t(152),t(73)),r=t.n(i),m=t(7),o=t(8),d=t(10),p=t(9),E=t(11),u=t(0),N=t.n(u),v=(t(702),t(96)),b=function(e){function a(e){return Object(m.a)(this,a),Object(d.a)(this,Object(p.a)(a).call(this,e))}return Object(E.a)(a,e),Object(o.a)(a,[{key:"render",value:function(){return N.a.createElement("div",{className:"drawDocument"},N.a.createElement("div",null,N.a.createElement(r.a,{className:"navbar"},N.a.createElement("i",{className:"iconfont iconiconfront-68 back",onClick:this.props.history.goBack}),N.a.createElement("div",{className:"common-ft-15"},"\u89c4\u5219\u8bf4\u660e"))),N.a.createElement("div",{className:"content"},N.a.createElement(r.a,null,N.a.createElement("div",{className:"directions-div"},"\u5206\u9500\u89c4\u5219"),N.a.createElement(s.a,{size:"md"}),N.a.createElement("p",{className:"directions-p"},"\u70b9\u51fb\u300e\u5206\u4eab\u8d5a\u94b1\u300f\u751f\u6210\u60a8\u7684\u4e13\u5c5e\u6d77\u62a5\uff0c\u628a\u4e13\u5c5e\u6d77\u62a5\u5206\u4eab\u5230\u5fae\u4fe1\u3001\u5fae\u535a\u3001QQ\u3001\u77e5\u4e4e\u3001\u8d34\u5427\u7b49\uff0c\u4ed6\u4eba\u901a\u8fc7\u60a8\u7684\u6d77\u62a5\u8d2d\u4e70\u540e\u60a8\u53ef\u83b7\u5f97\u76f8\u5e94\u7684\u4f63\u91d1\u5956\u52b1\u3002"),N.a.createElement(s.a,{size:"lg"}),N.a.createElement(s.a,{size:"lg"}),N.a.createElement("div",{className:"directions-div"},"\u63d0\u73b0\u89c4\u5219"),N.a.createElement(s.a,{size:"md"}),N.a.createElement("p",{className:"directions-p"},"1. \u5df2\u5f00\u59cb\u7684\u76f4\u64ad\u8bfe\u7a0b\uff0c\u7528\u6237\u8d2d\u4e70\u540e\u4f63\u91d1\u4f1a\u5b9e\u65f6\u8f6c\u5165\u60a8\u7684\u8d26\u53f7\u4f59\u989d\uff1b"),N.a.createElement("p",{className:"directions-p"},"2. \u5c1a\u672a\u5f00\u8bfe\u7684\u76f4\u64ad\u8bfe\u7a0b\uff0c\u7528\u6237\u8d2d\u4e70\u540e\u5f52\u5c5e\u60a8\u7684\u4f63\u91d1\u6237\u6682\u65f6\u5b58\u653e\u5728\u300e\u5f85\u786e\u8ba4\u91d1\u989d\u300f\u4e2d\uff0c\u76f4\u5230\u8be5\u8bfe\u7a0b\u6b63\u5f0f\u5f00\u8bfe\u3002\u5982\u679c\u7528\u6237\u6ca1\u6709\u9000\u6b3e\uff0c\u5bf9\u5e94\u7684\u8ba2\u5355\u91d1\u989d\u4f1a\u81ea\u52a8\u8f6c\u5165\u60a8\u7684\u8d26\u53f7\u4f59\u989d\uff0c\u5426\u5219\u8be5\u4f63\u91d1\u4f1a\u81ea\u52a8\u6536\u56de\uff1b"),N.a.createElement("p",{className:"directions-p"},"3. \u4f59\u989d\u4e2d\u7684\u91d1\u989d\u53ef\u968f\u65f6\u63d0\u73b0\u3002"))),N.a.createElement("div",{className:"bottom"},N.a.createElement(r.a,null,N.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},N.a.createElement("p",{className:"tip"},"\u6536\u652f\u660e\u7ec6\u53ca\u5f85\u786e\u8ba4\u91d1\u989d\u8bf7\u524d\u5f80App\u67e5\u770b"),N.a.createElement(v.a,{className:"app",text:"\u5728APP\u6253\u5f00"})))))}}]),a}(u.Component)}}]);
//# sourceMappingURL=DrawDocument.4d71b0d8.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{702:function(e,a,t){},759:function(e,a,t){"use strict";t.r(a),t.d(a,"default",function(){return b});t(88);var n=t(25),c=t.n(n),l=(t(152),t(34)),s=t.n(l),i=(t(153),t(74)),r=t.n(i),m=t(7),o=t(8),d=t(10),p=t(9),E=t(11),u=t(0),N=t.n(u),v=(t(702),t(97)),b=function(e){function a(e){return Object(m.a)(this,a),Object(d.a)(this,Object(p.a)(a).call(this,e))}return Object(E.a)(a,e),Object(o.a)(a,[{key:"render",value:function(){return N.a.createElement("div",{className:"drawDocument"},N.a.createElement("div",null,N.a.createElement(r.a,{className:"navbar"},N.a.createElement("i",{className:"iconfont iconiconfront-68 back",onClick:this.props.history.goBack}),N.a.createElement("div",{className:"common-ft-15"},"\u89c4\u5219\u8bf4\u660e"))),N.a.createElement("div",{className:"content"},N.a.createElement(r.a,null,N.a.createElement("div",{className:"directions-div"},"\u5206\u9500\u89c4\u5219"),N.a.createElement(s.a,{size:"md"}),N.a.createElement("p",{className:"directions-p"},"\u70b9\u51fb\u300e\u5206\u4eab\u8d5a\u94b1\u300f\u751f\u6210\u60a8\u7684\u4e13\u5c5e\u6d77\u62a5\uff0c\u628a\u4e13\u5c5e\u6d77\u62a5\u5206\u4eab\u5230\u5fae\u4fe1\u3001\u5fae\u535a\u3001QQ\u3001\u77e5\u4e4e\u3001\u8d34\u5427\u7b49\uff0c\u4ed6\u4eba\u901a\u8fc7\u60a8\u7684\u6d77\u62a5\u8d2d\u4e70\u540e\u60a8\u53ef\u83b7\u5f97\u76f8\u5e94\u7684\u4f63\u91d1\u5956\u52b1\u3002"),N.a.createElement(s.a,{size:"lg"}),N.a.createElement(s.a,{size:"lg"}),N.a.createElement("div",{className:"directions-div"},"\u63d0\u73b0\u89c4\u5219"),N.a.createElement(s.a,{size:"md"}),N.a.createElement("p",{className:"directions-p"},"1. \u5df2\u5f00\u59cb\u7684\u76f4\u64ad\u8bfe\u7a0b\uff0c\u7528\u6237\u8d2d\u4e70\u540e\u4f63\u91d1\u4f1a\u5b9e\u65f6\u8f6c\u5165\u60a8\u7684\u8d26\u53f7\u4f59\u989d\uff1b"),N.a.createElement("p",{className:"directions-p"},"2. \u5c1a\u672a\u5f00\u8bfe\u7684\u76f4\u64ad\u8bfe\u7a0b\uff0c\u7528\u6237\u8d2d\u4e70\u540e\u5f52\u5c5e\u60a8\u7684\u4f63\u91d1\u6237\u6682\u65f6\u5b58\u653e\u5728\u300e\u5f85\u786e\u8ba4\u91d1\u989d\u300f\u4e2d\uff0c\u76f4\u5230\u8be5\u8bfe\u7a0b\u6b63\u5f0f\u5f00\u8bfe\u3002\u5982\u679c\u7528\u6237\u6ca1\u6709\u9000\u6b3e\uff0c\u5bf9\u5e94\u7684\u8ba2\u5355\u91d1\u989d\u4f1a\u81ea\u52a8\u8f6c\u5165\u60a8\u7684\u8d26\u53f7\u4f59\u989d\uff0c\u5426\u5219\u8be5\u4f63\u91d1\u4f1a\u81ea\u52a8\u6536\u56de\uff1b"),N.a.createElement("p",{className:"directions-p"},"3. \u4f59\u989d\u4e2d\u7684\u91d1\u989d\u53ef\u968f\u65f6\u63d0\u73b0\u3002"))),N.a.createElement("div",{className:"bottom"},N.a.createElement(r.a,null,N.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},N.a.createElement("p",{className:"tip"},"\u6536\u652f\u660e\u7ec6\u53ca\u5f85\u786e\u8ba4\u91d1\u989d\u8bf7\u524d\u5f80App\u67e5\u770b"),N.a.createElement(v.a,{className:"app",text:"\u5728APP\u6253\u5f00"})))))}}]),a}(u.Component)}}]);
//# sourceMappingURL=DrawDocument.e8eba551.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/scholarship/DrawDocument/DrawDocument.js"],"names":["DrawDocument","props","Object","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__","this","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_8__","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__","call","react__WEBPACK_IMPORTED_MODULE_11___default","a","createElement","className","antd_mobile_lib_wing_blank__WEBPACK_IMPORTED_MODULE_5___default","onClick","history","goBack","antd_mobile_lib_white_space__WEBPACK_IMPORTED_MODULE_3___default","size","antd_mobile_lib_flex__WEBPACK_IMPORTED_MODULE_1___default","justify","align","style","height","_common_CallApp__WEBPACK_IMPORTED_MODULE_13__","text","Component"],"mappings":"kTAKqBA,cACjB,SAAAA,EAAYC,GAAQ,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAJ,GAAAE,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAF,GAAAO,KAAAH,KACVH,0EAGN,OACIO,EAAAC,EAAAC,cAAA,OAAKC,UAAW,gBACZH,EAAAC,EAAAC,cAAA,WACIF,EAAAC,EAAAC,cAAAE,EAAAH,EAAA,CAAWE,UAAW,UAClBH,EAAAC,EAAAC,cAAA,KAAGC,UAAW,iCAAkCE,QAAST,KAAKH,MAAMa,QAAQC,SAC5EP,EAAAC,EAAAC,cAAA,OAAKC,UAAW,gBAAhB,8BAIRH,EAAAC,EAAAC,cAAA,OAAKC,UAAW,WACZH,EAAAC,EAAAC,cAAAE,EAAAH,EAAA,KACID,EAAAC,EAAAC,cAAA,OAAKC,UAAW,kBAAhB,4BACAH,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,0XACAH,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAA,OAAKC,UAAW,kBAAhB,4BACAH,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,+KACAH,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,qgBACAH,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,iFAIRH,EAAAC,EAAAC,cAAA,OAAKC,UAAW,UACZH,EAAAC,EAAAC,cAAAE,EAAAH,EAAA,KACID,EAAAC,EAAAC,cAAAQ,EAAAT,EAAA,CAAMU,QAAQ,UAAUC,MAAM,SAASC,MAAO,CAACC,OAAQ,SACnDd,EAAAC,EAAAC,cAAA,KAAGC,UAAW,OAAd,iGAEAH,EAAAC,EAAAC,cAACa,EAAA,EAAD,CAASZ,UAAU,MAAMa,KAAK,qCAlChBC","file":"static/js/DrawDocument.4d71b0d8.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport { Flex, WhiteSpace, WingBlank } from 'antd-mobile';\nimport './DrawDocument.scss';\nimport OpenApp from '@/common/CallApp';\n\nexport default class DrawDocument extends Component {\n constructor(props) {\n super(props);\n }\n render() {\n return (\n <div className={'drawDocument'}>\n <div>\n <WingBlank className={'navbar'}>\n <i className={'iconfont iconiconfront-68 back'} onClick={this.props.history.goBack}></i>\n <div className={\"common-ft-15\"}>规则说明</div>\n </WingBlank>\n </div>\n\n <div className={'content'}>\n <WingBlank>\n <div className={'directions-div'}>分销规则</div>\n <WhiteSpace size='md'></WhiteSpace>\n <p className={'directions-p'}>点击『分享赚钱』生成您的专属海报,把专属海报分享到微信、微博、QQ、知乎、贴吧等,他人通过您的海报购买后您可获得相应的佣金奖励。</p>\n <WhiteSpace size='lg'></WhiteSpace>\n <WhiteSpace size='lg'></WhiteSpace>\n <div className={'directions-div'}>提现规则</div>\n <WhiteSpace size='md'></WhiteSpace>\n <p className={'directions-p'}>1. 已开始的直播课程,用户购买后佣金会实时转入您的账号余额;</p>\n <p className={'directions-p'}>2. 尚未开课的直播课程,用户购买后归属您的佣金户暂时存放在『待确认金额』中,直到该课程正式开课。如果用户没有退款,对应的订单金额会自动转入您的账号余额,否则该佣金会自动收回;</p>\n <p className={'directions-p'}>3. 余额中的金额可随时提现。</p>\n </WingBlank>\n </div>\n\n <div className={'bottom'}>\n <WingBlank>\n <Flex justify='between' align='center' style={{height: '44px'}}>\n <p className={'tip'}>收支明细及待确认金额请前往App查看</p>\n {/* <div className={'app'}>在APP打开</div> */}\n <OpenApp className='app' text='在APP打开'/>\n </Flex>\n </WingBlank>\n </div>\n </div>\n )\n }\n}\n"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["components/scholarship/DrawDocument/DrawDocument.js"],"names":["DrawDocument","props","Object","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__","this","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_8__","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__","call","react__WEBPACK_IMPORTED_MODULE_11___default","a","createElement","className","antd_mobile_lib_wing_blank__WEBPACK_IMPORTED_MODULE_5___default","onClick","history","goBack","antd_mobile_lib_white_space__WEBPACK_IMPORTED_MODULE_3___default","size","antd_mobile_lib_flex__WEBPACK_IMPORTED_MODULE_1___default","justify","align","style","height","_common_CallApp__WEBPACK_IMPORTED_MODULE_13__","text","Component"],"mappings":"kTAKqBA,cACjB,SAAAA,EAAYC,GAAQ,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAJ,GAAAE,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAF,GAAAO,KAAAH,KACVH,0EAGN,OACIO,EAAAC,EAAAC,cAAA,OAAKC,UAAW,gBACZH,EAAAC,EAAAC,cAAA,WACIF,EAAAC,EAAAC,cAAAE,EAAAH,EAAA,CAAWE,UAAW,UAClBH,EAAAC,EAAAC,cAAA,KAAGC,UAAW,iCAAkCE,QAAST,KAAKH,MAAMa,QAAQC,SAC5EP,EAAAC,EAAAC,cAAA,OAAKC,UAAW,gBAAhB,8BAIRH,EAAAC,EAAAC,cAAA,OAAKC,UAAW,WACZH,EAAAC,EAAAC,cAAAE,EAAAH,EAAA,KACID,EAAAC,EAAAC,cAAA,OAAKC,UAAW,kBAAhB,4BACAH,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,0XACAH,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAA,OAAKC,UAAW,kBAAhB,4BACAH,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,+KACAH,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,qgBACAH,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,iFAIRH,EAAAC,EAAAC,cAAA,OAAKC,UAAW,UACZH,EAAAC,EAAAC,cAAAE,EAAAH,EAAA,KACID,EAAAC,EAAAC,cAAAQ,EAAAT,EAAA,CAAMU,QAAQ,UAAUC,MAAM,SAASC,MAAO,CAACC,OAAQ,SACnDd,EAAAC,EAAAC,cAAA,KAAGC,UAAW,OAAd,iGAEAH,EAAAC,EAAAC,cAACa,EAAA,EAAD,CAASZ,UAAU,MAAMa,KAAK,qCAlChBC","file":"static/js/DrawDocument.e8eba551.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport { Flex, WhiteSpace, WingBlank } from 'antd-mobile';\nimport './DrawDocument.scss';\nimport OpenApp from '@/common/CallApp';\n\nexport default class DrawDocument extends Component {\n constructor(props) {\n super(props);\n }\n render() {\n return (\n <div className={'drawDocument'}>\n <div>\n <WingBlank className={'navbar'}>\n <i className={'iconfont iconiconfront-68 back'} onClick={this.props.history.goBack}></i>\n <div className={\"common-ft-15\"}>规则说明</div>\n </WingBlank>\n </div>\n\n <div className={'content'}>\n <WingBlank>\n <div className={'directions-div'}>分销规则</div>\n <WhiteSpace size='md'></WhiteSpace>\n <p className={'directions-p'}>点击『分享赚钱』生成您的专属海报,把专属海报分享到微信、微博、QQ、知乎、贴吧等,他人通过您的海报购买后您可获得相应的佣金奖励。</p>\n <WhiteSpace size='lg'></WhiteSpace>\n <WhiteSpace size='lg'></WhiteSpace>\n <div className={'directions-div'}>提现规则</div>\n <WhiteSpace size='md'></WhiteSpace>\n <p className={'directions-p'}>1. 已开始的直播课程,用户购买后佣金会实时转入您的账号余额;</p>\n <p className={'directions-p'}>2. 尚未开课的直播课程,用户购买后归属您的佣金户暂时存放在『待确认金额』中,直到该课程正式开课。如果用户没有退款,对应的订单金额会自动转入您的账号余额,否则该佣金会自动收回;</p>\n <p className={'directions-p'}>3. 余额中的金额可随时提现。</p>\n </WingBlank>\n </div>\n\n <div className={'bottom'}>\n <WingBlank>\n <Flex justify='between' align='center' style={{height: '44px'}}>\n <p className={'tip'}>收支明细及待确认金额请前往App查看</p>\n {/* <div className={'app'}>在APP打开</div> */}\n <OpenApp className='app' text='在APP打开'/>\n </Flex>\n </WingBlank>\n </div>\n </div>\n )\n }\n}\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{709:function(e,t,a){},710:function(e,t,a){},773:function(e,t,a){"use strict";a.r(t);var n=a(7),s=a(8),c=a(10),o=a(9),r=a(11),i=a(0),l=a.n(i),m=(a(709),a(15)),u=a.n(m),w=a(33),p=(a(710),function(){return l.a.createElement("div",{className:"open-app"},l.a.createElement("p",{className:"left"},"\u66f4\u591a\u8bd5\u9898\u8bf7\u524d\u5f80App\u67e5\u770b"),l.a.createElement("button",{className:"right"},"\u5728APP\u6253\u5f00"))}),h=a(4);a.d(t,"default",function(){return d});var d=function(e){function t(e){var a;return Object(n.a)(this,t),(a=Object(c.a)(this,Object(o.a)(t).call(this,e))).showAnswer=function(){a.setState({isShowAnswer:!a.state.isShowAnswer})},a.state={isShowAnswer:!1,questionData:{}},a}return Object(r.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){var e=this;h.c.get("".concat(API.home,"/m/dailyQuestion")).then(function(t){e.setState({questionData:t.data.data})})}},{key:"render",value:function(){var e=this.state,t=e.questionData,a=t.ques,n=t.type_id,s=t.options,c=t.analysis,o=t.category,r=e.isShowAnswer;return l.a.createElement("div",{className:"examination"},l.a.createElement("div",{className:"question-container"},l.a.createElement("div",{className:"topic"},l.a.createElement(w.h,{className:"category-tag"},o),a),1===n&&l.a.createElement(f,{className:"options",options:s,showCorrect:this.state.isShowAnswer}),!r&&l.a.createElement("div",{className:"show-answer",onClick:this.showAnswer},l.a.createElement("span",null,"\u67e5\u770b\u89e3\u6790",l.a.createElement("i",{className:"iconfont iconiconfront-69"})))),r&&l.a.createElement(E,{content:c,isShowAnswer:!0}),l.a.createElement(p,null))}}]),t}(i.PureComponent),f=l.a.memo(function(e){var t=e.options,a=e.showCorrect;return l.a.createElement("ul",{className:"options"},t.map(function(e,t){return l.a.createElement("li",{key:t,className:u()("option",{active:1===e.is_ans&&a})},l.a.createElement("span",{className:"alphabet"},String.fromCharCode(65+t)),e.des)}))}),E=l.a.memo(function(e){var t=e.content,a=e.isShowAnswer;return l.a.createElement("div",{className:u()("answer",{scale:a})},l.a.createElement("p",{className:"legend"},"\u89e3\u6790"),l.a.createElement("p",{className:"content"},t))})}}]);
//# sourceMappingURL=Examination.04d34ba8.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/examination/OpenApp/index.js","components/examination/index.js"],"names":["OpenApp","react_default","a","createElement","className","Examination","props","_this","Object","classCallCheck","this","possibleConstructorReturn","getPrototypeOf","call","showAnswer","setState","isShowAnswer","state","questionData","_this2","http","get","concat","API","home","then","res","data","_this$state","_this$state$questionD","ques","type_id","options","analysis","category","common","MultiChoice","showCorrect","onClick","Answer","content","components_examination_OpenApp","PureComponent","React","memo","_ref","map","item","index","key","classnames","active","is_ans","String","fromCharCode","des","_ref2","scale"],"mappings":"wOAYeA,UATC,WACZ,OACIC,EAAAC,EAAAC,cAAA,OAAKC,UAAU,YACXH,EAAAC,EAAAC,cAAA,KAAGC,UAAU,QAAb,6DACAH,EAAAC,EAAAC,cAAA,UAAQC,UAAU,SAAlB,6ECCSC,cAEjB,SAAAA,EAAYC,GAAO,IAAAC,EAAA,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAL,IACfE,EAAAC,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAH,GAAAQ,KAAAH,KAAMJ,KAgBVQ,WAAa,WACTP,EAAKQ,SAAS,CAACC,cAAeT,EAAKU,MAAMD,gBAhBzCT,EAAKU,MAAQ,CACTD,cAAc,EACdE,aAAc,IAJHX,mFAQC,IAAAY,EAAAT,KAChBU,IAAKC,IAAL,GAAAC,OAAYC,IAAIC,KAAhB,qBACKC,KAAK,SAAAC,GACFP,EAAKJ,SAAS,CACVG,aAAcQ,EAAIC,KAAKA,0CAS9B,IAAAC,EAMDlB,KAAKO,MANJY,EAAAD,EAEDV,aACIY,EAHHD,EAGGC,KAAMC,EAHTF,EAGSE,QAASC,EAHlBH,EAGkBG,QAASC,EAH3BJ,EAG2BI,SAAUC,EAHrCL,EAGqCK,SAEtClB,EALCY,EAKDZ,aAEJ,OACIf,EAAAC,EAAAC,cAAA,OAAKC,UAAU,eACXH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,sBACXH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,SACXH,EAAAC,EAAAC,cAACgC,EAAA,EAAD,CAAK/B,UAAU,gBAAgB8B,GAC9BJ,GAGW,IAAZC,GAAiB9B,EAAAC,EAAAC,cAACiC,EAAD,CAAahC,UAAU,UAAU4B,QAASA,EAC1BK,YAAa3B,KAAKO,MAAMD,gBAIxDA,GAEGf,EAAAC,EAAAC,cAAA,OAAKC,UAAU,cAAckC,QAAS5B,KAAKI,YACvCb,EAAAC,EAAAC,cAAA,uCAAUF,EAAAC,EAAAC,cAAA,KAAGC,UAAU,iCAMnCY,GAAgBf,EAAAC,EAAAC,cAACoC,EAAD,CAAQC,QAASP,EAAUjB,cAAY,IAE3Df,EAAAC,EAAAC,cAACsC,EAAD,cAtDyBC,iBA4DnCN,EAAcO,IAAMC,KAAK,SAAAC,GAA4B,IAA1Bb,EAA0Ba,EAA1Bb,QAASK,EAAiBQ,EAAjBR,YACtC,OACIpC,EAAAC,EAAAC,cAAA,MAAIC,UAAU,WAEN4B,EAAQc,IAAI,SAACC,EAAMC,GAAP,OACR/C,EAAAC,EAAAC,cAAA,MAAI8C,IAAKD,EAAO5C,UAAW8C,IAAW,SAAU,CAACC,OAA0B,IAAhBJ,EAAKK,QAAgBf,KAC5EpC,EAAAC,EAAAC,cAAA,QAAMC,UAAU,YAAYiD,OAAOC,aAAa,GAAKN,IACpDD,EAAKQ,UAQxBhB,EAASI,IAAMC,KAAK,SAAAY,GAA6B,IAA3BhB,EAA2BgB,EAA3BhB,QAASxB,EAAkBwC,EAAlBxC,aACjC,OACIf,EAAAC,EAAAC,cAAA,OAAKC,UAAW8C,IAAW,SAAU,CAACO,MAAOzC,KACzCf,EAAAC,EAAAC,cAAA,KAAGC,UAAU,UAAb,gBACAH,EAAAC,EAAAC,cAAA,KAAGC,UAAU,WACRoC","file":"static/js/Examination.04d34ba8.chunk.js","sourcesContent":["import React from 'react'\nimport './index.scss'\n\nconst OpenApp = () => {\n return (\n <div className='open-app'>\n <p className='left'>更多试题请前往App查看</p>\n <button className='right'>在APP打开</button>\n </div>\n )\n}\n\nexport default OpenApp","import React, { PureComponent } from 'react'\nimport './examination.scss'\nimport classnames from 'classnames'\n\nimport { Tag } from '../../common'\nimport OpenApp from './OpenApp'\nimport { http,api } from '@/utils'\n\nexport default class Examination extends PureComponent {\n\n constructor(props) {\n super(props)\n this.state = {\n isShowAnswer: false,\n questionData: {}\n }\n }\n\n componentDidMount() {\n http.get(`${API.home}/m/dailyQuestion`)\n .then(res => {\n this.setState({\n questionData: res.data.data\n })\n })\n }\n\n showAnswer = () => {\n this.setState({isShowAnswer: !this.state.isShowAnswer})\n }\n\n render() {\n let {\n questionData: {\n ques, type_id, options, analysis, category\n },\n isShowAnswer\n } = this.state\n return (\n <div className='examination'>\n <div className=\"question-container\">\n <div className=\"topic\">\n <Tag className='category-tag'>{category}</Tag>\n {ques}\n </div>\n {\n type_id === 1 && <MultiChoice className='options' options={options}\n showCorrect={this.state.isShowAnswer}\n />\n }\n {\n !isShowAnswer &&\n (\n <div className=\"show-answer\" onClick={this.showAnswer}>\n <span>查看解析<i className='iconfont iconiconfront-69'></i></span>\n </div>\n )\n }\n </div>\n {\n isShowAnswer && <Answer content={analysis} isShowAnswer/>\n }\n <OpenApp/>\n </div>\n )\n }\n}\n\nconst MultiChoice = React.memo(({options, showCorrect}) => {\n return (\n <ul className='options'>\n {\n options.map((item, index) => (\n <li key={index} className={classnames('option', {'active': item.is_ans === 1 && showCorrect})}>\n <span className=\"alphabet\">{String.fromCharCode(65 + index)}</span>\n {item.des}\n </li>\n ))\n }\n </ul>\n )\n})\n\nconst Answer = React.memo(({content, isShowAnswer}) => {\n return (\n <div className={classnames('answer', {scale: isShowAnswer})}>\n <p className='legend'>解析</p>\n <p className='content'>\n {content}\n </p>\n </div>\n )\n})\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{709:function(e,t,a){},710:function(e,t,a){},775:function(e,t,a){"use strict";a.r(t);var n=a(7),s=a(8),c=a(10),o=a(9),r=a(11),i=a(0),l=a.n(i),m=(a(709),a(15)),u=a.n(m),w=a(33),h=(a(710),function(){return l.a.createElement("div",{className:"open-app"},l.a.createElement("p",{className:"left"},"\u66f4\u591a\u8bd5\u9898\u8bf7\u524d\u5f80App\u67e5\u770b"),l.a.createElement("button",{className:"right"},"\u5728APP\u6253\u5f00"))}),p=a(4);a.d(t,"default",function(){return d});var d=function(e){function t(e){var a;return Object(n.a)(this,t),(a=Object(c.a)(this,Object(o.a)(t).call(this,e))).showAnswer=function(){a.setState({isShowAnswer:!a.state.isShowAnswer})},a.state={isShowAnswer:!1,questionData:{}},a}return Object(r.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){var e=this;p.c.get("".concat(API.home,"/m/dailyQuestion")).then(function(t){e.setState({questionData:t.data.data})})}},{key:"render",value:function(){var e=this.state,t=e.questionData,a=t.ques,n=t.type_id,s=t.options,c=t.analysis,o=t.category,r=e.isShowAnswer;return l.a.createElement("div",{className:"examination"},l.a.createElement("div",{className:"question-container"},l.a.createElement("div",{className:"topic"},l.a.createElement(w.h,{className:"category-tag"},o),l.a.createElement("span",{dangerouslySetInnerHTML:{__html:a}})),1===n&&l.a.createElement(E,{className:"options",options:s,showCorrect:this.state.isShowAnswer}),!r&&l.a.createElement("div",{className:"show-answer",onClick:this.showAnswer},l.a.createElement("span",null,"\u67e5\u770b\u89e3\u6790",l.a.createElement("i",{className:"iconfont iconiconfront-69"})))),r&&l.a.createElement(f,{content:c,isShowAnswer:!0}),l.a.createElement(h,null))}}]),t}(i.PureComponent),E=l.a.memo(function(e){var t=e.options,a=e.showCorrect;return l.a.createElement("ul",{className:"options"},t.map(function(e,t){return l.a.createElement("li",{key:t,className:u()("option",{active:1===e.is_ans&&a})},l.a.createElement("span",{className:"alphabet"},String.fromCharCode(65+t)),e.des)}))}),f=l.a.memo(function(e){var t=e.content,a=e.isShowAnswer;return l.a.createElement("div",{className:u()("answer",{scale:a})},l.a.createElement("p",{className:"legend"},"\u89e3\u6790"),l.a.createElement("p",{className:"content",dangerouslySetInnerHTML:{__html:t}}))})}}]);
//# sourceMappingURL=Examination.b549cb5c.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/examination/OpenApp/index.js","components/examination/index.js"],"names":["OpenApp","react_default","a","createElement","className","Examination","props","_this","Object","classCallCheck","this","possibleConstructorReturn","getPrototypeOf","call","showAnswer","setState","isShowAnswer","state","questionData","_this2","http","get","concat","API","home","then","res","data","_this$state","_this$state$questionD","ques","type_id","options","analysis","category","common","dangerouslySetInnerHTML","__html","MultiChoice","showCorrect","onClick","Answer","content","components_examination_OpenApp","PureComponent","React","memo","_ref","map","item","index","key","classnames","active","is_ans","String","fromCharCode","des","_ref2","scale"],"mappings":"wOAYeA,UATC,WACZ,OACIC,EAAAC,EAAAC,cAAA,OAAKC,UAAU,YACXH,EAAAC,EAAAC,cAAA,KAAGC,UAAU,QAAb,6DACAH,EAAAC,EAAAC,cAAA,UAAQC,UAAU,SAAlB,6ECESC,cAEjB,SAAAA,EAAYC,GAAO,IAAAC,EAAA,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAL,IACfE,EAAAC,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAH,GAAAQ,KAAAH,KAAMJ,KAgBVQ,WAAa,WACTP,EAAKQ,SAAS,CAACC,cAAeT,EAAKU,MAAMD,gBAhBzCT,EAAKU,MAAQ,CACTD,cAAc,EACdE,aAAc,IAJHX,mFAQC,IAAAY,EAAAT,KAChBU,IAAKC,IAAL,GAAAC,OAAYC,IAAIC,KAAhB,qBACKC,KAAK,SAAAC,GACFP,EAAKJ,SAAS,CACVG,aAAcQ,EAAIC,KAAKA,0CAS9B,IAAAC,EAMDlB,KAAKO,MANJY,EAAAD,EAEDV,aACIY,EAHHD,EAGGC,KAAMC,EAHTF,EAGSE,QAASC,EAHlBH,EAGkBG,QAASC,EAH3BJ,EAG2BI,SAAUC,EAHrCL,EAGqCK,SAEtClB,EALCY,EAKDZ,aAEJ,OACIf,EAAAC,EAAAC,cAAA,OAAKC,UAAU,eACXH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,sBACXH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,SACXH,EAAAC,EAAAC,cAACgC,EAAA,EAAD,CAAK/B,UAAU,gBAAgB8B,GAC/BjC,EAAAC,EAAAC,cAAA,QAAMiC,wBAAyB,CAACC,OAAQP,MAG5B,IAAZC,GAAiB9B,EAAAC,EAAAC,cAACmC,EAAD,CAAalC,UAAU,UAAU4B,QAASA,EAC7BO,YAAa7B,KAAKO,MAAMD,gBAIrDA,GAEGf,EAAAC,EAAAC,cAAA,OAAKC,UAAU,cAAcoC,QAAS9B,KAAKI,YACvCb,EAAAC,EAAAC,cAAA,uCAAUF,EAAAC,EAAAC,cAAA,KAAGC,UAAU,iCAMnCY,GAAgBf,EAAAC,EAAAC,cAACsC,EAAD,CAAQC,QAAST,EAAUjB,cAAY,IAE3Df,EAAAC,EAAAC,cAACwC,EAAD,cAtDyBC,iBA4DnCN,EAAcO,IAAMC,KAAK,SAAAC,GAA4B,IAA1Bf,EAA0Be,EAA1Bf,QAASO,EAAiBQ,EAAjBR,YACtC,OACItC,EAAAC,EAAAC,cAAA,MAAIC,UAAU,WAEN4B,EAAQgB,IAAI,SAACC,EAAMC,GAAP,OACRjD,EAAAC,EAAAC,cAAA,MAAIgD,IAAKD,EAAO9C,UAAWgD,IAAW,SAAU,CAACC,OAA0B,IAAhBJ,EAAKK,QAAgBf,KAC5EtC,EAAAC,EAAAC,cAAA,QAAMC,UAAU,YAAYmD,OAAOC,aAAa,GAAKN,IACpDD,EAAKQ,UAQxBhB,EAASI,IAAMC,KAAK,SAAAY,GAA6B,IAA3BhB,EAA2BgB,EAA3BhB,QAAS1B,EAAkB0C,EAAlB1C,aACjC,OACIf,EAAAC,EAAAC,cAAA,OAAKC,UAAWgD,IAAW,SAAU,CAACO,MAAO3C,KACzCf,EAAAC,EAAAC,cAAA,KAAGC,UAAU,UAAb,gBACAH,EAAAC,EAAAC,cAAA,KAAGC,UAAU,UAAUgC,wBAAyB,CAACC,OAAQK","file":"static/js/Examination.b549cb5c.chunk.js","sourcesContent":["import React from 'react'\nimport './index.scss'\n\nconst OpenApp = () => {\n return (\n <div className='open-app'>\n <p className='left'>更多试题请前往App查看</p>\n <button className='right'>在APP打开</button>\n </div>\n )\n}\n\nexport default OpenApp","import React, { PureComponent } from 'react'\nimport './examination.scss'\nimport classnames from 'classnames'\n\nimport { Tag } from '../../common'\nimport OpenApp from './OpenApp'\nimport { http, html, htmlDecode} from '@/utils'\n\n\nexport default class Examination extends PureComponent {\n\n constructor(props) {\n super(props)\n this.state = {\n isShowAnswer: false,\n questionData: {}\n }\n }\n\n componentDidMount() {\n http.get(`${API.home}/m/dailyQuestion`)\n .then(res => {\n this.setState({\n questionData: res.data.data\n })\n })\n }\n\n showAnswer = () => {\n this.setState({isShowAnswer: !this.state.isShowAnswer})\n }\n\n render() {\n let {\n questionData: {\n ques, type_id, options, analysis, category\n },\n isShowAnswer\n } = this.state\n return (\n <div className='examination'>\n <div className=\"question-container\">\n <div className=\"topic\">\n <Tag className='category-tag'>{category}</Tag>\n <span dangerouslySetInnerHTML={{__html: ques}}/>\n </div>\n {\n type_id === 1 && <MultiChoice className='options' options={options}\n showCorrect={this.state.isShowAnswer}\n />\n }\n {\n !isShowAnswer &&\n (\n <div className=\"show-answer\" onClick={this.showAnswer}>\n <span>查看解析<i className='iconfont iconiconfront-69'></i></span>\n </div>\n )\n }\n </div>\n {\n isShowAnswer && <Answer content={analysis} isShowAnswer/>\n }\n <OpenApp/>\n </div>\n )\n }\n}\n\nconst MultiChoice = React.memo(({options, showCorrect}) => {\n return (\n <ul className='options'>\n {\n options.map((item, index) => (\n <li key={index} className={classnames('option', {'active': item.is_ans === 1 && showCorrect})}>\n <span className=\"alphabet\">{String.fromCharCode(65 + index)}</span>\n {item.des}\n </li>\n ))\n }\n </ul>\n )\n})\n\nconst Answer = React.memo(({content, isShowAnswer}) => {\n return (\n <div className={classnames('answer', {scale: isShowAnswer})}>\n <p className='legend'>解析</p>\n <p className='content' dangerouslySetInnerHTML={{__html: content}}/>\n </div>\n )\n})\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{765:function(e,t,a){"use strict";a.r(t);a(43);var n=a(14),s=a.n(n),i=a(7),c=a(8),l=a(10),o=a(9),r=a(11),u=a(0),m=a.n(u),d=(a(257),a(19)),h=a(4),p=a(33),v=a(35),f=a(21),b=a(69),E=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(l.a)(this,Object(o.a)(t).call(this,e))).toEditName=function(){a.setState({isShow:!0,value:""})},a.cancle=function(){a.setState({isShow:!1})},a.handleChange=function(e){a.setState({value:e.target.value})},a.outLogin=function(){a.props.logout(),s.a.info("\u5df2\u9000\u51fa",2),a.props.history.push("/my")},a.submit=function(){if(a.state.value.length>12)s.a.info("\u4e0d\u8d85\u8fc712\u4e2a\u5b57\u7b26",2);else if(0===a.state.value.length)s.a.info("\u8bf7\u8f93\u5165\u6635\u79f0",2);else{var e={user_name:a.state.value};h.c.post("".concat(API.home,"/m/user_info/update"),e).then(function(e){200===e.data.code?(a.setState({isShow:!1}),a.props.updateUser({data:{username:a.state.value}}),s.a.info("\u4fee\u6539\u6210\u529f",2)):s.a.info(e.data.msg,2)})}},a.state={isShow:!1,value:""},a}return Object(r.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){var e=this.props.user,t=e&&e.data&&e.data.username,a=e&&e.data&&e.data.avatar;return m.a.createElement("div",{className:"edit-name"},m.a.createElement(p.e,{title:"\u8d26\u53f7",arrow:!0,cart:!1}),m.a.createElement("div",{className:"my-mess"},m.a.createElement("img",{src:a,alt:""}),m.a.createElement("span",{className:"name"},t),m.a.createElement("span",{onClick:this.toEditName,className:"edit"},"\u7f16\u8f91")),m.a.createElement("div",{className:"out-login",onClick:this.outLogin},"\u9000\u51fa\u767b\u5f55"),this.state.isShow&&m.a.createElement("div",{className:"edit-mbc"},m.a.createElement("div",{className:"edit-content"},m.a.createElement("div",{className:"edit-title"},"\u4fee\u6539\u6635\u79f0"),m.a.createElement("input",{type:"text",placeholder:"\u8bf7\u8f93\u5165\u6635\u79f0\uff08\u4e0d\u8d85\u8fc712\u4e2a\u5b57\u7b26\uff09",value:this.state.value,onChange:this.handleChange.bind(this)}),m.a.createElement("div",{className:"edit-btn"},m.a.createElement("button",{className:"cancle",onClick:this.cancle},"\u53d6\u6d88"),m.a.createElement("button",{className:"submit",onClick:this.submit},"\u786e\u8ba4")))))}}]),t}(u.PureComponent);t.default=Object(f.d)(Object(d.b)(function(e){return{user:e.user}},{logout:v.e,updateUser:v.i}),b.a)(E)}}]);
//# sourceMappingURL=MyEdit.d53d06e5.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{765:function(e,t,a){"use strict";a.r(t);a(43);var n=a(14),s=a.n(n),i=a(7),c=a(8),l=a(10),o=a(9),r=a(11),u=a(0),m=a.n(u),d=(a(257),a(19)),h=a(4),p=a(33),v=a(35),f=a(21),b=a(70),E=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(l.a)(this,Object(o.a)(t).call(this,e))).toEditName=function(){a.setState({isShow:!0,value:""})},a.cancle=function(){a.setState({isShow:!1})},a.handleChange=function(e){a.setState({value:e.target.value})},a.outLogin=function(){a.props.logout(),s.a.info("\u5df2\u9000\u51fa",2),a.props.history.push("/my")},a.submit=function(){if(a.state.value.length>12)s.a.info("\u4e0d\u8d85\u8fc712\u4e2a\u5b57\u7b26",2);else if(0===a.state.value.length)s.a.info("\u8bf7\u8f93\u5165\u6635\u79f0",2);else{var e={user_name:a.state.value};h.c.post("".concat(API.home,"/m/user_info/update"),e).then(function(e){200===e.data.code?(a.setState({isShow:!1}),a.props.updateUser({data:{username:a.state.value}}),s.a.info("\u4fee\u6539\u6210\u529f",2)):s.a.info(e.data.msg,2)})}},a.state={isShow:!1,value:""},a}return Object(r.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){var e=this.props.user,t=e&&e.data&&e.data.username,a=e&&e.data&&e.data.avatar;return m.a.createElement("div",{className:"edit-name"},m.a.createElement(p.e,{title:"\u8d26\u53f7",arrow:!0,cart:!1}),m.a.createElement("div",{className:"my-mess"},m.a.createElement("img",{src:a,alt:""}),m.a.createElement("span",{className:"name"},t),m.a.createElement("span",{onClick:this.toEditName,className:"edit"},"\u7f16\u8f91")),m.a.createElement("div",{className:"out-login",onClick:this.outLogin},"\u9000\u51fa\u767b\u5f55"),this.state.isShow&&m.a.createElement("div",{className:"edit-mbc"},m.a.createElement("div",{className:"edit-content"},m.a.createElement("div",{className:"edit-title"},"\u4fee\u6539\u6635\u79f0"),m.a.createElement("input",{type:"text",placeholder:"\u8bf7\u8f93\u5165\u6635\u79f0\uff08\u4e0d\u8d85\u8fc712\u4e2a\u5b57\u7b26\uff09",value:this.state.value,onChange:this.handleChange.bind(this)}),m.a.createElement("div",{className:"edit-btn"},m.a.createElement("button",{className:"cancle",onClick:this.cancle},"\u53d6\u6d88"),m.a.createElement("button",{className:"submit",onClick:this.submit},"\u786e\u8ba4")))))}}]),t}(u.PureComponent);t.default=Object(f.d)(Object(d.b)(function(e){return{user:e.user}},{logout:v.e,updateUser:v.i}),b.a)(E)}}]);
//# sourceMappingURL=MyEdit.bdcf46d3.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{762:function(e,a,n){"use strict";n.r(a);var t=n(7),o=n(8),r=n(10),l=n(9),i=n(11),c=(n(43),n(14)),s=n.n(c),p=n(22),u=(n(152),n(73)),d=n.n(u),f=(n(734),n(736)),h=n.n(f),m=(n(737),n(739)),v=n.n(m),q=n(0),g=n.n(q),b=n(18),E=n(33),y=n(4),Q=Object(b.e)({mapPropsToValues:function(e){return Object(p.a)({},e.userInfo)},validate:function(e,a){return{}},handleSubmit:function(e,a){var n=e.real_name,t=e.cellphone,o=e.qq;if(n)if(0!=="".concat(n).replace(/\s+/g,"").length)if(t)if(/1\d{10}/g.test("".concat(t).replace(/\s+/g,"")))if(o)if(/\d{5,}/g.test(o)){var r=!1;if(a.props.userInfo){var l=a.props.userInfo;l.real_name===n&&(r=!0),l.cellphone===t&&(r=!0),l.qq===o&&(r=!0)}r?a.props.history.replace({pathname:"/order",state:e}):y.c.post("".concat(API.home,"/m/order/saveUserInfo"),{real_name:e.real_name,cellphone:"".concat(e.cellphone).replace(/\s+/g,""),qq:e.qq}).then(function(n){200===n.data.code?(s.a.info("\u4fdd\u5b58\u6210\u529f\uff01",void 0,void 0,!1),a.props.history.replace({pathname:"/order",state:e})):s.a.info(n.data.msg,void 0,void 0,!1)})}else s.a.info("\u8bf7\u8f93\u5165\u6b63\u786eQQ\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165QQ\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1)}})(function(e){var a=e.values,n=(e.errors,e.touched,e.setFieldValue),t=(e.handleBlur,e.handleSubmit);e.isSubmitting;return g.a.createElement("form",null,g.a.createElement(v.a,{clear:!0,name:"real_name",onChange:function(e){return n("real_name",e)},placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u771f\u5b9e\u59d3\u540d",value:a.real_name},"\u59d3\u540d"),g.a.createElement(v.a,{clear:!0,type:"phone",name:"cellphone",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u624b\u673a\u53f7\u7801",onChange:function(e){return n("cellphone",e)},value:a.cellphone},"\u7535\u8bdd"),g.a.createElement(v.a,{clear:!0,name:"qq",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684QQ\u53f7\u7801",maxLength:"15",onChange:function(e){return n("qq",e)},value:a.qq},"QQ"),g.a.createElement("div",{style:{marginTop:"21px"}},g.a.createElement(d.a,null,g.a.createElement(h.a,{type:"primary",onClick:t},"\u786e\u8ba4"))))}),j=function(e){function a(e){return Object(t.a)(this,a),Object(r.a)(this,Object(l.a)(a).call(this,e))}return Object(i.a)(a,e),Object(o.a)(a,[{key:"render",value:function(){return g.a.createElement("div",null,g.a.createElement(E.e,{title:"\u62a5\u540d\u4fe1\u606f",arrow:!0}),g.a.createElement(Q,{history:this.props.history,userInfo:this.props.location.state}))}}]),a}(q.Component);a.default=j}}]);
//# sourceMappingURL=Orderinfo.70b0db04.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{762:function(e,a,n){"use strict";n.r(a);var t=n(7),o=n(8),r=n(10),l=n(9),i=n(11),c=(n(43),n(14)),s=n.n(c),p=n(22),u=(n(153),n(74)),d=n.n(u),f=(n(734),n(736)),h=n.n(f),m=(n(737),n(739)),v=n.n(m),q=n(0),g=n.n(q),b=n(18),E=n(33),y=n(4),Q=Object(b.e)({mapPropsToValues:function(e){return Object(p.a)({},e.userInfo)},validate:function(e,a){return{}},handleSubmit:function(e,a){var n=e.real_name,t=e.cellphone,o=e.qq;if(n)if(0!=="".concat(n).replace(/\s+/g,"").length)if(t)if(/1\d{10}/g.test("".concat(t).replace(/\s+/g,"")))if(o)if(/\d{5,}/g.test(o)){var r=!1;if(a.props.userInfo){var l=a.props.userInfo;l.real_name===n&&(r=!0),l.cellphone===t&&(r=!0),l.qq===o&&(r=!0)}r?a.props.history.replace({pathname:"/order",state:e}):y.c.post("".concat(API.home,"/m/order/saveUserInfo"),{real_name:e.real_name,cellphone:"".concat(e.cellphone).replace(/\s+/g,""),qq:e.qq}).then(function(n){200===n.data.code?(s.a.info("\u4fdd\u5b58\u6210\u529f\uff01",void 0,void 0,!1),a.props.history.replace({pathname:"/order",state:e})):s.a.info(n.data.msg,void 0,void 0,!1)})}else s.a.info("\u8bf7\u8f93\u5165\u6b63\u786eQQ\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165QQ\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1)}})(function(e){var a=e.values,n=(e.errors,e.touched,e.setFieldValue),t=(e.handleBlur,e.handleSubmit);e.isSubmitting;return g.a.createElement("form",null,g.a.createElement(v.a,{clear:!0,name:"real_name",onChange:function(e){return n("real_name",e)},placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u771f\u5b9e\u59d3\u540d",value:a.real_name},"\u59d3\u540d"),g.a.createElement(v.a,{clear:!0,type:"phone",name:"cellphone",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u624b\u673a\u53f7\u7801",onChange:function(e){return n("cellphone",e)},value:a.cellphone},"\u7535\u8bdd"),g.a.createElement(v.a,{clear:!0,name:"qq",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684QQ\u53f7\u7801",maxLength:"15",onChange:function(e){return n("qq",e)},value:a.qq},"QQ"),g.a.createElement("div",{style:{marginTop:"21px"}},g.a.createElement(d.a,null,g.a.createElement(h.a,{type:"primary",onClick:t},"\u786e\u8ba4"))))}),j=function(e){function a(e){return Object(t.a)(this,a),Object(r.a)(this,Object(l.a)(a).call(this,e))}return Object(i.a)(a,e),Object(o.a)(a,[{key:"render",value:function(){return g.a.createElement("div",null,g.a.createElement(E.e,{title:"\u62a5\u540d\u4fe1\u606f",arrow:!0}),g.a.createElement(Q,{history:this.props.history,userInfo:this.props.location.state}))}}]),a}(q.Component);a.default=j}}]);
//# sourceMappingURL=Orderinfo.da0ef8ca.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{750:function(e,a,t){},767:function(e,a,t){"use strict";t.r(a);var s=t(7),c=t(8),n=t(10),r=t(9),l=t(11),i=t(0),m=t.n(i),o=(t(750),t(155)),d=t(4),u=(t(143),t(16)),v=function(e){function a(){var e,t;Object(s.a)(this,a);for(var c=arguments.length,l=new Array(c),i=0;i<c;i++)l[i]=arguments[i];return(t=Object(n.a)(this,(e=Object(r.a)(a)).call.apply(e,[this].concat(l)))).state={course:{title:"",des:"",img:"",id:""},progress:{days:0,action:0},showShareCover:!0,user:{avatar:"",name:"",time:""}},t}return Object(l.a)(a,e),Object(c.a)(a,[{key:"componentDidMount",value:function(){var e=this,a=new URLSearchParams(this.props.location.search);d.c.get("".concat(API["base-api"],"/m/aist/share_ground_data/").concat(a.get("id"),"/").concat(a.get("vId"))).then(function(a){if(200==a.data.errno){var t=a.data.data;e.setState({course:{title:t.course_title,des:t.course_desc,img:t.image_name,id:t.course_id},user:{avatar:t.avatar,name:t.username,time:t.create_time},progress:{days:t.learn_day_num,action:t.action_power}}),Object(d.h)({title:t.share_title,desc:t.share_desc,imgUrl:t.image_name,link:location.href})}})}},{key:"render",value:function(){var e=this.state,a=e.user,t=e.course,s=e.progress;return m.a.createElement("div",{className:"aist-share"},m.a.createElement("div",{className:"content"},m.a.createElement("div",{className:"user"},m.a.createElement("img",{src:a.avatar,alt:"\u5934\u50cf"}),m.a.createElement("span",{className:"username"},a.name),m.a.createElement("span",{className:"time"},a.time)),m.a.createElement(u.b,{to:{pathname:"/detail",search:"?id=".concat(this.state.course.id)}},m.a.createElement("div",{className:"course"},m.a.createElement("div",{className:"course-cover"},m.a.createElement("img",{src:t.img,alt:"\u8bfe\u7a0b\u5c01\u9762"})),m.a.createElement("div",{className:"course-info"},m.a.createElement("div",{className:"title"},t.title),m.a.createElement("div",{className:"des"},t.des)))),m.a.createElement("ul",{className:"progress"},m.a.createElement("li",null,m.a.createElement("div",{className:"title"},"\u7d2f\u8ba1\u5b66\u4e60"),m.a.createElement("div",{className:"progress-value"},m.a.createElement("span",{className:"num"},s.days),"\u5929")),m.a.createElement("li",null,m.a.createElement("div",{className:"title"},"\u884c\u52a8\u529b\u8d85\u8fc7"),m.a.createElement("div",{className:"progress-value"},m.a.createElement("span",{className:"num"},s.action),"%"))),m.a.createElement("div",{className:"recommend-app"},m.a.createElement("div",{className:"text"},m.a.createElement("div",{className:"bold"},m.a.createElement("div",null,"\u7acb\u5373\u4e0b\u8f7d\u3010\u4e03\u6708\u5728\u7ebf\u3011"),m.a.createElement("div",null,"\u4f17\u591a\u597d\u8bfe\u514d\u8d39\u5b66")),m.a.createElement("div",{className:"light"},"\u957f\u6309\u8bc6\u522b\u53f3\u4fa7\u4e8c\u7ef4\u7801",m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/aist/arrow.png",alt:""}))),m.a.createElement("div",{className:"qrcode"},m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_app.png",alt:""})))))}}]),a}(i.PureComponent);a.default=Object(o.a)(v)}}]);
//# sourceMappingURL=aist-share.acf1ca74.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{750:function(e,a,t){},767:function(e,a,t){"use strict";t.r(a);var s=t(7),c=t(8),n=t(10),r=t(9),l=t(11),i=t(0),m=t.n(i),o=(t(750),t(156)),d=t(4),u=(t(144),t(16)),v=function(e){function a(){var e,t;Object(s.a)(this,a);for(var c=arguments.length,l=new Array(c),i=0;i<c;i++)l[i]=arguments[i];return(t=Object(n.a)(this,(e=Object(r.a)(a)).call.apply(e,[this].concat(l)))).state={course:{title:"",des:"",img:"",id:""},progress:{days:0,action:0},showShareCover:!0,user:{avatar:"",name:"",time:""}},t}return Object(l.a)(a,e),Object(c.a)(a,[{key:"componentDidMount",value:function(){var e=this,a=new URLSearchParams(this.props.location.search);d.c.get("".concat(API["base-api"],"/m/aist/share_ground_data/").concat(a.get("id"),"/").concat(a.get("vId"))).then(function(a){if(200==a.data.errno){var t=a.data.data;e.setState({course:{title:t.course_title,des:t.course_desc,img:t.image_name,id:t.course_id},user:{avatar:t.avatar,name:t.username,time:t.create_time},progress:{days:t.learn_day_num,action:t.action_power}}),Object(d.h)({title:t.share_title,desc:t.share_desc,imgUrl:t.image_name,link:location.href})}})}},{key:"render",value:function(){var e=this.state,a=e.user,t=e.course,s=e.progress;return m.a.createElement("div",{className:"aist-share"},m.a.createElement("div",{className:"content"},m.a.createElement("div",{className:"user"},m.a.createElement("img",{src:a.avatar,alt:"\u5934\u50cf"}),m.a.createElement("span",{className:"username"},a.name),m.a.createElement("span",{className:"time"},a.time)),m.a.createElement(u.b,{to:{pathname:"/detail",search:"?id=".concat(this.state.course.id)}},m.a.createElement("div",{className:"course"},m.a.createElement("div",{className:"course-cover"},m.a.createElement("img",{src:t.img,alt:"\u8bfe\u7a0b\u5c01\u9762"})),m.a.createElement("div",{className:"course-info"},m.a.createElement("div",{className:"title"},t.title),m.a.createElement("div",{className:"des"},t.des)))),m.a.createElement("ul",{className:"progress"},m.a.createElement("li",null,m.a.createElement("div",{className:"title"},"\u7d2f\u8ba1\u5b66\u4e60"),m.a.createElement("div",{className:"progress-value"},m.a.createElement("span",{className:"num"},s.days),"\u5929")),m.a.createElement("li",null,m.a.createElement("div",{className:"title"},"\u884c\u52a8\u529b\u8d85\u8fc7"),m.a.createElement("div",{className:"progress-value"},m.a.createElement("span",{className:"num"},s.action),"%"))),m.a.createElement("div",{className:"recommend-app"},m.a.createElement("div",{className:"text"},m.a.createElement("div",{className:"bold"},m.a.createElement("div",null,"\u7acb\u5373\u4e0b\u8f7d\u3010\u4e03\u6708\u5728\u7ebf\u3011"),m.a.createElement("div",null,"\u4f17\u591a\u597d\u8bfe\u514d\u8d39\u5b66")),m.a.createElement("div",{className:"light"},"\u957f\u6309\u8bc6\u522b\u53f3\u4fa7\u4e8c\u7ef4\u7801",m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/aist/arrow.png",alt:""}))),m.a.createElement("div",{className:"qrcode"},m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_app.png",alt:""})))))}}]),a}(i.PureComponent);a.default=Object(o.a)(v)}}]);
//# sourceMappingURL=aist-share.c9707307.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.
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{694:function(e,a,t){},755:function(e,a,t){"use strict";t.r(a);t(43);var n=t(14),c=t.n(n),r=t(7),s=t(8),m=t(10),i=t(9),o=t(11),l=(t(252),t(97)),d=t.n(l),u=t(0),p=t.n(u),E=(t(694),t(33)),f=t(154),N=t(4),b=t(16),g=t(87),v=d.a.alert,h=function(e){function a(e){var t;return Object(r.a)(this,a),(t=Object(m.a)(this,Object(i.a)(a).call(this,e))).getList=function(){N.c.get("".concat(API.home,"/m/my/orders/1/1")).then(function(e){200===e.data.code?t.setState({data:e.data.data,isLoading:!1}):c.a.info(e.data.msg,2)})},t.cancel=function(e){v("\u786e\u8ba4\u53d6\u6d88\u8ba2\u5355\uff1f","\u8ba2\u5355\u53d6\u6d88\u540e\uff0c\u4f18\u60e0\u5238\u548c\u62b5\u6263\u7684\u4f59\u989d\u4f1a\u8fd4\u56de\u5230\u60a8\u7684\u8d26\u6237\u3002",[{text:"\u53d6\u6d88",onPress:function(){return console.log("cancel")}},{text:"\u786e\u8ba4",onPress:function(){var a={order_id:e};N.c.post("".concat(API.home,"/m/cancel_order"),a).then(function(e){200===e.data.code?t.getList():c.a.info(e.data.msg,2)})}}])},t.state={data:[],isLoading:!0},t}return Object(o.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){this.getList()}},{key:"render",value:function(){var e=this;return p.a.createElement("div",{className:"myorders-box"},p.a.createElement(E.e,{title:"\u6211\u7684\u8ba2\u5355",arrow:!0,cart:!1}),p.a.createElement(g.a,{isLoading:this.state.isLoading},this.state.data&&this.state.data.length>0?this.state.data.map(function(a,t){return p.a.createElement("div",{className:"order-body",key:t},p.a.createElement(_,{item:a}),a.course&&a.course.length>0&&a.course.map(function(e,a){var t=p.a.createElement("div",{className:"order-info"},p.a.createElement("p",{className:"order-title text-overflow-one"},p.a.createElement(b.b,{to:"/detail?id=".concat(e.course_id)},e.course_title)),p.a.createElement("p",{className:"order-content text-overflow-2"},e.description),p.a.createElement("p",{className:"order-des"},p.a.createElement("span",{className:"order-newprice"},"\xa5",e.pay_amount),p.a.createElement("span",{className:"order-price"},"\xa5",e.price0)));return p.a.createElement("div",{className:"order-wrap",key:a},p.a.createElement(f.a,{info:t,src:e.image_name,id:e.course_id}))}),p.a.createElement(y,{item:a,cancel:e.cancel}))}):p.a.createElement("div",{className:"cart-tip"},p.a.createElement("p",{className:"cart-mess"},"\u60a8\u8fd8\u6ca1\u6709\u8ba2\u5355\u54e6\uff0c\u5feb\u53bb\u901b\u901b\u5427~"),p.a.createElement(b.b,{to:"/classify"},"\u53bb\u901b\u901b"))))}}]),a}(u.Component);function _(e){var a;return a="0"===e.item.pay_time&&0===e.item.member_num?p.a.createElement("span",{className:"oid-status"},"\u7b49\u5f85\u652f\u4ed8"):e.item.member_num===e.item.pdd_info.length&&0!==e.item.member_num?p.a.createElement("span",{className:"oid-success"},"\u62fc\u56e2\u6210\u529f"):p.a.createElement("span",{className:"oid-success"},"\u652f\u4ed8\u6210\u529f"),p.a.createElement("div",{className:"order-head"},p.a.createElement("span",{className:"oid-num"},"\u8ba2\u5355\u53f7\uff1a",e.item.oid),a)}function y(e){return p.a.createElement("div",{className:"order-btm"},p.a.createElement("div",{className:"price-info"},p.a.createElement("p",null,p.a.createElement("span",{className:"payable"},"\u5e94\u4ed8\uff1a"),p.a.createElement("span",{className:"price"},"\xa5",e.item.pay_amount)),p.a.createElement("p",null,p.a.createElement("span",{className:"payable"},"\u5df2\u4f18\u60e0\uff1a"),p.a.createElement("span",{className:"price"},"\xa5",e.item.coupon_amount))),"0"===e.item.pay_time&&0===e.item.member_num&&p.a.createElement("div",{className:"btm-right"},p.a.createElement("button",{className:"cancel",onClick:function(a){return e.cancel(e.item.oid)}},"\u53d6\u6d88\u8ba2\u5355"),p.a.createElement(b.b,{to:"/payorder?oid=".concat(e.item.oid)},"\u53bb\u652f\u4ed8")),0!==e.item.member_num&&p.a.createElement("div",{className:"btm-right"},p.a.createElement("div",{className:"group"},e.item.pdd_info&&e.item.pdd_info.length>0&&e.item.pdd_info.map(function(e,a){return p.a.createElement("img",{src:""===e.user_avatar?"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-spreadtrain8/ellipsis.png":e.user_avatar,key:a,alt:""})}))))}a.default=h}}]);
//# sourceMappingURL=myorders.10940b3d.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{694:function(e,a,t){},755:function(e,a,t){"use strict";t.r(a);t(43);var n=t(14),c=t.n(n),r=t(7),s=t(8),m=t(10),i=t(9),o=t(11),l=(t(252),t(98)),d=t.n(l),u=t(0),p=t.n(u),E=(t(694),t(33)),f=t(155),N=t(4),b=t(16),g=t(63),v=d.a.alert,h=function(e){function a(e){var t;return Object(r.a)(this,a),(t=Object(m.a)(this,Object(i.a)(a).call(this,e))).getList=function(){N.c.get("".concat(API.home,"/m/my/orders/1/1")).then(function(e){200===e.data.code?t.setState({data:e.data.data,isLoading:!1}):c.a.info(e.data.msg,2)})},t.cancel=function(e){v("\u786e\u8ba4\u53d6\u6d88\u8ba2\u5355\uff1f","\u8ba2\u5355\u53d6\u6d88\u540e\uff0c\u4f18\u60e0\u5238\u548c\u62b5\u6263\u7684\u4f59\u989d\u4f1a\u8fd4\u56de\u5230\u60a8\u7684\u8d26\u6237\u3002",[{text:"\u53d6\u6d88",onPress:function(){return console.log("cancel")}},{text:"\u786e\u8ba4",onPress:function(){var a={order_id:e};N.c.post("".concat(API.home,"/m/cancel_order"),a).then(function(e){200===e.data.code?t.getList():c.a.info(e.data.msg,2)})}}])},t.state={data:[],isLoading:!0},t}return Object(o.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){this.getList()}},{key:"render",value:function(){var e=this;return p.a.createElement("div",{className:"myorders-box"},p.a.createElement(E.e,{title:"\u6211\u7684\u8ba2\u5355",arrow:!0,cart:!1}),p.a.createElement(g.a,{isLoading:this.state.isLoading},this.state.data&&this.state.data.length>0?this.state.data.map(function(a,t){return p.a.createElement("div",{className:"order-body",key:t},p.a.createElement(_,{item:a}),a.course&&a.course.length>0&&a.course.map(function(e,a){var t=p.a.createElement("div",{className:"order-info"},p.a.createElement("p",{className:"order-title text-overflow-one"},p.a.createElement(b.b,{to:"/detail?id=".concat(e.course_id)},e.course_title)),p.a.createElement("p",{className:"order-content text-overflow-2"},e.description),p.a.createElement("p",{className:"order-des"},p.a.createElement("span",{className:"order-newprice"},"\xa5",e.pay_amount),p.a.createElement("span",{className:"order-price"},"\xa5",e.price0)));return p.a.createElement("div",{className:"order-wrap",key:a},p.a.createElement(f.a,{info:t,src:e.image_name,id:e.course_id}))}),p.a.createElement(y,{item:a,cancel:e.cancel}))}):p.a.createElement("div",{className:"cart-tip"},p.a.createElement("p",{className:"cart-mess"},"\u60a8\u8fd8\u6ca1\u6709\u8ba2\u5355\u54e6\uff0c\u5feb\u53bb\u901b\u901b\u5427~"),p.a.createElement(b.b,{to:"/classify"},"\u53bb\u901b\u901b"))))}}]),a}(u.Component);function _(e){var a;return a="0"===e.item.pay_time&&0===e.item.member_num?p.a.createElement("span",{className:"oid-status"},"\u7b49\u5f85\u652f\u4ed8"):e.item.member_num===e.item.pdd_info.length&&0!==e.item.member_num?p.a.createElement("span",{className:"oid-success"},"\u62fc\u56e2\u6210\u529f"):p.a.createElement("span",{className:"oid-success"},"\u652f\u4ed8\u6210\u529f"),p.a.createElement("div",{className:"order-head"},p.a.createElement("span",{className:"oid-num"},"\u8ba2\u5355\u53f7\uff1a",e.item.oid),a)}function y(e){return p.a.createElement("div",{className:"order-btm"},p.a.createElement("div",{className:"price-info"},p.a.createElement("p",null,p.a.createElement("span",{className:"payable"},"\u5e94\u4ed8\uff1a"),p.a.createElement("span",{className:"price"},"\xa5",e.item.pay_amount)),p.a.createElement("p",null,p.a.createElement("span",{className:"payable"},"\u5df2\u4f18\u60e0\uff1a"),p.a.createElement("span",{className:"price"},"\xa5",e.item.coupon_amount))),"0"===e.item.pay_time&&0===e.item.member_num&&p.a.createElement("div",{className:"btm-right"},p.a.createElement("button",{className:"cancel",onClick:function(a){return e.cancel(e.item.oid)}},"\u53d6\u6d88\u8ba2\u5355"),p.a.createElement(b.b,{to:"/payorder?oid=".concat(e.item.oid)},"\u53bb\u652f\u4ed8")),0!==e.item.member_num&&p.a.createElement("div",{className:"btm-right"},p.a.createElement("div",{className:"group"},e.item.pdd_info&&e.item.pdd_info.length>0&&e.item.pdd_info.map(function(e,a){return p.a.createElement("img",{src:""===e.user_avatar?"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-spreadtrain8/ellipsis.png":e.user_avatar,key:a,alt:""})}))))}a.default=h}}]);
//# sourceMappingURL=myorders.5e6a11fe.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{695:function(e,t,a){},756:function(e,t,a){"use strict";a.r(t);a(43);var s=a(14),n=a.n(s),c=a(7),i=a(8),r=a(10),o=a(9),l=a(11),d=a(0),m=a.n(d),u=(a(695),a(33)),p=a(4),f=a(16),E=a(19),h=a(87),v=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(r.a)(this,Object(o.a)(t).call(this,e))).getList=function(){p.c.get("".concat(API.home,"/m/my/courses")).then(function(e){200===e.data.code?a.setState({data:e.data.data,isLoading:!1}):n.a.info(e.data.msg,2)})},a.state={data:[],isLoading:!0},a}return Object(l.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.getList()}},{key:"render",value:function(){var e=this.props.user,t=e&&e.data&&e.data.uid;return m.a.createElement("div",{className:"purchased-box"},m.a.createElement(u.e,{title:"\u5df2\u8d2d\u8bfe\u7a0b",arrow:!0,cart:!1}),m.a.createElement(h.a,{isLoading:this.state.isLoading},this.state.data&&this.state.data.length>0?m.a.createElement("div",{className:"purchased-body"},m.a.createElement("div",{className:"tip"},"\u52a0\u7fa4\u8bf7\u5907\u6ce8\u60a8\u7684\u5b66\u53f7\uff1a",t),this.state.data.map(function(e,t){var a=m.a.createElement("div",{className:"info"},m.a.createElement("p",{className:"title"},m.a.createElement(f.b,{to:"/detail?id=".concat(e.course_id)},e.course_title)),m.a.createElement("p",{className:"contact text-overflow-2"},e.simpledescription),e.is_aist?m.a.createElement("div",{className:"des"},"\u52a9\u6559\u5fae\u4fe1\uff1a",e.assist_weixin):m.a.createElement("div",{className:"des"},"QQ\u7fa4\uff1a",e.course_qq)),s=e.is_aist&&m.a.createElement("span",{className:"status"},"\u8fd4\u73b0");return m.a.createElement(u.i,{key:t,img:e.image_name,id:e.course_id,info:a,status:s})})):m.a.createElement("div",{className:"cart-tip"},m.a.createElement("p",{className:"cart-mess"},"\u60a8\u8fd8\u6ca1\u6709\u8bfe\u7a0b\u54e6\uff0c\u5feb\u53bb\u901b\u901b\u5427~"),m.a.createElement(f.b,{to:"/classify"},"\u53bb\u901b\u901b"))))}}]),t}(d.Component);t.default=Object(E.b)(function(e){return{user:e.user}},null)(v)}}]);
//# sourceMappingURL=purchased.31fa5e4e.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{695:function(e,t,a){},756:function(e,t,a){"use strict";a.r(t);a(43);var s=a(14),n=a.n(s),c=a(7),i=a(8),r=a(10),o=a(9),l=a(11),d=a(0),m=a.n(d),u=(a(695),a(33)),p=a(4),f=a(16),E=a(19),h=a(63),v=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(r.a)(this,Object(o.a)(t).call(this,e))).getList=function(){p.c.get("".concat(API.home,"/m/my/courses")).then(function(e){200===e.data.code?a.setState({data:e.data.data,isLoading:!1}):n.a.info(e.data.msg,2)})},a.state={data:[],isLoading:!0},a}return Object(l.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.getList()}},{key:"render",value:function(){var e=this.props.user,t=e&&e.data&&e.data.uid;return m.a.createElement("div",{className:"purchased-box"},m.a.createElement(u.e,{title:"\u5df2\u8d2d\u8bfe\u7a0b",arrow:!0,cart:!1}),m.a.createElement(h.a,{isLoading:this.state.isLoading},this.state.data&&this.state.data.length>0?m.a.createElement("div",{className:"purchased-body"},m.a.createElement("div",{className:"tip"},"\u52a0\u7fa4\u8bf7\u5907\u6ce8\u60a8\u7684\u5b66\u53f7\uff1a",t),this.state.data.map(function(e,t){var a=m.a.createElement("div",{className:"info"},m.a.createElement("p",{className:"title"},m.a.createElement(f.b,{to:"/detail?id=".concat(e.course_id)},e.course_title)),m.a.createElement("p",{className:"contact text-overflow-2"},e.simpledescription),e.is_aist?m.a.createElement("div",{className:"des"},"\u52a9\u6559\u5fae\u4fe1\uff1a",e.assist_weixin):m.a.createElement("div",{className:"des"},"QQ\u7fa4\uff1a",e.course_qq)),s=e.is_aist&&m.a.createElement("span",{className:"status"},"\u8fd4\u73b0");return m.a.createElement(u.i,{key:t,img:e.image_name,id:e.course_id,info:a,status:s})})):m.a.createElement("div",{className:"cart-tip"},m.a.createElement("p",{className:"cart-mess"},"\u60a8\u8fd8\u6ca1\u6709\u8bfe\u7a0b\u54e6\uff0c\u5feb\u53bb\u901b\u901b\u5427~"),m.a.createElement(f.b,{to:"/classify"},"\u53bb\u901b\u901b"))))}}]),t}(d.Component);t.default=Object(E.b)(function(e){return{user:e.user}},null)(v)}}]);
//# sourceMappingURL=purchased.485fcfcf.chunk.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,a,i=r[0],d=r[1],u=r[2],f=0,l=[];f<i.length;f++)a=i[f],o[a]&&l.push(o[a][0]),o[a]=0;for(n in d)Object.prototype.hasOwnProperty.call(d,n)&&(e[n]=d[n]);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],n=!0,a=1;a<t.length;a++){var d=t[a];0!==o[d]&&(n=!1)}n&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},a={18:0},o={18:0},c=[];function i(r){if(n[r])return n[r].exports;var t=n[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=[];a[e]?r.push(a[e]):0!==a[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,25:1,27:1,28:1,29:1,30:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="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:"9e05243b",1:"de22eb69",2:"ce9acdcb",3:"2e7d81ca",4:"1a38e85d",5:"31d6cfe0",6:"6576554c",7:"31d6cfe0",8:"21570c76",9:"20451cd3",10:"b59ee96d",11:"a93db4c0",12:"bef8c404",13:"9ece7350",14:"deae77c4",16:"3ab93c8e",17:"4b0044ec",19:"9fa57dd6",20:"82081d02",21:"2f1e5759",22:"49988cae",23:"5463a623",25:"4c706a4e",26:"31d6cfe0",27:"694b4628",28:"5ed15c7e",29:"ecbb6f9a",30:"bc06dce4"}[e]+".chunk.css",o=i.p+n,c=document.getElementsByTagName("link"),d=0;d<c.length;d++){var u=(s=c[d]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(u===n||u===o))return r()}var f=document.getElementsByTagName("style");for(d=0;d<f.length;d++){var s;if((u=(s=f[d]).getAttribute("data-href"))===n||u===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.request=n,delete a[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var c,d=document.createElement("script");d.charset="utf-8",d.timeout=120,i.nc&&d.setAttribute("nonce",i.nc),d.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:"c8e3669c",1:"0c09c28b",2:"fcc26c19",3:"4d71b0d8",4:"04d34ba8",5:"d53d06e5",6:"f5e96bf7",7:"70b0db04",8:"5af8307e",9:"659805a5",10:"1240fd4e",11:"5b9868fb",12:"acf1ca74",13:"62c3afd6",14:"4ef70074",16:"10940b3d",17:"31fa5e4e",19:"5e68d822",20:"f667c34f",21:"55683afc",22:"38b70eb0",23:"371d8ec0",25:"6ccc443e",26:"7b048f4b",27:"fb848190",28:"d44dcc23",29:"f4c45245",30:"3933456b"}[e]+".chunk.js"}(e),c=function(r){d.onerror=d.onload=null,clearTimeout(u);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var u=setTimeout(function(){c({type:"timeout",target:d})},12e4);d.onerror=d.onload=c,document.head.appendChild(d)}return Promise.all(r)},i.m=e,i.c=n,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 n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));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 d=window.webpackJsonp=window.webpackJsonp||[],u=d.push.bind(d);d.push=r,d=d.slice();for(var f=0;f<d.length;f++)r(d[f]);var s=u;t()}([]);
//# sourceMappingURL=runtime~main.28b2be20.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,a,d=r[0],i=r[1],u=r[2],f=0,l=[];f<d.length;f++)a=d[f],o[a]&&l.push(o[a][0]),o[a]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);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],n=!0,a=1;a<t.length;a++){var i=t[a];0!==o[i]&&(n=!1)}n&&(c.splice(r--,1),e=d(d.s=t[0]))}return e}var n={},a={18:0},o={18:0},c=[];function d(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,d),t.l=!0,t.exports}d.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[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,25:1,27:1,28:1,29:1,30:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="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:"9e05243b",1:"de22eb69",2:"ce9acdcb",3:"2e7d81ca",4:"fc9da1d2",5:"31d6cfe0",6:"6576554c",7:"31d6cfe0",8:"21570c76",9:"20451cd3",10:"b59ee96d",11:"a93db4c0",12:"bef8c404",13:"9ece7350",14:"deae77c4",16:"3ab93c8e",17:"4b0044ec",19:"9fa57dd6",20:"82081d02",21:"2f1e5759",22:"49988cae",23:"5463a623",25:"4c706a4e",26:"31d6cfe0",27:"694b4628",28:"5ed15c7e",29:"ecbb6f9a",30:"bc06dce4"}[e]+".chunk.css",o=d.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var u=(s=c[i]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(u===n||u===o))return r()}var f=document.getElementsByTagName("style");for(i=0;i<f.length;i++){var s;if((u=(s=f[i]).getAttribute("data-href"))===n||u===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.request=n,delete a[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var c,i=document.createElement("script");i.charset="utf-8",i.timeout=120,d.nc&&i.setAttribute("nonce",d.nc),i.src=function(e){return d.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:"cce384ee",1:"e680dd84",2:"8d1561d1",3:"e8eba551",4:"b549cb5c",5:"bdcf46d3",6:"674bdc75",7:"da0ef8ca",8:"29c31098",9:"306d9f2a",10:"eb57ee9f",11:"f34dcd85",12:"c9707307",13:"ab462211",14:"061bdab5",16:"5e6a11fe",17:"485fcfcf",19:"27283df0",20:"76f14aa0",21:"3f965e01",22:"c80fdad6",23:"380f1b68",25:"2d2641c2",26:"7b048f4b",27:"b62db96d",28:"76b60535",29:"2c626bdc",30:"3933456b"}[e]+".chunk.js"}(e),c=function(r){i.onerror=i.onload=null,clearTimeout(u);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var u=setTimeout(function(){c({type:"timeout",target:i})},12e4);i.onerror=i.onload=c,document.head.appendChild(i)}return Promise.all(r)},d.m=e,d.c=n,d.d=function(e,r,t){d.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,r){if(1&r&&(e=d(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)d.d(t,n,function(r){return e[r]}.bind(null,n));return t},d.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(r,"a",r),r},d.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},d.p="/",d.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],u=i.push.bind(i);i.push=r,i=i.slice();for(var f=0;f<i.length;f++)r(i[f]);var s=u;t()}([]);
//# sourceMappingURL=runtime~main.2f233195.js.map
\ No newline at end of file
......@@ -9,6 +9,12 @@ class HeaderBar extends Component {
goBack = () => {
window.history.go(-1);
}
toHref = () => {
const { href } = this.props;
location.replace(href)
}
goShop = () => {
location.replace('/shopcart');
}
......@@ -17,9 +23,13 @@ class HeaderBar extends Component {
return (
<div className="detail-header" style={{...this.props.style}}>
{
this.props.arrow &&
!this.props.href && this.props.arrow &&
<i className='iconfont iconiconfront-68' onClick={this.goBack}></i>
}
{
this.props.href &&
<i className='iconfont iconiconfront-68' onClick={this.toHref}></i>
}
<span className='herder'>{this.props.title}</span>
{
this.props.cart &&
......
......@@ -14,7 +14,7 @@ import {Link} from "react-router-dom";
*/
const OrderItem = ({ info, tab, children, src, isSign ,id, ...restProps }) => {
const OrderItem = ({ info, tab, children, src,id, isaist, ...restProps }) => {
return (
<div className='public-list-item'>
<div className="public-content">
......@@ -22,8 +22,12 @@ const OrderItem = ({ info, tab, children, src, isSign ,id, ...restProps }) => {
<div className="public-cover" >
<Link to={`/detail?id=${id}`}>
<img src={src} alt="" />
{isSign && <span className="public-sign">返现</span>}
</Link>
{
(isaist &&
<span className='return_cash'></span>
)
}
</div>
{info}
</div>
......
......@@ -23,21 +23,16 @@
border-radius: 3px;
}
}
.public-sign {
.return_cash {
position: absolute;
top: 0;
right: 0;
width: 31px;
height: 18px;
background: url("./image/return.icon.png") no-repeat;
background-size: 100% 100%;
}
}
.public-sign {
display: inline-block;
padding: 0.533333vw 1.6vw;
border-radius: 2.933333vw 0 0 2.933333vw;
font-size: 3.733333vw;
color: #fff;
background: -webkit-gradient(linear, left top, left bottom, from(#FF4000), to(#FD7700));
background: -webkit-linear-gradient(top, #FF4000, #FD7700);
background: linear-gradient(to bottom, #FF4000, #FD7700);
}
.order-info {
......
......@@ -145,7 +145,7 @@ class Classify extends Component {
</p>
}
{item.is_buy &&
<a href="/#" className="isbuy">已购买</a>
<span className="isbuy">已购买</span>
}
</div>
</div>
......
......@@ -6,6 +6,7 @@ import { getCourses } from "@/components/detail/actions"
import { connect } from "react-redux"
import './index.scss'
import Overlay from '../overlay'
import axios from "axios";
class BtnStatus extends Component {
......@@ -19,11 +20,11 @@ class BtnStatus extends Component {
countdown: 0,
barInfo: ''
}
console.log(props);
}
componentDidMount() {
this.getBargainInfo()
// this.getBargainInfo()
}
......@@ -38,6 +39,9 @@ class BtnStatus extends Component {
// }
componentWillReceiveProps(nextProps) {
if(nextProps.data && nextProps.data.is_bargain) {
this.getBargainInfo()
}
this.setState({
...nextProps.data.course_info,
countdown: nextProps.countdown,
......@@ -78,13 +82,23 @@ class BtnStatus extends Component {
http.get(`${API['base-api']}/m/cart/addtopreorder/${cidArr}?type=1`).then((res) => {
console.log(res);
if (res.data.errno === 0) {
this.props.history.push('/order?id=' + res.data.data[0], {type: 1});
this.props.history.push("/order?id=" + res.data.data[0], {type: 1});
} else {
Toast.info(res.data.msg, 2);
}
})
}
};
// 普通课程的立即报名 要模拟结算过程
simpleCourse = () => {
http.get(`${API['base-api']}/m/cart/addtopreorder/[${getParam('id')}]`).then((res) => {
if (res.data.errno === 0) {
this.props.history.push(`/order?id=[${getParam('id')}]`, {simple: 1})
} else {
Toast.info(res.data.msg, 2);
}
})
};
// 格式化开课时间
formatDate = (date) => {
let ary = date.split('-');
......@@ -145,7 +159,7 @@ class BtnStatus extends Component {
type: 1, // 1 用户自己砍价 2 使用砍价神器 3 好友助力砍价 4 好友第二次助力
parent_uid: 0 // 被助力人id 【自己本人操作传0】
}
http.post(`${api.home}/m/bargain/toBargain`, data).then((res) => {
http.post(`${API.home}/m/bargain/toBargain`, data).then((res) => {
if (res.data.code === 200) {
// this.props.getBargainInfo()
document.location.reload()
......@@ -164,7 +178,7 @@ class BtnStatus extends Component {
let data = {
courseId: getParam('id')
}
http.post(`${API.home}/m/bargain/toBargain`, data).then((res) => {
http.post(`${API.home}/m/bargain/courseDetail`, data).then((res) => {
if (res.data.code === 200) {
this.setState({
barInfo: res.data.data
......@@ -204,7 +218,8 @@ class BtnStatus extends Component {
<button className='btn btn-s bg-FCCD05' onClick={e => this.toCart(1)}>加入购物车</button>
}
<Link to='/order' className='btn btn-s bg-FD7700'>立即报名</Link>
{/*<Link to='/order' className='btn btn-s bg-FD7700'>立即报名</Link>*/}
<span className='btn btn-s bg-FD7700' onClick={e => this.simpleCourse()}>立即报名</span>
</div>
}
......@@ -213,7 +228,7 @@ class BtnStatus extends Component {
info.is_baoming === 1 &&
<div className='btns-box'>
<a className='consult consult-m' href="https://q.url.cn/AB8aue?_type=wpa&qidian=true">
<i className='iconfont iconerji'></i>
<i className='iconfont iconerji' />
<span>课程咨询</span>
</a>
<Link to={`/play?id=${getParam('id')}`} className='btn btn-m bg-09f'>开始学习</Link>
......
......@@ -63,6 +63,7 @@ class Group extends Component {
link: location.origin + `/detail??id=${data.course_id}`, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl: data.image_name, // 分享图标
};
http.post(`${API['base-api']}/m/sale/signature`).then(res => {
const {nonce_str, signature, timestamp} = res.data;
wx.config({
......
......@@ -174,9 +174,10 @@ class Detail extends Component {
}
}
const {share, countdown} = this.state;
const href = this.props.location && this.props.location.state? this.props.location.state.href : undefined;
return (
<div className='detail-box'>
<HeaderBar title='课程详情' arrow={true} cart={true}></HeaderBar>
<HeaderBar title='课程详情' arrow={true} cart={true} href={href}></HeaderBar>
<CallApp className='toapp'></CallApp>
{/*弹幕*/}
<Carouselw></Carouselw>
......@@ -251,14 +252,14 @@ class Detail extends Component {
{/*拼团*/}
{
(courseInfo.group_status === 3 || courseInfo.group_status === 4) &&
(!courseInfo.is_aist && (courseInfo.group_status === 3 || courseInfo.group_status === 4)) &&
<Group history={this.props.history} countdown={countdown}/>
}
{/*砍价*/}
{
this.props.courseInfo && this.props.courseInfo.is_bargain &&
(!courseInfo.is_aist) && this.props.courseInfo && this.props.courseInfo.is_bargain &&
<Bargain/>
}
......@@ -270,7 +271,6 @@ class Detail extends Component {
data={this.props.courseInfo}
user={this.props.user}
barInfo={this.state.barInfo}
getBargainInfo={this.getBargainInfo}
invitedFriends={this.invitedFriends}
history={this.props.history}></BtnStatus>
......
......@@ -83,6 +83,9 @@
overflow: auto;
flex: 1;
a{
color: $active;
}
.legend {
font-size: $font_14;
......
......@@ -4,7 +4,8 @@ import classnames from 'classnames'
import { Tag } from '../../common'
import OpenApp from './OpenApp'
import { http,api } from '@/utils'
import { http, html, htmlDecode} from '@/utils'
export default class Examination extends PureComponent {
......@@ -41,11 +42,11 @@ export default class Examination extends PureComponent {
<div className="question-container">
<div className="topic">
<Tag className='category-tag'>{category}</Tag>
{ques}
<span dangerouslySetInnerHTML={{__html: ques}}/>
</div>
{
type_id === 1 && <MultiChoice className='options' options={options}
showCorrect={this.state.isShowAnswer}
showCorrect={this.state.isShowAnswer}
/>
}
{
......@@ -85,9 +86,7 @@ const Answer = React.memo(({content, isShowAnswer}) => {
return (
<div className={classnames('answer', {scale: isShowAnswer})}>
<p className='legend'>解析</p>
<p className='content'>
{content}
</p>
<p className='content' dangerouslySetInnerHTML={{__html: content}}/>
</div>
)
})
......@@ -78,36 +78,43 @@ const MyForm = withFormik({
Toast.info('请输入正确QQ号!', undefined, undefined, false);
return;
}
let same = false;
let same = 0;
if(FormBag.props.userInfo) {
const userInfo = FormBag.props.userInfo;
if(userInfo.real_name === real_name) {
same = true;
same += 1;
}
if(userInfo.cellphone === cellphone) {
same = true;
same += 1;
}
if(userInfo.qq === qq) {
same = true;
same += 1;
}
}
if(same) {
FormBag.props.history.replace({
pathname: '/order',
state: values
});
let pathName = '/order';
if(FormBag.props.userInfo.id) {
pathName = pathName + '?id=' + FormBag.props.userInfo.id;
}
if(same === 3) {
FormBag.props.history.replace(
pathName,
{
...values,
}
);
return;
}
http.post(`${API.home}/m/order/saveUserInfo`, {real_name: values.real_name, cellphone: (`${values.cellphone}`).replace(/\s+/g, ''), qq: values.qq}).then(res=>{
if(res.data.code !== 200) {
http.post(`${API['base-api']}/m/order/saveUserInfo`, {real_name: values.real_name, cellphone: (`${values.cellphone}`).replace(/\s+/g, ''), qq: values.qq}).then(res=>{
console.log(res);
if(res.data.errno !== 200) {
Toast.info(res.data.msg, undefined, undefined, false);
return;
}
Toast.info('保存成功!', undefined, undefined, false);
FormBag.props.history.replace({
pathname: '/order',
state: values
});
FormBag.props.history.replace(
pathName,
values
);
});
},
})(InnerForm);
......
import React, { Component } from 'react';
import { Flex, WingBlank, WhiteSpace, List, Radio } from 'antd-mobile';
import { api, http, getParam, is_weixin } from '@/utils';
import {Flex, WingBlank, WhiteSpace, List, Radio, Toast} from 'antd-mobile';
import {http, getParam, is_weixin } from '@/utils';
import { OrderItem, HeaderBar } from '@/common/index';
import { Link } from 'react-router-dom';
import './PayOrder.scss';
......@@ -51,7 +51,6 @@ export default class PayOrder extends Component {
console.log(item);
this.setState({
huabei: false,
checkPeriod: true,
stageNumber: item.value,
singleMoney: item.everyTotal,
periodNumber: item.stage,
......@@ -168,9 +167,10 @@ export default class PayOrder extends Component {
}
componentDidMount() {
http.post(`${API.home}/m/order/detail`, { order_id: this.state.orderId }).then((res) => {
http.post(`${API['base-api']}/m/order/detail`, { order_id: this.state.orderId }).then((res) => {
console.log(res);
if (res.data.code !== 200) {
if (res.data.errno !== 200) {
Toast.info(res.data.msg, 2);
return;
}
const { course, pay_amount } = res.data.data;
......
......@@ -69,6 +69,7 @@ class Passport extends Component {
render() {
console.log(this.props);
let {match, location} = this.props
return (
<div className="passport">
......
......@@ -66,6 +66,7 @@ class Login extends Component {
errors,
values
} = this.props
console.log(this.props);
return (
<div className='login'>
<HeaderBar title={'登录'} arrow={true}/>
......
......@@ -40,7 +40,7 @@ class Purchased extends Component {
const uid = user && user.data && user.data.uid
return (
<div className='purchased-box'>
<HeaderBar title='已购课程' arrow={true} cart={false}></HeaderBar>
<HeaderBar title='已购课程' cart={false} href='/my'></HeaderBar>
<Loading isLoading={this.state.isLoading}>
{
this.state.data && this.state.data.length > 0 ?
......
......@@ -128,6 +128,7 @@ class Cart extends Component {
// 去结算
tobuy = () => {
console.log(this.state.courseIdarr);
http.get(`${API['base-api']}/m/cart/addtopreorder/[${this.state.courseIdarr}]`).then((res) => {
if (res.data.errno == 0) {
this.props.history.push(`/order?id=[${this.state.courseIdarr}]`)
......
......@@ -35,7 +35,7 @@ class CampResolve extends Component {
this.body = document.getElementsByTagName('body')[0];
this.body.style.position = 'static';
} else {
this.props.history.push(`/detail?id=${this.course_id}`)
this.props.history.push(`/detail?id=${this.course_id}`,{href: '/purchased'})
}
};
componentDidMount() {
......@@ -43,7 +43,7 @@ class CampResolve extends Component {
this.qidP = getParam('qid');
let _this = this;
// 获取问题列表
http.get(`${api.home}/m/aist/analysis/${this.keshi_id}/${this.qidP}`).then(res => {
http.get(`${API.home}/m/aist/analysis/${this.keshi_id}/${this.qidP}`).then(res => {
console.log(res);
if(res.data.code === 4040) {
Toast.info(res.data.msg, 2, () => {
......
......@@ -24,7 +24,7 @@ class CampTest extends Component {
this.qidP = getParam('qid');
let _this = this;
// 获取问题列表
http.get(`${api.home}/m/aist/get_questions/${this.keshi_id}/${this.qidP}`).then(res => {
http.get(`${API.home}/m/aist/get_questions/${this.keshi_id}/${this.qidP}`).then(res => {
if(res.data.code === 4040) {
Toast.info(res.data.msg, 2, () => {
this.props.history.push('/passport');
......@@ -133,7 +133,7 @@ class CampTest extends Component {
data.cost_time = this.time;
data.uid = this.props.user.data.uid;
data.answer_record = this.answerList;
http.post(`${api.home}/m/aist/submit`, data).then((res) => {
http.post(`${API.home}/m/aist/submit`, data).then((res) => {
if(res.data.code === 200) {
this.props.history.push(`/campResolve?keshi_id=${this.keshi_id}&qid=${this.qid}`)
}else{
......
......@@ -93,6 +93,5 @@ const isLogin = (function () {
export { default as http } from './http'
// export { default as api } from './api'
export {default as wxShare} from './wechat/share'
export { html, initCaptcha, validateTel, validateEmail, browser, isLogin }
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