Commit bb463d63 by zhanghaozhe

Merge branch 'intelligent-recommend' into pre

# Conflicts:
#	build/asset-manifest.json
#	build/index.html
#	build/mrstatic/js/65.eec31f7c.chunk.js.map
#	build/mrstatic/js/BargainMiddlePage.b3e90217.chunk.js.map
#	build/mrstatic/js/main.c3c8406b.chunk.js.map
#	build/mrstatic/js/python-class.43c9fac3.chunk.js.map
#	build/service-worker.js
parents 23c92358 9e0b8956
.scores{background-color:#2e7ee9;padding:0 1.333333vw 16vw}.scores .banner{height:45.6vw;margin:0 -1.333333vw}.scores .banner img{width:100%;height:100%}.scores .info{position:relative;height:18.666667vw;text-align:center;line-height:18.666667vw}.scores .info span{color:#e5f5ff;font-size:4vw}.scores .info a{position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);text-decoration:underline;font-size:3.733333vw;color:#fff}.scores .score-list{border-radius:1.6vw;overflow:hidden;margin-bottom:8vw}.scores .score-list .share{height:10.666667vw;text-align:center;font-size:4.266667vw;line-height:10.666667vw;color:#09f;text-decoration:underline;background-color:#e5f5ff}.scores .score-list th{width:33.333333%}.scores th{font-weight:400}.scores .am-tabs-tar-bar-wrap{border:0}.scores .am-tabs-default-bar{padding:2.666667vw 2.666667vw 0;background-color:#e5f5ff!important}.scores .am-tabs-default-bar-tab-active{background-color:#fff;color:#0d75e5}.scores .am-tabs-default-bar-tab{width:21.333333vw;height:10.666667vw;border-radius:1.066667vw 1.066667vw 0 0}.scores .am-tabs-default-bar-tab:after{display:none!important}.scores .am-tabs-default-bar-content{padding-top:.533333vw;line-height:12.8vw;font-size:4vw;color:#525b65}.scores .am-tabs .title{display:flex;justify-content:space-around;height:10.133333vw;background-color:#ffd66a;color:#333;font-size:3.733333vw;line-height:10.133333vw}.scores .am-tabs .tab-content{box-sizing:border-box;padding-top:2.666667vw;background-color:#fff}.scores .am-tabs table{width:100%;margin:0;text-align:center;border-collapse:collapse}.scores .am-tabs table a{color:#09f;text-decoration:underline}.scores .am-tabs table thead tr{height:10.133333vw;background-color:#ffd66a;color:#333;font-size:3.733333vw;line-height:10.133333vw}.scores .am-tabs table tbody tr{height:13.333333vw;line-height:13.333333vw}.scores .rank-list{border-radius:1.6vw;overflow:hidden;margin-bottom:8vw}.scores .rank-list .head{height:18.133333vw;padding-top:3.2vw;text-align:center;color:#fff;margin-bottom:4vw}.scores .rank-list .head div:first-child{position:relative;margin-bottom:1.333333vw;font-size:4.8vw}.scores .rank-list .head div:first-child:before{transform:translateY(-50%);left:29.066667vw}.scores .rank-list .head div:first-child:after,.scores .rank-list .head div:first-child:before{content:"";display:block;position:absolute;top:50%;-webkit-transform:translateY(-50%);width:6.666667vw;height:2.933333vw;background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/title-decoration.png) no-repeat;background-size:contain}.scores .rank-list .head div:first-child:after{transform:translateY(-50%);right:29.066667vw;-webkit-transform:scaleX(-1) translateY(-50%);transform:scaleX(-1) translateY(-50%)}.scores .rank-list .head div:nth-child(2){position:relative}.scores .rank-list .head div:nth-child(2) span{color:#e5f5ff;font-size:3.2vw}.scores .rank-list .head div:nth-child(2) a{position:absolute;right:2.666667vw;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);text-decoration:underline;font-size:3.733333vw;color:#fff}.scores .rank-list .list{background:#fff}.scores .rank-list .list table{width:100%;margin-top:2.666667vw;border-collapse:collapse;border-spacing:0;border:none;text-align:center}.scores .rank-list .list table td,.scores .rank-list .list table th{margin-right:-1px;padding:0}.scores .rank-list .list table .avatar{margin-right:1.6vw}.scores .rank-list .list table td:first-of-type{width:15%}.scores .rank-list .list table td:nth-of-type(2){width:35%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-align:left}.scores .rank-list .list table thead tr{height:10.133333vw;line-height:10.133333vw;background-color:#ffd76a;font-size:3.733333vw;color:#333}.scores .rank-list .list table tbody tr{height:13.066667vw;line-height:13.066667vw;font-size:3.2vw;color:#333}.scores .rank-list .list table tbody tr td:first-of-type{font-size:4.266667vw}.scores .rank-list .list table tbody tr td:first-of-type img{width:3.733333vw;height:4.8vw}.scores .rank-list .list table tbody tr td:nth-of-type(2) img{width:4.8vw;height:4.8vw;border-radius:50%}.scores .rank-list .list table tbody tr:nth-child(2n){background:#f6fbff}.scores .rank-list .list table tbody tr img{vertical-align:middle}.scores .rank-list .list table tbody tr .score{color:#09f}.scores .rank-list .expand{height:13.066667vw;line-height:13.066667vw;text-align:center;background:#fff;color:#525c65;font-size:3.733333vw}.scores .rank-list .expand .iconfont{margin-left:1.333333vw}.scores .btn{position:fixed;bottom:0;left:0;width:100%;height:16vw;background-color:#fff;padding:2.666667vw;color:#fff;font-size:0;z-index:100}.scores .btn button{width:100%;height:100%;font-size:4.266667vw;color:#fff;border:none;outline:0;-webkit-appearance:none}.scores .btn button.get-chance{background-color:#ffae00}.scores .btn button.available{background:-webkit-gradient(linear,right top,left top,from(#09f),to(#3db1ff));background:-webkit-linear-gradient(right,#09f,#3db1ff);background:linear-gradient(-90deg,#09f,#3db1ff)}.scores .btn button.unavailable{background:#525c65}.scores .btn span{font-size:3.2vw}.scores .rule-mask{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.8);z-index:100}.scores .rule{position:absolute;top:19.7%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:80vw;padding:4.8vw 6.666667vw;background-color:#fff;border-radius:1.333333vw;color:#525c65;text-align:center}.scores .rule div:first-child{font-size:4.266667vw;margin-bottom:4vw}.scores .rule div:nth-child(2){font-size:3.733333vw;margin-bottom:4.266667vw;white-space:pre-wrap;text-align:left}.scores .rule label{font-size:3.733333vw;color:#555;opacity:.8}.scores .rule .option{display:flex;justify-content:center;align-items:center;margin-bottom:5.6vw}.scores .rule input{position:relative;width:4vw;height:4vw;margin-right:2.133333vw;border:1px solid #3799ff;border-radius:.533333vw;-webkit-appearance:none}.scores .rule input:after{content:"";position:absolute;top:.533333vw;left:.8vw;width:2.666667vw;height:1.6vw;display:none;border-bottom:1px solid #3799ff;border-left:1px solid #3799ff;-webkit-transform-origin:1.333333vw 1.066667vw;transform-origin:1.333333vw 1.066667vw;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.scores .rule input:checked:after{display:block}.scores .rule button{width:25.066667vw;height:8vw;background:#09f;color:#fff;font-size:3.733333vw;border-radius:4vw;-webkit-appearance:none;border:none;outline:0}.scores .rule .close{position:absolute;bottom:-16vw;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);color:#fff;display:block;font-size:8vw}.scores .user-address-wrapper{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.6);z-index:100}.scores .user-address{position:absolute;top:20%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:80vw;height:82.4vw;padding:4.8vw 6.933333vw 0;background:#fff;border-radius:1.333333vw;text-align:center}.scores .user-address .title{font-size:4.266667vw;color:#525c65;text-align:center;margin-bottom:4.533333vw}.scores .user-address .tip{font-size:3.2vw;color:#ffae00;margin-bottom:4vw;text-align:left}.scores .user-address input{width:66.666667vw;height:10.666667vw;padding-left:2.666667vw;border:1px solid #ddd;margin-bottom:2.666667vw;font-size:3.466667vw}.scores .user-address input::-webkit-input-placeholder{color:#999}.scores .user-address input::-moz-placeholder{color:#999}.scores .user-address input::-ms-input-placeholder{color:#999}.scores .user-address input::placeholder{color:#999}.scores .user-address button{padding:2.666667vw 12vw;font-size:4vw;color:#fff;background:rgba(82,92,101,.3);border-radius:4.533333vw;border:none;outline:0;-webkit-appearance:none}.scores .user-address button.available{background-color:#09f}.scores .user-address .iconfont{position:absolute;bottom:-16vw;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);font-size:8vw;color:#fff}.scores .qrcode{padding-bottom:10.666667vw;font-size:3.2vw;color:#fff;text-align:center}.scores .qrcode img{width:29.333333vw;height:29.333333vw;margin-bottom:1.6vw}body{background-color:#f5f5f5}.exam{background-color:#fff;padding-bottom:14.666667vw}.exam header{display:flex;height:13.066667vw;padding:0 3.2vw;align-items:center;justify-content:space-between}.exam header .iconfont{font-size:4.266667vw;color:#222;font-weight:600}.exam header .time{display:flex;align-items:center}.exam header .time .iconfont{margin-right:2.133333vw}.exam header .time span{font-size:4.8vw}.exam header .count{font-size:3.733333vw;color:#09f}.exam .banner{height:25.066667vw;margin-bottom:4.8vw}.exam .banner img{width:100%;height:100%}.question-container{padding-bottom:5.333333vw}.question-container .question{font-size:4.266667vw;color:#222;margin-bottom:5.6vw;padding:0 4.533333vw;white-space:pre-line}.question-container .question .category{padding:.533333vw 1.333333vw .8vw;border:1px solid #09f;border-radius:.8vw;font-size:3.2vw;color:#09f}.question-container .options li{display:flex;min-height:12.8vw;padding:0 4.533333vw;align-items:center;font-size:4.266667vw;color:#333;margin-bottom:3.2vw}.question-container .options li.active{background:#f8f8fb}.question-container .options li.active .letter{color:#09f;border-color:#09f}.question-container .options li.correct .letter{background-color:#29c8a0;color:#fff;border:1px solid #29c8a0}.question-container .options li.error .letter{background-color:#ff5a5a;color:#fff;border:1px solid #ff5a5a}.question-container .letter{flex:0 0 auto;width:6.4vw;height:6.4vw;margin-right:3.466667vw;border:1px solid #999;border-radius:50%;text-align:center;line-height:6.4vw}.navigation{position:fixed;bottom:0;left:0;width:99.733333vw;height:14.666667vw;padding:0 4vw;background:#fff;box-shadow:0 0 1.333333vw 0 rgba(0,0,0,.05)}.navigation ul{height:14.666667vw;padding-top:2.933333vw;overflow-x:auto;white-space:nowrap}.navigation li{display:inline-block;width:9.066667vw;height:9.066667vw;border:1px solid #09f;border-radius:50%;margin-right:5.333333vw;color:#09f;font-size:4.8vw;text-align:center;line-height:9.066667vw}.navigation li.active{color:#fff;background-color:#09f}.navigation li.correct{background-color:#2cdbaf;border-color:#2cdbaf;color:#fff}.navigation li.error{border-color:#e64949;color:#fff;background-color:#e64949}.navigation li.unselect{border:1px solid #e64949;color:#e64949}body,html{height:100%;background-color:#fff}.submit-answer .detail-header{background-color:#fff;border-bottom:1px solid #ddd}.submit-answer .content{padding:8.533333vw 4.266667vw}.submit-answer .cost{position:relative;font-size:4.8vw;color:#333;text-align:center;margin-bottom:8vw}.submit-answer .cost:before{transform:translateY(-50%);left:25%}.submit-answer .cost:after,.submit-answer .cost:before{content:"";position:absolute;top:50%;-webkit-transform:translateY(-50%);display:block;width:4.266667vw;height:2.933333vw;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAWCAYAAAA4oUfxAAAAW0lEQVRIS2NkIAJYL3v3nwhlJCthJEbHgFpOjAPJUUOUz8kxmBg9o5YTE0pUVzMa7FQPUmIMZKRVATL4LSfGhbRSM5raaRWyeM0dDfbRYCcpBCgtHSlKcJRaDgC9yxDrtDtsRAAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.submit-answer .cost:after{transform:translateY(-50%);-webkit-transform:scaleX(-1) translateY(-50%);transform:scaleX(-1) translateY(-50%);right:25%}.submit-answer .answers{display:flex;flex-wrap:wrap;width:80%;margin:0 auto 16vw}.submit-answer .answers li{width:9.066667vw;height:9.066667vw;margin-right:6.666667vw;margin-bottom:4.266667vw;line-height:9.066667vw;border-radius:50%;border:1px solid #09f;color:#09f;text-align:center;font-size:4.8vw}.submit-answer .answers li:nth-of-type(5n){margin-right:0}.submit-answer .answers li.selected{background-color:#09f;color:#fff}.submit-answer .answers li.wrong{background-color:#e64949;border-color:#e64949;color:#fff}.submit-answer .answers li.unselect{border:1px solid #e64949;color:#e64949}.submit-answer .answers li.correct{background-color:#2cdbaf;border-color:#2cdbaf;color:#fff}.submit-answer .score{margin-bottom:8vw;font-size:5.6vw;color:#09f;text-align:center}.submit-answer button{width:91.466667vw;height:11.733333vw;background:#09f;border-radius:5.866667vw;-webkit-appearance:none;outline:0;border:0;color:#fff;font-size:4.8vw}.analysis-container{padding-bottom:14.666667vw;padding-top:17.066667vw}.analysis-container .detail-header{position:fixed;top:0;left:0;width:100%;background-color:#fff;border-bottom:1px solid #ddd}.analysis-container .analysis{padding:4vw 4.533333vw 0}.analysis-container .analysis .info{margin-bottom:5.866667vw;color:#333;font-size:3.733333vw}.analysis-container .analysis .head{display:flex;align-items:center;margin-bottom:4vw}.analysis-container .analysis .head .icon{display:block;width:4.266667vw;height:4.266667vw;margin-right:1.333333vw;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADPUlEQVRYR+2XS2xMYRTHf+fOVAfxCBqvlYVHLTyCSLw2BCESr1gQEaFqbsvGjjTiGWuZTjtpkIhHCK1YeItEEAviFSo2jQQtqt6dls49cq+ZdmY6M247d+lb3dzvnP/5fa/znU9Ib7vVYCQT8NG3W18+P2JEaeQle8RKlpEUzbAuRwgBo/OJlcP3LUo5plxI2HQBhHQ+Pq4CPiAKvELp8ARE8APjwJnVGDEWUS43be0ugCq9A8xGuYOwiqB88CR4QuSoFtFGLcIcJ4Ypc9MB2oBC/EymRJ56GjwhVq0TUZ4D7QQlkA6gjl0TvvSN4ilMlf6NExRn9pOXIKWDGp3mSeASeZii4xogYZgvRXyknTKuAcL6IN/Yjr8p03s3A55EzyDiegb+A/T2FKTv+vSZdL0EPTsFrQjHsTiPKTdyrp5rALenQHiFwQ5KpdHVtgnrRYRl/05ErtR6YaQqRNjLVqnInQl7oe24RLQfwhjnW2mgVFpzSWVPxT0FqNEx/GIfBivj166tEMWilj5UUCINmSR7fhd0YBGURyliIZ2Jj0vAEOe+V146/cKEeH3RgrIUU+6nQ2QHyHYKlMuYsqRTKKRDMahHKMKijgDlbJJ3Tv8RHUUbIQxWoHzEophy+ZQMkR0g2ylQDlEm55IulwPATpQbDGMxaySWMsqz6qOZKwgLgIMEZZc7ALd7IKwvEIqxmE2Z3MvoVqmzMLiLUo8pE70FqFK7bvTxmwDbpT0jwGEtpAC74uqshBJ2+Z+CKv0GDMDPCErkfUaAGh1OB03Ad4Iy0OsZsFPv/Hi5XZkRIKxlTrmvXMOURV4DrAHOAF/xM69bQVujk+jgNjAIWElQ6nIDBOjLRrHXy12zU2s1Z4HVKD8xiBDjuuNssBBlC0J/lC/4GEupNGcDsNdoOBZrKZPT7qLHrY5pgCjVCBuy+LU4SUp5jMWC5FyQvAnt9TOBHyj7Ue7Sx3khZWotGVNrpc7AYB0wOe70BIuT+HmDxS1gfDpEF8AxHUyUWwhTXIz+MwVMZbO8dmH71ySiI5MgTmDKevt36uM0ogXE2IawGHXyevamPKOIzd0yXy4fGyLmPH7twuVUdwDXw/HO8A/QJmMwNItVIgAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.analysis-container .analysis .head span{font-size:3.733333vw;color:#09f}.analysis-container .analysis-content{font-size:3.733333vw;color:#666}.recommends{margin-top:6.4vw;padding:0 4.266667vw}.recommends div:first-child{font-size:3.733333vw;color:#09f;margin-bottom:4vw}.recommends ul{display:flex;flex-wrap:wrap}.recommends li{margin-right:3.466667vw;margin-bottom:2.666667vw;font-size:0}.recommends li:nth-child(2n){margin-right:0}.recommends img{width:44vw;height:31.733333vw}.assist{padding-top:15.733333vw;padding-bottom:16vw}.assist .detail-header{top:0;border-bottom:1px solid #ddd}.assist .btns,.assist .detail-header{position:fixed;left:0;width:100%;background-color:#fff}.assist .btns{bottom:0;padding:2.666667vw;box-shadow:0 0 1.333333vw 0 rgba(0,0,0,.05)}.assist .btns .submit{background-color:#09f;color:#fff;font-size:4.8vw;width:100%;height:10.666667vw;border:0;outline:0;-webkit-appearance:none}.assist .btns a{display:block;width:100%;height:100%;font-size:4.8vw;line-height:10.666667vw;color:#fff;text-align:center}.assist .btns a.home{background-color:#09f}.assist .btns a.test{background-color:#ffae00}.assist .head{display:flex;align-items:center;margin-bottom:4vw}.assist .head .icon{display:block;width:4.266667vw;height:4.266667vw;margin-right:1.333333vw;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADPUlEQVRYR+2XS2xMYRTHf+fOVAfxCBqvlYVHLTyCSLw2BCESr1gQEaFqbsvGjjTiGWuZTjtpkIhHCK1YeItEEAviFSo2jQQtqt6dls49cq+ZdmY6M247d+lb3dzvnP/5fa/znU9Ib7vVYCQT8NG3W18+P2JEaeQle8RKlpEUzbAuRwgBo/OJlcP3LUo5plxI2HQBhHQ+Pq4CPiAKvELp8ARE8APjwJnVGDEWUS43be0ugCq9A8xGuYOwiqB88CR4QuSoFtFGLcIcJ4Ypc9MB2oBC/EymRJ56GjwhVq0TUZ4D7QQlkA6gjl0TvvSN4ilMlf6NExRn9pOXIKWDGp3mSeASeZii4xogYZgvRXyknTKuAcL6IN/Yjr8p03s3A55EzyDiegb+A/T2FKTv+vSZdL0EPTsFrQjHsTiPKTdyrp5rALenQHiFwQ5KpdHVtgnrRYRl/05ErtR6YaQqRNjLVqnInQl7oe24RLQfwhjnW2mgVFpzSWVPxT0FqNEx/GIfBivj166tEMWilj5UUCINmSR7fhd0YBGURyliIZ2Jj0vAEOe+V146/cKEeH3RgrIUU+6nQ2QHyHYKlMuYsqRTKKRDMahHKMKijgDlbJJ3Tv8RHUUbIQxWoHzEophy+ZQMkR0g2ylQDlEm55IulwPATpQbDGMxaySWMsqz6qOZKwgLgIMEZZc7ALd7IKwvEIqxmE2Z3MvoVqmzMLiLUo8pE70FqFK7bvTxmwDbpT0jwGEtpAC74uqshBJ2+Z+CKv0GDMDPCErkfUaAGh1OB03Ad4Iy0OsZsFPv/Hi5XZkRIKxlTrmvXMOURV4DrAHOAF/xM69bQVujk+jgNjAIWElQ6nIDBOjLRrHXy12zU2s1Z4HVKD8xiBDjuuNssBBlC0J/lC/4GEupNGcDsNdoOBZrKZPT7qLHrY5pgCjVCBuy+LU4SUp5jMWC5FyQvAnt9TOBHyj7Ue7Sx3khZWotGVNrpc7AYB0wOe70BIuT+HmDxS1gfDpEF8AxHUyUWwhTXIz+MwVMZbO8dmH71ySiI5MgTmDKevt36uM0ogXE2IawGHXyevamPKOIzd0yXy4fGyLmPH7twuVUdwDXw/HO8A/QJmMwNItVIgAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.assist .head span{font-size:3.733333vw;color:#09f}.assist .content{padding:4vw 4.533333vw}.assist .content .info{color:#333;font-size:3.733333vw;margin-bottom:4vw}.assist .content .analysis-content,.assist .status{font-size:3.733333vw}.assist .status{text-align:center;color:#333}.assist .status.success{color:#29c8a0}.assist .status.error{color:#ff5a5a}.assist .status.end{color:#666}#root,body,html{height:100%!important}.ai-test-help{width:100%;height:100%;text-align:center;letter-spacing:1px}.ai-test-help .banner{width:100%;height:75.2vw;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/help-banner.png);background-repeat:no-repeat;background-position:50%;background-size:contain;padding-top:16vw}.ai-test-help .banner img{height:4.8vw}.ai-test-help .banner span{font-size:6.666667vw;font-weight:400;color:#ffca28;margin:0 2.4vw}.ai-test-help .tip-s{margin-top:2.666667vw;font-weight:400;font-size:3.2vw;color:#ff5f83}.ai-test-help .tip-m{margin-top:8vw;color:#525c65;font-weight:400;font-size:3.733333vw}.ai-test-help .tip-l{margin-top:8vw;color:#ff5f83;font-weight:500;font-size:4.8vw}.ai-test-help .tip-num{margin-top:4vw;color:#09f;font-weight:600;font-size:5.333333vw}.ai-test-help .tip-num:after,.ai-test-help .tip-num:before{width:3.466667vw;height:3.2vw;display:inline-block;content:"";background-repeat:no-repeat;background-position:50%;background-size:contain;vertical-align:text-top;margin:0 5.333333vw}.ai-test-help .tip-num:before{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/mark_icon_l.png)}.ai-test-help .tip-num:after{background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/mark_icon_r.png)}.ai-test-help .share-btn{height:10.666667vw;line-height:10.666667vw;border-radius:1.333333vw;position:fixed;right:2.666667vw;left:2.666667vw;bottom:1.333333vw;background-color:#ffae00;color:#fff;font-size:4.8vw;font-weight:400;text-align:center}.ai-test-help .share{position:fixed;right:0;left:0;bottom:0;top:0;background:rgba(0,0,0,.6);color:#fff}.ai-test-help .share .content{position:relative;height:26.666667vw;padding-top:9.6vw;box-sizing:border-box;font-size:4.266667vw}.ai-test-help .share .content .iconfont{position:absolute;top:2.666667vw;right:10.666667vw;font-size:10.133333vw;color:#fff;width:13.333333vw;height:10.133333vw;background:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/pythonCourse/h5/share_arrow.png) 50% no-repeat;background-size:100% 100%}.score-content{width:100%;background-color:#09f}.score-report{width:100%;padding:8vw 3.2vw 12vw;color:#fff}.score-report .tab-list{display:flex;justify-content:space-around;font-size:4.8vw}.score-report .tab-list li{padding-bottom:1.6vw}.score-report .tab-list .active{border-bottom:.533333vw solid #fff}.score-report .score-list-box{width:100%;height:115.733333vw;position:relative;margin-top:5.333333vw}.score-report .imgUrl{width:100%;height:115.733333vw;position:absolute;left:0;top:0}.score-report .score-list{width:100%;height:100%;background-repeat:no-repeat;background-position:50%;background-size:contain;text-align:center}.score-report .score-list .title{font-size:5.866667vw;color:#000;padding-top:10.666667vw}.score-report .score-list .title img{width:4.266667vw;height:2.933333vw;margin:0 5.333333vw;position:relative;top:-1px}.score-report .score-list table{margin:4vw 8.8vw 0;text-align:center;border:1px solid #e5e5e5;border-radius:1.066667vw;background-color:#fff}.score-report .score-list table tr{height:10.666667vw;line-height:10.666667vw}.score-report .score-list table thead{color:#525c65;font-size:4.266667vw;font-weight:400}.score-report .score-list table tbody{color:#525c65;font-size:4.266667vw;font-weight:500}.score-report .score-list table tbody td{border-top:1px solid #e5e5e5}.score-report .score-list table td{border-left:1px solid #e5e5e5;width:21.333333vw}.score-report .score-list table td:first-child{border-left:none}.score-report .score-list table td:nth-of-type(2){width:33.066667vw}.score-report .score-list table .has{color:#09f}.score-report .score-list table .rank{color:#ff2121}.score-report .score-list .comment{text-align:left;color:#333;font-size:3.733333vw;line-height:5.6vw;margin:4vw 8.8vw 0}.score-report .score-list .comment em{text-decoration:line-through}.score-report .score-list .code{width:21.333333vw;position:absolute;bottom:10.666667vw;right:6.666667vw}.score-report .score-list .code img{width:21.333333vw;height:21.333333vw}.score-report .score-list .code p{color:#000;font-size:3.2vw}.score-report .tip{text-align:center;margin-top:5.333333vw;font-size:4.266667vw;color:#fff}.score-report .avatar_file{width:13.066667vw;height:13.066667vw;border-radius:50%;float:left;margin-right:2.666667vw}
/*# sourceMappingURL=48.bd362b42.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["/Users/zhanghaozhe/server/mr-julyedu/src/components/ai-test/scores/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/ai-test/exam/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/ai-test/common/question/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/ai-test/common/navigation/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/ai-test/submit-answer/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/ai-test/analysis/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/ai-test/common/recommends/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/ai-test/assist/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/ai-test/share/index.scss","/Users/zhanghaozhe/server/mr-julyedu/src/components/ai-test/report/index.scss"],"names":[],"mappings":"AAmGA,QAEE,wBAAA,CACA,yBAAmB,CAHrB,gBAMI,aAAA,CACA,oBAAc,CAPlB,oBAUM,UAAA,CACA,WAAY,CAXlB,cAgBI,iBAAA,CACA,kBAAA,CACA,iBAAA,CACA,uBAAiB,CAnBrB,mBAsBM,aAAA,CACA,aAAe,CAvBrB,gBA2BM,iBAAA,CACA,OAAA,CACA,OAAA,CACA,kCAAA,CAAA,0BAAA,CACA,yBAAA,CACA,oBAAA,CACA,UAAW,CAjCjB,oBAsCI,mBAAA,CACA,eAAA,CACA,iBAAmB,CAxCvB,2BA2CM,kBAAA,CACA,iBAAA,CACA,oBAAA,CACA,uBAAA,CACA,UAAA,CACA,yBAAA,CACA,wBAhDa,CADnB,uBAqDM,gBAAiB,CArDvB,WA2DI,eAAmB,CA3DvB,8BAiEM,QAAS,CAjEf,6BAqEM,+BAAA,CACA,kCAAqC,CAtE3C,w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 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.scores {\n background-color: #2e7ee9;\n padding: 0 5px 60px; }\n .scores .banner {\n height: 171px;\n margin: 0 -5px; }\n .scores .banner img {\n width: 100%;\n height: 100%; }\n .scores .info {\n position: relative;\n height: 70px;\n text-align: center;\n line-height: 70px; }\n .scores .info span {\n color: #e5f5ff;\n font-size: 15px; }\n .scores .info a {\n position: absolute;\n right: 0;\n top: 50%;\n transform: translateY(-50%);\n text-decoration: underline;\n font-size: 14px;\n color: #fff; }\n .scores .score-list {\n border-radius: 6px;\n overflow: hidden;\n margin-bottom: 30px; }\n .scores .score-list .share {\n height: 40px;\n text-align: center;\n font-size: 16px;\n line-height: 40px;\n color: #09f;\n text-decoration: underline;\n background-color: #e5f5ff; }\n .scores .score-list th {\n width: 33.333333%; }\n .scores th {\n font-weight: normal; }\n .scores .am-tabs-tar-bar-wrap {\n border: 0; }\n .scores .am-tabs-default-bar {\n padding: 10px 10px 0;\n background-color: #e5f5ff !important; }\n .scores .am-tabs-default-bar-tab-active {\n background-color: #fff;\n color: #0D75E5; }\n .scores .am-tabs-default-bar-tab {\n width: 80px;\n height: 40px;\n border-radius: 4px 4px 0 0; }\n .scores .am-tabs-default-bar-tab::after {\n display: none !important; }\n .scores .am-tabs-default-bar-content {\n padding-top: 2px;\n line-height: 48px;\n font-size: 15px;\n color: #525B65; }\n .scores .am-tabs .title {\n display: flex;\n justify-content: space-around;\n height: 38px;\n background-color: #FFD66A;\n color: #333;\n font-size: 14px;\n line-height: 38px; }\n .scores .am-tabs .tab-content {\n box-sizing: border-box;\n padding-top: 10px;\n background-color: #fff; }\n .scores .am-tabs table {\n width: 100%;\n margin: 0;\n text-align: center;\n border-collapse: collapse; }\n .scores .am-tabs table a {\n color: #09f;\n text-decoration: underline; }\n .scores .am-tabs table thead tr {\n height: 38px;\n background-color: #FFD66A;\n color: #333;\n font-size: 14px;\n line-height: 38px; }\n .scores .am-tabs table tbody tr {\n height: 50px;\n line-height: 50px; }\n .scores .rank-list {\n border-radius: 6px;\n overflow: hidden;\n margin-bottom: 30px; }\n .scores .rank-list .head {\n height: 68px;\n padding-top: 12px;\n text-align: center;\n color: #fff;\n margin-bottom: 15px; }\n .scores .rank-list .head div:nth-child(1) {\n position: relative;\n margin-bottom: 5px;\n font-size: 18px; }\n .scores .rank-list .head div:nth-child(1)::before {\n content: '';\n display: block;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n width: 25px;\n height: 11px;\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/title-decoration.png\") no-repeat;\n background-size: contain;\n left: 109px; }\n .scores .rank-list .head div:nth-child(1)::after {\n content: '';\n display: block;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n width: 25px;\n height: 11px;\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/title-decoration.png\") no-repeat;\n background-size: contain;\n right: 109px;\n transform: scaleX(-1) translateY(-50%); }\n .scores .rank-list .head div:nth-child(2) {\n position: relative; }\n .scores .rank-list .head div:nth-child(2) span {\n color: #E5F5FF;\n font-size: 12px; }\n .scores .rank-list .head div:nth-child(2) a {\n position: absolute;\n right: 10px;\n top: 50%;\n transform: translateY(-50%);\n text-decoration: underline;\n font-size: 14px;\n color: #fff; }\n .scores .rank-list .list {\n background: #fff; }\n .scores .rank-list .list table {\n width: 100%;\n margin-top: 10px;\n border-collapse: collapse;\n border-spacing: 0;\n border: none;\n text-align: center; }\n .scores .rank-list .list table td, .scores .rank-list .list table th {\n margin-right: -1px;\n padding: 0; }\n .scores .rank-list .list table .avatar {\n margin-right: 6px; }\n .scores .rank-list .list table td:nth-of-type(1) {\n width: 15%; }\n .scores .rank-list .list table td:nth-of-type(2) {\n width: 35%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n text-align: left; }\n .scores .rank-list .list table thead tr {\n height: 38px;\n line-height: 38px;\n background-color: #FFD76A;\n font-size: 14px;\n color: #333; }\n .scores .rank-list .list table tbody tr {\n height: 49px;\n line-height: 49px;\n font-size: 12px;\n color: #333; }\n .scores .rank-list .list table tbody tr td:nth-of-type(1) {\n font-size: 16px; }\n .scores .rank-list .list table tbody tr td:nth-of-type(1) img {\n width: 14px;\n height: 18px; }\n .scores .rank-list .list table tbody tr td:nth-of-type(2) img {\n width: 18px;\n height: 18px;\n border-radius: 50%; }\n .scores .rank-list .list table tbody tr:nth-child(even) {\n background: #f6fbff; }\n .scores .rank-list .list table tbody tr img {\n vertical-align: middle; }\n .scores .rank-list .list table tbody tr .score {\n color: #09f; }\n .scores .rank-list .expand {\n height: 49px;\n line-height: 49px;\n text-align: center;\n background: #fff;\n color: #525C65;\n font-size: 14px; }\n .scores .rank-list .expand .iconfont {\n margin-left: 5px; }\n .scores .btn {\n position: fixed;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 60px;\n background-color: #fff;\n padding: 10px;\n color: #fff;\n font-size: 0;\n z-index: 100; }\n .scores .btn button {\n width: 100%;\n height: 100%;\n font-size: 16px;\n color: #fff;\n border: none;\n outline: 0;\n -webkit-appearance: none; }\n .scores .btn button.get-chance {\n background-color: #FFAE00; }\n .scores .btn button.available {\n background: linear-gradient(-90deg, #0099ff 0%, #3db1ff 100%); }\n .scores .btn button.unavailable {\n background: #525C65; }\n .scores .btn span {\n font-size: 12px; }\n .scores .rule-mask {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: rgba(0, 0, 0, 0.8);\n z-index: 100; }\n .scores .rule {\n position: absolute;\n top: 19.7%;\n left: 50%;\n transform: translateX(-50%);\n width: 300px;\n padding: 18px 25px;\n background-color: #fff;\n border-radius: 5px;\n color: #525C65;\n text-align: center; }\n .scores .rule div:nth-child(1) {\n font-size: 16px;\n margin-bottom: 15px; }\n .scores .rule div:nth-child(2) {\n font-size: 14px;\n margin-bottom: 16px;\n white-space: pre-wrap;\n text-align: left; }\n .scores .rule label {\n font-size: 14px;\n color: #555;\n opacity: .8; }\n .scores .rule .option {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-bottom: 21px; }\n .scores .rule input {\n position: relative;\n width: 15px;\n height: 15px;\n margin-right: 8px;\n border: 1px solid #3799ff;\n border-radius: 2px;\n -webkit-appearance: none; }\n .scores .rule input::after {\n content: '';\n position: absolute;\n top: 2px;\n left: 3px;\n width: 10px;\n height: 6px;\n display: none;\n border-bottom: 1px solid #3799ff;\n border-left: 1px solid #3799ff;\n transform-origin: 5px 4px;\n transform: rotate(-45deg); }\n .scores .rule input:checked::after {\n display: block; }\n .scores .rule button {\n width: 94px;\n height: 30px;\n background: #09f;\n color: #fff;\n font-size: 14px;\n border-radius: 15px;\n -webkit-appearance: none;\n border: none;\n outline: 0; }\n .scores .rule .close {\n position: absolute;\n bottom: -60px;\n left: 50%;\n transform: translateX(-50%);\n color: #fff;\n display: block;\n font-size: 30px; }\n .scores .user-address-wrapper {\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background-color: rgba(0, 0, 0, 0.6);\n z-index: 100; }\n .scores .user-address {\n position: absolute;\n top: 20%;\n left: 50%;\n transform: translateX(-50%);\n width: 300px;\n height: 309px;\n padding: 18px 26px 0;\n background: #fff;\n border-radius: 5px;\n text-align: center; }\n .scores .user-address .title {\n font-size: 16px;\n color: #525C65;\n text-align: center;\n margin-bottom: 17px; }\n .scores .user-address .tip {\n font-size: 12px;\n color: #FFAE00;\n margin-bottom: 15px;\n text-align: left; }\n .scores .user-address input {\n width: 250px;\n height: 40px;\n padding-left: 10px;\n border: 1px solid #DDD;\n margin-bottom: 10px;\n font-size: 13px; }\n .scores .user-address input::placeholder {\n color: #999; }\n .scores .user-address button {\n padding: 10px 45px;\n font-size: 15px;\n color: #fff;\n background: rgba(82, 92, 101, 0.3);\n border-radius: 17px;\n border: none;\n outline: 0;\n -webkit-appearance: none; }\n .scores .user-address button.available {\n background-color: #09f; }\n .scores .user-address .iconfont {\n position: absolute;\n bottom: -60px;\n left: 50%;\n transform: translateX(-50%);\n font-size: 30px;\n color: #fff; }\n .scores .qrcode {\n padding-bottom: 40px;\n font-size: 12px;\n color: #fff;\n text-align: center; }\n .scores .qrcode img {\n width: 110px;\n height: 110px;\n margin-bottom: 6px; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\nhtml, body {\n height: 100%; }\n\nbody {\n background-color: #f5f5f5; }\n\n.exam {\n background-color: #fff;\n padding-bottom: 55px; }\n .exam header {\n display: flex;\n height: 49px;\n padding: 0 12px;\n align-items: center;\n justify-content: space-between; }\n .exam header .iconfont {\n font-size: 16px;\n color: #222;\n font-weight: 600; }\n .exam header .time {\n display: flex;\n align-items: center; }\n .exam header .time .iconfont {\n margin-right: 8px; }\n .exam header .time span {\n font-size: 18px; }\n .exam header .count {\n font-size: 14px;\n color: #09f; }\n .exam .banner {\n height: 94px;\n margin-bottom: 18px; }\n .exam .banner img {\n width: 100%;\n height: 100%; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.question-container {\n padding-bottom: 20px; }\n .question-container .question {\n font-size: 16px;\n color: #222;\n margin-bottom: 21px;\n padding: 0 17px;\n white-space: pre-line; }\n .question-container .question .category {\n padding: 2px 5px 3px;\n border: 1px solid #09f;\n border-radius: 3px;\n font-size: 12px;\n color: #09f; }\n .question-container .options li {\n display: flex;\n min-height: 48px;\n padding: 0 17px;\n align-items: center;\n font-size: 16px;\n color: #333;\n margin-bottom: 12px; }\n .question-container .options li.active {\n background: #F8F8FB; }\n .question-container .options li.active .letter {\n color: #09f;\n border-color: #09f; }\n .question-container .options li.correct .letter {\n background-color: #29C8A0;\n color: #fff;\n border: 1px solid #29C8A0; }\n .question-container .options li.error .letter {\n background-color: #FF5A5A;\n color: #fff;\n border: 1px solid #FF5A5A; }\n .question-container .letter {\n flex: 0 0 auto;\n width: 24px;\n height: 24px;\n margin-right: 13px;\n border: 1px solid #999;\n border-radius: 50%;\n text-align: center;\n line-height: 24px; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.navigation {\n position: fixed;\n bottom: 0;\n left: 0;\n width: 374px;\n height: 55px;\n padding: 0 15px;\n background: #fff;\n box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05); }\n .navigation ul {\n height: 55px;\n padding-top: 11px;\n overflow-x: auto;\n white-space: nowrap; }\n .navigation li {\n display: inline-block;\n width: 34px;\n height: 34px;\n border: 1px solid #09f;\n border-radius: 50%;\n margin-right: 20px;\n color: #09f;\n font-size: 18px;\n text-align: center;\n line-height: 34px; }\n .navigation li.active {\n color: #fff;\n background-color: #09f; }\n .navigation li.correct {\n background-color: #2CDBAF;\n border-color: #2CDBAF;\n color: #fff; }\n .navigation li.error {\n border-color: #E64949;\n color: #fff;\n background-color: #E64949; }\n .navigation li.unselect {\n border: 1px solid #E64949;\n color: #E64949; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\nhtml, body {\n height: 100%;\n background-color: #fff; }\n\n.submit-answer .detail-header {\n background-color: #fff;\n border-bottom: 1px solid #DDD; }\n\n.submit-answer .content {\n padding: 32px 16px; }\n\n.submit-answer .cost {\n position: relative;\n font-size: 18px;\n color: #333;\n text-align: center;\n margin-bottom: 30px; }\n .submit-answer .cost::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n display: block;\n width: 16px;\n height: 11px;\n background: url(\"./line.png\") no-repeat;\n background-size: contain;\n left: 25%; }\n .submit-answer .cost::after {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n display: block;\n width: 16px;\n height: 11px;\n background: url(\"./line.png\") no-repeat;\n background-size: contain;\n transform: scale(-1, 1) translateY(-50%);\n right: 25%; }\n\n.submit-answer .answers {\n display: flex;\n flex-wrap: wrap;\n width: 80%;\n margin: 0 auto 60px; }\n .submit-answer .answers li {\n width: 34px;\n height: 34px;\n margin-right: 25px;\n margin-bottom: 16px;\n line-height: 34px;\n border-radius: 50%;\n border: 1px solid #09f;\n color: #09f;\n text-align: center;\n font-size: 18px; }\n .submit-answer .answers li:nth-of-type(5n) {\n margin-right: 0; }\n .submit-answer .answers li.selected {\n background-color: #09f;\n color: #fff; }\n .submit-answer .answers li.wrong {\n background-color: #E64949;\n border-color: #E64949;\n color: #fff; }\n .submit-answer .answers li.unselect {\n border: 1px solid #E64949;\n color: #E64949; }\n .submit-answer .answers li.correct {\n background-color: #2CDBAF;\n border-color: #2CDBAF;\n color: #fff; }\n\n.submit-answer .score {\n margin-bottom: 30px;\n font-size: 21px;\n color: #09f;\n text-align: center; }\n\n.submit-answer button {\n width: 343px;\n height: 44px;\n background: #09f;\n border-radius: 22px;\n -webkit-appearance: none;\n outline: 0;\n border: 0;\n color: #fff;\n font-size: 18px; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.analysis-container {\n padding-bottom: 55px;\n padding-top: 64px; }\n .analysis-container .detail-header {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n background-color: #fff;\n border-bottom: 1px solid #DDD; }\n .analysis-container .analysis {\n padding: 15px 17px 0; }\n .analysis-container .analysis .info {\n margin-bottom: 22px;\n color: #333;\n font-size: 14px; }\n .analysis-container .analysis .head {\n display: flex;\n align-items: center;\n margin-bottom: 15px; }\n .analysis-container .analysis .head .icon {\n display: block;\n width: 16px;\n height: 16px;\n margin-right: 5px;\n background: url(\"./analysis.png\") no-repeat;\n background-size: contain; }\n .analysis-container .analysis .head span {\n font-size: 14px;\n color: #09f; }\n .analysis-container .analysis-content {\n font-size: 14px;\n color: #666; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.recommends {\n margin-top: 24px;\n padding: 0 16px; }\n .recommends div:nth-child(1) {\n font-size: 14px;\n color: #09f;\n margin-bottom: 15px; }\n .recommends ul {\n display: flex;\n flex-wrap: wrap; }\n .recommends li {\n margin-right: 13px;\n margin-bottom: 10px;\n font-size: 0; }\n .recommends li:nth-child(2n) {\n margin-right: 0; }\n .recommends img {\n width: 165px;\n height: 119px; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.assist {\n padding-top: 59px;\n padding-bottom: 60px; }\n .assist .detail-header {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n background-color: #fff;\n border-bottom: 1px solid #DDD; }\n .assist .btns {\n position: fixed;\n bottom: 0;\n left: 0;\n width: 100%;\n padding: 10px;\n background-color: #fff;\n box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05); }\n .assist .btns .submit {\n background-color: #09f;\n color: #fff;\n font-size: 18px;\n width: 100%;\n height: 40px;\n border: 0;\n outline: 0;\n -webkit-appearance: none; }\n .assist .btns a {\n display: block;\n width: 100%;\n height: 100%;\n font-size: 18px;\n line-height: 40px;\n color: #fff;\n text-align: center; }\n .assist .btns a.home {\n background-color: #09f; }\n .assist .btns a.test {\n background-color: #FFAE00; }\n .assist .head {\n display: flex;\n align-items: center;\n margin-bottom: 15px; }\n .assist .head .icon {\n display: block;\n width: 16px;\n height: 16px;\n margin-right: 5px;\n background: url(\"../analysis/analysis.png\") no-repeat;\n background-size: contain; }\n .assist .head span {\n font-size: 14px;\n color: #09f; }\n .assist .content {\n padding: 15px 17px; }\n .assist .content .info {\n color: #333;\n font-size: 14px;\n margin-bottom: 15px; }\n .assist .content .analysis-content {\n font-size: 14px; }\n .assist .status {\n font-size: 14px;\n text-align: center;\n color: #333; }\n .assist .status.success {\n color: #29C8A0; }\n .assist .status.error {\n color: #FF5A5A; }\n .assist .status.end {\n color: #666; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\nhtml, body, #root {\n height: 100% !important; }\n\n.ai-test-help {\n width: 100%;\n height: 100%;\n text-align: center;\n letter-spacing: 1px; }\n .ai-test-help .banner {\n width: 100%;\n height: 282px;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/help-banner.png\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n padding-top: 60px; }\n .ai-test-help .banner img {\n height: 18px; }\n .ai-test-help .banner span {\n font-size: 25px;\n font-weight: 400;\n color: #FFCA28;\n margin: 0 9px; }\n .ai-test-help .tip-s {\n margin-top: 10px;\n font-weight: 400;\n font-size: 12px;\n color: #FF5F83; }\n .ai-test-help .tip-m {\n margin-top: 30px;\n color: #525C65;\n font-weight: 400;\n font-size: 14px; }\n .ai-test-help .tip-l {\n margin-top: 30px;\n color: #FF5F83;\n font-weight: 500;\n font-size: 18px; }\n .ai-test-help .tip-num {\n margin-top: 15px;\n color: #09f;\n font-weight: 600;\n font-size: 20px; }\n .ai-test-help .tip-num:before, .ai-test-help .tip-num:after {\n width: 13px;\n height: 12px;\n display: inline-block;\n content: '';\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n vertical-align: text-top;\n margin: 0 20px; }\n .ai-test-help .tip-num:before {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/mark_icon_l.png\"); }\n .ai-test-help .tip-num:after {\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/mark_icon_r.png\"); }\n .ai-test-help .share-btn {\n height: 40px;\n line-height: 40px;\n border-radius: 5px;\n position: fixed;\n right: 10px;\n left: 10px;\n bottom: 5px;\n background-color: #FFAE00;\n color: #fff;\n font-size: 18px;\n font-weight: 400;\n text-align: center; }\n .ai-test-help .share {\n position: fixed;\n right: 0;\n left: 0;\n bottom: 0;\n top: 0;\n background: rgba(0, 0, 0, 0.6);\n color: #fff; }\n .ai-test-help .share .content {\n position: relative;\n height: 100px;\n padding-top: 36px;\n box-sizing: border-box;\n font-size: 16px; }\n .ai-test-help .share .content .iconfont {\n position: absolute;\n top: 10px;\n right: 40px;\n font-size: 38px;\n color: #fff;\n width: 50px;\n height: 38px;\n background: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/pythonCourse/h5/share_arrow.png\") center center no-repeat;\n background-size: 100% 100%; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.score-content {\n width: 100%;\n background-color: #09f; }\n\n.score-report {\n width: 100%;\n padding: 30px 12px 45px 12px;\n color: #fff; }\n .score-report .tab-list {\n display: flex;\n justify-content: space-around;\n font-size: 18px; }\n .score-report .tab-list li {\n padding-bottom: 6px; }\n .score-report .tab-list .active {\n border-bottom: 2px solid #FFF; }\n .score-report .score-list-box {\n width: 100%;\n height: 434px;\n position: relative;\n margin-top: 20px; }\n .score-report .imgUrl {\n width: 100%;\n height: 434px;\n position: absolute;\n left: 0;\n top: 0; }\n .score-report .score-list {\n width: 100%;\n height: 100%;\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n text-align: center; }\n .score-report .score-list .title {\n font-size: 22px;\n color: #000;\n padding-top: 40px; }\n .score-report .score-list .title img {\n width: 16px;\n height: 11px;\n margin: 0 20px;\n position: relative;\n top: -1px; }\n .score-report .score-list table {\n margin: 15px 33px 0;\n text-align: center;\n border: 1px solid #E5E5E5;\n border-radius: 4px;\n background-color: #fff; }\n .score-report .score-list table tr {\n height: 40px;\n line-height: 40px; }\n .score-report .score-list table thead {\n color: #525C65;\n font-size: 16px;\n font-weight: 400; }\n .score-report .score-list table tbody {\n color: #525C65;\n font-size: 16px;\n font-weight: 500; }\n .score-report .score-list table tbody td {\n border-top: 1px solid #E5E5E5; }\n .score-report .score-list table td {\n border-left: 1px solid #E5E5E5;\n width: 80px; }\n .score-report .score-list table td:first-child {\n border-left: none; }\n .score-report .score-list table td:nth-of-type(2) {\n width: 124px; }\n .score-report .score-list table .has {\n color: #09f; }\n .score-report .score-list table .rank {\n color: #FF2121; }\n .score-report .score-list .comment {\n text-align: left;\n color: #333;\n font-size: 14px;\n line-height: 21px;\n margin: 15px 33px 0; }\n .score-report .score-list .comment em {\n text-decoration: line-through; }\n .score-report .score-list .code {\n width: 80px;\n position: absolute;\n bottom: 40px;\n right: 25px; }\n .score-report .score-list .code img {\n width: 80px;\n height: 80px; }\n .score-report .score-list .code p {\n color: #000;\n font-size: 12px; }\n .score-report .tip {\n text-align: center;\n margin-top: 20px;\n font-size: 16px;\n color: #fff; }\n .score-report .avatar_file {\n width: 49px;\n height: 49px;\n border-radius: 50%;\n float: left;\n margin-right: 10px; }\n"]}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[48],{1115:function(e,t,a){},1116:function(e,t,a){},1117:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSU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axDh+YCANwldpMfSWgSIFdJUheSMRLG5BBvAbjFrxU6EUmo3yY+TnwX/i1VxEhobS65EHDtsUgpHcOm6jOzsyPSApGKRdpoOmUy4JuUQueYHFJxgFQoEtEkbTTlBqZsA71t9xQbddFZckamYtIjo3UOidQd/Gr3UlIWGeVSRkVRLioSkV4e4PcmjiEtQaF2e2gQTQ6bCP7OfbzX6DmzRy8az0/8fz8BJMkvHSdlWQEAAAAASUVORK5CYII="},1120:function(e,t,a){},1121:function(e,t,a){},1122:function(e,t,a){},1123:function(e,t,a){},1124:function(e,t,a){},1125:function(e,t,a){},1126:function(e,t,a){},1127:function(e,t,a){},1128:function(e,t,a){},1130:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAWAQMAAAACb9WyAAAABlBMVEUAAAD/ISHbCYifAAAAAXRSTlMAQObYZgAAAB1JREFUCNdjYKj//w9CEAv+/wcqBhNEA0agYhABAMyqEOu7SXuEAAAAAElFTkSuQmCC"},1131:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAWAQMAAAACb9WyAAAABlBMVEUAAAD/ISHbCYifAAAAAXRSTlMAQObYZgAAABpJREFUCNdj+P//DwOYIBKAFP//ByZI0AElAEKDEefBnVvLAAAAAElFTkSuQmCC"},1132:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAr4AAANkCAMAAABmi9m6AAAAnFBMVEX/////ISH//Pz/9vb/y8v/Li7/+vr/Jib/7u7/Wlr/8vL/bm7/hIT/ODj/dnb//v7/xMT/r6//l5f/iYn/UlL/Kir/5+f/vr7/jo7/X1//z8//Z2f/rKz/nJz/e3v/amr/QkL/x8f/qKj/Ojr/NDT/MTH/ubn/srL/k5P/4OD/2dn/09P/o6P/cXH/Skr/8PD/29v/TU3/gID/rq6vT+taAAAOAklEQVR42uzcW0/iQBiH8fdfeqCcPKACuh5QBEFddf3+321bNAYQMbXT7k7y/K6acMHN08lk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kzA3xZSeqU1FdFe3zSu9Q7l72Tcdt+O1OOy2fw5VG5pLS+v9fXEf3in6VngB8X7vAtr+/vjYb6YDgqLkjmvPuFH1kqaVFeXwXRWgWb6M8fXEu6M8CHW0m7qLS+SrKO/tDJjswXGwN82LvxoLS+iuKZ3pnFx1507Lg4CS8GkpKy+irrpnqTdq0om0t6NaC+B9dYVFJfdVFLb1rR8Rd1XwyobyJpVVZfdad65/T4xfipAfW5lpZl9VWX6J3k6GU0rQ3wc9/hrqy+6iZy5nM5k2N5A/6cldVX3b2km2W7vbyRdH9suAD8OS2rr7qhBuddy3XPBxraB7EAf+Ky+qq7uMrsl+zqwj4S4E9pfQAAAAAAAAA+nQ545rnaM99sBQAAAAAAAAAAAAAAAAAAAP5vPwBmLG3CNCdCeQAAAABJRU5ErkJggg=="},1181:function(e,t,a){"use strict";a.r(t);var n=a(3),s=a(5),r=a(4),c=a(6),l=a(7),o=a(0),i=a.n(o),m=(a(1115),a(46)),u=(a(139),a(85)),d=a.n(u),f=a(74),v=a(18),h=(a(37),a(10)),A=a.n(h),p=(a(1116),a(2)),y=a(526),E=a.n(y),g=a(1175),b=a(14),j=a(20),w=function(e){function t(){var e,s;Object(n.a)(this,t);for(var l=arguments.length,o=new Array(l),i=0;i<l;i++)o[i]=arguments[i];return(s=Object(r.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(o)))).store=E.a.namespace("aiTestEntry"),s.state={selfTabs:[{title:"\u5f53\u524d\u6210\u7ee9"},{title:"\u4eca\u65e5\u6700\u4f73"},{title:"\u672c\u6708\u6700\u4f73"}],rankList:[],rankListTabs:[{title:"\u65e5\u699c"},{title:"\u5468\u699c"},{title:"\u603b\u699c"}],isExpandRankList:!1,icons:[a(1117),a(1118),a(1119)],isShowRule:!1,isNeverShow:s.store.get("isNeverShow"),pageState:{},availableTestNum:0,userScore:{},userAddress:{name:"",phone:"",address:""},isShowUserAddress:!1,entryButtonInRule:!1},s.handleChange=function(e){var t=e.target.checked;s.setState({isNeverSHow:t}),s.store.set("isNeverShow",t)},s.startTest=function(){s.props.history.push("/ai-test/exam")},s.getInitialData=function(){p.e.get("".concat(API.home,"/sys/activity_data")).then(function(e){var t=e.data,a=t.code,n=t.msg,r=t.data;200===a?s.setState({pageState:r}):3009===a?s.props.history.push("/"):A.a.fail(n,2,null,!1)})},s.getRankList=function(e,t){p.e.get("".concat(API.home,"/sys/at/ranks/").concat(t)).then(function(e){var t=e.data,a=t.code,n=t.msg,r=t.data;200===a?s.setState({rankList:r}):A.a.fail(n,2,null,!1)})},s.getUserScores=function(e){p.e.get("".concat(API.home,"/sys/at/user_score/").concat(e,"/0")).then(function(e){var t=e.data,a=t.code,n=t.msg,r=t.data;200===a?s.setState({userScore:r}):A.a.fail(n,2,null,!1)})},s.getUserAddress=function(){p.e.get("".concat(API.home,"/sys/user_address_info")).then(function(e){var t=e.data,a=t.code,n=(t.msg,t.data);200===a&&s.setState({userAddress:n})})},s.inputText=function(e){var t=e.target.name,a=e.target.value;s.setState(function(e){return{userAddress:Object(v.a)({},e.userAddress,Object(f.a)({},t,a))}})},s.submitForm=function(e){e.preventDefault();var t=s.state.userAddress;Object.values(t).every(function(e){return!!e})?p.e.post("".concat(API.home,"/sys/update_address"),t).then(function(e){var t=e.data,a=t.code,n=t.msg;t.data;200===a?(A.a.success("\u63d0\u4ea4\u6210\u529f",2,null,!1),s.setState({isShowUserAddress:!1})):A.a.fail(n,2,null,!1)}):A.a.info("\u8bf7\u586b\u5199\u5b8c\u6574")},s}return Object(l.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){this.getInitialData(),this.getRankList(null,0),this.props.user.hasError||(this.getUserScores(0),this.getUserAddress())}},{key:"componentDidUpdate",value:function(e,t){this.props.user.hasError!==e.user.hasError&&(this.getUserScores(0),this.getUserAddress())}},{key:"render",value:function(){var e=this,t=this.state,a=t.selfTabs,n=t.rankList,s=t.rankListTabs,r=t.icons,c=t.isExpandRankList,l=t.isShowRule,o=t.isNeverShow,m=t.pageState,u=t.userScore,f=t.isShowUserAddress,v=t.userAddress,h=t.entryButtonInRule,A=this.props,p=A.user,y=A.history,E=Array.isArray(n)?c?n:n.slice(0,10):[];return i.a.createElement("div",{className:"scores"},i.a.createElement("div",{className:"banner"},i.a.createElement("img",{src:m.h5_banner,alt:""})),i.a.createElement("div",{className:"info"},i.a.createElement("span",null,"\u5df2\u6709",m.join_num,"\u4eba\u53c2\u52a0\u6d4b\u8bd5"),i.a.createElement("a",{href:"javascript:void(0);",onClick:function(){e.setState({isShowRule:!0})}},"\u89c4\u5219")),i.a.createElement("div",{className:"score-list"},i.a.createElement(d.a,{tabs:a,tabBarUnderlineStyle:{display:"none"},onChange:function(t,a){e.getUserScores(a)}},a.map(function(e,t){return i.a.createElement("div",{className:"tab-content",key:t},i.a.createElement("table",null,i.a.createElement("thead",null,i.a.createElement("tr",null,i.a.createElement("th",null,"\u5206\u6570"),i.a.createElement("th",null,"\u7528\u65f6"),i.a.createElement("th",null,0===t&&"\u6700\u7ec8","\u6392\u540d"))),i.a.createElement("tbody",null,p.hasError?i.a.createElement("tr",null,i.a.createElement("td",null,"--"),i.a.createElement("td",null,"--"),i.a.createElement("td",null,"--")):i.a.createElement("tr",null,"-"===u.score?"-":i.a.createElement("td",null,u.score," ",i.a.createElement(b.b,{to:"/ai-test/analysis/".concat(u.r_id)},"\u89e3\u6790")),i.a.createElement("td",null,u.cost_time),"-"===u.rank?"-":i.a.createElement("td",null,u.rank,"\u540d")))))})),i.a.createElement("div",{className:"share"},i.a.createElement(b.b,{to:"/ai-test/report"},"\u5206\u4eab"))),i.a.createElement("div",{className:"rank-list"},i.a.createElement("div",{className:"head"},i.a.createElement("div",null,"\u6d4b\u8bd5\u6392\u884c\u699c"),i.a.createElement("div",null,i.a.createElement("span",null,"\u4ec5\u663e\u793a\u524d50\u540d"),i.a.createElement("a",{href:"javascript:void(0);",onClick:function(){p.hasError?y.push("/passport"):e.setState({isShowUserAddress:!0})}},"\u6536\u8d27\u5730\u5740"))),i.a.createElement("div",{className:"list"},i.a.createElement(d.a,{tabs:s,tabBarUnderlineStyle:{display:"none"},onChange:this.getRankList},s.map(function(e,t){return i.a.createElement("table",{key:t},i.a.createElement("thead",null,i.a.createElement("tr",null,i.a.createElement("th",null,"\u540d\u6b21"),i.a.createElement("th",null,"\u6635\u79f0"),i.a.createElement("th",null,"\u6210\u7ee9"),i.a.createElement("th",null,"\u5956\u54c1"))),i.a.createElement("tbody",null,!!E.length&&E.map(function(e,t){return i.a.createElement("tr",{key:t},i.a.createElement("td",null,t<3?i.a.createElement("img",{src:r[t],alt:""}):t+1),i.a.createElement("td",null,i.a.createElement("img",{src:e.avatar,className:"avatar",alt:""}),e.user_name),i.a.createElement("td",null,i.a.createElement("span",{className:"score"},e.score),"/",i.a.createElement("span",null,e.cost_time)),i.a.createElement("td",null,e.prize_url?i.a.createElement("a",{href:"".concat(e.prize_url,"#goback")},e.prize):e.prize))})))})),n.length>10&&(c?i.a.createElement("div",{className:"expand",onClick:function(){e.setState({isExpandRankList:!1})}},i.a.createElement("span",null,"\u6536\u8d77",i.a.createElement("i",{className:"iconfont iconiconfront-71"}))):i.a.createElement("div",{className:"expand",onClick:function(){e.setState({isExpandRankList:!0})}},i.a.createElement("span",null,"\u5c55\u5f00\u66f4\u591a",i.a.createElement("i",{className:"iconfont iconiconfront-69"})))))),i.a.createElement("div",{className:"qrcode"},i.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/qr.png",alt:""}),i.a.createElement("div",null,"\u5f97100\u5206\uff0c\u8bf7\u957f\u6309/\u626b\u7801\uff0c\u514d\u8d39\u9886\u8bfe\uff01")),i.a.createElement("div",{className:"btn"},Object(g.a)(new Date,1e3*m.stop_time)>0?m.daily_test_num>0?i.a.createElement("button",{className:"available",onClick:function(){o?e.startTest():e.setState({entryButtonInRule:!0,isShowRule:!0})}},"\u5f00\u59cb\u6d4b\u8bd5",i.a.createElement("span",null,"\uff08\u4eca\u65e5\u53ef\u6d4b\u8bd5",m.daily_test_num,"\u6b21\uff09")):i.a.createElement(b.b,{to:"/ai-test/share?shareCode=".concat(m.code)},i.a.createElement("button",{className:"get-chance"},"\u83b7\u53d6\u6d4b\u8bd5\u673a\u4f1a",i.a.createElement("span",null,"\uff08\u4eca\u65e5\u53ef\u6d4b\u8bd50\u6b21\uff09"))):i.a.createElement("button",{className:"unavailable"},"\u6d3b\u52a8\u5df2\u7ed3\u675f")),l&&i.a.createElement(M,{rule:m.rule,startTest:this.startTest,neverShow:this.handleChange,isNeverShow:o,close:function(){e.setState({isShowRule:!1,entryButtonInRule:!1})},entryButtonInRule:h}),f&&i.a.createElement("div",{className:"user-address-wrapper"},i.a.createElement("div",{className:"user-address"},i.a.createElement("div",{className:"title"},"\u6536\u8d27\u4fe1\u606f"),i.a.createElement("div",{className:"tip"},"\u83b7\u5956\u7528\u6237\uff08\u4ee5\u6700\u7ec8\u699c\u5355\u4e3a\u51c6\uff09\u8bf7\u53ca\u65f6\u586b\u5199\u6536\u8d27\u4fe1\u606f"),i.a.createElement("form",{action:"",onSubmit:this.submitForm},i.a.createElement("input",{type:"text",placeholder:"\u6536\u4ef6\u4eba",name:"name",onChange:this.inputText,value:v.name}),i.a.createElement("input",{type:"tel",placeholder:"\u8054\u7cfb\u65b9\u5f0f",name:"phone",onChange:this.inputText,value:v.phone}),i.a.createElement("input",{type:"text",placeholder:"\u6536\u8d27\u5730\u5740",name:"address",onChange:this.inputText,value:v.address}),i.a.createElement("button",{type:"submit",className:Object.values(v).every(function(e){return!!e})?"available":""},"\u63d0\u4ea4")),i.a.createElement("i",{className:"close iconfont iconiconfront-2",onClick:function(){e.setState({isShowUserAddress:!1})}}))))}}]),t}(o.Component);function M(e){var t=e.neverShow,a=e.isNeverShow,n=e.rule,s=e.close,r=e.startTest,c=e.entryButtonInRule;return i.a.createElement("div",{className:"rule-mask"},i.a.createElement("div",{className:"rule"},i.a.createElement("div",null,"\u6d4b\u8bd5\u89c4\u5219"),i.a.createElement("div",{dangerouslySetInnerHTML:Object(p.d)(n)}),c&&i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"option"},i.a.createElement("input",{id:"never-show",type:"checkbox",onChange:t,checked:a}),i.a.createElement("label",{htmlFor:"never-show"},"\u4e0d\u518d\u63d0\u793a")),i.a.createElement("button",{onClick:r},"\u8fdb\u5165\u6d4b\u8bd5")),i.a.createElement("i",{className:"close iconfont iconiconfront-2",onClick:s})))}var k,x=Object(j.b)(function(e){return{user:e.user}},null)(w),T=(a(1120),a(1121),a(17)),L=a.n(T),S=function(e){function t(){var e,a;Object(n.a)(this,t);for(var s=arguments.length,l=new Array(s),o=0;o<s;o++)l[o]=arguments[o];return(a=Object(r.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(l)))).handleSelect=function(e){var t=a.props.selectAnswer;t&&(t(a.props.question,e.id),a.setState({selectedId:e.id}))},a}return Object(l.a)(t,e),Object(s.a)(t,[{key:"render",value:function(){var e=this,t=this.props,a=t.question,n=t.answer,s=t.activeIndex,r=t.category;return i.a.createElement("div",{className:"question-container"},i.a.createElement("div",{className:"question"},void 0!==s&&"".concat(s+1,"."),r&&i.a.createElement("span",{className:"category"},r),"\xa0",i.a.createElement("span",{dangerouslySetInnerHTML:{__html:a.ques}})),i.a.createElement("ul",{className:"options"},!!a.options.length&&a.options.map(function(t,s){return i.a.createElement("li",{key:t.id,className:L()({active:n&&n[a.id]===t.id,error:t.user_select&&!t.is_ans,correct:t.is_ans}),onClick:e.handleSelect.bind(e,t)},i.a.createElement("div",{className:"letter"},String.fromCharCode(65+s)),i.a.createElement("div",null,t.des))})))}}]),t}(o.Component),N=(a(1122),function(e){var t=e.questions,a=e.answer,n=e.handleClick,s=e.isAnalysis;return i.a.createElement("div",{className:"navigation"},i.a.createElement("ul",null,!!t.length&&t.map(function(e,t){var r=e.options.findIndex(function(e){return e.user_select}),c=e.options.findIndex(function(e){return e.is_ans});return i.a.createElement("li",{key:t,onClick:n.bind(void 0,t),className:L()({active:a&&a[e.id],correct:s&&r===c,error:s&&r>=0&&r!==c,unselect:s&&r<0})},t+1)})))}),O=a(420),X=a(416),P=a(417),H=a(418),G=a(70),z=a(38),I=function(e){function t(){var e,a;Object(n.a)(this,t);for(var s=arguments.length,l=new Array(s),o=0;o<s;o++)l[o]=arguments[o];return(a=Object(r.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(l)))).store=E.a.namespace("aiTestExam"),a.timer=null,a.unlisten=null,a.state={questions:[],activeQuestion:0,time:{d:0,h:0,m:0,s:0},elapsed:0,answer:{},recordId:void 0},a.setCounter=function(){a.timer=setInterval(function(){a.setState(function(e){var t=e.elapsed+1;return{time:{d:Math.floor(t/864e4),h:Math.floor(t/36e4)%24,m:Math.floor(t/6e3)%60,s:Math.floor(t/100)%60},elapsed:t}})},10)},a.goBack=function(){var e=a.props.location.state;p.b.isWeixin&&Object(p.c)("code")&&Object(p.c)("state")&&window.history.go(-2),e.records&&e.records.length>1?window.history.go(-1):e.from&&e.from.pathname?location.replace("".concat(e.from.pathname).concat(e.from.search)):window.location.href=window.location.origin},a.getQuestions=function(){p.e.get("".concat(API.home,"/sys/get_question")).then(function(e){var t=e.data,n=t.code,s=t.msg,r=t.data;if(200===n){var c=a.store.session.get("answer")||{};Object(z.isEmpty)(c)&&r.forEach(function(e){c[e.id]=0}),a.setState({questions:r,answer:c,recordId:r[0].record_id}),a.getStartTime(r[0].create_time,r[0].now),a.setCounter()}else 23007===n?a.props.history.replace("/ai-test/scores"):A.a.fail(s,2,null,!1)})},a.getStartTime=function(e,t){var n=new Date(1e3*t),s=new Date(1e3*e);a.setState({time:{d:Object(O.a)(n,s),h:Object(X.a)(n,s)%24,m:Object(P.a)(n,s)%60,s:Object(H.a)(n,s)%60},elapsed:Object(G.a)(n,s)/10})},a.selectAnswer=function(e,t){a.setState(function(n){var s=n.answer,r=n.activeQuestion+1;return setTimeout(function(){a.setState({activeQuestion:r>=n.questions.length?n.questions.length-1:r})},200),s[e.id]=t,{answer:s}},function(){var e=a.state,t=e.questions;e.activeQuestion===t.length-1&&a.storeData()})},a.storeData=function(){var e=a.state,t=e.answer,n=e.time,s=e.recordId,r=e.elapsed,c=a.props.history;clearInterval(a.timer),a.store.session.setAll({time:n,answer:t,recordId:s,elapsed:r}),c.push("/ai-test/submit")},a}return Object(l.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,a=t.user,n=t.history;if(a.hasError)return n.push("/passport");this.store.session.get("submitted")&&(this.store.session.clearAll(),this.props.history.replace("/ai-test")),this.unlisten=n.listen(function(t){Object(m.f)(t.pathname,{path:"/ai-test"}).isExact&&e.store.clearAll(),e.unlisten&&e.unlisten()}),this.getQuestions(),document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState?e.setState(function(t){return{elapsed:t.elapsed+(Date.now()-e.store.session.get("hiddenTimestamp"))/10}}):e.store.session.set("hiddenTimestamp",Date.now())})}},{key:"componentWillUnmount",value:function(){clearInterval(this.timer)}},{key:"render",value:function(){var e=this,t=this.state,a=t.questions,n=t.activeQuestion,s=t.time,r=t.answer;return i.a.createElement("div",{className:"exam"},i.a.createElement("header",null,i.a.createElement("div",{className:"go-back"},i.a.createElement("i",{className:"iconfont iconiconfront-68",onClick:this.goBack})),i.a.createElement("div",{className:"time"},i.a.createElement("i",{className:"iconfont iconzhong"}),i.a.createElement("span",null,!!s.d&&i.a.createElement(i.a.Fragment,null,s.d,"\u5929"),!!s.h&&i.a.createElement(i.a.Fragment,null,s.h&&s.h.toString().padStart(2,"0"),":"),s.m.toString().padStart(2,"0"),":",s.s.toString().padStart(2,"0"))),i.a.createElement("div",{className:"count",onClick:this.storeData},Object.values(r).filter(function(e){return e}).length,"/",a.length)),i.a.createElement("div",{className:"banner"},i.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/scores/exam-banner.png",alt:""})),i.a.createElement("div",{className:"question-section"},!!a.length&&i.a.createElement(S,{activeIndex:n,question:a[n],selectAnswer:this.selectAnswer,answer:r})),i.a.createElement(N,{questions:a,answer:r,handleClick:function(t){e.setState({activeQuestion:t})}}))}}]),t}(o.Component),q=Object(j.b)(function(e){return{user:e.user}},null)(I),C=(a(1123),a(23)),Z=function(e){function t(){var e,a;Object(n.a)(this,t);for(var s=arguments.length,l=new Array(s),o=0;o<s;o++)l[o]=arguments[o];return(a=Object(r.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(l)))).store=E.a.namespace("aiTestExam"),a.timer=null,a.state={time:a.store.session.get("time")||{d:0,h:0,m:0,s:0},answer:a.store.session.get("answer"),recordId:a.store.session.get("recordId"),analysis:[],results:[],elapsed:a.store.session.get("elapsed")},a.setCounter=function(){a.timer=setInterval(function(){a.setState(function(e){var t=e.elapsed+1;return{time:{d:Math.floor(t/864e4),h:Math.floor(t/36e4)%24,m:Math.floor(t/6e3)%60,s:Math.floor(t/100)%60},elapsed:t}})},10)},a.submit=function(){var e=a.state,t=e.answer,n=e.recordId;p.e.post("".concat(API.home,"/sys/submit_answer"),{answer:JSON.stringify(t),cost_time:10*a.state.elapsed,record_id:n}).then(function(e){var t=e.data,n=t.code,s=t.msg;200===n?(a.store.session.set("submitted",!0),a.store.session.set("elapsed",a.state.elapsed),a.store.session.set("time",a.state.time),clearInterval(a.timer),a.props.history.push("/ai-test/report")):A.a.fail(s,2,null,!1)})},a.getAnalysis=function(){p.e.post("".concat(API.home,"/sys/get_analysis"),{record_id:a.state.recordId}).then(function(e){var t=e.data,n=t.code,s=t.msg,r=t.data;200===n?a.setState({analysis:r}):A.a.fail(s,2,null,!1)})},a}return Object(l.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){!Object(z.isEmpty)(this.state.answer)&&this.state.recordId||(this.props.history.replace("/ai-test"),this.store.session.remove("submitted")),this.store.session.get("submitted")?this.getAnalysis():this.setCounter()}},{key:"componentWillUnmount",value:function(){clearInterval(this.timer)}},{key:"render",value:function(){var e=this.state,t=e.time,a=e.answer,n=e.analysis,s=e.recordId;return i.a.createElement("div",{className:"submit-answer"},i.a.createElement(C.e,{title:"\u63d0\u4ea4\u8bd5\u5377",arrow:!0}),i.a.createElement("div",{className:"content"},i.a.createElement("div",{className:"cost"},"\u7528\u65f6\uff1a",i.a.createElement("span",null,!!t.d&&i.a.createElement(i.a.Fragment,null,t.d,"\u5929"),!!t.h&&i.a.createElement(i.a.Fragment,null,t.h&&t.h.toString().padStart(2,"0"),":"),t.m.toString().padStart(2,"0"),":",t.s.toString().padStart(2,"0"))),n.length?i.a.createElement(i.a.Fragment,null,i.a.createElement("ul",{className:"answers"},n.map(function(e,t){var a=e.options.findIndex(function(e){return e.user_select}),n=e.options.findIndex(function(e){return e.is_ans});return i.a.createElement("li",{key:e.id,className:L()({correct:a===n,wrong:a>=0&&a!==n,unselect:a<0})},t+1)})),!!n.length&&i.a.createElement("div",{className:"score"},"\u603b\u5206\uff1a",n[0].score,"\u5206"),i.a.createElement(b.b,{to:"/ai-test/analysis/".concat(s)},i.a.createElement("button",null,"\u67e5\u770b\u89e3\u6790"))):i.a.createElement(i.a.Fragment,null,i.a.createElement("ul",{className:"answers"},a&&!!Object.keys(a).length&&Object.keys(a).map(function(e,t){return i.a.createElement("li",{key:e,className:a[e]?"selected":""},t+1)})),i.a.createElement("button",{onClick:this.submit},"\u63d0\u4ea4"))))}}]),t}(o.Component),B=(a(1124),a(1125),function(e){function t(){return Object(n.a)(this,t),Object(r.a)(this,Object(c.a)(t).apply(this,arguments))}return Object(l.a)(t,e),Object(s.a)(t,[{key:"render",value:function(){var e=this.props.recommends;return i.a.createElement("div",{className:"recommends"},i.a.createElement("div",null,"\u76f8\u5173\u8bfe\u7a0b"),i.a.createElement("ul",null,!!e.length&&e.map(function(e){return i.a.createElement("li",{key:e.course_id},i.a.createElement(b.b,{to:"/detail?id=".concat(e.course_id)},i.a.createElement("img",{src:e.image_name,alt:""})))})))}}]),t}(o.Component)),Y=function(e){function t(){var e,a;Object(n.a)(this,t);for(var s=arguments.length,l=new Array(s),o=0;o<s;o++)l[o]=arguments[o];return(a=Object(r.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(l)))).state={questions:[],activeIndex:0,userSelect:"",rightAnswer:"",userUnselect:!1},a.getAnalysis=function(){p.e.post("".concat(API.home,"/sys/get_analysis"),{record_id:a.props.match.params.recordId}).then(function(e){var t=e.data,n=t.code,s=t.msg,r=t.data;200===n?a.setState({questions:r},function(){a.getAnswerInfo()}):A.a.fail(s,2,null,!1)})},a.getAnswerInfo=function(){var e=a.state,t=e.questions[e.activeIndex],n=t.options.findIndex(function(e){return e.user_select}),s=t.options.findIndex(function(e){return e.is_ans});a.setState({userSelect:String.fromCharCode(65+n),rightAnswer:String.fromCharCode(65+s),userUnselect:n<0})},a}return Object(l.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){this.getAnalysis()}},{key:"componentDidUpdate",value:function(e,t){t.activeIndex!==this.state.activeIndex&&this.getAnswerInfo()}},{key:"render",value:function(){var e=this,t=this.state,a=t.questions,n=t.activeIndex,s=t.userSelect,r=t.rightAnswer,c=t.userUnselect;return i.a.createElement("div",{className:"analysis-container"},i.a.createElement(C.e,{title:"AI\u6c34\u5e73\u6d4b\u8bd5",arrow:!0}),!!a.length&&i.a.createElement(S,{activeIndex:n,question:a[n]}),i.a.createElement("div",{style:{height:"8px",backgroundColor:"#f5f5f5"}}),i.a.createElement("div",{className:"analysis"},c?i.a.createElement("div",{className:"info"},"\u60a8\u672a\u4f5c\u7b54"):i.a.createElement("div",{className:"info"},"\u60a8\u9009\u62e9\u7684\u662f",s,"\uff0c\u6b63\u786e\u7b54\u6848\u662f",r," \u56de\u7b54",s===r?"\u6b63\u786e":"\u9519\u8bef"),i.a.createElement("div",{className:"content"},i.a.createElement("div",{className:"head"},i.a.createElement("i",{className:"icon"}),i.a.createElement("span",null,"\u89e3\u6790")),!!a.length&&i.a.createElement("div",{className:"analysis-content",dangerouslySetInnerHTML:Object(p.d)(a[n].analysis)}))),!!a.length&&a[n]&&a[n].commend_course&&!!a[n].commend_course.length&&i.a.createElement(B,{recommends:a[n].commend_course}),i.a.createElement(N,{questions:a,isAnalysis:!0,handleClick:function(t){e.setState({activeIndex:t})}}))}}]),t}(o.Component),J=(a(1126),function(e){function t(){var e,a;Object(n.a)(this,t);for(var s=arguments.length,l=new Array(s),o=0;o<s;o++)l[o]=arguments[o];return(a=Object(r.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(l)))).store=E.a.namespace("aiTestAssist"),a.state={question:a.store.session.get("question"),answer:a.store.session.get("answer"),result:null,rightAnswer:"",userAnswer:""},a.getData=function(){p.e.get("".concat(API.home,"/sys/aitest/assist")).then(function(e){var t=e.data,n=t.code,s=t.msg,r=t.data;if(200===n){var c=Object(f.a)({},r.id,0);a.store.session.set("question",r),a.store.session.set("answer",c),a.setState({question:r,answer:c})}else A.a.fail(s,2,null,!1)})},a.selectAnswer=function(e,t){a.setState({answer:Object(f.a)({},e.id,t)})},a.submit=function(){var e=a.props,t=e.history;if(e.user.hasError)p.b.isWeixin?window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=".concat(encodeURIComponent("".concat(window.location.origin).concat(location.pathname,"?aa=bb")),"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect"):t.push("/passport");else{var n=a.state,s=n.question,r=n.answer;r[s.id]?p.e.post("".concat(API.home,"/sys/aitest/assistSubmit"),{code:a.props.match.params.assistCode,question_id:s.id,answer_id:r[s.id]}).then(function(e){var t=e.data,n=t.code,c=t.msg,l=t.data;r[s.id]===l.correct_answer?A.a.info("\u56de\u7b54\u6b63\u786e",2,null,!1):A.a.info("\u56de\u7b54\u9519\u8bef",2,null,!1),a.setAnswer(l.correct_answer),200===n?(a.setState({result:l}),a.store.session.clearAll()):A.a.fail(c,2,null,!1)}):A.a.info("\u8bf7\u9009\u62e9\u540e\u8fdb\u63d0\u4ea4",2,null,!1)}},a.setAnswer=function(e){a.setState(function(t){var a="",n="";return{question:Object(v.a)({},t.question,{options:t.question.options.map(function(s,r){return s.id===e&&(s.is_ans=1,a=String.fromCharCode(65+r)),s.id===t.answer[t.question.id]&&(n=String.fromCharCode(65+r),s.user_select=1),s})}),rightAnswer:a,userAnswer:n}})},a}return Object(l.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){this.store.session.get("question")||this.getData()}},{key:"render",value:function(){var e=this.state,t=e.question,a=e.answer,n=e.result,s=e.rightAnswer,r=e.userAnswer;return i.a.createElement("div",{className:"assist"},i.a.createElement(C.e,{title:"AI\u6c34\u5e73\u6d4b\u8bd5",arrow:!0}),t&&i.a.createElement(S,{question:t,category:"\u673a\u5668\u5b66\u4e60",answer:a,selectAnswer:!n&&this.selectAnswer}),i.a.createElement("div",{style:{height:"8px",backgroundColor:"#f5f5f5"}}),n&&i.a.createElement("div",{className:"content"},i.a.createElement("div",{className:"info"},"\u60a8\u7684\u9009\u62e9\u662f",r,"\uff0c\u6b63\u786e\u7b54\u6848\u662f",s," \u56de\u7b54",r===s?"\u6b63\u786e":"\u9519\u8bef"),i.a.createElement("div",{className:"head"},i.a.createElement("i",{className:"icon"}),i.a.createElement("span",null,"\u89e3\u6790")),i.a.createElement("div",{className:"analysis-content",dangerouslySetInnerHTML:Object(p.d)(n.analysis)})),n&&t.commend_course&&t.commend_course.length&&i.a.createElement(i.a.Fragment,null,i.a.createElement(B,{recommends:t.commend_course})),i.a.createElement("div",{className:"btns"},n&&i.a.createElement("div",{className:L()(["status",{end:6===n.status,success:1===n.status,error:2===n.status||3===n.status||4===n.status||5===n.status}])},n.desc),!n&&i.a.createElement("button",{className:"submit",onClick:this.submit},"\u63d0\u4ea4"),n&&(6===n.status?i.a.createElement(b.b,{to:"/",className:"home"},"\u8fd4\u56de\u9996\u9875"):i.a.createElement(b.b,{to:"/ai-test/scores",className:"test"},"\u6211\u4e5f\u8981\u6d4b\u8bd5"))))}}]),t}(o.Component)),D=Object(j.b)(function(e){return{user:e.user}},null)(J),V=a(482),U=(a(1127),function(e){function t(e){var a;return Object(n.a)(this,t),(a=Object(r.a)(this,Object(c.a)(t).call(this,e))).share=function(){Object(p.k)({title:"\u5168\u56fdAI\u6c34\u5e73\u6d4b\u8bd5\u5f00\u59cb\u4e86\uff0c\u770b\u770b\u4f60\u80fd\u7b54\u5bf9\u51e0\u9053\u9898\uff1f",desc:a.state.dec,link:"".concat(API.m,"/ai-test/assist/").concat(Object(p.c)("shareCode")),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/share-img.png"}),a.setState({isshowYindao:!0})},a.copyToSuccess=function(){A.a.info("\u94fe\u63a5\u5df2\u590d\u5236\uff0c\u5feb\u53bb\u53d1\u9001\u7ed9\u597d\u53cb\u5427~")},a.handleFetchInfo=function(){p.e.get("".concat(API.home,"/sys/aitest/invitation")).then(function(e){var t=e.data,n=t.code,s=t.data;t.msg;200===n&&a.setState({total_num:s.total_num})})},a.getAssist=function(){p.e.get("".concat(API.home,"/sys/aitest/assist")).then(function(e){var t=e.data,n=t.code,s=t.data;t.msg;200===n&&a.setState({dec:s.ques})})},a.state={total_num:"",dec:"",isshowYindao:!1},a}return Object(l.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){this.handleFetchInfo(),this.getAssist()}},{key:"render",value:function(){var e=this.state,t=e.total_num,a=e.isshowYindao;return i.a.createElement("div",{className:"ai-test-help"},i.a.createElement("div",{className:"banner"},i.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/text2.png",alt:""}),i.a.createElement("span",null,t),i.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/text1.png",alt:""})),i.a.createElement("p",{className:"tip-l"},"\u5206\u4eab\u7ed9\u597d\u53cb"),i.a.createElement("p",{className:"tip-s"},"\u6bcf\u4e2a\u597d\u53cb\u53ea\u80fd\u52a9\u529b1\u6b21\u54e6~"),i.a.createElement("p",{className:"tip-m"},"\u597d\u53cb\u7b54\u9898\u4e3a\u4f60\u52a9\u529b\uff0c\u7b54\u9898\u6b63\u786e\u4f60\u5c06\u83b7\u5f97"),i.a.createElement("p",{className:"tip-num"},"\u4e00\u6b21\u6d4b\u8bd5\u673a\u4f1a"),!p.b.isWeixin&&i.a.createElement(V.CopyToClipboard,{text:"".concat(API.m,"/ai-test/assist/").concat(Object(p.c)("shareCode")),onCopy:this.copyToSuccess},i.a.createElement("div",{className:"share-btn"},"\u9080\u8bf7\u597d\u53cb\u52a9\u529b")),p.b.isWeixin&&i.a.createElement("div",{className:"share-btn",onClick:this.share},"\u9080\u8bf7\u597d\u53cb\u52a9\u529b"),a&&i.a.createElement("div",{className:"share"},i.a.createElement("div",{className:"content"},i.a.createElement("p",{className:"test"},"\u70b9\u51fb\u53f3\u4e0a\u89d2\uff0c\u5206\u4eab\u7ed9\u597d\u53cb"),i.a.createElement("i",{className:"iconfont"}))))}}]),t}(o.Component)),R=(a(1128),a(434)),F=a.n(R),Q=a(1129),W=a.n(Q),K=a(1130),_=a.n(K),$=a(1131),ee=a.n($),te=a(1132),ae=a.n(te),ne=Object(j.b)(function(e){return{user:e.user}})(k=function(e){function t(e){var a;return Object(n.a)(this,t),(a=Object(r.a)(this,Object(c.a)(t).call(this,e))).handleFetchInfo=function(e){p.e.get("".concat(API.home,"/sys/at/user_score/").concat(e,"/").concat(Object(p.c)("uid")?Object(p.c)("uid"):0)).then(function(e){var t=e.data,n=t.code,s=t.data;if(200===n){a.setState({myRankList:s});var r=s.avatar_file;a.getBase64(r),setTimeout(function(){a.getCanvas()},500)}else if(4030===n){var c=a.props,l=c.user,o=c.history;l.hasError&&o.push("/passport")}})},a.getBase64Image=function(e){var t=document.createElement("canvas");t.width=e.width,t.height=e.height,t.getContext("2d").drawImage(e,0,0,e.width,e.height);var a=e.src.substring(e.src.lastIndexOf(".")+1).toLowerCase();return t.toDataURL("image/"+a)},a.getBase64=function(e){var t=null,n=new Image,s=+new Date;n.setAttribute("crossOrigin","anonymous"),n.src=e+"?"+s,n.onload=function(){t=a.getBase64Image(n),a.setState({avatar_file:t})},n.onerror=function(){console.log("onerror");var t=+new Date;a.getBase64(e+"?"+t)}},a.change=function(e){a.setState({cutIndex:e}),a.handleFetchInfo(e)},a.state={tab:["\u5f53\u524d\u6210\u7ee9","\u4eca\u65e5\u6700\u4f73","\u672c\u6708\u6700\u4f73"],cutIndex:0,myRankList:"",imgUrl:"",codeSrc:"",avatar_file:""},a}return Object(l.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){window.onbeforeunload=function(){document.documentElement.scrollTop=0,document.body.scrollTop=0},this.getCodeWe(),this.handleFetchInfo(0)}},{key:"getCanvas",value:function(){document.documentElement.scrollTop=0,document.body.scrollTop=0;var e=this,t=document.createElement("canvas"),a=document.getElementsByClassName("score-list")[0];if(a){var n=parseInt(window.getComputedStyle(a).width),s=parseInt(window.getComputedStyle(a).height),r=window.devicePixelRatio;t.width=n*r,t.height=s*r,t.getContext("2d").scale(1,1),W()(document.getElementsByClassName("score-list")[0],{canvas:t}).then(function(t){var a=t.toDataURL("image/png").replace("image/png","image/octet-stream");e.setState({imgUrl:a})})}}},{key:"getCodeWe",value:function(){var e=this,t="".concat(API.m,"/ai-test");return new Promise(function(a){F.a.toDataURL(t,{},function(t,a){e.setState({codeSrc:a})}),a()})}},{key:"render",value:function(){var e=this,t=this.state,a=t.tab,n=t.cutIndex,s=t.myRankList,r=t.codeSrc,c=t.imgUrl,l=t.avatar_file;return i.a.createElement("div",{className:"score-content"},i.a.createElement(C.e,{title:"\u6210\u7ee9\u62a5\u544a",arrow:!0,home:!1}),i.a.createElement("div",{className:"score-report"},i.a.createElement("ul",{className:"tab-list"},a.map(function(t,a){return i.a.createElement("li",{key:a,className:n===a?"active":"",onClick:function(){return e.change(a)}},t)})),i.a.createElement("div",{className:"score-list-box"},i.a.createElement("div",{className:"score-list",style:{backgroundImage:"url(".concat(ae.a,")")}},i.a.createElement("div",{className:"title"},i.a.createElement("img",{src:_.a,alt:""}),"\u6210\u7ee9\u62a5\u544a",i.a.createElement("img",{src:ee.a,alt:""})),i.a.createElement("table",{border:"0",cellSpacing:"0",cellPadding:"0"},i.a.createElement("thead",null,i.a.createElement("tr",null,i.a.createElement("td",null,"\u5206\u6570"),i.a.createElement("td",null,"\u7528\u65f6"),i.a.createElement("td",null,0===n&&"\u6700\u7ec8","\u6392\u540d"))),i.a.createElement("tbody",null,0!==s.r_id&&i.a.createElement("tr",{className:"has"},i.a.createElement("td",null,s.score,"\u5206"),i.a.createElement("td",null,s.cost_time),i.a.createElement("td",{className:"rank"},s.rank)),0==s.r_id&&i.a.createElement("tr",null,i.a.createElement("td",null,"-"),i.a.createElement("td",null,"-"),i.a.createElement("td",null,"-")))),i.a.createElement("div",{className:"comment text-overflow-4"},i.a.createElement("img",{className:"avatar_file",src:l,alt:""}),i.a.createElement("span",{dangerouslySetInnerHTML:{__html:s.title}})),i.a.createElement("div",{className:"code"},i.a.createElement("img",{src:r,alt:""}),i.a.createElement("p",null,"AI\u6c34\u5e73\u6d4b\u8bd5"))),i.a.createElement("img",{className:"imgUrl",src:c,alt:""})),i.a.createElement("div",{className:"tip"},"\u957f\u6309\u56fe\u7247\u5206\u4eab\u7ed9\u597d\u53cb\uff0c\u6216\u4fdd\u5b58\u540e\u5206\u4eab\u5230\u670b\u53cb\u5708")))}}]),t}(o.Component))||k,se=function(e){function t(){return Object(n.a)(this,t),Object(r.a)(this,Object(c.a)(t).apply(this,arguments))}return Object(l.a)(t,e),Object(s.a)(t,[{key:"render",value:function(){var e=this.props.match;return i.a.createElement(m.d,null,i.a.createElement(m.b,{path:"".concat(e.path,"/exam"),render:function(e){return i.a.createElement(q,e)}}),i.a.createElement(m.b,{path:"".concat(e.path,"/submit"),render:function(e){return i.a.createElement(Z,e)}}),i.a.createElement(m.b,{path:"".concat(e.path,"/analysis/:recordId"),render:function(e){return i.a.createElement(Y,e)}}),i.a.createElement(m.b,{path:"".concat(e.path,"/assist/:assistCode"),render:function(e){return i.a.createElement(D,e)}}),i.a.createElement(m.b,{path:"".concat(e.path,"/share"),render:function(e){return i.a.createElement(U,e)}}),i.a.createElement(m.b,{path:"".concat(e.path,"/report"),render:function(e){return i.a.createElement(ne,e)}}),i.a.createElement(m.b,{render:function(e){return i.a.createElement(x,e)}}))}}]),t}(o.Component);t.default=se}}]);
//# sourceMappingURL=48.30bc711f.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/ai-test/scores/rank-1.png","components/ai-test/scores/rank-2.png","components/ai-test/scores/rank-3.png","assets/image/score_icon-l.png","assets/image/score_icon-r.png","assets/image/scoreReport_bg.png","components/ai-test/scores/index.js","components/ai-test/common/question/index.js","components/ai-test/common/navigation/index.js","components/ai-test/exam/index.js","components/ai-test/submit-answer/index.js","components/ai-test/common/recommends/index.js","components/ai-test/analysis/index.js","components/ai-test/assist/index.js","components/ai-test/share/index.js","components/ai-test/report/index.js","components/ai-test/index.js"],"names":["module","exports","Scores","store","storage","namespace","state","selfTabs","title","rankList","rankListTabs","isExpandRankList","icons","require","isShowRule","isNeverShow","_this","get","pageState","availableTestNum","userScore","userAddress","name","phone","address","isShowUserAddress","entryButtonInRule","handleChange","e","isNeverSHow","target","checked","setState","set","startTest","props","history","push","getInitialData","http","concat","API","home","then","res","_res$data","data","code","msg","toast_default","a","fail","getRankList","tab","type","_res$data2","getUserScores","_res$data3","getUserAddress","_res$data4","inputText","key","value","Object","objectSpread","defineProperty","submitForm","preventDefault","values","every","item","post","_res$data5","success","info","this","user","hasError","prevProps","prevState","_this2","_this$state","_this$props","_rankList","Array","isArray","slice","react_default","createElement","className","src","h5_banner","alt","join_num","href","onClick","tabs_default","tabs","tabBarUnderlineStyle","display","onChange","i","map","index","score","react_router_dom","to","r_id","cost_time","rank","length","avatar","user_name","prize_url","prize","compareDesc","Date","stop_time","daily_test_num","Rule","rule","neverShow","close","action","onSubmit","placeholder","Component","_ref","dangerouslySetInnerHTML","html","Fragment","id","htmlFor","connect","_ref2","Question","handleSelect","option","selectAnswer","question","selectedId","answer","activeIndex","category","undefined","__html","ques","options","classnames","active","error","user_select","is_ans","correct","bind","String","fromCharCode","des","Navigation","questions","handleClick","isAnalysis","userSelectIndex","findIndex","rightAnswerIndex","unselect","Exam","timer","unlisten","activeQuestion","time","d","h","m","s","elapsed","recordId","setCounter","setInterval","fms","Math","floor","goBack","location","browser","isWeixin","getParam","window","go","records","from","pathname","replace","search","origin","getQuestions","session","isEmpty","forEach","record_id","getStartTime","create_time","now","createTimeStamp","current","createTime","differenceInDays","differenceInHours","differenceInMinutes","differenceInSeconds","differenceInMilliseconds","optionId","setTimeout","storeData","_this$state2","clearInterval","setAll","clearAll","listen","matchPath","path","isExact","document","addEventListener","visibilityState","_this3","_this$state3","toString","padStart","filter","ai_test_common_question","common_navigation","SubmitAnswer","analysis","results","submit","JSON","stringify","getAnalysis","remove","common","arrow","wrong","keys","Recommends","recommends","course_id","image_name","Analysis","userSelect","rightAnswer","userUnselect","match","params","getAnswerInfo","userAnswerIndex","style","height","backgroundColor","commend_course","ai_test_common_recommends","Assist","result","userAnswer","getData","encodeURIComponent","assistCode","question_id","answer_id","correct_answer","setAnswer","rightAnswerId","end","status","desc","aiTestHelp","classCallCheck","possibleConstructorReturn","getPrototypeOf","call","share","wxShare","dec","link","imgUrl","isshowYindao","copyToSuccess","handleFetchInfo","total_num","getAssist","lib","text","onCopy","scoreReport","myRankList","avatar_file","getBase64","getCanvas","getBase64Image","img","canvas","width","getContext","drawImage","ext","substring","lastIndexOf","toLowerCase","toDataURL","base64","image","Image","timeStamp","setAttribute","onload","onerror","console","log","change","cutIndex","codeSrc","onbeforeunload","documentElement","scrollTop","body","getCodeWe","canvas2","_canvas","getElementsByClassName","w","parseInt","getComputedStyle","scale","devicePixelRatio","html2canvas","qrCodeLink","Promise","resolve","QRCode","err","url","backgroundImage","scoreReportBg","scoreIconL","scoreIconR","border","cellSpacing","cellPadding","AiTest","react_router","render","ai_test_exam","ai_test_submit_answer","components_ai_test_analysis","ai_test_assist","ai_test_share","ai_test_report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R2aoXzAJgsCdMxNEL6Y7eSaj76Q3gzsxqfK9PaSQ+wiVQoSIQTtWU3dFsgLG1LRXiwM5feAFbIKLsEcaVpIrrx7NvfRXgTEKpkxoIFVqVVypna89HT8iKYX9OkwjthkFI+DIySU35CDg2vIO66sYufI2KosBH9qE+OLymCV++JGvpxvlUZLEVcquBw6x0I/Q0EN9aPwmPHImUYP4gg0qo1p/x7Lxogd33yAhMCcpxi/K9MHaFX85iUyV0lK8oyAXhIjFqVEBHqsrsWNVEOIawLwUcKox3kJADGqLSRLEEY8MteyseW+CMQEaxDh+YCANwldpMfSWgSIFdJUheSMRLG5BBvAbjFrxU6EUmo3yY+TnwX/i1VxEhobS65EHDtsUgpHcOm6jOzsyPSApGKRdpoOmUy4JuUQueYHFJxgFQoEtEkbTTlBqZsA71t9xQbddFZckamYtIjo3UOidQd/Gr3UlIWGeVSRkVRLioSkV4e4PcmjiEtQaF2e2gQTQ6bCP7OfbzX6DmzRy8az0/8fz8BJMkvHSdlWQEAAAAASUVORK5CYII=\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAWAQMAAAACb9WyAAAABlBMVEUAAAD/ISHbCYifAAAAAXRSTlMAQObYZgAAAB1JREFUCNdjYKj//w9CEAv+/wcqBhNEA0agYhABAMyqEOu7SXuEAAAAAElFTkSuQmCC\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAWAQMAAAACb9WyAAAABlBMVEUAAAD/ISHbCYifAAAAAXRSTlMAQObYZgAAABpJREFUCNdj+P//DwOYIBKAFP//ByZI0AElAEKDEefBnVvLAAAAAElFTkSuQmCC\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAr4AAANkCAMAAABmi9m6AAAAnFBMVEX/////ISH//Pz/9vb/y8v/Li7/+vr/Jib/7u7/Wlr/8vL/bm7/hIT/ODj/dnb//v7/xMT/r6//l5f/iYn/UlL/Kir/5+f/vr7/jo7/X1//z8//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PclQG+LZTbPZk/47EVPKbufH8ywK8HV1b6VKivjujr18gKtm7+vWR/Ab+yb+5c3Bbrq+OL9MWKnpXrG+DTUrnnD/XVEF9L17EVbRgf4NtrS9KmpL7qTpQ7saKXgaSOAf6sJQ1eSuqrrJ0ql7at6FY57k/Cn0S525L6qoqTng56SWwFHUkzA3xZSeqU1FdFe3zSu9Q7l72Tcdt+O1OOy2fw5VG5pLS+v9fXEf3in6VngB8X7vAtr+/vjYb6YDgqLkjmvPuFH1kqaVFeXwXRWgWb6M8fXEu6M8CHW0m7qLS+SrKO/tDJjswXGwN82LvxoLS+iuKZ3pnFx1507Lg4CS8GkpKy+irrpnqTdq0om0t6NaC+B9dYVFJfdVFLb1rR8Rd1XwyobyJpVVZfdad65/T4xfipAfW5lpZl9VWX6J3k6GU0rQ3wc9/hrqy+6iZy5nM5k2N5A/6cldVX3b2km2W7vbyRdH9suAD8OS2rr7qhBuddy3XPBxraB7EAf+Ky+qq7uMrsl+zqwj4S4E9pfQAAAAAAAAA+nQ545rnaM99sBQAAAAAAAAAAAAAAAAAAAP5vPwBmLG3CNCdCeQAAAABJRU5ErkJggg==\"","import React, { Component } from 'react';\nimport './index.scss'\nimport { Tabs, Toast } from \"antd-mobile\";\nimport { http } from \"@/utils\"\nimport storage from 'store2'\nimport { html } from '@/utils'\nimport { compareDesc } from \"date-fns\";\nimport { Link } from \"react-router-dom\";\nimport { connect } from \"react-redux\";\n\n\nclass Scores extends Component {\n\n store = storage.namespace('aiTestEntry')\n\n\n state = {\n selfTabs: [\n {title: '当前成绩'},\n {title: '今日最佳'},\n {title: '本月最佳'},\n ],\n rankList: [],\n rankListTabs: [\n {title: '日榜'},\n {title: '周榜'},\n {title: '总榜'},\n ],\n isExpandRankList: false,\n icons: [\n require('./rank-1.png'),\n require('./rank-2.png'),\n require('./rank-3.png'),\n ],\n isShowRule: false,\n isNeverShow: this.store.get('isNeverShow'),\n pageState: {},\n availableTestNum: 0,\n userScore: {},\n userAddress: {\n name: '',\n phone: '',\n address: '',\n },\n isShowUserAddress: false,\n entryButtonInRule: false,\n }\n\n componentDidMount() {\n this.getInitialData()\n this.getRankList(null, 0)\n if (!this.props.user.hasError) {\n this.getUserScores(0)\n this.getUserAddress()\n }\n }\n\n componentDidUpdate(prevProps, prevState) {\n if (this.props.user.hasError !== prevProps.user.hasError) {\n this.getUserScores(0)\n this.getUserAddress()\n }\n }\n\n\n handleChange = (e) => {\n const isNeverSHow = e.target.checked\n this.setState({\n isNeverSHow,\n })\n this.store.set('isNeverShow', isNeverSHow)\n }\n\n startTest = () => {\n this.props.history.push('/ai-test/exam')\n }\n\n getInitialData = () => {\n http.get(`${API.home}/sys/activity_data`)\n .then(res => {\n const {code, msg, data} = res.data\n if (code === 200) {\n this.setState({\n pageState: data,\n })\n } else if (code === 3009) {\n this.props.history.push('/')\n } else {\n Toast.fail(msg, 2, null, false)\n }\n })\n }\n\n getRankList = (tab, type) => {\n http.get(`${API.home}/sys/at/ranks/${type}`)\n .then(res => {\n const {code, msg, data} = res.data\n if (code === 200) {\n this.setState({\n rankList: data,\n })\n } else {\n Toast.fail(msg, 2, null, false)\n }\n })\n }\n\n getUserScores = (type) => {\n http.get(`${API.home}/sys/at/user_score/${type}/0`)\n .then(res => {\n const {code, msg, data} = res.data\n\n if (code === 200) {\n this.setState({\n userScore: data,\n })\n } else {\n Toast.fail(msg, 2, null, false)\n }\n })\n }\n\n getUserAddress = () => {\n http.get(`${API.home}/sys/user_address_info`)\n .then(res => {\n const {code, msg, data} = res.data\n if (code === 200) {\n this.setState({\n userAddress: data,\n })\n }\n })\n }\n\n inputText = e => {\n const key = e.target.name\n const value = e.target.value\n this.setState(state => {\n return {\n userAddress: {\n ...state.userAddress, ...{\n [key]: value,\n },\n },\n }\n })\n }\n\n submitForm = (e) => {\n e.preventDefault()\n const {userAddress} = this.state\n if (!Object.values(userAddress).every(item => !!item)) {\n Toast.info('请填写完整')\n return\n }\n http.post(`${API.home}/sys/update_address`, userAddress)\n .then(res => {\n const {code, msg, data} = res.data\n if (code === 200) {\n Toast.success('提交成功', 2, null, false)\n this.setState({\n isShowUserAddress: false,\n })\n } else {\n Toast.fail(msg, 2, null, false)\n }\n })\n }\n\n render() {\n const {\n selfTabs,\n rankList,\n rankListTabs,\n icons,\n isExpandRankList,\n isShowRule,\n isNeverShow,\n pageState,\n userScore,\n isShowUserAddress,\n userAddress,\n entryButtonInRule,\n } = this.state\n const {user, history} = this.props\n const _rankList = Array.isArray(rankList) ? isExpandRankList ? rankList : rankList.slice(0, 10) : []\n return (\n <div className={'scores'}>\n <div className=\"banner\">\n <img src={pageState.h5_banner} alt=\"\"/>\n </div>\n <div className=\"info\">\n <span>已有{pageState.join_num}人参加测试</span>\n <a href=\"javascript:void(0);\" onClick={() => {\n this.setState({\n isShowRule: true,\n })\n }}>规则</a>\n </div>\n {\n <div className=\"score-list\">\n <Tabs tabs={selfTabs} tabBarUnderlineStyle={{display: 'none'}} onChange={(tab, i) => {\n this.getUserScores(i)\n }}>\n {\n selfTabs.map((tab, index) => {\n return <div className={'tab-content'} key={index}>\n <table>\n <thead>\n <tr>\n <th>分数</th>\n <th>用时</th>\n <th>{index === 0 && '最终'}排名</th>\n </tr>\n </thead>\n <tbody>\n {\n user.hasError\n ? <tr>\n <td>--</td>\n <td>--</td>\n <td>--</td>\n </tr>\n : <tr>\n {\n userScore.score === '-' ? '-' :\n <td>{userScore.score} <Link to={`/ai-test/analysis/${userScore.r_id}`}>解析</Link></td>\n }\n <td>{userScore.cost_time}</td>\n {\n userScore.rank === '-' ? '-' : <td>{userScore.rank}名</td>\n }\n </tr>\n }\n </tbody>\n </table>\n </div>\n })\n }\n </Tabs>\n <div className=\"share\">\n <Link to={'/ai-test/report'}>分享</Link>\n </div>\n </div>\n }\n <div className=\"rank-list\">\n <div className=\"head\">\n <div>\n 测试排行榜\n </div>\n <div>\n <span>仅显示前50名</span>\n <a href=\"javascript:void(0);\" onClick={() => {\n if (user.hasError) {\n history.push('/passport')\n } else {\n this.setState({\n isShowUserAddress: true,\n })\n }\n }}>收货地址</a>\n </div>\n </div>\n <div className=\"list\">\n <Tabs tabs={rankListTabs} tabBarUnderlineStyle={{display: 'none'}} onChange={this.getRankList}>\n {\n rankListTabs.map((item, index) => {\n return <table key={index}>\n <thead>\n <tr>\n <th>名次</th>\n <th>昵称</th>\n <th>成绩</th>\n <th>奖品</th>\n </tr>\n </thead>\n <tbody>\n {\n !!_rankList.length && _rankList.map((item, index) => {\n return <tr key={index}>\n <td>\n {\n index < 3 ? <img src={icons[index]} alt=\"\"/> : index + 1\n }\n </td>\n <td>\n <img src={item.avatar} className={'avatar'} alt=\"\"/>\n {item.user_name}\n </td>\n <td>\n <span className={'score'}>{item.score}</span>/<span>{item.cost_time}</span>\n </td>\n <td>\n {\n item.prize_url ? <a href={`${item.prize_url}#goback`}>{item.prize}</a> : item.prize\n }\n </td>\n </tr>\n })\n }\n </tbody>\n </table>\n })\n }\n </Tabs>\n {\n rankList.length > 10 && (!isExpandRankList ?\n <div className=\"expand\" onClick={() => {\n this.setState({\n isExpandRankList: true,\n })\n }}>\n <span>\n 展开更多\n <i className={'iconfont iconiconfront-69'}></i>\n </span>\n </div>\n :\n <div className=\"expand\" onClick={() => {\n this.setState({\n isExpandRankList: false,\n })\n }}>\n <span>\n 收起\n <i className={'iconfont iconiconfront-71'}></i>\n </span>\n </div>\n )\n }\n </div>\n </div>\n <div className=\"qrcode\">\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/qr.png\" alt=\"\"/>\n <div>得100分,请长按/扫码,免费领课!</div>\n </div>\n <div className=\"btn\">\n {\n compareDesc(new Date(), pageState.stop_time * 1000) > 0 ?\n pageState.daily_test_num > 0\n ? <button className={'available'} onClick={() => {\n isNeverShow ? this.startTest() : this.setState({\n entryButtonInRule: true,\n isShowRule: true,\n })\n }}>开始测试<span>(今日可测试{pageState.daily_test_num}次)</span></button>\n : <Link to={`/ai-test/share?shareCode=${pageState.code}`}>\n <button className={'get-chance'}>获取测试机会<span>(今日可测试0次)</span></button>\n </Link>\n : <button className={'unavailable'}>活动已结束</button>\n }\n </div>\n {\n isShowRule &&\n <Rule rule={pageState.rule} startTest={this.startTest} neverShow={this.handleChange} isNeverShow={isNeverShow}\n close={() => {\n this.setState({\n isShowRule: false,\n entryButtonInRule: false,\n })\n }} entryButtonInRule={entryButtonInRule}/>\n }\n {\n isShowUserAddress &&\n <div className=\"user-address-wrapper\">\n <div className=\"user-address\">\n <div className=\"title\">收货信息</div>\n <div className=\"tip\">获奖用户(以最终榜单为准)请及时填写收货信息</div>\n <form action=\"\" onSubmit={this.submitForm}>\n <input type=\"text\" placeholder={'收件人'} name={'name'} onChange={this.inputText}\n value={userAddress.name}/>\n <input type=\"tel\" placeholder={'联系方式'} name={'phone'} onChange={this.inputText}\n value={userAddress.phone}/>\n <input type=\"text\" placeholder={'收货地址'} name={'address'} onChange={this.inputText}\n value={userAddress.address}/>\n <button type={'submit'}\n className={Object.values(userAddress).every(value => !!value) ? 'available' : ''}>提交\n </button>\n </form>\n <i className={'close iconfont iconiconfront-2'} onClick={() => {\n this.setState({\n isShowUserAddress: false,\n })\n }}/>\n </div>\n </div>\n }\n </div>\n );\n }\n}\n\nfunction Rule({neverShow, isNeverShow, rule, close, startTest, entryButtonInRule}) {\n return <div className=\"rule-mask\">\n <div className=\"rule\">\n <div>测试规则</div>\n <div dangerouslySetInnerHTML={html(rule)}></div>\n {\n entryButtonInRule && <>\n <div className=\"option\">\n <input id={'never-show'} type=\"checkbox\" onChange={neverShow} checked={isNeverShow}/>\n <label htmlFor=\"never-show\">不再提示</label>\n </div>\n <button onClick={startTest}>进入测试</button>\n </>\n }\n <i className={'close iconfont iconiconfront-2'} onClick={close}/>\n </div>\n </div>\n}\n\n\nexport default connect(\n ({user}) => ({user}),\n null,\n)(Scores);","import React, { Component } from 'react';\nimport './index.scss'\nimport { html } from \"@/utils\"\nimport classnames from 'classnames'\n\n\nclass Question extends Component {\n\n handleSelect = option => {\n const {selectAnswer} = this.props\n if (selectAnswer) {\n selectAnswer(this.props.question, option.id)\n this.setState({\n selectedId: option.id,\n })\n }\n }\n\n render() {\n const {question, answer, activeIndex, category} = this.props\n return (\n <div className={'question-container'}>\n {\n <div className=\"question\">\n {activeIndex !== undefined && `${activeIndex + 1}.`}\n {category && <span className={'category'}>{category}</span>}&nbsp;\n <span dangerouslySetInnerHTML={{__html: question.ques}}></span>\n </div>\n }\n <ul className={'options'}>\n {\n !!question.options.length && question.options.map((item, index) => {\n return <li key={item.id}\n className={classnames({\n active: answer && answer[question.id] === item.id,\n error: item.user_select && !item.is_ans,\n correct: item.is_ans,\n })}\n onClick={this.handleSelect.bind(this, item)}>\n <div className={'letter'}>{String.fromCharCode(65 + index)}</div>\n <div>{item.des}</div>\n </li>\n })\n }\n </ul>\n </div>\n );\n }\n}\n\nexport default Question;","import React from 'react';\nimport './index.scss'\nimport classnames from 'classnames'\n\nconst Navigation = ({questions, answer, handleClick, isAnalysis}) => {\n return (\n <div className=\"navigation\">\n <ul>\n {\n !!questions.length && questions.map((item, index) => {\n const userSelectIndex = item.options.findIndex(item => item.user_select)\n const rightAnswerIndex = item.options.findIndex(item => item.is_ans)\n return <li key={index} onClick={handleClick.bind(this, index)}\n className={classnames({\n active: answer && answer[item.id],\n correct: isAnalysis && userSelectIndex === rightAnswerIndex,\n error: isAnalysis && userSelectIndex >= 0 && userSelectIndex !== rightAnswerIndex,\n unselect: isAnalysis && userSelectIndex < 0,\n })}>{index + 1}</li>\n })\n }\n </ul>\n </div>\n );\n};\n\nexport default Navigation;","import React, { Component } from 'react';\nimport './index.scss'\nimport Question from '../common/question'\nimport { browser, getParam, http } from \"@/utils\"\nimport { Toast } from 'antd-mobile'\nimport storage from 'store2'\nimport Navigation from \"@components/ai-test/common/navigation\"\nimport {\n differenceInSeconds,\n differenceInMinutes,\n differenceInHours,\n differenceInDays,\n differenceInMilliseconds,\n} from \"date-fns\";\nimport { isEmpty } from 'lodash'\nimport { connect } from 'react-redux'\nimport { matchPath } from 'react-router-dom'\n\nclass Exam extends Component {\n\n store = storage.namespace('aiTestExam')\n timer = null\n unlisten = null\n\n state = {\n questions: [],\n activeQuestion: 0,\n time: {\n d: 0,\n h: 0,\n m: 0,\n s: 0,\n },\n elapsed: 0,\n answer: {},\n recordId: undefined,\n }\n\n componentDidMount() {\n const {user, history} = this.props\n if (user.hasError) {\n return history.push('/passport')\n }\n if (this.store.session.get('submitted')) {\n this.store.session.clearAll()\n this.props.history.replace('/ai-test')\n }\n this.unlisten = history.listen((location) => {\n const match = matchPath(location.pathname, {\n path: '/ai-test',\n })\n if (match.isExact) {\n this.store.clearAll()\n }\n this.unlisten && this.unlisten()\n })\n this.getQuestions()\n\n document.addEventListener('visibilitychange', () => {\n if (document.visibilityState === 'visible') {\n this.setState(state => {\n return {\n elapsed: state.elapsed + (Date.now() - this.store.session.get('hiddenTimestamp')) / 10,\n }\n })\n } else {\n this.store.session.set('hiddenTimestamp', Date.now())\n }\n })\n }\n\n componentWillUnmount() {\n clearInterval(this.timer)\n }\n\n\n setCounter = () => {\n this.timer = setInterval(() => {\n this.setState(state => {\n const fms = state.elapsed + 1\n return {\n time: {\n d: Math.floor(fms / (60 * 60 * 100 * 24)),\n h: Math.floor(fms / (60 * 60 * 100)) % 24,\n m: Math.floor(fms / (60 * 100)) % 60,\n s: Math.floor(fms / 100) % 60,\n },\n elapsed: fms,\n }\n })\n }, 10)\n }\n\n goBack = () => {\n const {state} = this.props.location\n if (browser.isWeixin && getParam('code') && getParam('state')) {\n window.history.go(-2)\n }\n if (state.records && state.records.length > 1) {\n window.history.go(-1);\n } else if (state.from && state.from.pathname) {\n location.replace(`${state.from.pathname}${state.from.search}`)\n } else {\n window.location.href = window.location.origin\n }\n }\n\n getQuestions = () => {\n http.get(`${API.home}/sys/get_question`)\n .then(res => {\n const {code, msg, data} = res.data\n if (code === 200) {\n let answer = this.store.session.get('answer') || {}\n if (isEmpty(answer)) {\n data.forEach(item => {\n answer[item.id] = 0\n })\n }\n this.setState({\n questions: data,\n answer,\n recordId: data[0].record_id,\n })\n this.getStartTime(data[0].create_time, data[0].now)\n this.setCounter()\n } else if (code === 23007) {\n this.props.history.replace('/ai-test/scores')\n } else {\n Toast.fail(msg, 2, null, false)\n }\n })\n }\n\n getStartTime = (createTimeStamp, current) => {\n const now = new Date(current * 1000)\n const createTime = new Date(createTimeStamp * 1000)\n this.setState({\n time: {\n d: differenceInDays(now, createTime),\n h: differenceInHours(now, createTime) % 24,\n m: differenceInMinutes(now, createTime) % 60,\n s: differenceInSeconds(now, createTime) % 60,\n },\n elapsed: differenceInMilliseconds(now, createTime) / 10,\n });\n }\n\n selectAnswer = (question, optionId) => {\n this.setState(state => {\n const answer = state.answer\n const activeQuestion = state.activeQuestion + 1\n setTimeout(() => {\n this.setState({\n activeQuestion: activeQuestion >= state.questions.length ? state.questions.length - 1 : activeQuestion,\n });\n }, 200)\n answer[question.id] = optionId\n return {\n answer,\n }\n }, () => {\n const {questions, activeQuestion} = this.state\n if (activeQuestion === questions.length - 1) {\n this.storeData()\n }\n })\n }\n\n storeData = () => {\n const {answer, time, recordId, elapsed} = this.state\n const {history} = this.props\n clearInterval(this.timer)\n this.store.session.setAll({time, answer, recordId, elapsed})\n history.push('/ai-test/submit')\n\n }\n\n render() {\n const {questions, activeQuestion, time, answer} = this.state\n return (\n <div className={'exam'}>\n <header>\n <div className=\"go-back\">\n <i className='iconfont iconiconfront-68' onClick={this.goBack}></i>\n </div>\n <div className=\"time\">\n <i className={'iconfont iconzhong'}></i>\n <span>\n {\n !!time.d && <>{time.d}天</>\n }\n {\n !!time.h && <>{time.h && time.h.toString().padStart(2, '0')}:</>\n }\n {time.m.toString().padStart(2, '0')}:\n {time.s.toString().padStart(2, '0')}\n </span>\n </div>\n <div className=\"count\"\n onClick={this.storeData}>{Object.values(answer).filter(item => item).length}/{questions.length}</div>\n </header>\n <div className=\"banner\">\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/scores/exam-banner.png\" alt=\"\"/>\n </div>\n <div className=\"question-section\">\n {\n !!questions.length &&\n <Question activeIndex={activeQuestion} question={questions[activeQuestion]} selectAnswer={this.selectAnswer}\n answer={answer}></Question>\n }\n </div>\n <Navigation questions={questions} answer={answer} handleClick={(index) => {\n this.setState({\n activeQuestion: index,\n });\n }}/>\n </div>\n );\n }\n}\n\nexport default connect(\n ({user}) => ({user}),\n null,\n)(Exam);","import React, { Component } from 'react';\nimport './index.scss'\nimport { HeaderBar } from \"@common/index\"\nimport storage from 'store2'\nimport { Toast } from \"antd-mobile\";\nimport { http } from \"@/utils\"\nimport classnames from 'classnames'\nimport { Link } from \"react-router-dom\";\nimport { isEmpty } from 'lodash'\n\n\nclass SubmitAnswer extends Component {\n\n store = storage.namespace('aiTestExam')\n timer = null\n\n state = {\n time: this.store.session.get('time') || {d: 0, h: 0, m: 0, s: 0},\n answer: this.store.session.get('answer'),\n recordId: this.store.session.get('recordId'),\n analysis: [],\n results: [],\n elapsed: this.store.session.get('elapsed'),\n }\n\n componentDidMount() {\n if (isEmpty(this.state.answer) || !this.state.recordId) {\n this.props.history.replace('/ai-test')\n this.store.session.remove('submitted')\n }\n if (this.store.session.get('submitted')) {\n this.getAnalysis()\n } else {\n this.setCounter()\n }\n }\n\n componentWillUnmount() {\n clearInterval(this.timer)\n }\n\n\n setCounter = () => {\n this.timer = setInterval(() => {\n this.setState(state => {\n const fms = state.elapsed + 1\n return {\n time: {\n d: Math.floor(fms / (60 * 60 * 100 * 24)),\n h: Math.floor(fms / (60 * 60 * 100)) % 24,\n m: Math.floor(fms / (60 * 100)) % 60,\n s: Math.floor(fms / 100) % 60,\n },\n elapsed: fms,\n }\n })\n }, 10)\n }\n\n\n submit = () => {\n const {answer, recordId} = this.state\n http.post(`${API.home}/sys/submit_answer`, {\n answer: JSON.stringify(answer),\n cost_time: this.state.elapsed * 10,\n record_id: recordId,\n }).then(res => {\n const {code, msg} = res.data\n if (code === 200) {\n this.store.session.set('submitted', true)\n this.store.session.set('elapsed', this.state.elapsed)\n this.store.session.set('time', this.state.time)\n clearInterval(this.timer)\n this.props.history.push('/ai-test/report')\n } else {\n Toast.fail(msg, 2, null, false)\n }\n })\n }\n\n getAnalysis = () => {\n http.post(`${API.home}/sys/get_analysis`, {\n record_id: this.state.recordId,\n }).then(res => {\n const {code, msg, data} = res.data\n if (code === 200) {\n this.setState({\n analysis: data,\n });\n } else {\n Toast.fail(msg, 2, null, false)\n }\n })\n }\n\n render() {\n const {time, answer, analysis, recordId} = this.state\n return (\n <div className={'submit-answer'}>\n <HeaderBar title={'提交试卷'} arrow={true}/>\n <div className=\"content\">\n <div className=\"cost\">用时:\n <span>\n {\n !!time.d && <>{time.d}天</>\n }\n {\n !!time.h && <>{time.h && time.h.toString().padStart(2, '0')}:</>\n }\n {time.m.toString().padStart(2, '0')}:\n {time.s.toString().padStart(2, '0')}\n </span>\n </div>\n {\n analysis.length\n ? <>\n <ul className={'answers'}>\n {\n analysis.map((item, index) => {\n const userSelectIndex = item.options.findIndex(item => item.user_select)\n const rightAnswerIndex = item.options.findIndex(item => item.is_ans)\n return <li key={item.id}\n className={classnames({\n correct: userSelectIndex === rightAnswerIndex,\n wrong: userSelectIndex >= 0 && userSelectIndex !== rightAnswerIndex,\n unselect: userSelectIndex < 0,\n })}>{index + 1}</li>\n })\n }\n </ul>\n {\n !!analysis.length && <div className={'score'}>总分:{analysis[0].score}分</div>\n }\n <Link to={`/ai-test/analysis/${recordId}`}>\n <button>查看解析</button>\n </Link>\n </>\n : <>\n <ul className={'answers'}>\n {\n answer && !!Object.keys(answer).length && Object.keys(answer).map((item, index) => {\n return <li key={item} className={answer[item] ? 'selected' : ''}>{index + 1}</li>\n })\n }\n </ul>\n <button onClick={this.submit}>提交</button>\n </>\n }\n </div>\n </div>\n );\n }\n}\n\nexport default SubmitAnswer;\n","import React, { Component } from 'react';\nimport './index.scss'\nimport { Link } from \"react-router-dom\";\n\n\nclass Recommends extends Component {\n render() {\n const {recommends} = this.props\n return (\n <div className=\"recommends\">\n <div>相关课程</div>\n <ul>\n {\n !!recommends.length && recommends.map(item => {\n return <li key={item.course_id}>\n <Link to={`/detail?id=${item.course_id}`}><img src={item.image_name} alt=\"\"/></Link>\n </li>\n })\n }\n </ul>\n </div>\n );\n }\n}\n\nexport default Recommends;","import React, { Component } from 'react';\nimport './index.scss'\nimport { HeaderBar } from \"@common/index\"\nimport Question from \"@components/ai-test/common/question\"\nimport Navigation from \"@components/ai-test/common/navigation\"\nimport { html, http } from \"@/utils\"\nimport { Toast } from \"antd-mobile\";\nimport Recommends from '@/components/ai-test/common/recommends'\n\n\nclass Analysis extends Component {\n\n state = {\n questions: [],\n activeIndex: 0,\n userSelect: '',\n rightAnswer: '',\n userUnselect: false,\n }\n\n componentDidMount() {\n this.getAnalysis()\n }\n\n getAnalysis = () => {\n http.post(`${API.home}/sys/get_analysis`, {\n record_id: this.props.match.params.recordId,\n }).then(res => {\n const {code, msg, data} = res.data\n if (code === 200) {\n this.setState({\n questions: data,\n }, () => {\n this.getAnswerInfo()\n });\n } else {\n Toast.fail(msg, 2, null, false)\n }\n })\n }\n\n getAnswerInfo = () => {\n const {questions, activeIndex} = this.state\n const question = questions[activeIndex]\n const userAnswerIndex = question.options.findIndex(item => item.user_select)\n const rightAnswerIndex = question.options.findIndex(item => item.is_ans)\n this.setState({\n userSelect: String.fromCharCode(65 + userAnswerIndex),\n rightAnswer: String.fromCharCode(65 + rightAnswerIndex),\n userUnselect: userAnswerIndex < 0,\n });\n }\n\n componentDidUpdate(prevProps, prevState) {\n if (prevState.activeIndex !== this.state.activeIndex) {\n this.getAnswerInfo()\n }\n }\n\n render() {\n const {questions, activeIndex, userSelect, rightAnswer, userUnselect} = this.state\n return (\n <div className={'analysis-container'}>\n <HeaderBar title={'AI水平测试'} arrow={true}/>\n {\n !!questions.length && <Question activeIndex={activeIndex} question={questions[activeIndex]}/>\n }\n <div style={{height: '8px', backgroundColor: '#f5f5f5'}}></div>\n <div className=\"analysis\">\n {\n userUnselect\n ? <div className={'info'}>您未作答</div>\n : <div className=\"info\">\n 您选择的是{userSelect},正确答案是{rightAnswer} 回答{userSelect === rightAnswer ? '正确' : '错误'}\n </div>\n }\n <div className=\"content\">\n <div className=\"head\">\n <i className=\"icon\"></i>\n <span>解析</span>\n </div>\n {\n !!questions.length &&\n <div className=\"analysis-content\" dangerouslySetInnerHTML={html(questions[activeIndex].analysis)}></div>\n }\n </div>\n </div>\n {\n !!questions.length && questions[activeIndex] && questions[activeIndex].commend_course && !!questions[activeIndex].commend_course.length &&\n <Recommends recommends={questions[activeIndex].commend_course}/>\n }\n <Navigation questions={questions} isAnalysis={true} handleClick={(index) => {\n this.setState({\n activeIndex: index,\n });\n }}/>\n </div>\n );\n }\n}\n\nexport default Analysis;","import React, { Component } from 'react';\nimport './index.scss'\nimport { HeaderBar } from \"@common/index\"\nimport Question from \"@components/ai-test/common/question\"\nimport { html, http, browser } from \"@/utils\"\nimport { Toast } from \"antd-mobile\";\nimport { Link } from \"react-router-dom\";\nimport { connect } from \"react-redux\";\nimport Recommends from \"@components/ai-test/common/recommends\"\nimport classnames from 'classnames'\nimport storage from 'store2'\n\n\nclass Assist extends Component {\n\n store = storage.namespace('aiTestAssist')\n\n state = {\n question: this.store.session.get('question'),\n answer: this.store.session.get('answer'),\n result: null,\n rightAnswer: '',\n userAnswer: '',\n }\n\n componentDidMount() {\n if (!this.store.session.get('question')) {\n this.getData()\n }\n }\n\n getData = () => {\n http.get(`${API.home}/sys/aitest/assist`)\n .then(res => {\n const {code, msg, data} = res.data\n if (code === 200) {\n const answer = {\n [data.id]: 0,\n }\n this.store.session.set('question', data)\n this.store.session.set('answer', answer)\n this.setState({\n question: data,\n answer,\n });\n } else {\n Toast.fail(msg, 2, null, false)\n }\n })\n }\n\n selectAnswer = (question, optionId) => {\n this.setState({\n answer: {\n [question.id]: optionId,\n },\n });\n }\n\n submit = () => {\n const {history, user} = this.props\n if (user.hasError) {\n if (browser.isWeixin) {\n window.location.href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=${encodeURIComponent(`${window.location.origin}${location.pathname}?aa=bb`)}&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`\n } else {\n history.push('/passport')\n }\n return\n }\n const {question, answer} = this.state\n if (!answer[question.id]) {\n Toast.info('请选择后进提交', 2, null, false)\n return\n }\n http.post(`${API.home}/sys/aitest/assistSubmit`, {\n code: this.props.match.params.assistCode,\n question_id: question.id,\n answer_id: answer[question.id],\n }).then(res => {\n const {code, msg, data} = res.data\n if (answer[question.id] === data.correct_answer) {\n Toast.info('回答正确', 2, null, false)\n } else {\n Toast.info('回答错误', 2, null, false)\n }\n this.setAnswer(data.correct_answer)\n if (code === 200) {\n this.setState({\n result: data,\n });\n this.store.session.clearAll()\n } else {\n Toast.fail(msg, 2, null, false)\n }\n })\n }\n\n setAnswer = (rightAnswerId) => {\n this.setState(state => {\n let rightAnswer = '', userAnswer = ''\n const question = {\n ...state.question, ...{\n options: state.question.options.map((item, index) => {\n if (item.id === rightAnswerId) {\n item.is_ans = 1\n rightAnswer = String.fromCharCode(65 + index)\n }\n if (item.id === state.answer[state.question.id]) {\n userAnswer = String.fromCharCode(65 + index)\n item.user_select = 1\n }\n return item\n }),\n },\n }\n return {\n question,\n rightAnswer,\n userAnswer,\n }\n });\n }\n\n render() {\n const {question, answer, result, rightAnswer, userAnswer} = this.state\n return (\n <div className={'assist'}>\n <HeaderBar title={'AI水平测试'} arrow={true}/>\n {\n question &&\n <Question question={question} category={'机器学习'} answer={answer} selectAnswer={!result && this.selectAnswer}/>\n }\n <div style={{height: '8px', backgroundColor: '#f5f5f5'}}></div>\n {\n result && <div className=\"content\">\n <div\n className={'info'}>您的选择是{userAnswer},正确答案是{rightAnswer} 回答{userAnswer === rightAnswer ? '正确' : '错误'}</div>\n <div className=\"head\">\n <i className=\"icon\"></i>\n <span>解析</span>\n </div>\n <div className=\"analysis-content\" dangerouslySetInnerHTML={html(result.analysis)}></div>\n </div>\n }\n {\n result && question.commend_course && question.commend_course.length && <>\n <Recommends recommends={question.commend_course}/>\n </>\n }\n\n <div className=\"btns\">\n {\n result && <div className={classnames(['status', {\n end: result.status === 6,\n success: result.status === 1,\n error: result.status === 2 || result.status === 3 || result.status === 4 || result.status === 5,\n }])}>\n {result.desc}\n </div>\n }\n {\n !result && <button className={'submit'} onClick={this.submit}>提交</button>\n }\n {\n result && (result.status === 6\n ? <Link to={'/'} className={'home'}>返回首页</Link>\n : <Link to={'/ai-test/scores'} className={'test'}>我也要测试</Link>)\n }\n </div>\n </div>\n );\n }\n}\n\nexport default connect(\n ({user}) => ({user}),\n null,\n)(Assist)","import React, {Component} from 'react'\nimport {CopyToClipboard} from 'react-copy-to-clipboard'\nimport {browser, http, wxShare,getParam} from '@/utils'\nimport './index.scss'\nimport {Toast} from \"antd-mobile\"\n\n\nclass aiTestHelp extends Component {\n\n constructor(props) {\n super(props)\n this.state = {\n total_num: '',\n dec:'',\n isshowYindao: false\n }\n }\n\n componentDidMount() {\n this.handleFetchInfo()\n this.getAssist()\n }\n\n share = () => {\n wxShare({\n title: '全国AI水平测试开始了,看看你能答对几道题?',\n desc: this.state.dec,\n link: `${API.m}/ai-test/assist/${getParam('shareCode')}`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/share-img.png',\n })\n this.setState({\n isshowYindao: true\n })\n }\n\n copyToSuccess = () => {\n Toast.info('链接已复制,快去发送给好友吧~')\n }\n\n handleFetchInfo = () => {\n http.get(`${API.home}/sys/aitest/invitation`).then(res => {\n const {code, data, msg} = res.data\n if (code === 200) {\n this.setState({\n total_num: data.total_num,\n })\n }\n })\n }\n\n getAssist=()=>{\n http.get(`${API.home}/sys/aitest/assist`).then(res => {\n const {code, data, msg} = res.data\n if (code === 200) {\n this.setState({\n dec: data.ques,\n })\n }\n })\n }\n\n\n render() {\n const {total_num, isshowYindao} = this.state\n return (\n <div className={'ai-test-help'}>\n <div className=\"banner\">\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/text2.png\" alt=\"\"/>\n <span>{total_num}</span>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/text1.png\" alt=\"\"/>\n </div>\n\n <p className={'tip-l'}>分享给好友</p>\n <p className={'tip-s'}>每个好友只能助力1次哦~</p>\n <p className={'tip-m'}>好友答题为你助力,答题正确你将获得</p>\n <p className={'tip-num'}>一次测试机会</p>\n\n {\n !browser.isWeixin &&\n <CopyToClipboard\n text={`${API.m}/ai-test/assist/${getParam('shareCode')}`}\n onCopy={this.copyToSuccess}\n >\n <div className={'share-btn'}>\n 邀请好友助力\n </div>\n </CopyToClipboard>\n }\n {\n browser.isWeixin &&\n <div className={'share-btn'} onClick={this.share}>\n 邀请好友助力\n </div>\n }\n\n {\n isshowYindao &&\n <div className={'share'}>\n <div className=\"content\">\n <p className=\"test\">点击右上角,分享给好友</p>\n <i className=\"iconfont\"></i>\n </div>\n </div>\n }\n </div>\n )\n }\n}\n\n\nexport default aiTestHelp","import React, { Component } from 'react'\nimport { HeaderBar } from '@/common'\nimport { getParam, http } from '@/utils'\nimport './index.scss'\nimport QRCode from 'qrcode'\nimport html2canvas from 'html2canvas'\nimport scoreIconL from '@assets/image/score_icon-l.png'\nimport scoreIconR from '@assets/image/score_icon-r.png'\nimport scoreReportBg from '@assets/image/scoreReport_bg.png'\nimport { connect } from \"react-redux\"\n\n@connect(state => ({\n user: state.user,\n }),\n)\nclass scoreReport extends Component {\n\n constructor(props) {\n super(props)\n this.state = {\n tab: ['当前成绩', '今日最佳', '本月最佳'],\n cutIndex: 0,\n myRankList: '',\n imgUrl: '',\n codeSrc: '',\n avatar_file: '',\n }\n }\n\n componentDidMount() {\n window.onbeforeunload = () => {\n document.documentElement.scrollTop = 0\n document.body.scrollTop = 0\n }\n this.getCodeWe()\n this.handleFetchInfo(0)\n }\n\n\n // shouldComponentUpdate(nextProps, nextState, nextContext) {\n // if (this.props.user.data.avatar !== nextProps.user.data.avatar) {\n // this.getCanvas()\n // return false\n // }\n // return true\n // }\n //\n\n getCanvas() {\n document.documentElement.scrollTop = 0\n document.body.scrollTop = 0\n\n let _this = this\n var canvas2 = document.createElement(\"canvas\")\n let _canvas = document.getElementsByClassName('score-list')[0]\n if (!_canvas) {\n return\n }\n var w = parseInt(window.getComputedStyle(_canvas).width)\n var h = parseInt(window.getComputedStyle(_canvas).height)\n var scale = window.devicePixelRatio\n canvas2.width = w * scale\n canvas2.height = h * scale\n\n var context = canvas2.getContext(\"2d\")\n context.scale(1, 1)\n html2canvas(document.getElementsByClassName('score-list')[0], {canvas: canvas2}).then(function (canvas) {\n //document.body.appendChild(canvas);\n\n let imgUrl = canvas.toDataURL(\"image/png\").replace(\"image/png\", \"image/octet-stream\")\n _this.setState({\n imgUrl: imgUrl,\n })\n })\n }\n\n// 获取二维码\n getCodeWe() {\n let _this = this\n let qrCodeLink = `${API.m}/ai-test`\n return new Promise(resolve => {\n QRCode.toDataURL(qrCodeLink, {}, function (err, url) {\n _this.setState({\n codeSrc: url,\n })\n })\n resolve()\n })\n }\n\n handleFetchInfo = (index) => {\n http.get(`${API.home}/sys/at/user_score/${index}/${getParam('uid') ? getParam('uid') : 0}`).then(res => {\n const {code, data} = res.data\n if (code === 200) {\n this.setState({\n myRankList: data,\n })\n\n let avatar = data.avatar_file\n this.getBase64(avatar)\n setTimeout(() => {\n this.getCanvas()\n }, 500)\n } else if (code === 4030) {\n const {user, history} = this.props\n if (user.hasError) {\n history.push('/passport')\n }\n }\n })\n }\n\n\n getBase64Image = (img) => {\n var canvas = document.createElement(\"canvas\")\n canvas.width = img.width\n canvas.height = img.height\n\n var ctx = canvas.getContext(\"2d\")\n ctx.drawImage(img, 0, 0, img.width, img.height)\n var ext = img.src.substring(img.src.lastIndexOf(\".\") + 1).toLowerCase()\n var dataURL = canvas.toDataURL(\"image/\" + ext)\n return dataURL\n }\n\n getBase64 = (img) => {\n let base64 = null\n let image = new Image()\n let timeStamp = +new Date()\n image.setAttribute('crossOrigin', 'anonymous')\n image.src = img + '?' + timeStamp\n image.onload = () => {\n base64 = this.getBase64Image(image)\n this.setState({\n avatar_file: base64,\n })\n }\n image.onerror = () => {\n console.log('onerror')\n let timeStamp = +new Date()\n this.getBase64(img + '?' + timeStamp)\n }\n }\n\n\n change = (index) => {\n this.setState({\n cutIndex: index,\n })\n this.handleFetchInfo(index)\n }\n\n\n render() {\n const {tab, cutIndex, myRankList, codeSrc, imgUrl, avatar_file} = this.state\n return (\n <div className={'score-content'}>\n <HeaderBar\n title='成绩报告'\n arrow={true}\n home={false}\n />\n <div className={'score-report'}>\n <ul className={'tab-list'}>\n {\n tab.map((item, index) => {\n return (\n <li key={index} className={cutIndex === index ? 'active' : ''}\n onClick={() => this.change(index)}>{item}</li>\n )\n })\n }\n </ul>\n\n <div className=\"score-list-box\">\n\n <div className={'score-list'} style={{backgroundImage: `url(${scoreReportBg})`}}>\n <div className=\"title\">\n <img src={scoreIconL} alt=\"\"/>\n 成绩报告\n <img src={scoreIconR} alt=\"\"/>\n </div>\n\n <table border=\"0\" cellSpacing=\"0\" cellPadding=\"0\">\n <thead>\n <tr>\n <td>分数</td>\n <td>用时</td>\n <td>{cutIndex === 0 && '最终'}排名</td>\n </tr>\n </thead>\n <tbody>\n {\n myRankList.r_id !== 0 &&\n <tr className={'has'}>\n <td>{myRankList.score}分</td>\n <td>{myRankList.cost_time}</td>\n <td className={'rank'}>{myRankList.rank}</td>\n </tr>\n }\n {\n myRankList.r_id == 0 &&\n <tr>\n <td>-</td>\n <td>-</td>\n <td>-</td>\n </tr>\n }\n\n </tbody>\n </table>\n\n <div className=\"comment text-overflow-4\">\n <img className={'avatar_file'} src={avatar_file} alt=\"\"/>\n <span dangerouslySetInnerHTML={{__html: myRankList.title}}></span>\n </div>\n\n <div className=\"code\">\n <img src={codeSrc} alt=\"\"/>\n <p>AI水平测试</p>\n </div>\n </div>\n\n\n <img className={'imgUrl'} src={imgUrl} alt=\"\"/>\n </div>\n\n <div className=\"tip\">长按图片分享给好友,或保存后分享到朋友圈</div>\n\n </div>\n </div>\n )\n }\n}\n\n\nexport default scoreReport","import React, { Component } from 'react';\nimport './index.scss'\nimport { Switch, Route } from 'react-router-dom'\nimport Scores from './scores'\nimport Exam from './exam'\nimport SubmitAnswer from \"@components/ai-test/submit-answer\"\nimport Analysis from \"@components/ai-test/analysis\"\nimport Assist from \"@components/ai-test/assist\"\nimport Help from '@components/ai-test/share'\nimport Report from '@components/ai-test/report'\n\nclass AiTest extends Component {\n\n render() {\n const {match} = this.props\n return (\n <Switch>\n <Route path={`${match.path}/exam`} render={props => <Exam {...props}/>}/>\n <Route path={`${match.path}/submit`} render={props => <SubmitAnswer {...props}/>}/>\n <Route path={`${match.path}/analysis/:recordId`} render={props => <Analysis {...props}/>}/>\n <Route path={`${match.path}/assist/:assistCode`} render={props => <Assist {...props}/>}/>\n <Route path={`${match.path}/share`} render={props => <Help {...props}/>}/>\n <Route path={`${match.path}/report`} render={props => <Report {...props}/>}/>\n <Route render={(props) => <Scores {...props}/>}/>\n </Switch>\n );\n }\n}\n\nexport default AiTest;"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{1046:function(e,t,a){},1047:function(e,t,a){},1048:function(e,t,a){},1049:function(e,t,a){},1050:function(e,t,a){},1051:function(e,t,a){},1052:function(e,t,a){},1053:function(e,t,a){},1054:function(e,t,a){},1055:function(e,t,a){},1056:function(e,t,a){},1057:function(e,t,a){},1166:function(e,t,a){"use strict";a.r(t);var n,s=a(3),r=a(5),c=a(4),i=a(6),o=a(7),l=a(0),m=a.n(l),u=(a(1057),a(2)),d=a(525),p=a(483),h=a(46),f=a(20),_=Object(f.b)(function(e){return{user:e.user}})(n=function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(a=Object(c.a)(this,(e=Object(i.a)(t)).call.apply(e,[this].concat(r)))).state={list:[],activityStage:1},a.fetchCourse=function(){u.e.get("".concat(API.home,"/activity/wish_course")).then(function(e){var t=e.data,n=t.code,s=t.data;200===n?a.setState({list:"{}"===JSON.stringify(s)?[]:s}):4030===n&&a.props.history.push("/passport/login")})},a.getStage=function(){u.e.get("".concat(API.home,"/activity/stage")).then(function(e){var t=e.data,n=t.code,s=t.data;if(200===n){if(0===Number(s.activity_stage))return void a.props.history.push("/");a.setState({activityStage:s.activity_stage})}})},a.toCourse=function(e){var t=a.props.history;Object(u.c)("version")?Object(u.a)("toCourse",e):t.push("/detail?id=".concat(e))},a.toInviteFriends=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=a.props.history;if(Object(u.c)("version")){var s={title:"\u3010\u4ec5\u5269".concat(t.number,"\u4e2a\u540d\u989d\u3011\u6211").concat(t.price,"\u5143\u62fc\u4e86\u300a").concat(t.course_title,"\u300b"),desc:t.course_title,link:"".concat(API.m,"/togroup?id=").concat(e),imgUrl:t.image_name};Object(u.a)("toShare",s)}else n.push("/togroup?id=".concat(e))},a.toContinueBargain=function(e,t,n,s){var r=a.props.history;if(Object(u.c)("version")){var c={title:"\u6211\u53d1\u73b0\u4e00\u95e8\u597d\u8bfe\uff0c\u5feb\u6765\u5e2e\u6211\u780d\u4ef7\u5427\uff01",desc:"\u6211\u5df2\u7ecf\u780d\u4e86".concat(t,"\u5143\uff0c\u770b\u770b\u4f60\u80fd\u780d\u591a\u5c11"),link:"".concat(API.m,"/bargain-middle-page?id=").concat(e,"&bargaincode=").concat(n,"&is_originator=1"),imgUrl:s};Object(u.a)("toShare",c)}else r.push("/bargain-middle-page?id=".concat(e,"&bargaincode=").concat(n,"&is_originator=1"))},a.toCart=function(e){var t=a.props.history;u.e.post("".concat(API.home,"/m/cart/add"),{course_id:e}).then(function(e){var n=e.data,s=n.code,r=n.msg;200===s||15001===s?Object(u.c)("version")?Object(u.a)("toShoppingCart"):t.push("/shopcart"):4030===s||4040===s?a.toLogin():Toast.info(r,2)})},a.bargainToOrder=function(e){console.log(a.props);var t=a.props,n=t.history;t.user.hasError?a.toLogin():Object(u.c)("version")?Object(u.a)("toPay",e):u.e.get("".concat(API["base-api"],"/m/cart/addtopreorder/[").concat(e,"]")).then(function(t){var a=t.data,s=a.errno,r=a.msg;0===s?n.push("/order?id=[".concat(e,"]"),{bargain:1}):Toast.info(r,2)})},a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchCourse(),this.getStage()}},{key:"componentWillUpdate",value:function(){this.state.activityStage;document.title="\u4e03\u6708\u5728\u7ebf\u5e74\u7ec8\u5927\u56de\u9988\uff0c\u4eba\u6c14\u597d\u8bfe\u514d\u8d39\u5b66\uff0c\u7cbe\u54c1\u8bfe\u7a0b1\u5206\u62a2\uff01"}},{key:"render",value:function(){var e=this,t=this.state,a=t.list,n=t.activityStage;return console.log(n),m.a.createElement("div",{className:"year-wish"},m.a.createElement("div",{className:"banner"},m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/xy_banner_bj.png",alt:""})),a.length>0?m.a.createElement(m.a.Fragment,null,1!==n&&m.a.createElement(m.a.Fragment,null,m.a.createElement(d.a,null,m.a.createElement("div",{className:"groupcourse course-box"},a.map(function(t){return m.a.createElement(p.a,{image:t.image_name,key:t.course_id,id:t.course_id,time:2===t.type||7===t.type?t.end_time:"",toCourse:e.toCourse},m.a.createElement("div",{className:"coupon-course__footer"},(4===t.type||8===t.type)&&m.a.createElement("div",{className:"bargain-price"},"\u5df2\u780d",t.already_bargain,"\u5143"),0===t.type&&m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"type"},m.a.createElement("span",{className:"tag","data-color":"green"},"\u6d3b\u52a8\u4ef7")),m.a.createElement("div",{className:"price price-group"},m.a.createElement("span",{className:"price-label"},"\xa5"),m.a.createElement("span",{className:"new-price"},t.original_price),m.a.createElement("span",{className:"old-price"},m.a.createElement("s",null,"\xa5",t.original_price)))),(1===t.type||2===t.type)&&m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"type"},m.a.createElement("span",{className:"tag","data-color":"green"},"\u62fc\u56e2\u4ef7")),m.a.createElement("div",{className:"price price-group"},m.a.createElement("span",{className:"price-label"},"\xa5"),m.a.createElement("span",{className:"new-price"},t.pdd_price),m.a.createElement("span",{className:"old-price"},m.a.createElement("s",null,"\xa5",t.original_price)))),(5===t.type||7===t.type)&&m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"type"},m.a.createElement("span",{className:"tag","data-color":"green"},"\u62fc\u56e2\u4ef7")),m.a.createElement("div",{className:"price price-group"},m.a.createElement("span",{className:"price-label"},"\xa5"),m.a.createElement("span",{className:"new-price"},"0.01"),m.a.createElement("span",{className:"old-price"},m.a.createElement("s",null,"\xa5",t.original_price)))),(3===t.type||4===t.type||8===t.type)&&m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"type"},m.a.createElement("span",{className:"tag","data-color":"green"},"\u597d\u53cb\u5e2e\u5e2e\u780d")),m.a.createElement("div",{className:"price price-group"},m.a.createElement("span",{className:"price-label"},"\u5230\u624b\u6700\u4f4e\uff1a\xa5"),m.a.createElement("span",{className:"new-price"},t.low_prize),m.a.createElement("span",{className:"old-price"},m.a.createElement("s",null,"\xa5",t.original_price)))),6===t.type&&m.a.createElement("p",{className:"course-title text-overflow-1"},t.course_title),m.a.createElement("div",{className:"status","data-layout":4===t.type?"row":""},0===t.type&&m.a.createElement("a",{onClick:function(){return e.toCart(t.course_id)},className:"status-btn to-group"},"\u7acb\u5373\u8d2d\u4e70"),1===t.type&&m.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"status-btn to-group"},"\u7acb\u5373\u53c2\u4e0e\u62fc\u56e2"),(2===t.type||7===t.type)&&m.a.createElement("a",{onClick:function(){return e.toInviteFriends(t.order_id,{number:t.number,course_title:t.course_title,image_name:t.image_name,price:2===t.type?t.pdd_price:.01})},className:"status-btn to-group","data-status":"done"},"\u5df2\u53c2\u56e2\uff0c\u9080\u8bf7\u597d\u53cb\u53c2\u56e2"),3===t.type&&m.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"status-btn to-group"},"\u6211\u8981\u780d\u4ef7"),4===t.type&&m.a.createElement(m.a.Fragment,null,m.a.createElement("a",{onClick:function(){return e.toContinueBargain(t.course_id,t.already_bargain,t.bargain_code,t.image_name)},className:"status-btn to-group"},"\u7ee7\u7eed\u780d\u4ef7"),m.a.createElement("a",{onClick:function(){return e.bargainToOrder(t.course_id)},className:"status-btn to-group"},"\u652f\u4ed8",t.actual_payment,"\u5143")),8===t.type&&m.a.createElement("a",{onClick:function(){return e.bargainToOrder(t.course_id)},className:"status-btn to-group"},"\u652f\u4ed8",t.actual_payment,"\u5143"),5===t.type&&m.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"status-btn to-group"},"\u9a6c\u4e0a\u62a2>>"),6===t.type&&m.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-group","data-status":"study"},"\u5f00\u59cb\u5b66\u4e60"))))})))),1===n&&m.a.createElement(m.a.Fragment,null,m.a.createElement(d.a,null,m.a.createElement("div",{className:"groupcourse course-box"},a.map(function(t){return m.a.createElement(p.a,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},4==t.type&&1!=t.is_buy&&m.a.createElement("div",{className:"group-num"},"\u9650\u91cf300\u4e2a"),m.a.createElement("div",{className:"coupon-course__footer"},1==t.is_buy&&m.a.createElement(m.a.Fragment,null,m.a.createElement("p",{className:"course-title text-overflow-1"},t.course_title),m.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-study"},"\u5f00\u59cb\u5b66\u4e60")),0==t.is_buy&&m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"type"},0==t.type&&m.a.createElement(m.a.Fragment,null,m.a.createElement("span",{className:"tag"},"\u6d3b\u52a8\u4ef7"),m.a.createElement("span",{className:"time"},"12.23\u5f00\u59cb")),(1==t.type||4==t.type)&&m.a.createElement(m.a.Fragment,null,m.a.createElement("span",{className:"tag"},"\u62fc\u56e2\u4ef7"),m.a.createElement("span",{className:"time"},"12.23\u5f00\u56e2")),2==t.type&&m.a.createElement(m.a.Fragment,null,m.a.createElement("span",{className:"tag"},"\u597d\u53cb\u5e2e\u5e2e\u780d"),m.a.createElement("span",{className:"time"},"12.23\u5f00\u780d"))),m.a.createElement("div",{className:"price"},2==t.type?"\u5230\u624b\u6700\u4f4e:\xa5":"\xa5",m.a.createElement("span",{className:"new-price"},4==t.type?"0.01":t.price2),m.a.createElement("span",{className:"old-price"},2==t.type?"":"\u73b0\u4ef7\uff1a",m.a.createElement("s",null,"\xa5",t.price1))),m.a.createElement("div",{className:"status"},m.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"status-btn to-buy"},"\u76f4\u63a5\u8d2d\u4e70"),1==t.is_join&&m.a.createElement("a",{className:"status-btn add-wish"},m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png",alt:""}),"\u5df2\u52a0\u5fc3\u613f\u5355"),0==t.is_join&&m.a.createElement("a",{onClick:function(){return e.addWishList(t.course_id)},className:"status-btn add-wish-success"},m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png",alt:""}),"\u52a0\u5165\u5fc3\u613f\u5355")))))}))))):m.a.createElement("div",{className:"notData"},m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/icon-empty.png",alt:""}),1==n?m.a.createElement("p",null,"\u4f60\u7684\u5fc3\u613f\u5355\u76ee\u524d\u7a7a\u7a7a\u5982\u4e5f\uff0c",m.a.createElement("br",null),"\u5feb\u53bb\u6311\u9009\u66f4\u591a\u4f18\u60e0\u8bfe\u7a0b\u5427\uff5e"):m.a.createElement("p",null,"\u4f60\u7684\u5fc3\u613f\u5355\u6ca1\u6709\u8bfe\u7a0b\u54e6\uff0c",m.a.createElement("br",null),"\u611f\u5174\u8da3\u7684\u8bfe\u7a0b\u53ef\u5728\u53cc\u65e6\u4e3b\u4f1a\u573a\u76f4\u63a5\u8d2d\u4e70\uff01")))}}]),t}(l.Component))||n;t.default=Object(h.g)(_)},1184:function(e,t,a){"use strict";a.r(t);a(37);var n,s,r=a(10),c=a.n(r),i=a(3),o=a(5),l=a(4),m=a(6),u=a(7),d=a(0),p=a.n(d),h=(a(1046),a(1047),a(46)),f=a(2),_=a(525),v=a(595),b=a(20),y=(a(23),a(434)),E=a.n(y),g=Object(b.b)(function(e){return{user:e.user}})(n=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(l.a)(this,Object(m.a)(t).call(this,e))).getLiveInfo=function(){f.e.get("".concat(API.home,"/activity/get_live_info")).then(function(e){var t=e.data,n=t.code,s=t.data,r=t.msg;200===n?a.setState({list:s}):c.a.info(r)})},a.subscribe=function(e){var t=a.props.user,n=t.hasError;t.data;n?a.toLogin():f.e.get("".concat(API["base-api"],"/sys/createLiveQrcode/").concat(e)).then(function(e){var t=e.data,n=t.errno,s=t.data,r=t.msg;200===n?E.a.toDataURL(s.url,function(e,t){a.setState({showMark:!0,subUrl:t,QRCodeUrl:s.url})}):c.a.info(r)})},a.tip=function(){c.a.info("\u4f60\u5df2\u9884\u7ea6\u8be5\u76f4\u64ad")},a.toLivingRoom=function(e){var t=a.props.user,n=t.hasError;t.data;n?a.toLogin():window.location.href="".concat(window.location.protocol,"//www.julyedu.com/live/m_room/").concat(e)},a.checkVideo=function(e){var t=a.props.user,n=t.hasError;t.data;if(n)a.toLogin();else{var s=e.split("/")[0];window.location.href="/play/video?id=".concat(s)}},a.closePopup=function(){a.setState({showMark:!1}),a.getLiveInfo()},a.saveImage=function(){var e=Object(f.c)("version");e="string"===typeof e?e.replace(".","").replace(".","").slice(0,3):"";var t=a.state.QRCodeUrl;e&&parseInt(e)<451?c.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",2,null,!1):Object(f.a)("generateQRCode",t)},a.toLogin=function(){Object(f.c)("version")?Object(f.a)("toLogin"):a.props.history.push("/passport/login")},a.state={list:[],showMark:!1,subUrl:"",QRCodeUrl:""},a}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.getLiveInfo()}},{key:"shouldComponentUpdate",value:function(e,t,a){return this.props.isAppUpdate===e.isAppUpdate||(this.getLiveInfo(),!1)}},{key:"render",value:function(){var e=this,t=this.state,a=t.list,n=t.showMark,s=t.subUrl;return p.a.createElement("div",{className:"live__container"},n&&p.a.createElement(v.a,{top:50,closePopup:this.closePopup,mark:!0},p.a.createElement("div",{className:"sub__code_container"},p.a.createElement("p",{className:"sub__title"},"\u626b\u7801\u5173\u6ce8\u201c\u4e03\u6708\u5728\u7ebf\u201d\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6"),p.a.createElement("img",{className:"sub__qr_code",id:"live-qr-code",src:s,alt:""}),f.b.isAndroidApp?p.a.createElement("button",{className:"save-image",onClick:this.saveImage},"\u4fdd\u5b58\u4e8c\u7ef4\u7801"):null)),p.a.createElement(_.a,{title:"\u201c\u85aa\u201d\u5e74\u597d\u8bfe\u514d\u8d39\u5b66",id:"year-live"},p.a.createElement("ul",{className:"live__list"},a.length&&a.map(function(t,a){return p.a.createElement("li",{key:a,className:"live_room_item"},p.a.createElement("img",{className:"user__avatar",src:t.avatar,alt:""}),p.a.createElement("div",{className:"live__info"},p.a.createElement("div",{className:"theme"},p.a.createElement("span",null,"\u4e3b\u9898\uff1a"),p.a.createElement("p",null,t.title)),p.a.createElement("div",{className:"info__item"},p.a.createElement("span",null,"\u8bb2\u5e08\uff1a"),p.a.createElement("p",null,t.teacher)),""!=t.transcribe_url&&p.a.createElement("span",{onClick:function(){return e.checkVideo(t.transcribe_url)},className:"order__btn check__video"},"\u70b9\u51fb\u67e5\u770b")))}))))}}]),t}(d.Component))||n,N=Object(h.g)(g),j=a(662),k=(a(1048),function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(l.a)(this,Object(m.a)(t).call(this,e))).fetchRankInfo=function(){f.e.get("".concat(API.home,"/sys/treasure/ranking")).then(function(e){var t=e.data,n=t.code,s=t.data;200===n&&"{}"!==JSON.stringify(s)&&(s.length>5?a.setState({rank:s.filter(function(e,t){return t<5}),rankList:s,isMore:!0}):a.setState({rank:s,rankList:s,isMore:!1}))})},a.switchMoreRank=function(){var e=a.state,t=e.rankList;e.isMore?a.setState({rank:t,isMore:!1}):a.setState({rank:t.filter(function(e,t){return t<5}),isMore:!0})},a.handleToVip=function(e){var t=a.props.history;e&&(Object(f.c)("version")?Object(f.a)("toCourse",e):t.push("/detail?id=".concat(e)))},a.state={rank:[],rankList:[],isMore:!1},a}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.fetchRankInfo()}},{key:"render",value:function(){var e=this,t=this.state,a=t.rank,n=t.isMore;return p.a.createElement(p.a.Fragment,null,0!==a.length&&p.a.createElement("div",{"data-skip":"rank"},p.a.createElement("div",{className:"rank-title"},p.a.createElement("i",{className:"rank-title__decorate"}),p.a.createElement("h2",{className:"rank-title__txt"},"\u5b9d\u7bb1\u8fbe\u4eba\u699c"),p.a.createElement("i",{className:"rank-title__decorate"})),p.a.createElement("p",{className:"rank-desc"},"\u5b9d\u7bb1\u6570\u91cf\u524d50\u540d\u53ef\u989d\u5916\u83b7\u5f97\u4e00\u4efd\u5956\u54c1\uff0c\u6570\u91cf\u76f8\u540c\u7684\u7528\u65f6\u77ed\u8005\u6392\u540d\u5728\u524d"),p.a.createElement("dl",{className:"rank-header"},p.a.createElement("dd",{className:"rank-column"},"\u6392\u540d"),p.a.createElement("dd",{className:"rank-column"},"\u7528\u6237"),p.a.createElement("dd",{className:"rank-column"},"\u5b9d\u7bb1\u6570\u91cf"),p.a.createElement("dd",{className:"rank-column"},"\u5956\u54c1")),p.a.createElement("div",{className:"rank-body"},a.map(function(t,a){return p.a.createElement("dl",{className:"rank-item",key:a},p.a.createElement("dd",{className:"rank-column"},a<=2?p.a.createElement("span",{className:"rank-column__number","data-num":a}):p.a.createElement("span",null,a+1)),p.a.createElement("dd",{className:"rank-column"},p.a.createElement("span",{className:"rank-column__name"},t.user_name)),p.a.createElement("dd",{className:"rank-column"},p.a.createElement("span",null,t.num)),p.a.createElement("dd",{className:"rank-column"},t.url?p.a.createElement("a",{className:"rank-column__txt",onClick:function(){return e.handleToVip(t.url)}},t.prize_name):p.a.createElement("span",{className:"rank-column__txt"},t.prize_name)))}),p.a.createElement("div",{className:"rank-more",onClick:this.switchMoreRank},p.a.createElement("span",{className:"rank-more__txt"},n?"\u5c55\u5f00":"\u6536\u8d77"),p.a.createElement("i",{className:"rank-more__icon","data-more":n})))))}}]),t}(d.Component)),O=(a(1049),a(24)),C=a(35),I=a.n(C),w=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(l.a)(this,Object(m.a)(t).call(this,e))).getTeamInfo=function(){f.e.get("".concat(API.home,"/sys/treasure/teamInfo")).then(function(e){var t=e.data,n=t.code,s=t.data,r=t.msg;if(200===n){var i=s.prize_info,o=s.is_my_team,l=s.info,m=s.member,u=s.removable_data,d=s.my_team;a.setState({prize_info:i,is_my_team:o,info:l,member:a.fillTeam(m,o),removable_data:u,my_team:d});var p=null;l.removable>0&&(p=u[0].id),a.props.getRemovable(l.removable,p)}else c.a.info(r)})},a.toYearTreasure=function(e){if(a.props.user.hasError)a.toLogin();else{var t="";if(e){var n=a.state,s=n.removable_data;if(n.info.removable>0){var r=s[0];t="?id=".concat(r.id)}}Object(f.c)("version")?a.props.history.push("/year/yearTreasure".concat(t,"?version=").concat(Object(f.c)("version"))):a.props.history.push("/year/yearTreasure".concat(t))}},a.toLogin=function(){Object(f.c)("version")?Object(f.a)("toLogin"):a.props.history.push("/passport/login")},a.createTeam=function(){if(a.props.user.hasError)a.toLogin();else{sessionStorage.setItem("showShareTip","1");var e=a.state,t=e.is_my_team,n=e.my_team.treasure_code;t?Object(f.c)("version")?window.location.assign("https://h5.julyedu.com/activity/newyear-2019/landing?origin=1&treasure_code="+n+"&version="+Object(f.c)("version")):window.location.assign("https://h5.julyedu.com/activity/newyear-2019/landing?origin=1&treasure_code="+n):f.e.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,a=t.code,n=t.data,s=t.msg;if(200===a){var r=n.treasure_code;Object(f.c)("version")?window.location.assign("https://h5.julyedu.com/activity/newyear-2019/landing?origin=1&treasure_code="+r+"&version="+Object(f.c)("version")):window.location.assign("https://h5.julyedu.com/activity/newyear-2019/landing?origin=1&treasure_code="+r)}else c.a.info(s)})}},a.fillTeam=function(e,t){var n=e.length;if(a.props.user.hasError)for(var s=0;s<5-n;s++)e.push({head_img:"",user_name:"",nobody:!0});else if(0!==n||t)for(var r=0;r<5-n;r++)e.push({head_img:"",user_name:"",nobody:!0});else{e.push({head_img:I.a.get("avatar_file"),user_name:I.a.get("user_name")});for(var c=0;c<4;c++)e.push({head_img:"",user_name:"",nobody:!0})}return e},a.state={is_my_team:!1,prize_info:[],info:{removable:0,total:0},member:[],removable_data:[],my_team:{}},a}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.getTeamInfo()}},{key:"shouldComponentUpdate",value:function(e,t,a){return this.props.isAppUpdate===e.isAppUpdate||(this.getTeamInfo(),!1)}},{key:"render",value:function(){var e=this,t=this.state,a=t.prize_info,n=t.is_my_team,s=t.info,r=s.removable,c=s.total,i=t.member,o="",l=0;a.length>0&&(o=a[0].name,l=a[0].stage_no);var m="";return m=0===c?"\u6211\u7684\u5b9d\u7bb1":0===r?"\u5171".concat(c,"\u4e2a\u5b9d\u7bb1"):"\u5171".concat(c,"\u4e2a\u5b9d\u7bb1/").concat(r,"\u4e2a\u672a\u5f00"),p.a.createElement("div",{className:"team_info__container"},p.a.createElement("div",{className:"team__member"},p.a.createElement("ul",{className:"member__list"},i&&i.length>0&&i.map(function(e,t){return p.a.createElement("li",{key:t,className:"member__item"},p.a.createElement("div",{className:"avatar__container"},e.nobody?p.a.createElement("img",{className:"head__image",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png",alt:""}):p.a.createElement("img",{className:"head__image",src:e.head_img,alt:""}),0===t?p.a.createElement("img",{className:"caption__flag",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/caption.png",alt:""}):null,p.a.createElement("div",{className:"shadow"})),p.a.createElement("div",{className:"member__join ".concat(e.nobody?"":"join")}))})),p.a.createElement("div",{className:"box__number"},p.a.createElement("img",{onClick:function(){return e.toYearTreasure(!0)},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png",alt:""}),p.a.createElement("p",{onClick:function(){return e.toYearTreasure(!1)},className:"box__text"},m),p.a.createElement("img",{className:"position__arrow",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/arrow_jinzhan.png",alt:""}),r>0&&p.a.createElement("div",{className:"position__number"},r))),p.a.createElement("div",{onClick:this.createTeam,className:"invite__btn"},n?"\u7ee7\u7eed\u7ec4\u961f":"\u7ec4\u961f\u5f00\u5b9d\u7bb1"),l>0&&o&&p.a.createElement("p",{className:"stage_prize"},"\u7b2c".concat(l,"\u4e2a\u5b9d\u7bb1\u5fc5\u4e2d").concat(o)))}}]),t}(d.Component),T=Object(O.d)(Object(b.b)(function(e){return{user:e.user}},null),h.g)(w),S=a(593),A=a(594),P=function(e){function t(e){return Object(i.a)(this,t),Object(l.a)(this,Object(m.a)(t).call(this,e))}return Object(u.a)(t,e),Object(o.a)(t,[{key:"render",value:function(){return p.a.createElement(_.a,{id:"year-treasure",title:"\u7ec4\u961f\u5f00\u5b9d\u7bb1"},p.a.createElement("div",{style:{textAlign:"center",fontSize:"12px",color:"#FFDC1E",marginTop:"10px"}},"\u9080\u8bf7\u597d\u53cb\u7ec4\u961f\u4e00\u8d77\u5f00\u5b9d\u7bb1\uff0c\u6ee15\u4eba\u540e\u5c06\u968f\u673a\u83b7\u5f97\u4ee5\u4e0b\u5956\u54c1~"),p.a.createElement(S.a,{showSystemNotices:!0}),p.a.createElement(A.a,null),p.a.createElement(T,{isAppUpdate:this.props.isAppUpdate,getRemovable:this.props.getRemovable}),p.a.createElement(k,{history:this.props.history}))}}]),t}(d.Component),z=Object(h.g)(P),B=a(17),M=a.n(B),F=(a(1050),function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(l.a)(this,Object(m.a)(t).call(this,e))).initNav=function(e,t){var n=a.state.navs,s=a.state.navs;0===e&&(s=n.filter(function(e){return"year-treasure"!==e.id})),3===t&&(s=s.filter(function(e){return"year-free"!==e.id})),a.setState({formatNavs:s})},a.calcNavActive=function(){var e=a.state.formatNavs,t=a.props.id,n=document.querySelector("#".concat(t));setTimeout(function(){var t=window.scrollY,s=e.length-1;for(a.setState({isFixed:t>=n.offsetHeight});s>-1;s--){var r=document.querySelector("#".concat(e[s].id));if(r&&t+200>=r.offsetTop){a.setState({curIndex:s});break}}},100)},a.selectToNav=function(e){var t=a.state.formatNavs,n="#".concat(t[e].id),s=document.querySelector(n);s&&(a.setState({curIndex:e}),window.scrollTo({top:s.offsetTop,left:0}))},a.state={isFixed:!1,curIndex:0,formatNavs:[],navs:[{id:"year-live",name:"\u597d\u8bfe\u514d\u8d39\u5b66"},{id:"year-treasure",name:"\u7ec4\u961f\u5f00\u5b9d\u7bb1"},{id:"year-wuhan",name:"\u9a70\u63f4\u6b66\u6c49"},{id:"year-course",name:"\u91cd\u78c5\u597d\u8bfe"},{id:"year-group",name:"1\u5206\u62fc\u56e2"},{id:"year-discount",name:"\u6284\u5e95\u4e13\u533a"}]},a}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.calcNavActive)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.calcNavActive)}},{key:"componentWillReceiveProps",value:function(e){this.initNav(e.treasure_stage,e.activeStage)}},{key:"render",value:function(){var e=this,t=this.state,a=t.isFixed,n=t.curIndex,s=t.formatNavs;return p.a.createElement("div",{className:M()("treasure-nav",{fixed:a}),"data-skip":"nav"},s.map(function(t,a){return p.a.createElement("a",{href:"#".concat(t.id),className:M()("treasure-nav__item",{active:a===n}),key:t.id,onClick:function(){return e.selectToNav(a)}},t.name)}))}}]),t}(d.Component)),L=a(25),U=a(419);a.d(t,"default",function(){return x});var x=Object(b.b)(function(e){return{user:e.user}},{setCurrentUser:L.g,startFetchUser:L.h})(s=function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,s=new Array(n),r=0;r<n;r++)s[r]=arguments[r];return(a=Object(l.a)(this,(e=Object(m.a)(t)).call.apply(e,[this].concat(s)))).state={removable:0,currentOpenId:0,treasure_stage:0,activity_stage:0,userInfoList:[],userInfo:{},isAppUpdate:!1,showMark:!1,banner:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/new-year/m-banner.png"},a.loginInfo=function(e){a.setState({userInfoList:e},function(){a.state.userInfoList.length&&(a.props.startFetchUser(),a.appLogin())})},a.appLogin=function(){var e=Object(U.a)(new Date,90);a.state.userInfoList.map(function(t,a){I.a.set("token",t.token,{expires:e,path:"/",domain:".julyedu.com"}),I.a.set("plat",t.plat,{expires:e,path:"/",domain:".julyedu.com"}),I.a.set("uid",t.uid,{expires:e,path:"/",domain:".julyedu.com"}),I.a.set("uname",t.uname,{expires:e,path:"/",domain:".julyedu.com"}),I.a.set("avatar_file",t.avatar_file,{expires:e,path:"/",domain:".julyedu.com"})}),I.a.get("token")&&I.a.get("uid")&&a.setState({isAppUpdate:!0}),a.props.setCurrentUser(a.transformUser(a.state.userInfoList))},a.transformUser=function(e){var t;return e.map(function(e,a){t={hasError:!1,data:{username:e.uname,avatar:e.avatar_file,token:e.token,uid:e.uid},isFetching:!1}}),t},a.closePopup=function(){a.setState({showMark:!1})},a.getRemovable=function(e,t){},a.getStage=function(){f.e.get("".concat(API.home,"/activity/stage")).then(function(e){var t=e.data,n=t.code,s=t.data,r=t.msg;if(200===n){if(0===Number(s.activity_stage))return void a.props.history.push("/");a.setState({activity_stage:s.activity_stage,treasure_stage:s.treasure_stage}),3==s.activity_stage?a.setState({banner:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_banner_fc.png"}):a.setState({banner:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/new-year/m-banner.png"})}else c.a.info(r,2)})},a}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){var e=this;window.loginInfo=function(t){e.loginInfo(t)},e.getStage(),document.title="AI\u5145\u7535\u5b63\uff0c\u5f00\u5b9d\u7bb1\u514d\u8d39\u5b66AI\u7206\u6b3e\u597d\u8bfe\uff0c300\u672c\u7a0b\u5e8f\u5458\u5fc5\u5907\u7eb8\u8d28\u4e66\u514d\u8d39\u9001\uff0cAI\u8fdb\u9636\u5b9d\u5178\u6765\u5c31\u9001\uff01-\u4e03\u6708\u5728\u7ebf"}},{key:"render",value:function(){var e=this.state,t=e.banner,a=e.activity_stage,n=e.treasure_stage;return p.a.createElement("div",{className:"year-index"},p.a.createElement("div",{className:"banner-treasure"},p.a.createElement("div",{id:"banner",className:"banner-treasure__header",style:{backgroundImage:"url(".concat(t,")")}}),p.a.createElement("div",{className:"banner-treasure__nav"},p.a.createElement(F,{id:"banner",treasure_stage:n,activeStage:a})),p.a.createElement("div",{className:"banner-treasure__decorate"})),p.a.createElement(N,{isAppUpdate:this.state.isAppUpdate}),1===n&&p.a.createElement(z,{isAppUpdate:this.state.isAppUpdate,getRemovable:this.getRemovable}),p.a.createElement(j.a,{stage:a,treasureStage:n,isAppUpdate:this.state.isAppUpdate}),this.state.showMark&&p.a.createElement(v.a,{top:50,closePopup:this.closePopup,mark:!0},p.a.createElement("div",{className:"sub__code_container"},p.a.createElement("p",{className:"sub__title"},"\u63d0\u9192\u670d\u52a1"),p.a.createElement("p",{className:"sub__tip"},"\u6709\u597d\u53cb\u52a0\u5165\u961f\u4f0d\u540e\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~"),p.a.createElement("img",{className:"sub__qr_code",id:"live-qr-code",src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg",alt:""}),p.a.createElement("p",{className:"sub__tip"},"\u957f\u6309\u8bc6\u522b/\u626b\u7801 \u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6"))),this.state.showMark&&p.a.createElement(v.a,{top:50,closePopup:this.closePopup,mark:!0},p.a.createElement("div",{className:"sub__code_container"},p.a.createElement("p",{className:"sub__title"},"\u7ec4\u961f\u5f00\u5b9d\u7bb1\u6d3b\u52a8\u89c4\u5219"),p.a.createElement("p",{className:"sub__rule"},"1. \u6d3b\u52a8\u671f\u95f4\uff0812\u670818\u65e5-12\u670831\u65e5\uff09\u53ef\u968f\u65f6\u53c2\u4e0e\u5f00\u5b9d\u7bb1\uff1b",p.a.createElement("br",null),"2. \u5f53\u524d\u961f\u4f0d\u6ee1\u5458\u540e\u53ef\u7ee7\u7eed\u521b\u5efa\u65b0\u961f\u4f0d\uff1b",p.a.createElement("br",null),"3. \u6bcf\u4eba\u6709\u4e00\u6b21\u673a\u4f1a\u52a0\u5165\u597d\u53cb\u7684\u961f\u4f0d\uff1b",p.a.createElement("br",null),"4. \u961f\u4f0d\u6ee1\u5458\u540e\u6240\u6709\u6210\u5458\u5747\u53ef\u968f\u673a\u83b7\u5f97\u5b9d\u7bb1\u5185\u5956\u54c1\uff0c\u961f\u957f\u5956\u52b1\u66f4\u4e30\u539a\u54e6~",p.a.createElement("br",null),"5. \u4ee3\u91d1\u5238\u3001\u8bfe\u7a0b\u7b49\u865a\u62df\u5956\u54c1\u5c06\u76f4\u63a5\u53d1\u653e\u81f3\u8d26\u6237\uff0c\u5b9e\u7269\u5956\u54c1\u6d3b\u52a8\u7ed3\u675f\u540e\u7edf\u4e00\u90ae\u5bc4\uff1b",p.a.createElement("br",null),"6. \u73b0\u91d1\u53ef\u63d0\u73b0\uff1a\u6211\u7684 \u2192 \u8d5a\u5956\u5b66\u91d1 \u2192 \u63d0\u73b0\u3002"))),p.a.createElement("div",{className:"btm-rule"},"* \u672c\u6d3b\u52a8\u89e3\u91ca\u6743\u5f52\u5317\u4eac\u4e03\u6708\u5728\u7ebf\u79d1\u6280\u6709\u9650\u516c\u53f8\u6240\u6709 *"))}}]),t}(d.Component))||s},1185:function(e,t,a){"use strict";a.r(t);var n,s=a(3),r=a(5),c=a(4),i=a(6),o=a(7),l=a(0),m=a.n(l),u=a(20),d=a(23),p=a(596),h=a(598),f=a(600),_=(a(1051),function(e){console.log(e);var t=e.data,a=t.team_num,n=void 0===a?1:a,s=t.lack_member,r=void 0===s?4:s,c=t.member,i=void 0===c?[]:c,o=e.handleToInvite,l=new Array(5).fill({});return m.a.createElement("div",{className:"team-success"},m.a.createElement("h2",{className:"team-success__title"},"\u521b\u5efa\u6210\u529f"),m.a.createElement("p",{className:"team-success__tip"},m.a.createElement("span",null,n),"\u53f7\u961f\u4f0d \u8fd8\u5dee",m.a.createElement("span",null,r),"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6~"),m.a.createElement("i",{className:"team-success__icon"}),m.a.createElement("ul",{className:"team-success__member members"},l.map(function(e,t){var a=i[t];return m.a.createElement("li",{className:"member-item",key:t},a&&a.is_captain&&m.a.createElement("sup",{className:"member-item__captain"},"\u961f\u957f"),m.a.createElement("img",{className:"member-item__avatar",src:a?a.head_img:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png",alt:""}))})),m.a.createElement("button",{type:"button",className:"team-success__button",onClick:o},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d"))}),v=a(17),b=a.n(v),y=(a(1052),a(2)),E=function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(c.a)(this,Object(i.a)(t).call(this,e))).initMemberInfo=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a.props,n=t.data,s=t.userInfo,r="{}"!==JSON.stringify(e)?e:n,c=r.member,i=c.length-5;i<0;i++)c.push({});a.setState({team:Object.assign({},r,{member:c}),currentMember:s.uid?c.filter(function(e){return e.uid==s.uid})[0]:{}})},a.computedClass=function(e){var t=a.props.data.is_open,n=a.state.currentMember;return b()("team-member__item",{active:e===n.uid&&t})},a.computedBg=function(e){return e?{backgroundImage:"url(".concat(e,")")}:{}},a.toCheckPrize=function(e){var t=a.state.team,n=t.is_open,s=t.member;if(n){var r=(void 0===s?[]:s).filter(function(t){return t.uid===e});a.setState({currentMember:r[0]})}},a.state={team:{},currentMember:{}},a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.initMemberInfo()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.data,a=e.data;a.is_open!=t.is_open&&this.initMemberInfo(a)}},{key:"render",value:function(){var e=this,t=this.state,a=t.team,n=a.is_captain,s=a.status,r=a.team_num,c=a.lack_member,i=a.is_open,o=a.treasure_code,l=a.member,u=void 0===l?[]:l,d=t.currentMember,p=this.props,h=p.toSplitTreasure,f=p.userInfo,_=p.children;return m.a.createElement("div",{className:"team-container","data-skip":"team"},!n&&m.a.createElement("i",{className:"team-friend"},"\u53cb"),1===s?m.a.createElement("i",{className:"team-status"},"\u7ec4\u961f\u4e2d.."):m.a.createElement("i",{className:"team-decorate"}),n?m.a.createElement("h2",{className:"team-title"},r,"\u53f7\u961f\u4f0d"):m.a.createElement("h2",{className:"team-title"},"\u597d\u53cb\u961f\u4f0d"),1===s?m.a.createElement("p",{className:"team-desc"},"\u8fd8\u5dee",c,"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6\uff5e"):m.a.createElement("p",{className:"team-desc"},"\u7ec4\u961f\u6210\u529f"),m.a.createElement("div",{className:"team-member"},u.map(function(t,a){return m.a.createElement("div",{className:e.computedClass(t.uid),onClick:function(){return e.toCheckPrize(t.uid)},key:a,style:e.computedBg(t.head_img)},t.is_captain&&m.a.createElement("span",{className:"team-member__captain"},"\u961f\u957f"))})),m.a.createElement("div",{className:"team-footer","data-layout":i?"column":"row"},1===s&&m.a.createElement(m.a.Fragment,null,Object(y.c)("version")?n?m.a.createElement("a",{className:"team-button",href:"https://h5.julyedu.com/activity/newyear-2019/landing?treasure_code=".concat(o,"&origin=1&version=").concat(Object(y.c)("version"))},"\u7ee7\u7eed\u9080\u8bf7\u961f\u53cb"):m.a.createElement("a",{className:"team-button",href:"https://h5.julyedu.com/activity/newyear-2019/landing?treasure_code=".concat(o,"&origin=2&version=").concat(Object(y.c)("version"))},"\u5e2e\u597d\u53cb\u5b8c\u6210\u7ec4\u961f"):n?m.a.createElement("a",{className:"team-button",href:"https://h5.julyedu.com/activity/newyear-2019/landing?treasure_code=".concat(o,"&origin=1")},"\u7ee7\u7eed\u9080\u8bf7\u961f\u53cb"):m.a.createElement("a",{className:"team-button",href:"https://h5.julyedu.com/activity/newyear-2019/landing?treasure_code=".concat(o,"&origin=2")},"\u5e2e\u597d\u53cb\u5b8c\u6210\u7ec4\u961f")),2===s&&!i&&m.a.createElement(m.a.Fragment,null,m.a.createElement("span",{className:"team-icon","data-direction":"left"}),m.a.createElement("span",{className:"team-button--split",onClick:h}),m.a.createElement("span",{className:"team-icon","data-direction":"right"})),2===s&&i&&m.a.createElement(m.a.Fragment,null,d.prize_name?m.a.createElement("p",{className:"team-prize"},d.prize_name):m.a.createElement("p",{className:"team-prize"},"\u5c1a\u672a\u5f00\u5b9d\u7bb1"),d.uid==f.uid?_:null)))}}]),t}(l.Component),g=(a(1053),function(e){var t=e.data,a=t.bind_phone,n=t.bind_address,s=t.prize_type,r=e.handleToBindPhone,c=e.handleToBindAddress,i=e.toComposeCoupon,o=e.toUseCoupon,l=e.toCourseList,u=e.toFecthMoney;return m.a.createElement(m.a.Fragment,null,a&&m.a.createElement("a",{className:"team-result",onClick:r},m.a.createElement("span",null,"\u7ed1\u5b9a\u624b\u673a\u53f7")),!a&&n&&m.a.createElement("a",{className:"team-result",onClick:c},m.a.createElement("span",null,"\u67e5\u770b/\u4fee\u6539\u6536\u8d27\u4fe1\u606f")),!a&&!n&&1===s&&m.a.createElement("a",{className:"team-result",onClick:c},m.a.createElement("span",null,"\u67e5\u770b/\u4fee\u6539\u6536\u8d27\u4fe1\u606f")),!a&&!n&&6===s&&m.a.createElement("a",{className:"team-result",onClick:i},"\u53ef\u5408\u6210\u4ee3\u91d1\u5238\u5728\u8d2d\u8bfe\u65f6\u4f7f\u7528\uff0c",m.a.createElement("span",null,"\u53bb\u5408\u6210")),!a&&!n&&3===s&&m.a.createElement("a",{className:"team-result",onClick:o},"\u5df2\u53d1\u653e\u81f3\u60a8\u7684\u8d26\u6237\uff0c",m.a.createElement("span",null,"\u53bb\u4f7f\u7528")),!a&&!n&&4===s&&m.a.createElement("a",{className:"team-result",onClick:l},"\u5df2\u53d1\u653e\u81f3\u60a8\u7684\u8d26\u6237\uff0c",m.a.createElement("span",null,"\u53bb\u4f7f\u7528")),!a&&!n&&7===s&&m.a.createElement("a",{className:"team-result",onClick:u},"\u5df2\u5b58\u5165\u60a8\u7684\u8d26\u6237\uff0c",m.a.createElement("span",null,"\u53bb\u63d0\u73b0")),!a&&!n&&2===s&&m.a.createElement("a",{className:"team-result"},"\u5df2\u53d1\u653e\u81f3\u60a8\u7684\u8d26\u6237"),!a&&!n&&5===s&&m.a.createElement("a",{className:"team-result"},"\u5173\u6ce8\u516c\u4f17\u53f7\u201c\u4e03\u6708\u5728\u7ebf\u5b9e\u9a8c\u5ba4\u201d \u56de\u590d\u201c\u9886\u8bfe\u201d"))}),N=(a(1054),function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(a=Object(c.a)(this,(e=Object(i.a)(t)).call.apply(e,[this].concat(r)))).computedBg=function(e){return e?{backgroundImage:"url(".concat(e,")")}:{}},a.continueSplitTreasure=function(){var e=a.props,t=e.ids,n=e.successSplitTreasure,s=e.handleToBindPhone,r=e.handleToBindAddress,c=t[0];y.e.post("".concat(API.home,"/sys/split_treasure"),c).then(function(e){var t=e.data,a=t.code,c=t.data;200===a?(n(c),c.bind_phone?setTimeout(function(){s(c.id)},500):c.bind_address&&setTimeout(function(){r(c.id,c.prize_name)},500)):12e3===a?s():12001===a&&r()})},a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this,t=this.props,a=t.ids,n=t.data,s=n.member,r=void 0===s?[]:s,c=n.prize_img,i=n.prize_name,o=t.handleToInvite,l=t.children;return m.a.createElement("div",{"data-skip":"split"},m.a.createElement("h2",{className:"split-success__title"},"\u606d\u559c\u4f60\u83b7\u5f97"),m.a.createElement("div",{className:"split-success__image"},m.a.createElement("img",{src:c,alt:""})),m.a.createElement("p",{className:"split-success__prize"},i),l,m.a.createElement("div",{className:"split-success__member"},r.map(function(t,a){return m.a.createElement("div",{className:"member-item",key:a},m.a.createElement("span",{className:"member-item__avatar",style:e.computedBg(t.avatar)},t.is_captain&&m.a.createElement("i",{className:"member-item__captain"},"\u961f\u957f")),t.prize?m.a.createElement("span",{className:"member-item__prize"},t.prize):m.a.createElement("span",{className:"member-item__prize"},"\u5c1a\u672a\u5f00\u5b9d\u7bb1"))})),a.length>0?m.a.createElement("button",{className:"split-success__jump",onClick:this.continueSplitTreasure},"\u7ee7\u7eed\u5f00\u5b9d\u7bb1"):m.a.createElement("button",{className:"split-success__jump",onClick:o},"\u7ee7\u7eed\u7ec4\u961f\u5f00\u5b9d\u7bb1"))}}]),t}(l.Component)),j=a(21),k=a.n(j),O=(a(1055),document.querySelector("body")),C=function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(c.a)(this,Object(i.a)(t).call(this,e))).el||(a.el=document.createElement("div")),a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){O.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){O.removeChild(this.el)}},{key:"render",value:function(){var e=this.props,t=e.visible,a=e.handleToHide,n=e.className;return t?k.a.createPortal(m.a.createElement("div",{className:"mask"},m.a.createElement("div",{className:b()("mask-content",n)},this.props.children),m.a.createElement("div",{className:"mask-footer"},m.a.createElement("i",{className:"mask-button__close",onClick:a}))),this.el):null}}]),t}(l.Component),I=(a(1056),Object(u.b)(function(e){return{country:e.country,userInfo:e.user.data}})(n=function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(c.a)(this,Object(i.a)(t).call(this,e))).popupInstance=null,a.initPrizeName=function(e){var t=a.fetchCurrentTeamId(e),n=e.filter(function(e){return e.id==t});n.length>0&&a.setState({prizeName:n[0].prize_name})},a.judgeIsHaveId=function(e){var t=Object(y.c)("id");if(t){var n=e.filter(function(e){return e.id==t});if(n.length>0){var s={team_num:n[0].team_num,owner_uid:n[0].captain_uid};a.toSplitTreasure(s)}}},a.fetchCurrentTeamId=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter(function(e){return e.is_open&&(e.bind_phone||e.bind_address)});return e.length>0?e[0].id:""},a.isShowBindPhone=function(e){if(a.props.country.from){var t=a.fetchCurrentTeamId(e);a.handleToBindPhone(t)}},a.handleToBindPhone=function(e){a.setState({isPhone:!0})},a.handleToConfirmPhone=function(e,t){a.handleToHideWindow("isPhone"),a.setState({confirmInfo:{params:e,bindInfo:t},isConfirm:!0})},a.successBindPhone=function(){a.setState({isPhone:!1,isConfirm:!1});var e=a.state,t=e.teams,n=e.splitInfo,s=a.fetchCurrentTeamId(t),r=t.map(function(e){return e.id==s?(e.bind_address&&a.handleToBindAddress(),Object.assign({},e,{bind_phone:!1})):e});a.setState({teams:r,splitInfo:Object.assign({},n,{bind_phone:!1})})},a.toSplitTreasure=function(e){y.e.post("".concat(API.home,"/sys/split_treasure"),e).then(function(e){var t=e.data,n=t.code,s=t.data;200===n?(a.showSuccessSplit(s),a.successSplitTreasure(s),s.bind_phone?setTimeout(function(){a.handleToBindPhone(s.id)},500):s.bind_address&&setTimeout(function(){a.handleToBindAddress(s.id,s.prize_name)},500)):12e3===n?a.handleToBindPhone():12001===n&&a.handleToBindAddress()})},a.successSplitTreasure=function(e){var t=a.props.userInfo,n=a.state.teams.map(function(a){return a.id==e.id?Object.assign({},a,{bind_phone:e.bind_phone,bind_address:e.bind_address,is_open:!0,prize_type:e.prize_type,prize_data:e.prize_data,member:a.member.map(function(a){return a.uid==t.uid?Object.assign({},a,{is_open:!0,prize_name:e.prize_name}):a})}):a});a.initNoSplitInfo(n),a.setState({teams:n,splitInfo:e,prizeName:e.prize_name})},a.showSuccessSplit=function(e){a.setState({isSplit:!0,splitInfo:e})},a.handleToBindAddress=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(e)if(t)a.setState({prizeName:t});else{var n=a.state.teams.filter(function(t){return t.id==e});n.length>0&&a.setState({prizeName:n[0].prize_name})}a.setState({isAddress:!0})},a.successBindAddress=function(){a.setState({isAddress:!1});var e=a.state,t=e.teams,n=e.splitInfo,s=a.fetchCurrentTeamId(t),r=t.map(function(e){return e.id==s?Object.assign({},e,{bind_address:!1}):e});a.setState({teams:r,splitInfo:Object.assign({},n,{bind_address:!1})})},a.fetchMyTreasure=function(){y.e.get("".concat(API.home,"/sys/treasure/my")).then(function(e){var t=e.data,n=t.code,s=t.data;200===n&&(a.setState({rule:s.rule}),Array.isArray(s.team)&&s.team.length>0?(a.initNoSplitInfo(s.team),a.judgeIsHaveId(s.team),a.isShowBindPhone(s.team),a.initPrizeName(s.team),a.setState({isEmpty:!1,teams:s.team})):a.setState({isEmpty:!0}))})},a.initNoSplitInfo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.length>0&&a.setState({ids:e.filter(function(e){return!e.is_open&&2===e.status}).map(function(e){return{team_num:e.team_num,owner_uid:e.captain_uid}})})},a.fetchActivityStatus=function(){y.e.get("".concat(API.home,"/activity/stage")).then(function(e){var t=e.data,n=t.code,s=t.data;if(200===n){if(0===Number(s.activity_stage))return void a.props.history.push("/");0===s.treasure_stage&&a.startCountDown(),a.setState({isEnd:0===s.treasure_stage,treasureTime:s.treasure_stop_date})}})},a.startCountDown=function(){var e=a.props.history,t=a.state.seconds;a.timer&&clearInterval(a.timer),a.setState({seconds:t--}),a.timer=setInterval(function(){a.setState({seconds:t--}),0===t&&(a.setState({seconds:0}),clearInterval(a.timer),Object(y.c)("version")?e.push("/year/yearIndex?version=".concat(Object(y.c)("version"))):e.push("/year/yearIndex"))},1e3)},a.handleToInvite=function(e){a.props.history;Object(y.c)("version")?window.location.assign("https://h5.julyedu.com/activity/newyear-2019/landing?treasure_code=".concat(e,"&origin=1&version=").concat(Object(y.c)("version"))):window.location.assign("https://h5.julyedu.com/activity/newyear-2019/landing?treasure_code=".concat(e,"&origin=1"))},a.toOrganizeTeam=function(){var e=a.props,t=e.history,n=e.userInfo.uid;""===(void 0===n?"":n)?t.push("/passport"):y.e.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,n=t.code,s=t.data;if(200===n){var r=[];r[0]=s,a.setState({isEmpty:!1,teams:r,isCreate:!0,createInfo:s})}})},a.toComposeCoupon=function(){var e=a.props.history;Object(y.c)("version")?Object(y.a)("toCoupon"):e.push("/coupons/my-patch")},a.toUseCoupon=function(e){var t=a.props.history;Object(y.c)("version")?Object(y.a)("toCourse",e):t.push("/detail?id=".concat(e))},a.toCourseList=function(){var e=a.props.history;Object(y.c)("version")?Object(y.a)("toQualityCourse"):e.push("/classify")},a.toFecthMoney=function(){var e=a.props.history;Object(y.c)("version")?Object(y.a)("toAccount"):e.push("/scholarship")},a.handleToHideWindow=function(e){var t={};t[e]=!1,a.setState(t)},a.state={isEnd:!1,isEmpty:!1,seconds:3,teams:[],ids:[],bindInfo:{},isPhone:!1,isAddress:!1,isConfirm:!1,confirmInfo:{},isSplit:!1,isCreate:!1,createInfo:{},prizeName:"",treasureTime:""},a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchMyTreasure(),this.fetchActivityStatus(),document.title="AI\u5145\u7535\u5b63\uff0c\u5f00\u5b9d\u7bb1\u514d\u8d39\u5b66AI\u7206\u6b3e\u597d\u8bfe\uff0c300\u672c\u7a0b\u5e8f\u5458\u5fc5\u5907\u7eb8\u8d28\u4e66\u514d\u8d39\u9001\uff0cAI\u8fdb\u9636\u5b9d\u5178\u6765\u5c31\u9001\uff01-\u4e03\u6708\u5728\u7ebf"}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.history;e.userInfo.uid?this.fetchMyTreasure():t.push("/passport")}},{key:"render",value:function(){var e=this,t=this.props,a=t.history,n=t.userInfo,s=t.country,r=this.state,c=r.isEnd,i=r.isEmpty,o=r.seconds,l=r.teams,u=r.ids,v=r.isPhone,b=r.isAddress,j=r.isConfirm,k=r.isSplit,O=r.splitInfo,I=void 0===O?{}:O,w=r.confirmInfo,T=w.params,S=void 0===T?{}:T,A=w.bindInfo,P=void 0===A?{}:A,z=r.isCreate,B=r.createInfo,M=r.prizeName,F=r.rule,L=r.treasureTime;return m.a.createElement("div",{"data-skip":"treasure"},!y.b.isAndroidApp&&!y.b.isIOSApp&&m.a.createElement(d.e,{title:"\u6211\u7684\u5b9d\u7bb1",arrow:!0}),c&&m.a.createElement("div",{className:"team-empty"},m.a.createElement("p",{className:"activity-end__desc"},"\u6d3b\u52a8\u5df2\u7ed3\u675f",m.a.createElement("br",null),o,"s\u540e\u5c06\u81ea\u52a8\u8fd4\u56de\u9996\u9875")),!c&&i&&m.a.createElement("div",{className:"team-empty"},m.a.createElement("i",{className:"team-empty__icon"}),m.a.createElement("p",{className:"team-empty__desc"},"\u60a8\u5f53\u524d\u8fd8\u6ca1\u6709\u5b9d\u7bb1\u54e6~"),m.a.createElement("p",{className:"team-empty__desc"},"\u5feb\u53bb\u7ec4\u961f\u9080\u8bf7\u597d\u53cb\u4e00\u8d77\u5f00\u5b9d\u7bb1\u5427\uff01"),m.a.createElement("button",{className:"team-empty__button",onClick:this.toOrganizeTeam},"\u7ec4\u961f\u5f00\u5b9d\u7bb1")),!c&&!i&&n.uid&&m.a.createElement("div",{className:"treasure-content"},l.map(function(t,s){return m.a.createElement(E,{data:t,key:s,userInfo:n,history:a,splitInstance:e.splitInstance,toSplitTreasure:function(){return e.toSplitTreasure({team_num:t.team_num,owner_uid:t.captain_uid})}},m.a.createElement(g,{data:{bind_phone:t.bind_phone,bind_address:t.bind_address,prize_type:t.prize_type},handleToBindPhone:e.handleToBindPhone,handleToBindAddress:function(){return e.handleToBindAddress(t.id)},toComposeCoupon:e.toComposeCoupon,toUseCoupon:function(){return e.toUseCoupon(t.prize_data)},toCourseList:e.toCourseList,toFecthMoney:e.toFecthMoney}))}),m.a.createElement(C,{visible:k,handleToHide:function(){return e.handleToHideWindow("isSplit")}},m.a.createElement(N,{ids:u,data:I,handleToInvite:function(){return e.handleToInvite(I.treasure_code)},handleToBindPhone:this.handleToBindPhone,handleToBindAddress:this.handleToBindAddress,successSplitTreasure:this.successSplitTreasure},m.a.createElement(g,{data:I,handleToBindPhone:this.handleToBindPhone,handleToBindAddress:this.handleToBindAddress,toComposeCoupon:this.toComposeCoupon,toUseCoupon:function(){return e.toUseCoupon(I.prize_data)},toCourseList:this.toCourseList,toFecthMoney:this.toFecthMoney}))),m.a.createElement(C,{visible:v,className:"popup-bind-phone",handleToHide:function(){return e.handleToHideWindow("isPhone")}},m.a.createElement(h.a,{history:a,country:s,hideBindPhone:function(){return e.handleToHideWindow("isPhone")},handleToConfirmPhone:this.handleToConfirmPhone,successBindPhone:this.successBindPhone,desc:m.a.createElement(m.a.Fragment,null,m.a.createElement("p",{className:"phone-treasure__desc"},"\u606d\u559c\u60a8\u83b7\u5f97 ",M),m.a.createElement("p",{className:"phone-treasure__notice"},"\u4e3a\u4e86\u60a8\u7684\u8d26\u6237\u5b89\u5168\uff0c\u8bf7\u4e8e",L,"\u524d\u7ed1\u5b9a\u624b\u673a\u53f7\uff0c\u8fc7\u671f\u5c06\u5931\u6548"))})),m.a.createElement(C,{visible:j,handleToHide:function(){return e.handleToHideWindow("isConfirm")}},m.a.createElement(f.a,{data:S,bindInfo:P,handleToCancle:function(){return e.handleToHideWindow("isConfirm")},successBindPhone:this.successBindPhone})),m.a.createElement(C,{visible:b,className:"popup-bind-address",handleToHide:function(){return e.handleToHideWindow("isAddress")}},m.a.createElement(p.a,{skip:"year",tip:m.a.createElement(m.a.Fragment,null,m.a.createElement("p",{className:"address-treasure__desc"},"\u606d\u559c\u60a8\u83b7\u5f97 ",M),m.a.createElement("p",{className:"address-treasure__notice"},"\u8bf7\u53ca\u65f6\u586b\u5199/\u786e\u8ba4\u6536\u8d27\u4fe1\u606f\uff0c\u6d3b\u52a8\u7ed3\u675f\u540e\u7edf\u4e00\u90ae\u5bc4")),successBindAddress:this.successBindAddress})),m.a.createElement(C,{visible:z,handleToHide:function(){return e.handleToHideWindow("isCreate")}},m.a.createElement(_,{data:B,handleToInvite:function(){e.handleToInvite(B.treasure_code),e.handleToHideWindow("isCreate")}}))),F&&m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"activity-rule__header"},m.a.createElement("i",{className:"activity-rule__decorate"}),m.a.createElement("h2",{className:"activity-rule__title"},"\u6d3b\u52a8\u89c4\u5219"),m.a.createElement("i",{className:"activity-rule__decorate"})),m.a.createElement("div",{className:"activity-rule__body",dangerouslySetInnerHTML:{__html:F}})))}}]),t}(l.Component))||n);t.default=I},596:function(e,t,a){"use strict";a(37);var n=a(10),s=a.n(n),r=a(18),c=a(3),i=a(5),o=a(4),l=a(6),m=a(7),u=a(0),d=a.n(u),p=a(2),h=a(16),f=(a(597),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(o.a)(this,Object(l.a)(t).call(this,e))).fetchUserAddress=function(){var e=a.state.addressInfo;p.e.get("".concat(API.home,"/sys/user_address_info")).then(function(t){var n=t.data,s=n.code,r=n.data;n.msg;200===s&&a.setState({addressInfo:Object.assign({},e,{name:r.name,phone:r.phone,address:r.address}),isLoading:!0})})},a.handleToSubmit=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a.props.successBindAddress;p.e.post("".concat(API.home,"/sys/update_address"),Object(r.a)({act_type:"treasure"},e)).then(function(e){var a=e.data,n=a.code,r=a.msg;200===n?t():s.a.info(r,2,null,!1)})},a.state={isLoading:!1,addressInfo:{name:"",phone:"",address:""}},a}return Object(m.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.fetchUserAddress()}},{key:"render",value:function(){var e=this,t=this.state,a=t.isLoading,n=t.addressInfo,s=this.props,c=s.tip,i=s.prize,o=s.skip,l=void 0===o?"default":o;return d.a.createElement(d.a.Fragment,null,a&&d.a.createElement(h.d,{initialValues:Object(r.a)({},n),validate:function(e){var t=e.name,a=e.phone,n=e.address,s={};return t||(s.name="\u8bf7\u8f93\u5165\u6536\u4ef6\u4eba"),/^1[3-9]\d{9}$/.test(a)||(s.phone="\u8bf7\u586b\u5199\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7"),n||(s.address="\u8bf7\u8f93\u5165\u6536\u8d27\u5730\u5740"),s},validateOnBlur:!1,validateOnChange:!1,onSubmit:function(t){e.handleToSubmit(t)},render:function(e){var t=e.errors;return d.a.createElement(h.c,{className:"address-form","data-skip":l},d.a.createElement("h2",{className:"address-form__title"},"\u6536\u8d27\u4fe1\u606f"),i?d.a.createElement("p",{className:"address__prize"},"\u60a8\u62bd\u4e2d\u4e86",d.a.createElement("span",{style:{color:"#FF4000"}},i)):null,c?d.a.createElement("div",{className:"address-form__subtitle"},c):d.a.createElement("p",{className:"address-form__desc"},"\u8bf7\u53ca\u65f6\u586b\u5199\u6536\u8d27\u4fe1\u606f\uff0c\u83b7\u5f97\u5b9e\u7269\u5956\u54c1\u540e\u5c06\u7b2c\u4e00\u65f6\u95f4\u4e3a\u60a8\u90ae\u5bc4"),d.a.createElement(h.b,{name:"name",render:function(e){var a=e.field;return d.a.createElement("div",{className:"address-form__item"},d.a.createElement("input",Object.assign({},a,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u4ef6\u4eba"})),t.name&&d.a.createElement("p",{className:"address-form__tip"},t.name))}}),d.a.createElement(h.b,{name:"phone",render:function(e){var a=e.field;return d.a.createElement("div",{className:"address-form__item"},d.a.createElement("input",Object.assign({},a,{className:"address-form__ipt",type:"text",placeholder:"\u8054\u7cfb\u65b9\u5f0f"})),t.phone&&d.a.createElement("p",{className:"address-form__tip"},t.phone))}}),d.a.createElement(h.b,{name:"address",render:function(e){var a=e.field;return d.a.createElement("div",{className:"address-form__item"},d.a.createElement("input",Object.assign({},a,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u8d27\u5730\u5740"})),t.address&&d.a.createElement("p",{className:"address-form__tip"},t.address))}}),d.a.createElement("button",{className:"address-form__submit","data-status":"do",type:"submit"},"\u63d0\u4ea4"))}}))}}]),t}(u.Component));t.a=f},597:function(e,t,a){},598:function(e,t,a){"use strict";var n=a(18),s=(a(37),a(10)),r=a.n(s),c=a(3),i=a(5),o=a(4),l=a(6),m=a(7),u=a(0),d=a.n(u),p=a(16),h=a(38),f=a(142),_=a(2),v=(a(599),function(e){function t(e){var a;return Object(c.a)(this,t),a=Object(o.a)(this,Object(l.a)(t).call(this,e)),a.captchaInstance=null,a.initCountryInfo=function(){var e=a.props.country;a.setState({country:e})},a.toFetchCountryNum=function(){var e=a.props,t=e.history;(0,e.hideBindPhone)(),t.push("/country?from=bind")},a.getCaptchaInstance=function(e){a.captchaInstance=e},a.onVerify=function(e){a.setState({validate:!0,validationData:e})},a.handleToSend=function(e){var t=e.tel,s=(e.code,a.state),c=s.validate,i=s.seconds,o=s.validationData,l=s.isFirst,m=s.isTimer,u=s.country.num,d=void 0===u?"86":u;if(c){if(!l)return r.a.info("\u8bf7\u91cd\u65b0\u8fdb\u884c\u6ed1\u5757\u9a8c\u8bc1",2,null,!1),a.captchaInstance.reset(),void a.setState({isFirst:!0});m||(t?/^\d+$/.test(t)?_.e.post("".concat(API["passport-api"],"/m/personal/bindPhoneSendCode"),Object(n.a)({area_code:"00".concat(d),phone_num:t},o)).then(function(e){var t=e.data,n=t.errno,s=t.msg;200===n?(r.a.info("\u9a8c\u8bc1\u7801\u53d1\u9001\u6210\u529f",2,null,!1),a.timer=window.setInterval(function(){i<=0?(window.clearInterval(a.timer),a.setState({isTimer:!1,seconds:60})):a.setState({isTimer:!0,seconds:--i})},1e3),a.setState({isFirst:!1})):r.a.info(s,2,null,!1)}):r.a.info("\u8bf7\u8f93\u5165\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7\u7801",2,null,!1):r.a.info("\u624b\u673a\u53f7\u7801\u4e0d\u80fd\u4e3a\u7a7a",2,null,!1))}return!1},a.toBindPhone=function(){var e=a.state,t=e.accountInfo,s=t.tel,c=t.code,i=e.country.num,o=void 0===i?"86":i,l=a.props,m=l.handleToConfirmPhone,u=l.successBindPhone,d={area_code:"00".concat(o),mobile:s,code:c,act_type:"treasure"};_.e.post("".concat(API.home,"/sys/v2/user/bindMobile"),Object(n.a)({},d,{type:1,is_valid:1})).then(function(e){var t=e.data,a=t.code,n=t.data,s=t.msg;200===a?n.tip_info?m(d,n.tip_info):u():r.a.info(s,2,null,!1)})},a.state={validate:"",seconds:60,isFirst:!0,timer:null,isTimer:!1,accountInfo:{},bindInfo:{},country:{num:"86"},validationData:null},a}return Object(m.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.initCountryInfo()}},{key:"render",value:function(){var e=this,t=this.props,a=t.desc,s=t.skip,r=void 0===s?"year":s,c=this.state,i=c.country,o=c.validate,l=c.isTimer,m=c.seconds;return d.a.createElement(p.d,{initialValues:{tel:"",code:""},validate:function(e){var t=e.tel,a=e.code,n={};return/^\d+$/.test(t)||(n.tel="\u8bf7\u586b\u5199\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7"),/[0-9]{6}/.test(a)||(n.code="\u8bf7\u8f93\u5165\u9a8c\u8bc1\u7801"),n},onSubmit:function(t,a){a.setStatus,a.setSubmitting;e.setState({accountInfo:Object(n.a)({},t)}),e.toBindPhone()},render:function(t){var n=t.values,s=n.tel,c=n.code,u=t.errors;return d.a.createElement(p.c,{className:"popup-form","data-skip":r},d.a.createElement("h2",{className:"popup-form__title"},"\u7ed1\u5b9a\u624b\u673a\u53f7"),a&&d.a.createElement("div",{className:"poup-form__desc"},a),d.a.createElement("div",{className:"popup-form__item"},d.a.createElement("a",{className:"popup-form__button--num",onClick:e.toFetchCountryNum},"+",i.num,d.a.createElement("i",{className:"iconfont iconiconfront-69"})),d.a.createElement(p.b,{name:"tel",render:function(e){var t=e.field;return d.a.createElement("input",Object.assign({},t,{className:"popup-form__ipt","data-type":"tel",type:"text",placeholder:"\u8bf7\u586b\u5199\u624b\u673a\u53f7"}))}})),d.a.createElement(f.a,{getInstance:e.getCaptchaInstance,onVerify:e.onVerify,mb:15}),d.a.createElement("div",{className:"popup-form__item"},d.a.createElement(p.b,{name:"code",render:function(e){var t=e.field;return d.a.createElement("input",Object.assign({},t,{className:"popup-form__ipt popup-form__ipt--left",type:"text",placeholder:"\u8f93\u5165\u9a8c\u8bc1\u7801"}))}}),d.a.createElement("button",{className:"popup-form__button--code","data-status":o&&!l?"do":"",type:"button",onClick:function(){return e.handleToSend({tel:s,code:c})}},l?"\u91cd\u65b0\u53d1\u9001".concat(m,"s"):"\u53d1\u9001\u9a8c\u8bc1\u7801")),d.a.createElement("button",{className:"popup-form__button--bundle","data-status":s&&c&&Object(h.isEmpty)(u)?"do":"done",type:"submit"},"\u5b8c\u6210\u7ed1\u5b9a"))}})}}]),t}(u.Component));t.a=v},599:function(e,t,a){},600:function(e,t,a){"use strict";a(37);var n=a(10),s=a.n(n),r=a(18),c=a(3),i=a(5),o=a(4),l=a(6),m=a(7),u=a(0),d=a.n(u),p=a(2),h=(a(601),function(e){function t(){var e,a;Object(c.a)(this,t);for(var n=arguments.length,i=new Array(n),m=0;m<n;m++)i[m]=arguments[m];return(a=Object(o.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(i)))).continueBindPhone=function(){var e=a.props,t=e.data,n=e.successBindPhone;p.e.post("".concat(API.home,"/sys/v2/user/bindMobile"),Object(r.a)({},t,{type:1,is_valid:0})).then(function(e){var t=e.data,a=t.code,r=t.msg;200===a?n():s.a.info(r,2,null,!1)})},a}return Object(m.a)(t,e),Object(i.a)(t,[{key:"render",value:function(){var e=this.props,t=e.bindInfo,a=void 0===t?{}:t,n=e.desc,s=e.skip,r=void 0===s?"year":s,c=e.handleToCancle;return d.a.createElement("div",{className:"popup-bind","data-skip":r},d.a.createElement("h2",{className:"popup-bind__title"},"\u7ed1\u5b9a\u624b\u673a\u53f7"),n?d.a.createElement("div",{className:"popup-bind__desc"},n):d.a.createElement("p",{className:"popup-bind__desc"},"\u8be5\u624b\u673a\u53f7\u5df2\u7ed1\u5b9a\u5230\u4ee5\u4e0b\u8d26\u53f7\uff0c\u7ee7\u7eed\u7ed1\u5b9a\u5c06\u89e3\u9664\u4ee5\u4e0b\u7ed1\u5b9a\u72b6\u6001"),d.a.createElement("ul",{className:"popup-bind__list"},a.email&&d.a.createElement("li",{className:"popup-bind__account"},d.a.createElement("i",{className:"popup-bind__icon","data-plat":"mail"}),d.a.createElement("p",{className:"popup-bind__account--name"},a.email)),a.wechat_nickname&&d.a.createElement("li",{className:"popup-bind__account"},d.a.createElement("i",{className:"popup-bind__icon","data-plat":"wachat"}),d.a.createElement("p",{className:"popup-bind__account--name"},a.wechat_nickname)),a.qq_nickname&&d.a.createElement("li",{className:"popup-bind__account"},d.a.createElement("i",{className:"popup-bind__icon","data-plat":"qq"}),d.a.createElement("p",{className:"popup-bind__account--name"},a.qq_nickname)),a.sina_nickname&&d.a.createElement("li",{className:"popup-bind__account"},d.a.createElement("i",{className:"popup-bind__icon","data-plat":"sina"}),d.a.createElement("p",{className:"popup-bind__account--name"},a.sina_nickname))),d.a.createElement("div",{className:"popup-bind__footer"},d.a.createElement("button",{className:"popup-bind__button popup-bind__button--cancle",onClick:c},"\u53d6\u6d88"),d.a.createElement("button",{className:"popup-bind__button popup-bind__button--confirm",onClick:this.continueBindPhone},"\u7ee7\u7eed\u7ed1\u5b9a")))}}]),t}(u.Component));t.a=h},601:function(e,t,a){}}]);
//# sourceMappingURL=newyear-yearIndex.51653ba5.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.
!function(e){function r(r){for(var a,n,f=r[0],d=r[1],i=r[2],s=0,b=[];s<f.length;s++)n=f[s],o[n]&&b.push(o[n][0]),o[n]=0;for(a in d)Object.prototype.hasOwnProperty.call(d,a)&&(e[a]=d[a]);for(u&&u(r);b.length;)b.shift()();return c.push.apply(c,i||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],a=!0,n=1;n<t.length;n++){var d=t[n];0!==o[d]&&(a=!1)}a&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var a={},n={36:0},o={36:0},c=[];function f(r){if(a[r])return a[r].exports;var t=a[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,f),t.l=!0,t.exports}f.e=function(e){var r=[];n[e]?r.push(n[e]):0!==n[e]&&{1:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,12:1,14:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,30:1,31:1,32:1,33:1,34:1,35:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,47:1,48:1,49:1,50:1,51:1,52:1,53:1,54:1,55:1,57:1,58:1,59:1,60:1,62:1,63:1,64:1,65:1}[e]&&r.push(n[e]=new Promise(function(r,t){for(var a="mrstatic/css/"+({5:"Activity",6:"BargainMiddlePage",7:"Classify",8:"Country",9:"CourseList",10:"DrawDocument",11:"Examination",12:"Invite",13:"MyEdit",14:"Order",15:"Orderinfo",16:"PayOrder",17:"Preferential",18:"SearchResult",19:"ShareCourse",20:"ShopCart",21:"aist-share",22:"blessing-getPrize",23:"blessing-preheat",24:"blessing-rank",25:"coupons",26:"deposit-order",27:"deposit-pay-order",28:"detail",30:"myorders",31:"newyear-2019-landing",32:"newyear-yearIndex",33:"prize-winner-list",34:"purchased",35:"python-class",37:"search",38:"shareposter",39:"study",40:"system-notices",41:"togroup",42:"treasure-box-home",43:"treasure-box-mybox",44:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"bff22cf8",2:"31d6cfe0",3:"5ed15c7e",4:"0dc24c6e",5:"a74b39fb",6:"31cef199",7:"f2f19957",8:"16a64650",9:"47812ac6",10:"2e7d81ca",11:"f2cc3163",12:"361dc1a3",13:"31d6cfe0",14:"35f475a1",15:"31d6cfe0",16:"e5315535",17:"18d20d0c",18:"bb7c3056",19:"278ad3b1",20:"3a4dbb7a",21:"ca49c1cb",22:"951fd27d",23:"715eb28a",24:"b92d0394",25:"c10ecc19",26:"6f3a01ca",27:"219bad3d",28:"975c864b",30:"3c41b358",31:"b0d930fa",32:"fe0d87a6",33:"55e46fc9",34:"f583a040",35:"087d6571",37:"38c3e634",38:"f09a5959",39:"e406d228",40:"08df3d15",41:"49988cae",42:"742fb589",43:"b84e2e84",44:"e2426591",46:"31d6cfe0",47:"50547718",48:"bd362b42",49:"17c0e036",50:"2471f477",51:"0bb224f2",52:"ecbb6f9a",53:"9f46e45e",54:"ee45d0b0",55:"4723f76a",56:"31d6cfe0",57:"ab7f5e40",58:"4c85e85c",59:"470b9744",60:"10a4034d",61:"31d6cfe0",62:"697fa90d",63:"eb90513f",64:"5fba4ed0",65:"e51ea0fc"}[e]+".chunk.css",o=f.p+a,c=document.getElementsByTagName("link"),d=0;d<c.length;d++){var i=(u=c[d]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(i===a||i===o))return r()}var s=document.getElementsByTagName("style");for(d=0;d<s.length;d++){var u;if((i=(u=s[d]).getAttribute("data-href"))===a||i===o)return r()}var b=document.createElement("link");b.rel="stylesheet",b.type="text/css",b.onload=r,b.onerror=function(r){var a=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.request=a,delete n[e],b.parentNode.removeChild(b),t(c)},b.href=o,document.getElementsByTagName("head")[0].appendChild(b)}).then(function(){n[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var a=new Promise(function(r,a){t=o[e]=[r,a]});r.push(t[2]=a);var c,d=document.createElement("script");d.charset="utf-8",d.timeout=120,f.nc&&d.setAttribute("nonce",f.nc),d.src=function(e){return f.p+"mrstatic/js/"+({5:"Activity",6:"BargainMiddlePage",7:"Classify",8:"Country",9:"CourseList",10:"DrawDocument",11:"Examination",12:"Invite",13:"MyEdit",14:"Order",15:"Orderinfo",16:"PayOrder",17:"Preferential",18:"SearchResult",19:"ShareCourse",20:"ShopCart",21:"aist-share",22:"blessing-getPrize",23:"blessing-preheat",24:"blessing-rank",25:"coupons",26:"deposit-order",27:"deposit-pay-order",28:"detail",30:"myorders",31:"newyear-2019-landing",32:"newyear-yearIndex",33:"prize-winner-list",34:"purchased",35:"python-class",37:"search",38:"shareposter",39:"study",40:"system-notices",41:"togroup",42:"treasure-box-home",43:"treasure-box-mybox",44:"video"}[e]||e)+"."+{0:"e278c735",1:"8ccb3ba2",2:"b3ec967c",3:"846255e3",4:"2cbd2115",5:"7ec7f2b9",6:"b3e90217",7:"9026b6f9",8:"87d90b89",9:"b9772b84",10:"749c0360",11:"db75562e",12:"03ba786f",13:"4751204d",14:"8ed15331",15:"2de132f2",16:"6fb43349",17:"40f0edaf",18:"d96f36a5",19:"4c634bea",20:"1727e020",21:"aa06950a",22:"b3da729d",23:"ff4bbf80",24:"c392e4f0",25:"000af26b",26:"3ae30112",27:"284eb346",28:"681ee242",30:"2f01329e",31:"d13568be",32:"51653ba5",33:"c127a088",34:"148df373",35:"43c9fac3",37:"2aee0468",38:"3c664772",39:"be29f8a9",40:"3b3e0b79",41:"0ebabd0d",42:"d7397e33",43:"420feb62",44:"48b188d9",46:"26572008",47:"9aa693c2",48:"30bc711f",49:"15508182",50:"feb9bfd4",51:"f1e8d0d1",52:"5b89cb08",53:"ed8fa7d4",54:"0621bfa4",55:"2f33452a",56:"81962ecf",57:"965079f4",58:"1583e048",59:"f9091165",60:"72a77810",61:"b36c1038",62:"185f011f",63:"56faee3e",64:"a1498af9",65:"eec31f7c"}[e]+".chunk.js"}(e),c=function(r){d.onerror=d.onload=null,clearTimeout(i);var t=o[e];if(0!==t){if(t){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+a+": "+n+")");c.type=a,c.request=n,t[1](c)}o[e]=void 0}};var i=setTimeout(function(){c({type:"timeout",target:d})},12e4);d.onerror=d.onload=c,document.head.appendChild(d)}return Promise.all(r)},f.m=e,f.c=a,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,r){if(1&r&&(e=f(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)f.d(t,a,function(r){return e[r]}.bind(null,a));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/",f.oe=function(e){throw console.error(e),e};var d=window.webpackJsonp=window.webpackJsonp||[],i=d.push.bind(d);d.push=r,d=d.slice();for(var s=0;s<d.length;s++)r(d[s]);var u=i;t()}([]);
//# sourceMappingURL=runtime~main.2d297271.js.map
\ No newline at end of file
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","36","exports","module","l","e","promises","1","3","4","5","6","7","8","9","10","11","12","14","16","17","18","19","20","21","22","23","24","25","26","27","28","30","31","32","33","34","35","37","38","39","40","41","42","43","44","47","48","49","50","51","52","53","54","55","57","58","59","60","62","63","64","65","Promise","resolve","reject","href","13","15","0","2","46","56","61","fullhref","p","existingLinkTags","document","getElementsByTagName","dataHref","tag","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","parentNode","removeChild","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","jsonpScriptSrc","clearTimeout","chunk","errorType","realSrc","error","undefined","setTimeout","head","all","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,EAAA,GACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAKA,IAFAe,KAAAhB,GAEAO,EAAAC,QACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,GAAA,IAGAe,IAEA,SAAAA,IAEA,IADA,IAAAC,EACAf,EAAA,EAAiBA,EAAAY,EAAAV,OAA4BF,IAAA,CAG7C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EAAAlK,KAAA4J,KAAAM,GACAA,EAAAlK,KAAAX,EACA6K,IAAAG,QACA,QAAAzK,EAAA,EAAgBA,EAAAsK,EAAApK,OAAuBF,IAAAP,EAAA6K,EAAAtK,IACvC,IAAAU,EAAA8J,EAIA1J","file":"mrstatic/js/runtime~main.2d297271.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t36: 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t36: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"mrstatic/js/\" + ({\"5\":\"Activity\",\"6\":\"BargainMiddlePage\",\"7\":\"Classify\",\"8\":\"Country\",\"9\":\"CourseList\",\"10\":\"DrawDocument\",\"11\":\"Examination\",\"12\":\"Invite\",\"13\":\"MyEdit\",\"14\":\"Order\",\"15\":\"Orderinfo\",\"16\":\"PayOrder\",\"17\":\"Preferential\",\"18\":\"SearchResult\",\"19\":\"ShareCourse\",\"20\":\"ShopCart\",\"21\":\"aist-share\",\"22\":\"blessing-getPrize\",\"23\":\"blessing-preheat\",\"24\":\"blessing-rank\",\"25\":\"coupons\",\"26\":\"deposit-order\",\"27\":\"deposit-pay-order\",\"28\":\"detail\",\"30\":\"myorders\",\"31\":\"newyear-2019-landing\",\"32\":\"newyear-yearIndex\",\"33\":\"prize-winner-list\",\"34\":\"purchased\",\"35\":\"python-class\",\"37\":\"search\",\"38\":\"shareposter\",\"39\":\"study\",\"40\":\"system-notices\",\"41\":\"togroup\",\"42\":\"treasure-box-home\",\"43\":\"treasure-box-mybox\",\"44\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"e278c735\",\"1\":\"8ccb3ba2\",\"2\":\"b3ec967c\",\"3\":\"846255e3\",\"4\":\"2cbd2115\",\"5\":\"7ec7f2b9\",\"6\":\"b3e90217\",\"7\":\"9026b6f9\",\"8\":\"87d90b89\",\"9\":\"b9772b84\",\"10\":\"749c0360\",\"11\":\"db75562e\",\"12\":\"03ba786f\",\"13\":\"4751204d\",\"14\":\"8ed15331\",\"15\":\"2de132f2\",\"16\":\"6fb43349\",\"17\":\"40f0edaf\",\"18\":\"d96f36a5\",\"19\":\"4c634bea\",\"20\":\"1727e020\",\"21\":\"aa06950a\",\"22\":\"b3da729d\",\"23\":\"ff4bbf80\",\"24\":\"c392e4f0\",\"25\":\"000af26b\",\"26\":\"3ae30112\",\"27\":\"284eb346\",\"28\":\"681ee242\",\"30\":\"2f01329e\",\"31\":\"d13568be\",\"32\":\"51653ba5\",\"33\":\"c127a088\",\"34\":\"148df373\",\"35\":\"43c9fac3\",\"37\":\"2aee0468\",\"38\":\"3c664772\",\"39\":\"be29f8a9\",\"40\":\"3b3e0b79\",\"41\":\"0ebabd0d\",\"42\":\"d7397e33\",\"43\":\"420feb62\",\"44\":\"48b188d9\",\"46\":\"26572008\",\"47\":\"9aa693c2\",\"48\":\"30bc711f\",\"49\":\"15508182\",\"50\":\"feb9bfd4\",\"51\":\"f1e8d0d1\",\"52\":\"5b89cb08\",\"53\":\"ed8fa7d4\",\"54\":\"0621bfa4\",\"55\":\"2f33452a\",\"56\":\"81962ecf\",\"57\":\"965079f4\",\"58\":\"1583e048\",\"59\":\"f9091165\",\"60\":\"72a77810\",\"61\":\"b36c1038\",\"62\":\"185f011f\",\"63\":\"56faee3e\",\"64\":\"a1498af9\",\"65\":\"eec31f7c\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"1\":1,\"3\":1,\"4\":1,\"5\":1,\"6\":1,\"7\":1,\"8\":1,\"9\":1,\"10\":1,\"11\":1,\"12\":1,\"14\":1,\"16\":1,\"17\":1,\"18\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"25\":1,\"26\":1,\"27\":1,\"28\":1,\"30\":1,\"31\":1,\"32\":1,\"33\":1,\"34\":1,\"35\":1,\"37\":1,\"38\":1,\"39\":1,\"40\":1,\"41\":1,\"42\":1,\"43\":1,\"44\":1,\"47\":1,\"48\":1,\"49\":1,\"50\":1,\"51\":1,\"52\":1,\"53\":1,\"54\":1,\"55\":1,\"57\":1,\"58\":1,\"59\":1,\"60\":1,\"62\":1,\"63\":1,\"64\":1,\"65\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"mrstatic/css/\" + ({\"5\":\"Activity\",\"6\":\"BargainMiddlePage\",\"7\":\"Classify\",\"8\":\"Country\",\"9\":\"CourseList\",\"10\":\"DrawDocument\",\"11\":\"Examination\",\"12\":\"Invite\",\"13\":\"MyEdit\",\"14\":\"Order\",\"15\":\"Orderinfo\",\"16\":\"PayOrder\",\"17\":\"Preferential\",\"18\":\"SearchResult\",\"19\":\"ShareCourse\",\"20\":\"ShopCart\",\"21\":\"aist-share\",\"22\":\"blessing-getPrize\",\"23\":\"blessing-preheat\",\"24\":\"blessing-rank\",\"25\":\"coupons\",\"26\":\"deposit-order\",\"27\":\"deposit-pay-order\",\"28\":\"detail\",\"30\":\"myorders\",\"31\":\"newyear-2019-landing\",\"32\":\"newyear-yearIndex\",\"33\":\"prize-winner-list\",\"34\":\"purchased\",\"35\":\"python-class\",\"37\":\"search\",\"38\":\"shareposter\",\"39\":\"study\",\"40\":\"system-notices\",\"41\":\"togroup\",\"42\":\"treasure-box-home\",\"43\":\"treasure-box-mybox\",\"44\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"bff22cf8\",\"2\":\"31d6cfe0\",\"3\":\"5ed15c7e\",\"4\":\"0dc24c6e\",\"5\":\"a74b39fb\",\"6\":\"31cef199\",\"7\":\"f2f19957\",\"8\":\"16a64650\",\"9\":\"47812ac6\",\"10\":\"2e7d81ca\",\"11\":\"f2cc3163\",\"12\":\"361dc1a3\",\"13\":\"31d6cfe0\",\"14\":\"35f475a1\",\"15\":\"31d6cfe0\",\"16\":\"e5315535\",\"17\":\"18d20d0c\",\"18\":\"bb7c3056\",\"19\":\"278ad3b1\",\"20\":\"3a4dbb7a\",\"21\":\"ca49c1cb\",\"22\":\"951fd27d\",\"23\":\"715eb28a\",\"24\":\"b92d0394\",\"25\":\"c10ecc19\",\"26\":\"6f3a01ca\",\"27\":\"219bad3d\",\"28\":\"975c864b\",\"30\":\"3c41b358\",\"31\":\"b0d930fa\",\"32\":\"fe0d87a6\",\"33\":\"55e46fc9\",\"34\":\"f583a040\",\"35\":\"087d6571\",\"37\":\"38c3e634\",\"38\":\"f09a5959\",\"39\":\"e406d228\",\"40\":\"08df3d15\",\"41\":\"49988cae\",\"42\":\"742fb589\",\"43\":\"b84e2e84\",\"44\":\"e2426591\",\"46\":\"31d6cfe0\",\"47\":\"50547718\",\"48\":\"bd362b42\",\"49\":\"17c0e036\",\"50\":\"2471f477\",\"51\":\"0bb224f2\",\"52\":\"ecbb6f9a\",\"53\":\"9f46e45e\",\"54\":\"ee45d0b0\",\"55\":\"4723f76a\",\"56\":\"31d6cfe0\",\"57\":\"ab7f5e40\",\"58\":\"4c85e85c\",\"59\":\"470b9744\",\"60\":\"10a4034d\",\"61\":\"31d6cfe0\",\"62\":\"697fa90d\",\"63\":\"eb90513f\",\"64\":\"5fba4ed0\",\"65\":\"e51ea0fc\"}[chunkId] + \".chunk.css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\tvar error = new Error('Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')');\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{1188:function(e,t,a){"use strict";a.r(t);var c=a(3),s=a(5),n=a(4),r=a(6),i=a(7),o=a(0),l=a.n(o),m=(a(679),a(14)),u=a(46),d=a(461),p=(a(680),a(1191)),h=a(1176),v=a(20),f=a(79),E=a(503),g=a.n(E),b=a(38),y=a(23);var N=l.a.memo(function(e){var t=e.addCourseClick;return l.a.createElement("div",{className:"add-course"},l.a.createElement("button",{className:"add",onClick:t},"\u6dfb\u52a0\u8bfe\u7a0b+"))});function _(e){var t=e.record,a=t.seconds,c=t.lesson_name,s="";if(c){var n=/\u7b2c[\s\S]+?\u8bfe/.exec(c);s+=n&&n[0]?n[0]:""}if(a){var r=function(e){return{hour:Math.floor(e/3600),min:Math.floor(e/60)%60,sec:e%60}}(a);s+=(r.hour?String(r.hour).padStart(2,"0")+":":"")+(r.min?String(r.min).padStart(2,"0")+":":"")+(r.sec?String(r.sec).padStart(2,"0"):"")}return l.a.createElement("span",{className:"record"},s.length?"\u5b66\u4e60\u5230".concat(s):null)}var C=l.a.memo(function(e){var t=e.item;if(t.ago||t.seconds){var a=new Date(1e3*t.ago),c=Object(p.a)(a)?Object(h.a)(a,"HH\u65f6mm\u5206"):Object(h.a)(a,"MM\u6708dd\u65e5");return l.a.createElement("div",{className:"des"},l.a.createElement("span",{className:"time"},c),l.a.createElement(_,{record:t}))}return l.a.createElement("button",{className:"start-learn"},"\u5f00\u59cb\u5b66\u4e60")}),k=function(e){function t(){var e,a;Object(c.a)(this,t);for(var s=arguments.length,i=new Array(s),o=0;o<s;o++)i[o]=arguments[o];return(a=Object(n.a)(this,(e=Object(r.a)(t)).call.apply(e,[this].concat(i)))).state={isLoading:!0},a.handleClick=function(e,t){var c=a.props.history,s=t.mode,n=t.course_id;s&&6==s?c.push("/python?id=".concat(n)):c.push("/play/video?id=".concat(e))},a.addCourseClick=function(){a.props.history.push("/classify")},a.loadFunc=Object(b.debounce)(function(){a.props.courseList.length%10===0&&a.props.fetchCoursesListIfNeeded()},200),a}return Object(i.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){this.props.switchTab(!1),this.props.fetchCoursesListIfNeeded()}},{key:"componentWillUnmount",value:function(){this.props.switchTab(!0)}},{key:"render",value:function(){var e=this,t=this.props,a=t.courseList,c=t.user;return l.a.createElement(y.f,{isLoading:this.props.isLoading},a&&0!==a.length?l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"my-course-uid"},"\u52a0\u7fa4\u8bf7\u5907\u6ce8\u60a8\u7684\u5b66\u53f7\uff1a".concat(!c.hasError&&this.props.user.data.uid)),l.a.createElement(g.a,{pageStart:0,hasMore:!0,loadMore:this.loadFunc,useWindow:!1},l.a.createElement("ul",{ref:function(t){return e.list=t}},a.map(function(t,a){var c=l.a.createElement("div",{className:"info"},l.a.createElement("div",{className:"title"},t.course_title),!t.is_restricted&&t.is_aist&&l.a.createElement("div",{className:"contact"},"\u52a9\u6559\u5fae\u4fe1\uff1a",t.assist_weixin),!t.is_restricted&&!t.is_aist&&1==t.contact_type&&t.course_qq&&l.a.createElement("div",{className:"contact"},"QQ\u7fa4\uff1a",t.course_qq),!t.is_restricted&&!t.is_aist&&2==t.contact_type&&t.course_qq&&l.a.createElement("div",{className:"contact"},"\u73ed\u4e3b\u4efb\u5fae\u4fe1\uff1a",t.course_qq),t.is_aist&&t.aist_schedule&&l.a.createElement("div",{className:"process-status"},l.a.createElement("div",{className:"process-wrapper"},l.a.createElement("div",{className:"process-bar",style:{width:"".concat(parseFloat(t.aist_schedule),"%")}})),l.a.createElement("div",{className:"process-text"},t.aist_schedule)),l.a.createElement(C,{item:t})),s=t.is_aist?l.a.createElement("span",{className:"status"},"\u8fd4\u73b0"):t.course_expire?l.a.createElement("span",{className:"course-expire"},t.course_expire):null;return l.a.createElement(d.a,Object.assign({img:t.image_name,handleClick:e.handleClick},t,{key:a,info:c,status:s,item:t,id:t.v_course_id}))}))),a.length%10!==0?l.a.createElement(N,{addCourseClick:this.addCourseClick}):null):l.a.createElement("div",{className:"empty"},l.a.createElement("p",null,l.a.createElement("i",{className:"iconfont iconfish"})),l.a.createElement("p",{className:"empty-prompt"},"\u60a8\u8fd8\u6ca1\u6709\u8bfe\u7a0b\u54e6\uff0c\u8d76\u5feb\u53bb\u9009\u8bfe\u5427~"),l.a.createElement("p",null,l.a.createElement(m.b,{className:"select-course",to:"/classify"},"\u53bb\u9009\u8bfe"))))}}]),t}(o.Component),j=Object(v.b)(function(e){return{courseList:e.myCourses.courseList,user:e.user,isLoading:e.myCourses.isLoading}},{fetchCoursesListIfNeeded:f.e,switchTab:f.f})(k),w=(a(37),a(10)),O=a.n(w),L=(a(681),function(e){return l.a.createElement("li",{className:"course-base-item ".concat(e.className),onClick:e.handleClick.bind(void 0,e.id)},e.top,l.a.createElement("img",{src:e.img,alt:""}),l.a.createElement("p",{className:"course-title"},e.title),e.bottom)}),M=a(2),S=a(17),F=a.n(S),x=(a(87),a(682),function(e){return l.a.createElement("div",{className:"bottom"},l.a.createElement(y.i,{className:e.className},e.text),l.a.createElement("span",null,e.audience,"\u4eba\u89c2\u770b"))}),q=function(e){function t(){var e,a;Object(c.a)(this,t);for(var s=arguments.length,i=new Array(s),o=0;o<s;o++)i[o]=arguments[o];return(a=Object(n.a)(this,(e=Object(r.a)(t)).call.apply(e,[this].concat(i)))).page=1,a.num=10,a.state={courses:[],live:[],page:1,hasMore:!1},a.handleClick=function(e){a.props.history.push("/play/video?id=".concat(e))},a.getFreeCourses=function(){return M.e.get("".concat(API.home,"/m/free_course/").concat(a.page++,"/").concat(a.num))},a.getFreeLive=function(){return M.e.get("".concat(API.home,"/m/live/free_list"))},a.toLive=function(e){var t=e.room_id;e.live_status?window.location.assign("http://www.julyedu.com/live/m_room/".concat(t)):O.a.info("\u76f4\u64ad\u5373\u5c06\u5f00\u59cb\uff0c\u656c\u8bf7\u671f\u5f85",2,null,!1)},a.loadFunc=function(){a.state.hasMore&&a.setState({hasMore:a.state.courses.length%10===0},function(){a.getFreeCourses().then(function(e){var t=e.data;200==t.code?Array.isArray(t.data)&&a.setState({courses:a.state.courses.concat(t.data),hasMore:t.data.length%10===0}):O.a.info(t.msg)})})},a}return Object(i.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.getFreeCourses().then(function(t){var a=t.data;200==a.code?e.setState({courses:a.data,hasMore:!0}):O.a.info(a.msg)}),this.getFreeLive().then(function(t){var a=t.data;200==a.code?e.setState({live:Object(b.isEmpty)(a.data)?[]:a.data}):O.a.info(a.msg,2,null,!1)})}},{key:"render",value:function(){var e=this;return l.a.createElement(g.a,{pageStart:0,loadMore:this.loadFunc,useWindow:!1,className:"free-courses",element:"ul",hasMore:this.state.hasMore,threshold:250},this.state.live.map(function(t,a){var c=l.a.createElement("div",{className:"bottom"},l.a.createElement("div",{className:"animation-box"},new Array(4).fill("a").map(function(e,t){return l.a.createElement("i",{key:t,className:F()("column","column-".concat(t+1))})})),l.a.createElement("div",{className:"time"},"".concat(t.live_start_time))),s=0==t.live_status?l.a.createElement(y.i,{className:"tag-soon top"},"\u5373\u5c06\u5f00\u59cb"):l.a.createElement(y.i,{className:"tag-playing top"},"\u6b63\u5728\u76f4\u64ad");return l.a.createElement(L,{img:t.live_cover,title:t.live_title,top:s,bottom:c,key:t.live_id,className:"live",handleClick:e.toLive.bind(e,t),id:a})}),this.state.courses.map(function(t,a){return l.a.createElement(L,{img:t.logo,title:t.video_course_name,handleClick:e.handleClick,bottom:l.a.createElement(x,{audience:t.play_times,className:"tag-category",text:t.category}),id:t.v_course_id,key:a,className:"course-item"})}))}}]),t}(o.PureComponent),A=a(150),I=a(143),D=a(24),P=function(e){function t(){var e,a;Object(c.a)(this,t);for(var s=arguments.length,i=new Array(s),o=0;o<s;o++)i[o]=arguments[o];return(a=Object(n.a)(this,(e=Object(r.a)(t)).call.apply(e,[this].concat(i)))).state={position:{}},a}return Object(i.a)(t,e),Object(s.a)(t,[{key:"render",value:function(){var e=this.props.match;return l.a.createElement("section",{id:"study"},l.a.createElement("div",{className:"tab"},l.a.createElement("div",null,l.a.createElement(m.c,{to:"".concat(e.url,"/my-course"),replace:!0,activeClassName:"active"},"\u6211\u7684\u8bfe\u7a0b")),l.a.createElement("div",null,l.a.createElement(m.c,{to:"".concat(e.url,"/free-course"),replace:!0,activeClassName:"active"},"\u514d\u8d39\u8bfe\u7a0b"))),l.a.createElement("div",{className:"study-container"},l.a.createElement(u.d,null,l.a.createElement(u.a,{exact:!0,from:"/study",to:"study/my-course"}),l.a.createElement(u.b,{path:"".concat(this.props.match.path,"/my-course"),component:j}),l.a.createElement(u.b,{path:"".concat(this.props.match.path,"/free-course"),component:q}))))}}]),t}(o.Component);t.default=Object(D.d)(I.a,A.a)(P)},461:function(e,t,a){"use strict";var c=a(0),s=a.n(c);a(462);t.a=function(e){return s.a.createElement("li",{className:"v-list-base-item",onClick:e.handleClick.bind(void 0,e.id,e.item)},s.a.createElement("div",{className:"content"},s.a.createElement("div",{className:"cover"},e.status,s.a.createElement("img",{src:e.img,alt:""})),e.info),e.tab)}},462:function(e,t,a){},679:function(e,t,a){},680:function(e,t,a){},681:function(e,t,a){},682:function(e,t,a){}}]);
//# sourceMappingURL=study.be29f8a9.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/study/myCourses/index.js","common/course-base/index.js","components/study/freeCourses/index.js","components/study/index.js","common/v-list-base/index.js"],"names":["AddCourse","React","memo","_ref","addCourseClick","react_default","a","createElement","className","onClick","Record","_ref2","_ref2$record","record","seconds","lesson_name","result","matchResult","exec","studyTime","hour","Math","floor","min","sec","getStudyTime","String","padStart","length","concat","Bottom","_ref3","item","ago","date","Date","time","isToday","format","MyCourses","state","isLoading","handleClick","id","history","_this","props","mode","course_id","push","loadFunc","debounce","courseList","fetchCoursesListIfNeeded","this","switchTab","_this2","_this$props","user","common","Fragment","hasError","data","uid","react_infinite_scroller_default","pageStart","hasMore","loadMore","useWindow","ref","el","list","map","index","Info","course_title","is_restricted","is_aist","assist_weixin","contact_type","course_qq","aist_schedule","style","width","parseFloat","myCourses_Bottom","status","course_expire","v_list_base","Object","assign","img","image_name","key","info","react_router_dom","to","Component","connect","myCourses","Course","bind","top","src","alt","title","bottom","text","audience","FreeCourse","page","num","courses","live","getFreeCourses","http","get","API","home","getFreeLive","toLive","room_id","live_status","window","location","toast_default","setState","then","res","code","Array","isArray","msg","isEmpty","_this3","element","threshold","fill","classnames","LiveStatus","common_course_base","logo","freeCourses_Bottom","category","PureComponent","Study","position","match","url","replace","activeClassName","react_router","exact","from","path","component","FreeCourses","compose","WithFullSize","WithTab","VList","react__WEBPACK_IMPORTED_MODULE_0___default","tab"],"mappings":"2QAoBA,IAAMA,EAAYC,IAAMC,KAAK,SAAAC,GAAA,IAAEC,EAAFD,EAAEC,eAAF,OAC3BC,EAAAC,EAAAC,cAAA,OAAKC,UAAU,cACbH,EAAAC,EAAAC,cAAA,UAAQC,UAAU,MAAMC,QAASL,GAAjC,gCAIJ,SAASM,EAATC,GAAkD,IAAAC,EAAAD,EAAjCE,OAASC,EAAwBF,EAAxBE,QAASC,EAAeH,EAAfG,YAE/BC,EAAS,GAEX,GAAID,EAAa,CACf,IAAIE,EAJG,uBAIcC,KAAKH,GAC1BC,GAAWC,GAAeA,EAAY,GAAMA,EAAY,GAAK,GAG/D,GAAIH,EAAS,CACX,IAAIK,EAxBR,SAAsBL,GACpB,MAAO,CACLM,KAAMC,K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,KAAK,SAASzD,GAAG,oBACjC3F,EAAAC,EAAAC,cAACgJ,EAAA,EAAD,CAAOG,KAAI,GAAA7H,OAAKyB,KAAKR,MAAMqG,MAAMO,KAAtB,cAAwCC,UAAWpH,IAC9DlC,EAAAC,EAAAC,cAACgJ,EAAA,EAAD,CAAOG,KAAI,GAAA7H,OAAKyB,KAAKR,MAAMqG,MAAMO,KAAtB,gBAA0CC,UAAWC,cA5BpE3D,aAqCL4D,sBACXC,IACAC,IAFWF,CAGbZ,gECjCae,IAfD,SAAClH,GACX,OACImH,EAAA3J,EAAAC,cAAA,MAAIC,UAAU,mBAAmBC,QAASqC,EAAMJ,YAAY2D,YAAWvD,EAAMH,GAAIG,EAAMd,OACnFiI,EAAA3J,EAAAC,cAAA,OAAKC,UAAU,WACXyJ,EAAA3J,EAAAC,cAAA,OAAKC,UAAU,SACVsC,EAAMwC,OACP2E,EAAA3J,EAAAC,cAAA,OAAKgG,IAAKzD,EAAM6C,IAAKa,IAAI,MAE5B1D,EAAMgD,MAEVhD,EAAMoH","file":"mrstatic/js/study.be29f8a9.chunk.js","sourcesContent":["import React, { Component } from \"react\"\nimport VList from '@/common/v-list-base'\nimport './my-courses.scss'\nimport { isToday, format } from \"date-fns\"\nimport { connect } from \"react-redux\"\nimport { fetchCoursesListIfNeeded, switchTab } from \"./actions\"\nimport InfiniteScroll from 'react-infinite-scroller'\nimport { debounce } from 'lodash'\nimport { Link } from 'react-router-dom'\nimport { Loading } from \"@/common\";\n\n\nfunction getStudyTime(seconds) {\n return {\n hour: Math.floor(seconds / (60 * 60)),\n min: Math.floor(seconds / 60) % 60,\n sec: seconds % 60\n }\n}\n\nconst AddCourse = React.memo(({addCourseClick}) => (\n <div className='add-course'>\n <button className='add' onClick={addCourseClick}>添加课程+</button>\n </div>\n))\n\nfunction Record({record: {seconds, lesson_name}}) {\n let re = /第[\\s\\S]+?课/,\n result = ''\n\n if (lesson_name) {\n let matchResult = re.exec(lesson_name)\n result += (matchResult && matchResult[0]) ? matchResult[0] : ''\n }\n\n if (seconds) {\n let studyTime = getStudyTime(seconds)\n let hour = studyTime.hour ? String(studyTime.hour).padStart(2, '0') + ':' : '',\n min = studyTime.min ? String(studyTime.min).padStart(2, '0') + ':' : '',\n sec = studyTime.sec ? String(studyTime.sec).padStart(2, '0') : ''\n\n result += hour + min + sec\n }\n\n return (\n <span className={'record'}>\n {\n result.length ? `学习到${result}` : null\n }\n </span>\n )\n}\n\n\nconst Bottom = React.memo(({item}) => {\n if (item.ago || item.seconds) {\n let date = new Date(item.ago * 1000)\n let time = isToday(date) ? format(date, 'HH时mm分') : format(date, 'MM月dd日')\n return (\n <div className=\"des\">\n <span className='time'>{time}</span>\n <Record record={item}/>\n </div>\n )\n }\n return (\n <button className='start-learn'>开始学习</button>\n )\n})\n\nclass MyCourses extends Component {\n\n list\n\n state = {\n isLoading: true\n }\n\n handleClick = (id, item) => {\n const {history} = this.props\n const {mode, course_id} = item\n if (mode && mode == 6) {\n history.push(`/python?id=${course_id}`)\n return\n }\n history.push(`/play/video?id=${id}`)\n }\n addCourseClick = () => {\n this.props.history.push('/classify')\n }\n\n componentDidMount() {\n this.props.switchTab(false)\n this.props.fetchCoursesListIfNeeded()\n }\n\n componentWillUnmount() {\n this.props.switchTab(true);\n }\n\n loadFunc = debounce(() => {\n if (this.props.courseList.length % 10 === 0) {\n this.props.fetchCoursesListIfNeeded()\n }\n }, 200)\n\n render() {\n let {courseList, user} = this.props\n\n return <Loading isLoading={this.props.isLoading}>\n {\n courseList && courseList.length !== 0\n ?\n <>\n <div className=\"my-course-uid\">\n {`加群请备注您的学号:${!user.hasError && this.props.user.data.uid}`}\n </div>\n <InfiniteScroll\n pageStart={0}\n hasMore={true}\n loadMore={this.loadFunc}\n useWindow={false}\n >\n <ul ref={el => this.list = el}>\n {\n courseList.map((item, index) => {\n\n const Info = (\n <div className=\"info\">\n <div className='title'>{item.course_title}</div>\n {\n !item.is_restricted && item.is_aist &&\n <div className='contact'>助教微信:{item.assist_weixin}</div>\n }\n {\n !item.is_restricted && !item.is_aist && item.contact_type == 1 && item.course_qq &&\n <div className='contact'>QQ群:{item.course_qq}</div>\n }\n {\n !item.is_restricted && !item.is_aist && item.contact_type == 2 && item.course_qq &&\n <div className='contact'>班主任微信:{item.course_qq}</div>\n }\n\n {\n item.is_aist && item.aist_schedule &&\n <div className=\"process-status\">\n <div className=\"process-wrapper\">\n <div className=\"process-bar\"\n style={{width: `${parseFloat(item.aist_schedule)}%`}}/>\n </div>\n <div className=\"process-text\">{item.aist_schedule}</div>\n </div>\n }\n <Bottom item={item}/>\n </div>\n )\n\n const status = (\n item.is_aist\n ? <span className='status'>返现</span>\n : item.course_expire\n ? <span className='course-expire'>{item.course_expire}</span>\n : null\n )\n return (\n <VList img={item.image_name}\n handleClick={this.handleClick}\n {...item}\n key={index}\n info={Info}\n status={status}\n item={item}\n id={item['v_course_id']}\n />\n )\n })\n }\n </ul>\n </InfiniteScroll>\n {\n courseList.length % 10 !== 0 ?\n <AddCourse addCourseClick={this.addCourseClick}/>\n : null\n }\n </>\n :\n <div className=\"empty\">\n <p><i className='iconfont iconfish'/></p>\n <p className='empty-prompt'>您还没有课程哦,赶快去选课吧~</p>\n <p>\n <Link className='select-course' to='/classify'>去选课</Link>\n </p>\n </div>\n }\n </Loading>\n\n }\n}\n\nexport default connect(\n state => ({\n courseList: state.myCourses.courseList,\n user: state.user,\n isLoading: state.myCourses.isLoading\n }),\n {\n fetchCoursesListIfNeeded,\n switchTab\n })(MyCourses)\n","import React from 'react'\nimport './course-base.scss'\n\nconst Course = (props) => {\n return (\n <li className={`course-base-item ${props.className}`} onClick={props.handleClick.bind(this, props.id)}>\n {props.top}\n <img src={props.img} alt=\"\"/>\n <p className=\"course-title\">{props.title}</p>\n {props.bottom}\n </li>\n );\n};\n\nexport default Course;\n\n","import React, { PureComponent } from 'react'\nimport { Tag } from '../../../common'\nimport Course from '@/common/course-base'\nimport { http } from '@/utils'\nimport { Toast } from \"antd-mobile\";\nimport classnames from 'classnames'\nimport { isEmpty } from 'lodash'\nimport InfiniteScroll from \"react-infinite-scroller\";\nimport {HashLoader} from 'react-spinners'\n\n\nimport './free-courses.scss'\n\nconst Bottom = (props) => (\n <div className='bottom'>\n <Tag className={props.className}>{props.text}</Tag>\n <span>{props.audience}人观看</span>\n </div>\n)\n\nclass FreeCourse extends PureComponent {\n\n page = 1\n num = 10\n state = {\n courses: [],\n live: [],\n page: 1,\n hasMore: false\n }\n\n componentDidMount() {\n this.getFreeCourses()\n .then(res => {\n let data = res.data\n if (data.code == 200) {\n this.setState({\n courses: data.data,\n hasMore: true\n })\n } else {\n Toast.info(data.msg)\n }\n })\n this.getFreeLive()\n .then(res => {\n let data = res.data\n if (data.code == 200) {\n this.setState({\n live: isEmpty(data.data) ? [] : data.data\n })\n } else {\n Toast.info(data.msg, 2, null, false)\n }\n })\n }\n\n handleClick = id => {\n this.props.history.push(`/play/video?id=${id}`)\n }\n\n getFreeCourses = () => {\n return http.get(`${API.home}/m/free_course/${this.page++}/${this.num}`)\n }\n\n getFreeLive = () => {\n return http.get(`${API.home}/m/live/free_list`)\n }\n\n toLive = live => {\n const {room_id, live_status} = live\n if (live_status) {\n window.location.assign(`http://www.julyedu.com/live/m_room/${room_id}`)\n } else {\n Toast.info('直播即将开始,敬请期待', 2, null, false)\n }\n }\n\n loadFunc = () => {\n if (this.state.hasMore) {\n this.setState({\n hasMore: this.state.courses.length % 10 === 0\n }, () => {\n this.getFreeCourses()\n .then(res => {\n let data = res.data\n if (data.code == 200) {\n Array.isArray(data.data) && this.setState({\n courses: this.state.courses.concat(data.data),\n hasMore: data.data.length % 10 === 0\n })\n } else {\n Toast.info(data.msg)\n }\n })\n })\n }\n }\n\n render() {\n return (\n <InfiniteScroll\n pageStart={0}\n loadMore={this.loadFunc}\n useWindow={false}\n className={'free-courses'}\n element={'ul'}\n hasMore={this.state.hasMore}\n threshold={250}\n >\n {\n this.state.live.map((item, index) => {\n const Bottom = (\n <div className=\"bottom\">\n <div className=\"animation-box\">\n {new Array(4).fill('a').map((item, index) => {\n return <i key={index} className={classnames('column', `column-${index + 1}`)}/>\n })}\n </div>\n <div className=\"time\">{`${item['live_start_time']}`}</div>\n </div>\n )\n\n const LiveStatus = (\n item['live_status'] == 0 ? <Tag className={'tag-soon top'}>即将开始</Tag> :\n <Tag className={'tag-playing top'}>正在直播</Tag>\n )\n return (\n <Course\n img={item['live_cover']}\n title={item['live_title']}\n top={LiveStatus}\n bottom={Bottom}\n key={item['live_id']}\n className={'live'}\n handleClick={this.toLive.bind(this, item)}\n id={index}\n />\n )\n })\n }\n {\n this.state.courses.map((item, index) => (\n <Course\n img={item.logo}\n title={item['video_course_name']}\n handleClick={this.handleClick}\n bottom={\n <Bottom audience={item['play_times']} className={'tag-category'} text={item.category}/>\n }\n id={item['v_course_id']}\n key={index}\n className={'course-item'}\n />\n ))\n }\n </InfiniteScroll>\n )\n }\n}\n\n\nexport default FreeCourse","import React, { Component } from 'react'\nimport './study.scss'\n\nimport { NavLink, Route, Switch, Redirect } from \"react-router-dom\"\nimport MyCourses from \"./myCourses\"\nimport FreeCourses from './freeCourses'\nimport WithTab from '@/HOCs/WithTab'\nimport WithFullSize from '@/HOCs/WithFullSize'\nimport { compose } from 'redux'\n\n\nclass Study extends Component {\n\n state = {\n position: {}\n }\n\n render() {\n const {match} = this.props;\n return (\n <section id='study'>\n <div className='tab'>\n <div>\n <NavLink to={`${match.url}/my-course`}\n replace\n activeClassName='active'\n >我的课程</NavLink>\n </div>\n <div>\n <NavLink to={`${match.url}/free-course`}\n replace\n activeClassName='active'\n >免费课程</NavLink>\n </div>\n </div>\n <div className=\"study-container\">\n <Switch>\n <Redirect exact from='/study' to='study/my-course'/>\n <Route path={`${this.props.match.path}/my-course`} component={MyCourses}/>\n <Route path={`${this.props.match.path}/free-course`} component={FreeCourses}/>\n </Switch>\n </div>\n </section>\n )\n }\n\n}\n\nexport default compose(\n WithFullSize,\n WithTab\n)(Study)","import React from 'react';\nimport './index.scss'\n\nconst VList = (props) => {\n return (\n <li className='v-list-base-item' onClick={props.handleClick.bind(this, props.id, props.item)}>\n <div className=\"content\">\n <div className=\"cover\">\n {props.status}\n <img src={props.img} alt=\"\"/>\n </div>\n {props.info}\n </div>\n {props.tab}\n </li>\n );\n};\n\nexport default VList;\n"],"sourceRoot":""}
\ No newline at end of file
self.__precacheManifest = [
{
"revision": "6b9e79386e63f342c8e9",
"url": "/mrstatic/js/0.e278c735.chunk.js"
},
{
"revision": "4911069541f9b1f11154",
"url": "/mrstatic/css/1.bff22cf8.chunk.css"
},
{
"revision": "4911069541f9b1f11154",
"url": "/mrstatic/js/1.8ccb3ba2.chunk.js"
},
{
"revision": "5fb2f56042ff982f4b6f",
"url": "/mrstatic/js/2.b3ec967c.chunk.js"
},
{
"revision": "17bce1de9bed2e724694",
"url": "/mrstatic/css/3.5ed15c7e.chunk.css"
},
{
"revision": "17bce1de9bed2e724694",
"url": "/mrstatic/js/3.846255e3.chunk.js"
},
{
"revision": "d4ba80b0ba7fb3bb7379",
"url": "/mrstatic/css/4.0dc24c6e.chunk.css"
},
{
"revision": "d4ba80b0ba7fb3bb7379",
"url": "/mrstatic/js/4.2cbd2115.chunk.js"
},
{
"revision": "85ec43bf24f2073d0ef3",
"url": "/mrstatic/css/Activity.a74b39fb.chunk.css"
},
{
"revision": "85ec43bf24f2073d0ef3",
"url": "/mrstatic/js/Activity.7ec7f2b9.chunk.js"
},
{
"revision": "c1ba735d1429cc0002e0",
"url": "/mrstatic/css/BargainMiddlePage.31cef199.chunk.css"
},
{
"revision": "c1ba735d1429cc0002e0",
"url": "/mrstatic/js/BargainMiddlePage.b3e90217.chunk.js"
},
{
"revision": "79ae42532549123d2476",
"url": "/mrstatic/css/Classify.f2f19957.chunk.css"
},
{
"revision": "79ae42532549123d2476",
"url": "/mrstatic/js/Classify.9026b6f9.chunk.js"
},
{
"revision": "8aa8666c8a1abea943cc",
"url": "/mrstatic/css/Country.16a64650.chunk.css"
},
{
"revision": "8aa8666c8a1abea943cc",
"url": "/mrstatic/js/Country.87d90b89.chunk.js"
},
{
"revision": "923855b5ffccb1b09def",
"url": "/mrstatic/css/CourseList.47812ac6.chunk.css"
},
{
"revision": "923855b5ffccb1b09def",
"url": "/mrstatic/js/CourseList.b9772b84.chunk.js"
},
{
"revision": "ece416084d7e1b9d73c9",
"url": "/mrstatic/css/DrawDocument.2e7d81ca.chunk.css"
},
{
"revision": "ece416084d7e1b9d73c9",
"url": "/mrstatic/js/DrawDocument.749c0360.chunk.js"
},
{
"revision": "af3ed7bce9742bf2e3f5",
"url": "/mrstatic/css/Examination.f2cc3163.chunk.css"
},
{
"revision": "af3ed7bce9742bf2e3f5",
"url": "/mrstatic/js/Examination.db75562e.chunk.js"
},
{
"revision": "786fd85dd1e4169c06e0",
"url": "/mrstatic/css/Invite.361dc1a3.chunk.css"
},
{
"revision": "786fd85dd1e4169c06e0",
"url": "/mrstatic/js/Invite.03ba786f.chunk.js"
},
{
"revision": "13b9cdd22fce208fff13",
"url": "/mrstatic/js/MyEdit.4751204d.chunk.js"
},
{
"revision": "a7e5f6102dfd9edf5088",
"url": "/mrstatic/css/Order.35f475a1.chunk.css"
},
{
"revision": "a7e5f6102dfd9edf5088",
"url": "/mrstatic/js/Order.8ed15331.chunk.js"
},
{
"revision": "e0fb0ba1f3c55efcb0ba",
"url": "/mrstatic/js/Orderinfo.2de132f2.chunk.js"
},
{
"revision": "43762e3aa5de572ad4b6",
"url": "/mrstatic/css/PayOrder.e5315535.chunk.css"
},
{
"revision": "43762e3aa5de572ad4b6",
"url": "/mrstatic/js/PayOrder.6fb43349.chunk.js"
},
{
"revision": "eb1d125520c52fc864e6",
"url": "/mrstatic/css/Preferential.18d20d0c.chunk.css"
},
{
"revision": "eb1d125520c52fc864e6",
"url": "/mrstatic/js/Preferential.40f0edaf.chunk.js"
},
{
"revision": "d31402adb80fce0e49e1",
"url": "/mrstatic/css/SearchResult.bb7c3056.chunk.css"
},
{
"revision": "d31402adb80fce0e49e1",
"url": "/mrstatic/js/SearchResult.d96f36a5.chunk.js"
},
{
"revision": "3ad277a3e1182fc4639d",
"url": "/mrstatic/css/ShareCourse.278ad3b1.chunk.css"
},
{
"revision": "3ad277a3e1182fc4639d",
"url": "/mrstatic/js/ShareCourse.4c634bea.chunk.js"
},
{
"revision": "5fe4d93ca3b9503198ef",
"url": "/mrstatic/css/ShopCart.3a4dbb7a.chunk.css"
},
{
"revision": "5fe4d93ca3b9503198ef",
"url": "/mrstatic/js/ShopCart.1727e020.chunk.js"
},
{
"revision": "7969a31f9d3db2221fa2",
"url": "/mrstatic/css/aist-share.ca49c1cb.chunk.css"
},
{
"revision": "7969a31f9d3db2221fa2",
"url": "/mrstatic/js/aist-share.aa06950a.chunk.js"
},
{
"revision": "f1f36a3e8c149a2036d1",
"url": "/mrstatic/css/blessing-getPrize.951fd27d.chunk.css"
},
{
"revision": "f1f36a3e8c149a2036d1",
"url": "/mrstatic/js/blessing-getPrize.b3da729d.chunk.js"
},
{
"revision": "f78314ae4c48e5501da0",
"url": "/mrstatic/css/blessing-preheat.715eb28a.chunk.css"
},
{
"revision": "f78314ae4c48e5501da0",
"url": "/mrstatic/js/blessing-preheat.ff4bbf80.chunk.js"
},
{
"revision": "e237a33437f66ca66b50",
"url": "/mrstatic/css/blessing-rank.b92d0394.chunk.css"
},
{
"revision": "e237a33437f66ca66b50",
"url": "/mrstatic/js/blessing-rank.c392e4f0.chunk.js"
},
{
"revision": "943de5d38aed3f31e4ea",
"url": "/mrstatic/css/coupons.c10ecc19.chunk.css"
},
{
"revision": "943de5d38aed3f31e4ea",
"url": "/mrstatic/js/coupons.000af26b.chunk.js"
},
{
"revision": "b3a43606fca3be7281c9",
"url": "/mrstatic/css/deposit-order.6f3a01ca.chunk.css"
},
{
"revision": "b3a43606fca3be7281c9",
"url": "/mrstatic/js/deposit-order.3ae30112.chunk.js"
},
{
"revision": "5cc0b3e05f521a147be4",
"url": "/mrstatic/css/deposit-pay-order.219bad3d.chunk.css"
},
{
"revision": "5cc0b3e05f521a147be4",
"url": "/mrstatic/js/deposit-pay-order.284eb346.chunk.js"
},
{
"revision": "5f7a691d96b42f4faccb",
"url": "/mrstatic/css/detail.975c864b.chunk.css"
},
{
"revision": "5f7a691d96b42f4faccb",
"url": "/mrstatic/js/detail.681ee242.chunk.js"
},
{
"revision": "ed9177ce0b350f80ab1e",
"url": "/mrstatic/css/main.27ce3a58.chunk.css"
},
{
"revision": "ed9177ce0b350f80ab1e",
"url": "/mrstatic/js/main.c3c8406b.chunk.js"
},
{
"revision": "9e7db7eafabc656189d1",
"url": "/mrstatic/css/myorders.3c41b358.chunk.css"
},
{
"revision": "9e7db7eafabc656189d1",
"url": "/mrstatic/js/myorders.2f01329e.chunk.js"
},
{
"revision": "ecfc15e0ece7e574c129",
"url": "/mrstatic/css/newyear-2019-landing.b0d930fa.chunk.css"
},
{
"revision": "ecfc15e0ece7e574c129",
"url": "/mrstatic/js/newyear-2019-landing.d13568be.chunk.js"
},
{
"revision": "05b786654915ac19df69",
"url": "/mrstatic/css/newyear-yearIndex.fe0d87a6.chunk.css"
},
{
"revision": "05b786654915ac19df69",
"url": "/mrstatic/js/newyear-yearIndex.51653ba5.chunk.js"
},
{
"revision": "9bfc420a513a456d7972",
"url": "/mrstatic/css/prize-winner-list.55e46fc9.chunk.css"
},
{
"revision": "9bfc420a513a456d7972",
"url": "/mrstatic/js/prize-winner-list.c127a088.chunk.js"
},
{
"revision": "16ad7b09d0b94be19ed2",
"url": "/mrstatic/css/purchased.f583a040.chunk.css"
},
{
"revision": "16ad7b09d0b94be19ed2",
"url": "/mrstatic/js/purchased.148df373.chunk.js"
},
{
"revision": "573314afb440e23a1068",
"url": "/mrstatic/css/python-class.087d6571.chunk.css"
},
{
"revision": "573314afb440e23a1068",
"url": "/mrstatic/js/python-class.43c9fac3.chunk.js"
},
{
"revision": "ae8b0cb6370ff0c6accc",
"url": "/mrstatic/js/runtime~main.2d297271.js"
},
{
"revision": "f9f64b0e77f834598ae3",
"url": "/mrstatic/css/search.38c3e634.chunk.css"
},
{
"revision": "f9f64b0e77f834598ae3",
"url": "/mrstatic/js/search.2aee0468.chunk.js"
},
{
"revision": "398e5b4f7ed8306b62dc",
"url": "/mrstatic/css/shareposter.f09a5959.chunk.css"
},
{
"revision": "398e5b4f7ed8306b62dc",
"url": "/mrstatic/js/shareposter.3c664772.chunk.js"
},
{
"revision": "11a506c48181de669d37",
"url": "/mrstatic/css/study.e406d228.chunk.css"
},
{
"revision": "11a506c48181de669d37",
"url": "/mrstatic/js/study.be29f8a9.chunk.js"
},
{
"revision": "dfd99a1b477bf5125c28",
"url": "/mrstatic/css/system-notices.08df3d15.chunk.css"
},
{
"revision": "dfd99a1b477bf5125c28",
"url": "/mrstatic/js/system-notices.3b3e0b79.chunk.js"
},
{
"revision": "09111d08ef392eeebf81",
"url": "/mrstatic/css/togroup.49988cae.chunk.css"
},
{
"revision": "09111d08ef392eeebf81",
"url": "/mrstatic/js/togroup.0ebabd0d.chunk.js"
},
{
"revision": "4eb5028c4876a68f2f74",
"url": "/mrstatic/css/treasure-box-home.742fb589.chunk.css"
},
{
"revision": "4eb5028c4876a68f2f74",
"url": "/mrstatic/js/treasure-box-home.d7397e33.chunk.js"
},
{
"revision": "c45ee7db13af716a81a4",
"url": "/mrstatic/css/treasure-box-mybox.b84e2e84.chunk.css"
},
{
"revision": "c45ee7db13af716a81a4",
"url": "/mrstatic/js/treasure-box-mybox.420feb62.chunk.js"
},
{
"revision": "3379f832f8612ce7b480",
"url": "/mrstatic/css/video.e2426591.chunk.css"
},
{
"revision": "3379f832f8612ce7b480",
"url": "/mrstatic/js/video.48b188d9.chunk.js"
},
{
"revision": "f5ee794a1e8aae69790e",
"url": "/mrstatic/css/45.0c7eea28.chunk.css"
},
{
"revision": "f5ee794a1e8aae69790e",
"url": "/mrstatic/js/45.54ed9d8a.chunk.js"
},
{
"revision": "517d56cad3f334785597",
"url": "/mrstatic/js/46.26572008.chunk.js"
},
{
"revision": "3d24067ac74a46e04326",
"url": "/mrstatic/css/47.50547718.chunk.css"
},
{
"revision": "3d24067ac74a46e04326",
"url": "/mrstatic/js/47.9aa693c2.chunk.js"
},
{
"revision": "2cf9eddfcdb0f43794d4",
"url": "/mrstatic/css/48.bd362b42.chunk.css"
},
{
"revision": "2cf9eddfcdb0f43794d4",
"url": "/mrstatic/js/48.30bc711f.chunk.js"
},
{
"revision": "e6cf93079c5554329d1a",
"url": "/mrstatic/css/49.17c0e036.chunk.css"
},
{
"revision": "e6cf93079c5554329d1a",
"url": "/mrstatic/js/49.15508182.chunk.js"
},
{
"revision": "71266bc50d438ef32e3f",
"url": "/mrstatic/css/50.2471f477.chunk.css"
},
{
"revision": "71266bc50d438ef32e3f",
"url": "/mrstatic/js/50.feb9bfd4.chunk.js"
},
{
"revision": "0b27dff8fe95b867e163",
"url": "/mrstatic/css/51.0bb224f2.chunk.css"
},
{
"revision": "0b27dff8fe95b867e163",
"url": "/mrstatic/js/51.f1e8d0d1.chunk.js"
},
{
"revision": "624c46d9b9a208c6979b",
"url": "/mrstatic/css/52.ecbb6f9a.chunk.css"
},
{
"revision": "624c46d9b9a208c6979b",
"url": "/mrstatic/js/52.5b89cb08.chunk.js"
},
{
"revision": "57307ebc9ca7a08023c2",
"url": "/mrstatic/css/53.9f46e45e.chunk.css"
},
{
"revision": "57307ebc9ca7a08023c2",
"url": "/mrstatic/js/53.ed8fa7d4.chunk.js"
},
{
"revision": "988e33ec74d3dd0a8f61",
"url": "/mrstatic/css/54.ee45d0b0.chunk.css"
},
{
"revision": "988e33ec74d3dd0a8f61",
"url": "/mrstatic/js/54.0621bfa4.chunk.js"
},
{
"revision": "a0752c9f8ed778649b94",
"url": "/mrstatic/css/55.4723f76a.chunk.css"
},
{
"revision": "a0752c9f8ed778649b94",
"url": "/mrstatic/js/55.2f33452a.chunk.js"
},
{
"revision": "377f77bfb5d4f275d302",
"url": "/mrstatic/js/56.81962ecf.chunk.js"
},
{
"revision": "1b33f8aadb9a3612eb65",
"url": "/mrstatic/css/57.ab7f5e40.chunk.css"
},
{
"revision": "1b33f8aadb9a3612eb65",
"url": "/mrstatic/js/57.965079f4.chunk.js"
},
{
"revision": "b59b9264680350f58b57",
"url": "/mrstatic/css/58.4c85e85c.chunk.css"
},
{
"revision": "b59b9264680350f58b57",
"url": "/mrstatic/js/58.1583e048.chunk.js"
},
{
"revision": "547874eeca2bd3f655b8",
"url": "/mrstatic/css/59.470b9744.chunk.css"
},
{
"revision": "547874eeca2bd3f655b8",
"url": "/mrstatic/js/59.f9091165.chunk.js"
},
{
"revision": "683abab636a8efea3ee0",
"url": "/mrstatic/css/60.10a4034d.chunk.css"
},
{
"revision": "683abab636a8efea3ee0",
"url": "/mrstatic/js/60.72a77810.chunk.js"
},
{
"revision": "6956d5039e546cc11dd6",
"url": "/mrstatic/js/61.b36c1038.chunk.js"
},
{
"revision": "c312f77a9ed4f047a7fb",
"url": "/mrstatic/css/62.697fa90d.chunk.css"
},
{
"revision": "c312f77a9ed4f047a7fb",
"url": "/mrstatic/js/62.185f011f.chunk.js"
},
{
"revision": "d46dca4629f612bd2dc3",
"url": "/mrstatic/css/63.eb90513f.chunk.css"
},
{
"revision": "d46dca4629f612bd2dc3",
"url": "/mrstatic/js/63.56faee3e.chunk.js"
},
{
"revision": "32a7c91c0153824b687b",
"url": "/mrstatic/css/64.5fba4ed0.chunk.css"
},
{
"revision": "32a7c91c0153824b687b",
"url": "/mrstatic/js/64.a1498af9.chunk.js"
},
{
"revision": "64a61f67b604f2869a81",
"url": "/mrstatic/css/65.e51ea0fc.chunk.css"
},
{
"revision": "64a61f67b604f2869a81",
"url": "/mrstatic/js/65.eec31f7c.chunk.js"
},
{
"revision": "f2f4294d9a677f58f6f7c1a0ac84c448",
"url": "/mrstatic/media/iconfont.f2f4294d.woff"
},
{
"revision": "64fd0b167457064e12ff8a6afcd31720",
"url": "/mrstatic/media/iconfont.64fd0b16.eot"
},
{
"revision": "99b2454970e48c8bb00578cdca15b3d2",
"url": "/mrstatic/media/iconfont.99b24549.ttf"
},
{
"revision": "5bf7701b4b6358bd06d9c45c26a7d18f",
"url": "/mrstatic/media/iconfont.5bf7701b.svg"
},
{
"revision": "81a489ac63f2f2df5ab412e0782bd54c",
"url": "/mrstatic/media/kanjia_cg_icon.81a489ac.png"
},
{
"revision": "9ab091267ae7c83bd30d0f5ad018a8c9",
"url": "/mrstatic/media/dalibao_bj.9ab09126.png"
},
{
"revision": "d76ebce726bdf3459fa14e96d84c5b9a",
"url": "/mrstatic/media/formal-banner.d76ebce7.png"
},
{
"revision": "80011994e30adf599e5f47fcc81bc06d",
"url": "/mrstatic/media/progress-share-bg.80011994.png"
},
{
"revision": "79139f6aad350256e151f9f73c226348",
"url": "/mrstatic/media/hb_bj.79139f6a.png"
},
{
"revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae",
"url": "/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png"
},
{
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
},
{
"revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstatic/media/redb_sp_bj@2x.6902434f.png"
},
{
"revision": "05508feedee7e3e7e9df4a25efca9cbd",
"url": "/index.html"
}
];
\ No newline at end of file
...@@ -29,7 +29,7 @@ class App extends Component { ...@@ -29,7 +29,7 @@ class App extends Component {
super(props) super(props)
this.state = { this.state = {
isShowActivityEntry: 0, isShowActivityEntry: 0,
isShowChannel: 0 isShowChannel: 0,
} }
this.globalEntry = null this.globalEntry = null
} }
...@@ -72,7 +72,6 @@ class App extends Component { ...@@ -72,7 +72,6 @@ class App extends Component {
const {history} = this.props const {history} = this.props
this.setNavigationRecord(this.props.location, this.props.history.action) this.setNavigationRecord(this.props.location, this.props.history.action)
this.setPreviousLocation() this.setPreviousLocation()
...@@ -96,9 +95,9 @@ class App extends Component { ...@@ -96,9 +95,9 @@ class App extends Component {
from: { from: {
pathname: this.previousLocation.pathname, pathname: this.previousLocation.pathname,
search: this.previousLocation.search, search: this.previousLocation.search,
hash: this.previousLocation.hash hash: this.previousLocation.hash,
} },
} },
} }
} else { } else {
this.removeShareCodeCookie() this.removeShareCodeCookie()
...@@ -115,7 +114,7 @@ class App extends Component { ...@@ -115,7 +114,7 @@ class App extends Component {
// treasure_stage,宝箱阶段,0-不在活动时间,1-活动时间内 // treasure_stage,宝箱阶段,0-不在活动时间,1-活动时间内
this.setState({ this.setState({
isShowActivityEntry: data.treasure_stage, isShowActivityEntry: data.treasure_stage,
isShowChannel: data.is_show_site_window_by_channel isShowChannel: data.is_show_site_window_by_channel,
}, () => { }, () => {
data.treasure_stage && this.bindGlobalEntry() data.treasure_stage && this.bindGlobalEntry()
}) })
...@@ -143,13 +142,12 @@ class App extends Component { ...@@ -143,13 +142,12 @@ class App extends Component {
const {pathname, search, hash} = location const {pathname, search, hash} = location
let isLastRecord = location.pathname === (this.records.length && this.records[this.records.length - 1].pathname) let isLastRecord = location.pathname === (this.records.length && this.records[this.records.length - 1].pathname)
let needHistoryMutation = location.pathname !== this.previousLocation.pathname let needHistoryMutation = location.pathname !== this.previousLocation.pathname
switch (action) { switch (action) {
case 'POP': case 'POP':
if (needHistoryMutation) { if (needHistoryMutation) {
this.firstLoad ? this.records.push({pathname, search, hash}) : this.records.pop() this.firstLoad ? this.records.push({pathname, search, hash}) : this.records.pop()
} else { } else {
this.records[this.records.length - 1] = location this.records.length ? (this.records[this.records.length - 1] = location) : this.records = [location]
} }
break break
case 'REPLACE': case 'REPLACE':
...@@ -161,8 +159,10 @@ class App extends Component { ...@@ -161,8 +159,10 @@ class App extends Component {
location.state && location.state.records location.state && location.state.records
? (location.state.records = this.records) ? (location.state.records = this.records)
: location.state ? location.state = {...location.state, records: this.records} : location.state ? location.state = {
: (location.state = {records: this.records}) ...location.state,
records: this.records,
} : (location.state = {records: this.records})
} }
...@@ -172,7 +172,7 @@ class App extends Component { ...@@ -172,7 +172,7 @@ class App extends Component {
if (zhihu_cb) { if (zhihu_cb) {
let data = { let data = {
'zhihu_cb': zhihu_cb 'zhihu_cb': zhihu_cb,
} }
http.post(`${API['home']}/sys/zhihu/firstRecord`, data) http.post(`${API['home']}/sys/zhihu/firstRecord`, data)
...@@ -254,8 +254,8 @@ class App extends Component { ...@@ -254,8 +254,8 @@ class App extends Component {
user_name: username, user_name: username,
is_vip: isVIP, is_vip: isVIP,
uid, uid,
code code,
} },
} = res.data } = res.data
payload = { payload = {
...@@ -266,15 +266,15 @@ class App extends Component { ...@@ -266,15 +266,15 @@ class App extends Component {
isVIP, isVIP,
avatar, avatar,
uid, uid,
code code,
} },
} }
} else { } else {
payload = { payload = {
hasError: true, hasError: true,
msg: res.data.msg, msg: res.data.msg,
code: res.data.code, code: res.data.code,
data: {} data: {},
} }
} }
return payload return payload
...@@ -285,7 +285,7 @@ class App extends Component { ...@@ -285,7 +285,7 @@ class App extends Component {
if (data.errno == 200) { if (data.errno == 200) {
//移除红包统计cookie //移除红包统计cookie
this.removeShareCodeCookie() this.removeShareCodeCookie()
let {uid, token, avatar_file: avatar, uname: username,} = data.data let {uid, token, avatar_file: avatar, uname: username} = data.data
return { return {
hasError: false, hasError: false,
...@@ -293,9 +293,9 @@ class App extends Component { ...@@ -293,9 +293,9 @@ class App extends Component {
uid, uid,
token, token,
avatar, avatar,
username username,
}, },
msg: data.msg msg: data.msg,
} }
} else { } else {
let {code, msg} = data.data let {code, msg} = data.data
...@@ -303,7 +303,7 @@ class App extends Component { ...@@ -303,7 +303,7 @@ class App extends Component {
code, code,
msg, msg,
hasError: true, hasError: true,
data: {} data: {},
} }
} }
} }
...@@ -339,7 +339,7 @@ class App extends Component { ...@@ -339,7 +339,7 @@ class App extends Component {
closeGlobalEntry = () => { closeGlobalEntry = () => {
localStorage.setItem('globalEntryClosedTime', Date.now().toString()) localStorage.setItem('globalEntryClosedTime', Date.now().toString())
this.setState({ this.setState({
isShowActivityEntry: 0 isShowActivityEntry: 0,
}) })
} }
...@@ -375,7 +375,7 @@ class App extends Component { ...@@ -375,7 +375,7 @@ class App extends Component {
export default compose( export default compose(
connect( connect(
state => ({user: state.user}), state => ({user: state.user}),
{setCurrentUser, startFetchUser} {setCurrentUser, startFetchUser},
), ),
withRouter withRouter,
)(App) )(App)
...@@ -17,7 +17,7 @@ import AllCourseNavigation from "./all-course" ...@@ -17,7 +17,7 @@ import AllCourseNavigation from "./all-course"
// const animateTypes = Swiper.animateTypes // const animateTypes = Swiper.animateTypes
@connect(state => ({ @connect(state => ({
user: state.user user: state.user,
})) }))
class Index extends Component { class Index extends Component {
constructor(props) { constructor(props) {
...@@ -33,28 +33,28 @@ class Index extends Component { ...@@ -33,28 +33,28 @@ class Index extends Component {
{ {
'src': require('./image/freeclass_icon.png'), 'src': require('./image/freeclass_icon.png'),
'name': '公开课', 'name': '公开课',
'href': '/study/free-course' 'href': '/study/free-course',
}, },
{ {
'src': require('./image/jingpin_icon.png'), 'src': require('./image/jingpin_icon.png'),
'name': '精品特惠', 'name': '精品特惠',
'href': '/preferential' 'href': '/preferential',
}, },
{ {
'src': require('./image/zjxj_icon.png'), 'src': require('./image/zjxj_icon.png'),
'name': '赚奖学金', 'name': '赚奖学金',
'href': '/scholarship' 'href': '/scholarship',
}, },
{ {
'src': require('./image/mryt_icon.png'), 'src': require('./image/mryt_icon.png'),
'name': '每日一题', 'name': '每日一题',
'href': '/examination' 'href': '/examination',
}, },
{ {
'src': require('./image/shequ_icon.png'), 'src': require('./image/shequ_icon.png'),
'name': '社区', 'name': '社区',
'href': 'https://ask.julyedu.com' 'href': 'https://ask.julyedu.com',
} },
], ],
} }
} }
...@@ -72,7 +72,7 @@ class Index extends Component { ...@@ -72,7 +72,7 @@ class Index extends Component {
this.setState({ this.setState({
banner: data.banner, banner: data.banner,
lives: data.lives, lives: data.lives,
modules modules,
}) })
} else { } else {
Toast.info(res.data.msg, 2) Toast.info(res.data.msg, 2)
...@@ -93,7 +93,7 @@ class Index extends Component { ...@@ -93,7 +93,7 @@ class Index extends Component {
this.setState({ this.setState({
isShow: true, isShow: true,
islive: true, islive: true,
roomMess: item roomMess: item,
}) })
} else { } else {
window.location.href = `${window.location.href.includes('pre') ? 'http://www-pre.julyedu.com' : 'http://www.julyedu.com'}/live/m_room/${item.room_id}` window.location.href = `${window.location.href.includes('pre') ? 'http://www-pre.julyedu.com' : 'http://www.julyedu.com'}/live/m_room/${item.room_id}`
...@@ -119,15 +119,23 @@ class Index extends Component { ...@@ -119,15 +119,23 @@ class Index extends Component {
src="http://julyedu-img-public.oss-cn-beijing.aliyuncs.com/Public/img/index/logo.png" src="http://julyedu-img-public.oss-cn-beijing.aliyuncs.com/Public/img/index/logo.png"
alt="" alt=""
/> />
<CallApp {/* <CallApp
className='to-app' className='to-app'
text='在APP打开' text='在APP打开'
/> />*/}
<div className="right">
<Link to={'/intelligent-recommend'}>
<span className={'intelligent-recommend-entry'}>
<i className={'mind-icon'}></i>
智能选课
</span>
</Link>
<i <i
className='iconfont iconiconfront- search' className='iconfont iconiconfront- search'
onClick={this.toSearch.bind(this)} onClick={this.toSearch.bind(this)}
/> />
</div> </div>
</div>
<div className='zw_height'></div> <div className='zw_height'></div>
......
...@@ -34,6 +34,29 @@ ...@@ -34,6 +34,29 @@
vertical-align: top; vertical-align: top;
} }
.right {
float: right;
height: 100%;
}
.intelligent-recommend-entry {
float: left;
margin-right: 20px;
font-size: 14px;
color: #09f;
line-height: 24px;
.mind-icon {
display: inline-block;
width: 16px;
height: 16px;
margin-right: 4px;
background: url("./image/mind-icon.png") no-repeat;
background-size: contain;
vertical-align: middle;
}
}
.search { .search {
font-size: 22px !important; font-size: 22px !important;
float: right; float: right;
...@@ -88,6 +111,7 @@ ...@@ -88,6 +111,7 @@
.category { .category {
width: 100%; width: 100%;
padding: 20px 15px 15px 15px; padding: 20px 15px 15px 15px;
.swiper-container { .swiper-container {
height: 106px !important; height: 106px !important;
margin-top: 15px; margin-top: 15px;
...@@ -263,7 +287,6 @@ ...@@ -263,7 +287,6 @@
} }
/* /*
横向滚动 横向滚动
*/ */
......
import React, {Component} from 'react' import React, { Component } from 'react'
import {HeaderBar} from '@/common' import { HeaderBar } from '@/common'
import {http} from '@/utils' import { getParam, http } from '@/utils'
import './index.scss' import './index.scss'
import QRCode from 'qrcode' import QRCode from 'qrcode'
import html2canvas from 'html2canvas' import html2canvas from 'html2canvas'
import scoreIconL from '@assets/image/score_icon-l.png' import scoreIconL from '@assets/image/score_icon-l.png'
import scoreIconR from '@assets/image/score_icon-r.png' import scoreIconR from '@assets/image/score_icon-r.png'
import scoreReportBg from '@assets/image/scoreReport_bg.png' import scoreReportBg from '@assets/image/scoreReport_bg.png'
import {connect} from "react-redux" import { connect } from "react-redux"
@connect(state => ({ @connect(state => ({
user: state.user, user: state.user,
...@@ -23,7 +23,7 @@ class scoreReport extends Component { ...@@ -23,7 +23,7 @@ class scoreReport extends Component {
myRankList: '', myRankList: '',
imgUrl: '', imgUrl: '',
codeSrc: '', codeSrc: '',
avatar_file: '' avatar_file: '',
} }
} }
...@@ -37,14 +37,14 @@ class scoreReport extends Component { ...@@ -37,14 +37,14 @@ class scoreReport extends Component {
} }
shouldComponentUpdate(nextProps, nextState, nextContext) { // shouldComponentUpdate(nextProps, nextState, nextContext) {
if (this.props.user.data.avatar !== nextProps.user.data.avatar) { // if (this.props.user.data.avatar !== nextProps.user.data.avatar) {
this.getCanvas() // this.getCanvas()
return false // return false
} // }
return true // return true
} // }
//
getCanvas() { getCanvas() {
document.documentElement.scrollTop = 0 document.documentElement.scrollTop = 0
...@@ -89,24 +89,23 @@ class scoreReport extends Component { ...@@ -89,24 +89,23 @@ class scoreReport extends Component {
} }
handleFetchInfo = (index) => { handleFetchInfo = (index) => {
http.get(`${API.home}/sys/at/user_score/${index}`).then(res => { http.get(`${API.home}/sys/at/user_score/${index}/${getParam('uid') ? getParam('uid') : 0}`).then(res => {
const {code, data} = res.data const {code, data} = res.data
if (code === 200) { if (code === 200) {
const {user, history} = this.props
if (user.hasError) {
history.push('/passport')
return
}
this.setState({ this.setState({
myRankList: data myRankList: data,
}) })
let avatar = this.props.user && this.props.user.data.avatar let avatar = data.avatar_file
this.getBase64(avatar) this.getBase64(avatar)
setTimeout(() => { setTimeout(() => {
this.getCanvas() this.getCanvas()
}, 500) }, 500)
} else if (code === 4030) {
const {user, history} = this.props
if (user.hasError) {
history.push('/passport')
}
} }
}) })
} }
...@@ -213,7 +212,7 @@ class scoreReport extends Component { ...@@ -213,7 +212,7 @@ class scoreReport extends Component {
<div className="comment text-overflow-4"> <div className="comment text-overflow-4">
<img className={'avatar_file'} src={avatar_file} alt=""/> <img className={'avatar_file'} src={avatar_file} alt=""/>
{myRankList && myRankList.title && myRankList.title.comment} <span dangerouslySetInnerHTML={{__html: myRankList.title}}></span>
</div> </div>
<div className="code"> <div className="code">
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
width: 100%; width: 100%;
background-color: #09f; background-color: #09f;
} }
.score-report { .score-report {
width: 100%; width: 100%;
padding: 30px 12px 45px 12px; padding: 30px 12px 45px 12px;
...@@ -115,6 +116,10 @@ ...@@ -115,6 +116,10 @@
font-size: 14px; font-size: 14px;
line-height: 21px; line-height: 21px;
margin: 15px 33px 0; margin: 15px 33px 0;
em {
text-decoration: line-through;
}
} }
.code { .code {
......
...@@ -6,6 +6,7 @@ import storage from 'store2' ...@@ -6,6 +6,7 @@ import storage from 'store2'
import { html } from '@/utils' import { html } from '@/utils'
import { compareDesc } from "date-fns"; import { compareDesc } from "date-fns";
import { Link } from "react-router-dom"; import { Link } from "react-router-dom";
import { connect } from "react-redux";
class Scores extends Component { class Scores extends Component {
...@@ -48,9 +49,19 @@ class Scores extends Component { ...@@ -48,9 +49,19 @@ class Scores extends Component {
componentDidMount() { componentDidMount() {
this.getInitialData() this.getInitialData()
this.getRankList(null, 0) this.getRankList(null, 0)
if (!this.props.user.hasError) {
this.getUserScores(0) this.getUserScores(0)
this.getUserAddress() this.getUserAddress()
} }
}
componentDidUpdate(prevProps, prevState) {
if (this.props.user.hasError !== prevProps.user.hasError) {
this.getUserScores(0)
this.getUserAddress()
}
}
handleChange = (e) => { handleChange = (e) => {
const isNeverSHow = e.target.checked const isNeverSHow = e.target.checked
...@@ -95,7 +106,7 @@ class Scores extends Component { ...@@ -95,7 +106,7 @@ class Scores extends Component {
} }
getUserScores = (type) => { getUserScores = (type) => {
http.get(`${API.home}/sys/at/user_score/${type}`) http.get(`${API.home}/sys/at/user_score/${type}/0`)
.then(res => { .then(res => {
const {code, msg, data} = res.data const {code, msg, data} = res.data
...@@ -171,6 +182,7 @@ class Scores extends Component { ...@@ -171,6 +182,7 @@ class Scores extends Component {
userAddress, userAddress,
entryButtonInRule, entryButtonInRule,
} = this.state } = this.state
const {user, history} = this.props
const _rankList = Array.isArray(rankList) ? isExpandRankList ? rankList : rankList.slice(0, 10) : [] const _rankList = Array.isArray(rankList) ? isExpandRankList ? rankList : rankList.slice(0, 10) : []
return ( return (
<div className={'scores'}> <div className={'scores'}>
...@@ -202,7 +214,14 @@ class Scores extends Component { ...@@ -202,7 +214,14 @@ class Scores extends Component {
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> {
user.hasError
? <tr>
<td>--</td>
<td>--</td>
<td>--</td>
</tr>
: <tr>
{ {
userScore.score === '-' ? '-' : userScore.score === '-' ? '-' :
<td>{userScore.score} <Link to={`/ai-test/analysis/${userScore.r_id}`}>解析</Link></td> <td>{userScore.score} <Link to={`/ai-test/analysis/${userScore.r_id}`}>解析</Link></td>
...@@ -212,6 +231,7 @@ class Scores extends Component { ...@@ -212,6 +231,7 @@ class Scores extends Component {
userScore.rank === '-' ? '-' : <td>{userScore.rank}</td> userScore.rank === '-' ? '-' : <td>{userScore.rank}</td>
} }
</tr> </tr>
}
</tbody> </tbody>
</table> </table>
</div> </div>
...@@ -231,9 +251,13 @@ class Scores extends Component { ...@@ -231,9 +251,13 @@ class Scores extends Component {
<div> <div>
<span>仅显示前50</span> <span>仅显示前50</span>
<a href="javascript:void(0);" onClick={() => { <a href="javascript:void(0);" onClick={() => {
if (user.hasError) {
history.push('/passport')
} else {
this.setState({ this.setState({
isShowUserAddress: true, isShowUserAddress: true,
}) })
}
}}>收货地址</a> }}>收货地址</a>
</div> </div>
</div> </div>
...@@ -386,4 +410,7 @@ function Rule({neverShow, isNeverShow, rule, close, startTest, entryButtonInRule ...@@ -386,4 +410,7 @@ function Rule({neverShow, isNeverShow, rule, close, startTest, entryButtonInRule
} }
export default Scores; export default connect(
\ No newline at end of file ({user}) => ({user}),
null,
)(Scores);
\ No newline at end of file
...@@ -50,6 +50,10 @@ ...@@ -50,6 +50,10 @@
background-color: $blue-bg; background-color: $blue-bg;
} }
th{
width: 33.333333%;
}
} }
th { th {
......
import React, { Component } from 'react';
import './index.scss'
import { Link } from "react-router-dom";
import { browser, getParam, http } from "@/utils"
import { Toast } from "antd-mobile";
import { connect } from "react-redux";
import { WithFullSize } from "@/HOCs"
import { isEmpty } from "lodash";
import { addMessage, addResult, reselect } from './store'
const messageType = {
SYSTEM_MESSAGE: 1,
USER_MESSAGE: 2,
OPTIONS: 3,
}
class IntelligentRecommend extends Component {
state = {
showAnalyzing: false,
systemAvatar: 'https://julyedu-img-public.oss-cn-beijing.aliyuncs.com/Public/Image/home/avatar_20191104.png',
options: {
data: [],
messageId: 0,
},
next: {
oid: 0,
rid: 0,
},
}
componentDidMount() {
const {user, intelligentRecommend, history, reselect} = this.props
if (user.hasError) {
return history.push('/passport')
}
if (isEmpty(intelligentRecommend.result)) {
reselect()
this.getMessage()
}
}
handleSelect = (item) => {
this.props.addMessage({type: messageType.USER_MESSAGE, content: item.describe, id: item.id})
this.setState(state => ({
options: {data: [], messageId: 0},
next: {
...state.next,
oid: item.id,
},
}), () => {
this.getMessage()
})
}
getMessage = () => {
const {oid, rid} = this.state.next
http.get(`${API.home}/sys/icc/communicate/${oid}/${rid}`)
.then(res => {
const {data, code, msg} = res.data
if (code === 200) {
if (data.answer_type === 1) {
this.setState({
showAnalyzing: true,
}, () => {
setTimeout(() => {
this.setState({showAnalyzing: false})
this.props.addResult({...data})
}, Math.random() * 500 + 1000)
})
} else {
const message = {
type: messageType.SYSTEM_MESSAGE,
content: data.contents.find(item => item.is_question),
}
const optionsData = data.contents.filter(item => !item.is_question)
this.props.addMessage(message)
this.setState({
options: {
messageId: message.content.id,
data: optionsData,
},
next: {rid: data.rid},
})
}
} else {
Toast.fail(msg)
}
})
}
consult = (e) => {
e.preventDefault()
http.post(`${API.home}/sys/icc/consult`, {
rid: this.state.result.rid,
}).finally(() => {
window.location.href = e.target.getAttribute('href')
})
}
goBack = () => {
const {state} = this.props.location
if (browser.isWeixin && getParam('code') && getParam('state')) {
window.history.go(-2)
}
if (state.records && state.records.length > 1) {
window.history.go(-1);
} else if (state.from && state.from.pathname) {
location.replace(`${state.from.pathname}${state.from.search}`)
} else {
window.location.href = window.location.origin
}
}
render() {
const {showAnalyzing, systemAvatar, options} = this.state
const {user, intelligentRecommend: {result, processing}, reselect} = this.props
const recommends = result.contents
return (
<div id={'intelligent-recommend'}>
<div className="head">
<div>
<div className="go-back">
<i className='iconfont iconiconfront-68' onClick={this.goBack}></i>
</div>
<div className={'title'}>七月在线智能选课</div>
</div>
<button onClick={() => {
this.setState({
next: {oid: 0, rid: 0},
options: {messageId: 0, data: []},
}, () => {
reselect()
this.getMessage()
});
}}>重新选课
</button>
</div>
<div className="dialog-box">
{
!!processing.length && processing.map((item, index) => {
switch (item.type) {
case messageType.SYSTEM_MESSAGE:
return (
<React.Fragment key={index}>
<Message text={item.content.describe} identity={'system'} avatar={systemAvatar}/>
{
options.messageId === item.content.id &&
<Options options={options.data} handleSelect={this.handleSelect}/>
}
</React.Fragment>
)
case messageType.USER_MESSAGE:
return <Message text={item.content} identity={'user'} avatar={user.data.avatar} key={index + 2}/>
}
})
}
{
showAnalyzing && <div className="analyzing">努力分析中...</div>
}
</div>
{
!isEmpty(recommends) && <div className="result">
<div className="title">根据您目前的情况,推荐结果如下</div>
<div className="obtained">
<div className={'subtitle'} dangerouslySetInnerHTML={{__html: recommends.skill_title}}></div>
<div className={'skill'} dangerouslySetInnerHTML={{__html: recommends.skill_desc}}></div>
</div>
<div className="obtained">
<div className={'subtitle'} dangerouslySetInnerHTML={{__html: recommends.project_title}}></div>
<div className={'skill project'} dangerouslySetInnerHTML={{__html: recommends.project_desc}}></div>
{/*<ul>
<li className={'skill project'}>·技能描述、技能描述</li>
<li className={'skill project'}>·工作及项目描述、工作及项目描述、项目描述</li>
</ul>*/}
</div>
<div className={'salary-section'}>
<div className={'subtitle'} dangerouslySetInnerHTML={{__html: recommends.salary_title}}></div>
<div className={'salary'} dangerouslySetInnerHTML={{__html: recommends.salary_desc}}></div>
</div>
<div className="recommends">
<div>想获得以上技能,向您推荐:</div>
<ul className={'courses'}>
{
!!recommends.courses.length && recommends.courses.map(item => {
return <li className={'course'} key={item.course_id} onClick={(e) => {
if (e.target.nodeName.toLowerCase() !== 'a') {
if (item.course_id) {
this.props.history.push(`/detail?id=${item.course_id}`)
} else {
this.props.history.push(`/play?id=${item.v_course_id}`)
}
}
}}>
<div className="cover">
<img src={item.img_url}
alt=""/>
</div>
<div className="info">
<div className={'title'}>{item.recmd_title}</div>
<div className={'des'}>{item.recmd_desc}</div>
<div className="bar">
{
item.c_type === 1 && <React.Fragment key={item.course_id}>
<div className="prices">
<span className={'price'}>{item.price_sale}</span>
<span className={'old-price'}>{item.price_original}</span>
</div>
<Link className={'register'} to={`/detail?id=${item.course_id}`}>{item.second_btn}</Link>
</React.Fragment>
}
{
item.c_type === 2 && <React.Fragment key={item.course_id}>
<a href="http://q.url.cn/s/Vbkup6m?_type=wpa" className={'contact'}
onClick={this.consult.bind(this, item.rid)}>{item.consult}</a>
<Link className={'register'} to={`/detail?id=${item.course_id}`}>{item.second_btn}</Link>
</React.Fragment>
}
{
item.c_type === 0 &&
<Link className={'study'} to={`/play?id=${item.v_course_id}`}>{item.second_btn}</Link>
}
</div>
</div>
</li>
})
}
</ul>
</div>
</div>
}
</div>
);
}
}
function Message({text, avatar, identity}) {
return <div className={`message clearfix ${identity}`}>
<div className="avatar">
<img src={avatar} alt=""/>
</div>
<div className={`text`}>{text}</div>
</div>
}
function Options({options, handleSelect}) {
return <ul className={'options'}>
{
!!options.length && options.map(item => {
return <li onClick={() => handleSelect(item)} key={item.id}>
{item.describe}
</li>
})
}
</ul>
}
export default connect(
({user, intelligentRecommend}) => ({user, intelligentRecommend}),
{addMessage, addResult, reselect},
)(WithFullSize(IntelligentRecommend));
\ No newline at end of file
#intelligent-recommend {
background: linear-gradient(to right, #F1F0F6, #EBF4F9);
padding: 59px 10px 18px;
min-height: 100%;
.clearfix {
&::after {
content: ".";
visibility: hidden;
display: block;
height: 0;
clear: both;
}
}
.head {
position: fixed;
top: 0;
left: 0;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
height: 44px;
padding: 0 15px;
background: #fff;
z-index: 100;
& > div {
display: flex;
align-items: center;
}
.iconfont {
font-size: 16px;
color: #222;
font-weight: 600;
}
.title {
margin-left: 10px;
font-size: 15px;
color: #2b2b2b;
}
button {
width: 84px;
height: 30px;
border: 1px solid #09f;
border-radius: 15px;
color: #09f;
font-size: 13px;
outline: 0;
background-color: transparent;
-webkit-appearance: none;
}
}
.dialog-box {
padding: 20px 15px 20px;
margin-bottom: 20px;
background: rgba(242, 247, 250, 1);
border: 1px solid #5CF9FF;
border-radius: 8px;
.analyzing {
color: #4f5c66;
font-size: 12px;
line-height: 48px;
text-align: center;
}
}
.message {
.avatar {
display: inline-block;
margin-right: 14px;
img {
width: 30px;
height: 30px;
border-radius: 50%;
}
}
.text {
position: relative;
padding: 0 16px;
height: 40px;
display: inline-block;
background: rgba(255, 255, 255, 1);
border-radius: 4px;
font-size: 16px;
color: #333;
text-align: center;
line-height: 40px;
}
$angleSize: 8px;
@mixin pseudo {
content: '';
position: absolute;
top: 50%;
transform: translateY(-50%);
display: block;
border-color: transparent;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
}
&.system {
.text::before {
@include pseudo;
left: -$angleSize;
border-right: $angleSize solid #fff;
}
}
&.user {
.avatar {
float: right;
}
.text {
float: right;
margin-right: 15px;
background-color: #0036FF;
color: #fff;
&::after {
@include pseudo;
right: -$angleSize;
border-left: $angleSize solid #0036FF;
}
}
}
}
.message + .message {
margin-top: 30px;
}
.options {
position: relative;
padding-top: 18px;
margin-top: 15px;
&::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 8px;
background: url("./images/options-divide-line.png") no-repeat;
background-size: contain;
}
li {
width: 126px;
height: 33px;
margin: 0 auto 15px;
background: linear-gradient(90deg, rgba(0, 153, 255, 1) 0%, rgba(77, 184, 255, 1) 100%);
border-radius: 17px;
font-size: 16px;
color: #fff;
text-align: center;
line-height: 33px;
}
}
.result {
padding: 0 15px 30px;
background: rgba(255, 255, 255, 1);
border: 1px solid rgba(0, 153, 255, 1);
border-radius: 8px;
color: #333;
& > .title {
position: relative;
color: #09f;
font-size: 16px;
text-align: center;
line-height: 62px;
@mixin pseudo {
content: '';
position: absolute;
top: 50%;
transform: translateY(-50%);
display: block;
width: 11px;
height: 11px;
background: url("./images/title-decorator.png") no-repeat;
background-size: contain;
}
&::before {
@include pseudo;
left: 5%;
}
&::after {
@include pseudo;
right: 5%;
transform: translateY(-50%) scale(-1);
}
}
.subtitle {
font-size: 12px;
}
.skill {
font-size: 18px;
line-height: 36px;
font-weight: 600;
&.project {
font-size: 14px;
}
}
.salary {
font-size: 18px;
line-height: 2em;
font-weight: 500;
color: #FF2A00;
}
.obtained {
margin-bottom: 20px;
}
.salary-section {
margin-bottom: 20px;
}
.recommends {
& > div:nth-child(1) {
margin-bottom: 12px;
font-size: 12px;
color: #09f;
}
.cover {
flex: 0 0 auto;
width: 125px;
height: 90px;
margin-right: 10px;
img {
width: 100%;
height: 100%;
}
}
.course {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
.info {
flex: 1 1 auto;
position: relative;
}
.title {
width: 190px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-bottom: 8px;
font-size: 16px;
line-height: 16px;
font-weight: 500;
color: #333;
}
.des {
display: -webkit-box;
/* autoprefixer: ignore next */
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
margin-bottom: 5px;
overflow: hidden;
font-size: 11px;
color: #4F5C66;
}
.bar {
position: absolute;
left: 0;
bottom: 0;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
height: 24px;
font-size: 0;
a {
display: inline-block;
box-sizing: border-box;
padding: 6px 14px;
text-align: center;
font-size: 12px;
line-height: 12px;
border-radius: 12px;
}
.contact {
color: #fff;
background-color: #09f;
margin-right: 6px;
}
.register {
color: #FF0000;
border: 1px solid #FF0000;
}
.price {
font-size: 15px;
color: #FF2121;
margin-right: 5px;
}
.old-price {
font-size: 11px;
color: #999;
text-decoration: line-through;
}
.study {
background-color: #09f;
color: #fff;
font-size: 12px;
}
}
}
}
}
}
\ No newline at end of file
export const ADD_MESSAGE = 'ADD_MESSAGE'
export const ADD_RESULT = 'ADD_RESULT'
export const RESELECT = 'RESELECT'
export const addMessage = payload => {
return {
type: ADD_MESSAGE,
payload,
}
}
export const addResult = payload => {
return {
type: ADD_RESULT,
payload,
}
}
export const reselect = () => {
return {
type: RESELECT
}
}
const initialState = {
processing: [],
result: {},
}
export default function intelligentRecommend(state = initialState, action) {
switch (action.type) {
case ADD_MESSAGE:
return {
processing: [...state.processing, action.payload],
result: state.result,
}
case ADD_RESULT:
return {
processing: state.processing,
result: action.payload,
}
case RESELECT:
return initialState
default:
return state
}
}
\ No newline at end of file
...@@ -55,7 +55,7 @@ function Record({record: {seconds, lesson_name}}) { ...@@ -55,7 +55,7 @@ function Record({record: {seconds, lesson_name}}) {
const Bottom = React.memo(({item}) => { const Bottom = React.memo(({item}) => {
if (item.ago || item.seconds) { if (item.ago || item.seconds) {
let date = new Date(item.ago * 1000) let date = new Date(item.ago * 1000)
let time = isToday(date) ? format(date, 'HH时mm分') : format(date, 'MM月DD日') let time = isToday(date) ? format(date, 'HH时mm分') : format(date, 'MM月dd日')
return ( return (
<div className="des"> <div className="des">
<span className='time'>{time}</span> <span className='time'>{time}</span>
......
...@@ -324,15 +324,20 @@ export default [ ...@@ -324,15 +324,20 @@ export default [
{ {
path: '/ml', path: '/ml',
exact: true, exact: true,
component: loadable(() => import(/* ml */'@/components/ml')), component: loadable(() => import(/* webpackChunkName: 'ml' */'@/components/ml')),
}, },
{ {
path: '/mlShare', path: '/mlShare',
component: loadable(() => import('@/components/mlShare')), component: loadable(() => import(/* webpackChunkName: 'mlShare' */'@/components/mlShare')),
}, },
//ai水平测试 //ai水平测试
{ {
path: '/ai-test', path: '/ai-test',
component: loadable(() => import('@/components/ai-test')), component: loadable(() => import(/* webpackChunkName: 'ai-test' */'@/components/ai-test')),
},
//智能选课
{
path: '/intelligent-recommend',
component: loadable(() => import(/* webpackChunkName: 'intelligent-recommend' */'@/components/intelligent-recommend')),
}, },
] ]
...@@ -3,13 +3,15 @@ import myCourses from '@/components/study/myCourses/reducers' ...@@ -3,13 +3,15 @@ import myCourses from '@/components/study/myCourses/reducers'
import courseInfo from '@/components/detail/reducers' import courseInfo from '@/components/detail/reducers'
import user from './userReducer' import user from './userReducer'
import country from '@/components/country/countryRedux' import country from '@/components/country/countryRedux'
import intelligentRecommend from "@components/intelligent-recommend/store"
const reducer = combineReducers({ const reducer = combineReducers({
myCourses, myCourses,
courseInfo, courseInfo,
user, user,
country country,
intelligentRecommend
}); });
export default reducer; export default reducer;
\ No newline at end of file
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