Commit d05959a1 by zhanghaozhe

视频安全问题

parents 4b8adb01 783627e3
#share-content{width:100%;height:auto;min-height:100%;background-color:#470bc8;padding:8vw 0 10.666667vw;position:relative;text-align:center;font-family:Microsoft YaHei,Helvetica Neue,STHeiti,Helvetica,Arial,sans-serif}#share-content .tab{display:flex;justify-content:center;margin:0 auto 5.333333vw}#share-content .tab li{width:22.133333vw;height:8.533333vw;line-height:8.533333vw;color:#fee41d;border:1px solid #fee41d;font-size:4.266667vw;background-color:#470bc8}#share-content .tab li:first-child{border-radius:1.066667vw 0 0 1.066667vw}#share-content .tab li:last-child{border-radius:0 1.066667vw 1.066667vw 0}#share-content .tab .active{color:#090f08;background:#fee41d;border:1px solid #fee41d}#poster{height:100%;overflow:hidden;-webkit-overflow-scrolling:touch;-webkit-touch-callout:none}#poster,#poster .placard-desc{width:100%;background-color:#470bc8}#poster .placard-desc{color:#fff;font-size:3.733333vw;margin-bottom:4vw}#poster .total-container{height:90%}#poster .total-container,#poster .total-container .placard-img-container{width:100%;position:relative}#poster .total-container .placard-img-container img{width:72%}#prizes{padding:0 2.666667vw;height:auto}#prizes .content{padding:5.333333vw 2.666667vw 8vw;background-color:#3f07b8;border:1px solid #5970ff;border-radius:1.066667vw;text-align:center;margin-bottom:8vw}#prizes .part-title__decorate{display:block;width:61.866667vw;height:.533333vw;margin:0 auto;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 48%,hsla(0,0%,100%,0))}#prizes .part-title__txt{display:inline-block;height:8.533333vw;line-height:8.533333vw;font-size:4.266667vw;color:#fff;font-weight:400;letter-spacing:.533333vw}#prizes .prize-img{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:5.333333vw}#prizes .prize-img .img-box{width:31.3%;height:29.866667vw;margin-bottom:1.333333vw}#prizes .prize-img .img-box img{width:100%;height:100%}#prizes .rule{display:inline-block;width:26.933333vw;height:7.466667vw;line-height:7.466667vw;border:1px solid #fee41d;border-radius:3.733333vw;margin-top:4vw;color:#fee41d;font-size:4vw}#prizes .tip{margin-top:4vw;font-size:3.2vw;color:#fff}#prizes .ranking{width:100%;margin-top:5.333333vw}#prizes .ranking tr{height:11.733333vw;line-height:11.733333vw}#prizes .ranking thead{color:#fee41d;font-size:3.733333vw;font-weight:500;background-color:#490ad1}#prizes .ranking tbody{color:#fff;font-weight:400;font-size:3.2vw}#prizes .ranking tbody tr td:first-child{font-size:3.733333vw}#prizes .ranking tbody tr:nth-child(odd){background-color:#470ac9}#prizes .ranking tbody tr:nth-child(2n){background-color:#490ad1}.mbc-box{position:fixed;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.6)}.mbc-box .rele-content{display:inline-block;width:85.333333vw;background:#fff;border-radius:1.333333vw;padding:5.333333vw 7.466667vw 8vw;box-sizing:border-box;margin:38.666667vw auto 8vw}.mbc-box .rele-content .title{font-size:4.8vw;color:#111;margin-bottom:5.333333vw;font-weight:400}.mbc-box .rele-content p{text-align:left;font-size:3.733333vw;color:#666;line-height:4.8vw;margin-bottom:.8vw}.mbc-box .close{display:block;margin:auto;width:8.8vw;height:8.8vw} #share-content{width:100%;height:auto;min-height:100%;background-color:#470bc8;padding:8vw 0 10.666667vw;position:relative;text-align:center;font-family:Microsoft YaHei,Helvetica Neue,STHeiti,Helvetica,Arial,sans-serif}#share-content .tab{display:flex;justify-content:center;margin:0 auto 5.333333vw}#share-content .tab li{width:22.133333vw;height:8.533333vw;line-height:8.533333vw;color:#fee41d;border:1px solid #fee41d;font-size:4.266667vw;background-color:#470bc8}#share-content .tab li:first-child{border-radius:1.066667vw 0 0 1.066667vw}#share-content .tab li:last-child{border-radius:0 1.066667vw 1.066667vw 0}#share-content .tab .active{color:#090f08;background:#fee41d;border:1px solid #fee41d}#poster{height:100%;overflow:hidden;-webkit-overflow-scrolling:touch;-webkit-touch-callout:none}#poster,#poster .placard-desc{width:100%;background-color:#470bc8}#poster .placard-desc{color:#fff;font-size:3.733333vw;margin-bottom:4vw}#poster .total-container{height:90%}#poster .total-container,#poster .total-container .placard-img-container{width:100%;position:relative}#poster .total-container .placard-img-container img{width:72%}#prizes{padding:0 2.666667vw;height:auto}#prizes .content{padding:5.333333vw 2.666667vw 8vw;background-color:#3f07b8;border:1px solid #5970ff;border-radius:1.066667vw;text-align:center;margin-bottom:8vw}#prizes .part-title__decorate{display:block;width:61.866667vw;height:.533333vw;margin:0 auto;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 48%,hsla(0,0%,100%,0))}#prizes .part-title__txt{display:inline-block;height:8.533333vw;line-height:8.533333vw;font-size:4.266667vw;color:#fff;font-weight:400;letter-spacing:.533333vw}#prizes .prize-img{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:5.333333vw}#prizes .prize-img .img-box{width:31.3%;height:29.866667vw;margin-bottom:1.333333vw}#prizes .prize-img .img-box img{width:100%;height:100%}#prizes .rule{display:inline-block;width:26.933333vw;height:7.466667vw;line-height:7.466667vw;border:1px solid #fee41d;border-radius:3.733333vw;margin-top:4vw;color:#fee41d;font-size:4vw}#prizes .tip{margin-top:4vw;font-size:3.2vw;color:#fff}#prizes .ranking{width:100%;margin-top:5.333333vw}#prizes .ranking tr{height:11.733333vw;line-height:11.733333vw}#prizes .ranking thead{color:#fee41d;font-size:3.733333vw;font-weight:500;background-color:#490ad1}#prizes .ranking tbody{color:#fff;font-weight:400;font-size:3.2vw}#prizes .ranking tbody tr td:first-child{font-size:3.733333vw}#prizes .ranking tbody tr:nth-child(odd){background-color:#470ac9}#prizes .ranking tbody tr:nth-child(2n){background-color:#490ad1}.mbc-box{position:fixed;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.6)}.mbc-box .rele-content-box{width:85.333333vw;height:104vw;position:absolute;top:50%;left:50%;box-sizing:border-box;margin-top:-53.333333vw;margin-left:-42.666667vw;letter-spacing:1px;background-color:#fff;border-radius:1.333333vw;padding:4vw 7.466667vw 6.666667vw}.mbc-box .title{font-size:4.8vw;color:#111;margin-bottom:4vw;font-weight:400}.mbc-box .rele-content{height:80vw;overflow-y:auto}.mbc-box .rele-content p{text-align:left;font-size:3.733333vw;color:#666;line-height:4.8vw;margin-bottom:.8vw}.mbc-box .close{display:block;margin:16vw auto 0;width:8.8vw;height:8.8vw}
/*# sourceMappingURL=61.a47832ce.chunk.css.map */ /*# sourceMappingURL=61.9ca240d9.chunk.css.map */
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/give-courses/share-content/share-content.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/give-courses/share-content/poster/poster.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/give-courses/share-content/prizes/prizes.scss"],"names":[],"mappings":"AAAA,eACI,UAAW,CACX,WAAY,CACZ,eAAgB,CAChB,wBAAyB,CACzB,yBAAsB,CACtB,iBAAkB,CAClB,iBAAkB,CAClB,6EAA8E,CARlF,oBAWQ,YAAa,CACb,sBAAuB,CACvB,wBAAwB,CAbhC,uBAgBY,iBAAW,CACX,iBAAY,CACZ,sBAAiB,CACjB,aAAc,CACd,wBAAyB,CACzB,oBAAe,CACf,wBAAyB,CAtBrC,mCA0BY,uCAA0B,CA1BtC,kCA8BY,uCAA0B,CA9BtC,4BAkCY,aAAc,CACd,kBAAmB,CACnB,wBAAyB,CCnCrC,QAEI,WAAY,CACZ,eAAgB,CAEhB,gCAAiC,CACjC,0BAA2B,CAN/B,8BACI,UAAW,CAGX,wBASuB,CAb3B,sBAUQ,UAAW,CAEX,oBAAe,CACf,iBAAmB,CAb3B,yBAkBQ,UACkB,CAnB1B,yEAiBQ,UAAW,CAEX,iBAIsB,CAvB9B,oDA0BgB,SAAU,CC3B1B,QACI,oBAAe,CACf,WAAY,CAFhB,iBAKQ,iCAA4B,CAC5B,wBAAyB,CACzB,wBAAyB,CACzB,wBAAkB,CAClB,iBAAkB,CAClB,iBAAmB,CAV3B,8BAcQ,aAAc,CACd,iBAAY,CACZ,gBAAW,CACX,aAAc,CACd,8EAAsH,CAlB9H,yBAsBQ,oBAAqB,CACrB,iBAAY,CACZ,sBAAiB,CACjB,oBAAe,CACf,UAAW,CACX,eAAgB,CAChB,wBAAmB,CA5B3B,mBAgCQ,YAAa,CACb,6BAA8B,CAC9B,cAAe,CACf,qBAAgB,CAnCxB,4BAsCY,WAAY,CACZ,kBAAa,CACb,wBAAkB,CAxC9B,gCA2CgB,UAAW,CACX,WAAY,CA5C5B,cAkDQ,oBAAqB,CACrB,iBAAY,CACZ,iBAAY,CACZ,sBAAiB,CACjB,wBAAuC,CACvC,wBAAmB,CACnB,cAAgB,CAChB,aAAc,CACd,aAAe,CA1DvB,aA+DQ,cAAgB,CAChB,eAAe,CACf,UAAW,CAjEnB,iBAqEQ,UAAW,CACX,qBAAgB,CAtExB,oBAyEY,kBAAY,CACZ,uBAAiB,CA1E7B,uBA8EY,aAAc,CACd,oBAAe,CACf,eAAgB,CAChB,wBAAyB,CAjFrC,uBAqFY,UAAW,CACX,eAAgB,CAChB,eAAe,CAvF3B,yCA2FoB,oBAAe,CA3FnC,yCAgGgB,wBAAyB,CAhGzC,wCAoGgB,wBAAyB,CAC5B,SAOT,cAAe,CACf,KAAM,CACN,QAAS,CACT,MAAO,CACP,OAAQ,CACR,yBAA6B,CANjC,2BASQ,iBAAY,CACZ,YAAa,CACb,iBAAkB,CAClB,OAAQ,CACR,QAAS,CACT,qBAAsB,CACtB,uBAAkB,CAClB,wBAAmB,CACnB,kBAAmB,CACnB,qBAAsB,CACtB,wBAAkB,CAClB,iCAA4B,CApBpC,gBAyBQ,eAAe,CACf,UAAW,CACX,iBAAmB,CACnB,eAAmB,CA5B3B,uBAiCQ,WAAa,CACb,eAAgB,CAlCxB,yBAoCY,eAAgB,CAChB,oBAAe,CACf,UAAc,CACd,iBAAiB,CACjB,kBAAkB,CAxC9B,gBA8CQ,aAAc,CACd,kBAAwB,CACxB,WAAW,CACX,YAAY","file":"61.9ca240d9.chunk.css","sourcesContent":["#share-content {\n width: 100%;\n height: auto;\n min-height: 100%;\n background-color: #470bc8;\n padding: 30px 0 40px 0;\n position: relative;\n text-align: center;\n font-family: Microsoft YaHei,Helvetica Neue,STHeiti,Helvetica,Arial,sans-serif;\n\n .tab {\n display: flex;\n justify-content: center;\n margin: 0 auto 20px auto;\n\n li {\n width: 83px;\n height: 32px;\n line-height: 32px;\n color: #FEE41D;\n border: 1px solid #FEE41D;\n font-size: 16px;\n background-color: #470bc8;\n }\n\n li:first-child {\n border-radius: 4px 0 0 4px;\n }\n\n li:last-child {\n border-radius: 0 4px 4px 0;\n }\n\n .active {\n color: #090F08;\n background: #FEE41D;\n border: 1px solid #FEE41D;\n }\n }\n\n\n}\n","\n#poster {\n width: 100%;\n height: 100%;\n overflow: hidden;\n background-color: #470bc8;\n -webkit-overflow-scrolling: touch;\n -webkit-touch-callout: none;\n\n .placard-desc {\n width: 100%;\n color: #fff;\n background-color: #470bc8;\n font-size: 14px;\n margin-bottom: 15px;\n }\n\n .total-container {\n width: 100%;\n height: 90%;\n position: relative;\n\n .placard-img-container {\n width: 100%;\n position: relative;\n\n img {\n width: 72%;\n }\n }\n }\n\n\n}\n","#prizes {\n padding: 0 10px;\n height: auto;\n\n .content {\n padding: 20px 10px 30px 10px;\n background-color: #3F07B8;\n border: 1px solid #5970FF;\n border-radius: 4px;\n text-align: center;\n margin-bottom: 30px;\n }\n\n .part-title__decorate {\n display: block;\n width: 232px;\n height: 2px;\n margin: 0 auto;\n background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 48%, rgba(255, 255, 255, 0) 100%);\n }\n\n .part-title__txt {\n display: inline-block;\n height: 32px;\n line-height: 32px;\n font-size: 16px;\n color: #fff;\n font-weight: 400;\n letter-spacing: 2px;\n }\n\n .prize-img {\n display: flex;\n justify-content: space-between;\n flex-wrap: wrap;\n margin-top: 20px;\n\n .img-box {\n width: 31.3%;\n height: 112px;\n margin-bottom: 5px;\n\n img {\n width: 100%;\n height: 100%;\n }\n }\n }\n\n .rule {\n display: inline-block;\n width: 101px;\n height: 28px;\n line-height: 28px;\n border: 1px solid rgba(254, 228, 29, 1);\n border-radius: 14px;\n margin-top: 15px;\n color: #FEE41D;\n font-size: 15px;\n\n }\n\n .tip {\n margin-top: 15px;\n font-size: 12px;\n color: #fff;\n }\n\n .ranking {\n width: 100%;\n margin-top: 20px;\n\n tr {\n height: 44px;\n line-height: 44px;\n }\n\n thead {\n color: #FEE41D;\n font-size: 14px;\n font-weight: 500;\n background-color: #490AD1;\n }\n\n tbody {\n color: #fff;\n font-weight: 400;\n font-size: 12px;\n\n tr {\n td:first-child {\n font-size: 14px;\n }\n }\n\n tr:nth-child(odd) {\n background-color: #470AC9;\n }\n\n tr:nth-child(even) {\n background-color: #490AD1;\n }\n }\n }\n\n}\n\n.mbc-box{\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: rgba(0, 0, 0, .6);\n\n .rele-content-box {\n width: 320px;\n height: 390px;\n position: absolute;\n top: 50%;\n left: 50%;\n box-sizing: border-box;\n margin-top: -200px;\n margin-left: -160px;\n letter-spacing: 1px;\n background-color: #fff;\n border-radius: 5px;\n padding: 15px 28px 25px 28px;\n }\n\n\n .title {\n font-size: 18px;\n color: #111;\n margin-bottom: 15px;\n font-weight: normal;\n }\n\n\n .rele-content {\n height: 300px;\n overflow-y: auto;\n p {\n text-align: left;\n font-size: 14px;\n color: #666666;\n line-height: 18px;\n margin-bottom: 3px;\n }\n\n }\n\n .close {\n display: block;\n margin: 60px auto 0 auto;\n width: 33px;\n height: 33px;\n }\n\n}\n"]}
\ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/give-courses/share-content/share-content.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/give-courses/share-content/poster/poster.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/activity/give-courses/share-content/prizes/prizes.scss"],"names":[],"mappings":"AAAA,eACI,UAAW,CACX,WAAY,CACZ,eAAgB,CAChB,wBAAyB,CACzB,yBAAsB,CACtB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uBA8EY,aAAc,CACd,oBAAe,CACf,eAAgB,CAChB,wBAAyB,CAjFrC,uBAqFY,UAAW,CACX,eAAgB,CAChB,eAAe,CAvF3B,yCA2FoB,oBAAe,CA3FnC,yCAgGgB,wBAAyB,CAhGzC,wCAoGgB,wBAAyB,CAC5B,SAOT,cAAe,CACf,KAAM,CACN,QAAS,CACT,MAAO,CACP,OAAQ,CACR,yBAA6B,CANjC,uBASQ,oBAAqB,CACrB,iBAAY,CACZ,eAAgB,CAChB,wBAAkB,CAClB,iCAA4B,CAC5B,qBAAsB,CACtB,2BAA4B,CAfpC,8BAkBY,eAAe,CACf,UAAW,CACX,wBAAmB,CACnB,eAAmB,CArB/B,yBAyBY,eAAgB,CAChB,oBAAe,CACf,UAAc,CACd,iBAAiB,CACjB,kBAAkB,CA7B9B,gBAmCQ,aAAc,CACd,WAAY,CACZ,WAAW,CACX,YAAY","file":"61.a47832ce.chunk.css","sourcesContent":["#share-content {\n width: 100%;\n height: auto;\n min-height: 100%;\n background-color: #470bc8;\n padding: 30px 0 40px 0;\n position: relative;\n text-align: center;\n font-family: Microsoft YaHei,Helvetica Neue,STHeiti,Helvetica,Arial,sans-serif;\n\n .tab {\n display: flex;\n justify-content: center;\n margin: 0 auto 20px auto;\n\n li {\n width: 83px;\n height: 32px;\n line-height: 32px;\n color: #FEE41D;\n border: 1px solid #FEE41D;\n font-size: 16px;\n background-color: #470bc8;\n }\n\n li:first-child {\n border-radius: 4px 0 0 4px;\n }\n\n li:last-child {\n border-radius: 0 4px 4px 0;\n }\n\n .active {\n color: #090F08;\n background: #FEE41D;\n border: 1px solid #FEE41D;\n }\n }\n\n\n}\n","\n#poster {\n width: 100%;\n height: 100%;\n overflow: hidden;\n background-color: #470bc8;\n -webkit-overflow-scrolling: touch;\n -webkit-touch-callout: none;\n\n .placard-desc {\n width: 100%;\n color: #fff;\n background-color: #470bc8;\n font-size: 14px;\n margin-bottom: 15px;\n }\n\n .total-container {\n width: 100%;\n height: 90%;\n position: relative;\n\n .placard-img-container {\n width: 100%;\n position: relative;\n\n img {\n width: 72%;\n }\n }\n }\n\n\n}\n","#prizes {\n padding: 0 10px;\n height: auto;\n\n .content {\n padding: 20px 10px 30px 10px;\n background-color: #3F07B8;\n border: 1px solid #5970FF;\n border-radius: 4px;\n text-align: center;\n margin-bottom: 30px;\n }\n\n .part-title__decorate {\n display: block;\n width: 232px;\n height: 2px;\n margin: 0 auto;\n background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 48%, rgba(255, 255, 255, 0) 100%);\n }\n\n .part-title__txt {\n display: inline-block;\n height: 32px;\n line-height: 32px;\n font-size: 16px;\n color: #fff;\n font-weight: 400;\n letter-spacing: 2px;\n }\n\n .prize-img {\n display: flex;\n justify-content: space-between;\n flex-wrap: wrap;\n margin-top: 20px;\n\n .img-box {\n width: 31.3%;\n height: 112px;\n margin-bottom: 5px;\n\n img {\n width: 100%;\n height: 100%;\n }\n }\n }\n\n .rule {\n display: inline-block;\n width: 101px;\n height: 28px;\n line-height: 28px;\n border: 1px solid rgba(254, 228, 29, 1);\n border-radius: 14px;\n margin-top: 15px;\n color: #FEE41D;\n font-size: 15px;\n\n }\n\n .tip {\n margin-top: 15px;\n font-size: 12px;\n color: #fff;\n }\n\n .ranking {\n width: 100%;\n margin-top: 20px;\n\n tr {\n height: 44px;\n line-height: 44px;\n }\n\n thead {\n color: #FEE41D;\n font-size: 14px;\n font-weight: 500;\n background-color: #490AD1;\n }\n\n tbody {\n color: #fff;\n font-weight: 400;\n font-size: 12px;\n\n tr {\n td:first-child {\n font-size: 14px;\n }\n }\n\n tr:nth-child(odd) {\n background-color: #470AC9;\n }\n\n tr:nth-child(even) {\n background-color: #490AD1;\n }\n }\n }\n\n}\n\n.mbc-box{\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: rgba(0, 0, 0, .6);\n\n .rele-content {\n display: inline-block;\n width: 320px;\n background: #fff;\n border-radius: 5px;\n padding: 20px 28px 30px 28px;\n box-sizing: border-box;\n margin: 145px auto 30px auto;\n\n .title {\n font-size: 18px;\n color: #111;\n margin-bottom: 20px;\n font-weight: normal;\n }\n\n p {\n text-align: left;\n font-size: 14px;\n color: #666666;\n line-height: 18px;\n margin-bottom: 3px;\n }\n\n }\n\n .close {\n display: block;\n margin: auto;\n width: 33px;\n height: 33px;\n }\n\n}\n"]}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[59],{1066:function(e,t,a){},1172:function(e,t,a){"use strict";a.r(t);a(39);var c=a(6),s=a.n(c),o=a(0),r=a.n(o),n=a(1),l=a(20),i=a(588),m=a(590);a(1066);class d extends o.Component{constructor(e){super(e),this.fetchCourseList=()=>{const e=this.props.match.params.id||0;n.f.get("".concat(API.home,"/sys/school/").concat(e)).then(e=>{const t=e.data,a=t.code,c=t.data;200===a&&(this.setState({header:c.name,courseList:c.data}),document.title="\u52a9\u529b\u9ad8\u6821\u5728\u7ebf\u6559\u5b66\u8ba1\u5212\u4e4b".concat(c.name,"\u4e13\u533a - \u4e03\u6708\u5728\u7ebf"))})},this.toCourseDetail=e=>{const t=this.props,a=t.history,c=t.match.params.id||0;n.f.post("".concat(API.home,"/sys/school/verify"),{school_id:c,course_id:e}).then(t=>{const c=t.data,o=c.code,r=c.msg;200===o?a.push("/detail?id=".concat(e)):4030===o||4013===o?a.push("/passport/login"):s.a.info("".concat(r,"~"))})},this.state={header:"",courseList:[]}}componentDidMount(){this.fetchCourseList()}render(){const e=this.state,t=e.courseList,a=void 0===t?[]:t,c=e.header;return r.a.createElement(r.a.Fragment,null,r.a.createElement(l.e,{title:"\u52a9\u5b66\u8ba1\u5212",arrow:!0}),r.a.createElement(i.a,null),r.a.createElement(m.a,{headerStyle:{marginTop:"20px"},title:c}),r.a.createElement("p",{className:"college-course__desc"},"\u70b9\u51fb\u9700\u8981\u5b66\u4e60\u7684\u8bfe\u7a0b\u5c01\u9762\uff0c\u5728\u8bfe\u7a0b\u8be6\u60c5\u9875\u8fdb\u5165\u8d2d\u4e70\u6d41\u7a0b\u51ed\u514d\u5355\u5238\u514d\u8d39\u5151\u6362\u8bfe\u7a0b\u3002"),r.a.createElement("div",{className:"college-course__body"},a.map(e=>r.a.createElement("div",{className:"college-course__item",onClick:()=>this.toCourseDetail(e.course_id),key:e.course_id},r.a.createElement("i",{className:"college-course__cover",style:{backgroundImage:"url(".concat(e.image_name,")")}}),r.a.createElement("p",{className:"college-course__title"},e.course_title)))))}}t.default=d},588:function(e,t,a){"use strict";var c=a(0),s=a.n(c);a(589);t.a=e=>{e.banner;return s.a.createElement("div",{className:"college-banner"})}},589:function(e,t,a){},590:function(e,t,a){"use strict";var c=a(0),s=a.n(c);a(591);t.a=e=>{const t=e.title,a=e.isDecorate,c=void 0===a||a,o=e.headerStyle,r=void 0===o?{}:o;return s.a.createElement(s.a.Fragment,null,s.a.createElement("div",{className:"college-header",style:r},s.a.createElement("i",{className:"college-header__icon","data-direction":"left"}),s.a.createElement("h2",{className:"college-header__text"},t),s.a.createElement("i",{className:"college-header__icon","data-direction":"right"})),c&&s.a.createElement("i",{className:"college-header__decorate"}))}},591:function(e,t,a){}}]); (this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[59],{1068:function(e,t,a){},1174:function(e,t,a){"use strict";a.r(t);a(39);var c=a(6),s=a.n(c),o=a(0),r=a.n(o),n=a(1),l=a(20),i=a(590),m=a(592);a(1068);class d extends o.Component{constructor(e){super(e),this.fetchCourseList=()=>{const e=this.props.match.params.id||0;n.f.get("".concat(API.home,"/sys/school/").concat(e)).then(e=>{const t=e.data,a=t.code,c=t.data;200===a&&(this.setState({header:c.name,courseList:c.data}),document.title="\u52a9\u529b\u9ad8\u6821\u5728\u7ebf\u6559\u5b66\u8ba1\u5212\u4e4b".concat(c.name,"\u4e13\u533a - \u4e03\u6708\u5728\u7ebf"))})},this.toCourseDetail=e=>{const t=this.props,a=t.history,c=t.match.params.id||0;n.f.post("".concat(API.home,"/sys/school/verify"),{school_id:c,course_id:e}).then(t=>{const c=t.data,o=c.code,r=c.msg;200===o?a.push("/detail?id=".concat(e)):4030===o||4013===o?a.push("/passport/login"):s.a.info("".concat(r,"~"))})},this.state={header:"",courseList:[]}}componentDidMount(){this.fetchCourseList()}render(){const e=this.state,t=e.courseList,a=void 0===t?[]:t,c=e.header;return r.a.createElement(r.a.Fragment,null,r.a.createElement(l.e,{title:"\u52a9\u5b66\u8ba1\u5212",arrow:!0}),r.a.createElement(i.a,null),r.a.createElement(m.a,{headerStyle:{marginTop:"20px"},title:c}),r.a.createElement("p",{className:"college-course__desc"},"\u70b9\u51fb\u9700\u8981\u5b66\u4e60\u7684\u8bfe\u7a0b\u5c01\u9762\uff0c\u5728\u8bfe\u7a0b\u8be6\u60c5\u9875\u8fdb\u5165\u8d2d\u4e70\u6d41\u7a0b\u51ed\u514d\u5355\u5238\u514d\u8d39\u5151\u6362\u8bfe\u7a0b\u3002"),r.a.createElement("div",{className:"college-course__body"},a.map(e=>r.a.createElement("div",{className:"college-course__item",onClick:()=>this.toCourseDetail(e.course_id),key:e.course_id},r.a.createElement("i",{className:"college-course__cover",style:{backgroundImage:"url(".concat(e.image_name,")")}}),r.a.createElement("p",{className:"college-course__title"},e.course_title)))))}}t.default=d},590:function(e,t,a){"use strict";var c=a(0),s=a.n(c);a(591);t.a=e=>{e.banner;return s.a.createElement("div",{className:"college-banner"})}},591:function(e,t,a){},592:function(e,t,a){"use strict";var c=a(0),s=a.n(c);a(593);t.a=e=>{const t=e.title,a=e.isDecorate,c=void 0===a||a,o=e.headerStyle,r=void 0===o?{}:o;return s.a.createElement(s.a.Fragment,null,s.a.createElement("div",{className:"college-header",style:r},s.a.createElement("i",{className:"college-header__icon","data-direction":"left"}),s.a.createElement("h2",{className:"college-header__text"},t),s.a.createElement("i",{className:"college-header__icon","data-direction":"right"})),c&&s.a.createElement("i",{className:"college-header__decorate"}))}},593:function(e,t,a){}}]);
//# sourceMappingURL=59.45074842.chunk.js.map //# sourceMappingURL=59.9effd854.chunk.js.map
\ No newline at end of file \ No newline at end of file
(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[60],{1065:function(e,t,a){},1171:function(e,t,a){"use strict";a.r(t);var c=a(0),l=a.n(c),n=a(1),s=a(20),o=a(588),i=a(590);a(1065);class r extends c.Component{constructor(e){super(e),this.fetchSchoolList=()=>{const e=this.state.schoolList;n.f.get("".concat(API.home,"/sys/school/list")).then(t=>{const a=t.data,c=a.code,l=a.data;200===c&&this.setState({schoolList:l.concat(e)})})},this.toCollegeCourse=e=>{const t=this.props.history;e&&t.push("/college/".concat(e))},this.state={sectionInfo:[{title:"\u7cfb\u7edf\u8d5e\u52a9",desc:"\u514d\u8d39\u63d0\u4f9b\u5728\u7ebf\u76f4\u64ad\u7cfb\u7edf\uff0c\u652f\u6301\u7535\u8111\u5c4f\u5e55\u5b9e\u65f6\u6f14\u793a\uff0c\u4ee5\u53ca\u89c6\u9891\u56de\u653e\u3001\u4e92\u52a8\u7b54\u7591\u3002",icon:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/system.png"},{title:"\u8bfe\u7a0b\u8d5e\u52a9 ",desc:"\u514d\u8d39\u5f00\u653e\u76f8\u5173\u8bfe\u7a0b\u7684\u89c6\u9891\u3001\u8bfe\u4ef6\u3001\u4f5c\u4e1a\u3001\u8003\u8bd5\u3001\u4ee3\u7801\u3001\u9879\u76ee\u3001\u4e91\u5e73\u53f0(\u5728\u7ebf\u7f16\u8bd1\u3001\u5728\u7ebf\u6279\u6539)\u3002",icon:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/content.png"}],schoolList:[]}}componentDidMount(){this.fetchSchoolList(),document.title="\u514d\u8d39\u63d0\u4f9b\u5728\u7ebf\u6559\u5b66\u7cfb\u7edf \u52a9\u529b\u5168\u56fd\u9ad8\u6821\u5728\u7ebf\u6559\u5b66 - \u4e03\u6708\u5728\u7ebf"}render(){const e=this.state,t=e.sectionInfo,a=void 0===t?[]:t,c=e.schoolList,n=void 0===c?[]:c;return l.a.createElement(l.a.Fragment,null,l.a.createElement(s.e,{title:"\u52a9\u5b66\u8ba1\u5212",arrow:!0}),l.a.createElement(o.a,null),l.a.createElement("div",{className:"college-page__banner"}),l.a.createElement(i.a,{headerStyle:{marginTop:"20px"},title:"\u52a9\u529b\u9ad8\u6821\u5728\u7ebf\u6559\u5b66\u8ba1\u5212"}),l.a.createElement("p",{className:"college-page__contact"},"\u514d\u8d39\u5165\u9a7b\u8054\u7cfb\u5468\u5148\u751f\uff1a18910848502(\u5fae\u4fe1\u540c)"),a.map(({title:e,desc:t,icon:a},c)=>l.a.createElement("div",{className:"college-page__section",key:c},l.a.createElement("i",{className:"section__icon",style:{backgroundImage:"url(".concat(a,")")}}),l.a.createElement("div",{className:"section__body"},l.a.createElement("h2",{className:"section__title"},e),l.a.createElement("p",{className:"section__desc"},t)))),l.a.createElement(i.a,{headerStyle:{marginTop:"20px"},isDecorate:!1,title:"\u5165\u9a7b\u9662\u6821"}),l.a.createElement("div",{className:"college-page__college"},n.map(({id:e,name:t,logo:a})=>l.a.createElement("div",{className:"college__item",onClick:()=>this.toCollegeCourse(e),key:e},l.a.createElement("i",{className:"college__iamge",style:{backgroundImage:"url(".concat(a,")")}}),l.a.createElement("p",{className:"college__name"},t)))))}}t.default=r},588:function(e,t,a){"use strict";var c=a(0),l=a.n(c);a(589);t.a=e=>{e.banner;return l.a.createElement("div",{className:"college-banner"})}},589:function(e,t,a){},590:function(e,t,a){"use strict";var c=a(0),l=a.n(c);a(591);t.a=e=>{const t=e.title,a=e.isDecorate,c=void 0===a||a,n=e.headerStyle,s=void 0===n?{}:n;return l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"college-header",style:s},l.a.createElement("i",{className:"college-header__icon","data-direction":"left"}),l.a.createElement("h2",{className:"college-header__text"},t),l.a.createElement("i",{className:"college-header__icon","data-direction":"right"})),c&&l.a.createElement("i",{className:"college-header__decorate"}))}},591:function(e,t,a){}}]); (this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[60],{1067:function(e,t,a){},1173:function(e,t,a){"use strict";a.r(t);var c=a(0),l=a.n(c),n=a(1),s=a(20),o=a(590),i=a(592);a(1067);class r extends c.Component{constructor(e){super(e),this.fetchSchoolList=()=>{const e=this.state.schoolList;n.f.get("".concat(API.home,"/sys/school/list")).then(t=>{const a=t.data,c=a.code,l=a.data;200===c&&this.setState({schoolList:l.concat(e)})})},this.toCollegeCourse=e=>{const t=this.props.history;e&&t.push("/college/".concat(e))},this.state={sectionInfo:[{title:"\u7cfb\u7edf\u8d5e\u52a9",desc:"\u514d\u8d39\u63d0\u4f9b\u5728\u7ebf\u76f4\u64ad\u7cfb\u7edf\uff0c\u652f\u6301\u7535\u8111\u5c4f\u5e55\u5b9e\u65f6\u6f14\u793a\uff0c\u4ee5\u53ca\u89c6\u9891\u56de\u653e\u3001\u4e92\u52a8\u7b54\u7591\u3002",icon:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/system.png"},{title:"\u8bfe\u7a0b\u8d5e\u52a9 ",desc:"\u514d\u8d39\u5f00\u653e\u76f8\u5173\u8bfe\u7a0b\u7684\u89c6\u9891\u3001\u8bfe\u4ef6\u3001\u4f5c\u4e1a\u3001\u8003\u8bd5\u3001\u4ee3\u7801\u3001\u9879\u76ee\u3001\u4e91\u5e73\u53f0(\u5728\u7ebf\u7f16\u8bd1\u3001\u5728\u7ebf\u6279\u6539)\u3002",icon:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/content.png"}],schoolList:[]}}componentDidMount(){this.fetchSchoolList(),document.title="\u514d\u8d39\u63d0\u4f9b\u5728\u7ebf\u6559\u5b66\u7cfb\u7edf \u52a9\u529b\u5168\u56fd\u9ad8\u6821\u5728\u7ebf\u6559\u5b66 - \u4e03\u6708\u5728\u7ebf"}render(){const e=this.state,t=e.sectionInfo,a=void 0===t?[]:t,c=e.schoolList,n=void 0===c?[]:c;return l.a.createElement(l.a.Fragment,null,l.a.createElement(s.e,{title:"\u52a9\u5b66\u8ba1\u5212",arrow:!0}),l.a.createElement(o.a,null),l.a.createElement("div",{className:"college-page__banner"}),l.a.createElement(i.a,{headerStyle:{marginTop:"20px"},title:"\u52a9\u529b\u9ad8\u6821\u5728\u7ebf\u6559\u5b66\u8ba1\u5212"}),l.a.createElement("p",{className:"college-page__contact"},"\u514d\u8d39\u5165\u9a7b\u8054\u7cfb\u5468\u5148\u751f\uff1a18910848502(\u5fae\u4fe1\u540c)"),a.map(({title:e,desc:t,icon:a},c)=>l.a.createElement("div",{className:"college-page__section",key:c},l.a.createElement("i",{className:"section__icon",style:{backgroundImage:"url(".concat(a,")")}}),l.a.createElement("div",{className:"section__body"},l.a.createElement("h2",{className:"section__title"},e),l.a.createElement("p",{className:"section__desc"},t)))),l.a.createElement(i.a,{headerStyle:{marginTop:"20px"},isDecorate:!1,title:"\u5165\u9a7b\u9662\u6821"}),l.a.createElement("div",{className:"college-page__college"},n.map(({id:e,name:t,logo:a})=>l.a.createElement("div",{className:"college__item",onClick:()=>this.toCollegeCourse(e),key:e},l.a.createElement("i",{className:"college__iamge",style:{backgroundImage:"url(".concat(a,")")}}),l.a.createElement("p",{className:"college__name"},t)))))}}t.default=r},590:function(e,t,a){"use strict";var c=a(0),l=a.n(c);a(591);t.a=e=>{e.banner;return l.a.createElement("div",{className:"college-banner"})}},591:function(e,t,a){},592:function(e,t,a){"use strict";var c=a(0),l=a.n(c);a(593);t.a=e=>{const t=e.title,a=e.isDecorate,c=void 0===a||a,n=e.headerStyle,s=void 0===n?{}:n;return l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"college-header",style:s},l.a.createElement("i",{className:"college-header__icon","data-direction":"left"}),l.a.createElement("h2",{className:"college-header__text"},t),l.a.createElement("i",{className:"college-header__icon","data-direction":"right"})),c&&l.a.createElement("i",{className:"college-header__decorate"}))}},593:function(e,t,a){}}]);
//# sourceMappingURL=60.d53db7d9.chunk.js.map //# sourceMappingURL=60.938a306f.chunk.js.map
\ No newline at end of file \ No newline at end of file
(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[61],{1062:function(e,t,a){},1063:function(e,t,a){},1064:function(e,t,a){},1196:function(e,t,a){"use strict";a.r(t);var n=a(0),s=a.n(n),r=(a(1062),a(68)),i=a.n(r),c=a(86),l=(a(39),a(6)),o=a.n(l),m=a(419),d=a.n(m),u=(a(1063),a(1));class p extends n.Component{constructor(...e){var t;super(...e),t=this,this.state={redirectUrl:"",backgroundUrl:"",avatar:"",username:"",poster:this.props.poster},this.generatePoster=Object(c.a)(i.a.mark((function e(){var a,n,s,r,c,l,o,m,d,u,p,g,h;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=document.createElement("canvas"),n=a.getContext("2d"),s=270,r=540,c=t.state,l=c.backgroundUrl,o=c.avatar,m=c.username,d=c.redirectUrl,e.next=4,t.getImage(l);case 4:return u=e.sent,a.style.width=s+"px",a.style.height=s*u.height/u.width+"px",a.width=r,a.height=r*u.height/u.width,n.drawImage(u,0,0,a.width,a.height),p=33,e.next=13,t.getImage(o);case 13:return g=e.sent,40,16,n.save(),n.beginPath(),n.arc(40+p,16+p,p,0,2*Math.PI),n.clip(),n.drawImage(g,40,16,66,66),n.restore(),n.font="24px serif",n.fillStyle="#fff",n.fillText(m,2*p+40+10,16+p-5),e.next=27,t.getQRCodeCanvas(d,s);case 27:h=e.sent,n.drawImage(h,380,796,140,140),t.setState({poster:a.toDataURL()},()=>{const e=t.props.savePoster;e&&e(t.state.poster)});case 30:case"end":return e.stop()}}),e)}))),this.getImage=e=>new Promise(t=>{const a=new Image;a.setAttribute("crossOrigin","anonymous"),a.onload=function(){t(this)},a.src=e}),this.getQRCodeCanvas=(e,t)=>{const a=document.createElement("canvas");let n=t*(100/(.72*window.innerWidth));return a.style.width="".concat(n,"px"),a.style.height="".concat(n,"px"),a.width=100,a.height=100,d.a.toCanvas(a,e)}}componentDidMount(){this.props.poster||u.f.get("".concat(API["base-api"],"/assistance/active_haibao_info/").concat(Object(u.c)("assis_word"))).then(e=>{const t=e.data,a=t.data,n=t.errno,s=t.msg;var r;200===n?this.setState({avatar:a.head_img,username:a.user_name,redirectUrl:a.m_redirect_code,backgroundUrl:a.background_img_url},()=>{this.generatePoster()}):(r=s,o.a.info(r,2,null,!1))})}render(){const e=this.state.poster;return s.a.createElement("div",{id:"poster"},s.a.createElement("div",{className:"placard-desc"},"\u957f\u6309\u4e0b\u65b9\u6d77\u62a5\uff0c\u5206\u4eab\u7ed9\u597d\u53cb\uff5e"),s.a.createElement("div",{className:"total-container"},s.a.createElement("div",{className:"placard-img-container",id:"imgWrapper"},s.a.createElement("img",{src:e,alt:"\u5206\u4eab\u6d77\u62a5"}))))}}var g=p,h=a(29),v=a(30),E=a(32),f=a(31);a(1064);function b(e){o.a.info(e,2,null,!1)}var k=function(e){Object(E.a)(a,e);var t=Object(f.a)(a);function a(){var e;Object(h.a)(this,a);for(var n=arguments.length,s=new Array(n),r=0;r<n;r++)s[r]=arguments[r];return(e=t.call.apply(t,[this].concat(s))).state={list:[],isShowRule:!1,rule:"",rankList:[]},e.getPrizes=function(){u.f.get("".concat(API["base-api"],"/assistance/invite")).then((function(t){var a=t.data,n=a.data,s=a.msg;200===a.errno?e.setState({list:n.awards,rule:n.rule}):b(s)}))},e.getRankingList=function(){var t=e.props.saveRankingList;u.f.get("".concat(API["base-api"],"/assistance/ranking_list/50")).then((function(a){var n=a.data,s=n.data,r=n.msg;200===n.errno?(e.setState({rankList:s.list}),t&&t(s.list)):b(r)}))},e}return Object(v.a)(a,[{key:"componentDidMount",value:function(){var e=this.props.rankingList;e&&e.length?this.setState({rankingList:e}):this.getRankingList(),this.getPrizes()}},{key:"render",value:function(){var e=this,t=this.state,a=t.list,n=t.rankList,r=t.isShowRule,i=t.rule;return s.a.createElement("div",{id:"prizes"},s.a.createElement("div",{className:"content"},s.a.createElement("i",{className:"part-title__decorate"}),s.a.createElement("div",{className:"part-title__txt"},"\u6d3b\u52a8\u5956\u54c1"),s.a.createElement("i",{className:"part-title__decorate"}),s.a.createElement("div",{className:"prize-img"},a.map((function(e,t){return s.a.createElement("div",{className:"img-box",key:t},s.a.createElement("img",{src:e,alt:""}))}))),s.a.createElement("span",{className:"rule",onClick:function(){e.setState({isShowRule:!0})}},"\u6d3b\u52a8\u89c4\u5219")),s.a.createElement("div",{className:"content",style:{padding:"20px 0 30px 0"}},s.a.createElement("i",{className:"part-title__decorate"}),s.a.createElement("div",{className:"part-title__txt"},"\u6392\u884c\u699c"),s.a.createElement("i",{className:"part-title__decorate"}),s.a.createElement("div",{className:"tip"},"\u6570\u636e\u5b9e\u65f6\u66f4\u65b0 \u53ea\u663e\u793aTop50"),s.a.createElement("table",{className:"ranking",cellSpacing:"0",cellPadding:"0",border:"0"},s.a.createElement("thead",null,s.a.createElement("tr",null,s.a.createElement("td",null,"\u6392\u540d"),s.a.createElement("td",null,"\u7528\u6237\u540d\u79f0"),s.a.createElement("td",null,"\u9080\u8bf7\u4eba\u6570"))),s.a.createElement("tbody",null,n.map((function(e,t){return s.a.createElement("tr",{key:t},s.a.createElement("td",null,t+1),s.a.createElement("td",null,e.name),s.a.createElement("td",null,e.num))}))))),r?s.a.createElement("div",{className:"mbc-box"},s.a.createElement("div",{className:"rele-content-box"},s.a.createElement("div",{className:"title"},"\u6d3b\u52a8\u89c4\u5219"),s.a.createElement("div",{className:"rele-content"},s.a.createElement("div",{dangerouslySetInnerHTML:{__html:i}})),s.a.createElement("img",{className:"close",onClick:function(){e.setState({isShowRule:!1})},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",alt:""}))):null)}}]),a}(n.Component),w=a(59);class _ extends n.Component{constructor(...e){super(...e),this.state={activeIndex:0,tabs:["\u5206\u4eab\u6d77\u62a5","\u6d3b\u52a8\u5956\u54c1"],poster:"",rankingList:[]}}render(){const e=this.state,t=e.tabs,a=e.activeIndex,n=e.poster,r=e.rankingList;return s.a.createElement("div",{id:"share-content"},s.a.createElement("ul",{className:"tab"},t.map((e,t)=>s.a.createElement("li",{key:t,className:a===t?"active":"",onClick:()=>{this.setState({activeIndex:t})}},e))),0===a?s.a.createElement(g,{poster:n,savePoster:e=>{this.setState({poster:e})}}):s.a.createElement(k,{rankingList:r,saveRankingList:e=>{this.setState({rankingList:e})}}))}}t.default=Object(w.a)(_)}}]);
//# sourceMappingURL=61.a81f432b.chunk.js.map
\ No newline at end of file
(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[61],{1060:function(e,t,a){},1061:function(e,t,a){},1062:function(e,t,a){},1194:function(e,t,a){"use strict";a.r(t);var n=a(0),s=a.n(n),r=(a(1060),a(68)),i=a.n(r),c=a(85),l=(a(39),a(6)),o=a.n(l),m=a(417),d=a.n(m),p=(a(1061),a(1));class u extends n.Component{constructor(...e){var t;super(...e),t=this,this.state={redirectUrl:"",backgroundUrl:"",avatar:"",username:"",poster:this.props.poster},this.generatePoster=Object(c.a)(i.a.mark((function e(){var a,n,s,r,c,l,o,m,d,p,u,g,h;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=document.createElement("canvas"),n=a.getContext("2d"),s=270,r=540,c=t.state,l=c.backgroundUrl,o=c.avatar,m=c.username,d=c.redirectUrl,e.next=4,t.getImage(l);case 4:return p=e.sent,a.style.width=s+"px",a.style.height=s*p.height/p.width+"px",a.width=r,a.height=r*p.height/p.width,n.drawImage(p,0,0,a.width,a.height),u=33,e.next=13,t.getImage(o);case 13:return g=e.sent,40,16,n.save(),n.beginPath(),n.arc(40+u,16+u,u,0,2*Math.PI),n.clip(),n.drawImage(g,40,16,66,66),n.restore(),n.font="24px serif",n.fillStyle="#fff",n.fillText(m,2*u+40+10,16+u-5),e.next=27,t.getQRCodeCanvas(d,s);case 27:h=e.sent,n.drawImage(h,380,796,140,140),t.setState({poster:a.toDataURL()},()=>{const e=t.props.savePoster;e&&e(t.state.poster)});case 30:case"end":return e.stop()}}),e)}))),this.getImage=e=>new Promise(t=>{const a=new Image;a.setAttribute("crossOrigin","anonymous"),a.onload=function(){t(this)},a.src=e}),this.getQRCodeCanvas=(e,t)=>{const a=document.createElement("canvas");let n=t*(100/(.72*window.innerWidth));return a.style.width="".concat(n,"px"),a.style.height="".concat(n,"px"),a.width=100,a.height=100,d.a.toCanvas(a,e)}}componentDidMount(){this.props.poster||p.f.get("".concat(API["base-api"],"/assistance/active_haibao_info/").concat(Object(p.c)("assis_word"))).then(e=>{const t=e.data,a=t.data,n=t.errno,s=t.msg;var r;200===n?this.setState({avatar:a.head_img,username:a.user_name,redirectUrl:a.m_redirect_code,backgroundUrl:a.background_img_url},()=>{this.generatePoster()}):(r=s,o.a.info(r,2,null,!1))})}render(){const e=this.state.poster;return s.a.createElement("div",{id:"poster"},s.a.createElement("div",{className:"placard-desc"},"\u957f\u6309\u4e0b\u65b9\u6d77\u62a5\uff0c\u5206\u4eab\u7ed9\u597d\u53cb\uff5e"),s.a.createElement("div",{className:"total-container"},s.a.createElement("div",{className:"placard-img-container",id:"imgWrapper"},s.a.createElement("img",{src:e,alt:"\u5206\u4eab\u6d77\u62a5"}))))}}var g=u;a(1062);class h extends n.Component{constructor(...e){super(...e),this.state={list:["https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/prize-1.png","https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/prize-2.png","https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/prize-3.png","https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/prize-4.png","https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/prize-5.png","https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/prize-6.png"],isShowRule:!1,rankList:[]},this.getRankingList=()=>{const e=this.props.saveRankingList;p.f.get("".concat(API["base-api"],"/assistance/ranking_list/50")).then(t=>{const a=t.data,n=a.data,s=a.msg;var r;200===a.errno?(this.setState({rankList:n.list}),e&&e(n.list)):(r=s,o.a.info(r,2,null,!1))})}}componentDidMount(){const e=this.props.rankingList;console.log(e),e&&e.length?this.setState({rankingList:e}):this.getRankingList()}render(){const e=this.state,t=e.list,a=e.rankList,n=e.isShowRule;return s.a.createElement("div",{id:"prizes"},s.a.createElement("div",{className:"content"},s.a.createElement("i",{className:"part-title__decorate"}),s.a.createElement("div",{className:"part-title__txt"},"\u6d3b\u52a8\u5956\u54c1"),s.a.createElement("i",{className:"part-title__decorate"}),s.a.createElement("div",{className:"prize-img"},t.map((e,t)=>s.a.createElement("div",{className:"img-box",key:t},s.a.createElement("img",{src:e,alt:""})))),s.a.createElement("span",{className:"rule",onClick:()=>{this.setState({isShowRule:!0})}},"\u6d3b\u52a8\u89c4\u5219")),s.a.createElement("div",{className:"content",style:{padding:"20px 0 30px 0"}},s.a.createElement("i",{className:"part-title__decorate"}),s.a.createElement("div",{className:"part-title__txt"},"\u6392\u884c\u699c"),s.a.createElement("i",{className:"part-title__decorate"}),s.a.createElement("div",{className:"tip"},"\u6570\u636e\u5b9e\u65f6\u66f4\u65b0 \u53ea\u663e\u793aTop50"),s.a.createElement("table",{className:"ranking",cellSpacing:"0",cellPadding:"0",border:"0"},s.a.createElement("thead",null,s.a.createElement("tr",null,s.a.createElement("td",null,"\u6392\u540d"),s.a.createElement("td",null,"\u7528\u6237\u540d\u79f0"),s.a.createElement("td",null,"\u9080\u8bf7\u4eba\u6570"))),s.a.createElement("tbody",null,a.map((e,t)=>s.a.createElement("tr",{key:t},s.a.createElement("td",null,t+1),s.a.createElement("td",null,e.name),s.a.createElement("td",null,e.num)))))),n?s.a.createElement("div",{className:"mbc-box"},s.a.createElement("div",{className:"rele-content"},s.a.createElement("div",{className:"title"},"\u6d3b\u52a8\u89c4\u5219"),s.a.createElement("p",null,"1\u3001\u8fdb\u5165\u4e03\u6708\u5728\u7ebf\u670d\u52a1\u53f7",s.a.createElement("a",{style:{fontSize:"16px",color:"rgba(47, 248, 255, 1)",display:"inline-block"}},"\u56de\u590d77"),"\u83b7\u53d6\u6d3b\u52a8\u6d77\u62a5\uff0c\u5c06\u4e0a\u65b9\u8bfe\u7a0b\u8d60\u9001\u7ed9\u597d\u53cb\uff0c\u6bcf\u67091\u540d\u597d\u53cb\u9886\u53d6\u540e\uff0c\u60a8\u548c\u597d\u53cb\u5747\u53ef\u514d\u8d39\u5b66\u4e601\u8bfe\u65f6\u8be5\u8bfe\uff1b"),s.a.createElement("p",null,"2\u3001\u6bcf\u591a1\u540d\u597d\u53cb\u9886\u53d6\uff0c\u60a8\u83b7\u5f97\u7684\u8bfe\u65f6\u6570+1\uff0c\u76f4\u5230\u83b7\u5f97\u5168\u90e8\u8bfe\u65f6\uff0c\u5c4a\u65f6\u4ecd\u53ef\u8d60\u9001\u7ed9\u597d\u53cb\uff1b"),s.a.createElement("p",null,"3\u3001\u6d3b\u52a8\u7ed3\u675f\u540e\uff0c\u9080\u8bf7\u597d\u53cb\u6570\u8d85\u8fc750\u4eba\u4e14\u6392\u884c\u699c\u524d20\u540d\u7528\u6237\u4f1a\u5f97\u5230",s.a.createElement("a",{style:{fontSize:"16px",color:"rgba(47, 248, 255, 1)",display:"inline-block"}},"19VIP\u5e74\u4f1a\u5458\u3001\u6a31\u6843\u952e\u76d8"),"\u7b49\u5927\u5956\u3002")),s.a.createElement("img",{className:"close",onClick:()=>{this.setState({isShowRule:!1})},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",alt:""})):null)}}var E=h,v=a(59);class y extends n.Component{constructor(...e){super(...e),this.state={activeIndex:0,tabs:["\u5206\u4eab\u6d77\u62a5","\u6d3b\u52a8\u5956\u54c1"],poster:"",rankingList:[]}}render(){const e=this.state,t=e.tabs,a=e.activeIndex,n=e.poster,r=e.rankingList;return s.a.createElement("div",{id:"share-content"},s.a.createElement("ul",{className:"tab"},t.map((e,t)=>s.a.createElement("li",{key:t,className:a===t?"active":"",onClick:()=>{this.setState({activeIndex:t})}},e))),0===a?s.a.createElement(g,{poster:n,savePoster:e=>{this.setState({poster:e})}}):s.a.createElement(E,{rankingList:r,saveRankingList:e=>{this.setState({rankingList:e})}}))}}t.default=Object(v.a)(y)}}]);
//# sourceMappingURL=61.a85b8255.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["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[66],{1063:function(A,l){A.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wd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ZVBtCTlINxVQD0iHIwL4A+qxiMa0hBB6PzCjoYDQL0KeVgXCcA+phyMK4jAN2jHIyrB6C/Uw7G1QvQh5SDcR0GaGw/iSoLY4q6LRozw4PKw5jAdsS9Cr5HeRjTXncKDu1SHsa0ywt6Hznbl1T+Ckw/94LGNsFu5eK7tgvb/+0m3aZcfNcFpiUxnXafsvFNfd5Bhhc09u92Kh/f1EWe+KclcU4OKaOcNRTbaGNBIyDqJuWUszZTTHDZePcZIjbHn8oqa4HdC7EH44HGLRYblVfW2khxIvcmuhf8WTIc5rdA9auwo3RB4+789TbVANtz42n/oFWg11GcyAZQskDdEZmna8yO9PQROferjGXSot1xdTsFFJo95DolrBK22lQxlfrZj1DAiQdCJrB5VFhRtqChd9kblGdCbRBGlCto6ElyllJVMd/Rwob8Ao3LXbeTk3RA5eioMBnxEzR0gn2bPBa7wODWTFhkGm0Xm21aqbi3kZ2WYVxGG4+yiR+NJAM3sX8r0pZ8I/urTP8x24joX5Jz/3gx7dtDXVuk7hQUaLcbQfiJ/UUAGXszFlEO+xRzzVpxXFr25gKGjLohW90vuTyJH3lYEKML0cUepAQLKiHVGalTm9SR8g3a1Vb2teSEZA+7dktdtvr1hH7nyuqX4d/D7IEQAh6QsremWrvIN2gIiyxI7IXkMAjLHobLYijjS+REethCBhbRTOYzRB+HhJHIxvkaOQl4bdOwlA1lXMv+w9QLBZkKFVHDsWa7kvKfChVrNm4q1EBmuflK7oshIYLv3UXBJvd9h/0mOTuICja5bzy56aqXCfzryL/4Tthp/4VA3UFFmK46mRIlYEerr5Y3YaLnCwwwB6W1Wp2A/R8BBgBqDTSvrpRFSAAAAABJRU5ErkJggg=="},1064:function(A,l,e){},1170:function(A,l,e){"use strict";e.r(l);var b=e(0),I=e.n(b),R=e(1063),m=e.n(R);e(1064);l.default=()=>I.a.createElement("div",{className:"wxerr"},I.a.createElement("img",{src:m.a,alt:""}),I.a.createElement("p",{className:"openLink",style:{fontSize:"16px",marginTop:"40px"}},"\u8bf7\u5728\u5fae\u4fe1\u5ba2\u6237\u7aef\u6253\u5f00\u94fe\u63a5"))}}]); (this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[66],{1065:function(A,l){A.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjAzNzQwNjkzN0I5MTExRTg4MTI0RUVDMjY2N0EwNzU1IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjAzNzQwNjk0N0I5MTExRTg4MTI0RUVDMjY2N0EwNzU1Ij4gPHhtcE1NOkRlcml2ZWRG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IXkMAjLHobLYijjS+REethCBhbRTOYzRB+HhJHIxvkaOQl4bdOwlA1lXMv+w9QLBZkKFVHDsWa7kvKfChVrNm4q1EBmuflK7oshIYLv3UXBJvd9h/0mOTuICja5bzy56aqXCfzryL/4Tthp/4VA3UFFmK46mRIlYEerr5Y3YaLnCwwwB6W1Wp2A/R8BBgBqDTSvrpRFSAAAAABJRU5ErkJggg=="},1066:function(A,l,e){},1172:function(A,l,e){"use strict";e.r(l);var b=e(0),I=e.n(b),R=e(1065),m=e.n(R);e(1066);l.default=()=>I.a.createElement("div",{className:"wxerr"},I.a.createElement("img",{src:m.a,alt:""}),I.a.createElement("p",{className:"openLink",style:{fontSize:"16px",marginTop:"40px"}},"\u8bf7\u5728\u5fae\u4fe1\u5ba2\u6237\u7aef\u6253\u5f00\u94fe\u63a5"))}}]);
//# sourceMappingURL=66.ffe98cdb.chunk.js.map //# sourceMappingURL=66.bc89c58f.chunk.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["assets/image/wx_error.png","components/wxerr/index.js"],"names":["module","exports","WxErr","className","src","WxErrImage","alt","style","fontSize","marginTop"],"mappings":"mGAAAA,EAAOC,QAAU,0vG,yDCAjB,sDAgBeC,UAZD,IAEV,yBAAKC,UAAW,SACd,yBAAKC,IAAKC,IAAYC,IAAI,KAC1B,uBAAGH,UAAU,WAAWI,MAAO,CAC7BC,SAAS,OACTC,UAAU,SAFZ","file":"mrstaticjs/66.ffe98cdb.chunk.js","sourcesContent":["module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iI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5qgC5TDsZVBtCTlINxVQD0iHIwL4A+qxiMa0hBB6PzCjoYDQL0KeVgXCcA+phyMK4jAN2jHIyrB6C/Uw7G1QvQh5SDcR0GaGw/iSoLY4q6LRozw4PKw5jAdsS9Cr5HeRjTXncKDu1SHsa0ywt6Hznbl1T+Ckw/94LGNsFu5eK7tgvb/+0m3aZcfNcFpiUxnXafsvFNfd5Bhhc09u92Kh/f1EWe+KclcU4OKaOcNRTbaGNBIyDqJuWUszZTTHDZePcZIjbHn8oqa4HdC7EH44HGLRYblVfW2khxIvcmuhf8WTIc5rdA9auwo3RB4+789TbVANtz42n/oFWg11GcyAZQskDdEZmna8yO9PQROferjGXSot1xdTsFFJo95DolrBK22lQxlfrZj1DAiQdCJrB5VFhRtqChd9kblGdCbRBGlCto6ElyllJVMd/Rwob8Ao3LXbeTk3RA5eioMBnxEzR0gn2bPBa7wODWTFhkGm0Xm21aqbi3kZ2WYVxGG4+yiR+NJAM3sX8r0pZ8I/urTP8x24joX5Jz/3gx7dtDXVuk7hQUaLcbQfiJ/UUAGXszFlEO+xRzzVpxXFr25gKGjLohW90vuTyJH3lYEKML0cUepAQLKiHVGalTm9SR8g3a1Vb2teSEZA+7dktdtvr1hH7nyuqX4d/D7IEQAh6QsremWrvIN2gIiyxI7IXkMAjLHobLYijjS+REethCBhbRTOYzRB+HhJHIxvkaOQl4bdOwlA1lXMv+w9QLBZkKFVHDsWa7kvKfChVrNm4q1EBmuflK7oshIYLv3UXBJvd9h/0mOTuICja5bzy56aqXCfzryL/4Tthp/4VA3UFFmK46mRIlYEerr5Y3YaLnCwwwB6W1Wp2A/R8BBgBqDTSvrpRFSAAAAABJRU5ErkJggg==\"","import React from 'react'\nimport WxErrImage from 'src/assets/image/wx_error.png'\nimport './wxerr.scss'\n\nconst WxErr = () => {\n return (\n <div className={'wxerr'}>\n <img src={WxErrImage} alt=''/>\n <p className=\"openLink\" style={{\n fontSize: `16px`,\n marginTop: `40px`\n }}>请在微信客户端打开链接</p>\n </div>\n )\n}\n\nexport default WxErr\n"],"sourceRoot":""} {"version":3,"sources":["assets/image/wx_error.png","components/wxerr/index.js"],"names":["module","exports","WxErr","className","src","WxErrImage","alt","style","fontSize","marginTop"],"mappings":"mGAAAA,EAAOC,QAAU,0vG,yDCAjB,sDAgBeC,UAZD,IAEV,yBAAKC,UAAW,SACd,yBAAKC,IAAKC,IAAYC,IAAI,KAC1B,uBAAGH,UAAU,WAAWI,MAAO,CAC7BC,SAAS,OACTC,UAAU,SAFZ","file":"mrstaticjs/66.bc89c58f.chunk.js","sourcesContent":["module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKFdpbmRvd3M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WYVxGG4+yiR+NJAM3sX8r0pZ8I/urTP8x24joX5Jz/3gx7dtDXVuk7hQUaLcbQfiJ/UUAGXszFlEO+xRzzVpxXFr25gKGjLohW90vuTyJH3lYEKML0cUepAQLKiHVGalTm9SR8g3a1Vb2teSEZA+7dktdtvr1hH7nyuqX4d/D7IEQAh6QsremWrvIN2gIiyxI7IXkMAjLHobLYijjS+REethCBhbRTOYzRB+HhJHIxvkaOQl4bdOwlA1lXMv+w9QLBZkKFVHDsWa7kvKfChVrNm4q1EBmuflK7oshIYLv3UXBJvd9h/0mOTuICja5bzy56aqXCfzryL/4Tthp/4VA3UFFmK46mRIlYEerr5Y3YaLnCwwwB6W1Wp2A/R8BBgBqDTSvrpRFSAAAAABJRU5ErkJggg==\"","import React from 'react'\nimport WxErrImage from 'src/assets/image/wx_error.png'\nimport './wxerr.scss'\n\nconst WxErr = () => {\n return (\n <div className={'wxerr'}>\n <img src={WxErrImage} alt=''/>\n <p className=\"openLink\" style={{\n fontSize: `16px`,\n marginTop: `40px`\n }}>请在微信客户端打开链接</p>\n </div>\n )\n}\n\nexport default WxErr\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[67],{1059:function(e,t,a){},1170:function(e,t,a){"use strict";a.r(t);var n=a(70),l=a(29),c=a(30),s=a(32),i=a(31),r=(a(39),a(6)),m=a.n(r),u=a(0),o=a.n(u),d=(a(1059),a(1)),E=a(11);function g(e){m.a.info(e,2,null,!1)}var p=function(e){Object(s.a)(a,e);var t=Object(i.a)(a);function a(){var e;Object(l.a)(this,a);for(var c=arguments.length,s=new Array(c),i=0;i<c;i++)s[i]=arguments[i];return(e=t.call.apply(t,[this].concat(s))).state={banner:"",courses:[],rule:"",awardstext:"",rankList:{},isShow:!1,animate:!1,marqueeList:[]},e.getRankList=function(){d.f.get("".concat(API["base-api"],"/assistance/ranking_list/50")).then((function(t){var a=t.data,n=a.data,l=a.errno,c=a.msg;200===l?e.setState({rankList:{list:n.list,first:n.list[0],second:n.list[1],third:n.list[2],other:n.list.slice(3,50),isMyList:n.nickname,myList:n.nickname&&n}}):g(c)}))},e.getMarqueeList=function(){d.f.get("".concat(API["base-api"],"/assistance/roll_tip")).then((function(t){var a=t.data,n=a.errno,l=a.msg,c=a.data;200===n?e.setState({marqueeList:c}):g(l)}))},e.showMarquee=function(){e.setState({animate:!0},(function(){setTimeout((function(){var t=Object(n.a)(e.state.marqueeList,2),a=t[0],l=t[1];e.setState({animate:!1,marqueeList:[l,a]})}),500)}))},e.isRouter=function(t){decodeURIComponent(Object(d.c)("activename"))!=t&&e.props.history.push("/")},e}return Object(c.a)(a,[{key:"componentDidMount",value:function(){var e=this;document.title="AI\u653b\u57ce\u72ee\u8d85\u8f66\u5b63\uff0c\u547c\u670b\u5524\u53cb\u514d\u8d39\u5b66\u7206\u6b3eAI\u597d\u8bfe\uff01VIP\u4f1a\u5458\u3001\u673a\u68b0\u952e\u76d8\u3001AI\u7ecf\u5178\u7eb8\u8d28\u4e66\u7b49\u514d\u8d39\u9001\uff01--\u4e03\u6708\u5728\u7ebf",d.f.get("".concat(API["base-api"],"/assistance/detail")).then((function(t){var a=t.data,n=a.data,l=a.errno,c=a.msg;200===l?(e.setState({banner:n.active_info.m_banner,courses:n.course_info,rule:n.active_info.rule,awardstext:n.active_info.awards_text.split("\n\n"),query:n.active_info.activity_name}),e.isRouter(n.active_info.activity_name)):g(c)})),this.getRankList(),this.getMarqueeList(),setInterval(this.showMarquee,5e3),setInterval(this.getMarqueeList,6e4)}},{key:"render",value:function(){var e=this,t=this.state,a=t.banner,n=t.courses,l=t.rule,c=t.awardstext,s=t.rankList,i=t.isShow,r=t.animate,m=t.marqueeList,u=u||[];return o.a.createElement("div",{id:"give-courses"},o.a.createElement("div",{className:"banner"},o.a.createElement("img",{src:a,alt:""})),o.a.createElement("div",{className:"give-box"},n.map((function(t){return o.a.createElement("div",{className:"give-course",key:t.id},o.a.createElement(E.b,{className:"give-course-img",to:"/detail?id=".concat(t.course_id)},o.a.createElement("img",{src:t.image_name,alt:""})),o.a.createElement("ul",{className:"give-course-mess"},o.a.createElement("li",{className:"course-title"},o.a.createElement("a",{href:"javascript:"},t.course_title)),o.a.createElement("li",{className:"course-teacher"},o.a.createElement("span",{className:"tag"},"\u8bb2\u5e08"),t.teachers),o.a.createElement("li",{className:"course-time"},o.a.createElement("span",{className:"tag"},"\u5f00\u8bfe\u65f6\u95f4"),t.start_time),o.a.createElement("li",{className:"toreceive",onClick:function(){u&&u.push(["_trackEvent","\u8bfe\u7a0bid=".concat(t.course_id),"\u514d\u8d39\u9886\u53d6\u8bfe\u7a0b"]),console.log(t.course_id),e.setState({isShow:!0})}},"\u514d\u8d39\u9886\u53d6\u8bfe\u7a0b")))})),o.a.createElement("p",{className:"rule-title"},"\u6d3b\u52a8\u89c4\u5219"),o.a.createElement("div",{className:"rule-list",dangerouslySetInnerHTML:{__html:l}}),o.a.createElement("div",{className:"marquee_box"},o.a.createElement("ul",{className:"marquee_list ".concat(r?"marquee_top":"")},m.length?m.map((function(e,t){return o.a.createElement("li",{key:t},o.a.createElement("img",{src:e.head_img,alt:""}),o.a.createElement("span",null,e.nickname),e.word)})):null))),o.a.createElement("div",{className:"set-prize"},o.a.createElement("p",{className:"set-prize-title"},o.a.createElement("img",{src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018_1111/jpsz_icon.png",alt:""}),"\u5956\u54c1\u8bbe\u7f6e"),o.a.createElement("div",{className:"set-prize-content"},c&&c.length&&c.map((function(e,t){return o.a.createElement("p",{key:t},e)})))),o.a.createElement("div",{className:"ranking-list"},o.a.createElement("div",{className:"ranking_title"},o.a.createElement("img",{src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018_1111/jbei_icon.png",alt:""}),o.a.createElement("span",null,"\u6392\u884c\u699c"),o.a.createElement("p",null,"\u6570\u636e\u5b9e\u65f6\u66f4\u65b0 \u53ea\u663e\u793aTop50")),o.a.createElement("table",{border:"0",cellPadding:"0",cellSpacing:"0"},o.a.createElement("thead",null,o.a.createElement("tr",null,o.a.createElement("td",null,"\u6392\u540d"),o.a.createElement("td",null,"\u7528\u6237"),o.a.createElement("td",null,"\u9080\u8bf7\u4eba\u6570"))),o.a.createElement("tbody",null,s.list&&s.list.length>0?o.a.createElement("tr",null,o.a.createElement("td",null,o.a.createElement("img",{src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018_1111/jin1_icon.png",alt:""})),o.a.createElement("td",null,o.a.createElement("img",{src:s.first.head_img,alt:""}),o.a.createElement("span",null,s.first.name)),o.a.createElement("td",null,s.first.num)):null,s.list&&s.list.length>1?o.a.createElement("tr",null,o.a.createElement("td",null,o.a.createElement("img",{src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018_1111/yin2_icon.png",alt:""})),o.a.createElement("td",null,o.a.createElement("img",{src:s.second.head_img,alt:""}),o.a.createElement("span",null,s.second.name)),o.a.createElement("td",null,s.second.num)):null,s.list&&s.list.length>2?o.a.createElement("tr",null,o.a.createElement("td",null,o.a.createElement("img",{src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018_1111/tong_icon.png",alt:""})),o.a.createElement("td",null,o.a.createElement("img",{src:s.third.head_img,alt:""}),o.a.createElement("span",null,s.third.name)),o.a.createElement("td",null,s.third.num)):null,s.list&&s.list.length&&s.list.length>3?s.other.map((function(e,t){return o.a.createElement("tr",{key:t},o.a.createElement("td",null,t+4),o.a.createElement("td",null,o.a.createElement("img",{src:e.head_img,alt:""}),o.a.createElement("span",null,e.name)),o.a.createElement("td",null,e.num))})):null,s.isMyList&&o.a.createElement("tr",{className:"ismylist"},o.a.createElement("td",null,s.myList.ranking),o.a.createElement("td",null,o.a.createElement("img",{src:s.myList.head_img,alt:""}),o.a.createElement("span",null,s.myList.nickname)),o.a.createElement("td",null,s.myList.inviter_num)))),o.a.createElement("p",{className:"btm"})),o.a.createElement("p",{className:"julynotice"},"*\u672c\u6d3b\u52a8\u6700\u7ec8\u89e3\u91ca\u6743\u5f52\u4e03\u6708\u5728\u7ebf\u6240\u6709*"),i&&o.a.createElement("div",{className:"code-mbc"},o.a.createElement("div",{className:"code-box"},o.a.createElement("p",{className:"code-title"},"\u8fdb\u5165\u670d\u52a1\u53f7\u56de\u590d",o.a.createElement("i",null,"77"),"\u514d\u8d39\u9886\u53d6\u8bfe\u7a0b"),o.a.createElement("img",{id:"qrCodeWpay",src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg",alt:""}),o.a.createElement("p",{className:"btmmess"},"\u957f\u6309\u626b\u7801\u8fdb\u5165\u670d\u52a1\u53f7")),o.a.createElement("i",{className:"close iconfont iconiconfront-2",onClick:function(){e.setState({isShow:!1})}})))}}]),a}(u.Component);t.default=p}}]);
//# sourceMappingURL=67.0ae65cdd.chunk.js.map
\ No newline at end of file
(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[67],{1057:function(e,t,a){},1168:function(e,t,a){"use strict";a.r(t);var n=a(70),l=(a(39),a(6)),s=a.n(l),c=a(0),i=a.n(c),r=(a(1057),a(1)),m=a(11);function u(e){s.a.info(e,2,null,!1)}class o extends c.Component{constructor(...e){super(...e),this.state={banner:"",courses:[],rule:"",awardstext:"",rankList:{},isShow:!1,animate:!1,marqueeList:[]},this.getRankList=()=>{r.f.get("".concat(API["base-api"],"/assistance/ranking_list/50")).then(e=>{const t=e.data,a=t.data,n=t.errno,l=t.msg;200===n?this.setState({rankList:{list:a.list,first:a.list[0],second:a.list[1],third:a.list[2],other:a.list.slice(3,50),isMyList:a.nickname,myList:a.nickname&&a}}):u(l)})},this.getMarqueeList=()=>{r.f.get("".concat(API["base-api"],"/assistance/roll_tip")).then(e=>{const t=e.data,a=t.errno,n=t.msg,l=t.data;200===a?this.setState({marqueeList:l}):u(n)})},this.showMarquee=()=>{this.setState({animate:!0},()=>{setTimeout(()=>{const e=Object(n.a)(this.state.marqueeList,2),t=e[0],a=e[1];this.setState({animate:!1,marqueeList:[a,t]})},500)})},this.isRouter=e=>{decodeURIComponent(Object(r.c)("activename"))!=e&&this.props.history.push("/")}}componentDidMount(){r.f.get("".concat(API["base-api"],"/assistance/detail")).then(e=>{const t=e.data,a=t.data,n=t.errno,l=t.msg;200===n?(this.setState({banner:a.active_info.m_banner,courses:a.course_info,rule:a.active_info.rule,awardstext:a.active_info.awards_text.split("\n\n"),query:a.active_info.activity_name}),this.isRouter(a.active_info.activity_name)):u(l)}),this.getRankList(),this.getMarqueeList(),setInterval(this.showMarquee,5e3),setInterval(this.getMarqueeList,6e4)}render(){const e=this.state,t=e.banner,a=e.courses,n=e.rule,l=e.awardstext,s=e.rankList,c=e.isShow,r=e.animate,u=e.marqueeList;return i.a.createElement("div",{id:"give-courses"},i.a.createElement("div",{className:"banner"},i.a.createElement("img",{src:t,alt:""})),i.a.createElement("div",{className:"give-box"},a.map(e=>i.a.createElement("div",{className:"give-course",key:e.id},i.a.createElement(m.b,{className:"give-course-img",to:"/detail?id=".concat(e.course_id)},i.a.createElement("img",{src:e.image_name,alt:""})),i.a.createElement("ul",{className:"give-course-mess"},i.a.createElement("li",{className:"course-title"},i.a.createElement("a",{href:"javascript:"},e.course_title)),i.a.createElement("li",{className:"course-teacher"},i.a.createElement("span",{className:"tag"},"\u8bb2\u5e08"),e.teachers),i.a.createElement("li",{className:"course-time"},i.a.createElement("span",{className:"tag"},"\u5f00\u8bfe\u65f6\u95f4"),e.start_time),i.a.createElement("li",{className:"toreceive",onClick:()=>{_czc&&_czc.push(["_trackEvent","\u8bfe\u7a0bid=".concat(e.course_id),"\u514d\u8d39\u9886\u53d6\u8bfe\u7a0b"]),console.log(e.course_id),this.setState({isShow:!0})}},"\u514d\u8d39\u9886\u53d6\u8bfe\u7a0b")))),i.a.createElement("p",{className:"rule-title"},"\u6d3b\u52a8\u89c4\u5219"),i.a.createElement("div",{className:"rule-list",dangerouslySetInnerHTML:{__html:n}}),i.a.createElement("div",{className:"marquee_box"},i.a.createElement("ul",{className:"marquee_list ".concat(r?"marquee_top":"")},u.length?u.map((e,t)=>i.a.createElement("li",{key:t},i.a.createElement("img",{src:e.head_img,alt:""}),i.a.createElement("span",null,e.nickname),e.word)):null))),i.a.createElement("div",{className:"set-prize"},i.a.createElement("p",{className:"set-prize-title"},i.a.createElement("img",{src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018_1111/jpsz_icon.png",alt:""}),"\u5956\u54c1\u8bbe\u7f6e"),i.a.createElement("div",{className:"set-prize-content"},l&&l.length&&l.map((e,t)=>i.a.createElement("p",{key:t},e)))),i.a.createElement("div",{className:"ranking-list"},i.a.createElement("div",{className:"ranking_title"},i.a.createElement("img",{src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018_1111/jbei_icon.png",alt:""}),i.a.createElement("span",null,"\u6392\u884c\u699c"),i.a.createElement("p",null,"\u6570\u636e\u5b9e\u65f6\u66f4\u65b0 \u53ea\u663e\u793aTop50")),i.a.createElement("table",{border:"0",cellPadding:"0",cellSpacing:"0"},i.a.createElement("thead",null,i.a.createElement("tr",null,i.a.createElement("td",null,"\u6392\u540d"),i.a.createElement("td",null,"\u7528\u6237"),i.a.createElement("td",null,"\u9080\u8bf7\u4eba\u6570"))),i.a.createElement("tbody",null,s.list&&s.list.length>0?i.a.createElement("tr",null,i.a.createElement("td",null,i.a.createElement("img",{src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018_1111/jin1_icon.png",alt:""})),i.a.createElement("td",null,i.a.createElement("img",{src:s.first.head_img,alt:""}),i.a.createElement("span",null,s.first.name)),i.a.createElement("td",null,s.first.num)):null,s.list&&s.list.length>1?i.a.createElement("tr",null,i.a.createElement("td",null,i.a.createElement("img",{src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018_1111/yin2_icon.png",alt:""})),i.a.createElement("td",null,i.a.createElement("img",{src:s.second.head_img,alt:""}),i.a.createElement("span",null,s.second.name)),i.a.createElement("td",null,s.second.num)):null,s.list&&s.list.length>2?i.a.createElement("tr",null,i.a.createElement("td",null,i.a.createElement("img",{src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018_1111/tong_icon.png",alt:""})),i.a.createElement("td",null,i.a.createElement("img",{src:s.third.head_img,alt:""}),i.a.createElement("span",null,s.third.name)),i.a.createElement("td",null,s.third.num)):null,s.list&&s.list.length&&s.list.length>3?s.other.map((e,t)=>i.a.createElement("tr",{key:t},i.a.createElement("td",null,t+4),i.a.createElement("td",null,i.a.createElement("img",{src:e.head_img,alt:""}),i.a.createElement("span",null,e.name)),i.a.createElement("td",null,e.num))):null,s.isMyList&&i.a.createElement("tr",{className:"ismylist"},i.a.createElement("td",null,s.myList.ranking),i.a.createElement("td",null,i.a.createElement("img",{src:s.myList.head_img,alt:""}),i.a.createElement("span",null,s.myList.nickname)),i.a.createElement("td",null,s.myList.inviter_num)))),i.a.createElement("p",{className:"btm"})),i.a.createElement("p",{className:"julynotice"},"*\u672c\u6d3b\u52a8\u6700\u7ec8\u89e3\u91ca\u6743\u5f52\u4e03\u6708\u5728\u7ebf\u6240\u6709*"),c&&i.a.createElement("div",{className:"code-mbc"},i.a.createElement("div",{className:"code-box"},i.a.createElement("p",{className:"code-title"},"\u8fdb\u5165\u670d\u52a1\u53f7\u56de\u590d",i.a.createElement("i",null,"77"),"\u514d\u8d39\u9886\u53d6\u8bfe\u7a0b"),i.a.createElement("img",{id:"qrCodeWpay",src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg",alt:""}),i.a.createElement("p",{className:"btmmess"},"\u957f\u6309\u626b\u7801\u8fdb\u5165\u670d\u52a1\u53f7")),i.a.createElement("i",{className:"close iconfont iconiconfront-2",onClick:()=>{this.setState({isShow:!1})}})))}}t.default=o}}]);
//# sourceMappingURL=67.d3a424b1.chunk.js.map
\ No newline at end of file
(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[68],{1153:function(e,a,t){"use strict";t.r(a);t(39);var n=t(6),s=t.n(n),i=t(0),c=t.n(i),l=(t(996),t(1)),m=t(16);class r extends i.Component{constructor(...e){super(...e),this.state={data:""},this.getIndexData=()=>{l.f.post("".concat(API["base-api"],"/m/deposit/coupon"),{order_id:Object(l.c)("order_id")}).then(e=>{if(200==e.data.errno){const a=e.data.data;this.setState({data:a})}else s.a.info(e.data.msg,2)})},this.invitation=e=>{const a=this.props,t=a.user;a.history;t&&t.data&&t.data.uid?window.location.href=e:this.props.history.push("/passport/login")}}componentDidMount(){this.getIndexData()}render(){let e=this.state.data;return c.a.createElement("div",{className:"callback-box"},c.a.createElement("div",{className:"banner"}),c.a.createElement("div",{className:"content"},c.a.createElement("div",{className:"title"},"\u606d\u559c\u4f60\uff0c\u83b7\u5f97\u4e00\u5f20"),c.a.createElement("div",{className:"coupon"},c.a.createElement("p",{className:"coupon-name"},"\u81a8\u80c0\u5238"),c.a.createElement("p",{className:"coupon-price"},c.a.createElement("span",null,e.amount),"\u5143"),c.a.createElement("p",{className:"coupon-time"},"\u6709\u6548\u671f\u81f3\uff1a",e.expire_time)),c.a.createElement("div",{className:"tip"},c.a.createElement("ul",null,new Array(19).fill("1").map((e,a)=>c.a.createElement("li",{key:a}))),"\u5168\u573a\u901a\u7528"),c.a.createElement("div",{className:"expand"},c.a.createElement("span",{className:"expand-small"},e.amount),"\u5143",c.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/expand.png",alt:""}),c.a.createElement("span",{className:"expand-big"},e.limit_amount),"\u5143"),c.a.createElement("button",{className:"invitation",onClick:()=>this.invitation(e.share_url)},"\u9080\u8bf7\u597d\u53cb\u52a9\u529b\uff0c",e.amount,"\u5143\u53d8",e.limit_amount,"\u5143"),c.a.createElement("div",{className:"active-time"},"\u6d3b\u52a8\u65f6\u95f4\uff1a",e.start_time,"-",e.end_time),c.a.createElement("div",{className:"active-tip"},"\u9001\u52a9\u529b\u597d\u53cb",e.limit_amount,"\u5143\uff01")))}}a.default=Object(m.b)(e=>({user:e.user}))(r)},996:function(e,a,t){}}]); (this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[68],{1155:function(e,a,t){"use strict";t.r(a);t(39);var n=t(6),s=t.n(n),i=t(0),c=t.n(i),l=(t(998),t(1)),m=t(16);class r extends i.Component{constructor(...e){super(...e),this.state={data:""},this.getIndexData=()=>{l.f.post("".concat(API["base-api"],"/m/deposit/coupon"),{order_id:Object(l.c)("order_id")}).then(e=>{if(200==e.data.errno){const a=e.data.data;this.setState({data:a})}else s.a.info(e.data.msg,2)})},this.invitation=e=>{const a=this.props,t=a.user;a.history;t&&t.data&&t.data.uid?window.location.href=e:this.props.history.push("/passport/login")}}componentDidMount(){this.getIndexData()}render(){let e=this.state.data;return c.a.createElement("div",{className:"callback-box"},c.a.createElement("div",{className:"banner"}),c.a.createElement("div",{className:"content"},c.a.createElement("div",{className:"title"},"\u606d\u559c\u4f60\uff0c\u83b7\u5f97\u4e00\u5f20"),c.a.createElement("div",{className:"coupon"},c.a.createElement("p",{className:"coupon-name"},"\u81a8\u80c0\u5238"),c.a.createElement("p",{className:"coupon-price"},c.a.createElement("span",null,e.amount),"\u5143"),c.a.createElement("p",{className:"coupon-time"},"\u6709\u6548\u671f\u81f3\uff1a",e.expire_time)),c.a.createElement("div",{className:"tip"},c.a.createElement("ul",null,new Array(19).fill("1").map((e,a)=>c.a.createElement("li",{key:a}))),"\u5168\u573a\u901a\u7528"),c.a.createElement("div",{className:"expand"},c.a.createElement("span",{className:"expand-small"},e.amount),"\u5143",c.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/expand.png",alt:""}),c.a.createElement("span",{className:"expand-big"},e.limit_amount),"\u5143"),c.a.createElement("button",{className:"invitation",onClick:()=>this.invitation(e.share_url)},"\u9080\u8bf7\u597d\u53cb\u52a9\u529b\uff0c",e.amount,"\u5143\u53d8",e.limit_amount,"\u5143"),c.a.createElement("div",{className:"active-time"},"\u6d3b\u52a8\u65f6\u95f4\uff1a",e.start_time,"-",e.end_time),c.a.createElement("div",{className:"active-tip"},"\u9001\u52a9\u529b\u597d\u53cb",e.limit_amount,"\u5143\uff01")))}}a.default=Object(m.b)(e=>({user:e.user}))(r)},998:function(e,a,t){}}]);
//# sourceMappingURL=68.23e45c69.chunk.js.map //# sourceMappingURL=68.0741cc7f.chunk.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["components/expand/callback.js"],"names":["ExpandCallback","Component","state","data","getIndexData","http","post","API","order_id","getParam","then","res","errno","this","setState","info","msg","invitation","url","props","user","history","uid","window","location","href","push","componentDidMount","render","className","amount","expire_time","Array","fill","map","item","index","key","src","alt","limit_amount","onClick","share_url","start_time","end_time","connect"],"mappings":"2LAMA,MAAMA,UAAuBC,YAAW,eAAD,oBACnCC,MAAQ,CACJC,KAAM,IAFyB,KAUnCC,aAAe,KACXC,IAAKC,KAAL,UAAaC,IAAI,YAAjB,qBAAiD,CAACC,SAAUC,YAAS,cAAcC,KAAMC,IACrF,GAAsB,KAAlBA,EAAIR,KAAKS,MAAc,CAAC,MACjBT,EAAQQ,EAAIR,KAAZA,KACPU,KAAKC,SAAS,CACVX,KAAMA,SAGV,IAAMY,KAAKJ,EAAIR,KAAKa,IAAK,MAlBF,KAyBnCC,WAAcC,IAAS,MAAD,EACML,KAAKM,MAAtBC,EADW,EACXA,KADW,EACLC,QACDD,GAAQA,EAAKjB,MAAQiB,EAAKjB,KAAKmB,IAIvCC,OAAOC,SAASC,KAAOP,EAFvBL,KAAKM,MAAME,QAAQK,KAAK,oBAxBhCC,oBACId,KAAKT,eA8BTwB,SACI,IAAIzB,EAAOU,KAAKX,MAAMC,KACtB,OACI,yBAAK0B,UAAU,gBACX,yBAAKA,UAAU,WACf,yBAAKA,UAAU,WACX,yBAAKA,UAAU,SAAf,oDACA,yBAAKA,UAAU,UACX,uBAAGA,UAAU,eAAb,sBACA,uBAAGA,UAAU,gBAAe,8BAAO1B,EAAK2B,QAAxC,UACA,uBAAGD,UAAU,eAAb,iCAAiC1B,EAAK4B,cAE1C,yBAAKF,UAAU,OACX,4BAEQ,IAAIG,MAAM,IAAIC,KAAK,KAAKC,IAAI,CAACC,EAAMC,IACxB,wBAAIC,IAAKD,MAJhC,4BAUA,yBAAKP,UAAU,UACX,0BAAMA,UAAU,gBAAgB1B,EAAK2B,QADzC,SAEI,yBAAKQ,IAAI,4EAA4EC,IAAI,KACzF,0BAAMV,UAAU,cAAc1B,EAAKqC,cAHvC,UAKA,4BAAQX,UAAU,aACVY,QAAS,IAAM5B,KAAKI,WAAWd,EAAKuC,YAD5C,6CACgEvC,EAAK2B,OADrE,eAC+E3B,EAAKqC,aADpF,UAGA,yBAAKX,UAAU,eAAf,iCAAmC1B,EAAKwC,WAAxC,IAAqDxC,EAAKyC,UAC1D,yBAAKf,UAAU,cAAf,iCAAkC1B,EAAKqC,aAAvC,mBAQLK,sBACX3C,IAAK,CACDkB,KAAMlB,EAAMkB,OAFLyB,CAIb7C,I","file":"mrstaticjs/68.23e45c69.chunk.js","sourcesContent":["import React, {Component} from 'react'\nimport './callback.scss'\nimport {http, getParam} from 'src/utils'\nimport {Toast} from 'antd-mobile'\nimport {connect} from \"react-redux\";\n\nclass ExpandCallback extends Component {\n state = {\n data: ''\n }\n\n componentDidMount() {\n this.getIndexData()\n }\n\n // 获取膨胀券相关\n getIndexData = () => {\n http.post(`${API['base-api']}/m/deposit/coupon`, {order_id: getParam('order_id')}).then((res) => {\n if (res.data.errno == 200) {\n const {data} = res.data\n this.setState({\n data: data,\n })\n } else {\n Toast.info(res.data.msg, 2)\n }\n\n })\n }\n\n // 邀请好友助力\n invitation = (url) => {\n const {user, history} = this.props;\n const uid = user && user.data && user.data.uid;\n if (!uid) {\n this.props.history.push('/passport/login')\n } else {\n window.location.href = url\n }\n }\n\n\n render() {\n let data = this.state.data\n return (\n <div className=\"callback-box\">\n <div className=\"banner\"></div>\n <div className=\"content\">\n <div className=\"title\">恭喜你,获得一张</div>\n <div className=\"coupon\">\n <p className=\"coupon-name\">膨胀券</p>\n <p className=\"coupon-price\"><span>{data.amount}</span>元</p>\n <p className=\"coupon-time\">有效期至:{data.expire_time}</p>\n </div>\n <div className=\"tip\">\n <ul>\n {\n new Array(19).fill('1').map((item, index) => {\n return <li key={index}/>\n })\n }\n </ul>\n 全场通用\n </div>\n <div className=\"expand\">\n <span className=\"expand-small\">{data.amount}</span>元\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/expand.png\" alt=\"\"/>\n <span className=\"expand-big\">{data.limit_amount}</span>元\n </div>\n <button className=\"invitation\"\n onClick={() => this.invitation(data.share_url)}>邀请好友助力,{data.amount}元变{data.limit_amount}元\n </button>\n <div className=\"active-time\">活动时间:{data.start_time}-{data.end_time}</div>\n <div className=\"active-tip\">送助力好友{data.limit_amount}元!</div>\n </div>\n </div>\n )\n }\n\n}\n\nexport default connect(\n state => ({\n user: state.user\n }),\n)(ExpandCallback)\n"],"sourceRoot":""} {"version":3,"sources":["components/expand/callback.js"],"names":["ExpandCallback","Component","state","data","getIndexData","http","post","API","order_id","getParam","then","res","errno","this","setState","info","msg","invitation","url","props","user","history","uid","window","location","href","push","componentDidMount","render","className","amount","expire_time","Array","fill","map","item","index","key","src","alt","limit_amount","onClick","share_url","start_time","end_time","connect"],"mappings":"2LAMA,MAAMA,UAAuBC,YAAW,eAAD,oBACnCC,MAAQ,CACJC,KAAM,IAFyB,KAUnCC,aAAe,KACXC,IAAKC,KAAL,UAAaC,IAAI,YAAjB,qBAAiD,CAACC,SAAUC,YAAS,cAAcC,KAAMC,IACrF,GAAsB,KAAlBA,EAAIR,KAAKS,MAAc,CAAC,MACjBT,EAAQQ,EAAIR,KAAZA,KACPU,KAAKC,SAAS,CACVX,KAAMA,SAGV,IAAMY,KAAKJ,EAAIR,KAAKa,IAAK,MAlBF,KAyBnCC,WAAcC,IAAS,MAAD,EACML,KAAKM,MAAtBC,EADW,EACXA,KADW,EACLC,QACDD,GAAQA,EAAKjB,MAAQiB,EAAKjB,KAAKmB,IAIvCC,OAAOC,SAASC,KAAOP,EAFvBL,KAAKM,MAAME,QAAQK,KAAK,oBAxBhCC,oBACId,KAAKT,eA8BTwB,SACI,IAAIzB,EAAOU,KAAKX,MAAMC,KACtB,OACI,yBAAK0B,UAAU,gBACX,yBAAKA,UAAU,WACf,yBAAKA,UAAU,WACX,yBAAKA,UAAU,SAAf,oDACA,yBAAKA,UAAU,UACX,uBAAGA,UAAU,eAAb,sBACA,uBAAGA,UAAU,gBAAe,8BAAO1B,EAAK2B,QAAxC,UACA,uBAAGD,UAAU,eAAb,iCAAiC1B,EAAK4B,cAE1C,yBAAKF,UAAU,OACX,4BAEQ,IAAIG,MAAM,IAAIC,KAAK,KAAKC,IAAI,CAACC,EAAMC,IACxB,wBAAIC,IAAKD,MAJhC,4BAUA,yBAAKP,UAAU,UACX,0BAAMA,UAAU,gBAAgB1B,EAAK2B,QADzC,SAEI,yBAAKQ,IAAI,4EAA4EC,IAAI,KACzF,0BAAMV,UAAU,cAAc1B,EAAKqC,cAHvC,UAKA,4BAAQX,UAAU,aACVY,QAAS,IAAM5B,KAAKI,WAAWd,EAAKuC,YAD5C,6CACgEvC,EAAK2B,OADrE,eAC+E3B,EAAKqC,aADpF,UAGA,yBAAKX,UAAU,eAAf,iCAAmC1B,EAAKwC,WAAxC,IAAqDxC,EAAKyC,UAC1D,yBAAKf,UAAU,cAAf,iCAAkC1B,EAAKqC,aAAvC,mBAQLK,sBACX3C,IAAK,CACDkB,KAAMlB,EAAMkB,OAFLyB,CAIb7C,I","file":"mrstaticjs/68.0741cc7f.chunk.js","sourcesContent":["import React, {Component} from 'react'\nimport './callback.scss'\nimport {http, getParam} from 'src/utils'\nimport {Toast} from 'antd-mobile'\nimport {connect} from \"react-redux\";\n\nclass ExpandCallback extends Component {\n state = {\n data: ''\n }\n\n componentDidMount() {\n this.getIndexData()\n }\n\n // 获取膨胀券相关\n getIndexData = () => {\n http.post(`${API['base-api']}/m/deposit/coupon`, {order_id: getParam('order_id')}).then((res) => {\n if (res.data.errno == 200) {\n const {data} = res.data\n this.setState({\n data: data,\n })\n } else {\n Toast.info(res.data.msg, 2)\n }\n\n })\n }\n\n // 邀请好友助力\n invitation = (url) => {\n const {user, history} = this.props;\n const uid = user && user.data && user.data.uid;\n if (!uid) {\n this.props.history.push('/passport/login')\n } else {\n window.location.href = url\n }\n }\n\n\n render() {\n let data = this.state.data\n return (\n <div className=\"callback-box\">\n <div className=\"banner\"></div>\n <div className=\"content\">\n <div className=\"title\">恭喜你,获得一张</div>\n <div className=\"coupon\">\n <p className=\"coupon-name\">膨胀券</p>\n <p className=\"coupon-price\"><span>{data.amount}</span>元</p>\n <p className=\"coupon-time\">有效期至:{data.expire_time}</p>\n </div>\n <div className=\"tip\">\n <ul>\n {\n new Array(19).fill('1').map((item, index) => {\n return <li key={index}/>\n })\n }\n </ul>\n 全场通用\n </div>\n <div className=\"expand\">\n <span className=\"expand-small\">{data.amount}</span>元\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/expand.png\" alt=\"\"/>\n <span className=\"expand-big\">{data.limit_amount}</span>元\n </div>\n <button className=\"invitation\"\n onClick={() => this.invitation(data.share_url)}>邀请好友助力,{data.amount}元变{data.limit_amount}元\n </button>\n <div className=\"active-time\">活动时间:{data.start_time}-{data.end_time}</div>\n <div className=\"active-tip\">送助力好友{data.limit_amount}元!</div>\n </div>\n </div>\n )\n }\n\n}\n\nexport default connect(\n state => ({\n user: state.user\n }),\n)(ExpandCallback)\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[69],{1116:function(e,t,a){},1177:function(e,t,a){"use strict";a.r(t);a(39);var n=a(6),s=a.n(n),o=a(0),c=a.n(o),r=(a(1116),a(20)),i=a(1),l=a(11);class m extends o.Component{constructor(...e){super(...e),this.state={isShowAnswer:!1,isShowCaptcha:!1,instance:null,problem:{}},this.onVerify=e=>{i.f.post("".concat(API.home,"/m/safety"),e).then(e=>{200===e.data.code?(this.setState({isShowCaptcha:!1}),this.getProblem()):this.state.instance&&this.state.instance.reset()})},this.getInstance=e=>{this.setState({instance:e})},this.getProblem=()=>{i.f.get("".concat(API.home,"/m/question/").concat(this.props.match.params.id)).then(e=>{const t=e.data,a=t.code,n=t.msg,o=t.data;200===a?this.setState({problem:o}):1===a?this.setState({isShowCaptcha:!0}):s.a.info(n)})},this.goBack=()=>{if(document.referrer.includes(API.www))history.go(-1);else{const e=this.props.location,t=e.state;if(e.hash.includes("goback"))return window.history.go(-1);i.b.isWeixin&&Object(i.c)("code")&&Object(i.c)("state")&&window.history.go(-2),t.records&&t.records.length>1?window.history.go(-1):t.from&&t.from.pathname?location.replace("".concat(t.from.pathname).concat(t.from.search)):window.location.href=window.location.origin}}}componentDidMount(){this.getProblem()}componentDidUpdate(e,t){e.match.params.id!==this.props.match.params.id&&(this.setState({problem:{},isShowAnswer:!1}),this.getProblem())}render(){const e=this.state,t=e.isShowAnswer,a=e.problem,n=a.quesInfo,s=a.between,o=e.isShowCaptcha;return n||o?c.a.createElement("article",{id:"problems"},o?c.a.createElement("div",{className:"captcha-container"},c.a.createElement("div",null,"\u4eb2\uff0c\u7cfb\u7edf\u6b63\u5fd9\uff0c\u6ed1\u52a8\u4e00\u4e0b\u9a6c\u4e0a\u56de\u6765"),c.a.createElement(r.b,{getInstance:this.getInstance,onVerify:this.onVerify})):c.a.createElement(c.a.Fragment,null,c.a.createElement(r.e,{title:n&&n.category,arrow:!0,cart:!1,goBack:this.goBack}),c.a.createElement("div",{className:"topic"},c.a.createElement("span",null,n&&n.order_id,"."),c.a.createElement("span",{dangerouslySetInnerHTML:{__html:n&&n.ques}})),!t&&c.a.createElement("div",{className:"btn",onClick:()=>{this.setState({isShowAnswer:!0})}},c.a.createElement("button",null,"\u67e5\u770b\u89e3\u6790 ",c.a.createElement("i",{className:"iconfont iconiconfront-69"}))),t&&c.a.createElement("div",{className:"content"},c.a.createElement("div",{className:"title"},"\u89e3\u6790"),c.a.createElement("span",{dangerouslySetInnerHTML:{__html:n.analysis}})),c.a.createElement("footer",null,c.a.createElement("div",{className:"app"},"\u66f4\u591a\u9898\u76ee\u8bf7 ",c.a.createElement(r.a,{text:"\u524d\u5f80APP"})),c.a.createElement("div",{className:"op"},s&&!!s.up&&c.a.createElement(l.b,{to:"/problems/".concat(s.up),replace:!0,className:"nav"},"\u4e0a\u4e00\u9898"),s&&!!s.down&&c.a.createElement(l.b,{to:"/problems/".concat(s.down),replace:!0,className:"nav"},"\u4e0b\u4e00\u9898"))))):null}}t.default=m}}]); (this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[69],{1118:function(e,t,a){},1179:function(e,t,a){"use strict";a.r(t);a(39);var n=a(6),s=a.n(n),o=a(0),c=a.n(o),r=(a(1118),a(20)),i=a(1),l=a(11);class m extends o.Component{constructor(...e){super(...e),this.state={isShowAnswer:!1,isShowCaptcha:!1,instance:null,problem:{}},this.onVerify=e=>{i.f.post("".concat(API.home,"/m/safety"),e).then(e=>{200===e.data.code?(this.setState({isShowCaptcha:!1}),this.getProblem()):this.state.instance&&this.state.instance.reset()})},this.getInstance=e=>{this.setState({instance:e})},this.getProblem=()=>{i.f.get("".concat(API.home,"/m/question/").concat(this.props.match.params.id)).then(e=>{const t=e.data,a=t.code,n=t.msg,o=t.data;200===a?this.setState({problem:o}):1===a?this.setState({isShowCaptcha:!0}):s.a.info(n)})},this.goBack=()=>{if(document.referrer.includes(API.www))history.go(-1);else{const e=this.props.location,t=e.state;if(e.hash.includes("goback"))return window.history.go(-1);i.b.isWeixin&&Object(i.c)("code")&&Object(i.c)("state")&&window.history.go(-2),t.records&&t.records.length>1?window.history.go(-1):t.from&&t.from.pathname?location.replace("".concat(t.from.pathname).concat(t.from.search)):window.location.href=window.location.origin}}}componentDidMount(){this.getProblem()}componentDidUpdate(e,t){e.match.params.id!==this.props.match.params.id&&(this.setState({problem:{},isShowAnswer:!1}),this.getProblem())}render(){const e=this.state,t=e.isShowAnswer,a=e.problem,n=a.quesInfo,s=a.between,o=e.isShowCaptcha;return n||o?c.a.createElement("article",{id:"problems"},o?c.a.createElement("div",{className:"captcha-container"},c.a.createElement("div",null,"\u4eb2\uff0c\u7cfb\u7edf\u6b63\u5fd9\uff0c\u6ed1\u52a8\u4e00\u4e0b\u9a6c\u4e0a\u56de\u6765"),c.a.createElement(r.b,{getInstance:this.getInstance,onVerify:this.onVerify})):c.a.createElement(c.a.Fragment,null,c.a.createElement(r.e,{title:n&&n.category,arrow:!0,cart:!1,goBack:this.goBack}),c.a.createElement("div",{className:"topic"},c.a.createElement("span",null,n&&n.order_id,"."),c.a.createElement("span",{dangerouslySetInnerHTML:{__html:n&&n.ques}})),!t&&c.a.createElement("div",{className:"btn",onClick:()=>{this.setState({isShowAnswer:!0})}},c.a.createElement("button",null,"\u67e5\u770b\u89e3\u6790 ",c.a.createElement("i",{className:"iconfont iconiconfront-69"}))),t&&c.a.createElement("div",{className:"content"},c.a.createElement("div",{className:"title"},"\u89e3\u6790"),c.a.createElement("span",{dangerouslySetInnerHTML:{__html:n.analysis}})),c.a.createElement("footer",null,c.a.createElement("div",{className:"app"},"\u66f4\u591a\u9898\u76ee\u8bf7 ",c.a.createElement(r.a,{text:"\u524d\u5f80APP"})),c.a.createElement("div",{className:"op"},s&&!!s.up&&c.a.createElement(l.b,{to:"/problems/".concat(s.up),replace:!0,className:"nav"},"\u4e0a\u4e00\u9898"),s&&!!s.down&&c.a.createElement(l.b,{to:"/problems/".concat(s.down),replace:!0,className:"nav"},"\u4e0b\u4e00\u9898"))))):null}}t.default=m}}]);
//# sourceMappingURL=69.20c470fb.chunk.js.map //# sourceMappingURL=69.e6754339.chunk.js.map
\ No newline at end of file \ No newline at end of file
(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[5],{1155:function(e,t,s){"use strict";s.r(t);var i=s(0),n=s.n(i),a=s(16),o=s(1),r=s(42),c=s.n(r);s(575);class u extends i.Component{constructor(e){super(e),this.getGift=()=>{this.props.user.hasError?this.props.history.push("/passport",{from:this.props.location.pathname}):this.props.history.push("/blessingPreheat")},this.state={butText:"\u7acb\u5373\u9886\u53d6"}}componentWillMount(){c.a.set("blessing_invite_uid",Object(o.c)("shareuid"),{domain:".julyedu.com",expires:30}),c.a.set("blessing_invite_code",Object(o.c)("inviteCode"),{domain:".julyedu.com",expires:30}),c.a.get("uid")&&this.setState(()=>({butText:"\u5df2\u9886\u53d6\uff0c\u53bb\u4f7f\u7528"}))}render(){const e=this.state.butText;return n.a.createElement("div",{className:"activity__con"},n.a.createElement("div",{className:"banner__con"}),n.a.createElement("div",{className:"content__con"},n.a.createElement("div",{className:"button__get",onClick:this.getGift},e)))}}t.default=Object(a.b)(e=>({user:e.user}),null)(u)},575:function(e,t,s){}}]); (this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[5],{1157:function(e,t,s){"use strict";s.r(t);var i=s(0),n=s.n(i),a=s(16),o=s(1),r=s(42),c=s.n(r);s(577);class u extends i.Component{constructor(e){super(e),this.getGift=()=>{this.props.user.hasError?this.props.history.push("/passport",{from:this.props.location.pathname}):this.props.history.push("/blessingPreheat")},this.state={butText:"\u7acb\u5373\u9886\u53d6"}}componentWillMount(){c.a.set("blessing_invite_uid",Object(o.c)("shareuid"),{domain:".julyedu.com",expires:30}),c.a.set("blessing_invite_code",Object(o.c)("inviteCode"),{domain:".julyedu.com",expires:30}),c.a.get("uid")&&this.setState(()=>({butText:"\u5df2\u9886\u53d6\uff0c\u53bb\u4f7f\u7528"}))}render(){const e=this.state.butText;return n.a.createElement("div",{className:"activity__con"},n.a.createElement("div",{className:"banner__con"}),n.a.createElement("div",{className:"content__con"},n.a.createElement("div",{className:"button__get",onClick:this.getGift},e)))}}t.default=Object(a.b)(e=>({user:e.user}),null)(u)},577:function(e,t,s){}}]);
//# sourceMappingURL=Activity.081b5df5.chunk.js.map //# sourceMappingURL=Activity.cb4be445.chunk.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["components/activity/1111/index.js"],"names":["Activity","Component","constructor","props","super","getGift","this","user","hasError","history","push","from","location","pathname","state","componentWillMount","jsCookie","set","getParam","domain","expires","cookie","get","setState","butText","render","className","onClick","connect"],"mappings":"iHAAA,kEAQA,MAAMA,UAAiBC,YACrBC,YAAYC,GACVC,MAAMD,GADW,KAiBnBE,QAAU,KACLC,KAAKH,MAAMI,KAAKC,SACjBF,KAAKH,MAAMM,QAAQC,KAAK,YAAa,CAACC,KAAML,KAAKH,MAAMS,SAASC,WAEhEP,KAAKH,MAAMM,QAAQC,KAAK,qBAnB1BJ,KAAKQ,MAAQ,CACX,QAAW,4BAIfC,qBACEC,IAASC,IAAI,sBAAuBC,YAAS,YAAa,CAACC,OAAQ,eAAgBC,QAAS,KAC5FJ,IAASC,IAAI,uBAAwBC,YAAS,cAAe,CAACC,OAAQ,eAAgBC,QAAS,KAC5FC,IAAOC,IAAI,QACZhB,KAAKiB,SAAS,KAAI,CAChBC,QAAS,gDAafC,SAAU,MACDD,EAAWlB,KAAKQ,MAAhBU,QACP,OACE,yBAAKE,UAAU,iBACb,yBAAKA,UAAU,gBACf,yBAAKA,UAAU,gBACb,yBAAKA,UAAU,cAAcC,QAASrB,KAAKD,SAAUmB,MAOhDI,sBACbd,IAAK,CAAMP,KAAMO,EAAMP,OACvB,KAFaqB,CAGb5B,I","file":"mrstaticjs/Activity.081b5df5.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport {connect} from \"react-redux\";\nimport { http, getParam } from 'src/utils';\nimport cookie from 'js-cookie'\nimport './index.scss';\nimport {Toast} from \"antd-mobile\";\nimport jsCookie from 'js-cookie';\n\nclass Activity extends Component {\n constructor(props) {\n super(props);\n this.state = {\n 'butText': '立即领取'\n }\n }\n\n componentWillMount() {\n jsCookie.set('blessing_invite_uid', getParam('shareuid'), {domain: '.julyedu.com', expires: 30});\n jsCookie.set('blessing_invite_code', getParam('inviteCode'), {domain: '.julyedu.com', expires: 30});\n if(cookie.get('uid')) {\n this.setState(()=>({\n butText: '已领取,去使用'\n }));\n }\n }\n\n getGift = () => {\n if(this.props.user.hasError) {\n this.props.history.push('/passport', {from: this.props.location.pathname});\n } else {\n this.props.history.push('/blessingPreheat');\n }\n }\n\n render() {\n const {butText} = this.state;\n return (\n <div className=\"activity__con\">\n <div className='banner__con'></div>\n <div className='content__con'>\n <div className=\"button__get\" onClick={this.getGift}>{butText}</div>\n </div>\n </div>\n )\n }\n}\n\nexport default connect(\n state => ({user: state.user}),\n null\n)(Activity);\n"],"sourceRoot":""} {"version":3,"sources":["components/activity/1111/index.js"],"names":["Activity","Component","constructor","props","super","getGift","this","user","hasError","history","push","from","location","pathname","state","componentWillMount","jsCookie","set","getParam","domain","expires","cookie","get","setState","butText","render","className","onClick","connect"],"mappings":"iHAAA,kEAQA,MAAMA,UAAiBC,YACrBC,YAAYC,GACVC,MAAMD,GADW,KAiBnBE,QAAU,KACLC,KAAKH,MAAMI,KAAKC,SACjBF,KAAKH,MAAMM,QAAQC,KAAK,YAAa,CAACC,KAAML,KAAKH,MAAMS,SAASC,WAEhEP,KAAKH,MAAMM,QAAQC,KAAK,qBAnB1BJ,KAAKQ,MAAQ,CACX,QAAW,4BAIfC,qBACEC,IAASC,IAAI,sBAAuBC,YAAS,YAAa,CAACC,OAAQ,eAAgBC,QAAS,KAC5FJ,IAASC,IAAI,uBAAwBC,YAAS,cAAe,CAACC,OAAQ,eAAgBC,QAAS,KAC5FC,IAAOC,IAAI,QACZhB,KAAKiB,SAAS,KAAI,CAChBC,QAAS,gDAafC,SAAU,MACDD,EAAWlB,KAAKQ,MAAhBU,QACP,OACE,yBAAKE,UAAU,iBACb,yBAAKA,UAAU,gBACf,yBAAKA,UAAU,gBACb,yBAAKA,UAAU,cAAcC,QAASrB,KAAKD,SAAUmB,MAOhDI,sBACbd,IAAK,CAAMP,KAAMO,EAAMP,OACvB,KAFaqB,CAGb5B,I","file":"mrstaticjs/Activity.cb4be445.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport {connect} from \"react-redux\";\nimport { http, getParam } from 'src/utils';\nimport cookie from 'js-cookie'\nimport './index.scss';\nimport {Toast} from \"antd-mobile\";\nimport jsCookie from 'js-cookie';\n\nclass Activity extends Component {\n constructor(props) {\n super(props);\n this.state = {\n 'butText': '立即领取'\n }\n }\n\n componentWillMount() {\n jsCookie.set('blessing_invite_uid', getParam('shareuid'), {domain: '.julyedu.com', expires: 30});\n jsCookie.set('blessing_invite_code', getParam('inviteCode'), {domain: '.julyedu.com', expires: 30});\n if(cookie.get('uid')) {\n this.setState(()=>({\n butText: '已领取,去使用'\n }));\n }\n }\n\n getGift = () => {\n if(this.props.user.hasError) {\n this.props.history.push('/passport', {from: this.props.location.pathname});\n } else {\n this.props.history.push('/blessingPreheat');\n }\n }\n\n render() {\n const {butText} = this.state;\n return (\n <div className=\"activity__con\">\n <div className='banner__con'></div>\n <div className='content__con'>\n <div className=\"button__get\" onClick={this.getGift}>{butText}</div>\n </div>\n </div>\n )\n }\n}\n\nexport default connect(\n state => ({user: state.user}),\n null\n)(Activity);\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[10],{1142:function(e,a,t){"use strict";t.r(a),t.d(a,"default",(function(){return p}));t(79);var n=t(25),c=t.n(n),s=(t(129),t(30)),l=t.n(s),r=(t(130),t(69)),m=t.n(r),i=t(0),o=t.n(i),d=(t(730),t(92));class p extends i.Component{constructor(e){super(e)}render(){return o.a.createElement("div",{className:"drawDocument"},o.a.createElement("div",null,o.a.createElement(m.a,{className:"navbar"},o.a.createElement("i",{className:"iconfont iconiconfront-68 back",onClick:this.props.history.goBack}),o.a.createElement("div",{className:"common-ft-15"},"\u89c4\u5219\u8bf4\u660e"))),o.a.createElement("div",{className:"content"},o.a.createElement(m.a,null,o.a.createElement("div",{className:"directions-div"},"\u5206\u9500\u89c4\u5219"),o.a.createElement(l.a,{size:"md"}),o.a.createElement("p",{className:"directions-p"},"\u70b9\u51fb\u300e\u5206\u4eab\u8d5a\u94b1\u300f\u751f\u6210\u60a8\u7684\u4e13\u5c5e\u6d77\u62a5\uff0c\u628a\u4e13\u5c5e\u6d77\u62a5\u5206\u4eab\u5230\u5fae\u4fe1\u3001\u5fae\u535a\u3001QQ\u3001\u77e5\u4e4e\u3001\u8d34\u5427\u7b49\uff0c\u4ed6\u4eba\u901a\u8fc7\u60a8\u7684\u6d77\u62a5\u8d2d\u4e70\u540e\u60a8\u53ef\u83b7\u5f97\u76f8\u5e94\u7684\u4f63\u91d1\u5956\u52b1\u3002"),o.a.createElement(l.a,{size:"lg"}),o.a.createElement(l.a,{size:"lg"}),o.a.createElement("div",{className:"directions-div"},"\u63d0\u73b0\u89c4\u5219"),o.a.createElement(l.a,{size:"md"}),o.a.createElement("p",{className:"directions-p"},"1. \u5df2\u5f00\u59cb\u7684\u76f4\u64ad\u8bfe\u7a0b\uff0c\u7528\u6237\u8d2d\u4e70\u540e\u4f63\u91d1\u4f1a\u5b9e\u65f6\u8f6c\u5165\u60a8\u7684\u8d26\u53f7\u4f59\u989d\uff1b"),o.a.createElement("p",{className:"directions-p"},"2. \u5c1a\u672a\u5f00\u8bfe\u7684\u76f4\u64ad\u8bfe\u7a0b\uff0c\u7528\u6237\u8d2d\u4e70\u540e\u5f52\u5c5e\u60a8\u7684\u4f63\u91d1\u6237\u6682\u65f6\u5b58\u653e\u5728\u300e\u5f85\u786e\u8ba4\u91d1\u989d\u300f\u4e2d\uff0c\u76f4\u5230\u8be5\u8bfe\u7a0b\u6b63\u5f0f\u5f00\u8bfe\u3002\u5982\u679c\u7528\u6237\u6ca1\u6709\u9000\u6b3e\uff0c\u5bf9\u5e94\u7684\u8ba2\u5355\u91d1\u989d\u4f1a\u81ea\u52a8\u8f6c\u5165\u60a8\u7684\u8d26\u53f7\u4f59\u989d\uff0c\u5426\u5219\u8be5\u4f63\u91d1\u4f1a\u81ea\u52a8\u6536\u56de\uff1b"),o.a.createElement("p",{className:"directions-p"},"3. \u4f59\u989d\u4e2d\u7684\u91d1\u989d\u53ef\u968f\u65f6\u63d0\u73b0\u3002"))),o.a.createElement("div",{className:"bottom"},o.a.createElement(m.a,null,o.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},o.a.createElement("p",{className:"tip"},"\u6536\u652f\u660e\u7ec6\u53ca\u5f85\u786e\u8ba4\u91d1\u989d\u8bf7\u524d\u5f80App\u67e5\u770b"),o.a.createElement(d.a,{className:"app",text:"\u5728APP\u6253\u5f00"})))))}}},730:function(e,a,t){}}]); (this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[10],{1144:function(e,a,t){"use strict";t.r(a),t.d(a,"default",(function(){return p}));t(80);var n=t(25),c=t.n(n),s=(t(132),t(34)),l=t.n(s),r=(t(133),t(69)),m=t.n(r),i=t(0),o=t.n(i),d=(t(732),t(93));class p extends i.Component{constructor(e){super(e)}render(){return o.a.createElement("div",{className:"drawDocument"},o.a.createElement("div",null,o.a.createElement(m.a,{className:"navbar"},o.a.createElement("i",{className:"iconfont iconiconfront-68 back",onClick:this.props.history.goBack}),o.a.createElement("div",{className:"common-ft-15"},"\u89c4\u5219\u8bf4\u660e"))),o.a.createElement("div",{className:"content"},o.a.createElement(m.a,null,o.a.createElement("div",{className:"directions-div"},"\u5206\u9500\u89c4\u5219"),o.a.createElement(l.a,{size:"md"}),o.a.createElement("p",{className:"directions-p"},"\u70b9\u51fb\u300e\u5206\u4eab\u8d5a\u94b1\u300f\u751f\u6210\u60a8\u7684\u4e13\u5c5e\u6d77\u62a5\uff0c\u628a\u4e13\u5c5e\u6d77\u62a5\u5206\u4eab\u5230\u5fae\u4fe1\u3001\u5fae\u535a\u3001QQ\u3001\u77e5\u4e4e\u3001\u8d34\u5427\u7b49\uff0c\u4ed6\u4eba\u901a\u8fc7\u60a8\u7684\u6d77\u62a5\u8d2d\u4e70\u540e\u60a8\u53ef\u83b7\u5f97\u76f8\u5e94\u7684\u4f63\u91d1\u5956\u52b1\u3002"),o.a.createElement(l.a,{size:"lg"}),o.a.createElement(l.a,{size:"lg"}),o.a.createElement("div",{className:"directions-div"},"\u63d0\u73b0\u89c4\u5219"),o.a.createElement(l.a,{size:"md"}),o.a.createElement("p",{className:"directions-p"},"1. \u5df2\u5f00\u59cb\u7684\u76f4\u64ad\u8bfe\u7a0b\uff0c\u7528\u6237\u8d2d\u4e70\u540e\u4f63\u91d1\u4f1a\u5b9e\u65f6\u8f6c\u5165\u60a8\u7684\u8d26\u53f7\u4f59\u989d\uff1b"),o.a.createElement("p",{className:"directions-p"},"2. \u5c1a\u672a\u5f00\u8bfe\u7684\u76f4\u64ad\u8bfe\u7a0b\uff0c\u7528\u6237\u8d2d\u4e70\u540e\u5f52\u5c5e\u60a8\u7684\u4f63\u91d1\u6237\u6682\u65f6\u5b58\u653e\u5728\u300e\u5f85\u786e\u8ba4\u91d1\u989d\u300f\u4e2d\uff0c\u76f4\u5230\u8be5\u8bfe\u7a0b\u6b63\u5f0f\u5f00\u8bfe\u3002\u5982\u679c\u7528\u6237\u6ca1\u6709\u9000\u6b3e\uff0c\u5bf9\u5e94\u7684\u8ba2\u5355\u91d1\u989d\u4f1a\u81ea\u52a8\u8f6c\u5165\u60a8\u7684\u8d26\u53f7\u4f59\u989d\uff0c\u5426\u5219\u8be5\u4f63\u91d1\u4f1a\u81ea\u52a8\u6536\u56de\uff1b"),o.a.createElement("p",{className:"directions-p"},"3. \u4f59\u989d\u4e2d\u7684\u91d1\u989d\u53ef\u968f\u65f6\u63d0\u73b0\u3002"))),o.a.createElement("div",{className:"bottom"},o.a.createElement(m.a,null,o.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},o.a.createElement("p",{className:"tip"},"\u6536\u652f\u660e\u7ec6\u53ca\u5f85\u786e\u8ba4\u91d1\u989d\u8bf7\u524d\u5f80App\u67e5\u770b"),o.a.createElement(d.a,{className:"app",text:"\u5728APP\u6253\u5f00"})))))}}},732:function(e,a,t){}}]);
//# sourceMappingURL=DrawDocument.cadd8dbc.chunk.js.map //# sourceMappingURL=DrawDocument.8f68e7fa.chunk.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["components/scholarship/DrawDocument/DrawDocument.js"],"names":["DrawDocument","Component","constructor","props","super","render","className","onClick","this","history","goBack","size","justify","align","style","height","text"],"mappings":"iRAKe,MAAMA,UAAqBC,YACtCC,YAAYC,GACRC,MAAMD,GAEVE,SACI,OACI,yBAAKC,UAAW,gBACZ,6BACI,uBAAWA,UAAW,UAClB,uBAAGA,UAAW,iCAAkCC,QAASC,KAAKL,MAAMM,QAAQC,SAC5E,yBAAKJ,UAAW,gBAAhB,8BAIR,yBAAKA,UAAW,WACZ,2BACI,yBAAKA,UAAW,kBAAhB,4BACA,uBAAYK,KAAK,OACjB,uBAAGL,UAAW,gBAAd,0XACA,uBAAYK,KAAK,OACjB,uBAAYA,KAAK,OACjB,yBAAKL,UAAW,kBAAhB,4BACA,uBAAYK,KAAK,OACjB,uBAAGL,UAAW,gBAAd,+KACA,uBAAGA,UAAW,gBAAd,qgBACA,uBAAGA,UAAW,gBAAd,iFAIR,yBAAKA,UAAW,UACZ,2BACI,uBAAMM,QAAQ,UAAUC,MAAM,SAASC,MAAO,CAACC,OAAQ,SACnD,uBAAGT,UAAW,OAAd,iGAEA,kBAAC,IAAD,CAASA,UAAU,MAAMU,KAAK,iC","file":"mrstaticjs/DrawDocument.cadd8dbc.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport { Flex, WhiteSpace, WingBlank } from 'antd-mobile';\nimport './DrawDocument.scss';\nimport OpenApp from 'src/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":""} {"version":3,"sources":["components/scholarship/DrawDocument/DrawDocument.js"],"names":["DrawDocument","Component","constructor","props","super","render","className","onClick","this","history","goBack","size","justify","align","style","height","text"],"mappings":"iRAKe,MAAMA,UAAqBC,YACtCC,YAAYC,GACRC,MAAMD,GAEVE,SACI,OACI,yBAAKC,UAAW,gBACZ,6BACI,uBAAWA,UAAW,UAClB,uBAAGA,UAAW,iCAAkCC,QAASC,KAAKL,MAAMM,QAAQC,SAC5E,yBAAKJ,UAAW,gBAAhB,8BAIR,yBAAKA,UAAW,WACZ,2BACI,yBAAKA,UAAW,kBAAhB,4BACA,uBAAYK,KAAK,OACjB,uBAAGL,UAAW,gBAAd,0XACA,uBAAYK,KAAK,OACjB,uBAAYA,KAAK,OACjB,yBAAKL,UAAW,kBAAhB,4BACA,uBAAYK,KAAK,OACjB,uBAAGL,UAAW,gBAAd,+KACA,uBAAGA,UAAW,gBAAd,qgBACA,uBAAGA,UAAW,gBAAd,iFAIR,yBAAKA,UAAW,UACZ,2BACI,uBAAMM,QAAQ,UAAUC,MAAM,SAASC,MAAO,CAACC,OAAQ,SACnD,uBAAGT,UAAW,OAAd,iGAEA,kBAAC,IAAD,CAASA,UAAU,MAAMU,KAAK,iC","file":"mrstaticjs/DrawDocument.8f68e7fa.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport { Flex, WhiteSpace, WingBlank } from 'antd-mobile';\nimport './DrawDocument.scss';\nimport OpenApp from 'src/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 \ No newline at end of file
(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[11],{1197:function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return h}));var s=a(0),n=a.n(s),o=(a(735),a(13)),c=a.n(o),r=a(20);a(736);var l=()=>n.a.createElement("div",{className:"open-app"},n.a.createElement("p",{className:"left"},"\u66f4\u591a\u8bd5\u9898\u8bf7\u524d\u5f80App\u67e5\u770b"),n.a.createElement(r.a,{className:"right"},"\u5728APP\u6253\u5f00")),i=a(1),m=a(737);class h extends s.PureComponent{constructor(e){super(e),this.showAnswer=()=>{this.setState({isShowAnswer:!this.state.isShowAnswer})},this.state={isShowAnswer:!1,questionData:{}}}componentDidMount(){i.f.get("".concat(API.home,"/m/dailyQuestion")).then(e=>{const t=e.data,a=t.data;if(200===t.code){const e=m.Object.assign(a,{analysis:a.analysis.length>0?a.analysis.split("\n"):[]});this.setState({questionData:e})}})}render(){let e=this.state,t=e.questionData,a=t.ques,s=t.type_id,o=t.options,c=t.analysis,i=t.category,m=e.isShowAnswer;return n.a.createElement("div",{className:"examination"},n.a.createElement(r.e,{title:"\u6bcf\u65e5\u4e00\u9898",arrow:!0,cart:!1}),n.a.createElement("div",{className:"question-container"},n.a.createElement("div",{className:"topic"},n.a.createElement(r.i,{className:"category-tag"},i),n.a.createElement("span",{dangerouslySetInnerHTML:{__html:a}})),1===s&&n.a.createElement(p,{className:"options",options:o,showCorrect:this.state.isShowAnswer}),!m&&n.a.createElement("div",{className:"show-answer",onClick:this.showAnswer},n.a.createElement("span",null,"\u67e5\u770b\u89e3\u6790",n.a.createElement("i",{className:"iconfont iconiconfront-69"})))),m&&n.a.createElement(u,{content:c,isShowAnswer:!0}),n.a.createElement(l,null))}}const p=n.a.memo(({options:e,showCorrect:t})=>n.a.createElement("ul",{className:"options"},e.map((e,a)=>n.a.createElement("li",{key:a,className:c()("option",{active:1===e.is_ans&&t})},n.a.createElement("span",{className:"alphabet"},String.fromCharCode(65+a)),e.des)))),u=n.a.memo(({content:e,isShowAnswer:t})=>n.a.createElement("div",{className:c()("answer",{scale:t})},n.a.createElement("p",{className:"legend"},"\u89e3\u6790"),e.length>0&&e.map((e,t)=>n.a.createElement("p",{key:t,className:"content",dangerouslySetInnerHTML:{__html:e}}))))},735:function(e,t,a){},736:function(e,t,a){}}]); (this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[11],{1199:function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return h}));var s=a(0),n=a.n(s),o=(a(737),a(13)),c=a.n(o),r=a(20);a(738);var l=()=>n.a.createElement("div",{className:"open-app"},n.a.createElement("p",{className:"left"},"\u66f4\u591a\u8bd5\u9898\u8bf7\u524d\u5f80App\u67e5\u770b"),n.a.createElement(r.a,{className:"right"},"\u5728APP\u6253\u5f00")),i=a(1),m=a(739);class h extends s.PureComponent{constructor(e){super(e),this.showAnswer=()=>{this.setState({isShowAnswer:!this.state.isShowAnswer})},this.state={isShowAnswer:!1,questionData:{}}}componentDidMount(){i.f.get("".concat(API.home,"/m/dailyQuestion")).then(e=>{const t=e.data,a=t.data;if(200===t.code){const e=m.Object.assign(a,{analysis:a.analysis.length>0?a.analysis.split("\n"):[]});this.setState({questionData:e})}})}render(){let e=this.state,t=e.questionData,a=t.ques,s=t.type_id,o=t.options,c=t.analysis,i=t.category,m=e.isShowAnswer;return n.a.createElement("div",{className:"examination"},n.a.createElement(r.e,{title:"\u6bcf\u65e5\u4e00\u9898",arrow:!0,cart:!1}),n.a.createElement("div",{className:"question-container"},n.a.createElement("div",{className:"topic"},n.a.createElement(r.i,{className:"category-tag"},i),n.a.createElement("span",{dangerouslySetInnerHTML:{__html:a}})),1===s&&n.a.createElement(p,{className:"options",options:o,showCorrect:this.state.isShowAnswer}),!m&&n.a.createElement("div",{className:"show-answer",onClick:this.showAnswer},n.a.createElement("span",null,"\u67e5\u770b\u89e3\u6790",n.a.createElement("i",{className:"iconfont iconiconfront-69"})))),m&&n.a.createElement(u,{content:c,isShowAnswer:!0}),n.a.createElement(l,null))}}const p=n.a.memo(({options:e,showCorrect:t})=>n.a.createElement("ul",{className:"options"},e.map((e,a)=>n.a.createElement("li",{key:a,className:c()("option",{active:1===e.is_ans&&t})},n.a.createElement("span",{className:"alphabet"},String.fromCharCode(65+a)),e.des)))),u=n.a.memo(({content:e,isShowAnswer:t})=>n.a.createElement("div",{className:c()("answer",{scale:t})},n.a.createElement("p",{className:"legend"},"\u89e3\u6790"),e.length>0&&e.map((e,t)=>n.a.createElement("p",{key:t,className:"content",dangerouslySetInnerHTML:{__html:e}}))))},737:function(e,t,a){},738:function(e,t,a){}}]);
//# sourceMappingURL=Examination.8445ee32.chunk.js.map //# sourceMappingURL=Examination.cbc8e999.chunk.js.map
\ No newline at end of file \ No newline at end of file
(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[13],{1147:function(e,t,a){"use strict";a.r(t);a(39);var s=a(6),i=a.n(s),n=a(0),l=a.n(n),c=(a(207),a(16)),o=a(1),h=a(20),r=a(19),m=a(21),u=a(59);class d extends n.PureComponent{constructor(e){super(e),this.toEditName=e=>{this.setState({isShow:!0,value:e})},this.cancle=()=>{this.setState({isShow:!1})},this.handleChange=e=>{this.setState({value:e.target.value})},this.outLogin=()=>{this.props.logout(),i.a.info("\u5df2\u9000\u51fa",2,null,!1),this.props.history.push("/my")},this.submit=()=>{if(this.state.value.length>12)i.a.info("\u4e0d\u8d85\u8fc712\u4e2a\u5b57\u7b26",2);else if(0===this.state.value.length)i.a.info("\u8bf7\u8f93\u5165\u6635\u79f0",2);else{let e={user_name:this.state.value};o.f.post("".concat(API.home,"/m/user_info/update"),e).then(e=>{200===e.data.code?(this.setState({isShow:!1}),this.props.updateUser({data:{username:this.state.value}}),i.a.info("\u4fee\u6539\u6210\u529f",2)):4008===e.data.code?this.setState({isShow:!1}):i.a.info(e.data.msg,2)})}},this.state={isShow:!1,value:""}}render(){const e=this.props.user,t=e&&e.data&&e.data.username,a=e&&e.data&&e.data.avatar;return l.a.createElement("div",{className:"edit-name"},l.a.createElement(h.e,{title:"\u8d26\u53f7",arrow:!0,cart:!1}),l.a.createElement("div",{className:"my-mess"},l.a.createElement("img",{src:a,alt:""}),l.a.createElement("span",{className:"name"},t),l.a.createElement("span",{onClick:this.toEditName.bind(this,t),className:"edit"},"\u7f16\u8f91")),l.a.createElement("div",{className:"out-login",onClick:this.outLogin},"\u9000\u51fa\u767b\u5f55"),this.state.isShow&&l.a.createElement("div",{className:"edit-mbc"},l.a.createElement("div",{className:"edit-content"},l.a.createElement("div",{className:"edit-title"},"\u4fee\u6539\u6635\u79f0"),l.a.createElement("input",{type:"text",placeholder:"\u8bf7\u8f93\u5165\u6635\u79f0\uff08\u4e0d\u8d85\u8fc712\u4e2a\u5b57\u7b26\uff09",value:this.state.value,onChange:this.handleChange.bind(this)}),l.a.createElement("div",{className:"edit-btn"},l.a.createElement("button",{className:"cancle",onClick:this.cancle},"\u53d6\u6d88"),l.a.createElement("button",{className:"submit",onClick:this.submit},"\u786e\u8ba4")))))}}t.default=Object(m.d)(Object(c.b)(e=>({user:e.user}),{logout:r.g,updateUser:r.l}),u.a)(d)}}]); (this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[13],{1149:function(e,t,a){"use strict";a.r(t);a(39);var s=a(6),i=a.n(s),n=a(0),l=a.n(n),c=(a(209),a(16)),o=a(1),h=a(20),r=a(19),m=a(21),u=a(59);class d extends n.PureComponent{constructor(e){super(e),this.toEditName=e=>{this.setState({isShow:!0,value:e})},this.cancle=()=>{this.setState({isShow:!1})},this.handleChange=e=>{this.setState({value:e.target.value})},this.outLogin=()=>{this.props.logout(),i.a.info("\u5df2\u9000\u51fa",2,null,!1),this.props.history.push("/my")},this.submit=()=>{if(this.state.value.length>12)i.a.info("\u4e0d\u8d85\u8fc712\u4e2a\u5b57\u7b26",2);else if(0===this.state.value.length)i.a.info("\u8bf7\u8f93\u5165\u6635\u79f0",2);else{let e={user_name:this.state.value};o.f.post("".concat(API.home,"/m/user_info/update"),e).then(e=>{200===e.data.code?(this.setState({isShow:!1}),this.props.updateUser({data:{username:this.state.value}}),i.a.info("\u4fee\u6539\u6210\u529f",2)):4008===e.data.code?this.setState({isShow:!1}):i.a.info(e.data.msg,2)})}},this.state={isShow:!1,value:""}}render(){const e=this.props.user,t=e&&e.data&&e.data.username,a=e&&e.data&&e.data.avatar;return l.a.createElement("div",{className:"edit-name"},l.a.createElement(h.e,{title:"\u8d26\u53f7",arrow:!0,cart:!1}),l.a.createElement("div",{className:"my-mess"},l.a.createElement("img",{src:a,alt:""}),l.a.createElement("span",{className:"name"},t),l.a.createElement("span",{onClick:this.toEditName.bind(this,t),className:"edit"},"\u7f16\u8f91")),l.a.createElement("div",{className:"out-login",onClick:this.outLogin},"\u9000\u51fa\u767b\u5f55"),this.state.isShow&&l.a.createElement("div",{className:"edit-mbc"},l.a.createElement("div",{className:"edit-content"},l.a.createElement("div",{className:"edit-title"},"\u4fee\u6539\u6635\u79f0"),l.a.createElement("input",{type:"text",placeholder:"\u8bf7\u8f93\u5165\u6635\u79f0\uff08\u4e0d\u8d85\u8fc712\u4e2a\u5b57\u7b26\uff09",value:this.state.value,onChange:this.handleChange.bind(this)}),l.a.createElement("div",{className:"edit-btn"},l.a.createElement("button",{className:"cancle",onClick:this.cancle},"\u53d6\u6d88"),l.a.createElement("button",{className:"submit",onClick:this.submit},"\u786e\u8ba4")))))}}t.default=Object(m.d)(Object(c.b)(e=>({user:e.user}),{logout:r.g,updateUser:r.l}),u.a)(d)}}]);
//# sourceMappingURL=MyEdit.13b83b02.chunk.js.map //# sourceMappingURL=MyEdit.d25dda45.chunk.js.map
\ No newline at end of file \ No newline at end of file
(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[15],{1144:function(e,a,n){"use strict";n.r(a);var r=n(32),o=n(33),t=n(35),l=n(34),i=(n(39),n(6)),c=n.n(i),s=n(3),p=(n(130),n(69)),u=n.n(p),d=(n(572),n(574)),f=n.n(d),m=(n(981),n(983)),v=n.n(m),h=n(0),q=n.n(h),b=n(12),g=n(20),y=n(1),j=Object(b.f)({mapPropsToValues:function(e){return Object(s.a)({},e.userInfo)},validate:function(e,a){return{}},handleSubmit:function(e,a){var n=e.real_name,r=e.cellphone,o=e.qq;if(n)if(0!=="".concat(n).replace(/\s+/g,"").length)if(r)if(/1\d{10}/g.test("".concat(r).replace(/\s+/g,"")))if(o)if(/\d{5,}/g.test(o)){var t=0;if(a.props.userInfo){var l=a.props.userInfo;l.real_name===n&&(t+=1),l.cellphone===r&&(t+=1),l.qq===o&&(t+=1)}var i="/order";a.props.userInfo.id&&(i=i+"?id="+a.props.userInfo.id),3!==t?y.f.post("".concat(API["base-api"],"/m/order/saveUserInfo"),{real_name:e.real_name,cellphone:"".concat(e.cellphone).replace(/\s+/g,""),qq:e.qq}).then((function(n){200===n.data.errno?(c.a.info("\u4fdd\u5b58\u6210\u529f\uff01",void 0,void 0,!1),a.props.history.replace(i,Object(s.a)({},e))):c.a.info(n.data.msg,void 0,void 0,!1)})):a.props.history.replace(i,Object(s.a)({},e))}else c.a.info("\u8bf7\u8f93\u5165\u6b63\u786eQQ\u53f7\uff01",void 0,void 0,!1);else c.a.info("\u8bf7\u8f93\u5165QQ\u53f7\uff01",void 0,void 0,!1);else c.a.info("\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else c.a.info("\u8bf7\u8f93\u5165\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else c.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1);else c.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1)}})((function(e){var a=e.values,n=e.setFieldValue,r=e.handleSubmit;return q.a.createElement("form",null,q.a.createElement(v.a,{clear:!0,name:"real_name",onChange:function(e){return n("real_name",e)},placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u771f\u5b9e\u59d3\u540d",value:a.real_name},"\u59d3\u540d"),q.a.createElement(v.a,{clear:!0,type:"phone",name:"cellphone",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u624b\u673a\u53f7\u7801",onChange:function(e){return n("cellphone",e)},value:a.cellphone},"\u7535\u8bdd"),q.a.createElement(v.a,{clear:!0,name:"qq",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684QQ\u53f7\u7801",maxLength:"15",onChange:function(e){return n("qq",e)},value:a.qq},"QQ"),q.a.createElement("div",{style:{marginTop:"21px"}},q.a.createElement(u.a,null,q.a.createElement(f.a,{type:"primary",onClick:r},"\u786e\u8ba4"))))})),E=function(e){Object(t.a)(n,e);var a=Object(l.a)(n);function n(e){return Object(r.a)(this,n),a.call(this,e)}return Object(o.a)(n,[{key:"render",value:function(){return q.a.createElement("div",null,q.a.createElement(g.e,{title:"\u62a5\u540d\u4fe1\u606f",arrow:!0}),q.a.createElement(j,{history:this.props.history,userInfo:this.props.location.state}))}}]),n}(h.Component);a.default=E}}]); (this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[15],{1146:function(e,a,n){"use strict";n.r(a);var r=n(29),o=n(30),t=n(32),l=n(31),i=(n(39),n(6)),c=n.n(i),s=n(3),p=(n(133),n(69)),u=n.n(p),d=(n(574),n(576)),f=n.n(d),m=(n(983),n(985)),v=n.n(m),h=n(0),q=n.n(h),b=n(12),g=n(20),y=n(1),j=Object(b.f)({mapPropsToValues:function(e){return Object(s.a)({},e.userInfo)},validate:function(e,a){return{}},handleSubmit:function(e,a){var n=e.real_name,r=e.cellphone,o=e.qq;if(n)if(0!=="".concat(n).replace(/\s+/g,"").length)if(r)if(/1\d{10}/g.test("".concat(r).replace(/\s+/g,"")))if(o)if(/\d{5,}/g.test(o)){var t=0;if(a.props.userInfo){var l=a.props.userInfo;l.real_name===n&&(t+=1),l.cellphone===r&&(t+=1),l.qq===o&&(t+=1)}var i="/order";a.props.userInfo.id&&(i=i+"?id="+a.props.userInfo.id),3!==t?y.f.post("".concat(API["base-api"],"/m/order/saveUserInfo"),{real_name:e.real_name,cellphone:"".concat(e.cellphone).replace(/\s+/g,""),qq:e.qq}).then((function(n){200===n.data.errno?(c.a.info("\u4fdd\u5b58\u6210\u529f\uff01",void 0,void 0,!1),a.props.history.replace(i,Object(s.a)({},e))):c.a.info(n.data.msg,void 0,void 0,!1)})):a.props.history.replace(i,Object(s.a)({},e))}else c.a.info("\u8bf7\u8f93\u5165\u6b63\u786eQQ\u53f7\uff01",void 0,void 0,!1);else c.a.info("\u8bf7\u8f93\u5165QQ\u53f7\uff01",void 0,void 0,!1);else c.a.info("\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else c.a.info("\u8bf7\u8f93\u5165\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else c.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1);else c.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1)}})((function(e){var a=e.values,n=e.setFieldValue,r=e.handleSubmit;return q.a.createElement("form",null,q.a.createElement(v.a,{clear:!0,name:"real_name",onChange:function(e){return n("real_name",e)},placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u771f\u5b9e\u59d3\u540d",value:a.real_name},"\u59d3\u540d"),q.a.createElement(v.a,{clear:!0,type:"phone",name:"cellphone",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u624b\u673a\u53f7\u7801",onChange:function(e){return n("cellphone",e)},value:a.cellphone},"\u7535\u8bdd"),q.a.createElement(v.a,{clear:!0,name:"qq",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684QQ\u53f7\u7801",maxLength:"15",onChange:function(e){return n("qq",e)},value:a.qq},"QQ"),q.a.createElement("div",{style:{marginTop:"21px"}},q.a.createElement(u.a,null,q.a.createElement(f.a,{type:"primary",onClick:r},"\u786e\u8ba4"))))})),E=function(e){Object(t.a)(n,e);var a=Object(l.a)(n);function n(e){return Object(r.a)(this,n),a.call(this,e)}return Object(o.a)(n,[{key:"render",value:function(){return q.a.createElement("div",null,q.a.createElement(g.e,{title:"\u62a5\u540d\u4fe1\u606f",arrow:!0}),q.a.createElement(j,{history:this.props.history,userInfo:this.props.location.state}))}}]),n}(h.Component);a.default=E}}]);
//# sourceMappingURL=Orderinfo.6a1bf67c.chunk.js.map //# sourceMappingURL=Orderinfo.fe4a252f.chunk.js.map
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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