Commit aaf848ed by zhanghaozhe

merge bug and red-packet

parents 38912532 13e9cfa0
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.
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/node_modules/antd-mobile/lib/checkbox/style/index.css","30.5ed15c7e.chunk.css"],"names":[],"mappings":"AAAA,aACE,iBAAA,CACA,oBAAA,CACA,qBAAA,CACA,WAAA,CACA,YCCF,CDCA,mBACE,iBAAA,CACA,OAAA,CACA,WAAA,CACA,YAAA,CACA,qBAAA,CACA,iBAAA,CACA,8BAAA,CAEQ,sBAAA,CAEA,qBCDV,CDGA,yBACE,iBAAA,CACA,YAAA,CACA,QAAA,CACA,WAAA,CACA,WAAA,CACA,gBAAA,CACA,iBAAA,CACA,kBAAA,CACA,wBAAA,CACA,WAAA,CACA,+BAAA,CAEQ,uBCFV,CDIA,mBACE,iBAAA,CACA,KAAA,CACA,MAAA,CACA,SAAA,CACA,UAAA,CACA,WAAA,CACA,SAAA,CACA,QAAA,CACA,uBAAA,CACG,oBAAA,CACK,eCFV,CDIA,oDACE,oBAAA,CACA,kBCFF,CDIA,0DACE,aAAA,CACA,iBCFF,CDIA,kCACE,UCFF,CDIA,yEACE,iBAAA,CACA,eCFF,CDIA,+EACE,iBCFF,CDIA,uDACE,WAAA,CACA,YCFF,CDIA,oEACE,iBAAA,CACA,KAAA,CACA,MAAA,CACA,OAAA,CACA,QAAA,CACA,UAAA,CACA,kBCFF,CDIA,0EACE,QAAA,CACA,SCFF,CDIA,mFACE,UCFF,CDIA,mBACE,iBAAA,CAIA,YAAA,CAIQ,mBAAA,CACR,eAAA,CACA,iBAAA,CACA,oBCRF,CDUA,gCACE,iBAAA,CACA,MAAA,CACA,KAAA,CACA,SAAA,CACA,WCRF,CDUA,sCACE,MAAA,CACA,SCRF,CDUA,4CACE,oBAAA,CACA,aAAA,CACA,UAAA,CACA,eAAA,CACA,eAAA,CACA,cCRF","file":"30.5ed15c7e.chunk.css","sourcesContent":[".am-checkbox {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n width: 21px;\n height: 21px;\n}\n.am-checkbox-inner {\n position: absolute;\n right: 0;\n width: 21px;\n height: 21px;\n border: 1px solid #ccc;\n border-radius: 50%;\n -webkit-transform: rotate(0deg);\n -ms-transform: rotate(0deg);\n transform: rotate(0deg);\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n.am-checkbox-inner:after {\n position: absolute;\n display: none;\n top: 1.5px;\n right: 6px;\n z-index: 999;\n width: 5px;\n height: 11px;\n border-style: solid;\n border-width: 0 1px 1px 0;\n content: '\\0020';\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.am-checkbox-input {\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n width: 100%;\n height: 100%;\n z-index: 2;\n border: 0 none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.am-checkbox.am-checkbox-checked .am-checkbox-inner {\n border-color: #108ee9;\n background: #108ee9;\n}\n.am-checkbox.am-checkbox-checked .am-checkbox-inner:after {\n display: block;\n border-color: #fff;\n}\n.am-checkbox.am-checkbox-disabled {\n opacity: 0.3;\n}\n.am-checkbox.am-checkbox-disabled.am-checkbox-checked .am-checkbox-inner {\n border-color: #888;\n background: none;\n}\n.am-checkbox.am-checkbox-disabled.am-checkbox-checked .am-checkbox-inner:after {\n border-color: #888;\n}\n.am-list .am-list-item.am-checkbox-item .am-list-thumb {\n width: 21px;\n height: 21px;\n}\n.am-list .am-list-item.am-checkbox-item .am-list-thumb .am-checkbox {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 44px;\n}\n.am-list .am-list-item.am-checkbox-item .am-list-thumb .am-checkbox-inner {\n left: 15px;\n top: 12px;\n}\n.am-list .am-list-item.am-checkbox-item.am-checkbox-item-disabled .am-list-content {\n color: #bbb;\n}\n.am-checkbox-agree {\n position: relative;\n display: -webkit-box;\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: stretch;\n -webkit-align-items: stretch;\n -ms-flex-align: stretch;\n align-items: stretch;\n margin-left: 15px;\n padding-top: 9px;\n padding-bottom: 9px;\n}\n.am-checkbox-agree .am-checkbox {\n position: absolute;\n left: 0;\n top: 0;\n width: 30px;\n height: 100%;\n}\n.am-checkbox-agree .am-checkbox-inner {\n left: 0;\n top: 12px;\n}\n.am-checkbox-agree .am-checkbox-agree-label {\n display: inline-block;\n font-size: 15px;\n color: #000;\n line-height: 1.5;\n margin-left: 30px;\n margin-top: 1PX;\n}\n",".am-checkbox {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n width: 5.6vw;\n height: 5.6vw;\n}\n.am-checkbox-inner {\n position: absolute;\n right: 0;\n width: 5.6vw;\n height: 5.6vw;\n border: 1px solid #ccc;\n border-radius: 50%;\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n box-sizing: border-box;\n}\n.am-checkbox-inner:after {\n position: absolute;\n display: none;\n top: 0.4vw;\n right: 1.6vw;\n z-index: 999;\n width: 1.333333vw;\n height: 2.933333vw;\n border-style: solid;\n border-width: 0 1px 1px 0;\n content: ' ';\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.am-checkbox-input {\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n width: 100%;\n height: 100%;\n z-index: 2;\n border: 0 none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.am-checkbox.am-checkbox-checked .am-checkbox-inner {\n border-color: #108ee9;\n background: #108ee9;\n}\n.am-checkbox.am-checkbox-checked .am-checkbox-inner:after {\n display: block;\n border-color: #fff;\n}\n.am-checkbox.am-checkbox-disabled {\n opacity: 0.3;\n}\n.am-checkbox.am-checkbox-disabled.am-checkbox-checked .am-checkbox-inner {\n border-color: #888;\n background: none;\n}\n.am-checkbox.am-checkbox-disabled.am-checkbox-checked .am-checkbox-inner:after {\n border-color: #888;\n}\n.am-list .am-list-item.am-checkbox-item .am-list-thumb {\n width: 5.6vw;\n height: 5.6vw;\n}\n.am-list .am-list-item.am-checkbox-item .am-list-thumb .am-checkbox {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 11.733333vw;\n}\n.am-list .am-list-item.am-checkbox-item .am-list-thumb .am-checkbox-inner {\n left: 4vw;\n top: 3.2vw;\n}\n.am-list .am-list-item.am-checkbox-item.am-checkbox-item-disabled .am-list-content {\n color: #bbb;\n}\n.am-checkbox-agree {\n position: relative;\n display: flex;\n align-items: stretch;\n margin-left: 4vw;\n padding-top: 2.4vw;\n padding-bottom: 2.4vw;\n}\n.am-checkbox-agree .am-checkbox {\n position: absolute;\n left: 0;\n top: 0;\n width: 8vw;\n height: 100%;\n}\n.am-checkbox-agree .am-checkbox-inner {\n left: 0;\n top: 3.2vw;\n}\n.am-checkbox-agree .am-checkbox-agree-label {\n display: inline-block;\n font-size: 4vw;\n color: #000;\n line-height: 1.5;\n margin-left: 8vw;\n margin-top: 1PX;\n}\n\n"]}
\ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/node_modules/antd-mobile/lib/radio/style/index.css","31.ecbb6f9a.chunk.css"],"names":[],"mappings":"AAAA,UACE,iBAAA,CACA,oBAAA,CACA,qBAAA,CACA,SAAA,CACA,UCCF,CDCA,gBACE,iBAAA,CACA,OAAA,CACA,SAAA,CACA,UAAA,CAEQ,qBAAA,CACR,8BAAA,CAEQ,sBCDV,CDGA,sBACE,iBAAA,CACA,YAAA,CACA,cAAA,CACA,gBAAA,CACA,WAAA,CACA,gBAAA,CACA,iBAAA,CACA,kBAAA,CACA,0BAAA,CACA,WAAA,CACA,+BAAA,CAEQ,uBCFV,CDIA,gBACE,iBAAA,CACA,KAAA,CACA,MAAA,CACA,SAAA,CACA,UAAA,CACA,WAAA,CACA,SAAA,CACA,QAAA,CACA,uBAAA,CACG,oBAAA,CACK,eCFV,CDIA,2CACE,cCFF,CDIA,iDACE,aAAA,CACA,oBCFF,CDIA,mEACE,aAAA,CACA,iBCFF,CDIA,kEAIU,QCLV,CDOA,4EACE,iBAAA,CACA,KAAA,CACA,MAAA,CACA,OAAA,CACA,QAAA,CACA,UAAA,CACA,kBAAA,CACA,gBCLF,CDOA,kFACE,SAAA,CACA,OCLF,CDOA,6EACE,UCLF","file":"31.ecbb6f9a.chunk.css","sourcesContent":[".am-radio {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n width: 15px;\n height: 15px;\n}\n.am-radio-inner {\n position: absolute;\n right: 0;\n width: 15px;\n height: 15px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n -webkit-transform: rotate(0deg);\n -ms-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n.am-radio-inner:after {\n position: absolute;\n display: none;\n top: -2.5px;\n right: 5px;\n z-index: 999;\n width: 7px;\n height: 14px;\n border-style: solid;\n border-width: 0 1.5px 1.5px 0;\n content: '\\0020';\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.am-radio-input {\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n width: 100%;\n height: 100%;\n z-index: 2;\n border: 0 none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.am-radio.am-radio-checked .am-radio-inner {\n border-width: 0;\n}\n.am-radio.am-radio-checked .am-radio-inner:after {\n display: block;\n border-color: #108ee9;\n}\n.am-radio.am-radio-disabled.am-radio-checked .am-radio-inner:after {\n display: block;\n border-color: #bbb;\n}\n.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra {\n -webkit-box-flex: 0;\n -webkit-flex: 0;\n -ms-flex: 0;\n flex: 0;\n}\n.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra .am-radio {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 44px;\n overflow: visible;\n}\n.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra .am-radio-inner {\n right: 15px;\n top: 15px;\n}\n.am-list .am-list-item.am-radio-item.am-radio-item-disabled .am-list-content {\n color: #bbb;\n}\n",".am-radio {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n width: 4vw;\n height: 4vw;\n}\n.am-radio-inner {\n position: absolute;\n right: 0;\n width: 4vw;\n height: 4vw;\n box-sizing: border-box;\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n.am-radio-inner:after {\n position: absolute;\n display: none;\n top: -0.666667vw;\n right: 1.333333vw;\n z-index: 999;\n width: 1.866667vw;\n height: 3.733333vw;\n border-style: solid;\n border-width: 0 0.4vw 0.4vw 0;\n content: ' ';\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.am-radio-input {\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n width: 100%;\n height: 100%;\n z-index: 2;\n border: 0 none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.am-radio.am-radio-checked .am-radio-inner {\n border-width: 0;\n}\n.am-radio.am-radio-checked .am-radio-inner:after {\n display: block;\n border-color: #108ee9;\n}\n.am-radio.am-radio-disabled.am-radio-checked .am-radio-inner:after {\n display: block;\n border-color: #bbb;\n}\n.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra {\n flex: 0 1;\n}\n.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra .am-radio {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 11.733333vw;\n overflow: visible;\n}\n.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra .am-radio-inner {\n right: 4vw;\n top: 4vw;\n}\n.am-list .am-list-item.am-radio-item.am-radio-item-disabled .am-list-content {\n color: #bbb;\n}\n\n"]}
\ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/ShareCourse/index.scss"],"names":[],"mappings":"AAmGA,2BAEI,WAAA,CACA,SAAA,CACA,sCAA2B,CAJ/B,oCAOM,WAAA,CACA,SAAU,CARhB,2CAWQ,iBAAA,CACA,WAAA,CACA,uBAAkB,CAb1B,+CAgBU,iBAAA,CACA,WAAA,CACA,kBAAkB,CAlB5B,0CAuBQ,YAAA,CACA,iBAAkB,CAxB1B,iDA2BU,oBAAA,CACA,UAAA,CACA,YAAA,CACA,iBAAiB,CA9B3B,mDAkCU,oBAAA,CACA,UAAA,CACA,qBAAgB,CApC1B,iDAwCU,iBAAA,CACA,QAAA,CACA,eAAA,CACA,aAAA,CACA,iBAAA,CACA,oBAAA,CACA,wBAAA,CACA,kBAAA,CACA,qBAAsB,CAhDhC,wBAuDI,UAAA,CACA,iBAAA,CACA,sBAAA,CACA,iBAAA,CACA,UAAA,CACA,eAAA,CACA,iBAAA,CACA,OAAA,CACA,sBAAiB","file":"32.278ad3b1.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.share-course .v-list-item {\n height: 90px;\n padding: 0;\n margin: 10px 18px 20px 15px; }\n .share-course .v-list-item .content {\n border: none;\n padding: 0; }\n .share-course .v-list-item .content .cover {\n width: 125px;\n height: 90px;\n margin-right: 10px; }\n .share-course .v-list-item .content .cover img {\n width: 125px;\n height: 90px;\n border-radius: 3px; }\n .share-course .v-list-item .content .info {\n width: 207px;\n position: relative; }\n .share-course .v-list-item .content .info .title {\n font-size: 16px;\n color: #333;\n height: 18px;\n line-height: 18px; }\n .share-course .v-list-item .content .info .contact {\n font-size: 13px;\n color: #666;\n margin-top: 10px; }\n .share-course .v-list-item .content .info button {\n position: absolute;\n bottom: 0;\n font-size: 12px;\n color: #FF4000;\n height: 28px;\n padding: 0 13px;\n border: 1px solid #FF4000;\n border-radius: 3px;\n background-color: #fff; }\n\n.share-course .not-data {\n width: 100%;\n height: 20px;\n line-height: 20px;\n text-align: center;\n color: #666;\n font-size: 12px;\n position: absolute;\n top: 50%;\n margin-top: -10px; }\n"]}
\ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/scholarship/DrawDocument/DrawDocument.scss"],"names":[],"mappings":"AAmGA,cACI,wBAAyB,CAD7B,sBAIQ,oBAAA,CACA,UAAA,CACA,kBAAA,CACA,iBAAkB,CAP1B,wBAUY,oBAAA,CACA,iBAAA,CACA,OAAA,CACA,kCAAA,CAAA,0BAA2B,CAbvC,0BAgBY,aAAA,CACA,kBAAA,CACA,uBAAA,CACA,iBAAkB,CAnB9B,uBAwBQ,qBAAA,CACA,sBAAiB,CAzBzB,sBA6BQ,kBAAA,CACA,UAAA,CACA,cAAA,CACA,QAAA,CACA,MAAA,CACA,OAAA,CACA,yBAA6B,CAnCrC,2BAqCY,UAAA,CACA,eAAA,CACA,uBAAiB,CAvC7B,2BA0CY,iBAAA,CACA,iBAAA,CACA,sBAAA,CACA,iBAAA,CACA,qBAAA,CACA,wBAAA,CACA,eAAA,CACA,UAAc","file":"DrawDocument.2e7d81ca.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.drawDocument {\n background-color: #F7F9FC; }\n .drawDocument .navbar {\n font-size: 16px;\n color: #333333;\n height: 44px;\n position: relative; }\n .drawDocument .navbar i {\n font-size: 22px;\n position: absolute;\n top: 50%;\n transform: translateY(-50%); }\n .drawDocument .navbar div {\n margin: 0 auto;\n height: 44px;\n line-height: 44px;\n text-align: center; }\n .drawDocument .content {\n background-color: #FFF;\n padding-top: 20px; }\n .drawDocument .bottom {\n height: 44px;\n width: 100%;\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n border-top: 1px solid #DDDDDD; }\n .drawDocument .bottom .tip {\n color: #555555;\n font-size: 12px;\n padding-left: 5px; }\n .drawDocument .bottom .app {\n width: 88px;\n height: 22px;\n line-height: 22px;\n text-align: center;\n border: 1px solid #0099FF;\n border-radius: 11px;\n font-size: 12px;\n color: #0099FF; }\n"]}
\ 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,sBAAA,CACA,qBAAA,CACA,wBAAA,CACA,UAAA,CACA,eAAA,CACA,sBAAA,CACA,iBAAkB","file":"Examination.f2cc3163.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 line-height: 22px;\n border: 1px solid #09f;\n border-radius: 11px;\n color: #09f;\n font-size: 12px;\n background: transparent;\n text-align: center; }\n"]}
\ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/order/order.scss"],"names":[],"mappings":"AAmGA,eACE,UAAA,CACA,YAAA,CACA,yBAAA,CACA,wBAzDiB,CAqDnB,0BAOI,UAAA,CACA,kBA5De,CAoDnB,kCAYI,YAAA,CACA,UAAA,CACA,eAAA,CACA,sBAAA,CACA,UAAA,CACA,qBAAA,CACA,iBAAkB,CAlBtB,yCAuBI,UAAA,CACA,MAAA,CACA,OAAA,CACA,QAAA,CACA,gBAAA,CACA,iBAAA,CACA,0JAAA,CACA,kJAAA,CACA,2BAAqB,CA/BzB,mCAmCI,kBAAA,CACA,qBAAA,CACA,qBAAA,CACA,iBAAkB,CAtCtB,8CAyCM,oBAAA,CACA,sBAAgB,CA1CtB,+CA8CM,kBAAA,CACA,oBAAA,CACA,UAAA,CACA,sBAAA,CACA,aAAc,CAlDpB,qDAqDQ,wBAAmB,CArD3B,0CA2DI,UAAA,CACA,MAAA,CACA,OAAA,CACA,QAAA,CACA,gBAAA,CACA,iBAAA,CACA,0JAAA,CACA,kJAAA,CACA,2BAAqB,CAnEzB,8BAuEI,8BAAA,CAEA,iBAAA,CACA,UACiB,CA3ErB,yDAwEI,eAAA,CAGA,sBAKkB,CAhFtB,2BAoFI,qBAAA,CACA,wBAAyB,CArF7B,2CAuFM,sBAAkB,CAvFxB,+BA4FI,QAAA,CACA,iBAAA,CACA,sBAAA,CACA,sBAAA,CACA,oBAAA,CACA,UA3LY,CA0FhB,2BAqGI,UAAA,CACA,oBAAA,CACA,qBAAA,CACA,aAAA,CACA,YAAA,CACA,qBAAA,CACA,4BAA6B,CA3GjC,wCA8GM,UAAA,CACA,oBAlLQ,CAmEd,0CAmHM,UAAA,CACA,oBAAA,CACA,iBAAiB,CArHvB,2CAyHM,aAAA,CACA,oBAAA,CACA,gBAAkB,CA3HxB,wCA+HM,UAAA,CACA,eAAA,CACA,4BAA6B,CAjInC,0BAsII,UAAA,CACA,cAAA,CACA,QAAA,CACA,SAAA,CACA,kBAAA,CACA,YAAA,CACA,oBAAA,CACA,kBAAA,CACA,qBAtMS,CAwDb,6BAkJI,sBAAiB,CAlJrB,gDAqJM,oBAAA,CACA,UAjPU,CA2FhB,+BA2JI,QAAA,CACA,gBAAA,CACA,aAAA,CACA,wBAAmB,CA9JvB,6CAiKM,oBAAA,CACA,UA7PU,CA2FhB,iEAqKQ,aAjQU,CA4FlB,+CA0KM,eAAA,CACA,UArQU,CA0FhB,6BAgLI,iBAAA,CACA,kBAAA,CACA,oBAAA,CACA,SAAA,CACA,wBAAA,CACA,UAAA,CACA,kBAAA,CACA,oBAAA,CACA,eAAA,CACA,iBAAA,CACA,qBAAA,CACA,uBAAA,CACA,6BAAA,CACA,4BAA6B,CA7LjC,yBAgMI,wBAAyB,CAhM7B,4BAoMI,qBAAA,CACA,wBAAyB,CArM7B,qCAwMM,kBAAmB,CAxMzB,iDA+MQ,YAAa,CA/MrB,8CAmNM,uBAA0B,CAnNhC,2CAsNM,aAAe,CAtNrB,kDA4NM,UAAA,CACA,eA9RQ,CAiEd,+DAgOQ,aAAA,CACA,yBAAA,CACA,eAAA,CACA,kBAAA,CACA,qBAAA,CACA,QAAS,CArOjB,+EAyOM,eAAe,CAzOrB,qGA6OQ,YAAa,CA7OrB,4CAkPM,eAAA,CACA,UAAc,CAnPpB,2CAsPM,gBAAA,CACA,iBAAA,CACA,wBAAA,CACA,iBAAA,CACA,sBAAiB,CA1PvB,4DA+PI,UA1VY,CA2FhB,yCAmQM,wBAA0B,CAnQhC,8BAyQI,kBAAA,CACA,uBAAA,CACA,+BAAoB,CA3QxB,4CA6QM,wBAA0B,CA7QhC,4CAiRM,aAAe,CAjRrB,+CAoRM,UAAA,CACA,oBAxVQ,CAmEd,iEAuRQ,eAAA,CACA,eAAiB","file":"Order.8bb031ea.chunk.css","sourcesContent":["@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.order-wrapper {\n width: 100%;\n height: 100vh;\n margin-bottom: 50px;\n background-color: #f5f5f5; }\n .order-wrapper .order-tab {\n color: #000;\n background: #f7f9fc; }\n .order-wrapper .order-information {\n display: flex;\n width: 100%;\n overflow: hidden;\n padding: 29px 15px;\n color: #555;\n background-color: #fff;\n position: relative; }\n .order-wrapper .order-information::before {\n content: '';\n left: 0;\n right: 0;\n bottom: 0;\n height: 2px;\n position: absolute;\n background: -webkit-repeating-linear-gradient(135deg, #ff6c6c 0, #ff6c6c 20%, transparent 0, transparent 25%, #1989fa 0, #1989fa 45%, transparent 0, transparent 50%);\n background: repeating-linear-gradient(-45deg, #ff6c6c 0, #ff6c6c 20%, transparent 0, transparent 25%, #1989fa 0, #1989fa 45%, transparent 0, transparent 50%);\n background-size: 80px; }\n .order-wrapper .order-information2 {\n height: 80px;\n background-color: #FFF;\n margin-top: 8px;\n position: relative; }\n .order-wrapper .order-information2 .user-icon {\n font-size: 28px;\n flex-basis: 40px; }\n .order-wrapper .order-information2 .order-cell {\n height: 50px;\n font-size: 13px;\n color: #333;\n line-height: 20px;\n flex: 1 1 auto; }\n .order-wrapper .order-information2 .order-cell .name {\n margin-bottom: 10px; }\n .order-wrapper .order-information2::before {\n content: '';\n left: 0;\n right: 0;\n bottom: 0;\n height: 2px;\n position: absolute;\n background: -webkit-repeating-linear-gradient(135deg, #ff6c6c 0, #ff6c6c 20%, transparent 0, transparent 25%, #1989fa 0, #1989fa 45%, transparent 0, transparent 50%);\n background: repeating-linear-gradient(-45deg, #ff6c6c 0, #ff6c6c 20%, transparent 0, transparent 25%, #1989fa 0, #1989fa 45%, transparent 0, transparent 50%);\n background-size: 80px; }\n .order-wrapper .order-addsize {\n font-size: 22px !important;\n margin-bottom: 0px;\n height: 22px;\n color: #09f;\n line-height: 22px; }\n .order-wrapper .order-next {\n line-height: 22px;\n margin-bottom: 0px; }\n .order-wrapper .order-list {\n margin-top: 8px;\n background-color: #F5F5F5; }\n .order-wrapper .order-list .public-content {\n padding: 10px 15px; }\n .order-wrapper .order-infotext {\n flex: 1;\n height: 22px;\n line-height: 22px;\n margin-left: 10px;\n font-size: 14px;\n color: #555; }\n .order-wrapper .order-info {\n color: #666;\n font-size: 14px;\n min-width: 160px;\n flex: 1 1 auto;\n display: flex;\n flex-direction: column;\n justify-content: space-around; }\n .order-wrapper .order-info .order-title {\n color: #333;\n font-size: 16px; }\n .order-wrapper .order-info .order-content {\n color: #666;\n font-size: 14px;\n line-height: 18px; }\n .order-wrapper .order-info .order-newprice {\n color: #ff3131;\n font-size: 16px;\n margin-right: 15px; }\n .order-wrapper .order-info .order-price {\n color: #999;\n font-size: 12px;\n text-decoration: line-through; }\n .order-wrapper .order-bar {\n width: 100%;\n position: fixed;\n bottom: 0;\n z-index: 2;\n height: 50px;\n display: flex;\n font-size: 14px;\n align-items: center;\n background-color: #fff; }\n .order-wrapper .order-course {\n margin-left: 20px; }\n .order-wrapper .order-course .order-course-text {\n font-size: 16px;\n color: #333; }\n .order-wrapper .order-bar-text {\n flex: 1;\n text-align: right;\n color: #323233;\n padding-right: 20px; }\n .order-wrapper .order-bar-text .order-amount {\n font-size: 14px;\n color: #333; }\n .order-wrapper .order-bar-text .order-amount .order-amount-price {\n color: #ff3131; }\n .order-wrapper .order-bar-text .order-preprice {\n font-size: 12px;\n color: #555; }\n .order-wrapper .order-button {\n width: 110px;\n height: 50px;\n display: inline-block;\n padding: 0;\n background-color: #ff9898;\n color: #fff;\n line-height: 48px;\n font-size: 16px;\n border-radius: 0px;\n text-align: center;\n box-sizing: border-box;\n -webkit-appearance: none;\n -webkit-text-size-adjust: 100%;\n border: 1px solid transparent; }\n .order-wrapper .has-info {\n background-color: #FF3131; }\n .order-wrapper .v-list-item {\n margin-top: 8px;\n padding: 10px 15px 0 15px; }\n .order-wrapper .v-list-item .content {\n border-bottom: none; }\n .order-wrapper .order-prefer .am-list-body::after {\n display: none; }\n .order-wrapper .order-prefer .am-list-content {\n font-size: 15px !important; }\n .order-wrapper .order-prefer .am-list-line {\n padding: 0 15px; }\n .order-wrapper .order-balance .order-balanceprice {\n color: #666;\n font-size: 12px; }\n .order-wrapper .order-balance .order-balanceprice .order-money {\n color: #ff2121;\n font-size: 12px !important;\n font-weight: normal;\n font-style: inherit;\n vertical-align: middle;\n margin: 0; }\n .order-wrapper .order-balance .am-list-content .iconiconfront-22.question-mark {\n font-size: 24px; }\n .order-wrapper .order-balance .am-list-body::before, .order-wrapper .order-balance .am-list-body::after {\n display: none; }\n .order-wrapper .order-balance .balance-used {\n font-size: 24px;\n color: #0099FF; }\n .order-wrapper .order-balance .circle-icon {\n width: 20px;\n height: 20px;\n border: 1px solid #BFBFBF;\n border-radius: 50%;\n margin-right: 2px; }\n .order-wrapper .am-list-item .am-list-line .am-list-content {\n color: #333; }\n .order-wrapper .order-list .am-list-item {\n padding-left: 0 !important; }\n .order-wrapper .order-balance {\n height: 44px;\n line-height: 44px;\n margin: 8px 0 50px 0; }\n .order-wrapper .order-balance .am-list-item {\n padding-left: 0 !important; }\n .order-wrapper .order-balance .am-list-line {\n padding: 0 15px; }\n .order-wrapper .order-balance .am-list-content {\n color: #333;\n font-size: 16px; }\n .order-wrapper .order-balance .am-list-content .iconiconfront-22 {\n font-size: 18px;\n margin-left: 15px; }\n"]}
\ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/order/payOrder/PayOrder.scss"],"names":[],"mappings":"AAmGA,WACI,UAAA,CACA,wBAAA,CACA,yBAAmB,CAHvB,yBAMQ,qBAAsB,CAN9B,8BASY,aAAA,CACA,UAAc,CAV1B,iCAcY,eAAA,CACA,UAAc,CAf1B,gCAmBY,aAAc,CAnB1B,8CA0BgB,YAAa,CA1B7B,0CA+BY,UAAA,CACA,aAAA,CACA,qBAAsB,CAjClC,sCAqCY,oBAAA,CACA,aAAc,CAtC1B,2CA0CY,oBAAA,CACA,aAAc,CA3C1B,sCA+CY,oBAAA,CACA,aAAc,CAhD1B,0CAoDY,gBAAA,CACA,iBAAA,CACA,iBAAA,CACA,wBAAyB,CAvDrC,gDA2DY,aAAA,CACA,iBAAA,CACA,KAAA,CACA,WAAU,CA9DtB,qEAkEY,wBAAA,CACA,iBAAA,CACA,gBAAA,CACA,iBAAY,CArExB,2EAyEY,aAAc,CAzE1B,oBA8EQ,UAAA,CACA,UAAA,CACA,eAAA,CACA,iBAAA,CACA,eAAA,CACA,aAAA,CACA,wBAAyB,CApFjC,uBAwFQ,cAAA,CACA,QAAA,CACA,UAAA,CACA,kBAAA,CACA,uBAAA,CACA,iBAAA,CACA,UAAA,CACA,eAAA,CACA,wBAAA,CACA,SAAU,CAjGlB,0BAqGQ,cAAA,CACA,UAAA,CACA,WAAA,CACA,KAAA,CACA,MAAA,CACA,+BAAA,CACA,UAAW,CA3GnB,qCA8GY,iBAAA,CACA,OAAA,CACA,QAAA,CACA,sCAAA,CAAA,8BAAA,CACA,UAAA,CACA,mBAAA,CACA,qBAAA,CACA,yBAAoB,CArHhC,kDAwHgB,UAAA,CACA,oBAAA,CACA,iBAAA,CACA,UAAA,CACA,kBAAA,CACA,uBAAA,CACA,4BAAA,CACA,4BAAA,CACA,6BAA4B,CAhI5C,qEAqIY,cAAe,CArI3B,0CAyIY,gBAAA,CACA,iBAAA,CACA,iBAAA,CACA,wBAAA,CACA,qBAAsB,CA7IlC,gDAiJY,aAAA,CACA,iBAAA,CACA,KAAA,CACA,WAAU,CApJtB,qEAwJY,wBAAA,CACA,qBAAA,CACA,iBAAA,CACA,gBAAA,CACA,iBAAY,CA5JxB,2EAgKY,aAAc,CAhK1B,uBAqKQ,iBAAA,CACA,QAAO,CAtKf,oCAyKY,oBAAA,CACA,UArQI,CA2FhB,sCA8KY,oBAAA,CACA,UAAA,CACA,qBAAA,CACA,iBAAiB,CAjL7B,kCAqLM,YAAA,CACA,iBAAA,CACA,iBAAA,CACA,QAAS,CAxLf,kDA2LgB,oBAAA,CACA,aAxRE,CA4FlB,+CAgMgB,eAAA,CACA,UAAA,CACA,eAAA,CACA,4BAA6B,CAnM7C,wBAyMQ,sBAAA,CACA,qBAAsB,CA1M9B,iCA6MM,WAAA,CACA,gBAAiB,CA9MvB,wCAiNgB,YAAA,CACA,WAAY,CAlN5B,4CAqNU,UAAA,CACA,WAAY,CAtNtB,uDA0NoB,mCAAwC,CA1N5D,8BAgOY,WAAA,CACA,iBAAA,CACA,aAAc,CAlO1B,qCAqOgB,oBAAA,CACA,UAAA,CACA,eAAA,CACA,sBAAA,CACA,kBAAA,CACA,iBAAA,CACA,sBAAiB,CA3OjC,uCA+OgB,oBAAA,CACA,UAAA,CACA,qBAAgB,CAjPhC,mCAqPgB,iBAAA,CACA,QAAS,CAtPzB,wDA0PwB,aAAA,CACA,eAAe,CA3PvC,sDA+PwB,aAAA,CACA,oBAAe,CAhQvC,sDAoQwB,UAAA,CACA,eAAA,CACA,oBAAA,CACA,eAAA,CACA,4BAA6B,CAxQrD,0CA6QoB,oBAAA,CACA,iBAAA,CACA,YAAA,CACA,qBAAA,CACA,mBAAA,CACA,UAAA,CACA,eAAA,CACA,iBAAA,CACA,iBAAiB","file":"PayOrder.e5315535.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.pay-order {\n width: 100%;\n background-color: #f5f5f5;\n margin-bottom: 50px; }\n .pay-order .order-number {\n background-color: #fff; }\n .pay-order .order-number span {\n font-size: 15px;\n color: #333333; }\n .pay-order .order-number .number {\n font-size: 12px;\n color: #666666; }\n .pay-order .order-number .money {\n color: #ff3131; }\n .pay-order .pay-type-list .am-list-body::after {\n display: none; }\n .pay-order .pay-type-list .am-list-header {\n color: #333333;\n font-size: 15px;\n background-color: #fff; }\n .pay-order .pay-type-list .iconalipay {\n font-size: 22px;\n color: #01aaef; }\n .pay-order .pay-type-list .iconweixinzhifu {\n font-size: 22px;\n color: #3baf34; }\n .pay-order .pay-type-list .iconhuabei {\n font-size: 22px;\n color: #01aaef; }\n .pay-order .pay-type-list .am-radio-inner {\n width: 20px;\n height: 20px;\n border-radius: 50%;\n background-color: #c1c1c1; }\n .pay-order .pay-type-list .am-radio-inner:after {\n display: block;\n border-color: #fff;\n top: 0;\n right: 6px; }\n .pay-order .pay-type-list .am-radio.am-radio-checked .am-radio-inner {\n background-color: #009aff;\n border-radius: 50%;\n width: 20px;\n height: 20px; }\n .pay-order .pay-type-list .am-radio.am-radio-checked .am-radio-inner:after {\n display: block; }\n .pay-order .pay-tip {\n width: 100%;\n height: 30px;\n line-height: 30px;\n text-align: center;\n font-size: 12px;\n color: #ff3131;\n background-color: #fff4ce; }\n .pay-order .pay-button {\n position: fixed;\n bottom: 0;\n width: 100%;\n height: 44px;\n line-height: 44px;\n text-align: center;\n color: #fff;\n font-size: 18px;\n background-color: #18b4ed;\n z-index: 9; }\n .pay-order .check-staging {\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n background-color: rgba(0, 0, 0, 0.6);\n z-index: 19; }\n .pay-order .check-staging .container {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 300px;\n border-radius: 6px;\n background-color: #FFF;\n padding-bottom: 10px; }\n .pay-order .check-staging .container .check-title {\n color: #333333;\n font-size: 16px;\n text-align: center;\n width: 100%;\n height: 44px;\n line-height: 44px;\n border-bottom: 1px solid #DDDDDD;\n border-top-left-radius: 6px;\n border-top-right-radius: 6px; }\n .pay-order .check-staging .am-list-item .am-list-line .am-list-extra {\n flex-basis: 16%; }\n .pay-order .check-staging .am-radio-inner {\n width: 20px;\n height: 20px;\n border-radius: 50%;\n border: 1px solid #BFBFBF;\n background-color: #fff; }\n .pay-order .check-staging .am-radio-inner:after {\n display: block;\n border-color: #fff;\n top: 0;\n right: 6px; }\n .pay-order .check-staging .am-radio.am-radio-checked .am-radio-inner {\n background-color: #009aff;\n border: 1px solid #FFF;\n border-radius: 50%;\n width: 20px;\n height: 20px; }\n .pay-order .check-staging .am-radio.am-radio-checked .am-radio-inner:after {\n display: block; }\n .pay-order .order-info {\n position: relative;\n flex: 1; }\n .pay-order .order-info .order-title {\n font-size: 16px;\n color: #333; }\n .pay-order .order-info .order-content {\n font-size: 14px;\n color: #666;\n margin-top: 14px;\n line-height: 18px; }\n .pay-order .order-info .order-des {\n height: 24px;\n line-height: 33px;\n position: absolute;\n bottom: 0; }\n .pay-order .order-info .order-des .order-newprice {\n font-size: 16px;\n color: #ff3131; }\n .pay-order .order-info .order-des .order-price {\n font-size: 12px;\n color: #999;\n margin-left: 15px;\n text-decoration: line-through; }\n .pay-order .v-list-item {\n padding: 10px 15px;\n background-color: #fff; }\n .pay-order .v-list-item .content {\n border: none;\n padding-bottom: 0; }\n .pay-order .v-list-item .content .cover {\n flex: inherit;\n width: 42.2%; }\n .pay-order .v-list-item .content .cover img {\n width: 100%;\n height: 100%; }\n .pay-order .v-list-item .content .cover .course-status {\n background-color: rgba(224, 46, 36, 0.6); }\n .pay-order .v-list-item .info {\n width: 52.3%;\n position: relative;\n display: block; }\n .pay-order .v-list-item .info .title {\n font-size: 16px;\n color: #333;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 16px;\n line-height: 16px; }\n .pay-order .v-list-item .info .contact {\n font-size: 14px;\n color: #666;\n margin-top: 14px; }\n .pay-order .v-list-item .info .des {\n position: absolute;\n bottom: 0; }\n .pay-order .v-list-item .info .des .course-price .price {\n color: #FF2121;\n font-size: 12px; }\n .pay-order .v-list-item .info .des .course-price .new {\n color: #FF2121;\n font-size: 16px; }\n .pay-order .v-list-item .info .des .course-price .old {\n color: #999;\n font-size: 12px;\n display: inline-block;\n margin-left: 15px;\n text-decoration: line-through; }\n .pay-order .v-list-item .info .des .isbuy {\n display: inline-block;\n width: 61px;\n height: 18px;\n background-color: #09f;\n border-radius: 9px;\n color: #fff;\n font-size: 12px;\n text-align: center;\n line-height: 18px; }\n"]}
\ No newline at end of file
.search-head{height:11.733333vw;display:flex;background-color:#f7f9fc;border-bottom:1px solid #eee}.search-head .left{width:11.733333vw;height:11.733333vw;line-height:11.733333vw;text-align:center}.search-head .left img{width:3.733333vw;height:3.733333vw;display:block;padding:4vw}.search-head .center{flex:1 1}.search-head .center .am-search{background-color:#f7f9fc}.search-head .center .am-search .am-search-input{background:#f0f2f6;border-radius:11.733333vw}.search-head .center .am-search-start .am-search-input{background:#fff;border-radius:11.733333vw}.search-head .right{width:11.733333vw;height:11.733333vw;line-height:11.733333vw}.search-head .right .am-icon-md{padding:2.933333vw}.search-head .right-btn{width:auto}.search-head .right-btn .submit-btn{line-height:8vw;border:0;height:8vw;padding:0 3.2vw;margin:1.866667vw 0;border-radius:.8vw;font-size:3.733333vw;color:#333}.search-head .right-btn .submit-btn--active{color:#09f}.am-search{height:11.466667vw;padding:0}.search-result{padding-top:11.733333vw}.search-result .search-head{position:absolute;top:0;left:0;width:100%;z-index:10}.search-result ul{list-style:none}.search-result .v-list-item .content{width:100%}.search-result .info{display:flex;flex-wrap:wrap;width:50%}.search-result .info .title{overflow:hidden;font-size:3.733333vw;white-space:nowrap;text-overflow:ellipsis}.search-result .info .des{font-size:3.2vw;line-height:4.266667vw;align-self:flex-start}.search-result .info .price{color:#ff2121;font-size:4.266667vw;margin-right:3.733333vw}.search-result .info .stale-price{text-decoration:line-through;color:#999;font-size:3.2vw}.search-result .info .bottom{align-self:flex-end}.search-result .empty{font-size:3.2vw;color:#666;padding:8vw 0;text-align:center;background-color:#f5f5f5}.search-result .status{width:100%;position:absolute;bottom:-.533333vw;left:0;height:6.4vw;text-align:center;line-height:6.4vw;font-size:3.466667vw;color:#fff;background-color:rgba(224,46,36,.6)}.search-result .recommendation{padding:0 4vw}.search-result .recommendation .title{width:100%;font-size:4vw;padding:5.333333vw 0 1.333333vw;text-align:center}.search-result .recommendation .courses{display:flex;flex-flow:wrap;justify-content:space-between}.search-result .recommendation .bottom{margin-top:3.2vw}.search-result .recommendation .price{color:#ff2121;font-size:4vw;margin-right:4vw}.search-result .recommendation .old-price{color:#999;font-size:2.933333vw;text-decoration:line-through}
/*# sourceMappingURL=SearchResult.2649d43f.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/search/search_header.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/search/search-result.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/search/recommendation/recommendation.scss"],"names":[],"mappings":"AAmGA,aACI,kBAAA,CACA,YAAA,CACA,wBAAA,CACA,4BAA6B,CAJjC,mBAOQ,iBAAA,CACA,kBAAA,CACA,uBAAA,CACA,iBAAkB,CAV1B,uBAaY,gBAAA,CACA,iBAAA,CACA,aAAA,CACA,WAAa,CAhBzB,qBAqBQ,QAAO,CArBf,gCAwBY,wBAAyB,CAxBrC,iDA2BgB,kBAAA,CACA,yBAAmB,CA5BnC,uDAmCgB,eAAA,CACA,yBAAmB,CApCnC,oBA4CQ,iBAAA,CACA,kBAAA,CACA,uBAAiB,CA9CzB,gCAiDY,kBAAa,CAjDzB,wBAuDQ,UAAW,CAvDnB,oCA0DY,eAAA,CACA,QAAA,CACA,UAAA,CAEA,eAAA,CACA,mBAAA,CACA,kBAAA,CACA,oBAAA,CACA,UA7JI,CA2FhB,4CAqEY,UArKC,CA0Kb,WACI,kBAAA,CACA,SAAU,CC5Ed,eACI,uBAAiB,CADrB,4BAIQ,iBAAA,CACA,KAAA,CACA,MAAA,CACA,UAAA,CACA,UAAW,CARnB,kBAYQ,eAAgB,CAZxB,qCAiBY,UAAW,CAjBvB,qBAsBQ,YAAA,CACA,cAAA,CACA,SAAU,CAxBlB,4BA2BY,eAAA,CACA,oBAAA,CACA,kBAAA,CACA,sBAAuB,CA9BnC,0BAmCY,eAAA,CACA,sBAAA,CACA,qBAAsB,CArClC,4BA0CY,aAAA,CACA,oBAAA,CACA,uBAAkB,CA5C9B,kCAgDY,4BAAA,CACA,UAAA,CACA,eAnHE,CAiEd,6BAsDY,mBAAoB,CAtDhC,sBA2DQ,eAAA,CACA,UAAA,CACA,aAAA,CACA,iBAAA,CACA,wBAAyB,CA/DjC,uBAmEQ,UAAA,CACA,iBAAA,CACA,iBAAA,CACA,MAAA,CACA,YAAA,CACA,iBAAA,CACA,iBAAA,CACA,oBAAA,CACA,UAAA,CACA,mCAAwC,CC5EhD,+BAGQ,aAAe,CAHvB,sCAKY,UAAA,CACA,aAAA,CACA,+BAAA,CACA,iBAAkB,CAR9B,wCAYY,YAAA,CACA,cAAA,CACA,6BAA8B,CAd1C,uCAkBY,gBAAgB,CAlB5B,sCAsBY,aAAA,CACA,aAAA,CACA,gBAAkB,CAxB9B,0CA4BY,UAAA,CACA,oBAAA,CACA,4BAA6B","file":"SearchResult.2649d43f.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.search-head {\n height: 44px;\n display: flex;\n background-color: #F7F9FC;\n border-bottom: 1px solid #eee; }\n .search-head .left {\n width: 44px;\n height: 44px;\n line-height: 44px;\n text-align: center; }\n .search-head .left img {\n width: 14px;\n height: 14px;\n display: block;\n padding: 15px; }\n .search-head .center {\n flex: 1; }\n .search-head .center .am-search {\n background-color: #F7F9FC; }\n .search-head .center .am-search .am-search-input {\n background: #F0F2F6;\n border-radius: 44px; }\n .search-head .center .am-search-start .am-search-input {\n background: #fff;\n border-radius: 44px; }\n .search-head .right {\n width: 44px;\n height: 44px;\n line-height: 44px; }\n .search-head .right .am-icon-md {\n padding: 11px; }\n .search-head .right-btn {\n width: auto; }\n .search-head .right-btn .submit-btn {\n line-height: 30px;\n border: 0;\n height: 30px;\n margin: 7px 0px;\n padding: 0 12px;\n margin-left: 0;\n border-radius: 3px;\n font-size: 14px;\n color: #333; }\n .search-head .right-btn .submit-btn--active {\n color: #09f; }\n\n.am-search {\n height: 43px;\n padding: 0; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.search-result {\n padding-top: 44px; }\n .search-result .search-head {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n z-index: 10; }\n .search-result ul {\n list-style: none; }\n .search-result .v-list-item .content {\n width: 100%; }\n .search-result .info {\n display: flex;\n flex-wrap: wrap;\n width: 50%; }\n .search-result .info .title {\n overflow: hidden;\n font-size: 14px;\n white-space: nowrap;\n text-overflow: ellipsis; }\n .search-result .info .des {\n font-size: 12px;\n line-height: 16px;\n align-self: flex-start; }\n .search-result .info .price {\n color: #FF2121;\n font-size: 16px;\n margin-right: 14px; }\n .search-result .info .stale-price {\n text-decoration: line-through;\n color: #999;\n font-size: 12px; }\n .search-result .info .bottom {\n align-self: flex-end; }\n .search-result .empty {\n font-size: 12px;\n color: #666;\n padding: 30px 0;\n text-align: center;\n background-color: #f5f5f5; }\n .search-result .status {\n width: 100%;\n position: absolute;\n bottom: -2px;\n left: 0;\n height: 24px;\n text-align: center;\n line-height: 24px;\n font-size: 13px;\n color: #fff;\n background-color: rgba(224, 46, 36, 0.6); }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.search-result .recommendation {\n padding: 0 15px; }\n .search-result .recommendation .title {\n width: 100%;\n font-size: 15px;\n padding: 20px 0 5px;\n text-align: center; }\n .search-result .recommendation .courses {\n display: flex;\n flex-flow: wrap;\n justify-content: space-between; }\n .search-result .recommendation .bottom {\n margin-top: 12px; }\n .search-result .recommendation .price {\n color: #FF2121;\n font-size: 15px;\n margin-right: 15px; }\n .search-result .recommendation .old-price {\n color: #999;\n font-size: 11px;\n text-decoration: line-through; }\n"]}
\ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/shopCart/card.scss"],"names":[],"mappings":"AAmGA,gBACI,qBAAuB,CAG3B,WACI,WAAA,CACA,UAAA,CACA,YAAA,CACA,qBAAsB,CAJ1B,qBAOQ,UAAA,CACA,sBAAA,CACA,iBAAkB,CAT1B,iCAYY,eAAe,CAZ3B,gCAgBY,eAAA,CACA,UA9GI,CA6FhB,uBAqBY,oBAAA,CACA,oBAAA,CACA,sBAAA,CACA,UA5HC,CAoGb,iBA6BQ,wBAAA,CACA,oBAAe,CA9BvB,sBAkCQ,WAAA,CACA,QAAA,CACA,yBAAA,CACA,YAAA,CACA,wBAAA,CACA,eAAA,CACA,iBAAkB,CAxC1B,iCA2CY,UAAW,CA3CvB,+CA8CgB,4BAA6B,CA9C7C,sIAsDgB,wBAA6B,CAtD7C,+CA0DgB,YAAA,CACA,kBAAA,CACA,6BAA8B,CA5D9C,mDA+DoB,QAAO,CA/D3B,oDAmEoB,oBAAA,CACA,sBAAiB,CApErC,qDAwEoB,gBAAA,CACA,iBAAA,CACA,oBAAA,CACA,sBAAiB,CA3ErC,iDA+EoB,kBAAA,CACA,oBAAA,CACA,aAAA,CACA,oBAAe,CAlFnC,mEAwFoB,wBAA6B,CAxFjD,4DA4FoB,eAAkB,CA5FtC,+DAgGoB,iBAAkB,CAhGtC,2DAoGoB,eAAA,CACA,mBAAA,CACA,WAAA,CACA,yBAAA,CACA,qBA3MR,CAmGZ,yEA2GwB,SAAA,CACA,UAAA,CACA,YAAA,CACA,kBAAA,CACA,WAAY,CA/GpC,4DAoHoB,iBAAA,CACA,KAAA,CACA,gBAAA,CACA,WAAA,CACA,eAAA,CACA,YAAA,CACA,sBAAA,CACA,kBAAmB,CA3HvC,gEA8HwB,kBAAA,CACA,iBAAA,CACA,aAAA,CACA,qBAAsB,CAjI9C,6DAsIoB,iBAAA,CACA,gBAAA,CACA,uBAAiB,CAxIrC,iFA2IwB,sBAAA,CACA,oBAAA,CACA,gBAAA,CACA,iBAAA,CACA,YAAA,CACA,sBAAA,CACA,kBAAmB,CAjJ3C,sEAqJwB,aAAA,CACA,kBAAA,CACA,eAAA,CACA,eAAA,CACA,sBAAgB,CAzJxC,2EA4J4B,eAAA,CACA,sBAAA,CACA,mBAAA,CAEA,2BAAA,CACA,mBAAA,CACA,oBAAqB,CAlKjD,qEAuKwB,YAAA,CACA,6BAA8B,CAxKtD,8EA2K4B,aAAA,CACA,oBAAA,CACA,eAAiB,CA7K7C,mFAgLgC,eAAe,CAhL/C,mFAqL4B,iBAAY,CArLxC,uFAyL4B,eAAe,CAzL3C,wBAkMQ,cAAA,CACA,QAAA,CACA,MAAA,CACA,UAAA,CACA,YAAA,CACA,6BAAA,CACA,qBAAA,CACA,kBAAY,CAzMpB,oCA4MY,YAAa,CA5MzB,wCAgNY,iBAAA,CACA,kBAAA,CACA,uBAAA,CACA,kBAAkB,CAnN9B,4CAsNgB,oBAAA,CACA,UAAA,CACA,iBAAgB,CAxNhC,mCA6NY,QAAA,CACA,uBAAA,CACA,YAAA,CACA,kBAAmB,CAhO/B,qCAmOgB,QAAA,CACA,SAAA,CACA,oBAAA,CACA,gBAAA,CACA,UAAW,CAvO3B,0CA0OoB,UAAA,CACA,oBAjTN,CAsEd,uDA+OoB,aAhVP,CAiGb,yCAqPY,iBAAA,CACA,uBAAA,CACA,iBAAA,CACA,oBAAA,CACA,qBAAA,CACA,UA7VA,CAmGZ,8CA6PgB,oBAAA,CACA,eAAgB,CA9PhC,mCAmQY,wBAAA,CACA,UAAW,CApQvB,4BAyQQ,wBAjUW","file":"ShopCart.3a4dbb7a.chunk.css","sourcesContent":["@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\nhtml, body, #root {\n height: 100% !important; }\n\n.cart-page {\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column; }\n .cart-page .cart-tip {\n color: #555;\n margin-top: 140px;\n text-align: center; }\n .cart-page .cart-tip .iconfridge {\n font-size: 21px; }\n .cart-page .cart-tip .cart-mess {\n font-size: 12px;\n color: #666; }\n .cart-page .cart-tip a {\n display: inline-block;\n font-size: 16px;\n margin-top: 40px;\n color: #09f; }\n .cart-page .edit {\n padding-right: 10px;\n font-size: 14px; }\n .cart-page .cart-body {\n height: 100%;\n flex: 1;\n margin-bottom: 50px;\n display: flex;\n background-color: #f5f5f5;\n overflow-y: auto;\n position: relative; }\n .cart-page .cart-body .cart-main {\n width: 100%; }\n .cart-page .cart-body .cart-main > .am-list-item {\n border-bottom: 1px solid #eee; }\n .cart-page .cart-body .cart-main > .am-list-item .am-list-line::after {\n background-color: transparent; }\n .cart-page .cart-body .cart-main > .am-list-item.am-list-item-active {\n background-color: transparent; }\n .cart-page .cart-body .cart-main .cart-c-title {\n display: flex;\n align-items: center;\n justify-content: space-between; }\n .cart-page .cart-body .cart-main .cart-c-title > div {\n flex: 1; }\n .cart-page .cart-body .cart-main .cart-c-title span {\n font-size: 14px;\n margin-left: 10px; }\n .cart-page .cart-body .cart-main .cart-c-title .next {\n width: 14px;\n height: 14px;\n display: inline-block;\n margin-left: 10px; }\n .cart-page .cart-body .cart-main .cart-c-title i {\n font-style: inherit;\n font-size: 14px;\n display: block;\n padding: 0 10px; }\n .cart-page .cart-body .cart-main .cart-c-body .am-list-item-active {\n background-color: transparent; }\n .cart-page .cart-body .cart-main .cart-c-body .am-list-line {\n padding-right: 0px; }\n .cart-page .cart-body .cart-main .cart-c-body .am-list-content {\n position: relative; }\n .cart-page .cart-body .cart-main .cart-c-body .cart-c-item {\n overflow: hidden;\n margin: 8px 0;\n height: 120px;\n padding: 15px 15px 15px 12px;\n background-color: #fff; }\n .cart-page .cart-body .cart-main .cart-c-body .cart-c-item .cart-c-check {\n width: 30px;\n float: left;\n display: flex;\n align-items: center;\n height: 100%; }\n .cart-page .cart-body .cart-main .cart-c-body .cart-ci-left {\n position: absolute;\n top: 0;\n left: 40px;\n height: 100%;\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: center; }\n .cart-page .cart-body .cart-main .cart-c-body .cart-ci-left img {\n height: 85px;\n width: 85px;\n display: block;\n border: 1px solid #eee; }\n .cart-page .cart-body .cart-main .cart-c-body .cart-ci-right {\n min-height: 87px;\n margin-left: 135px;\n margin-right: 8px; }\n .cart-page .cart-body .cart-main .cart-c-body .cart-ci-right .am-stepper-handler {\n line-height: 28px;\n font-size: 14px;\n width: 26px;\n height: 26px;\n display: flex;\n justify-content: center;\n align-items: center; }\n .cart-page .cart-body .cart-main .cart-c-body .cart-ci-right .r-title {\n font-size: 15px;\n white-space: normal;\n font-weight: bold;\n overflow: hidden;\n max-height: 46px; }\n .cart-page .cart-body .cart-main .cart-c-body .cart-ci-right .r-title span {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n /* autoprefixer: ignore next */\n -webkit-box-orient: vertical;\n white-space: inherit;\n -webkit-line-clamp: 2; }\n .cart-page .cart-body .cart-main .cart-c-body .cart-ci-right .r-step {\n display: flex;\n justify-content: space-between; }\n .cart-page .cart-body .cart-main .cart-c-body .cart-ci-right .r-step .r-price {\n color: #ff5b05;\n font-size: 14px;\n line-height: 30px; }\n .cart-page .cart-body .cart-main .cart-c-body .cart-ci-right .r-step .r-price span {\n font-size: 12px; }\n .cart-page .cart-body .cart-main .cart-c-body .cart-ci-right .r-step .span-stepper {\n width: 100px; }\n .cart-page .cart-body .cart-main .cart-c-body .cart-ci-right .r-step .am-stepper-input {\n font-size: 12px; }\n .cart-page .cart-footer {\n position: fixed;\n bottom: 0;\n left: 0;\n width: 100%;\n display: flex;\n justify-content: space-between;\n background-color: white;\n height: 50px; }\n .cart-page .cart-footer .cart-label {\n display: flex; }\n .cart-page .cart-footer > div:nth-child(1) {\n text-align: center;\n height: 50px;\n line-height: 50px;\n padding-left: 12px; }\n .cart-page .cart-footer > div:nth-child(1) div {\n font-size: 16px;\n color: #333;\n margin-left: 6px; }\n .cart-page .cart-footer .all-pirce {\n flex: 1;\n margin-right: 20px;\n display: flex;\n align-items: center; }\n .cart-page .cart-footer .all-pirce p {\n margin: 0;\n padding: 0;\n font-size: 16px;\n text-align: right;\n width: 100%; }\n .cart-page .cart-footer .all-pirce p span {\n color: #666;\n font-size: 14px; }\n .cart-page .cart-footer .all-pirce p span:nth-child(2) {\n color: #FF2121; }\n .cart-page .cart-footer > div:nth-child(3) {\n width: 100px;\n line-height: 50px;\n text-align: center;\n font-size: 16px;\n background-color: #999;\n color: #fff; }\n .cart-page .cart-footer > div:nth-child(3) span {\n font-size: 16px;\n font-weight: 400; }\n .cart-page .cart-footer div.active {\n background-color: #ff3131;\n color: #fff; }\n .cart-page .am-navbar-light {\n background-color: #f7f9fc; }\n"]}
\ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/share-page/aist-share/aist-share.scss"],"names":[],"mappings":"AAmGA,YACI,iBAAA,CACA,UAAA,CACA,WAAA,CACA,qGAAA,CACA,2BAAA,CACA,0BAAA,CAEA,uBAAA,CACA,wBAAA,CACA,eAAgB,CAVpB,qBAaQ,iBAAA,CACA,QAAA,CACA,OAAA,CACA,sCAAA,CAAA,8BAAA,CACA,iBAAA,CACA,mBAAA,CACA,mBAAA,CACA,eAAA,CACA,qBAAA,CACA,iDAAA,CACA,eAAA,CACA,wBAAkB,CAxB1B,kBA4BQ,YAAA,CACA,gBAAA,CACA,kBAAA,CACA,mBAAmB,CA/B3B,sBAkCY,UAAA,CACA,WAAA,CACA,iBAAA,CACA,wBAAkB,CArC9B,4BAyCY,oBAAA,CACA,iBAAA,CACA,UAAW,CA3CvB,wBA+CY,eAAA,CACA,UAAA,CACA,sBAAiB,CAjD7B,oBAsDQ,YAAA,CACA,kBAAA,CACA,mBAAA,CACA,qDAAA,CACA,iBAAkB,CA1D1B,0BA6DY,iBAAA,CACA,uBAAkB,CA9D9B,8BAiEgB,UAAA,CACA,kBAAY,CAlE5B,yBAuEY,eAAA,CACA,YAAY,CAxExB,gCA2EgB,UAAA,CACA,oBAAA,CACA,sBAAiB,CA7EjC,8BAiFgB,UAAA,CACA,kBAAA,CACA,eAAA,CACA,sBAAA,CACA,eAAA,CACA,UAAA,CACA,sBAAiB,CAvFjC,sBA6FQ,iBAAA,CACA,YAAA,CACA,UAAA,CACA,mBAAA,CACA,eAAA,CACA,yBAAA,CACA,+BAAA,CACA,2BAA4B,CApGpC,6BA6GY,iBAGkD,CAhH9D,yDAuGY,UAAA,CACA,aAAA,CACA,WAAA,CACA,YAAA,CACA,iBAAA,CACA,aAAA,CAEA,wBAAA,CACA,iBAAA,CACA,2DAakD,CA7H9D,4BA0HY,kBAGkD,CA7H9D,yBAiIY,aAAA,CACA,QAAO,CAlInB,qCAsIY,2BAA4B,CAtIxC,6BA0IY,wBAAA,CACA,oBAAA,CACA,UAAA,CACA,sBAAA,CACA,iBAAkB,CA9I9B,4BAkJY,YAAA,CACA,sBAAA,CACA,oBAAqB,CApJjC,gCAsJgB,aAAA,CACA,sBAAA,CACA,UAAW,CAxJ3B,iCA4JgB,eAAA,CACA,UAAA,CACA,eAAgB,CA9JhC,2BAoKQ,YAAA,CACA,qBAAA,CACA,oBAAA,CACA,6BAA8B,CAvKtC,iCA0KY,UAAA,CACA,gBAAA,CACA,eAAA,CACA,YAAA,CACA,cAAe,CA9K3B,iCAkLY,aAAA,CACA,UAAA,CACA,iBAAA,CACA,iBAAmB,CArL/B,iDAwLgB,wBAAkB,CAxLlC,kCA6LY,oBAAA,CACA,UAAA,CACA,sBAAA,CACA,mBAAoB,CAhMhC,sCAmMgB,SAAA,CACA,UAAA,CACA,qBAAA,CACA,iBAAgB,CAtMhC,mCA2MY,UAAA,CACA,WAAY,CA5MxB,4DA+MgB,UAAA,CACA,WAYQ,CA5NxB,qBAsNQ,iBAAA,CACA,KAAA,CACA,MAAA,CAGA,yBAAA,CACA,eAAgB,CA5NxB,yBA+NY,iBAAA,CACA,cAAA,CACA,gBAAA,CACA,YAAA,CACA,kBAAY,CAnOxB,2BAuOY,iBAAA,CACA,QAAA,CACA,QAAA,CACA,kCAAA,CAAA,0BAAA,CACA,iBAAA,CACA,kBAAA,CACA,eAAA,CACA,aAAA,CACA,UAAA,CACA,kBAAA,CACA,iBAAA,CACA,qBAAA,CACA,wBAAkB","file":"aist-share.bef8c404.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.aist-share {\n position: relative;\n width: 100%;\n height: 100%;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/aist/aist-bg.png\");\n background-repeat: no-repeat;\n background-position: bottom;\n -webkit-background-size: contain;\n background-size: contain;\n background-color: #a4ffe7;\n overflow: hidden; }\n .aist-share .content {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n width: 343px;\n height: 494px;\n padding: 18px 12px;\n background: #fff;\n box-sizing: border-box;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);\n overflow: hidden;\n border-radius: 5px; }\n .aist-share .user {\n display: flex;\n flex-flow: column;\n align-items: center;\n margin-bottom: 18px; }\n .aist-share .user img {\n width: 60px;\n height: 60px;\n border-radius: 50%;\n margin-bottom: 8px; }\n .aist-share .user .username {\n font-size: 17px;\n line-height: 24px;\n color: #111; }\n .aist-share .user .time {\n font-size: 12px;\n color: #666;\n line-height: 17px; }\n .aist-share .course {\n display: flex;\n padding: 10px;\n margin-bottom: 27px;\n box-shadow: 0 4px 8px rgba(0, 131, 143, 0.1);\n border-radius: 1px; }\n .aist-share .course-cover {\n width: 86px;\n margin-right: 10px; }\n .aist-share .course-cover img {\n width: 100%;\n height: 62px; }\n .aist-share .course-info {\n text-align: left;\n width: 204px; }\n .aist-share .course-info .title {\n color: #111;\n font-size: 16px;\n line-height: 23px; }\n .aist-share .course-info .des {\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n font-size: 12px;\n color: #666;\n line-height: 17px; }\n .aist-share .progress {\n position: relative;\n display: flex;\n width: 300px;\n margin: 0 auto 27px;\n list-style: none;\n padding-bottom: 25px;\n border-bottom: 1px solid #E5E5E5;\n background-clip: padding-box; }\n .aist-share .progress::before {\n content: '';\n display: block;\n width: 36px;\n height: 36px;\n position: absolute;\n bottom: -18px;\n left: -44px;\n background-color: #c1fded;\n border-radius: 50%;\n box-shadow: 0 4px 4px 1px rgba(0, 0, 0, 0.1) inset; }\n .aist-share .progress::after {\n content: '';\n display: block;\n width: 36px;\n height: 36px;\n position: absolute;\n bottom: -18px;\n right: -44px;\n background-color: #c1fded;\n border-radius: 50%;\n box-shadow: 0 4px 4px 1px rgba(0, 0, 0, 0.1) inset; }\n .aist-share .progress li {\n height: 57px;\n flex: 1; }\n .aist-share .progress li:nth-child(1) {\n border-right: 1px solid #ddd; }\n .aist-share .progress .title {\n margin-bottom: 8px;\n font-size: 14px;\n color: #111;\n line-height: 20px;\n text-align: center; }\n .aist-share .progress-value {\n display: flex;\n justify-content: center;\n align-items: flex-end; }\n .aist-share .progress-value > div {\n font-size: 15px;\n line-height: 34px;\n color: #000; }\n .aist-share .progress-value .num {\n font-size: 33px;\n color: #111;\n line-height: 1em; }\n .aist-share .recommend-app {\n display: flex;\n box-sizing: border-box;\n padding: 0 10px;\n justify-content: space-between; }\n .aist-share .recommend-app .text {\n width: 180px;\n margin-right: 30px;\n text-align: left;\n display: flex;\n flex-flow: wrap; }\n .aist-share .recommend-app .bold {\n font-size: 15px;\n color: #111;\n line-height: 21px;\n margin-bottom: 15px; }\n .aist-share .recommend-app .bold div:nth-child(1) {\n margin-bottom: 4px; }\n .aist-share .recommend-app .light {\n font-size: 14px;\n color: #999;\n line-height: 20px;\n align-self: flex-end; }\n .aist-share .recommend-app .light img {\n width: 15px;\n height: 15px;\n vertical-align: middle;\n margin-left: 6px; }\n .aist-share .recommend-app .qrcode {\n width: 90px;\n height: 90px; }\n .aist-share .recommend-app .qrcode img {\n width: 100%;\n height: 100%; }\n .aist-share .overlay {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.6);\n overflow: hidden; }\n .aist-share .overlay img {\n position: absolute;\n top: 11px;\n right: 22px;\n width: 111px;\n height: 82px; }\n .aist-share .overlay .text {\n position: absolute;\n top: 105px;\n left: 50%;\n transform: translateX(-50%);\n width: 343px;\n height: 61px;\n background: #fff;\n font-size: 15px;\n color: #333;\n padding: 20px;\n text-align: center;\n box-sizing: border-box;\n border-radius: 4px; }\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.
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/myOrders/index.scss"],"names":[],"mappings":"AAmGA,cACE,UAAA,CACA,WAAA,CACA,wBAxDiB,CAqDnB,sCAQM,UAAA,CACA,kBAAA,CACA,uBAAA,CACA,eAAA,CACA,YAAA,CACA,6BAAA,CACA,qBAAA,CACA,qBAAA,CACA,+BAAgC,CAhBtC,+CAmBQ,eAAA,CACA,UA7GQ,CAyFhB,kDAwBQ,oBAAA,CACA,aArHU,CA4FlB,mDA4BQ,oBAAA,CACA,UAxHQ,CA2FhB,sCAkCM,UAAA,CACA,wBAAA,CACA,qBAAA,CACA,+BA9CiB,CASvB,iDAyCQ,iBAAA,CACA,QAAS,CA1CjB,qCA+CM,UAAA,CACA,aAAA,CACA,qBAAA,CACA,eAAA,CACA,YAAA,CACA,6BAA8B,CApDpC,iDAuDQ,UAAA,CACA,YAAA,CACA,qBAAA,CACA,iBAAkB,CA1D1B,0DA6DU,eAAA,CACA,UAvJM,CAyFhB,wDAkEU,oBAAA,CACA,aA/JQ,CA4FlB,0GA0EU,oBAAA,CACA,UAAA,CACA,UAAA,CACA,iBAAA,CACA,oBAAA,CACA,qBAAA,CACA,wBAAA,CACA,gBAAgB,CAjF1B,wDAqFU,UAAA,CACA,qBAAA,CACA,gBAAkB,CAvF5B,kDA2FU,eAAA,CACA,aAAA,CACA,wBAzLQ,CA4FlB,2DAkGY,SAAA,CACA,UAAA,CACA,iBAAA,CACA,qBAAA,CACA,sBAAiB,CAtG7B,wBA8GI,UAAA,CACA,sBAAA,CACA,iBAAkB,CAhHtB,oCAmHM,eAAe,CAnHrB,mCAuHM,eAAA,CACA,UAjNU,CAyFhB,0BA4HM,oBAAA,CACA,iBAAA,CACA,UAAA,CACA,qBAAA,CACA,iBAAA,CACA,oBAAA,CACA,cAAA,CACA,UAAA,CACA,iBAAA,CACA,sBAAiB","file":"myorders.3ae12dec.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.myorders-box {\n width: 100%;\n height: 100%;\n background-color: #f5f5f5; }\n .myorders-box .order-body .order-head {\n width: 100%;\n height: 40px;\n line-height: 40px;\n padding: 0 12px;\n display: flex;\n justify-content: space-between;\n background-color: #fff;\n margin-top: 10px;\n border-bottom: 1px solid #E7EAF1; }\n .myorders-box .order-body .order-head .oid-num {\n font-size: 12px;\n color: #666; }\n .myorders-box .order-body .order-head .oid-status {\n font-size: 14px;\n color: #ff3131; }\n .myorders-box .order-body .order-head .oid-success {\n font-size: 14px;\n color: #333; }\n .myorders-box .order-body .order-wrap {\n width: 100%;\n padding: 10px 12px;\n background-color: #fff;\n border-bottom: 1px solid #E7EAF1; }\n .myorders-box .order-body .order-info .order-des {\n position: absolute;\n bottom: 0; }\n .myorders-box .order-body .order-btm {\n width: 100%;\n height: 54px;\n background-color: #fff;\n padding: 0 12px;\n display: flex;\n justify-content: space-between; }\n .myorders-box .order-body .order-btm .price-info {\n width: 120px;\n display: flex;\n flex-direction: column;\n align-self: center; }\n .myorders-box .order-body .order-btm .price-info .payable {\n font-size: 12px;\n color: #666; }\n .myorders-box .order-body .order-btm .price-info .price {\n font-size: 14px;\n color: #ff3131; }\n .myorders-box .order-body .order-btm .btm-right .cancel, .myorders-box .order-body .order-btm .btm-right a {\n display: inline-block;\n width: 90px;\n height: 30px;\n text-align: center;\n font-size: 14px;\n background-color: #fff;\n border-radius: 4px;\n margin-top: 12px; }\n .myorders-box .order-body .order-btm .btm-right .cancel {\n color: #333;\n border: 1px solid #999;\n margin-right: 15px; }\n .myorders-box .order-body .order-btm .btm-right a {\n line-height: 30px;\n color: #ff3131;\n border: 1px solid #ff3131; }\n .myorders-box .order-body .order-btm .btm-right .group img {\n width: 30px;\n height: 30px;\n border-radius: 50%;\n margin-top: 10px;\n margin-left: 10px; }\n .myorders-box .cart-tip {\n color: #555;\n margin-top: 140px;\n text-align: center; }\n .myorders-box .cart-tip .iconfridge {\n font-size: 21px; }\n .myorders-box .cart-tip .cart-mess {\n font-size: 12px;\n color: #666; }\n .myorders-box .cart-tip a {\n display: inline-block;\n width: 130px;\n height: 30px;\n border: 1px solid #09f;\n border-radius: 15px;\n font-size: 16px;\n margin-top: 30px;\n color: #09f;\n text-align: center;\n line-height: 28px; }\n"]}
\ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/purchased/index.scss"],"names":[],"mappings":"AAmGA,gBACI,qBAAsB,CAE1B,eACI,UAAA,CACA,WAAY,CAFhB,oBAOQ,UAAA,CACA,UAAA,CACA,eAAA,CACA,eAAA,CACA,UAAA,CACA,iBAAA,CACA,wBAAA,CACA,wBAAmB,CAd3B,2DAsBQ,qBAAsB,CAtB9B,qCAyBY,yBAAA,CACA,+BAAgC,CA1B5C,4CA6BgB,YAAA,CACA,WAAY,CA9B5B,gDAiCoB,UAAW,CAjC/B,kCAuCY,WAAA,CACA,iBAAA,CACA,aAAc,CAzC1B,yCA4CgB,oBAAA,CACA,UAAA,CACA,eAAA,CACA,sBAAA,CACA,kBAAA,CACA,iBAAA,CACA,sBAAiB,CAlDjC,2CAsDgB,oBAAA,CACA,UAAA,CACA,qBAAgB,CAxDhC,uCA4DgB,iBAAA,CACA,iBAAA,CACA,UAAA,CACA,oBAAA,CACA,iBAAA,CACA,sBAAiB,CAjEjC,yBAwEQ,UAAA,CACA,sBAAA,CACA,iBAAkB,CA1E1B,qCA6EY,eAAe,CA7E3B,oCAiFY,eAAA,CACA,UA9KI,CA4FhB,2BAsFY,oBAAA,CACA,iBAAA,CACA,UAAA,CACA,qBAAA,CACA,iBAAA,CACA,oBAAA,CACA,cAAA,CACA,UAAA,CACA,iBAAA,CACA,sBAAiB,CA/F7B,uBAoGQ,iBAAA,CACA,KAAA,CACA,OAAA,CACA,uBAAA,CACA,uCAAA,CACA,oBAAA,CACA,UAAA,CACA,kFAAA,CAAA,uDAAA,CAAA,kDAAwD","file":"purchased.1daf107b.chunk.css","sourcesContent":["@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\nhtml, body, #root {\n height: 100% !important; }\n\n.purchased-box {\n width: 100%;\n height: 100%; }\n .purchased-box .tip {\n width: 100%;\n height: 30px;\n line-height: 30px;\n font-size: 12px;\n color: #333;\n text-align: center;\n background-color: #FFF4CE;\n margin-bottom: 10px; }\n .purchased-box .purchased-body {\n background-color: #fff; }\n .purchased-box .v-list-item {\n background-color: #fff; }\n .purchased-box .v-list-item .content {\n padding-bottom: 10px;\n border-bottom: 1px solid #e7eaf1; }\n .purchased-box .v-list-item .content .cover {\n flex: inherit;\n width: 42.2%; }\n .purchased-box .v-list-item .content .cover img {\n width: 100%; }\n .purchased-box .v-list-item .info {\n width: 52.3%;\n position: relative;\n display: block; }\n .purchased-box .v-list-item .info .title {\n font-size: 16px;\n color: #333;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 16px;\n line-height: 16px; }\n .purchased-box .v-list-item .info .contact {\n font-size: 14px;\n color: #666;\n margin-top: 14px; }\n .purchased-box .v-list-item .info .des {\n position: absolute;\n bottom: 5px;\n color: #09f;\n font-size: 14px;\n height: 14px;\n line-height: 14px; }\n .purchased-box .cart-tip {\n color: #555;\n margin-top: 140px;\n text-align: center; }\n .purchased-box .cart-tip .iconfridge {\n font-size: 21px; }\n .purchased-box .cart-tip .cart-mess {\n font-size: 12px;\n color: #666; }\n .purchased-box .cart-tip a {\n display: inline-block;\n width: 130px;\n height: 30px;\n border: 1px solid #09f;\n border-radius: 15px;\n font-size: 16px;\n margin-top: 30px;\n color: #09f;\n text-align: center;\n line-height: 28px; }\n .purchased-box .status {\n position: absolute;\n top: 0;\n right: 0;\n padding: 2px 6px;\n border-radius: 11px 0 0 11px;\n font-size: 14px;\n color: #fff;\n background: linear-gradient(to bottom, #FF4000, #FD7700); }\n"]}
\ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/sharePoster/index.scss"],"names":[],"mappings":"AAmGA,+BAEQ,UAAA,CACA,qBAAA,CACA,YAAA,CACA,eAAA,CACA,iBAAkB,CAN1B,sDASY,UAAA,CACA,YAAA,CACA,eAAA,CACA,sBAAA,CACA,eAAA,CACA,iBAAA,CACA,iBAAA,CACA,OAAS,CAhBrB,0DAmBgB,SAAU,CAnB1B,6CAwBY,SAAU,CAxBtB,4BA6BQ,UAAA,CACA,WAAA,CACA,eAAA,CACA,oBAAe,CAhCvB,8CAmCY,UAAA,CACA,WAAA,CACA,sBAAA,CACA,oBAAA,CACA,oBAAA,CACA,UAvIA,CA+FZ,6DA2CgB,oBAAA,CACA,UA5IH,CAgGb,8BAkDQ,UAAA,CACA,qBAlJI,CA+FZ,4CAsDY,YAAA,CACA,sBAAA,CACA,kBAAmB,CAxD/B,+CA2DgB,iBAAA,CACA,kBAAA,CACA,wBAAA,CACA,gBAAA,CACA,qBAAiB,CA/DjC,mDAkEoB,oBAAA,CACA,iBAAA,CACA,kBAAA,CACA,wBAAkB,CArEtC,sDA0EgB,iBAAA,CACA,kBAAA,CACA,wpLAA0D,CAC1D,YAAA,CACA,2BAAqB,CA9ErC,0DAiFoB,UAAY,CAjFhC,oBAwFQ,YAAa","file":"shareposter.f09a5959.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.share-poster .total-container {\n width: 100%;\n background-color: #000;\n height: 420px;\n overflow: hidden;\n position: relative; }\n .share-poster .total-container .placard-img-container {\n width: 100%;\n height: 840px;\n background: #000;\n padding-top: 20px;\n overflow: hidden;\n position: relative;\n text-align: center;\n zoom: 0.5; }\n .share-poster .total-container .placard-img-container img {\n width: 60%; }\n .share-poster .total-container .placard-code {\n opacity: 0; }\n\n.share-poster .placard-desc {\n width: 100%;\n height: 45px;\n background: #000;\n padding: 0 10px; }\n .share-poster .placard-desc .placard-sharetxt {\n width: 100%;\n height: 100%;\n line-height: 20px;\n display: inline-block;\n font-size: 14px;\n color: #fff; }\n .share-poster .placard-desc .placard-sharetxt .placard-price {\n font-size: 14px;\n color: #09f; }\n\n.share-poster .placard-swiper {\n width: 100%;\n background-color: #fff; }\n .share-poster .placard-swiper .placard-list {\n display: flex;\n justify-content: center;\n align-items: center; }\n .share-poster .placard-swiper .placard-list li {\n width: 64px;\n height: 64px;\n border-radius: 5px;\n line-height: 90px;\n margin: 20px 15px; }\n .share-poster .placard-swiper .placard-list li img {\n display: inline-block;\n width: 64px;\n height: 64px;\n border-radius: 5px; }\n .share-poster .placard-swiper .placard-list li.active {\n width: 64px;\n height: 64px;\n background: url(\"./image/choose_pic.png\") no-repeat center;\n z-index: 1002;\n background-size: 64px; }\n .share-poster .placard-swiper .placard-list li.active img {\n opacity: 0.1; }\n\n.share-poster .hide {\n display: none; }\n"]}
\ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/detail/group/togroup.scss"],"names":[],"mappings":"AAmGA,wCAGM,sBAAiB,CAHvB,sDAMQ,iBAAA,CACA,iBAAA,CACA,kBAAA,CACA,iBAAA,CACA,uBAAkB,CAV1B,+DAaU,QAAA,CACA,iBAAA,CACA,kBAAA,CACA,wBAAA,CACA,iBAAkB,CAjB5B,wEAoBY,oBAAA,CACA,iBAAA,CACA,eAAS,CAtBrB,kEA2BU,iBAAA,CACA,qBAAA,CACA,qBAAA,CACA,SAAA,CACA,UAAA,CACA,iBAAA,CACA,YAAA,CACA,iBAAA,CACA,mBAAA,CACA,UAAS,CApCnB,uEAuCY,eAAA,CACA,2BAAA,CAAA,mBAAqB,CAxCjC,2BA+CI,qBAAe,CA/CnB,oCAkDM,+BAAgC,CAlDtC,2CAqDQ,YAAA,CACA,WAAY,CAtDpB,+CAyDU,UAAW,CAzDrB,iCA+DM,WAAA,CACA,iBAAA,CACA,aAAc,CAjEpB,wCAoEQ,oBAAA,CACA,UAAA,CACA,eAAA,CACA,sBAAA,CACA,kBAAA,CACA,iBAAA,CACA,sBAAiB,CA1EzB,0CA8EQ,oBAAA,CACA,UAAA,CACA,qBAAgB,CAhFxB,sCAoFQ,iBAAA,CACA,QAAS,CArFjB,2DAyFY,aAAA,CACA,eAAe,CA1F3B,yDA8FY,aAAA,CACA,oBAAe,CA/F3B,yDAmGY,UAAA,CACA,eAAA,CACA,oBAAA,CACA,eAAA,CACA,4BAA6B,CAvGzC,6BA+GI,sBAAA,CACA,iBAAkB,CAhHtB,8CAmHM,cAAA,CACA,WAAA,CACA,yBAAA,CACA,MAAA,CACA,KAAA,CACA,UAAA,CACA,WAAA,CACA,YAAA,CACA,sBAAA,CACA,kBAAmB,CA5HzB,uDA+HQ,UAAA,CACA,kBAAA,CACA,qBAAA,CACA,kBAAa,CAlIrB,gEAqIU,sBAAiB,CArI3B,8EAwIY,iBAAA,CACA,iBAAA,CACA,kBAAA,CACA,iBAAA,CACA,uBAAkB,CA5I9B,uFA+Ic,QAAS,CA/IvB,0FAmJc,iBAAA,CACA,qBAAA,CACA,qBAAA,CACA,SAAA,CACA,UAAA,CACA,iBAAA,CACA,YAAA,CACA,iBAAA,CACA,mBAAA,CACA,UAAS,CA5JvB,+FA+JgB,eAAA,CACA,2BAAA,CAAA,mBAAqB,CAhKrC,kEAuKU,UAAA,CACA,eAAA,CACA,oBAAe,CAzKzB,0DA8KQ,UAAA,CACA,kBAAA,CACA,uBAAA,CACA,iBAAA,CACA,sBAAA,CACA,kBAAA,CACA,UAAA,CACA,oBAAA,CACA,iBAAA,CACA,eAAU,CAvLlB,wDA0LQ,iBAAA,CACA,SAAA,CACA,eAAS,CA5LjB,2EA8LU,qBAAA,CACA,UAAW,CA/LrB,sCAwMM,iBAAA,CACA,kBAAA,CACA,iBAAA,CACA,8BAAwB,CA3M9B,0CA+MM,aAAc,CA/MpB,kCAmNM,aAAA,CACA,oBAAe,CApNrB,sCAwNM,UAAA,CACA,oBAAe,CAzNrB,8EA8NM,oBAAA,CACA,UAAA,CACA,kBAAA,CACA,wBAAA,CACA,wBAAA,CACA,oBAAA,CACA,UAAA,CACA,iBAAA,CACA,uBAAA,CACA,qBAAA,CACA,wBAAmB,CAxOzB,sCA4OM,qBAAA,CACA,cAAgB,CA7OtB,kCAiPM,eAAA,CACA,qBAAA,CACA,UA5UU,CAyFhB,wCAuPM,wBAAA,CACA,UAAA,CACA,eAAA,CACA,UAAA,CACA,eAAA,CACA,eAAA,CACA,YAAA,CACA,6BAAA,CACA,UAAA,CACA,cAAgB,CAhQtB,gDAmQQ,UA9VQ,CA2FhB,8CAwQI,wBAAyB,CAxQ7B,uCA4QM,kBAAA,CACA,uBAAA,CACA,oBAAA,CACA,eAAA,CACA,YAAA,CACA,6BAAA,CACA,UA7WU,CA2FhB,6CAqRQ,UArXK,CAgGb,+CAwRU,WAAA,CACA,iBAAW","file":"togroup.49988cae.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.to-group-box .group-user-list .imgList {\n padding-top: 20px; }\n .to-group-box .group-user-list .imgList .imgContainer {\n position: relative;\n width: 44px;\n height: 44px;\n border-radius: 50%;\n margin-right: 20px; }\n .to-group-box .group-user-list .imgList .imgContainer .imgname {\n margin: 0;\n width: 44px;\n height: 44px;\n background-color: #DEDEDE;\n border-radius: 50%; }\n .to-group-box .group-user-list .imgList .imgContainer .imgname .no-body {\n font-size: 28px;\n position: relative;\n left: 8px; }\n .to-group-box .group-user-list .imgList .imgContainer .leaderFlag {\n position: absolute;\n background-color: #0099ff;\n border: 1px solid #fff;\n width: 30px;\n color: #fff;\n line-height: 18px;\n height: 18px;\n text-align: center;\n border-radius: 9px;\n top: -6px; }\n .to-group-box .group-user-list .imgList .imgContainer .leaderFlag span {\n font-size: 12px;\n transform: scale(0.9); }\n\n.to-group-box .v-list-item {\n margin-top: 5px; }\n .to-group-box .v-list-item .content {\n border-bottom: 1px solid #e7eaf1; }\n .to-group-box .v-list-item .content .cover {\n flex: inherit;\n width: 42.2%; }\n .to-group-box .v-list-item .content .cover img {\n width: 100%; }\n .to-group-box .v-list-item .info {\n width: 52.3%;\n position: relative;\n display: block; }\n .to-group-box .v-list-item .info .title {\n font-size: 16px;\n color: #333;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 16px;\n line-height: 16px; }\n .to-group-box .v-list-item .info .contact {\n font-size: 14px;\n color: #666;\n margin-top: 14px; }\n .to-group-box .v-list-item .info .des {\n position: absolute;\n bottom: 0; }\n .to-group-box .v-list-item .info .des .course-price .price {\n color: #FF2121;\n font-size: 12px; }\n .to-group-box .v-list-item .info .des .course-price .new {\n color: #FF2121;\n font-size: 16px; }\n .to-group-box .v-list-item .info .des .course-price .old {\n color: #999;\n font-size: 12px;\n display: inline-block;\n margin-left: 15px;\n text-decoration: line-through; }\n\n.to-group-box .gorup-content {\n padding-top: 20px;\n text-align: center; }\n .to-group-box .gorup-content .groupSuccessMbc {\n position: fixed;\n z-index: 999;\n background: rgba(0, 0, 0, 0.8);\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center; }\n .to-group-box .gorup-content .groupSuccessMbc .content {\n width: 300px;\n height: 190px;\n background-color: #fff;\n padding: 16px; }\n .to-group-box .gorup-content .groupSuccessMbc .content .imgList {\n padding-top: 20px; }\n .to-group-box .gorup-content .groupSuccessMbc .content .imgList .imgContainer {\n position: relative;\n width: 44px;\n height: 44px;\n border-radius: 50%;\n margin-right: 20px; }\n .to-group-box .gorup-content .groupSuccessMbc .content .imgList .imgContainer .imgname {\n margin: 0; }\n .to-group-box .gorup-content .groupSuccessMbc .content .imgList .imgContainer .leaderFlag {\n position: absolute;\n background-color: #0099ff;\n border: 1px solid #fff;\n width: 30px;\n color: #fff;\n line-height: 18px;\n height: 18px;\n text-align: center;\n border-radius: 9px;\n top: -6px; }\n .to-group-box .gorup-content .groupSuccessMbc .content .imgList .imgContainer .leaderFlag span {\n font-size: 12px;\n transform: scale(0.9); }\n .to-group-box .gorup-content .groupSuccessMbc .content .group-btn {\n height: 30px;\n line-height: 30px;\n font-size: 14px; }\n .to-group-box .gorup-content .groupSuccessMbc .tipContent {\n width: 270px;\n height: 44px;\n line-height: 44px;\n text-align: center;\n border: 1px dashed white;\n border-radius: 3px;\n color: #fff;\n font-size: 14px;\n position: absolute;\n top: 100px; }\n .to-group-box .gorup-content .groupSuccessMbc .tipArrow {\n position: absolute;\n right: 15px;\n top: 38px; }\n .to-group-box .gorup-content .groupSuccessMbc .tipArrow .iconyindao:before {\n font-size: 44px;\n color: #FFF; }\n .to-group-box .gorup-content .imgname {\n width: 44px;\n height: 44px;\n border-radius: 50%;\n margin: 20px 20px 0 20px; }\n .to-group-box .gorup-content :nth-child(1) {\n margin-left: 0; }\n .to-group-box .gorup-content .tip {\n color: #E02E24;\n font-size: 16px; }\n .to-group-box .gorup-content .success {\n color: #09f;\n font-size: 16px; }\n .to-group-box .gorup-content .group-btn,\n .to-group-box .gorup-content .tostudy {\n display: inline-block;\n width: 100%;\n height: 44px;\n border-radius: 5px;\n background-color: #E02E24;\n font-size: 16px;\n color: #fff;\n text-align: center;\n line-height: 44px;\n margin-top: 20px;\n margin-bottom: 10px; }\n .to-group-box .gorup-content .tostudy {\n background-color: #09f;\n margin-top: 30px; }\n .to-group-box .gorup-content .dec {\n font-size: 12px;\n margin-top: 10px;\n color: #666; }\n .to-group-box .gorup-content .group-dec {\n background-color: #FAFAFA;\n width: 100%;\n padding: 0 12px;\n height: 30px;\n line-height: 30px;\n font-size: 12px;\n display: flex;\n justify-content: space-between;\n color: #999;\n margin-top: 15px; }\n .to-group-box .gorup-content .group-dec .allNum {\n color: #333; }\n\n.to-group-box .am-whitespace.am-whitespace-md {\n background-color: #f5f5f5; }\n\n.to-group-box .group-course .top-title {\n height: 40px;\n line-height: 40px;\n font-size: 14px;\n padding: 0 12px;\n display: flex;\n justify-content: space-between;\n color: #333; }\n .to-group-box .group-course .top-title .more {\n color: #09f; }\n .to-group-box .group-course .top-title .more i {\n width: 12px;\n height: 7px; }\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.
(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{1140:function(t,e,n){var o=n(1141),i=n(706),r="Expected a function";t.exports=function(t,e,n){var a=!0,u=!0;if("function"!=typeof t)throw new TypeError(r);return i(n)&&(a="leading"in n?!!n.leading:a,u="trailing"in n?!!n.trailing:u),o(t,e,{leading:a,maxWait:e,trailing:u})}},1141:function(t,e,n){var o=n(706),i=n(1142),r=n(1144),a="Expected a function",u=Math.max,l=Math.min;t.exports=function(t,e,n){var c,s,f,p,h,d,v=0,m=!1,g=!1,y=!0;if("function"!=typeof t)throw new TypeError(a);function b(e){var n=c,o=s;return c=s=void 0,v=e,p=t.apply(o,n)}function C(t){var n=t-d;return void 0===d||n>=e||n<0||g&&t-v>=f}function x(){var t=i();if(C(t))return w(t);h=setTimeout(x,function(t){var n=e-(t-d);return g?l(n,f-(t-v)):n}(t))}function w(t){return h=void 0,y&&c?b(t):(c=s=void 0,p)}function R(){var t=i(),n=C(t);if(c=arguments,s=this,d=t,n){if(void 0===h)return function(t){return v=t,h=setTimeout(x,e),m?b(t):p}(d);if(g)return clearTimeout(h),h=setTimeout(x,e),b(d)}return void 0===h&&(h=setTimeout(x,e)),p}return e=r(e)||0,o(n)&&(m=!!n.leading,f=(g="maxWait"in n)?u(r(n.maxWait)||0,e):f,y="trailing"in n?!!n.trailing:y),R.cancel=function(){void 0!==h&&clearTimeout(h),v=0,c=d=s=h=void 0},R.flush=function(){return void 0===h?p:w(i())},R}},1142:function(t,e,n){var o=n(777);t.exports=function(){return o.Date.now()}},1143:function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(45))},1144:function(t,e,n){var o=n(706),i=n(1145),r=NaN,a=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return r;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=l.test(t);return n||c.test(t)?s(t.slice(2),n?2:8):u.test(t)?r:+t}},1145:function(t,e,n){var o=n(1146),i=n(1149),r="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||i(t)&&o(t)==r}},1146:function(t,e,n){var o=n(778),i=n(1147),r=n(1148),a="[object Null]",u="[object Undefined]",l=o?o.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?u:a:l&&l in Object(t)?i(t):r(t)}},1147:function(t,e,n){var o=n(778),i=Object.prototype,r=i.hasOwnProperty,a=i.toString,u=o?o.toStringTag:void 0;t.exports=function(t){var e=r.call(t,u),n=t[u];try{t[u]=void 0;var o=!0}catch(l){}var i=a.call(t);return o&&(e?t[u]=n:delete t[u]),i}},1148:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},1149:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},582:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return Object.keys(t).reduce(function(e,n){return"aria-"!==n.substr(0,5)&&"data-"!==n.substr(0,5)&&"role"!==n||(e[n]=t[n]),e},{})},t.exports=e.default},587:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o,i=n(4),r=(o=i)&&o.__esModule?o:{default:o};e.getComponentLocale=function(t,e,n,o){var i={};if(e&&e.antLocale&&e.antLocale[n])i=e.antLocale[n];else{var a=o();i=a.default||a}var u=(0,r.default)({},i);t.locale&&(u=(0,r.default)({},u,t.locale),t.locale.lang&&(u.lang=(0,r.default)({},i.lang,t.locale.lang)));return u},e.getLocaleCode=function(t){var e=t.antLocale&&t.antLocale.locale;if(t.antLocale&&t.antLocale.exist&&!e)return"zh-cn";return e}},605:function(t,e,n){"use strict";n(49),n(606)},606:function(t,e,n){},607:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=g(n(4)),i=g(n(34)),r=g(n(5)),a=g(n(12)),u=g(n(6)),l=g(n(13)),c=g(n(15)),s=m(n(0)),f=m(n(1)),p=g(n(154)),h=g(n(582)),d=n(587),v=n(608);function m(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function g(t){return t&&t.__esModule?t:{default:t}}var y=function(t){function e(t){(0,r.default)(this,e);var n=(0,u.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));n.onSubmit=function(t){t.preventDefault(),n.props.onSubmit&&n.props.onSubmit(n.state.value||""),n.inputRef&&n.inputRef.blur()},n.onChange=function(t){n.state.focus||n.setState({focus:!0});var e=t.target.value;"value"in n.props||n.setState({value:e}),n.props.onChange&&n.props.onChange(e)},n.onFocus=function(){n.setState({focus:!0}),n.firstFocus=!0,n.props.onFocus&&n.props.onFocus()},n.onBlur=function(){var t;n.onBlurTimeout=(t=function(){n.blurFromOnClear||document.activeElement!==n.inputRef&&n.setState({focus:!1}),n.blurFromOnClear=!1},window.requestAnimationFrame?window.requestAnimationFrame(t):window.setTimeout(t,1)),n.props.onBlur&&(setTimeout(function(){document.body&&(document.body.scrollTop=document.body.scrollTop)},100),n.props.onBlur())},n.onClear=function(){n.doClear()},n.doClear=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];n.blurFromOnClear=t,"value"in n.props||n.setState({value:""}),n.props.onClear&&n.props.onClear(""),n.props.onChange&&n.props.onChange(""),t&&n.focus()},n.onCancel=function(){n.props.onCancel?n.props.onCancel(n.state.value||""):n.doClear(!1)},n.focus=function(){n.inputRef&&n.inputRef.focus()};var o=void 0;return o="value"in t?t.value||"":"defaultValue"in t?t.defaultValue:"",n.state={value:o,focus:!1},n}return(0,l.default)(e,t),(0,a.default)(e,[{key:"componentDidMount",value:function(){if(this.rightBtnRef){var t=window.getComputedStyle(this.rightBtnRef);this.rightBtnInitMarginleft=t.marginLeft}this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){if(this.syntheticPhRef)if(this.inputContainerRef&&this.inputContainerRef.className.indexOf(this.props.prefixCls+"-start")>-1){if(this.syntheticPhContainerRef){var t=this.syntheticPhContainerRef.getBoundingClientRect().width;this.syntheticPhRef.style.width=Math.ceil(t)+"px"}!this.props.showCancelButton&&this.rightBtnRef&&(this.rightBtnRef.style.marginRight="0")}else this.syntheticPhRef.style.width="100%",!this.props.showCancelButton&&this.rightBtnRef&&(this.rightBtnRef.style.marginRight="-"+(this.rightBtnRef.offsetWidth+(null!=this.rightBtnInitMarginleft?parseInt(this.rightBtnInitMarginleft,10):0))+"px")}},{key:"componentWillReceiveProps",value:function(t){"value"in t&&t.value!==this.state.value&&this.setState({value:t.value})}},{key:"componentWillUnmount",value:function(){var t;this.onBlurTimeout&&(t=this.onBlurTimeout,window.cancelAnimationFrame?window.cancelAnimationFrame(t):window.clearTimeout(t),this.onBlurTimeout=null)}},{key:"render",value:function(){var t,e=this,r=this.props,a=r.prefixCls,u=r.showCancelButton,l=r.disabled,f=r.placeholder,v=r.className,m=r.style,g=r.maxLength,y=(0,d.getComponentLocale)(this.props,this.context,"SearchBar",function(){return n(609)}).cancelText,b=this.state,C=b.value,x=b.focus,w=(0,c.default)(a,v,(0,i.default)({},a+"-start",!!(x||C&&C.length>0))),R=(0,c.default)(a+"-clear",(0,i.default)({},a+"-clear-show",!!(x&&C&&C.length>0))),B=(0,c.default)(a+"-cancel",(t={},(0,i.default)(t,a+"-cancel-show",!!(u||x||C&&C.length>0)),(0,i.default)(t,a+"-cancel-anim",this.firstFocus),t));return s.createElement("form",{onSubmit:this.onSubmit,className:w,style:m,ref:function(t){return e.inputContainerRef=t},action:"#"},s.createElement("div",{className:a+"-input"},s.createElement("div",{className:a+"-synthetic-ph",ref:function(t){return e.syntheticPhRef=t}},s.createElement("span",{className:a+"-synthetic-ph-container",ref:function(t){return e.syntheticPhContainerRef=t}},s.createElement("i",{className:a+"-synthetic-ph-icon"}),s.createElement("span",{className:a+"-synthetic-ph-placeholder",style:{visibility:f&&!C?"visible":"hidden"}},f))),s.createElement("input",(0,o.default)({type:"search",className:a+"-value",value:C,disabled:l,placeholder:f,onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,ref:function(t){return e.inputRef=t},maxLength:g},(0,h.default)(this.props))),s.createElement(p.default,{activeClassName:a+"-clear-active"},s.createElement("a",{onClick:this.onClear,className:R}))),s.createElement("div",{className:B,onClick:this.onCancel,ref:function(t){return e.rightBtnRef=t}},this.props.cancelText||y))}}]),e}(s.Component);e.default=y,y.defaultProps=v.defaultProps,y.contextTypes={antLocale:f.object},t.exports=e.default},608:function(t,e,n){"use strict";function o(){}Object.defineProperty(e,"__esModule",{value:!0});e.defaultProps={prefixCls:"am-search",placeholder:"",onSubmit:o,onChange:o,onFocus:o,onBlur:o,onClear:o,showCancelButton:!1,disabled:!1}},609:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={cancelText:"\u53d6\u6d88"},t.exports=e.default},706:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},777:function(t,e,n){var o=n(1143),i="object"==typeof self&&self&&self.Object===Object&&self,r=o||i||Function("return this")();t.exports=r},778:function(t,e,n){var o=n(777).Symbol;t.exports=o}}]);
//# sourceMappingURL=28.14f4a3b7.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{1169:function(e,t,a){},1189:function(e,t,a){"use strict";a.r(t);a(43);var n=a(14),c=a.n(n),o=a(8),r=a(9),i=a(10),s=a(7),l=a(11),u=a(153),m=a(0),d=a.n(m),p=(a(1169),a(30)),f=a(3),h=function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(i.a)(this,Object(s.a)(t).call(this,e))).toCourseDetail=function(e){Object(u.a)(Object(u.a)(a)).state.fromApp?Object(f.a)("toCourse",e):a.props.history.push("/detail?id=".concat(e))},a.state={list:[],fromApp:!!Object(f.c)("from")},a}return Object(l.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;f.d.get("".concat(API.home,"/sys/red_packet/share_course")).then(function(t){200===t.data.code?e.setState({list:t.data.data}):c.a.info(t.data.msg,2)})}},{key:"render",value:function(){var e=this,t=this.state.list;return d.a.createElement("div",{className:"share-course"},!this.state.fromApp&&d.a.createElement(p.e,{title:"\u5206\u4eab\u9886\u7ea2\u5305",arrow:!0}),t&&t.length>0?d.a.createElement("div",null,t.map(function(t,a){var n=d.a.createElement("div",{className:"info"},d.a.createElement("p",{className:"title text-overflow-1"},t.course_title),d.a.createElement("p",{className:"contact text-overflow-1"},t.simpledescription),d.a.createElement("button",null,"\u5206\u4eab\u9886\u7ea2\u5305"));return d.a.createElement("div",{key:a},d.a.createElement(p.j,{img:t.image_name,info:n,id:t.course_id,toDetail:e.toCourseDetail}))})):d.a.createElement("div",null,d.a.createElement("p",{className:"not-data"},"\u6682\u65f6\u6ca1\u6709\u53ef\u5206\u4eab\u7684\u8bfe\u7a0b\u54e6\u301c")))}}]),t}(m.Component);t.default=h}}]);
//# sourceMappingURL=32.37437037.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/ShareCourse/index.js"],"names":["ShareCourse","props","_this2","Object","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__","this","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__","call","toCourseDetail","id","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__","state","fromApp","SendMessageToApp","history","push","concat","list","getParam","_this3","http","get","API","home","then","res","data","code","setState","antd_mobile_lib_toast__WEBPACK_IMPORTED_MODULE_1___default","a","info","msg","_this4","react__WEBPACK_IMPORTED_MODULE_8___default","createElement","className","_common__WEBPACK_IMPORTED_MODULE_10__","title","arrow","length","map","item","index","Info","course_title","simpledescription","key","img","image_name","course_id","toDetail","Component"],"mappings":"4OAOMA,cAEF,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,KAmBVQ,eAAiB,SAACC,GACHP,OAAAQ,EAAA,EAAAR,QAAAQ,EAAA,EAAAR,CAAAD,IACDU,MAAMC,QACZC,YAAiB,WAAYJ,GAEXR,EAAKD,MAAhBc,QACCC,KAAR,cAAAC,OAA2BP,KAxB/BR,EAAKU,MAAQ,CACTM,KAAM,GACNL,UAAUM,YAAS,SAJRjB,mFAQC,IAAAkB,EAAAf,KAChBgB,IAAKC,IAAL,GAAAL,OAAYM,IAAIC,KAAhB,iCAAoDC,KAAK,SAACC,GAChC,MAAlBA,EAAIC,KAAKC,KACTR,EAAKS,SAAS,CACVX,KAAMQ,EAAIC,KAAKA,OAGnBG,EAAAC,EAAMC,KAAKN,EAAIC,KAAKM,IAAK,sCAe5B,IAAAC,EAAA7B,KACEa,EAAQb,KAAKO,MAAbM,KACP,OACIiB,EAAAJ,EAAAK,cAAA,OAAKC,UAAW,iBAEPhC,KAAKO,MAAMC,SACZsB,EAAAJ,EAAAK,cAACE,EAAA,EAAD,CAAWC,MAAM,iCAAQC,OAAO,IAIhCtB,GAAQA,EAAKuB,OAAS,EAAIN,EAAAJ,EAAAK,cAAA,WAEdlB,EAAKwB,IAAI,SAACC,EAAMC,GACZ,IAAMC,EACFV,EAAAJ,EAAAK,cAAA,OAAKC,UAAU,QACXF,EAAAJ,EAAAK,cAAA,KAAGC,UAAW,yBAA0BM,EAAKG,cAC7CX,EAAAJ,EAAAK,cAAA,KAAGC,UAAW,2BAA4BM,EAAKI,mBAC/CZ,EAAAJ,EAAAK,cAAA,iDAGR,OACID,EAAAJ,EAAAK,cAAA,OAAKY,IAAKJ,GACNT,EAAAJ,EAAAK,cAACE,EAAA,EAAD,CACIW,IAAKN,EAAKO,WACVlB,KAAMa,EACNnC,GAAIiC,EAAKQ,UACTC,SAAUlB,EAAKzB,qBAQvC0B,EAAAJ,EAAAK,cAAA,WACID,EAAAJ,EAAAK,cAAA,KAAGC,UAAU,YAAb,qFAnEFgB,aA4EXrD","file":"mrstatic/js/32.37437037.chunk.js","sourcesContent":["import React, {Component} from 'react';\nimport './index.scss';\nimport {HeaderBar, VList} from '@/common';\nimport {http, getParam, SendMessageToApp} from '@/utils';\nimport {Toast} from 'antd-mobile';\n\n\nclass ShareCourse extends Component {\n\n constructor(props) {\n super(props);\n this.state = {\n list: [],\n fromApp: !getParam('from') ? false : true\n };\n }\n\n componentDidMount() {\n http.get(`${API.home}/sys/red_packet/share_course`).then((res) => {\n if (res.data.code === 200) {\n this.setState({\n list: res.data.data\n })\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n\n toCourseDetail = (id) => {\n const _this = this\n if (_this.state.fromApp) {\n SendMessageToApp(\"toCourse\", id)\n } else {\n const {history} = this.props;\n history.push(`/detail?id=${id}`)\n }\n }\n\n render() {\n const {list} = this.state;\n return (\n <div className={'share-course'}>\n {\n !this.state.fromApp &&\n <HeaderBar title='分享领红包' arrow={true}/>\n }\n\n {\n list && list.length > 0 ? <div>\n {\n list.map((item, index) => {\n const Info = (\n <div className=\"info\">\n <p className={'title text-overflow-1'}>{item.course_title}</p>\n <p className={'contact text-overflow-1'}>{item.simpledescription}</p>\n <button>分享领红包</button>\n </div>\n )\n return (\n <div key={index}>\n <VList\n img={item.image_name}\n info={Info}\n id={item.course_id}\n toDetail={this.toCourseDetail}\n />\n </div>\n\n )\n })\n }\n </div> :\n <div>\n <p className='not-data'>暂时没有可分享的课程哦〜</p>\n </div>\n }\n\n </div>\n )\n }\n}\n\nexport default ShareCourse;\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":"8RAKqBA,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":"mrstatic/js/DrawDocument.27a1ad77.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/my/edit.js"],"names":["MyEdut","props","_this","Object","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__","this","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__","call","toEditName","name","setState","isShow","value","cancle","handleChange","e","target","outLogin","logout","antd_mobile_lib_toast__WEBPACK_IMPORTED_MODULE_1___default","a","info","history","push","submit","state","length","data","user_name","http","post","concat","API","home","then","res","code","updateUser","username","msg","user","avatar","react__WEBPACK_IMPORTED_MODULE_7___default","createElement","className","_common__WEBPACK_IMPORTED_MODULE_11__","title","arrow","cart","src","alt","onClick","bind","type","placeholder","onChange","PureComponent","compose","connect","WithFullSize"],"mappings":"0OAUMA,cACF,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,KAQVQ,WAAa,SAACC,GACVR,EAAKS,SAAS,CACVC,QAAQ,EACRC,MAAOH,KAZIR,EAgBnBY,OAAS,WACLZ,EAAKS,SAAS,CACVC,QAAQ,KAlBGV,EAuBnBa,aAAe,SAACC,GACZd,EAAKS,SAAS,CACVE,MAAOG,EAAEC,OAAOJ,SAzBLX,EA6BnBgB,SAAW,WACPhB,EAAKD,MAAMkB,SACXC,EAAAC,EAAMC,KAAK,qBAAO,GAClBpB,EAAKD,MAAMsB,QAAQC,KAAK,QAhCTtB,EAoCnBuB,OAAS,WACL,GAAIvB,EAAKwB,MAAMb,MAAMc,OAAS,GAC1BP,EAAAC,EAAMC,KAAK,yCAAY,QACpB,GAAgC,IAA5BpB,EAAKwB,MAAMb,MAAMc,OACxBP,EAAAC,EAAMC,KAAK,iCAAS,OACjB,CACH,IAAIM,EAAO,CACPC,UAAW3B,EAAKwB,MAAMb,OAE1BiB,IAAKC,KAAL,GAAAC,OAAaC,IAAIC,KAAjB,uBAA4CN,GAAMO,KAAK,SAACC,GAC9B,MAAlBA,EAAIR,KAAKS,MACTnC,EAAKS,SAAS,CACVC,QAAQ,IAEZV,EAAKD,MAAMqC,WAAW,CAACV,KAAM,CAACW,SAAUrC,EAAKwB,MAAMb,SACnDO,EAAAC,EAAMC,KAAK,2BAAQ,IACM,OAAlBc,EAAIR,KAAKS,KAChBnC,EAAKS,SAAS,CACVC,QAAQ,IAGZQ,EAAAC,EAAMC,KAAKc,EAAIR,KAAKY,IAAK,OAvDrCtC,EAAKwB,MAAQ,CACTd,QAAQ,EACRC,MAAO,IAJIX,wEAgEV,IACEuC,EAAQpC,KAAKJ,MAAbwC,KACDF,EAAWE,GAAQA,EAAKb,MAAQa,EAAKb,KAAKW,SAC1CG,EAASD,GAAQA,EAAKb,MAAQa,EAAKb,KAAKc,OAC9C,OACIC,EAAAtB,EAAAuB,cAAA,OAAKC,UAAU,aACXF,EAAAtB,EAAAuB,cAACE,EAAA,EAAD,CAAWC,MAAM,eAAKC,OAAO,EAAMC,MAAM,IAEzCN,EAAAtB,EAAAuB,cAAA,OAAKC,UAAU,WACXF,EAAAtB,EAAAuB,cAAA,OAAKM,IAAKR,EAAQS,IAAI,KACtBR,EAAAtB,EAAAuB,cAAA,QAAMC,UAAU,QAAQN,GACxBI,EAAAtB,EAAAuB,cAAA,QAAMQ,QAAS/C,KAAKI,WAAW4C,KAAKhD,KAAMkC,GAAWM,UAAU,QAA/D,iBAEJF,EAAAtB,EAAAuB,cAAA,OAAKC,UAAU,YAAYO,QAAS/C,KAAKa,UAAzC,4BAKIb,KAAKqB,MAAMd,QACX+B,EAAAtB,EAAAuB,cAAA,OAAKC,UAAU,YACXF,EAAAtB,EAAAuB,cAAA,OAAKC,UAAU,gBACXF,EAAAtB,EAAAuB,cAAA,OAAKC,UAAU,cAAf,4BACAF,EAAAtB,EAAAuB,cAAA,SAAOU,KAAK,OAAOC,YAAY,mFACxB1C,MAAOR,KAAKqB,MAAMb,MAClB2C,SAAUnD,KAAKU,aAAasC,KAAKhD,QAExCsC,EAAAtB,EAAAuB,cAAA,OAAKC,UAAU,YACXF,EAAAtB,EAAAuB,cAAA,UAAQC,UAAU,SAASO,QAAS/C,KAAKS,QAAzC,gBACA6B,EAAAtB,EAAAuB,cAAA,UAAQC,UAAU,SAASO,QAAS/C,KAAKoB,QAAzC,2BA7FXgC,iBAwGNC,sBACXC,YACI,SAAAjC,GAAK,MAAK,CAACe,KAAMf,EAAMe,OACvB,CAACtB,WAAQmB,iBAEbsB,IALWF,CAMb1D","file":"mrstatic/js/MyEdit.4cf8e959.chunk.js","sourcesContent":["import React, {PureComponent} from 'react'\nimport './index.scss'\nimport {connect} from \"react-redux\"\nimport {Toast} from 'antd-mobile'\nimport {http} from \"@/utils\"\nimport {HeaderBar} from \"@/common\"\nimport {logout, updateUser} from '@/store/userAction'\nimport {compose} from \"redux\";\nimport {WithFullSize} from '@/HOCs'\n\nclass MyEdut extends PureComponent {\n constructor(props) {\n super(props)\n this.state = {\n isShow: false,\n value: ''\n }\n }\n\n // 点击编辑\n toEditName = (name) => {\n this.setState({\n isShow: true,\n value: name\n })\n }\n // 取消\n cancle = () => {\n this.setState({\n isShow: false\n })\n }\n\n // 获取input的值\n handleChange = (e) => {\n this.setState({\n value: e.target.value\n })\n }\n // 退出登录\n outLogin = () => {\n this.props.logout()\n Toast.info('已退出', 2)\n this.props.history.push('/my')\n }\n\n // 确定修改\n submit = () => {\n if (this.state.value.length > 12) {\n Toast.info('不超过12个字符', 2)\n } else if (this.state.value.length === 0) {\n Toast.info('请输入昵称', 2)\n } else {\n let data = {\n user_name: this.state.value\n }\n http.post(`${API.home}/m/user_info/update`, data).then((res) => {\n if (res.data.code === 200) {\n this.setState({\n isShow: false\n })\n this.props.updateUser({data: {username: this.state.value}})\n Toast.info('修改成功', 2)\n } else if (res.data.code === 4008) {\n this.setState({\n isShow: false\n })\n } else {\n Toast.info(res.data.msg, 2)\n }\n\n })\n }\n }\n\n render() {\n const {user} = this.props\n const username = user && user.data && user.data.username\n const avatar = user && user.data && user.data.avatar\n return (\n <div className=\"edit-name\">\n <HeaderBar title='账号' arrow={true} cart={false}></HeaderBar>\n\n <div className='my-mess'>\n <img src={avatar} alt=\"\"/>\n <span className=\"name\">{username}</span>\n <span onClick={this.toEditName.bind(this, username)} className=\"edit\">编辑</span>\n </div>\n <div className=\"out-login\" onClick={this.outLogin}>\n 退出登录\n </div>\n\n {\n this.state.isShow &&\n <div className=\"edit-mbc\">\n <div className=\"edit-content\">\n <div className=\"edit-title\">修改昵称</div>\n <input type=\"text\" placeholder='请输入昵称(不超过12个字符)'\n value={this.state.value}\n onChange={this.handleChange.bind(this)}\n />\n <div className=\"edit-btn\">\n <button className='cancle' onClick={this.cancle}>取消</button>\n <button className='submit' onClick={this.submit}>确认</button>\n </div>\n </div>\n </div>\n }\n </div>\n )\n }\n\n}\n\nexport default compose(\n connect(\n state => ({user: state.user}),\n {logout, updateUser}\n ),\n WithFullSize\n)(MyEdut)\n"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["components/order/orderinfo.js"],"names":["MyForm","withFormik","mapPropsToValues","props","Object","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_7__","userInfo","validate","values","handleSubmit","FormBag","real_name","cellphone","qq","concat","replace","length","test","same","pathName","id","console","log","http","post","API","then","res","data","errno","antd_mobile_lib_toast__WEBPACK_IMPORTED_MODULE_6___default","a","info","undefined","history","msg","_ref","setFieldValue","errors","touched","handleBlur","isSubmitting","react__WEBPACK_IMPORTED_MODULE_14___default","createElement","antd_mobile_lib_input_item__WEBPACK_IMPORTED_MODULE_13___default","clear","name","onChange","value","placeholder","type","maxLength","style","marginTop","antd_mobile_lib_wing_blank__WEBPACK_IMPORTED_MODULE_9___default","antd_mobile_lib_button__WEBPACK_IMPORTED_MODULE_11___default","onClick","Orderinfo","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__","this","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__","call","_common__WEBPACK_IMPORTED_MODULE_16__","title","arrow","location","state","Component"],"mappings":"uSAgDMA,EAASC,YAAW,CACtBC,iBAAkB,SAAAC,GAAK,OAAAC,OAAAC,EAAA,EAAAD,CAAA,GAAUD,EAAMG,WACvCC,SAAU,SAACC,EAAQL,GAEf,MADe,IAGnBM,aAAc,SACVD,EACAE,GACC,IACMC,EAA4BH,EAA5BG,UAAWC,EAAiBJ,EAAjBI,UAAWC,EAAML,EAANK,GAC7B,GAAKF,EAGC,GAAoD,IAAhD,GAAAG,OAAIH,GAAaI,QAAQ,OAAQ,IAAIC,OAI/C,GAAKJ,EAGE,GAAK,WAAWK,KAAK,GAAAH,OAAIF,GAAaG,QAAQ,OAAQ,KAI7D,GAAKF,EAGE,GAAK,UAAUI,KAAKJ,GAApB,CAIP,IAAIK,EAAO,EACX,GAAGR,EAAQP,MAAMG,SAAU,CACvB,IAAMA,EAAWI,EAAQP,MAAMG,SAC5BA,EAASK,YAAcA,IACtBO,GAAQ,GAETZ,EAASM,YAAcA,IACtBM,GAAQ,GAETZ,EAASO,KAAOA,IACfK,GAAQ,GAGhB,IAAIC,EAAW,SACZT,EAAQP,MAAMG,SAASc,KACtBD,EAAWA,EAAW,OAAST,EAAQP,MAAMG,SAASc,IAE1DC,QAAQC,IAAId,GACA,IAATU,EASHK,IAAKC,KAAL,GAAAV,OAAaW,IAAI,YAAjB,yBAAqD,CAACd,UAAWH,EAAOG,UAAWC,UAAW,GAAAE,OAAIN,EAAOI,WAAaG,QAAQ,OAAQ,IAAKF,GAAIL,EAAOK,KAAKa,KAAK,SAAAC,GAC5JN,QAAQC,IAAIK,GACU,MAAnBA,EAAIC,KAAKC,OAIZC,EAAAC,EAAMC,KAAK,sCAASC,OAAWA,GAAW,GAC1CvB,EAAQP,MAAM+B,QAAQnB,QAClBI,EADJf,OAAAC,EAAA,EAAAD,CAAA,GAGWI,KAPPsB,EAAAC,EAAMC,KAAKL,EAAIC,KAAKO,SAAKF,OAAWA,GAAW,KAXnDvB,EAAQP,MAAM+B,QAAQnB,QAClBI,EADJf,OAAAC,EAAA,EAAAD,CAAA,GAGWI,SAzBXsB,EAAAC,EAAMC,KAAK,oDAAaC,OAAWA,GAAW,QAH9CH,EAAAC,EAAMC,KAAK,wCAAWC,OAAWA,GAAW,QAJ5CH,EAAAC,EAAMC,KAAK,oEAAcC,OAAWA,GAAW,QAH/CH,EAAAC,EAAMC,KAAK,kDAAWC,OAAWA,GAAW,QAJ5CH,EAAAC,EAAMC,KAAK,4CAAUC,OAAWA,GAAW,QAH3CH,EAAAC,EAAMC,KAAK,4CAAUC,OAAWA,GAAW,KAZxChC,CA1CG,SAAAmC,GAAA,IACd5B,EADc4B,EACd5B,OAGA6B,GAJcD,EAEdE,OAFcF,EAGdG,QAHcH,EAIdC,eAEA5B,GANc2B,EAKdI,WALcJ,EAMd3B,cANc2B,EAOdK,aAPc,OASVC,EAAAX,EAAAY,cAAA,YACID,EAAAX,EAAAY,cAAAC,EAAAb,EAAA,CACIc,OAAK,EACLC,KAAK,YACLC,SAAU,SAACC,GAAD,OAAWX,EAAc,YAAaW,IAChDC,YAAY,yDACZD,MAAOxC,EAAOG,WALlB,gBAOA+B,EAAAX,EAAAY,cAAAC,EAAAb,EAAA,CACIc,OAAK,EACLK,KAAK,QACLJ,KAAK,YACLG,YAAY,yDACZF,SAAU,SAACC,GAAD,OAAWX,EAAc,YAAaW,IAChDA,MAAOxC,EAAOI,WANlB,gBAQA8B,EAAAX,EAAAY,cAAAC,EAAAb,EAAA,CACIc,OAAK,EACLC,KAAK,KACLG,YAAY,+CACZE,UAAU,KACVJ,SAAU,SAACC,GAAD,OAAWX,EAAc,KAAMW,IACzCA,MAAOxC,EAAOK,IANlB,MASA6B,EAAAX,EAAAY,cAAA,OAAKS,MAAO,CAAEC,UAAW,SACrBX,EAAAX,EAAAY,cAAAW,EAAAvB,EAAA,KACIW,EAAAX,EAAAY,cAAAY,EAAAxB,EAAA,CAAQmB,KAAK,UAAUM,QAAS/C,GAAhC,qBAkFdgD,cACF,SAAAA,EAAYtD,GAAQ,OAAAC,OAAAsD,EAAA,EAAAtD,CAAAuD,KAAAF,GAAArD,OAAAwD,EAAA,EAAAxD,CAAAuD,KAAAvD,OAAAyD,EAAA,EAAAzD,CAAAqD,GAAAK,KAAAH,KACVxD,0EAIN,OACIuC,EAAAX,EAAAY,cAAA,WACID,EAAAX,EAAAY,cAACoB,EAAA,EAAD,CAAWC,MAAM,2BAAOC,OAAO,IAC/BvB,EAAAX,EAAAY,cAAC3C,EAAD,CAAQkC,QAASyB,KAAKxD,MAAM+B,QAAS5B,SAAUqD,KAAKxD,MAAM+D,SAASC,gBAT3DC,aAgBTX","file":"mrstatic/js/Orderinfo.95a2e7a5.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport { Flex, NavBar, List, InputItem, Button, WhiteSpace, WingBlank, Toast } from 'antd-mobile';\nimport { Formik, Field, Form, withFormik } from 'formik';\nimport {HeaderBar} from '../../common';\nimport { http } from \"@/utils\";\n\nconst InnerForm = ({\n values,\n errors,\n touched,\n setFieldValue,\n handleBlur,\n handleSubmit,\n isSubmitting,\n}) => (\n <form>\n <InputItem\n clear\n name=\"real_name\"\n onChange={(value) => setFieldValue('real_name', value)}\n placeholder=\"请输入您的真实姓名\"\n value={values.real_name}\n >姓名</InputItem>\n <InputItem\n clear\n type='phone'\n name='cellphone'\n placeholder=\"请输入您的手机号码\"\n onChange={(value) => setFieldValue('cellphone', value)}\n value={values.cellphone}\n >电话</InputItem>\n <InputItem\n clear\n name='qq'\n placeholder=\"请输入您的QQ号码\"\n maxLength='15'\n onChange={(value) => setFieldValue('qq', value)}\n value={values.qq}\n >QQ</InputItem>\n\n <div style={{ marginTop: '21px' }}>\n <WingBlank>\n <Button type='primary' onClick={handleSubmit}>确认</Button>\n </WingBlank>\n </div>\n </form>\n );\n\nconst MyForm = withFormik({\n mapPropsToValues: props => ({ ...props.userInfo }),\n validate: (values, props) => {\n const errors = {};\n return errors;\n },\n handleSubmit: (\n values,\n FormBag\n ) => {\n const {real_name, cellphone, qq} = values;\n if (!real_name) {\n Toast.info('请输入姓名!', undefined, undefined, false);\n return;\n }else if ((`${real_name}`).replace(/\\s+/g, '').length === 0) {\n Toast.info('请输入姓名!', undefined, undefined, false);\n return;\n }\n if (!cellphone) {\n Toast.info('请输入手机号!', undefined, undefined, false);\n return;\n } else if (!/1\\d{10}/g.test((`${cellphone}`).replace(/\\s+/g, ''))) {\n Toast.info('请输入正确的手机号!', undefined, undefined, false);\n return;\n }\n if (!qq) {\n Toast.info('请输入QQ号!', undefined, undefined, false);\n return;\n } else if (!/\\d{5,}/g.test(qq)) {\n Toast.info('请输入正确QQ号!', undefined, undefined, false);\n return;\n }\n let same = 0;\n if(FormBag.props.userInfo) {\n const userInfo = FormBag.props.userInfo;\n if(userInfo.real_name === real_name) {\n same += 1;\n }\n if(userInfo.cellphone === cellphone) {\n same += 1;\n }\n if(userInfo.qq === qq) {\n same += 1;\n }\n }\n let pathName = '/order';\n if(FormBag.props.userInfo.id) {\n pathName = pathName + '?id=' + FormBag.props.userInfo.id;\n }\n console.log(values);\n if(same === 3) {\n FormBag.props.history.replace(\n pathName,\n {\n ...values,\n }\n );\n return;\n }\n http.post(`${API['base-api']}/m/order/saveUserInfo`, {real_name: values.real_name, cellphone: (`${values.cellphone}`).replace(/\\s+/g, ''), qq: values.qq}).then(res=>{\n console.log(res);\n if(res.data.errno !== 200) {\n Toast.info(res.data.msg, undefined, undefined, false);\n return;\n }\n Toast.info('保存成功!', undefined, undefined, false);\n FormBag.props.history.replace(\n pathName,\n {\n ...values,\n }\n );\n });\n },\n})(InnerForm);\n\nclass Orderinfo extends Component {\n constructor(props) {\n super(props);\n }\n\n render() {\n return (\n <div>\n <HeaderBar title='报名信息' arrow={true}></HeaderBar>\n <MyForm history={this.props.history} userInfo={this.props.location.state}/>\n </div>\n )\n }\n\n};\n\nexport default Orderinfo;"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{1178:function(e,a,t){"use strict";t.r(a),t.d(a,"default",function(){return P});t(156);var n=t(75),i=t.n(n),c=(t(90),t(25)),o=t.n(c),r=(t(155),t(35)),s=t.n(r),l=(t(43),t(14)),d=t.n(l),p=t(8),u=t(9),m=t(10),y=t(7),g=t(11),f=t(153),h=(t(896),t(898)),b=t.n(h),v=(t(117),t(46)),w=t.n(v),E=t(0),S=t.n(E),x=t(3),_=t(30),j=t(17),k=(t(900),w.a.Item.Brief,b.a.RadioItem),I=[];I=x.b.isWeixin?[{value:1,label:"\u5fae\u4fe1\u652f\u4ed8",icon:"iconweixinzhifu"}]:[{value:0,label:"\u652f\u4ed8\u5b9d",icon:"iconalipay"},{value:1,label:"\u5fae\u4fe1\u652f\u4ed8",icon:"iconweixinzhifu"}];var P=function(e){function a(e){var t;return Object(p.a)(this,a),(t=Object(m.a)(this,Object(y.a)(a).call(this,e))).redirectAfterPay=function(){var e=Object(x.c)("status"),a=Object(x.c)("type"),n=Object(x.c)("oid"),i=t.props.history;if(e||a)if(0===parseInt(e,10))if(2===parseInt(a,10))i.push("/togroup?id=".concat(n));else if(4===parseInt(a,10)){c&&window.localStorage.setItem("payCourse",c);var c=window.localStorage.getItem("payCourse");c&&i.push("/detail?id=".concat(c),{oid:n})}else i.push("/purchased");else d.a.info("\u652f\u4ed8\u5f02\u5e38",2)},t.onChange=function(e){t.setState({payType:e,checkPeriod:!1}),2===e&&t.setState({huabei:!0})},t.checkStaging=function(e){console.log(e),t.setState({huabei:!1,stageNumber:e.value,singleMoney:e.everyTotal,periodNumber:e.stage,checkPeriod:!0})},t.print=function(){for(var e=arguments.length,a=new Array(e),t=0;t<e;t++)a[t]=arguments[t];console.log(a)},t.pay=function(){var e=t.state,a=e.payType,n=e.orderId;0===a?t.alipayPay(n):1===a&&t.weixinPay(n)},t.weixinPay=function(e){Object(x.f)()?window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri="+encodeURIComponent(window.location.href+"&aa=bb").toLowerCase()+"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect":x.d.get("".concat(API["base-api"],"/pay/wxpay/wap_charge/oid/").concat(e)).then(function(e){console.log(e),0===e.data.errno?window.location.href=e.data.data.url+"&redirect_url="+encodeURIComponent(window.location.href+"&weixinpay=1").toLowerCase():d.a.info(e.data.msg,2)})},t.isweixinPay=function(){var e=Object(f.a)(Object(f.a)(t)),a=Object(x.c)("code");if(a){if(void 0===Object(x.c)("oid"))return;x.d.get("".concat(API["base-api"],"/pay/wxpay/pub_charge/oid/").concat(Object(x.c)("oid"),"/code/").concat(a)).then(function(a){if(0===a.data.errno){var t=function(){WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:n.appId,timeStamp:n.timeStamp,nonceStr:n.nonceStr,package:n.package,signType:n.signType,paySign:n.paySign},function(a){"get_brand_wcpay_request:ok"==a.err_msg?(d.a.info("\u652f\u4ed8\u6210\u529f",2),e.intervalPayStatus=setInterval(function(){x.d.get("".concat(API["base-api"],"/m/orderState/oid/").concat(Object(x.c)("oid"))).then(function(a){401===a.data.errno&&(clearInterval(e.intervalPayStatus),e.intervalPayStatus=null,x.d.get("".concat(API["base-api"],"/m/app_order/detail/").concat(Object(x.c)("oid"))).then(function(a){2===Number(a.data.data.course_type)?e.props.history.replace("/togroup?id=".concat(Object(x.c)("oid"))):e.props.history.replace("/purchased")}))})},1e3)):alert("\u652f\u4ed8\u5931\u8d25")})},n=a.data.data;"undefined"==typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",t,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",t),document.attachEvent("onWeixinJSBridgeReady",t)):t()}else d.a.info(a.data.msg,2)})}},t.payCallback=function(){var e=Object(f.a)(Object(f.a)(t));e.intervalPayStatus=setInterval(function(){x.d.get("".concat(API["base-api"],"/m/orderState/oid/").concat(Object(x.c)("oid"))).then(function(a){401===a.data.errno&&(clearInterval(e.intervalPayStatus),e.intervalPayStatus=null,x.d.get("".concat(API["base-api"],"/m/app_order/detail/").concat(Object(x.c)("oid"))).then(function(a){2===Number(a.data.data.course_type)?e.props.history.replace("/togroup?id=".concat(Object(x.c)("oid"))):e.props.history.replace("/purchased")}))})},1e3)},t.onBridgeReady1=function(e){var a=Object(f.a)(Object(f.a)(t));e=e||a.BridgeData,WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:"wx23dac6775ac82877",timeStamp:e.timeStamp,nonceStr:e.nonceStr,package:e.package,signType:e.signType,paySign:e.paySign},function(e){"get_brand_wcpay_request:ok"==e.err_msg?(d.a.info("\u652f\u4ed8\u6210\u529f",2),a.payCallback()):alert("\u652f\u4ed8\u5931\u8d25")})},t.alipayPay=function(e){x.d.get("".concat(API["base-api"],"/pay/alipay/wap_charge_new/oid/").concat(e)).then(function(e){0===e.data.errno?(t.payCallback(),window.location=e.data.data.url):d.a.info(e.data.msg,2)})},t.huabeiPay=function(e){var a=t.state,n=(a.singleMoney,a.periodNumber);console.log("\u82b1\u5457\u5206\u671f\u652f\u4ed8"),x.d.get("/pay/alipay/wap_charge/oid/".concat(e,"/plat/{plat} /hb_num/").concat(n)).then(function(e){console.log(e),0===e.data.errno?window.location=e.data.data.url:d.a.info(e.data.msg,2)})},t.state={pay_amount:0,payType:0,stageNumber:0,checkPeriod:!1,singleMoney:0,periodNumber:0,orderId:Object(x.c)("oid"),huabei:!1,fenqiList:[{value:"zhifubao",qishu:"3",lilv:"2.30%",everyMoney:300,feiyong:2.3},{value:"weixin",qishu:"6",lilv:"4.50%",everyMoney:150,feiyong:4.5},{value:"huabei",qishu:"9",lilv:"7.50%",everyMoney:100,feiyong:7.5}],categoryList:[]},t}return Object(g.a)(a,e),Object(u.a)(a,[{key:"componentDidMount",value:function(){var e=this;this.redirectAfterPay();var a={};a=this.props.location.state&&this.props.location.state.group?{order_id:this.state.orderId,type:2}:{order_id:this.state.orderId},x.d.post("".concat(API["base-api"],"/m/order/detail"),a).then(function(a){if(200===a.data.errno){var t=a.data.data,n=t.course,i=t.pay_amount,c=[];[1,2,3].map(function(e){var a={};a.value=e,1===e?(a.stage=3,a.moneyRate="2.30%",a.rate=.023,a.periodic=(i/3).toFixed(2)):2===e?(a.stage=6,a.moneyRate="4.50%",a.rate=.045,a.periodic=(i/6).toFixed(2)):(a.stage=12,a.moneyRate="7.50%",a.rate=.075,a.periodic=(i/9).toFixed(2)),a.serviceFee=(i*a.rate/a.stage).toFixed(2),a.everyTotal=(parseFloat(a.periodic)+parseFloat(a.serviceFee)).toFixed(2),c.push(a)}),console.log(c),e.setState({pay_amount:i,categoryList:n,fenqiList:c})}else d.a.info(a.data.msg,2)}),(1===Object(x.c)("is_class")||Object(x.c)("weixinpay"))&&this.payCallback(),Object(x.f)()&&(this.setState({payType:1}),this.isweixinPay())}},{key:"render",value:function(){var e=this,a=this.state,t=a.orderId,n=a.pay_amount,c=a.payType,r=a.checkPeriod,l=a.singleMoney,d=a.periodNumber,p=a.huabei,u=a.fenqiList,m=a.categoryList,y=a.stageNumber;return S.a.createElement("div",{className:"pay-order"},S.a.createElement(_.e,{title:"\u786e\u8ba4\u652f\u4ed8",arrow:!0}),S.a.createElement(s.a,{size:"sm"}),S.a.createElement("div",{className:"order-number"},S.a.createElement(i.a,null,S.a.createElement(o.a,{justify:"between",align:"center",style:{height:"44px"}},S.a.createElement("span",null,"\u8ba2\u5355\u53f7"),S.a.createElement("span",{className:"number"},t)))),S.a.createElement(s.a,{size:"md"}),m.map(function(a,t){var n=S.a.createElement("div",{className:"order-info"},S.a.createElement("p",{className:"order-title text-overflow-one"},S.a.createElement(j.b,{to:"/detail?id=".concat(a.course_id)},a.course_title)),S.a.createElement("p",{className:"order-content text-overflow-2"},a.simpledescription),S.a.createElement("p",{className:"order-des"},S.a.createElement("span",{className:"order-newprice"},"\xa5",a.price1),S.a.createElement("span",{className:"order-price"},"\xa5",a.price0)));return S.a.createElement(_.j,{handleClick:e.print,key:t,img:a.image_name,id:a.course_id,info:n})}),S.a.createElement(s.a,{size:"md"}),S.a.createElement("div",{className:"order-number"},S.a.createElement(i.a,null,S.a.createElement(o.a,{justify:"between",align:"center",style:{height:"44px"}},S.a.createElement("span",null,"\u652f\u4ed8\u91d1\u989d"),S.a.createElement("span",{className:"money"},"\uffe5".concat(n))))),S.a.createElement(s.a,{size:"md"}),S.a.createElement(w.a,{renderHeader:function(){return"\u652f\u4ed8\u65b9\u5f0f"},className:"pay-type-list"},I.map(function(a){return S.a.createElement(k,{thumb:S.a.createElement("i",{className:"iconfont ".concat(a.icon," ").concat(c===a.value?"checked":"")}),key:a.value,checked:c===a.value,onChange:function(){return e.onChange(a.value)}},2===a.value?S.a.createElement(o.a,{direction:"column",align:"start",style:{width:"100%",marginTop:"6px"}},S.a.createElement(o.a,{direction:"row",justify:"between",style:{width:"100%",paddingRight:"30px"}},S.a.createElement("span",{style:{color:"#555555",fontSize:"14px"}},a.label),r?S.a.createElement("span",{style:{color:"#333333",fontSize:"12px"}},"".concat(l,"\u5143 \xd7 ").concat(d,"\u671f")):null),S.a.createElement(o.a,{justify:"start"},S.a.createElement("span",{style:{color:"#999999",fontSize:"12px"}},"\u652f\u4ed8\u4e0a\u9650\u53d7\u9650\u4e8e\u60a8\u7684\u82b1\u5457\u989d\u5ea6"))):a.label)})),S.a.createElement("div",{className:"pay-tip"},"\u8bf7\u572815\u5206\u949f\u5185\u5b8c\u6210\u652f\u4ed8\uff0c\u5426\u5219\u5c4a\u65f6\u7cfb\u7edf\u5c06\u5173\u95ed\u8be5\u8ba2\u5355\u3002"),S.a.createElement("div",{className:"pay-button",onClick:this.pay},"\u786e\u8ba4\u652f\u4ed8"),p?S.a.createElement("div",{className:"check-staging"},S.a.createElement("div",{className:"container"},S.a.createElement("p",{className:"check-title"},"\u8bf7\u9009\u62e9\u5206\u671f"),u.map(function(a){return S.a.createElement(k,{key:a.value,checked:y===a.value,onChange:function(){return e.checkStaging(a)}},"".concat(a.everyTotal,"\u5143 \xd7 ").concat(a.stage,"\u671f"),S.a.createElement(w.a.Item.Brief,null,"\u624b\u7eed\u8d39".concat(a.serviceFee,"\u5143/\u671f\uff0c\u8d39\u7387").concat(a.moneyRate)))}))):null)}}]),a}(E.Component)},900:function(e,a,t){}}]);
//# sourceMappingURL=PayOrder.7e17e9ac.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{1138:function(e,t,a){},1139:function(e,t,a){},1196:function(e,t,a){"use strict";a.r(t);var n,c=a(8),s=a(9),r=a(10),o=a(7),i=a(11),l=a(0),u=a.n(l),h=a(704),p=a(162),d=a(3),m=(a(1138),a(43),a(14)),f=a.n(m),v=a(20),g=(a(1139),a(30)),w=a(48),y=(a(74),Object(v.b)()(n=function(e){function t(){var e,a;Object(c.a)(this,t);for(var n=arguments.length,s=new Array(n),i=0;i<n;i++)s[i]=arguments[i];return(a=Object(r.a)(this,(e=Object(o.a)(t)).call.apply(e,[this].concat(s)))).state={courses:[]},a.toCourseDetail=function(e){var t=a.props;t.dispatch;t.history.push("/detail?id=".concat(e))},a}return Object(i.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){var e=this;d.d.get("".concat(API["search-api"],"/search_hot_word")).then(function(t){0===t.data.errno?e.setState({courses:t.data.data.info.courses}):f.a.info(t.data.msg)})}},{key:"render",value:function(){var e=this,t=this.state.courses;return u.a.createElement("div",{className:"recommendation"},u.a.createElement("div",{className:"title"},"\u63a8\u8350\u8bfe\u7a0b"),u.a.createElement("div",{className:"courses"},t.length>0&&t.map(function(t){var a=u.a.createElement("div",{className:"bottom"},u.a.createElement("span",{className:"price"},t.price1),u.a.createElement("span",{className:"old-price"},t.price0));return u.a.createElement(g.d,{className:"text-overflow-2",key:t.course_id,id:t.course_id,img:t.image_name,title:t.course_title,bottom:a,toDetail:e.toCourseDetail})})))}}]),t}(l.Component))||n),b=Object(w.g)(y),E=a(1140),S=a.n(E),N=u.a.forwardRef(function(e,t){return u.a.createElement(h.a,Object.assign({},e,{forwardedRef:t}))}),O=function(e){var t=e.item;return u.a.createElement("div",{className:"bottom"},u.a.createElement("span",{className:"price"},"\xa5",t.price1),u.a.createElement("span",{className:"stale-price"},"\xa5",t.price0))},C=function(e){function t(){var e,a;Object(c.a)(this,t);for(var n=arguments.length,s=new Array(n),i=0;i<n;i++)s[i]=arguments[i];return(a=Object(r.a)(this,(e=Object(o.a)(t)).call.apply(e,[this].concat(s)))).prevScrollY=0,a.searchHead=u.a.createRef(),a.swipeUp="up",a.swipeDown="down",a.state={courseList:[],value:decodeURIComponent(Object(d.c)("word"))||"",searchHistory:JSON.parse(localStorage.getItem("searchHistory"))||[],fixedHeader:!1,searchHeadStyle:{top:0},swipeDirection:a.swipeUp},a.getCourses=function(e){d.d.get("".concat(API["search-api"],"/search/").concat(e,"?type=course&page=1")).then(function(e){var t=e.data;0===t.errno&&a.setState({courseList:t.data.info.search_data.course})})},a.handleClick=function(e){a.props.history.push("/detail?id=".concat(e))},a.handleSearch=function(){a.state.value&&a.getCourses(a.state.value)},a.handleChange=function(e){a.setState({value:e})},a.toCourseDetail=function(e){a.props.history.push("/detail?id=".concat(e))},a.handleScroll=S()(function(){var e=window.scrollY,t=a.searchHead.current.offsetTop;e<a.prevScrollY?a.state.swipeDirection===a.swipeDown?e<=t&&"fixed"!==a.state.searchHeadStyle.position&&a.setState({searchHeadStyle:{top:"0",position:"fixed"}}):a.setState({swipeDirection:a.swipeDown},function(){a.state.swipeDirection===a.swipeDown&&a.setState({searchHeadStyle:{top:"".concat(e>t?e-44:e,"px")}})}):a.state.swipeDirection!==a.swipeUp&&a.setState({swipeDirection:a.swipeUp,searchHeadStyle:{position:"absolute",top:"".concat(e,"px")}}),a.prevScrollY=e},0),a}return Object(i.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){this.getCourses(Object(d.c)("word")),document.addEventListener("scroll",this.handleScroll)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("scroll",this.handleScroll)}},{key:"render",value:function(){var e=this,t=this.state.courseList;return u.a.createElement("div",{className:"search-result"},u.a.createElement(N,{handleSearch:this.handleSearch,value:this.state.value,handleChange:this.handleChange,searchHistory:this.state.searchHistory,style:this.state.searchHeadStyle,ref:this.searchHead}),t&&t.length>0?u.a.createElement("ul",null,t.map(function(t){var a=u.a.createElement("div",{className:"info"},u.a.createElement("p",{className:"title"},t.course_title),u.a.createElement("p",{className:"des"},t.simpledescription),u.a.createElement(O,{item:t})),n=t.bargain_num||t.groupon_num?u.a.createElement("div",{className:"status"},0===t.bargain_num?"\u780d\u4ef7\u51cf".concat(t.groupon_num,"\u5143"):"\u62fc\u56e2\u51cf".concat(t.bargain_num,"\u5143")):null;return u.a.createElement(p.a,{img:t.image_name,toDetail:e.toCourseDetail,key:t.course_id,info:a,id:t.course_id,status:n})})):u.a.createElement("div",{className:"empty"},"\u62b1\u6b49\uff01\u6ca1\u6709\u641c\u5230\u76f8\u5173\u5185\u5bb9"),u.a.createElement(b,null))}}]),t}(l.PureComponent);t.default=C},704:function(e,t,a){"use strict";a(605);var n=a(607),c=a.n(n),s=a(76),r=a(8),o=a(9),i=a(10),l=a(7),u=a(11),h=a(0),p=a.n(h),d=a(48),m=a(15),f=a.n(m),v=(a(705),function(e){function t(){var e,a;Object(r.a)(this,t);for(var n=arguments.length,c=new Array(n),o=0;o<n;o++)c[o]=arguments[o];return(a=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(c)))).state={isFocus:!1},a.returnPage=function(){a.props.history.go(-1)},a.search=function(){a.storeKeyword(),a.props.handleSearch()},a.storeKeyword=function(){var e=a.props,t=e.searchHistory,n=void 0===t?[]:t,c=e.value;c&&localStorage.setItem("searchHistory",JSON.stringify([].concat(Object(s.a)(n),[c])))},a.changeFontColor=function(e){a.setState({isFocus:e})},a}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.refs.search.focus()}},{key:"render",value:function(){var e=this,t=this.state.isFocus,a=f()("submit-btn",{"submit-btn--active":t});return p.a.createElement("div",{className:"search-head",style:this.props.style,ref:this.props.forwardedRef},p.a.createElement("div",{className:"left",onClick:this.returnPage},p.a.createElement("i",{className:"iconfont iconiconfront-68"})),p.a.createElement("div",{className:"center"},p.a.createElement(c.a,{value:this.props.value,showCancelButton:!0,cancelText:" ",ref:"search",focus:!0,onChange:this.props.handleChange,placeholder:"\u641c\u7d22\u8bfe\u7a0b",onFocus:function(){return e.changeFontColor(!0)},onBlur:function(){return e.changeFontColor(!1)},onSubmit:this.search})),p.a.createElement("div",{className:"right right-btn",onClick:this.search},p.a.createElement("div",{className:a},"\u641c\u7d22")))}}]),t}(h.PureComponent));t.a=Object(d.g)(v)},705:function(e,t,a){}}]);
//# sourceMappingURL=SearchResult.3995918d.chunk.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
{"version":3,"sources":["components/purchased/index.js"],"names":["Purchased","props","_this","Object","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__","this","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__","call","getList","http","get","concat","API","home","then","res","data","code","setState","isLoading","antd_mobile_lib_toast__WEBPACK_IMPORTED_MODULE_1___default","a","info","msg","toCourseDetail","id","_this$props","dispatch","history","push","state","_this2","user","uid","react__WEBPACK_IMPORTED_MODULE_7___default","createElement","className","_common__WEBPACK_IMPORTED_MODULE_9__","arrow","title","cart","toHref","_common_Loading__WEBPACK_IMPORTED_MODULE_14__","length","map","item","index","Info","onClick","course_id","course_title","simpledescription","is_aist","assist_weixin","course_qq","status","key","img","image_name","toDetail","react_router_dom__WEBPACK_IMPORTED_MODULE_11__","to","Component","connect"],"mappings":"2OAUMA,cACF,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,KAYVQ,QAAU,WACNC,IAAKC,IAAL,GAAAC,OAAYC,IAAIC,KAAhB,kBAAsCC,KAAK,SAACC,GAClB,MAAlBA,EAAIC,KAAKC,KACThB,EAAKiB,SAAS,CACVF,KAAMD,EAAIC,KAAKA,KACfG,WAAW,IAGfC,EAAAC,EAAMC,KAAKP,EAAIC,KAAKO,IAAK,MArBlBtB,EA0BnBuB,eAAiB,SAACC,GAAO,IAAAC,EACSzB,EAAKD,MADd0B,EACbC,SADaD,EACHE,QAENC,KAAR,cAAAlB,OAA2Bc,KA3B/BxB,EAAK6B,MAAQ,CACTd,KAAM,GACNG,WAAW,GAJAlB,mFASfG,KAAKI,2CAyBA,IAAAuB,EAAA3B,KACE4B,EAAQ5B,KAAKJ,MAAbgC,KACDC,EAAMD,GAAQA,EAAKhB,MAAQgB,EAAKhB,KAAKiB,IAC3C,OACIC,EAAAb,EAAAc,cAAA,OAAKC,UAAU,iBACXF,EAAAb,EAAAc,cAACE,EAAA,EAAD,CAAWC,OAAO,EAAMC,MAAM,2BAAOC,MAAM,EAAOC,OAAO,QACzDP,EAAAb,EAAAc,cAACO,EAAA,EAAD,CAASvB,UAAWf,KAAK0B,MAAMX,WAEvBf,KAAK0B,MAAMd,MAAQZ,KAAK0B,MAAMd,KAAK2B,OAAS,EACxCT,EAAAb,EAAAc,cAAA,OAAKC,UAAU,kBACXF,EAAAb,EAAAc,cAAA,OAAKC,UAAU,OAAf,+DAAgCH,GAE5B7B,KAAK0B,MAAMd,KAAK4B,IAAI,SAACC,EAAMC,GACvB,IAAMC,EACFb,EAAAb,EAAAc,cAAA,OAAKC,UAAU,QACXF,EAAAb,EAAAc,cAAA,KAAGC,UAAU,QAAQY,QAAS,kBAAMjB,EAAKP,eAAeqB,EAAKI,aAEpDJ,EAAKK,cAGdhB,EAAAb,EAAAc,cAAA,KAAGC,UAAU,2BAA2BS,EAAKM,mBAEzCN,EAAKO,QACClB,EAAAb,EAAAc,cAAA,OAAKC,UAAU,OAAf,iCAA2BS,EAAKQ,eAChCnB,EAAAb,EAAAc,cAAA,OAAKC,UAAU,OAAf,iBAA0BS,EAAKS,YAI3CC,EACFV,EAAKO,SAAWlB,EAAAb,EAAAc,cAAA,QAAMC,UAAU,UAAhB,gBAEpB,OACIF,EAAAb,EAAAc,cAACE,EAAA,EAAD,CACImB,IAAKV,EACLW,IAAKZ,EAAKa,WACVjC,GAAIoB,EAAKI,UACT3B,KAAMyB,EACNQ,OAAQA,EACRI,SAAU5B,EAAKP,oBAMjCU,EAAAb,EAAAc,cAAA,OAAKC,UAAU,YACbF,EAAAb,EAAAc,cAAA,KAAGC,UAAU,aAAb,mFACAF,EAAAb,EAAAc,cAACyB,EAAA,EAAD,CAAMC,GAAG,aAAT,gCAjFRC,aA2FTC,sBACX,SAAAjC,GAAK,MAAK,CAACE,KAAMF,EAAME,OACvB,KAFW+B,CAGbhE","file":"mrstatic/js/purchased.b537a8be.chunk.js","sourcesContent":["import React, {Component} from 'react';\nimport './index.scss';\nimport {HeaderBar, VList} from '../../common'\nimport { http } from \"@/utils\";\nimport {Link} from 'react-router-dom'\nimport {Toast} from 'antd-mobile'\nimport {connect} from \"react-redux\"\nimport {getCourses} from './../detail/actions';\nimport Loading from '@/common/Loading'\n\nclass Purchased extends Component {\n constructor(props) {\n super(props)\n this.state = {\n data: [],\n isLoading: true\n }\n }\n\n componentDidMount() {\n this.getList()\n }\n\n // 获取订单\n getList = () => {\n http.get(`${API.home}/m/my/courses`,).then((res) => {\n if (res.data.code === 200) {\n this.setState({\n data: res.data.data,\n isLoading: false\n })\n } else {\n Toast.info(res.data.msg, 2);\n }\n })\n }\n\n toCourseDetail = (id) => {\n const { dispatch, history } = this.props;\n // dispatch(getCourses(id, () => {\n history.push(`/detail?id=${id}`)\n // }));\n }\n\n\n render() {\n const {user} = this.props\n const uid = user && user.data && user.data.uid\n return (\n <div className='purchased-box'>\n <HeaderBar arrow={true} title='已购课程' cart={false} toHref='/my' />\n <Loading isLoading={this.state.isLoading}>\n {\n this.state.data && this.state.data.length > 0 ?\n <div className=\"purchased-body\">\n <div className='tip'>加群请备注您的学号:{uid}</div>\n {\n this.state.data.map((item, index) => {\n const Info = (\n <div className=\"info\">\n <p className='title' onClick={() => this.toCourseDetail(item.course_id)}>\n {/* <Link to={`/detail?id=${item.course_id}`}> */}\n {item.course_title}\n {/* </Link> */}\n </p>\n <p className='contact text-overflow-2'>{item.simpledescription}</p>\n {\n item.is_aist\n ? <div className='des'>助教微信:{item.assist_weixin}</div>\n : <div className='des'>QQ群:{item.course_qq}</div>\n }\n </div>\n )\n const status = (\n item.is_aist && <span className='status'>返现</span>\n )\n return (\n <VList\n key={index}\n img={item.image_name}\n id={item.course_id}\n info={Info}\n status={status}\n toDetail={this.toCourseDetail}\n />\n )\n })\n }\n </div>\n : <div className=\"cart-tip\">\n <p className='cart-mess'>您还没有课程哦,快去逛逛吧~</p>\n <Link to='/classify'>去逛逛</Link>\n </div>\n }\n </Loading>\n\n </div>\n )\n }\n}\n\nexport default connect(\n state => ({user: state.user}),\n null\n)(Purchased)\n"],"sourceRoot":""}
\ No newline at end of file
!function(e){function r(r){for(var a,n,i=r[0],d=r[1],u=r[2],f=0,l=[];f<i.length;f++)n=i[f],o[n]&&l.push(o[n][0]),o[n]=0;for(a in d)Object.prototype.hasOwnProperty.call(d,a)&&(e[a]=d[a]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,u||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],a=!0,n=1;n<t.length;n++){var d=t[n];0!==o[d]&&(a=!1)}a&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var a={},n={19:0},o={19:0},c=[];function i(r){if(a[r])return a[r].exports;var t=a[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[];n[e]?r.push(n[e]):0!==n[e]&&{1:1,2:1,3:1,4:1,5:1,7:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,17:1,18:1,20:1,21:1,22:1,23:1,24:1,27:1,28:1,29:1,30:1,31:1,32:1}[e]&&r.push(n[e]=new Promise(function(r,t){for(var a="mrstatic/css/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"718dff83",2:"f2f19957",3:"c0829f24",4:"2e7d81ca",5:"f2cc3163",6:"31d6cfe0",7:"8bb031ea",8:"31d6cfe0",9:"e5315535",10:"cda7a495",11:"2649d43f",12:"3a4dbb7a",13:"bef8c404",14:"4a456833",15:"244a3929",17:"3ae12dec",18:"1daf107b",20:"fab97849",21:"f09a5959",22:"5e9927d1",23:"49988cae",24:"b57a1aec",26:"31d6cfe0",27:"4c706a4e",28:"2471f477",29:"0bb224f2",30:"5ed15c7e",31:"ecbb6f9a",32:"278ad3b1"}[e]+".chunk.css",o=i.p+a,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===a||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"))===a||u===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var a=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.request=a,delete n[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){n[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var a=new Promise(function(r,a){t=o[e]=[r,a]});r.push(t[2]=a);var c,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+"mrstatic/js/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"3c608af8",1:"e700db3c",2:"8e026726",3:"1ab8047f",4:"27a1ad77",5:"1c3d037c",6:"4cf8e959",7:"aec5864d",8:"95a2e7a5",9:"7e17e9ac",10:"5ca9b085",11:"3995918d",12:"89e26fce",13:"352b63e3",14:"1a8e01be",15:"7d36d060",17:"fd67b1aa",18:"b537a8be",20:"2e9990f9",21:"bdc0b40c",22:"7c0bc0bb",23:"b63ec723",24:"1db65f64",26:"e7895bdb",27:"0d8c07c7",28:"14f4a3b7",29:"48642f37",30:"dfba7fdd",31:"cb5a7262",32:"37437037"}[e]+".chunk.js"}(e),c=function(r){d.onerror=d.onload=null,clearTimeout(u);var t=o[e];if(0!==t){if(t){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+a+": "+n+")");c.type=a,c.request=n,t[1](c)}o[e]=void 0}};var u=setTimeout(function(){c({type:"timeout",target:d})},12e4);d.onerror=d.onload=c,document.head.appendChild(d)}return Promise.all(r)},i.m=e,i.c=a,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)i.d(t,a,function(r){return e[r]}.bind(null,a));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var 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.c9627c92.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{1174:function(e,t,a){"use strict";a.r(t);a(43);var n=a(14),c=a.n(n),r=a(8),i=a(9),s=a(10),o=a(7),l=a(11),d=a(153),m=a(0),u=a.n(m),g=(a(872),a(30)),v=a(3),h=a(733),f=a.n(h),p=function(e){function t(e){var a;return Object(r.a)(this,t),(a=Object(s.a)(this,Object(o.a)(t).call(this,e))).initCanvas=function(e,t){var n=Object(d.a)(Object(d.a)(a)),c=e[t].poster,r=450*e[t].header_position_x,i=800*e[t].header_position_y,s=(e[t].qr_code_x,e[t].qr_code_y,e[t].qr_code_width,e[t].qr_code_height,"https://m.julyedu.com/detail?id=".concat(Object(v.c)("courseId"),"&dist_code").concat(Object(v.c)("dist_code")),document.getElementById("canvas")),o=s.getContext("2d");console.log(n),n.getBase64(c).then(function(a){var c=new Image;c.src=a;var s=document.getElementById("qrcode"),l=navigator.userAgent.toLowerCase();l.indexOf("Android")>-1||l.indexOf("Adr"),l.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?s=document.getElementById("qrcode"):/(Android)/i.test(navigator.userAgent)&&(s=document.getElementById("qrcode")),c.setAttribute("crossOrigin","anonymous"),c.onload=function(){o.drawImage(c,0,0,450,800),o.drawImage(s,320,685,100,100),o.fillStyle=e[t].username_color,o.font="16px serif",o.fillText("@"+n.state.name,r+50+20,i+25),o.font="14px serif",o.fillText("\u6b63\u5728\u5b66\u4e60\u8be5\u8bfe\u7a0b",r+50+20,i+25+20),o.restore()}}).then(function(){n.getBase64(n.state.imgUrl).then(function(e){var t=new Image;t.src=e,t.setAttribute("crossOrigin","anonymous"),t.setAttribute("border-Radius","50%"),t.onload=function(){n.imgPosition(o,t,r,i,24),o.drawImage(t,r,i,48,48),o.restore(),n.setState({billSrc:n.convertCanvasToImage(s)})}})})},a.children=function(e,t){var a=e.childNodes,n=[];if(/MSIE(6|7|8)/.test(navigator.userAgent))for(var c=0;c<a.length;c++){var r=a[c];1===r.nodeType&&(n[n.length]=r)}else n=Array.prototype.slice.call(e.children);if("string"===typeof t)for(var i=0;i<n.length;i++)(e=n[i]).nodeName.toLowerCase()!==t.toLowerCase()&&(n.splice(i,1),i--);return n},a.imgPosition=function(e,t,a,n,c){e.save();var r=a+c,i=n+c;e.beginPath(),e.arc(r,i,c,0,2*Math.PI),e.clip()},a.getBase64Image=function(e){var t=document.createElement("canvas");t.width=e.width,t.height=e.height,t.getContext("2d").drawImage(e,0,0,e.width,e.height);var a=e.src.substring(e.src.lastIndexOf(".")+1).toLowerCase();return t.toDataURL("image/"+a)},a.convertCanvasToImage=function(e){var t=new Image;return t.src=e.toDataURL("image/png"),t},a.squareClick=function(e){a.setState({smallactive:e}),a.initCanvas(a.state.bgImage,e)},a.state={codeSrc:"",billSrc:"",imgUrl:"",smallListImg:[],smallactive:0,distPrice:"",name:"",bgImage:[]},a}return Object(l.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.getCodeWe(),v.d.get("".concat(API.home,"/m/dist/posters/").concat(Object(v.c)("courseId"),"/").concat(Object(v.c)("uid"))).then(function(t){console.log(t),200===t.data.code?(e.setState({imgUrl:t.data.data.avatar,smallListImg:t.data.data.list,distPrice:t.data.data.dist_course,bgImage:t.data.data.list,name:t.data.data.username}),e.initCanvas(e.state.bgImage,0)):c.a.info(t.data.msg,2)})}},{key:"getCodeWe",value:function(){var e=this,t="https://m.julyedu.com/detail?id=".concat(Object(v.c)("courseId"),"&dist_code=").concat(Object(v.c)("dist_code"));return new Promise(function(a){f.a.toDataURL(t,{},function(t,a){e.setState({codeSrc:a})}),a()})}},{key:"getBase64",value:function(e){var t=this;return new Promise(function(a){var n=null,c=new Image,r=+new Date;c.setAttribute("crossOrigin","anonymous"),c.src=e+"?"+r,c.onload=function(){n=t.getBase64Image(c),a(n)},c.onerror=function(){var a=+new Date;t.getBase64(e+"?"+a)}})}},{key:"render",value:function(){var e=this,t=this.state,a=t.distPrice,n=void 0===a?{}:a,c=t.smallListImg,r=void 0===c?[]:c,i=t.smallactive;return u.a.createElement("div",{className:"share-poster"},u.a.createElement(g.e,{title:"\u751f\u6210\u4e13\u5c5e\u6d77\u62a5",arrow:!0,cart:!1}),u.a.createElement("div",{className:"total-container"},u.a.createElement("div",{className:"placard-img-container",id:"imgWrapper"},u.a.createElement("img",{src:this.state.billSrc.src,alt:""})),u.a.createElement("img",{src:this.state.codeSrc,alt:"",id:"qrcode",className:"placard-code"}),u.a.createElement("canvas",{id:"canvas",width:"450",height:"800",className:""===this.state.billSrc?"":"hide"})),u.a.createElement("div",{className:"placard-desc"},u.a.createElement("span",{className:"placard-sharetxt"},"\u957f\u6309\u4fdd\u5b58\u6d77\u62a5\u5206\u4eab\u7ed9\u597d\u53cb\uff0c\u6bcf\u6709\u4e00\u4eba\u901a\u8fc7\u60a8\u7684\u5206\u4eab\u8d2d\u4e70\u8be5\u8bfe\u7a0b\uff0c\u60a8\u53ef\u4ee5",0===n.count_type&&u.a.createElement("span",{className:"placard-price"},"\u83b7\u5f97",n.first_level_tip,"\u5143\u7684\u4f63\u91d1\u5956\u52b1\u3002"),1===n.count_type&&u.a.createElement("span",{className:"placard-price"},"\u83b7\u5f97\u6210\u4ea4\u91d1\u989d\u7684",n.first_level_scale,"%\u4f5c\u4e3a\u4f63\u91d1\u5956\u52b1\u3002"))),u.a.createElement("div",{className:"placard-swiper"},u.a.createElement("ul",{className:"placard-list"},r.length>0&&r.map(function(t,a){return u.a.createElement("li",{onClick:e.squareClick.bind(e,a),key:a,className:i===a?"active":""},u.a.createElement("img",{src:t.square,alt:""}))}))))}}]),t}(m.Component);t.default=p},872:function(e,t,a){}}]);
//# sourceMappingURL=shareposter.bdc0b40c.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.
self.__precacheManifest = [
{
"revision": "c7d2189fc2e7bc7493cb",
"url": "/mrstatic/css/search.fab97849.chunk.css"
},
{
"revision": "2b19d6c800ae4e376979",
"url": "/mrstatic/js/0.3c608af8.chunk.js"
},
{
"revision": "46ae86f010082c54bfb7",
"url": "/mrstatic/js/BargainMiddlePage.e700db3c.chunk.js"
},
{
"revision": "185ff973fb6ba6709115b3428b02962b",
"url": "/mrstatic/media/redb_chai_bj.185ff973.png"
},
{
"revision": "86f6f03c19d81f88fe23",
"url": "/mrstatic/js/Classify.8e026726.chunk.js"
},
{
"revision": "2edb3245777c87e5169d19aea9ea482c",
"url": "/mrstatic/media/redb_money_bj.2edb3245.png"
},
{
"revision": "a329c498cc734d11bfac",
"url": "/mrstatic/js/CourseList.1ab8047f.chunk.js"
},
{
"revision": "5f30ed5620a93a581089dd0296b90045",
"url": "/mrstatic/media/redb_sp_bj.5f30ed56.png"
},
{
"revision": "f8eff47d3f6880285d44",
"url": "/mrstatic/js/DrawDocument.27a1ad77.chunk.js"
},
{
"revision": "79139f6aad350256e151f9f73c226348",
"url": "/mrstatic/media/hb_bj.79139f6a.png"
},
{
"revision": "c1ff577bcae43791e990",
"url": "/mrstatic/js/Examination.1c3d037c.chunk.js"
},
{
"revision": "4a3c883e3808eaeb63cb",
"url": "/mrstatic/js/MyEdit.4cf8e959.chunk.js"
},
{
"revision": "80011994e30adf599e5f47fcc81bc06d",
"url": "/mrstatic/media/progress-share-bg.80011994.png"
},
{
"revision": "d00a33a84688d6184e9b",
"url": "/mrstatic/js/Order.aec5864d.chunk.js"
},
{
"revision": "b76a6aac02dacef0bbb9",
"url": "/mrstatic/js/Orderinfo.95a2e7a5.chunk.js"
},
{
"revision": "81a489ac63f2f2df5ab412e0782bd54c",
"url": "/mrstatic/media/kanjia_cg_icon.81a489ac.png"
},
{
"revision": "fc9babe0b010f15c67d4",
"url": "/mrstatic/js/PayOrder.7e17e9ac.chunk.js"
},
{
"revision": "f983caa7c06f105373e7e1aec42da261",
"url": "/mrstatic/media/iconfont.f983caa7.svg"
},
{
"revision": "dccddcc78a0882e96bdd",
"url": "/mrstatic/js/Preferential.5ca9b085.chunk.js"
},
{
"revision": "145742789ab409c81f28938b15b5dee7",
"url": "/mrstatic/media/iconfont.14574278.ttf"
},
{
"revision": "35d9dcdbcb76874e4ca7",
"url": "/mrstatic/js/SearchResult.3995918d.chunk.js"
},
{
"revision": "cd1c41437a2e35a283e4b16b620a8c9e",
"url": "/mrstatic/media/iconfont.cd1c4143.eot"
},
{
"revision": "6dc59c93d27b567b6d2a",
"url": "/mrstatic/js/ShopCart.89e26fce.chunk.js"
},
{
"revision": "7b542c778563daa7cc420d21ed1601b3",
"url": "/mrstatic/media/iconfont.7b542c77.woff"
},
{
"revision": "a298d86fd79f9670e01f",
"url": "/mrstatic/js/aist-share.352b63e3.chunk.js"
},
{
"revision": "e7e947e74b8db263caca",
"url": "/mrstatic/js/32.37437037.chunk.js"
},
{
"revision": "6882ae04d3026ec28d62",
"url": "/mrstatic/js/coupons.1a8e01be.chunk.js"
},
{
"revision": "9f9aa6d65445dcdb4f59",
"url": "/mrstatic/js/31.cb5a7262.chunk.js"
},
{
"revision": "ea39ac394497c1150920",
"url": "/mrstatic/js/detail.7d36d060.chunk.js"
},
{
"revision": "0ecbb54ecbaa1e97d687",
"url": "/mrstatic/js/30.dfba7fdd.chunk.js"
},
{
"revision": "e1b1c011af573e1c6334",
"url": "/mrstatic/js/main.f6b9ed7b.chunk.js"
},
{
"revision": "3a6010d9bab79f3dbcc0",
"url": "/mrstatic/js/29.48642f37.chunk.js"
},
{
"revision": "58a7663e91150512edeb",
"url": "/mrstatic/js/myorders.fd67b1aa.chunk.js"
},
{
"revision": "0cc5cd474a24c8c71ca3",
"url": "/mrstatic/js/28.14f4a3b7.chunk.js"
},
{
"revision": "2b50545c5fb6e9795371",
"url": "/mrstatic/js/purchased.b537a8be.chunk.js"
},
{
"revision": "4655258bbee7407dc5ab",
"url": "/mrstatic/js/runtime~main.c9627c92.js"
},
{
"revision": "8ac6a70b679883b6fc51",
"url": "/mrstatic/js/27.0d8c07c7.chunk.js"
},
{
"revision": "c7d2189fc2e7bc7493cb",
"url": "/mrstatic/js/search.2e9990f9.chunk.js"
},
{
"revision": "ff14a80f4bb7fe379ee7",
"url": "/mrstatic/js/26.e7895bdb.chunk.js"
},
{
"revision": "bec408449af5e68dc6e7",
"url": "/mrstatic/js/shareposter.bdc0b40c.chunk.js"
},
{
"revision": "dfbbd7a477505cd1dd39",
"url": "/mrstatic/js/25.556b06e7.chunk.js"
},
{
"revision": "c17dad6fa610a22853fa",
"url": "/mrstatic/js/study.7c0bc0bb.chunk.js"
},
{
"revision": "7361f2aac51627eebefa",
"url": "/mrstatic/js/video.1db65f64.chunk.js"
},
{
"revision": "4cdb64ed752c0a7ddfad",
"url": "/mrstatic/js/togroup.b63ec723.chunk.js"
},
{
"revision": "ea39ac394497c1150920",
"url": "/mrstatic/css/detail.244a3929.chunk.css"
},
{
"revision": "7361f2aac51627eebefa",
"url": "/mrstatic/css/video.b57a1aec.chunk.css"
},
{
"revision": "e7e947e74b8db263caca",
"url": "/mrstatic/css/32.278ad3b1.chunk.css"
},
{
"revision": "dfbbd7a477505cd1dd39",
"url": "/mrstatic/css/25.49a4fffb.chunk.css"
},
{
"revision": "bec408449af5e68dc6e7",
"url": "/mrstatic/css/shareposter.f09a5959.chunk.css"
},
{
"revision": "8ac6a70b679883b6fc51",
"url": "/mrstatic/css/27.4c706a4e.chunk.css"
},
{
"revision": "46ae86f010082c54bfb7",
"url": "/mrstatic/css/BargainMiddlePage.718dff83.chunk.css"
},
{
"revision": "0cc5cd474a24c8c71ca3",
"url": "/mrstatic/css/28.2471f477.chunk.css"
},
{
"revision": "2b50545c5fb6e9795371",
"url": "/mrstatic/css/purchased.1daf107b.chunk.css"
},
{
"revision": "3a6010d9bab79f3dbcc0",
"url": "/mrstatic/css/29.0bb224f2.chunk.css"
},
{
"revision": "58a7663e91150512edeb",
"url": "/mrstatic/css/myorders.3ae12dec.chunk.css"
},
{
"revision": "0ecbb54ecbaa1e97d687",
"url": "/mrstatic/css/30.5ed15c7e.chunk.css"
},
{
"revision": "e1b1c011af573e1c6334",
"url": "/mrstatic/css/main.ad15f1e8.chunk.css"
},
{
"revision": "9f9aa6d65445dcdb4f59",
"url": "/mrstatic/css/31.ecbb6f9a.chunk.css"
},
{
"revision": "4cdb64ed752c0a7ddfad",
"url": "/mrstatic/css/togroup.49988cae.chunk.css"
},
{
"revision": "c17dad6fa610a22853fa",
"url": "/mrstatic/css/study.5e9927d1.chunk.css"
},
{
"revision": "6882ae04d3026ec28d62",
"url": "/mrstatic/css/coupons.4a456833.chunk.css"
},
{
"revision": "a298d86fd79f9670e01f",
"url": "/mrstatic/css/aist-share.bef8c404.chunk.css"
},
{
"revision": "6dc59c93d27b567b6d2a",
"url": "/mrstatic/css/ShopCart.3a4dbb7a.chunk.css"
},
{
"revision": "35d9dcdbcb76874e4ca7",
"url": "/mrstatic/css/SearchResult.2649d43f.chunk.css"
},
{
"revision": "dccddcc78a0882e96bdd",
"url": "/mrstatic/css/Preferential.cda7a495.chunk.css"
},
{
"revision": "fc9babe0b010f15c67d4",
"url": "/mrstatic/css/PayOrder.e5315535.chunk.css"
},
{
"revision": "d00a33a84688d6184e9b",
"url": "/mrstatic/css/Order.8bb031ea.chunk.css"
},
{
"revision": "c1ff577bcae43791e990",
"url": "/mrstatic/css/Examination.f2cc3163.chunk.css"
},
{
"revision": "f8eff47d3f6880285d44",
"url": "/mrstatic/css/DrawDocument.2e7d81ca.chunk.css"
},
{
"revision": "a329c498cc734d11bfac",
"url": "/mrstatic/css/CourseList.c0829f24.chunk.css"
},
{
"revision": "86f6f03c19d81f88fe23",
"url": "/mrstatic/css/Classify.f2f19957.chunk.css"
},
{
"revision": "018b26835787cfa20549a9523a3f8945",
"url": "/index.html"
}
];
\ No newline at end of file
...@@ -1508,11 +1508,6 @@ ...@@ -1508,11 +1508,6 @@
"minimist": "^1.2.0" "minimist": "^1.2.0"
} }
}, },
"lodash": {
"version": "4.17.11",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
"integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg=="
},
"resolve": { "resolve": {
"version": "1.10.0", "version": "1.10.0",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.10.0.tgz", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.10.0.tgz",
...@@ -1598,6 +1593,11 @@ ...@@ -1598,6 +1593,11 @@
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
"integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA=="
}, },
"lodash": {
"version": "4.17.15",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
"integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
},
"ms": { "ms": {
"version": "2.1.1", "version": "2.1.1",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
...@@ -3984,6 +3984,14 @@ ...@@ -3984,6 +3984,14 @@
"resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",
"integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=" "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40="
}, },
"copy-to-clipboard": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.2.0.tgz",
"integrity": "sha512-eOZERzvCmxS8HWzugj4Uxl8OJxa7T2k1Gi0X5qavwydHIfuSHq2dTD09LOg/XyGq4Zpb5IsR/2OJ5lbOegz78w==",
"requires": {
"toggle-selection": "^1.0.6"
}
},
"core-js": { "core-js": {
"version": "2.6.5", "version": "2.6.5",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.5.tgz", "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.5.tgz",
...@@ -5405,9 +5413,12 @@ ...@@ -5405,9 +5413,12 @@
} }
}, },
"eslint-utils": { "eslint-utils": {
"version": "1.3.1", "version": "1.4.2",
"resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.3.1.tgz", "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.2.tgz",
"integrity": "sha512-Z7YjnIldX+2XMcjr7ZkgEsOj/bREONV60qYeB/bjMAqqqZ4zxKyWX+BOUkdmRmA9riiIPVvo5x86m5elviOk0Q==" "integrity": "sha512-eAZS2sEUMlIeCjBeubdj45dmBHQwPHWyBcT1VSYB7o9x9WRRqKxyUoiXlRjyAwzN7YEzHJlYg0NmzDRWx6GP4Q==",
"requires": {
"eslint-visitor-keys": "^1.0.0"
}
}, },
"eslint-visitor-keys": { "eslint-visitor-keys": {
"version": "1.0.0", "version": "1.0.0",
...@@ -9252,9 +9263,9 @@ ...@@ -9252,9 +9263,9 @@
"integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=" "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4="
}, },
"lodash.mergewith": { "lodash.mergewith": {
"version": "4.6.1", "version": "4.6.2",
"resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.1.tgz", "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz",
"integrity": "sha512-eWw5r+PYICtEBgrBE5hhlT6aAa75f411bgDz/ZL2KZqYV03USvucsxcHUIlGTDTECs1eunpI7HOV7U+WLDvNdQ==" "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ=="
}, },
"lodash.sortby": { "lodash.sortby": {
"version": "4.7.0", "version": "4.7.0",
...@@ -9736,9 +9747,9 @@ ...@@ -9736,9 +9747,9 @@
} }
}, },
"mixin-deep": { "mixin-deep": {
"version": "1.3.1", "version": "1.3.2",
"resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz",
"integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==", "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==",
"requires": { "requires": {
"for-in": "^1.0.2", "for-in": "^1.0.2",
"is-extendable": "^1.0.1" "is-extendable": "^1.0.1"
...@@ -12068,6 +12079,15 @@ ...@@ -12068,6 +12079,15 @@
} }
} }
}, },
"react-copy-to-clipboard": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/react-copy-to-clipboard/-/react-copy-to-clipboard-5.0.1.tgz",
"integrity": "sha512-ELKq31/E3zjFs5rDWNCfFL4NvNFQvGRoJdAKReD/rUPA+xxiLPQmZBZBvy2vgH7V0GE9isIQpT9WXbwIVErYdA==",
"requires": {
"copy-to-clipboard": "^3",
"prop-types": "^15.5.8"
}
},
"react-dev-utils": { "react-dev-utils": {
"version": "8.0.0", "version": "8.0.0",
"resolved": "https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-8.0.0.tgz", "resolved": "https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-8.0.0.tgz",
...@@ -13325,9 +13345,9 @@ ...@@ -13325,9 +13345,9 @@
"integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc="
}, },
"set-value": { "set-value": {
"version": "2.0.0", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz",
"integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==", "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==",
"requires": { "requires": {
"extend-shallow": "^2.0.1", "extend-shallow": "^2.0.1",
"is-extendable": "^0.1.1", "is-extendable": "^0.1.1",
...@@ -14472,6 +14492,11 @@ ...@@ -14472,6 +14492,11 @@
"repeat-string": "^1.6.1" "repeat-string": "^1.6.1"
} }
}, },
"toggle-selection": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz",
"integrity": "sha1-bkWxJj8gF/oKzH2J14sVuL932jI="
},
"topo": { "topo": {
"version": "2.0.2", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/topo/-/topo-2.0.2.tgz", "resolved": "https://registry.npmjs.org/topo/-/topo-2.0.2.tgz",
...@@ -14657,35 +14682,14 @@ ...@@ -14657,35 +14682,14 @@
} }
}, },
"union-value": { "union-value": {
"version": "1.0.0", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz",
"integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=", "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==",
"requires": { "requires": {
"arr-union": "^3.1.0", "arr-union": "^3.1.0",
"get-value": "^2.0.6", "get-value": "^2.0.6",
"is-extendable": "^0.1.1", "is-extendable": "^0.1.1",
"set-value": "^0.4.3" "set-value": "^2.0.1"
},
"dependencies": {
"extend-shallow": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
"requires": {
"is-extendable": "^0.1.0"
}
},
"set-value": {
"version": "0.4.3",
"resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz",
"integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=",
"requires": {
"extend-shallow": "^2.0.1",
"is-extendable": "^0.1.1",
"is-plain-object": "^2.0.1",
"to-object-path": "^0.3.0"
}
}
} }
}, },
"uniq": { "uniq": {
......
...@@ -43,7 +43,9 @@ class App extends Component { ...@@ -43,7 +43,9 @@ class App extends Component {
script.src = 'https://s22.cnzz.com/z_stat.php?id=1265696973&web_id=1265696973'; script.src = 'https://s22.cnzz.com/z_stat.php?id=1265696973&web_id=1265696973';
script.language = 'JavaScript'; script.language = 'JavaScript';
document.body.appendChild(script); document.body.appendChild(script);
this.setNavigationRecord(this.props.location)
//平台信息 //平台信息
cookie.set('plat', '5', {domain: '.julyedu.com'}) cookie.set('plat', '5', {domain: '.julyedu.com'})
...@@ -56,8 +58,9 @@ class App extends Component { ...@@ -56,8 +58,9 @@ class App extends Component {
const routeMatchRule = /binding-tel|forgot|set-password/ const routeMatchRule = /binding-tel|forgot|set-password/
const {history} = this.props const {history} = this.props
history.listen(location => { history.listen((location, action) => {
if(cookie.get('uid') && this.props.user.hasError){ this.setNavigationRecord(location)
if (cookie.get('uid') && this.props.user.hasError) {
this.getUser() this.getUser()
} }
const {pathname} = location const {pathname} = location
...@@ -70,9 +73,19 @@ class App extends Component { ...@@ -70,9 +73,19 @@ class App extends Component {
}) })
}
setNavigationRecord = (location) => {
let {location: _location} = this.props
let {state: _state = {}} = _location
let {state = {}} = location
location.state = {
...state, ...{
record: _state.record ?
[..._state.record, {pathname: location.pathname, search: location.search, hash: location.hash}] :
[{pathname: location.pathname, search: '', hash: ''}]
}
}
} }
getUser = () => { getUser = () => {
......
...@@ -9,10 +9,15 @@ class HeaderBar extends Component { ...@@ -9,10 +9,15 @@ class HeaderBar extends Component {
} }
goBack = () => { goBack = () => {
const {state} = this.props.location
if(browser.isWeixin && getParam('code') && getParam('state')){ if(browser.isWeixin && getParam('code') && getParam('state')){
window.history.go(-2) window.history.go(-2)
} }
window.history.go(-1); if(state.record && state.record.length > 1){
window.history.go(-1);
}else{
window.location.href = window.location.origin
}
} }
toLink = () => { toLink = () => {
......
...@@ -10,7 +10,6 @@ import LiveRoom from './liveRoom' ...@@ -10,7 +10,6 @@ import LiveRoom from './liveRoom'
import { Link } from "react-router-dom" import { Link } from "react-router-dom"
import { Toast } from 'antd-mobile' import { Toast } from 'antd-mobile'
import { connect } from "react-redux"; import { connect } from "react-redux";
import { getCourses } from './../detail/actions';
const animateTypes = Swiper.animateTypes const animateTypes = Swiper.animateTypes
...@@ -148,10 +147,10 @@ class Index extends Component { ...@@ -148,10 +147,10 @@ class Index extends Component {
this.state.tabdata.map((item, index) => { this.state.tabdata.map((item, index) => {
return ( return (
<li key={index}> <li key={index}>
<a href={item.href}> <Link to={item.href}>
<img src={item.src} alt="" /> <img src={item.src} alt="" />
<span>{item.name}</span> <span>{item.name}</span>
</a> </Link>
</li> </li>
) )
}) })
......
...@@ -4,6 +4,7 @@ import {HeaderBar, VList} from '@/common'; ...@@ -4,6 +4,7 @@ import {HeaderBar, VList} from '@/common';
import {http, getParam, SendMessageToApp} from '@/utils'; import {http, getParam, SendMessageToApp} from '@/utils';
import {Toast} from 'antd-mobile'; import {Toast} from 'antd-mobile';
class ShareCourse extends Component { class ShareCourse extends Component {
constructor(props) { constructor(props) {
......
import React, {Component} from 'react' import React, { Component } from 'react'
import {WingBlank} from 'antd-mobile' import { WingBlank } from 'antd-mobile'
import './index.scss' import './index.scss'
import {api, getParam, http} from "@/utils" import { getParam, http } from "@/utils"
// 课程页面滚动广告 // 课程页面滚动广告
class Carouselw extends Component { class Barrage extends Component {
timer timer
barageTimer barageTimer
constructor(props) { constructor(props) {
super(props) super(props)
this.state = { this.state = {
...@@ -26,10 +27,9 @@ class Carouselw extends Component { ...@@ -26,10 +27,9 @@ class Carouselw extends Component {
] ]
const now = new Date(Date.now()).getHours() const now = new Date(Date.now()).getHours()
for (let period of periods) { for (let period of periods) {
if(now >= period.start && now <= period.end){ if (now >= period.start && now <= period.end) {
this.timer = setTimeout(() => { this.timer = setTimeout(() => {
this.getList() this.getList()
this.setupBarrage()
}, period.interval) }, period.interval)
break break
} }
...@@ -39,9 +39,11 @@ class Carouselw extends Component { ...@@ -39,9 +39,11 @@ class Carouselw extends Component {
componentDidUpdate(prevProps) { componentDidUpdate(prevProps) {
const {isShow} = this.props const {isShow} = this.props
const {isShow: prevIsShow} = prevProps const {isShow: prevIsShow} = prevProps
if(prevIsShow !== isShow && isShow !== undefined){ if (prevIsShow !== isShow && isShow !== undefined) {
if(isShow){ if (isShow) {
this.setupBarrage() setTimeout(() => {
this.getList()
}, 5000)
} }
this.componentDidUpdate = null this.componentDidUpdate = null
} }
...@@ -66,6 +68,7 @@ class Carouselw extends Component { ...@@ -66,6 +68,7 @@ class Carouselw extends Component {
}, () => { }, () => {
this.barageTimer = setTimeout(() => { this.barageTimer = setTimeout(() => {
this.setState({isShowBarrage: !this.state.isShowBarrage}) this.setState({isShowBarrage: !this.state.isShowBarrage})
this.setupBarrage()
}, 5000) }, 5000)
}); });
} }
...@@ -84,7 +87,7 @@ class Carouselw extends Component { ...@@ -84,7 +87,7 @@ class Carouselw extends Component {
</div> </div>
} }
</div> </div>
{/* {/*
<Carousel className="my-carousel" <Carousel className="my-carousel"
vertical vertical
dots={false} dots={false}
...@@ -106,4 +109,4 @@ class Carouselw extends Component { ...@@ -106,4 +109,4 @@ class Carouselw extends Component {
} }
} }
export default Carouselw export default Barrage
\ No newline at end of file \ No newline at end of file
...@@ -428,6 +428,7 @@ class Detail extends Component { ...@@ -428,6 +428,7 @@ class Detail extends Component {
render() { render() {
const { course: { course_info={} }, barInfo, singleBox, singleType, isRedPacket } = this.state; const { course: { course_info={} }, barInfo, singleBox, singleType, isRedPacket } = this.state;
let courseInfo = '', let courseInfo = '',
service = '', service = '',
number = 0, number = 0,
...@@ -524,6 +525,7 @@ class Detail extends Component { ...@@ -524,6 +525,7 @@ class Detail extends Component {
</p> </p>
</div> </div>
{/*试听弹窗*/} {/*试听弹窗*/}
<Audition auditionBox={this.state.auditionBox} boxHide={this.boxHide}/> <Audition auditionBox={this.state.auditionBox} boxHide={this.boxHide}/>
......
import React, { PureComponent } from 'react'; import React, { PureComponent } from 'react';
import {connect} from 'react-redux';
import SearchHeader from './searchHead' import SearchHeader from './searchHead'
import VList from '@/common/VList' import VList from '@/common/VList'
import { http, getParam } from '@/utils' import { http, getParam } from '@/utils'
import './search-result.scss' import './search-result.scss'
import Recommendation from './recommendation' import Recommendation from './recommendation'
import {getCourses} from './../detail/actions'; import throttle from 'lodash/throttle'
const ForwardRefSearchHead = React.forwardRef((props, ref) => {
return <SearchHeader {...props} forwardedRef={ref}/>
})
const Bottom = ({item}) => { const Bottom = ({item}) => {
return ( return (
...@@ -16,17 +20,28 @@ const Bottom = ({item}) => { ...@@ -16,17 +20,28 @@ const Bottom = ({item}) => {
) )
} }
@connect()
class SearchResult extends PureComponent { class SearchResult extends PureComponent {
prevScrollY = 0
searchHead = React.createRef()
swipeUp = 'up'
swipeDown = 'down'
state = { state = {
courseList: [], courseList: [],
value: '', value: decodeURIComponent(getParam('word')) || '',
searchHistory: JSON.parse(localStorage.getItem('searchHistory')) || [] searchHistory: JSON.parse(localStorage.getItem('searchHistory')) || [],
fixedHeader: false,
searchHeadStyle: {top: 0},
swipeDirection: this.swipeUp
} }
componentDidMount() { componentDidMount() {
this.getCourses(getParam('word')) this.getCourses(getParam('word'))
document.addEventListener('scroll', this.handleScroll)
}
componentWillUnmount() {
document.removeEventListener('scroll', this.handleScroll)
} }
...@@ -56,22 +71,65 @@ class SearchResult extends PureComponent { ...@@ -56,22 +71,65 @@ class SearchResult extends PureComponent {
} }
toCourseDetail = (id) => { toCourseDetail = (id) => {
const { dispatch, history } = this.props; const {history} = this.props;
// dispatch(getCourses(id, () => { history.push(`/detail?id=${id}`)
history.push(`/detail?id=${id}`)
// }));
} }
handleScroll = throttle(() => {
let y = window.scrollY, headY = this.searchHead.current.offsetTop
if (y < this.prevScrollY) {
if (this.state.swipeDirection === this.swipeDown) {
y <= headY && this.state.searchHeadStyle.position !== 'fixed' && this.setState({
searchHeadStyle: {
top: `0`,
position: 'fixed'
}
})
} else {
this.setState({
swipeDirection: this.swipeDown
}, () => {
if (this.state.swipeDirection === this.swipeDown) {
this.setState({
searchHeadStyle: {
top: `${y > headY ? y - 44 : y}px`
}
})
}
})
}
} else {
this.state.swipeDirection !== this.swipeUp &&
this.setState({
swipeDirection: this.swipeUp,
searchHeadStyle: {
position: 'absolute',
top: `${y}px`
}
})
}
this.prevScrollY = y
}, 0)
render() { render() {
const {courseList} = this.state const {courseList} = this.state
return ( return (
<div className='search-result'> <div
<SearchHeader className={'search-result'}>
<ForwardRefSearchHead
handleSearch={this.handleSearch} handleSearch={this.handleSearch}
value={this.state.value} value={this.state.value}
handleChange={this.handleChange} handleChange={this.handleChange}
searchHistory={this.state.searchHistory} searchHistory={this.state.searchHistory}
style={this.state.searchHeadStyle}
ref={this.searchHead}
/> />
{ {
...@@ -115,7 +173,8 @@ class SearchResult extends PureComponent { ...@@ -115,7 +173,8 @@ class SearchResult extends PureComponent {
抱歉!没有搜到相关内容 抱歉!没有搜到相关内容
</div> </div>
} }
<Recommendation /> <Recommendation/>
</div> </div>
); );
} }
......
.search-result { .search-result {
padding-top: 44px;
.search-head{
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 10;
}
ul { ul {
list-style: none; list-style: none;
} }
......
...@@ -5,6 +5,8 @@ import { http } from '@/utils' ...@@ -5,6 +5,8 @@ import { http } from '@/utils'
import { Toast } from "antd-mobile"; import { Toast } from "antd-mobile";
import classnames from 'classnames' import classnames from 'classnames'
import { isEmpty } from 'lodash' import { isEmpty } from 'lodash'
import InfiniteScroll from "react-infinite-scroller";
import {HashLoader} from 'react-spinners'
import './free-courses.scss' import './free-courses.scss'
...@@ -17,11 +19,14 @@ const Bottom = (props) => ( ...@@ -17,11 +19,14 @@ const Bottom = (props) => (
) )
class FreeCourse extends PureComponent { class FreeCourse extends PureComponent {
page = 1
num = 10
state = { state = {
courses: [], courses: [],
live: [], live: [],
page: 1, page: 1,
num: 10 hasMore: false
} }
componentDidMount() { componentDidMount() {
...@@ -31,6 +36,7 @@ class FreeCourse extends PureComponent { ...@@ -31,6 +36,7 @@ class FreeCourse extends PureComponent {
if (data.code == 200) { if (data.code == 200) {
this.setState({ this.setState({
courses: data.data, courses: data.data,
hasMore: true
}) })
} else { } else {
Toast.info(data.msg) Toast.info(data.msg)
...@@ -54,7 +60,7 @@ class FreeCourse extends PureComponent { ...@@ -54,7 +60,7 @@ class FreeCourse extends PureComponent {
} }
getFreeCourses = () => { getFreeCourses = () => {
return http.get(`${API.home}/m/free_course/${this.state.page}/${this.state.num}`) return http.get(`${API.home}/m/free_course/${this.page++}/${this.num}`)
} }
getFreeLive = () => { getFreeLive = () => {
...@@ -70,9 +76,38 @@ class FreeCourse extends PureComponent { ...@@ -70,9 +76,38 @@ class FreeCourse extends PureComponent {
} }
} }
loadFunc = () => {
if (this.state.hasMore) {
this.setState({
hasMore: this.state.courses.length % 10 === 0
}, () => {
this.getFreeCourses()
.then(res => {
let data = res.data
if (data.code == 200) {
Array.isArray(data.data) && this.setState({
courses: this.state.courses.concat(data.data),
hasMore: data.data.length % 10 === 0
})
} else {
Toast.info(data.msg)
}
})
})
}
}
render() { render() {
return ( return (
<ul className='free-courses'> <InfiniteScroll
pageStart={0}
loadMore={this.loadFunc}
useWindow={false}
className={'free-courses'}
element={'ul'}
hasMore={this.state.hasMore}
threshold={250}
>
{ {
this.state.live.map((item, index) => { this.state.live.map((item, index) => {
const Bottom = ( const Bottom = (
...@@ -119,7 +154,7 @@ class FreeCourse extends PureComponent { ...@@ -119,7 +154,7 @@ class FreeCourse extends PureComponent {
/> />
)) ))
} }
</ul> </InfiniteScroll>
) )
} }
} }
......
...@@ -12,7 +12,6 @@ const PAGE_INTERVAL = 1 ...@@ -12,7 +12,6 @@ const PAGE_INTERVAL = 1
export const NUM_INTERVAL = 10 export const NUM_INTERVAL = 10
export const fetchCoursesListIfNeeded = () => (dispatch, getState) => { export const fetchCoursesListIfNeeded = () => (dispatch, getState) => {
const myCourses = getState().myCourses const myCourses = getState().myCourses
// console.log(myCourses);
const {switchTab, page, noMore} = myCourses const {switchTab, page, noMore} = myCourses
if (!switchTab && !noMore) { if (!switchTab && !noMore) {
dispatch(getMyCourses({ dispatch(getMyCourses({
......
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