Commit c58fedca by zhanghaozhe

虚拟奖品

parents ef55b20f 3c75be2c
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
.am-search{display:flex;align-items:center;height:11.733333vw;padding:0 2.133333vw;background-color:#efeff4}.am-search,.am-search-input{position:relative;overflow:hidden}.am-search-input{flex:1 1;width:100%;height:7.466667vw;background-color:#fff;background-clip:padding-box;border-radius:.8vw}.am-search-input .am-search-synthetic-ph,.am-search-input input[type=search]{position:absolute;top:0;left:0}.am-search-input .am-search-synthetic-ph{box-sizing:initial;z-index:1;height:7.466667vw;line-height:7.466667vw;width:100%;-webkit-transition:width .3s;transition:width .3s;display:block;text-align:center}.am-search-input .am-search-synthetic-ph-icon{display:inline-block;margin-right:1.333333vw;width:4vw;height:4vw;overflow:hidden;vertical-align:-.666667vw;background-repeat:no-repeat;background-size:4vw auto;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='38' height='36' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M29.05 25.23a15.81 15.81 0 0 0 3.004-9.294c0-8.8-7.17-15.934-16.017-15.934C7.192.002.02 7.136.02 15.936c0 8.802 7.172 15.937 16.017 15.937a16 16 0 0 0 10.772-4.143l8.873 8.232 2.296-2.45-8.927-8.282zM16.2 28.933c-7.19 0-13.04-5.788-13.04-12.903 0-7.113 5.85-12.904 13.04-12.904 7.19 0 12.9 5.79 12.9 12.904 0 7.115-5.71 12.903-12.9 12.903z' fill='%23bbb' fill-rule='evenodd'/%3E%3C/svg%3E")}.am-search-input .am-search-synthetic-ph-placeholder{color:#bbb;font-size:4vw}.am-search-input input[type=search]{z-index:2;opacity:0;width:100%;text-align:left;display:block;color:#000;height:7.466667vw;font-size:4vw;background-color:initial;border:0}.am-search-input input[type=search]::-webkit-input-placeholder{background:none;text-align:left;color:transparent}.am-search-input input[type=search]::-moz-placeholder{background:none;text-align:left;color:transparent}.am-search-input input[type=search]::-ms-input-placeholder{background:none;text-align:left;color:transparent}.am-search-input input[type=search]::placeholder{background:none;text-align:left;color:transparent}.am-search-input input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.am-search-input .am-search-clear{box-sizing:initial;position:absolute;display:none;z-index:3;width:4vw;height:4vw;padding:1.733333vw;border-radius:50%;top:0;right:0;background-color:initial;background-position:50%;background-repeat:no-repeat;background-size:4vw 4vw;-webkit-transition:all .3s;transition:all .3s;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='14' fill='%23ccc'/%3E%3Cpath stroke='%23fff' stroke-width='2' stroke-miterlimit='10' d='M8 8l12 12'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-miterlimit='10' d='M20 8L8 20'/%3E%3C/svg%3E")}.am-search-input .am-search-clear-active{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='14' fill='%23108ee9'/%3E%3Cpath stroke='%23fff' stroke-width='2' stroke-miterlimit='10' d='M8 8l12 12'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-miterlimit='10' d='M20 8L8 20'/%3E%3C/svg%3E")}.am-search-input .am-search-clear-show{display:block}.am-search-cancel{flex:none;opacity:0;padding-left:2.133333vw;height:11.733333vw;line-height:11.733333vw;font-size:4.266667vw;color:#108ee9;text-align:right}.am-search-cancel-anim{-webkit-transition:margin-right .3s,opacity .3s;transition:margin-right .3s,opacity .3s;-webkit-transition-delay:.1s;transition-delay:.1s}.am-search-cancel-show{opacity:1}.am-search.am-search-start .am-search-input input[type=search]{opacity:1;padding:0 7.466667vw 0 9.333333vw}.am-search.am-search-start .am-search-input input[type=search]::-webkit-input-placeholder{color:transparent}.am-search.am-search-start .am-search-input input[type=search]::-moz-placeholder{color:transparent}.am-search.am-search-start .am-search-input input[type=search]::-ms-input-placeholder{color:transparent}.am-search.am-search-start .am-search-input input[type=search]::placeholder{color:transparent}.am-search.am-search-start .am-search-input .am-search-synthetic-ph{padding-left:4vw;width:auto} .am-search{display:flex;align-items:center;height:11.733333vw;padding:0 2.133333vw;background-color:#efeff4}.am-search,.am-search-input{position:relative;overflow:hidden}.am-search-input{flex:1 1;width:100%;height:7.466667vw;background-color:#fff;background-clip:padding-box;border-radius:.8vw}.am-search-input .am-search-synthetic-ph,.am-search-input input[type=search]{position:absolute;top:0;left:0}.am-search-input .am-search-synthetic-ph{box-sizing:initial;z-index:1;height:7.466667vw;line-height:7.466667vw;width:100%;-webkit-transition:width .3s;transition:width .3s;display:block;text-align:center}.am-search-input .am-search-synthetic-ph-icon{display:inline-block;margin-right:1.333333vw;width:4vw;height:4vw;overflow:hidden;vertical-align:-.666667vw;background-repeat:no-repeat;background-size:4vw auto;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='38' height='36' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M29.05 25.23a15.81 15.81 0 0 0 3.004-9.294c0-8.8-7.17-15.934-16.017-15.934C7.192.002.02 7.136.02 15.936c0 8.802 7.172 15.937 16.017 15.937a16 16 0 0 0 10.772-4.143l8.873 8.232 2.296-2.45-8.927-8.282zM16.2 28.933c-7.19 0-13.04-5.788-13.04-12.903 0-7.113 5.85-12.904 13.04-12.904 7.19 0 12.9 5.79 12.9 12.904 0 7.115-5.71 12.903-12.9 12.903z' fill='%23bbb' fill-rule='evenodd'/%3E%3C/svg%3E")}.am-search-input .am-search-synthetic-ph-placeholder{color:#bbb;font-size:4vw}.am-search-input input[type=search]{z-index:2;opacity:0;width:100%;text-align:left;display:block;color:#000;height:7.466667vw;font-size:4vw;background-color:initial;border:0}.am-search-input input[type=search]::-webkit-input-placeholder{background:none;text-align:left;color:transparent}.am-search-input input[type=search]::-moz-placeholder{background:none;text-align:left;color:transparent}.am-search-input input[type=search]::-ms-input-placeholder{background:none;text-align:left;color:transparent}.am-search-input input[type=search]::placeholder{background:none;text-align:left;color:transparent}.am-search-input input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.am-search-input .am-search-clear{box-sizing:initial;position:absolute;display:none;z-index:3;width:4vw;height:4vw;padding:1.733333vw;border-radius:50%;top:0;right:0;background-color:initial;background-position:50%;background-repeat:no-repeat;background-size:4vw 4vw;-webkit-transition:all .3s;transition:all .3s;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='14' fill='%23ccc'/%3E%3Cpath stroke='%23fff' stroke-width='2' stroke-miterlimit='10' d='M8 8l12 12'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-miterlimit='10' d='M20 8L8 20'/%3E%3C/svg%3E")}.am-search-input .am-search-clear-active{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='14' fill='%23108ee9'/%3E%3Cpath stroke='%23fff' stroke-width='2' stroke-miterlimit='10' d='M8 8l12 12'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-miterlimit='10' d='M20 8L8 20'/%3E%3C/svg%3E")}.am-search-input .am-search-clear-show{display:block}.am-search-cancel{flex:none;opacity:0;padding-left:2.133333vw;height:11.733333vw;line-height:11.733333vw;font-size:4.266667vw;color:#108ee9;text-align:right}.am-search-cancel-anim{-webkit-transition:margin-right .3s,opacity .3s;transition:margin-right .3s,opacity .3s;-webkit-transition-delay:.1s;transition-delay:.1s}.am-search-cancel-show{opacity:1}.am-search.am-search-start .am-search-input input[type=search]{opacity:1;padding:0 7.466667vw 0 9.333333vw}.am-search.am-search-start .am-search-input input[type=search]::-webkit-input-placeholder{color:transparent}.am-search.am-search-start .am-search-input input[type=search]::-moz-placeholder{color:transparent}.am-search.am-search-start .am-search-input input[type=search]::-ms-input-placeholder{color:transparent}.am-search.am-search-start .am-search-input input[type=search]::placeholder{color:transparent}.am-search.am-search-start .am-search-input .am-search-synthetic-ph{padding-left:4vw;width:auto}
/*# sourceMappingURL=39.6b450e29.chunk.css.map */ /*# sourceMappingURL=38.6b450e29.chunk.css.map */
\ No newline at end of file \ No newline at end of file
.am-radio{position:relative;display:inline-block;vertical-align:middle;width:4vw;height:4vw}.am-radio-inner{position:absolute;right:0;width:4vw;height:4vw;box-sizing:border-box;-webkit-transform:rotate(0deg);transform:rotate(0deg)}.am-radio-inner:after{position:absolute;display:none;top:-.666667vw;right:1.333333vw;z-index:999;width:1.866667vw;height:3.733333vw;border-style:solid;border-width:0 .4vw .4vw 0;content:" ";-webkit-transform:rotate(45deg);transform:rotate(45deg)}.am-radio-input{position:absolute;top:0;left:0;opacity:0;width:100%;height:100%;z-index:2;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.am-radio.am-radio-checked .am-radio-inner{border-width:0}.am-radio.am-radio-checked .am-radio-inner:after{display:block;border-color:#108ee9}.am-radio.am-radio-disabled.am-radio-checked .am-radio-inner:after{display:block;border-color:#bbb}.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra{flex:0 1}.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra .am-radio{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:11.733333vw;overflow:visible}.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra .am-radio-inner{right:4vw;top:4vw}.am-list .am-list-item.am-radio-item.am-radio-item-disabled .am-list-content{color:#bbb} .am-radio{position:relative;display:inline-block;vertical-align:middle;width:4vw;height:4vw}.am-radio-inner{position:absolute;right:0;width:4vw;height:4vw;box-sizing:border-box;-webkit-transform:rotate(0deg);transform:rotate(0deg)}.am-radio-inner:after{position:absolute;display:none;top:-.666667vw;right:1.333333vw;z-index:999;width:1.866667vw;height:3.733333vw;border-style:solid;border-width:0 .4vw .4vw 0;content:" ";-webkit-transform:rotate(45deg);transform:rotate(45deg)}.am-radio-input{position:absolute;top:0;left:0;opacity:0;width:100%;height:100%;z-index:2;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.am-radio.am-radio-checked .am-radio-inner{border-width:0}.am-radio.am-radio-checked .am-radio-inner:after{display:block;border-color:#108ee9}.am-radio.am-radio-disabled.am-radio-checked .am-radio-inner:after{display:block;border-color:#bbb}.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra{flex:0 1}.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra .am-radio{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:11.733333vw;overflow:visible}.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra .am-radio-inner{right:4vw;top:4vw}.am-list .am-list-item.am-radio-item.am-radio-item-disabled .am-list-content{color:#bbb}
/*# sourceMappingURL=41.44620a41.chunk.css.map */ /*# sourceMappingURL=40.44620a41.chunk.css.map */
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["/Users/wangshuo/mr-julyedu/node_modules/antd-mobile/lib/radio/style/index.css","40.44620a41.chunk.css"],"names":[],"mappings":"AAAA,UACE,iBAAA,CACA,oBAAA,CACA,qBAAA,CACA,SAAA,CACA,UCCF,CDCA,gBACE,iBAAA,CACA,OAAA,CACA,SAAA,CACA,UAAA,CAEQ,qBAAA,CACR,8BAAA,CAEQ,sBCDV,CDGA,sBACE,iBAAA,CACA,YAAA,CACA,cAAA,CACA,gBAAA,CACA,WAAA,CACA,gBAAA,CACA,iBAAA,CACA,kBAAA,CACA,0BAAA,CACA,WAAA,CACA,+BAAA,CAEQ,uBCFV,CDIA,gBACE,iBAAA,CACA,KAAA,CACA,MAAA,CACA,SAAA,CACA,UAAA,CACA,WAAA,CACA,SAAA,CACA,QAAA,CACA,uBAAA,CACG,oBAAA,CACK,eCFV,CDIA,2CACE,cCFF,CDIA,iDACE,aAAA,CACA,oBCFF,CDIA,mEACE,aAAA,CACA,iBCFF,CDIA,kEAIU,QCLV,CDOA,4EACE,iBAAA,CACA,KAAA,CACA,MAAA,CACA,OAAA,CACA,QAAA,CACA,UAAA,CACA,kBAAA,CACA,gBCLF,CDOA,kFACE,SAAA,CACA,OCLF,CDOA,6EACE,UCLF","file":"40.44620a41.chunk.css","sourcesContent":[".am-radio {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n width: 15px;\n height: 15px;\n}\n.am-radio-inner {\n position: absolute;\n right: 0;\n width: 15px;\n height: 15px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n -webkit-transform: rotate(0deg);\n -ms-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n.am-radio-inner:after {\n position: absolute;\n display: none;\n top: -2.5px;\n right: 5px;\n z-index: 999;\n width: 7px;\n height: 14px;\n border-style: solid;\n border-width: 0 1.5px 1.5px 0;\n content: '\\0020';\n -webkit-transform: rotate(45deg);\n -ms-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.am-radio-input {\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n width: 100%;\n height: 100%;\n z-index: 2;\n border: 0 none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.am-radio.am-radio-checked .am-radio-inner {\n border-width: 0;\n}\n.am-radio.am-radio-checked .am-radio-inner:after {\n display: block;\n border-color: #108ee9;\n}\n.am-radio.am-radio-disabled.am-radio-checked .am-radio-inner:after {\n display: block;\n border-color: #bbb;\n}\n.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra {\n -webkit-box-flex: 0;\n -webkit-flex: 0;\n -ms-flex: 0;\n flex: 0;\n}\n.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra .am-radio {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 44px;\n overflow: visible;\n}\n.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra .am-radio-inner {\n right: 15px;\n top: 15px;\n}\n.am-list .am-list-item.am-radio-item.am-radio-item-disabled .am-list-content {\n color: #bbb;\n}\n",".am-radio {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n width: 4vw;\n height: 4vw;\n}\n.am-radio-inner {\n position: absolute;\n right: 0;\n width: 4vw;\n height: 4vw;\n box-sizing: border-box;\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n.am-radio-inner:after {\n position: absolute;\n display: none;\n top: -0.666667vw;\n right: 1.333333vw;\n z-index: 999;\n width: 1.866667vw;\n height: 3.733333vw;\n border-style: solid;\n border-width: 0 0.4vw 0.4vw 0;\n content: ' ';\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.am-radio-input {\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n width: 100%;\n height: 100%;\n z-index: 2;\n border: 0 none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.am-radio.am-radio-checked .am-radio-inner {\n border-width: 0;\n}\n.am-radio.am-radio-checked .am-radio-inner:after {\n display: block;\n border-color: #108ee9;\n}\n.am-radio.am-radio-disabled.am-radio-checked .am-radio-inner:after {\n display: block;\n border-color: #bbb;\n}\n.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra {\n flex: 0 1;\n}\n.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra .am-radio {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 11.733333vw;\n overflow: visible;\n}\n.am-list .am-list-item.am-radio-item .am-list-line .am-list-extra .am-radio-inner {\n right: 4vw;\n top: 4vw;\n}\n.am-list .am-list-item.am-radio-item.am-radio-item-disabled .am-list-content {\n color: #bbb;\n}\n\n"]}
\ No newline at end of file
.callback-box{width:100%;height:100%;position:relative}.callback-box .banner{width:100%;height:68.8vw;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/bg-img.png);background-repeat:no-repeat;background-size:contain}.callback-box .content{position:absolute;top:3.466667vw;left:2.666667vw;width:94.666667vw;background-color:#fff;border-radius:1.066667vw;box-shadow:0 .8vw 1.6vw 0 rgba(0,0,0,.06);padding:4.8vw 2.666667vw 6.666667vw}.callback-box .content .title{text-align:center;color:#ff3131;font-size:4.8vw;font-weight:500}.callback-box .content .coupon{background-color:#8361fe;width:89.333333vw;height:25.333333vw;border-radius:.8vw .8vw 0 0;margin-top:2.666667vw;padding:2.666667vw 3.2vw;color:#fff}.callback-box .content .coupon p{width:100%;text-align:center;font-size:3.2vw}.callback-box .content .coupon .coupon-name{text-align:left;font-size:3.733333vw;height:4.266667vw;line-height:4.266667vw}.callback-box .content .coupon .coupon-price{height:7.466667vw;line-height:7.466667vw}.callback-box .content .coupon .coupon-price span{font-size:6.933333vw}.callback-box .content .coupon .coupon-time{margin-top:.8vw}.callback-box .content .tip{width:89.333333vw;height:9.866667vw;padding-left:3.2vw;text-align:left;font-size:3.2vw;color:#666;line-height:9.866667vw;background-color:#fff;box-shadow:0 .533333vw 1.6vw 0 rgba(0,0,0,.1);border-radius:0 0 .8vw .8vw;position:relative}.callback-box .content .tip ul{position:absolute;top:-1.333333vw;left:0;width:100%;display:flex;justify-content:space-around}.callback-box .content .tip ul li{width:2.666667vw;height:2.666667vw;border-radius:50%;background-color:#fff}.callback-box .content .expand{color:#ff3131;margin-top:4vw;font-size:5.866667vw;text-align:center}.callback-box .content .expand img{margin:0 4vw}.callback-box .content .expand .expand-big{font-size:8vw}.callback-box .content .invitation{width:85.333333vw;height:11.733333vw;background-color:#8361fe;border-radius:1.066667vw;font-size:4.266667vw;color:#fff;margin-top:4vw;border:none}.callback-box .content .active-time{color:#999;font-size:3.733333vw;margin-top:2.666667vw;text-align:center}.callback-box .content .active-tip{color:#8361fe;font-size:4.266667vw;margin-top:3.466667vw;text-align:center} .callback-box{width:100%;height:100%;position:relative}.callback-box .banner{width:100%;height:68.8vw;background-image:url(https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/bg-img.png);background-repeat:no-repeat;background-size:contain}.callback-box .content{position:absolute;top:3.466667vw;left:2.666667vw;width:94.666667vw;background-color:#fff;border-radius:1.066667vw;box-shadow:0 .8vw 1.6vw 0 rgba(0,0,0,.06);padding:4.8vw 2.666667vw 6.666667vw}.callback-box .content .title{text-align:center;color:#ff3131;font-size:4.8vw;font-weight:500}.callback-box .content .coupon{background-color:#8361fe;width:89.333333vw;height:25.333333vw;border-radius:.8vw .8vw 0 0;margin-top:2.666667vw;padding:2.666667vw 3.2vw;color:#fff}.callback-box .content .coupon p{width:100%;text-align:center;font-size:3.2vw}.callback-box .content .coupon .coupon-name{text-align:left;font-size:3.733333vw;height:4.266667vw;line-height:4.266667vw}.callback-box .content .coupon .coupon-price{height:7.466667vw;line-height:7.466667vw}.callback-box .content .coupon .coupon-price span{font-size:6.933333vw}.callback-box .content .coupon .coupon-time{margin-top:.8vw}.callback-box .content .tip{width:89.333333vw;height:9.866667vw;padding-left:3.2vw;text-align:left;font-size:3.2vw;color:#666;line-height:9.866667vw;background-color:#fff;box-shadow:0 .533333vw 1.6vw 0 rgba(0,0,0,.1);border-radius:0 0 .8vw .8vw;position:relative}.callback-box .content .tip ul{position:absolute;top:-1.333333vw;left:0;width:100%;display:flex;justify-content:space-around}.callback-box .content .tip ul li{width:2.666667vw;height:2.666667vw;border-radius:50%;background-color:#fff}.callback-box .content .expand{color:#ff3131;margin-top:4vw;font-size:5.866667vw;text-align:center}.callback-box .content .expand img{margin:0 4vw}.callback-box .content .expand .expand-big{font-size:8vw}.callback-box .content .invitation{width:85.333333vw;height:11.733333vw;background-color:#8361fe;border-radius:1.066667vw;font-size:4.266667vw;color:#fff;margin-top:4vw;border:none}.callback-box .content .active-time{color:#999;font-size:3.733333vw;margin-top:2.666667vw;text-align:center}.callback-box .content .active-tip{color:#8361fe;font-size:4.266667vw;margin-top:3.466667vw;text-align:center}
/*# sourceMappingURL=43.c783b09f.chunk.css.map */ /*# sourceMappingURL=42.c783b09f.chunk.css.map */
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["/Users/wangshuo/mr-julyedu/src/components/expand/callback.scss"],"names":[],"mappings":"AAmGA,cACE,UAAA,CACA,WAAA,CACA,iBAAkB,CAHpB,sBAMI,UAAA,CACA,aAAA,CACA,+FAAA,CACA,2BAAA,CACA,uBAAwB,CAV5B,uBAeI,iBAAA,CACA,cAAA,CACA,eAAA,CACA,iBAAA,CACA,qBAAA,CACA,wBAAA,CACA,yCAAA,CACA,mCAA4B,CAtBhC,8BAyBM,iBAAA,CACA,aAAA,CACA,eAAA,CACA,eAAe,CA5BrB,+BAgCM,wBAAA,CACA,iBAAA,CACA,kBAAA,CACA,2BAAA,CACA,qBAAA,CACA,wBAAA,CACA,UAAW,CAtCjB,iCAyCQ,UAAA,CACA,iBAAA,CACA,eAAe,CA3CvB,4CA+CQ,eAAA,CACA,oBAAA,CACA,iBAAA,CACA,sBAAiB,CAlDzB,6CAsDQ,iBAAA,CACA,sBAAiB,CAvDzB,kDAyDU,oBAAe,CAzDzB,4CA8DQ,eAAe,CA9DvB,4BAmEM,iBAAA,CACA,iBAAA,CACA,kBAAA,CACA,eAAA,CACA,eAAA,CACA,UAAA,CACA,sBAAA,CACA,qBAAA,CACA,6CAAA,CACA,2BAAA,CACA,iBAAkB,CA7ExB,+BAgFQ,iBAAA,CACA,eAAA,CACA,MAAA,CACA,UAAA,CACA,YAAA,CACA,4BAA6B,CArFrC,kCAwFU,gBAAA,CACA,iBAAA,CACA,iBAAA,CACA,qBAAsB,CA3FhC,+BAiGM,aAAA,CACA,cAAA,CACA,oBAAA,CACA,iBAAkB,CApGxB,mCAsGQ,YAAc,CAtGtB,2CA0GQ,aAAe,CA1GvB,mCA+GM,iBAAA,CACA,kBAAA,CACA,wBAAA,CACA,wBAAA,CACA,oBAAA,CACA,UAAA,CACA,cAAA,CACA,WAAY,CAtHlB,oCA0HM,UAAA,CACA,oBAAA,CACA,qBAAA,CACA,iBAAkB,CA7HxB,mCAiIM,aAAA,CACA,oBAAA,CACA,qBAAA,CACA,iBAAkB","file":"42.c783b09f.chunk.css","sourcesContent":["@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.callback-box {\n width: 100%;\n height: 100%;\n position: relative; }\n .callback-box .banner {\n width: 100%;\n height: 258px;\n background-image: url(\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/bg-img.png\");\n background-repeat: no-repeat;\n background-size: contain; }\n .callback-box .content {\n position: absolute;\n top: 13px;\n left: 10px;\n width: 355px;\n background-color: #fff;\n border-radius: 4px;\n box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.06);\n padding: 18px 10px 25px 10px; }\n .callback-box .content .title {\n text-align: center;\n color: #FF3131;\n font-size: 18px;\n font-weight: 500; }\n .callback-box .content .coupon {\n background-color: #8361FE;\n width: 335px;\n height: 95px;\n border-radius: 3px 3px 0 0;\n margin-top: 10px;\n padding: 10px 12px;\n color: #fff; }\n .callback-box .content .coupon p {\n width: 100%;\n text-align: center;\n font-size: 12px; }\n .callback-box .content .coupon .coupon-name {\n text-align: left;\n font-size: 14px;\n height: 16px;\n line-height: 16px; }\n .callback-box .content .coupon .coupon-price {\n height: 28px;\n line-height: 28px; }\n .callback-box .content .coupon .coupon-price span {\n font-size: 26px; }\n .callback-box .content .coupon .coupon-time {\n margin-top: 3px; }\n .callback-box .content .tip {\n width: 335px;\n height: 37px;\n padding-left: 12px;\n text-align: left;\n font-size: 12px;\n color: #666;\n line-height: 37px;\n background-color: #fff;\n box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);\n border-radius: 0 0 3px 3px;\n position: relative; }\n .callback-box .content .tip ul {\n position: absolute;\n top: -5px;\n left: 0;\n width: 100%;\n display: flex;\n justify-content: space-around; }\n .callback-box .content .tip ul li {\n width: 10px;\n height: 10px;\n border-radius: 50%;\n background-color: #fff; }\n .callback-box .content .expand {\n color: #FF3131;\n margin-top: 15px;\n font-size: 22px;\n text-align: center; }\n .callback-box .content .expand img {\n margin: 0 15px; }\n .callback-box .content .expand .expand-big {\n font-size: 30px; }\n .callback-box .content .invitation {\n width: 320px;\n height: 44px;\n background-color: #8361FE;\n border-radius: 4px;\n font-size: 16px;\n color: #fff;\n margin-top: 15px;\n border: none; }\n .callback-box .content .active-time {\n color: #999;\n font-size: 14px;\n margin-top: 10px;\n text-align: center; }\n .callback-box .content .active-tip {\n color: #8361FE;\n font-size: 16px;\n margin-top: 13px;\n text-align: center; }\n"]}
\ No newline at end of file
#prize-winner-list{height:100%;background:#5327fa}#prize-winner-list .banner{width:100%;height:44.8vw;margin-bottom:8vw}#prize-winner-list .banner img{width:100%;height:100%}#prize-winner-list h1{font-size:3.733333vw;color:#fefdc7;text-align:center;margin-bottom:4vw}#prize-winner-list h1 span{margin:0 3.2vw}#prize-winner-list h1 .icon{width:6.666667vw;height:3.2vw}#prize-winner-list ul{width:94.666667vw;height:84.266667vw;margin:0 auto;background:#3900c9;border:1px solid #5970ff;border-radius:1.066667vw}#prize-winner-list ul li:nth-of-type(odd){background:#3900c9}#prize-winner-list ul li:nth-of-type(2n){background:#4200eb}#prize-winner-list ul li{height:11.733333vw;color:#faf9e1;display:flex;text-align:left;line-height:11.733333vw}#prize-winner-list ul .title{color:#95fbca;text-align:center}#prize-winner-list ul .code,#prize-winner-list ul .user-name{width:29.333333vw;padding-left:2.133333vw}#prize-winner-list ul .user-name{text-align:center}#prize-winner-list ul .prize{width:36vw;padding-right:2.133333vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/*# sourceMappingURL=prize-winner-list.013af682.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["/Users/wangshuo/mr-julyedu/src/components/activity/prize-winner-list/index.scss"],"names":[],"mappings":"AAmGA,mBACI,WAAA,CACA,kBAAmB,CAFvB,2BAKQ,UAAA,CACA,aAAA,CACA,iBAAmB,CAP3B,+BAUY,UAAA,CACA,WAAY,CAXxB,sBAgBQ,oBAAA,CACA,aAAA,CACA,iBAAA,CACA,iBAAmB,CAnB3B,2BAsBY,cAAc,CAtB1B,4BA0BY,gBAAA,CACA,YAAY,CA3BxB,sBAgCQ,iBAAA,CACA,kBAAA,CACA,aAAA,CACA,kBAAA,CACA,wBAAA,CACA,wBAAkB,CArC1B,0CAwCY,kBAAmB,CAxC/B,yCA4CY,kBAAmB,CA5C/B,yBAgDY,kBAAA,CACA,aAAA,CACA,YAAA,CACA,eAAA,CACA,uBAAiB,CApD7B,6BAwDY,aAAA,CACA,iBAAkB,CAzD9B,6DA6DY,iBAAA,CACA,uBAAiB,CA9D7B,iCAiEY,iBAAkB,CAjE9B,6BAqEY,UAAA,CACA,wBAAA,CACA,kBAAA,CACA,eAAA,CACA,sBAAuB","file":"prize-winner-list.013af682.chunk.css","sourcesContent":["@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n#prize-winner-list {\n height: 100%;\n background: #5327fa; }\n #prize-winner-list .banner {\n width: 100%;\n height: 168px;\n margin-bottom: 30px; }\n #prize-winner-list .banner img {\n width: 100%;\n height: 100%; }\n #prize-winner-list h1 {\n font-size: 14px;\n color: #FEFDC7;\n text-align: center;\n margin-bottom: 15px; }\n #prize-winner-list h1 span {\n margin: 0 12px; }\n #prize-winner-list h1 .icon {\n width: 25px;\n height: 12px; }\n #prize-winner-list ul {\n width: 355px;\n height: 316px;\n margin: 0 auto;\n background: #3900c9;\n border: 1px solid #5970ff;\n border-radius: 4px; }\n #prize-winner-list ul li:nth-of-type(2n+1) {\n background: #3900C9; }\n #prize-winner-list ul li:nth-of-type(2n) {\n background: #4200EB; }\n #prize-winner-list ul li {\n height: 44px;\n color: #FAF9E1;\n display: flex;\n text-align: left;\n line-height: 44px; }\n #prize-winner-list ul .title {\n color: #95FBCA;\n text-align: center; }\n #prize-winner-list ul .code, #prize-winner-list ul .user-name {\n width: 110px;\n padding-left: 8px; }\n #prize-winner-list ul .user-name {\n text-align: center; }\n #prize-winner-list ul .prize {\n width: 135px;\n padding-right: 8px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis; }\n"]}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([[43],{1185:function(e,a,t){},1229:function(e,a,t){"use strict";t.r(a);t(39);var n=t(12),c=t.n(n),i=t(5),s=t(7),r=t(6),l=t(8),o=t(9),m=t(0),u=t.n(m),p=(t(1185),t(3)),d=t(22),v=function(e){function a(){var e,t;Object(i.a)(this,a);for(var n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];return(t=Object(r.a)(this,(e=Object(l.a)(a)).call.apply(e,[this].concat(s)))).state={data:""},t.getIndexData=function(){p.d.post("".concat(API["base-api"],"/m/deposit/coupon"),{order_id:Object(p.c)("order_id")}).then(function(e){if(200==e.data.errno){var a=e.data.data;t.setState({data:a})}else c.a.info(e.data.msg,2)})},t.invitation=function(e){var a=t.props,n=a.user;a.history;n&&n.data&&n.data.uid?window.location.href=e:t.props.history.push("/passport/login")},t}return Object(o.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){this.getIndexData()}},{key:"render",value:function(){var e=this,a=this.state.data;return u.a.createElement("div",{className:"callback-box"},u.a.createElement("div",{className:"banner"}),u.a.createElement("div",{className:"content"},u.a.createElement("div",{className:"title"},"\u606d\u559c\u4f60\uff0c\u83b7\u5f97\u4e00\u5f20"),u.a.createElement("div",{className:"coupon"},u.a.createElement("p",{className:"coupon-name"},"\u81a8\u80c0\u5238"),u.a.createElement("p",{className:"coupon-price"},u.a.createElement("span",null,a.amount),"\u5143"),u.a.createElement("p",{className:"coupon-time"},"\u6709\u6548\u671f\u81f3\uff1a",a.expire_time)),u.a.createElement("div",{className:"tip"},u.a.createElement("ul",null,new Array(19).fill("1").map(function(e,a){return u.a.createElement("li",{key:a})})),"\u5168\u573a\u901a\u7528"),u.a.createElement("div",{className:"expand"},u.a.createElement("span",{className:"expand-small"},a.amount),"\u5143",u.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/expand.png",alt:""}),u.a.createElement("span",{className:"expand-big"},a.limit_amount),"\u5143"),u.a.createElement("button",{className:"invitation",onClick:function(){return e.invitation(a.share_url)}},"\u9080\u8bf7\u597d\u53cb\u52a9\u529b\uff0c",a.amount,"\u5143\u53d8",a.limit_amount,"\u5143"),u.a.createElement("div",{className:"active-time"},"\u6d3b\u52a8\u65f6\u95f4\uff1a",a.start_time,"-",a.end_time),u.a.createElement("div",{className:"active-tip"},"\u9001\u52a9\u529b\u597d\u53cb",a.limit_amount,"\u5143\uff01")))}}]),a}(m.Component);a.default=Object(d.b)(function(e){return{user:e.user}})(v)}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[42],{1181:function(e,a,t){},1225:function(e,a,t){"use strict";t.r(a);t(39);var n=t(12),c=t.n(n),i=t(5),s=t(7),r=t(6),l=t(8),o=t(9),m=t(0),u=t.n(m),p=(t(1181),t(3)),d=t(22),v=function(e){function a(){var e,t;Object(i.a)(this,a);for(var n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];return(t=Object(r.a)(this,(e=Object(l.a)(a)).call.apply(e,[this].concat(s)))).state={data:""},t.getIndexData=function(){p.d.post("".concat(API["base-api"],"/m/deposit/coupon"),{order_id:Object(p.c)("order_id")}).then(function(e){if(200==e.data.errno){var a=e.data.data;t.setState({data:a})}else c.a.info(e.data.msg,2)})},t.invitation=function(e){var a=t.props,n=a.user;a.history;n&&n.data&&n.data.uid?window.location.href=e:t.props.history.push("/passport/login")},t}return Object(o.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){this.getIndexData()}},{key:"render",value:function(){var e=this,a=this.state.data;return u.a.createElement("div",{className:"callback-box"},u.a.createElement("div",{className:"banner"}),u.a.createElement("div",{className:"content"},u.a.createElement("div",{className:"title"},"\u606d\u559c\u4f60\uff0c\u83b7\u5f97\u4e00\u5f20"),u.a.createElement("div",{className:"coupon"},u.a.createElement("p",{className:"coupon-name"},"\u81a8\u80c0\u5238"),u.a.createElement("p",{className:"coupon-price"},u.a.createElement("span",null,a.amount),"\u5143"),u.a.createElement("p",{className:"coupon-time"},"\u6709\u6548\u671f\u81f3\uff1a",a.expire_time)),u.a.createElement("div",{className:"tip"},u.a.createElement("ul",null,new Array(19).fill("1").map(function(e,a){return u.a.createElement("li",{key:a})})),"\u5168\u573a\u901a\u7528"),u.a.createElement("div",{className:"expand"},u.a.createElement("span",{className:"expand-small"},a.amount),"\u5143",u.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/expand.png",alt:""}),u.a.createElement("span",{className:"expand-big"},a.limit_amount),"\u5143"),u.a.createElement("button",{className:"invitation",onClick:function(){return e.invitation(a.share_url)}},"\u9080\u8bf7\u597d\u53cb\u52a9\u529b\uff0c",a.amount,"\u5143\u53d8",a.limit_amount,"\u5143"),u.a.createElement("div",{className:"active-time"},"\u6d3b\u52a8\u65f6\u95f4\uff1a",a.start_time,"-",a.end_time),u.a.createElement("div",{className:"active-tip"},"\u9001\u52a9\u529b\u597d\u53cb",a.limit_amount,"\u5143\uff01")))}}]),a}(m.Component);a.default=Object(d.b)(function(e){return{user:e.user}})(v)}}]);
//# sourceMappingURL=43.8ab58cea.chunk.js.map //# sourceMappingURL=42.fa8bff66.chunk.js.map
\ No newline at end of file \ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{1231:function(e,t,n){"use strict";n.r(t);var a=n(5),i=n(7),s=n(6),c=n(8),o=n(9),r=n(0),u=n.n(r),l=n(22),p=n(3),b=n(37),d=n.n(b),m=(n(729),function(e){function t(e){var n;return Object(a.a)(this,t),(n=Object(s.a)(this,Object(c.a)(t).call(this,e))).getGift=function(){n.props.user.hasError?n.props.history.push("/passport",{from:n.props.location.pathname}):n.props.history.push("/blessingPreheat")},n.state={butText:"\u7acb\u5373\u9886\u53d6"},n}return Object(o.a)(t,e),Object(i.a)(t,[{key:"componentWillMount",value:function(){d.a.set("blessing_invite_uid",Object(p.c)("shareuid"),{domain:".julyedu.com",expires:30}),d.a.set("blessing_invite_code",Object(p.c)("inviteCode"),{domain:".julyedu.com",expires:30}),d.a.get("uid")&&this.setState(function(){return{butText:"\u5df2\u9886\u53d6\uff0c\u53bb\u4f7f\u7528"}})}},{key:"render",value:function(){var e=this.state.butText;return u.a.createElement("div",{className:"activity__con"},u.a.createElement("div",{className:"banner__con"}),u.a.createElement("div",{className:"content__con"},u.a.createElement("div",{className:"button__get",onClick:this.getGift},e)))}}]),t}(r.Component));t.default=Object(l.b)(function(e){return{user:e.user}},null)(m)},729:function(e,t,n){}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[3],{1227:function(e,t,n){"use strict";n.r(t);var a=n(5),i=n(7),s=n(6),c=n(8),o=n(9),r=n(0),u=n.n(r),l=n(22),p=n(3),b=n(37),d=n.n(b),m=(n(728),function(e){function t(e){var n;return Object(a.a)(this,t),(n=Object(s.a)(this,Object(c.a)(t).call(this,e))).getGift=function(){n.props.user.hasError?n.props.history.push("/passport",{from:n.props.location.pathname}):n.props.history.push("/blessingPreheat")},n.state={butText:"\u7acb\u5373\u9886\u53d6"},n}return Object(o.a)(t,e),Object(i.a)(t,[{key:"componentWillMount",value:function(){d.a.set("blessing_invite_uid",Object(p.c)("shareuid"),{domain:".julyedu.com",expires:30}),d.a.set("blessing_invite_code",Object(p.c)("inviteCode"),{domain:".julyedu.com",expires:30}),d.a.get("uid")&&this.setState(function(){return{butText:"\u5df2\u9886\u53d6\uff0c\u53bb\u4f7f\u7528"}})}},{key:"render",value:function(){var e=this.state.butText;return u.a.createElement("div",{className:"activity__con"},u.a.createElement("div",{className:"banner__con"}),u.a.createElement("div",{className:"content__con"},u.a.createElement("div",{className:"button__get",onClick:this.getGift},e)))}}]),t}(r.Component));t.default=Object(l.b)(function(e){return{user:e.user}},null)(m)},728:function(e,t,n){}}]);
//# sourceMappingURL=Activity.4ffe549d.chunk.js.map //# sourceMappingURL=Activity.a53a6810.chunk.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["components/activity/index.js"],"names":["Activity","props","_this","Object","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__","this","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__","call","getGift","user","hasError","history","push","from","location","pathname","state","butText","jsCookie","set","getParam","domain","expires","cookie","get","setState","react__WEBPACK_IMPORTED_MODULE_5___default","a","createElement","className","onClick","Component","connect"],"mappings":"yLAQMA,sBACJ,SAAAA,EAAYC,GAAO,IAAAC,EAAA,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAL,IACjBE,EAAAC,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAH,GAAAQ,KAAAH,KAAMJ,KAgBRQ,QAAU,WACLP,EAAKD,MAAMS,KAAKC,SACjBT,EAAKD,MAAMW,QAAQC,KAAK,YAAa,CAACC,KAAMZ,EAAKD,MAAMc,SAASC,WAEhEd,EAAKD,MAAMW,QAAQC,KAAK,qBAnB1BX,EAAKe,MAAQ,CACXC,QAAW,4BAHIhB,oFAQjBiB,IAASC,IAAI,sBAAuBC,YAAS,YAAa,CAACC,OAAQ,eAAgBC,QAAS,KAC5FJ,IAASC,IAAI,uBAAwBC,YAAS,cAAe,CAACC,OAAQ,eAAgBC,QAAS,KAC5FC,IAAOC,IAAI,QACZpB,KAAKqB,SAAS,iBAAK,CACjBR,QAAS,iFAaN,IACAA,EAAWb,KAAKY,MAAhBC,QACP,OACES,EAAAC,EAAAC,cAAA,OAAKC,UAAU,iBACbH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,gBACfH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,gBACbH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,cAAcC,QAAS1B,KAAKI,SAAUS,YAhCxCc,cAuCRC,sBACb,SAAAhB,GAAK,MAAK,CAACP,KAAMO,EAAMP,OACvB,KAFauB,CAGbjC","file":"mrstatic/js/Activity.a53a6810.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport {connect} from \"react-redux\";\nimport { http, getParam } from '@/utils';\nimport cookie from 'js-cookie'\nimport './index.scss';\nimport {Toast} from \"antd-mobile\";\nimport jsCookie from 'js-cookie';\n\nclass Activity extends Component {\n constructor(props) {\n super(props);\n this.state = {\n 'butText': '立即领取'\n }\n }\n\n componentWillMount() {\n jsCookie.set('blessing_invite_uid', getParam('shareuid'), {domain: '.julyedu.com', expires: 30});\n jsCookie.set('blessing_invite_code', getParam('inviteCode'), {domain: '.julyedu.com', expires: 30});\n if(cookie.get('uid')) {\n this.setState(()=>({\n butText: '已领取,去使用'\n }));\n }\n }\n\n getGift = () => {\n if(this.props.user.hasError) {\n this.props.history.push('/passport', {from: this.props.location.pathname});\n } else {\n this.props.history.push('/blessingPreheat');\n }\n }\n\n render() {\n const {butText} = this.state;\n return (\n <div className=\"activity__con\">\n <div className='banner__con'></div>\n <div className='content__con'>\n <div className=\"button__get\" onClick={this.getGift}>{butText}</div>\n </div>\n </div>\n )\n }\n}\n\nexport default connect(\n state => ({user: state.user}),\n null\n)(Activity);\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{1218:function(e,a,t){"use strict";t.r(a),t.d(a,"default",function(){return b});t(90);var n=t(25),c=t.n(n),l=(t(154),t(35)),s=t.n(l),i=(t(155),t(75)),r=t.n(i),m=t(5),o=t(7),d=t(6),p=t(8),E=t(9),u=t(0),N=t.n(u),v=(t(917),t(101)),b=function(e){function a(e){return Object(m.a)(this,a),Object(d.a)(this,Object(p.a)(a).call(this,e))}return Object(E.a)(a,e),Object(o.a)(a,[{key:"render",value:function(){return N.a.createElement("div",{className:"drawDocument"},N.a.createElement("div",null,N.a.createElement(r.a,{className:"navbar"},N.a.createElement("i",{className:"iconfont iconiconfront-68 back",onClick:this.props.history.goBack}),N.a.createElement("div",{className:"common-ft-15"},"\u89c4\u5219\u8bf4\u660e"))),N.a.createElement("div",{className:"content"},N.a.createElement(r.a,null,N.a.createElement("div",{className:"directions-div"},"\u5206\u9500\u89c4\u5219"),N.a.createElement(s.a,{size:"md"}),N.a.createElement("p",{className:"directions-p"},"\u70b9\u51fb\u300e\u5206\u4eab\u8d5a\u94b1\u300f\u751f\u6210\u60a8\u7684\u4e13\u5c5e\u6d77\u62a5\uff0c\u628a\u4e13\u5c5e\u6d77\u62a5\u5206\u4eab\u5230\u5fae\u4fe1\u3001\u5fae\u535a\u3001QQ\u3001\u77e5\u4e4e\u3001\u8d34\u5427\u7b49\uff0c\u4ed6\u4eba\u901a\u8fc7\u60a8\u7684\u6d77\u62a5\u8d2d\u4e70\u540e\u60a8\u53ef\u83b7\u5f97\u76f8\u5e94\u7684\u4f63\u91d1\u5956\u52b1\u3002"),N.a.createElement(s.a,{size:"lg"}),N.a.createElement(s.a,{size:"lg"}),N.a.createElement("div",{className:"directions-div"},"\u63d0\u73b0\u89c4\u5219"),N.a.createElement(s.a,{size:"md"}),N.a.createElement("p",{className:"directions-p"},"1. \u5df2\u5f00\u59cb\u7684\u76f4\u64ad\u8bfe\u7a0b\uff0c\u7528\u6237\u8d2d\u4e70\u540e\u4f63\u91d1\u4f1a\u5b9e\u65f6\u8f6c\u5165\u60a8\u7684\u8d26\u53f7\u4f59\u989d\uff1b"),N.a.createElement("p",{className:"directions-p"},"2. \u5c1a\u672a\u5f00\u8bfe\u7684\u76f4\u64ad\u8bfe\u7a0b\uff0c\u7528\u6237\u8d2d\u4e70\u540e\u5f52\u5c5e\u60a8\u7684\u4f63\u91d1\u6237\u6682\u65f6\u5b58\u653e\u5728\u300e\u5f85\u786e\u8ba4\u91d1\u989d\u300f\u4e2d\uff0c\u76f4\u5230\u8be5\u8bfe\u7a0b\u6b63\u5f0f\u5f00\u8bfe\u3002\u5982\u679c\u7528\u6237\u6ca1\u6709\u9000\u6b3e\uff0c\u5bf9\u5e94\u7684\u8ba2\u5355\u91d1\u989d\u4f1a\u81ea\u52a8\u8f6c\u5165\u60a8\u7684\u8d26\u53f7\u4f59\u989d\uff0c\u5426\u5219\u8be5\u4f63\u91d1\u4f1a\u81ea\u52a8\u6536\u56de\uff1b"),N.a.createElement("p",{className:"directions-p"},"3. \u4f59\u989d\u4e2d\u7684\u91d1\u989d\u53ef\u968f\u65f6\u63d0\u73b0\u3002"))),N.a.createElement("div",{className:"bottom"},N.a.createElement(r.a,null,N.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},N.a.createElement("p",{className:"tip"},"\u6536\u652f\u660e\u7ec6\u53ca\u5f85\u786e\u8ba4\u91d1\u989d\u8bf7\u524d\u5f80App\u67e5\u770b"),N.a.createElement(v.a,{className:"app",text:"\u5728APP\u6253\u5f00"})))))}}]),a}(u.Component)},917:function(e,a,t){}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[8],{1214:function(e,a,t){"use strict";t.r(a),t.d(a,"default",function(){return b});t(90);var n=t(25),c=t.n(n),l=(t(154),t(35)),s=t.n(l),i=(t(155),t(75)),r=t.n(i),m=t(5),o=t(7),d=t(6),p=t(8),E=t(9),u=t(0),N=t.n(u),v=(t(913),t(101)),b=function(e){function a(e){return Object(m.a)(this,a),Object(d.a)(this,Object(p.a)(a).call(this,e))}return Object(E.a)(a,e),Object(o.a)(a,[{key:"render",value:function(){return N.a.createElement("div",{className:"drawDocument"},N.a.createElement("div",null,N.a.createElement(r.a,{className:"navbar"},N.a.createElement("i",{className:"iconfont iconiconfront-68 back",onClick:this.props.history.goBack}),N.a.createElement("div",{className:"common-ft-15"},"\u89c4\u5219\u8bf4\u660e"))),N.a.createElement("div",{className:"content"},N.a.createElement(r.a,null,N.a.createElement("div",{className:"directions-div"},"\u5206\u9500\u89c4\u5219"),N.a.createElement(s.a,{size:"md"}),N.a.createElement("p",{className:"directions-p"},"\u70b9\u51fb\u300e\u5206\u4eab\u8d5a\u94b1\u300f\u751f\u6210\u60a8\u7684\u4e13\u5c5e\u6d77\u62a5\uff0c\u628a\u4e13\u5c5e\u6d77\u62a5\u5206\u4eab\u5230\u5fae\u4fe1\u3001\u5fae\u535a\u3001QQ\u3001\u77e5\u4e4e\u3001\u8d34\u5427\u7b49\uff0c\u4ed6\u4eba\u901a\u8fc7\u60a8\u7684\u6d77\u62a5\u8d2d\u4e70\u540e\u60a8\u53ef\u83b7\u5f97\u76f8\u5e94\u7684\u4f63\u91d1\u5956\u52b1\u3002"),N.a.createElement(s.a,{size:"lg"}),N.a.createElement(s.a,{size:"lg"}),N.a.createElement("div",{className:"directions-div"},"\u63d0\u73b0\u89c4\u5219"),N.a.createElement(s.a,{size:"md"}),N.a.createElement("p",{className:"directions-p"},"1. \u5df2\u5f00\u59cb\u7684\u76f4\u64ad\u8bfe\u7a0b\uff0c\u7528\u6237\u8d2d\u4e70\u540e\u4f63\u91d1\u4f1a\u5b9e\u65f6\u8f6c\u5165\u60a8\u7684\u8d26\u53f7\u4f59\u989d\uff1b"),N.a.createElement("p",{className:"directions-p"},"2. \u5c1a\u672a\u5f00\u8bfe\u7684\u76f4\u64ad\u8bfe\u7a0b\uff0c\u7528\u6237\u8d2d\u4e70\u540e\u5f52\u5c5e\u60a8\u7684\u4f63\u91d1\u6237\u6682\u65f6\u5b58\u653e\u5728\u300e\u5f85\u786e\u8ba4\u91d1\u989d\u300f\u4e2d\uff0c\u76f4\u5230\u8be5\u8bfe\u7a0b\u6b63\u5f0f\u5f00\u8bfe\u3002\u5982\u679c\u7528\u6237\u6ca1\u6709\u9000\u6b3e\uff0c\u5bf9\u5e94\u7684\u8ba2\u5355\u91d1\u989d\u4f1a\u81ea\u52a8\u8f6c\u5165\u60a8\u7684\u8d26\u53f7\u4f59\u989d\uff0c\u5426\u5219\u8be5\u4f63\u91d1\u4f1a\u81ea\u52a8\u6536\u56de\uff1b"),N.a.createElement("p",{className:"directions-p"},"3. \u4f59\u989d\u4e2d\u7684\u91d1\u989d\u53ef\u968f\u65f6\u63d0\u73b0\u3002"))),N.a.createElement("div",{className:"bottom"},N.a.createElement(r.a,null,N.a.createElement(c.a,{justify:"between",align:"center",style:{height:"44px"}},N.a.createElement("p",{className:"tip"},"\u6536\u652f\u660e\u7ec6\u53ca\u5f85\u786e\u8ba4\u91d1\u989d\u8bf7\u524d\u5f80App\u67e5\u770b"),N.a.createElement(v.a,{className:"app",text:"\u5728APP\u6253\u5f00"})))))}}]),a}(u.Component)},913:function(e,a,t){}}]);
//# sourceMappingURL=DrawDocument.739d08a4.chunk.js.map //# sourceMappingURL=DrawDocument.a9ab6fc5.chunk.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["components/scholarship/DrawDocument/DrawDocument.js"],"names":["DrawDocument","props","Object","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_6__","this","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_8__","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_9__","call","react__WEBPACK_IMPORTED_MODULE_11___default","a","createElement","className","antd_mobile_lib_wing_blank__WEBPACK_IMPORTED_MODULE_5___default","onClick","history","goBack","antd_mobile_lib_white_space__WEBPACK_IMPORTED_MODULE_3___default","size","antd_mobile_lib_flex__WEBPACK_IMPORTED_MODULE_1___default","justify","align","style","height","_common_CallApp__WEBPACK_IMPORTED_MODULE_13__","text","Component"],"mappings":"4RAKqBA,cACjB,SAAAA,EAAYC,GAAQ,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAJ,GAAAE,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAF,GAAAO,KAAAH,KACVH,0EAGN,OACIO,EAAAC,EAAAC,cAAA,OAAKC,UAAW,gBACZH,EAAAC,EAAAC,cAAA,WACIF,EAAAC,EAAAC,cAAAE,EAAAH,EAAA,CAAWE,UAAW,UAClBH,EAAAC,EAAAC,cAAA,KAAGC,UAAW,iCAAkCE,QAAST,KAAKH,MAAMa,QAAQC,SAC5EP,EAAAC,EAAAC,cAAA,OAAKC,UAAW,gBAAhB,8BAIRH,EAAAC,EAAAC,cAAA,OAAKC,UAAW,WACZH,EAAAC,EAAAC,cAAAE,EAAAH,EAAA,KACID,EAAAC,EAAAC,cAAA,OAAKC,UAAW,kBAAhB,4BACAH,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,0XACAH,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAA,OAAKC,UAAW,kBAAhB,4BACAH,EAAAC,EAAAC,cAAAM,EAAAP,EAAA,CAAYQ,KAAK,OACjBT,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,+KACAH,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,qgBACAH,EAAAC,EAAAC,cAAA,KAAGC,UAAW,gBAAd,iFAIRH,EAAAC,EAAAC,cAAA,OAAKC,UAAW,UACZH,EAAAC,EAAAC,cAAAE,EAAAH,EAAA,KACID,EAAAC,EAAAC,cAAAQ,EAAAT,EAAA,CAAMU,QAAQ,UAAUC,MAAM,SAASC,MAAO,CAACC,OAAQ,SACnDd,EAAAC,EAAAC,cAAA,KAAGC,UAAW,OAAd,iGAEAH,EAAAC,EAAAC,cAACa,EAAA,EAAD,CAASZ,UAAU,MAAMa,KAAK,qCAlChBC","file":"mrstatic/js/DrawDocument.a9ab6fc5.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport { Flex, WhiteSpace, WingBlank } from 'antd-mobile';\nimport './DrawDocument.scss';\nimport OpenApp from '@/common/CallApp';\n\nexport default class DrawDocument extends Component {\n constructor(props) {\n super(props);\n }\n render() {\n return (\n <div className={'drawDocument'}>\n <div>\n <WingBlank className={'navbar'}>\n <i className={'iconfont iconiconfront-68 back'} onClick={this.props.history.goBack}></i>\n <div className={\"common-ft-15\"}>规则说明</div>\n </WingBlank>\n </div>\n\n <div className={'content'}>\n <WingBlank>\n <div className={'directions-div'}>分销规则</div>\n <WhiteSpace size='md'></WhiteSpace>\n <p className={'directions-p'}>点击『分享赚钱』生成您的专属海报,把专属海报分享到微信、微博、QQ、知乎、贴吧等,他人通过您的海报购买后您可获得相应的佣金奖励。</p>\n <WhiteSpace size='lg'></WhiteSpace>\n <WhiteSpace size='lg'></WhiteSpace>\n <div className={'directions-div'}>提现规则</div>\n <WhiteSpace size='md'></WhiteSpace>\n <p className={'directions-p'}>1. 已开始的直播课程,用户购买后佣金会实时转入您的账号余额;</p>\n <p className={'directions-p'}>2. 尚未开课的直播课程,用户购买后归属您的佣金户暂时存放在『待确认金额』中,直到该课程正式开课。如果用户没有退款,对应的订单金额会自动转入您的账号余额,否则该佣金会自动收回;</p>\n <p className={'directions-p'}>3. 余额中的金额可随时提现。</p>\n </WingBlank>\n </div>\n\n <div className={'bottom'}>\n <WingBlank>\n <Flex justify='between' align='center' style={{height: '44px'}}>\n <p className={'tip'}>收支明细及待确认金额请前往App查看</p>\n {/* <div className={'app'}>在APP打开</div> */}\n <OpenApp className='app' text='在APP打开'/>\n </Flex>\n </WingBlank>\n </div>\n </div>\n )\n }\n}\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{1247:function(e,t,a){"use strict";a.r(t);var n=a(5),s=a(7),r=a(6),c=a(8),o=a(9),i=a(0),l=a.n(i),m=(a(925),a(17)),u=a.n(m),p=a(27),w=(a(926),function(){return l.a.createElement("div",{className:"open-app"},l.a.createElement("p",{className:"left"},"\u66f4\u591a\u8bd5\u9898\u8bf7\u524d\u5f80App\u67e5\u770b"),l.a.createElement(p.a,{className:"right"},"\u5728APP\u6253\u5f00"))}),h=a(3),d=a(760);a.d(t,"default",function(){return f});var f=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))).showAnswer=function(){a.setState({isShowAnswer:!a.state.isShowAnswer})},a.state={isShowAnswer:!1,questionData:{}},a}return Object(o.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){var e=this;h.d.get("".concat(API.home,"/m/dailyQuestion")).then(function(t){var a=t.data,n=a.data;if(200===a.code){var s=d.Object.assign(n,{analysis:n.analysis.length>0?n.analysis.split("\n"):[]});e.setState({questionData:s})}})}},{key:"render",value:function(){var e=this.state,t=e.questionData,a=t.ques,n=t.type_id,s=t.options,r=t.analysis,c=t.category,o=e.isShowAnswer;return l.a.createElement("div",{className:"examination"},l.a.createElement(p.e,{title:"\u6bcf\u65e5\u4e00\u9898",arrow:!0,cart:!1}),l.a.createElement("div",{className:"question-container"},l.a.createElement("div",{className:"topic"},l.a.createElement(p.i,{className:"category-tag"},c),l.a.createElement("span",{dangerouslySetInnerHTML:{__html:a}})),1===n&&l.a.createElement(E,{className:"options",options:s,showCorrect:this.state.isShowAnswer}),!o&&l.a.createElement("div",{className:"show-answer",onClick:this.showAnswer},l.a.createElement("span",null,"\u67e5\u770b\u89e3\u6790",l.a.createElement("i",{className:"iconfont iconiconfront-69"})))),o&&l.a.createElement(v,{content:r,isShowAnswer:!0}),l.a.createElement(w,null))}}]),t}(i.PureComponent),E=l.a.memo(function(e){var t=e.options,a=e.showCorrect;return l.a.createElement("ul",{className:"options"},t.map(function(e,t){return l.a.createElement("li",{key:t,className:u()("option",{active:1===e.is_ans&&a})},l.a.createElement("span",{className:"alphabet"},String.fromCharCode(65+t)),e.des)}))}),v=l.a.memo(function(e){var t=e.content,a=e.isShowAnswer;return l.a.createElement("div",{className:u()("answer",{scale:a})},l.a.createElement("p",{className:"legend"},"\u89e3\u6790"),t.length>0&&t.map(function(e,t){return l.a.createElement("p",{key:t,className:"content",dangerouslySetInnerHTML:{__html:e}})}))})},925:function(e,t,a){},926:function(e,t,a){}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[9],{1242:function(e,t,a){"use strict";a.r(t);var n=a(5),s=a(7),r=a(6),c=a(8),o=a(9),i=a(0),l=a.n(i),m=(a(921),a(17)),u=a.n(m),p=a(27),w=(a(922),function(){return l.a.createElement("div",{className:"open-app"},l.a.createElement("p",{className:"left"},"\u66f4\u591a\u8bd5\u9898\u8bf7\u524d\u5f80App\u67e5\u770b"),l.a.createElement(p.a,{className:"right"},"\u5728APP\u6253\u5f00"))}),h=a(3),d=a(756);a.d(t,"default",function(){return f});var f=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))).showAnswer=function(){a.setState({isShowAnswer:!a.state.isShowAnswer})},a.state={isShowAnswer:!1,questionData:{}},a}return Object(o.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){var e=this;h.d.get("".concat(API.home,"/m/dailyQuestion")).then(function(t){var a=t.data,n=a.data;if(200===a.code){var s=d.Object.assign(n,{analysis:n.analysis.length>0?n.analysis.split("\n"):[]});e.setState({questionData:s})}})}},{key:"render",value:function(){var e=this.state,t=e.questionData,a=t.ques,n=t.type_id,s=t.options,r=t.analysis,c=t.category,o=e.isShowAnswer;return l.a.createElement("div",{className:"examination"},l.a.createElement(p.e,{title:"\u6bcf\u65e5\u4e00\u9898",arrow:!0,cart:!1}),l.a.createElement("div",{className:"question-container"},l.a.createElement("div",{className:"topic"},l.a.createElement(p.i,{className:"category-tag"},c),l.a.createElement("span",{dangerouslySetInnerHTML:{__html:a}})),1===n&&l.a.createElement(E,{className:"options",options:s,showCorrect:this.state.isShowAnswer}),!o&&l.a.createElement("div",{className:"show-answer",onClick:this.showAnswer},l.a.createElement("span",null,"\u67e5\u770b\u89e3\u6790",l.a.createElement("i",{className:"iconfont iconiconfront-69"})))),o&&l.a.createElement(v,{content:r,isShowAnswer:!0}),l.a.createElement(w,null))}}]),t}(i.PureComponent),E=l.a.memo(function(e){var t=e.options,a=e.showCorrect;return l.a.createElement("ul",{className:"options"},t.map(function(e,t){return l.a.createElement("li",{key:t,className:u()("option",{active:1===e.is_ans&&a})},l.a.createElement("span",{className:"alphabet"},String.fromCharCode(65+t)),e.des)}))}),v=l.a.memo(function(e){var t=e.content,a=e.isShowAnswer;return l.a.createElement("div",{className:u()("answer",{scale:a})},l.a.createElement("p",{className:"legend"},"\u89e3\u6790"),t.length>0&&t.map(function(e,t){return l.a.createElement("p",{key:t,className:"content",dangerouslySetInnerHTML:{__html:e}})}))})},921:function(e,t,a){},922:function(e,t,a){}}]);
//# sourceMappingURL=Examination.1ecda7ed.chunk.js.map //# sourceMappingURL=Examination.1ddde5b2.chunk.js.map
\ No newline at end of file \ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{1223:function(e,t,a){"use strict";a.r(t);a(39);var n=a(12),s=a.n(n),i=a(5),c=a(7),l=a(6),o=a(8),u=a(9),r=a(0),m=a.n(r),d=(a(260),a(22)),h=a(3),p=a(27),v=a(26),f=a(24),b=a(62),E=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(l.a)(this,Object(o.a)(t).call(this,e))).toEditName=function(e){a.setState({isShow:!0,value:e})},a.cancle=function(){a.setState({isShow:!1})},a.handleChange=function(e){a.setState({value:e.target.value})},a.outLogin=function(){a.props.logout(),s.a.info("\u5df2\u9000\u51fa",2,null,!1),a.props.history.push("/my")},a.submit=function(){if(a.state.value.length>12)s.a.info("\u4e0d\u8d85\u8fc712\u4e2a\u5b57\u7b26",2);else if(0===a.state.value.length)s.a.info("\u8bf7\u8f93\u5165\u6635\u79f0",2);else{var e={user_name:a.state.value};h.d.post("".concat(API.home,"/m/user_info/update"),e).then(function(e){200===e.data.code?(a.setState({isShow:!1}),a.props.updateUser({data:{username:a.state.value}}),s.a.info("\u4fee\u6539\u6210\u529f",2)):4008===e.data.code?a.setState({isShow:!1}):s.a.info(e.data.msg,2)})}},a.state={isShow:!1,value:""},a}return Object(u.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){var e=this.props.user,t=e&&e.data&&e.data.username,a=e&&e.data&&e.data.avatar;return m.a.createElement("div",{className:"edit-name"},m.a.createElement(p.e,{title:"\u8d26\u53f7",arrow:!0,cart:!1}),m.a.createElement("div",{className:"my-mess"},m.a.createElement("img",{src:a,alt:""}),m.a.createElement("span",{className:"name"},t),m.a.createElement("span",{onClick:this.toEditName.bind(this,t),className:"edit"},"\u7f16\u8f91")),m.a.createElement("div",{className:"out-login",onClick:this.outLogin},"\u9000\u51fa\u767b\u5f55"),this.state.isShow&&m.a.createElement("div",{className:"edit-mbc"},m.a.createElement("div",{className:"edit-content"},m.a.createElement("div",{className:"edit-title"},"\u4fee\u6539\u6635\u79f0"),m.a.createElement("input",{type:"text",placeholder:"\u8bf7\u8f93\u5165\u6635\u79f0\uff08\u4e0d\u8d85\u8fc712\u4e2a\u5b57\u7b26\uff09",value:this.state.value,onChange:this.handleChange.bind(this)}),m.a.createElement("div",{className:"edit-btn"},m.a.createElement("button",{className:"cancle",onClick:this.cancle},"\u53d6\u6d88"),m.a.createElement("button",{className:"submit",onClick:this.submit},"\u786e\u8ba4")))))}}]),t}(r.PureComponent);t.default=Object(f.d)(Object(d.b)(function(e){return{user:e.user}},{logout:v.e,updateUser:v.i}),b.a)(E)}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[11],{1219:function(e,t,a){"use strict";a.r(t);a(39);var n=a(12),s=a.n(n),i=a(5),c=a(7),l=a(6),o=a(8),u=a(9),r=a(0),m=a.n(r),d=(a(259),a(22)),h=a(3),p=a(27),v=a(26),f=a(24),b=a(62),E=function(e){function t(e){var a;return Object(i.a)(this,t),(a=Object(l.a)(this,Object(o.a)(t).call(this,e))).toEditName=function(e){a.setState({isShow:!0,value:e})},a.cancle=function(){a.setState({isShow:!1})},a.handleChange=function(e){a.setState({value:e.target.value})},a.outLogin=function(){a.props.logout(),s.a.info("\u5df2\u9000\u51fa",2,null,!1),a.props.history.push("/my")},a.submit=function(){if(a.state.value.length>12)s.a.info("\u4e0d\u8d85\u8fc712\u4e2a\u5b57\u7b26",2);else if(0===a.state.value.length)s.a.info("\u8bf7\u8f93\u5165\u6635\u79f0",2);else{var e={user_name:a.state.value};h.d.post("".concat(API.home,"/m/user_info/update"),e).then(function(e){200===e.data.code?(a.setState({isShow:!1}),a.props.updateUser({data:{username:a.state.value}}),s.a.info("\u4fee\u6539\u6210\u529f",2)):4008===e.data.code?a.setState({isShow:!1}):s.a.info(e.data.msg,2)})}},a.state={isShow:!1,value:""},a}return Object(u.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){var e=this.props.user,t=e&&e.data&&e.data.username,a=e&&e.data&&e.data.avatar;return m.a.createElement("div",{className:"edit-name"},m.a.createElement(p.e,{title:"\u8d26\u53f7",arrow:!0,cart:!1}),m.a.createElement("div",{className:"my-mess"},m.a.createElement("img",{src:a,alt:""}),m.a.createElement("span",{className:"name"},t),m.a.createElement("span",{onClick:this.toEditName.bind(this,t),className:"edit"},"\u7f16\u8f91")),m.a.createElement("div",{className:"out-login",onClick:this.outLogin},"\u9000\u51fa\u767b\u5f55"),this.state.isShow&&m.a.createElement("div",{className:"edit-mbc"},m.a.createElement("div",{className:"edit-content"},m.a.createElement("div",{className:"edit-title"},"\u4fee\u6539\u6635\u79f0"),m.a.createElement("input",{type:"text",placeholder:"\u8bf7\u8f93\u5165\u6635\u79f0\uff08\u4e0d\u8d85\u8fc712\u4e2a\u5b57\u7b26\uff09",value:this.state.value,onChange:this.handleChange.bind(this)}),m.a.createElement("div",{className:"edit-btn"},m.a.createElement("button",{className:"cancle",onClick:this.cancle},"\u53d6\u6d88"),m.a.createElement("button",{className:"submit",onClick:this.submit},"\u786e\u8ba4")))))}}]),t}(r.PureComponent);t.default=Object(f.d)(Object(d.b)(function(e){return{user:e.user}},{logout:v.e,updateUser:v.i}),b.a)(E)}}]);
//# sourceMappingURL=MyEdit.9dda32f5.chunk.js.map //# sourceMappingURL=MyEdit.b3ace82f.chunk.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["components/my/edit.js"],"names":["MyEdut","props","_this","Object","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__","this","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__","call","toEditName","name","setState","isShow","value","cancle","handleChange","e","target","outLogin","logout","antd_mobile_lib_toast__WEBPACK_IMPORTED_MODULE_1___default","a","info","history","push","submit","state","length","data","user_name","http","post","concat","API","home","then","res","code","updateUser","username","msg","user","avatar","react__WEBPACK_IMPORTED_MODULE_7___default","createElement","className","_common__WEBPACK_IMPORTED_MODULE_11__","title","arrow","cart","src","alt","onClick","bind","type","placeholder","onChange","PureComponent","compose","connect","WithFullSize"],"mappings":"yOAUMA,cACF,SAAAA,EAAYC,GAAO,IAAAC,EAAA,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAL,IACfE,EAAAC,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAH,GAAAQ,KAAAH,KAAMJ,KAQVQ,WAAa,SAACC,GACVR,EAAKS,SAAS,CACVC,QAAQ,EACRC,MAAOH,KAZIR,EAgBnBY,OAAS,WACLZ,EAAKS,SAAS,CACVC,QAAQ,KAlBGV,EAuBnBa,aAAe,SAACC,GACZd,EAAKS,SAAS,CACVE,MAAOG,EAAEC,OAAOJ,SAzBLX,EA6BnBgB,SAAW,WACPhB,EAAKD,MAAMkB,SACXC,EAAAC,EAAMC,KAAK,qBAAO,EAAG,MAAM,GAC3BpB,EAAKD,MAAMsB,QAAQC,KAAK,QAhCTtB,EAoCnBuB,OAAS,WACL,GAAIvB,EAAKwB,MAAMb,MAAMc,OAAS,GAC1BP,EAAAC,EAAMC,KAAK,yCAAY,QACpB,GAAgC,IAA5BpB,EAAKwB,MAAMb,MAAMc,OACxBP,EAAAC,EAAMC,KAAK,iCAAS,OACjB,CACH,IAAIM,EAAO,CACPC,UAAW3B,EAAKwB,MAAMb,OAE1BiB,IAAKC,KAAL,GAAAC,OAAaC,IAAIC,KAAjB,uBAA4CN,GAAMO,KAAK,SAACC,GAC9B,MAAlBA,EAAIR,KAAKS,MACTnC,EAAKS,SAAS,CACVC,QAAQ,IAEZV,EAAKD,MAAMqC,WAAW,CAACV,KAAM,CAACW,SAAUrC,EAAKwB,MAAMb,SACnDO,EAAAC,EAAMC,KAAK,2BAAQ,IACM,OAAlBc,EAAIR,KAAKS,KAChBnC,EAAKS,SAAS,CACVC,QAAQ,IAGZQ,EAAAC,EAAMC,KAAKc,EAAIR,KAAKY,IAAK,OAvDrCtC,EAAKwB,MAAQ,CACTd,QAAQ,EACRC,MAAO,IAJIX,wEAgEV,IACEuC,EAAQpC,KAAKJ,MAAbwC,KACDF,EAAWE,GAAQA,EAAKb,MAAQa,EAAKb,KAAKW,SAC1CG,EAASD,GAAQA,EAAKb,MAAQa,EAAKb,KAAKc,OAC9C,OACIC,EAAAtB,EAAAuB,cAAA,OAAKC,UAAU,aACXF,EAAAtB,EAAAuB,cAACE,EAAA,EAAD,CAAWC,MAAM,eAAKC,OAAO,EAAMC,MAAM,IAEzCN,EAAAtB,EAAAuB,cAAA,OAAKC,UAAU,WACXF,EAAAtB,EAAAuB,cAAA,OAAKM,IAAKR,EAAQS,IAAI,KACtBR,EAAAtB,EAAAuB,cAAA,QAAMC,UAAU,QAAQN,GACxBI,EAAAtB,EAAAuB,cAAA,QAAMQ,QAAS/C,KAAKI,WAAW4C,KAAKhD,KAAMkC,GAAWM,UAAU,QAA/D,iBAEJF,EAAAtB,EAAAuB,cAAA,OAAKC,UAAU,YAAYO,QAAS/C,KAAKa,UAAzC,4BAKIb,KAAKqB,MAAMd,QACX+B,EAAAtB,EAAAuB,cAAA,OAAKC,UAAU,YACXF,EAAAtB,EAAAuB,cAAA,OAAKC,UAAU,gBACXF,EAAAtB,EAAAuB,cAAA,OAAKC,UAAU,cAAf,4BACAF,EAAAtB,EAAAuB,cAAA,SAAOU,KAAK,OAAOC,YAAY,mFACxB1C,MAAOR,KAAKqB,MAAMb,MAClB2C,SAAUnD,KAAKU,aAAasC,KAAKhD,QAExCsC,EAAAtB,EAAAuB,cAAA,OAAKC,UAAU,YACXF,EAAAtB,EAAAuB,cAAA,UAAQC,UAAU,SAASO,QAAS/C,KAAKS,QAAzC,gBACA6B,EAAAtB,EAAAuB,cAAA,UAAQC,UAAU,SAASO,QAAS/C,KAAKoB,QAAzC,2BA7FXgC,iBAwGNC,sBACXC,YACI,SAAAjC,GAAK,MAAK,CAACe,KAAMf,EAAMe,OACvB,CAACtB,WAAQmB,iBAEbsB,IALWF,CAMb1D","file":"mrstatic/js/MyEdit.b3ace82f.chunk.js","sourcesContent":["import React, {PureComponent} from 'react'\nimport './index.scss'\nimport {connect} from \"react-redux\"\nimport {Toast} from 'antd-mobile'\nimport {http} from \"@/utils\"\nimport {HeaderBar} from \"@/common\"\nimport {logout, updateUser} from '@/store/userAction'\nimport {compose} from \"redux\";\nimport {WithFullSize} from '@/HOCs'\n\nclass MyEdut extends PureComponent {\n constructor(props) {\n super(props)\n this.state = {\n isShow: false,\n value: ''\n }\n }\n\n // 点击编辑\n toEditName = (name) => {\n this.setState({\n isShow: true,\n value: name\n })\n }\n // 取消\n cancle = () => {\n this.setState({\n isShow: false\n })\n }\n\n // 获取input的值\n handleChange = (e) => {\n this.setState({\n value: e.target.value\n })\n }\n // 退出登录\n outLogin = () => {\n this.props.logout()\n Toast.info('已退出', 2, null, false)\n this.props.history.push('/my')\n }\n\n // 确定修改\n submit = () => {\n if (this.state.value.length > 12) {\n Toast.info('不超过12个字符', 2)\n } else if (this.state.value.length === 0) {\n Toast.info('请输入昵称', 2)\n } else {\n let data = {\n user_name: this.state.value\n }\n http.post(`${API.home}/m/user_info/update`, data).then((res) => {\n if (res.data.code === 200) {\n this.setState({\n isShow: false\n })\n this.props.updateUser({data: {username: this.state.value}})\n Toast.info('修改成功', 2)\n } else if (res.data.code === 4008) {\n this.setState({\n isShow: false\n })\n } else {\n Toast.info(res.data.msg, 2)\n }\n\n })\n }\n }\n\n render() {\n const {user} = this.props\n const username = user && user.data && user.data.username\n const avatar = user && user.data && user.data.avatar\n return (\n <div className=\"edit-name\">\n <HeaderBar title='账号' arrow={true} cart={false}></HeaderBar>\n\n <div className='my-mess'>\n <img src={avatar} alt=\"\"/>\n <span className=\"name\">{username}</span>\n <span onClick={this.toEditName.bind(this, username)} className=\"edit\">编辑</span>\n </div>\n <div className=\"out-login\" onClick={this.outLogin}>\n 退出登录\n </div>\n\n {\n this.state.isShow &&\n <div className=\"edit-mbc\">\n <div className=\"edit-content\">\n <div className=\"edit-title\">修改昵称</div>\n <input type=\"text\" placeholder='请输入昵称(不超过12个字符)'\n value={this.state.value}\n onChange={this.handleChange.bind(this)}\n />\n <div className=\"edit-btn\">\n <button className='cancle' onClick={this.cancle}>取消</button>\n <button className='submit' onClick={this.submit}>确认</button>\n </div>\n </div>\n </div>\n }\n </div>\n )\n }\n\n}\n\nexport default compose(\n connect(\n state => ({user: state.user}),\n {logout, updateUser}\n ),\n WithFullSize\n)(MyEdut)\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{1220:function(e,a,n){"use strict";n.r(a);var o=n(5),r=n(7),t=n(6),l=n(8),i=n(9),c=(n(39),n(12)),s=n.n(c),p=n(20),u=(n(155),n(75)),d=n.n(u),f=(n(726),n(728)),h=n.n(f),m=(n(1170),n(1172)),v=n.n(m),b=n(0),q=n.n(b),g=n(19),E=n(27),j=n(3),y=Object(g.f)({mapPropsToValues:function(e){return Object(p.a)({},e.userInfo)},validate:function(e,a){return{}},handleSubmit:function(e,a){var n=e.real_name,o=e.cellphone,r=e.qq;if(n)if(0!=="".concat(n).replace(/\s+/g,"").length)if(o)if(/1\d{10}/g.test("".concat(o).replace(/\s+/g,"")))if(r)if(/\d{5,}/g.test(r)){var t=0;if(a.props.userInfo){var l=a.props.userInfo;l.real_name===n&&(t+=1),l.cellphone===o&&(t+=1),l.qq===r&&(t+=1)}var i="/order";a.props.userInfo.id&&(i=i+"?id="+a.props.userInfo.id),3!==t?j.d.post("".concat(API["base-api"],"/m/order/saveUserInfo"),{real_name:e.real_name,cellphone:"".concat(e.cellphone).replace(/\s+/g,""),qq:e.qq}).then(function(n){200===n.data.errno?(s.a.info("\u4fdd\u5b58\u6210\u529f\uff01",void 0,void 0,!1),a.props.history.replace(i,Object(p.a)({},e))):s.a.info(n.data.msg,void 0,void 0,!1)}):a.props.history.replace(i,Object(p.a)({},e))}else s.a.info("\u8bf7\u8f93\u5165\u6b63\u786eQQ\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165QQ\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1)}})(function(e){var a=e.values,n=(e.errors,e.touched,e.setFieldValue),o=(e.handleBlur,e.handleSubmit);e.isSubmitting;return q.a.createElement("form",null,q.a.createElement(v.a,{clear:!0,name:"real_name",onChange:function(e){return n("real_name",e)},placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u771f\u5b9e\u59d3\u540d",value:a.real_name},"\u59d3\u540d"),q.a.createElement(v.a,{clear:!0,type:"phone",name:"cellphone",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u624b\u673a\u53f7\u7801",onChange:function(e){return n("cellphone",e)},value:a.cellphone},"\u7535\u8bdd"),q.a.createElement(v.a,{clear:!0,name:"qq",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684QQ\u53f7\u7801",maxLength:"15",onChange:function(e){return n("qq",e)},value:a.qq},"QQ"),q.a.createElement("div",{style:{marginTop:"21px"}},q.a.createElement(d.a,null,q.a.createElement(h.a,{type:"primary",onClick:o},"\u786e\u8ba4"))))}),O=function(e){function a(e){return Object(o.a)(this,a),Object(t.a)(this,Object(l.a)(a).call(this,e))}return Object(i.a)(a,e),Object(r.a)(a,[{key:"render",value:function(){return q.a.createElement("div",null,q.a.createElement(E.e,{title:"\u62a5\u540d\u4fe1\u606f",arrow:!0}),q.a.createElement(y,{history:this.props.history,userInfo:this.props.location.state}))}}]),a}(b.Component);a.default=O}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[13],{1216:function(e,a,n){"use strict";n.r(a);var o=n(5),r=n(7),t=n(6),l=n(8),i=n(9),c=(n(39),n(12)),s=n.n(c),p=n(20),u=(n(155),n(75)),d=n.n(u),f=(n(725),n(727)),h=n.n(f),m=(n(1166),n(1168)),v=n.n(m),b=n(0),q=n.n(b),g=n(19),E=n(27),j=n(3),y=Object(g.f)({mapPropsToValues:function(e){return Object(p.a)({},e.userInfo)},validate:function(e,a){return{}},handleSubmit:function(e,a){var n=e.real_name,o=e.cellphone,r=e.qq;if(n)if(0!=="".concat(n).replace(/\s+/g,"").length)if(o)if(/1\d{10}/g.test("".concat(o).replace(/\s+/g,"")))if(r)if(/\d{5,}/g.test(r)){var t=0;if(a.props.userInfo){var l=a.props.userInfo;l.real_name===n&&(t+=1),l.cellphone===o&&(t+=1),l.qq===r&&(t+=1)}var i="/order";a.props.userInfo.id&&(i=i+"?id="+a.props.userInfo.id),3!==t?j.d.post("".concat(API["base-api"],"/m/order/saveUserInfo"),{real_name:e.real_name,cellphone:"".concat(e.cellphone).replace(/\s+/g,""),qq:e.qq}).then(function(n){200===n.data.errno?(s.a.info("\u4fdd\u5b58\u6210\u529f\uff01",void 0,void 0,!1),a.props.history.replace(i,Object(p.a)({},e))):s.a.info(n.data.msg,void 0,void 0,!1)}):a.props.history.replace(i,Object(p.a)({},e))}else s.a.info("\u8bf7\u8f93\u5165\u6b63\u786eQQ\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165QQ\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u624b\u673a\u53f7\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1);else s.a.info("\u8bf7\u8f93\u5165\u59d3\u540d\uff01",void 0,void 0,!1)}})(function(e){var a=e.values,n=(e.errors,e.touched,e.setFieldValue),o=(e.handleBlur,e.handleSubmit);e.isSubmitting;return q.a.createElement("form",null,q.a.createElement(v.a,{clear:!0,name:"real_name",onChange:function(e){return n("real_name",e)},placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u771f\u5b9e\u59d3\u540d",value:a.real_name},"\u59d3\u540d"),q.a.createElement(v.a,{clear:!0,type:"phone",name:"cellphone",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684\u624b\u673a\u53f7\u7801",onChange:function(e){return n("cellphone",e)},value:a.cellphone},"\u7535\u8bdd"),q.a.createElement(v.a,{clear:!0,name:"qq",placeholder:"\u8bf7\u8f93\u5165\u60a8\u7684QQ\u53f7\u7801",maxLength:"15",onChange:function(e){return n("qq",e)},value:a.qq},"QQ"),q.a.createElement("div",{style:{marginTop:"21px"}},q.a.createElement(d.a,null,q.a.createElement(h.a,{type:"primary",onClick:o},"\u786e\u8ba4"))))}),O=function(e){function a(e){return Object(o.a)(this,a),Object(t.a)(this,Object(l.a)(a).call(this,e))}return Object(i.a)(a,e),Object(r.a)(a,[{key:"render",value:function(){return q.a.createElement("div",null,q.a.createElement(E.e,{title:"\u62a5\u540d\u4fe1\u606f",arrow:!0}),q.a.createElement(y,{history:this.props.history,userInfo:this.props.location.state}))}}]),a}(b.Component);a.default=O}}]);
//# sourceMappingURL=Orderinfo.bdc357fe.chunk.js.map //# sourceMappingURL=Orderinfo.046b1aff.chunk.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["components/order/orderinfo.js"],"names":["MyForm","withFormik","mapPropsToValues","props","Object","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_7__","userInfo","validate","values","handleSubmit","FormBag","real_name","cellphone","qq","concat","replace","length","test","same","pathName","id","http","post","API","then","res","data","errno","antd_mobile_lib_toast__WEBPACK_IMPORTED_MODULE_6___default","a","info","undefined","history","msg","_ref","setFieldValue","errors","touched","handleBlur","isSubmitting","react__WEBPACK_IMPORTED_MODULE_14___default","createElement","antd_mobile_lib_input_item__WEBPACK_IMPORTED_MODULE_13___default","clear","name","onChange","value","placeholder","type","maxLength","style","marginTop","antd_mobile_lib_wing_blank__WEBPACK_IMPORTED_MODULE_9___default","antd_mobile_lib_button__WEBPACK_IMPORTED_MODULE_11___default","onClick","Orderinfo","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__","this","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__","call","_common__WEBPACK_IMPORTED_MODULE_16__","title","arrow","location","state","Component"],"mappings":"oSAgDMA,EAASC,YAAW,CACtBC,iBAAkB,SAAAC,GAAK,OAAAC,OAAAC,EAAA,EAAAD,CAAA,GAAUD,EAAMG,WACvCC,SAAU,SAACC,EAAQL,GAEf,MADe,IAGnBM,aAAc,SACVD,EACAE,GACC,IACMC,EAA4BH,EAA5BG,UAAWC,EAAiBJ,EAAjBI,UAAWC,EAAML,EAANK,GAC7B,GAAKF,EAGC,GAAoD,IAAhD,GAAAG,OAAIH,GAAaI,QAAQ,OAAQ,IAAIC,OAI/C,GAAKJ,EAGE,GAAK,WAAWK,KAAK,GAAAH,OAAIF,GAAaG,QAAQ,OAAQ,KAI7D,GAAKF,EAGE,GAAK,UAAUI,KAAKJ,GAApB,CAIP,IAAIK,EAAO,EACX,GAAGR,EAAQP,MAAMG,SAAU,CACvB,IAAMA,EAAWI,EAAQP,MAAMG,SAC5BA,EAASK,YAAcA,IACtBO,GAAQ,GAETZ,EAASM,YAAcA,IACtBM,GAAQ,GAETZ,EAASO,KAAOA,IACfK,GAAQ,GAGhB,IAAIC,EAAW,SACZT,EAAQP,MAAMG,SAASc,KACtBD,EAAWA,EAAW,OAAST,EAAQP,MAAMG,SAASc,IAG9C,IAATF,EASHG,IAAKC,KAAL,GAAAR,OAAaS,IAAI,YAAjB,yBAAqD,CAACZ,UAAWH,EAAOG,UAAWC,UAAW,GAAAE,OAAIN,EAAOI,WAAaG,QAAQ,OAAQ,IAAKF,GAAIL,EAAOK,KAAKW,KAAK,SAAAC,GAEtI,MAAnBA,EAAIC,KAAKC,OAIZC,EAAAC,EAAMC,KAAK,sCAASC,OAAWA,GAAW,GAC1CrB,EAAQP,MAAM6B,QAAQjB,QAClBI,EADJf,OAAAC,EAAA,EAAAD,CAAA,GAGWI,KAPPoB,EAAAC,EAAMC,KAAKL,EAAIC,KAAKO,SAAKF,OAAWA,GAAW,KAXnDrB,EAAQP,MAAM6B,QAAQjB,QAClBI,EADJf,OAAAC,EAAA,EAAAD,CAAA,GAGWI,SAzBXoB,EAAAC,EAAMC,KAAK,oDAAaC,OAAWA,GAAW,QAH9CH,EAAAC,EAAMC,KAAK,wCAAWC,OAAWA,GAAW,QAJ5CH,EAAAC,EAAMC,KAAK,oEAAcC,OAAWA,GAAW,QAH/CH,EAAAC,EAAMC,KAAK,kDAAWC,OAAWA,GAAW,QAJ5CH,EAAAC,EAAMC,KAAK,4CAAUC,OAAWA,GAAW,QAH3CH,EAAAC,EAAMC,KAAK,4CAAUC,OAAWA,GAAW,KAZxC9B,CA1CG,SAAAiC,GAAA,IACd1B,EADc0B,EACd1B,OAGA2B,GAJcD,EAEdE,OAFcF,EAGdG,QAHcH,EAIdC,eAEA1B,GANcyB,EAKdI,WALcJ,EAMdzB,cANcyB,EAOdK,aAPc,OASVC,EAAAX,EAAAY,cAAA,YACID,EAAAX,EAAAY,cAAAC,EAAAb,EAAA,CACIc,OAAK,EACLC,KAAK,YACLC,SAAU,SAACC,GAAD,OAAWX,EAAc,YAAaW,IAChDC,YAAY,yDACZD,MAAOtC,EAAOG,WALlB,gBAOA6B,EAAAX,EAAAY,cAAAC,EAAAb,EAAA,CACIc,OAAK,EACLK,KAAK,QACLJ,KAAK,YACLG,YAAY,yDACZF,SAAU,SAACC,GAAD,OAAWX,EAAc,YAAaW,IAChDA,MAAOtC,EAAOI,WANlB,gBAQA4B,EAAAX,EAAAY,cAAAC,EAAAb,EAAA,CACIc,OAAK,EACLC,KAAK,KACLG,YAAY,+CACZE,UAAU,KACVJ,SAAU,SAACC,GAAD,OAAWX,EAAc,KAAMW,IACzCA,MAAOtC,EAAOK,IANlB,MASA2B,EAAAX,EAAAY,cAAA,OAAKS,MAAO,CAAEC,UAAW,SACrBX,EAAAX,EAAAY,cAAAW,EAAAvB,EAAA,KACIW,EAAAX,EAAAY,cAAAY,EAAAxB,EAAA,CAAQmB,KAAK,UAAUM,QAAS7C,GAAhC,qBAkFd8C,cACF,SAAAA,EAAYpD,GAAQ,OAAAC,OAAAoD,EAAA,EAAApD,CAAAqD,KAAAF,GAAAnD,OAAAsD,EAAA,EAAAtD,CAAAqD,KAAArD,OAAAuD,EAAA,EAAAvD,CAAAmD,GAAAK,KAAAH,KACVtD,0EAIN,OACIqC,EAAAX,EAAAY,cAAA,WACID,EAAAX,EAAAY,cAACoB,EAAA,EAAD,CAAWC,MAAM,2BAAOC,OAAO,IAC/BvB,EAAAX,EAAAY,cAACzC,EAAD,CAAQgC,QAASyB,KAAKtD,MAAM6B,QAAS1B,SAAUmD,KAAKtD,MAAM6D,SAASC,gBAT3DC,aAgBTX","file":"mrstatic/js/Orderinfo.046b1aff.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport { Flex, NavBar, List, InputItem, Button, WhiteSpace, WingBlank, Toast } from 'antd-mobile';\nimport { Formik, Field, Form, withFormik } from 'formik';\nimport {HeaderBar} from '../../common';\nimport { http } from \"@/utils\";\n\nconst InnerForm = ({\n values,\n errors,\n touched,\n setFieldValue,\n handleBlur,\n handleSubmit,\n isSubmitting,\n}) => (\n <form>\n <InputItem\n clear\n name=\"real_name\"\n onChange={(value) => setFieldValue('real_name', value)}\n placeholder=\"请输入您的真实姓名\"\n value={values.real_name}\n >姓名</InputItem>\n <InputItem\n clear\n type='phone'\n name='cellphone'\n placeholder=\"请输入您的手机号码\"\n onChange={(value) => setFieldValue('cellphone', value)}\n value={values.cellphone}\n >电话</InputItem>\n <InputItem\n clear\n name='qq'\n placeholder=\"请输入您的QQ号码\"\n maxLength='15'\n onChange={(value) => setFieldValue('qq', value)}\n value={values.qq}\n >QQ</InputItem>\n\n <div style={{ marginTop: '21px' }}>\n <WingBlank>\n <Button type='primary' onClick={handleSubmit}>确认</Button>\n </WingBlank>\n </div>\n </form>\n );\n\nconst MyForm = withFormik({\n mapPropsToValues: props => ({ ...props.userInfo }),\n validate: (values, props) => {\n const errors = {};\n return errors;\n },\n handleSubmit: (\n values,\n FormBag\n ) => {\n const {real_name, cellphone, qq} = values;\n if (!real_name) {\n Toast.info('请输入姓名!', undefined, undefined, false);\n return;\n }else if ((`${real_name}`).replace(/\\s+/g, '').length === 0) {\n Toast.info('请输入姓名!', undefined, undefined, false);\n return;\n }\n if (!cellphone) {\n Toast.info('请输入手机号!', undefined, undefined, false);\n return;\n } else if (!/1\\d{10}/g.test((`${cellphone}`).replace(/\\s+/g, ''))) {\n Toast.info('请输入正确的手机号!', undefined, undefined, false);\n return;\n }\n if (!qq) {\n Toast.info('请输入QQ号!', undefined, undefined, false);\n return;\n } else if (!/\\d{5,}/g.test(qq)) {\n Toast.info('请输入正确QQ号!', undefined, undefined, false);\n return;\n }\n let same = 0;\n if(FormBag.props.userInfo) {\n const userInfo = FormBag.props.userInfo;\n if(userInfo.real_name === real_name) {\n same += 1;\n }\n if(userInfo.cellphone === cellphone) {\n same += 1;\n }\n if(userInfo.qq === qq) {\n same += 1;\n }\n }\n let pathName = '/order';\n if(FormBag.props.userInfo.id) {\n pathName = pathName + '?id=' + FormBag.props.userInfo.id;\n }\n // console.log(values);\n if(same === 3) {\n FormBag.props.history.replace(\n pathName,\n {\n ...values,\n }\n );\n return;\n }\n http.post(`${API['base-api']}/m/order/saveUserInfo`, {real_name: values.real_name, cellphone: (`${values.cellphone}`).replace(/\\s+/g, ''), qq: values.qq}).then(res=>{\n // console.log(res);\n if(res.data.errno !== 200) {\n Toast.info(res.data.msg, undefined, undefined, false);\n return;\n }\n Toast.info('保存成功!', undefined, undefined, false);\n FormBag.props.history.replace(\n pathName,\n {\n ...values,\n }\n );\n });\n },\n})(InnerForm);\n\nclass Orderinfo extends Component {\n constructor(props) {\n super(props);\n }\n\n render() {\n return (\n <div>\n <HeaderBar title='报名信息' arrow={true}></HeaderBar>\n <MyForm history={this.props.history} userInfo={this.props.location.state}/>\n </div>\n )\n }\n\n};\n\nexport default Orderinfo;"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{1183:function(e,t,a){},1227:function(e,t,a){"use strict";a.r(t);a(39);var n=a(12),c=a.n(n),o=a(5),r=a(7),i=a(6),s=a(8),l=a(9),u=a(73),m=a(0),d=a.n(m),p=(a(1183),a(27)),f=a(3),h=function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(i.a)(this,Object(s.a)(t).call(this,e))).toCourseDetail=function(e){Object(u.a)(Object(u.a)(a)).state.fromApp?Object(f.a)("toCourse",e):a.props.history.push("/detail?id=".concat(e))},a.state={list:[],fromApp:!!Object(f.c)("from")},a}return Object(l.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;f.d.get("".concat(API.home,"/sys/red_packet/share_course")).then(function(t){200===t.data.code?e.setState({list:t.data.data}):c.a.info(t.data.msg,2)})}},{key:"render",value:function(){var e=this,t=this.state.list;return d.a.createElement("div",{className:"share-course"},!this.state.fromApp&&d.a.createElement(p.e,{title:"\u5206\u4eab\u9886\u7ea2\u5305",arrow:!0}),t&&t.length>0?d.a.createElement("div",null,t.map(function(t,a){var n=d.a.createElement("div",{className:"info"},d.a.createElement("p",{className:"title text-overflow-1"},t.course_title),d.a.createElement("p",{className:"contact text-overflow-1"},t.simpledescription),d.a.createElement("button",null,"\u5206\u4eab\u9886\u7ea2\u5305"));return d.a.createElement("div",{key:a},d.a.createElement(p.j,{img:t.image_name,info:n,id:t.course_id,toDetail:e.toCourseDetail}))})):d.a.createElement("div",null,d.a.createElement("p",{className:"not-data"},"\u6682\u65f6\u6ca1\u6709\u53ef\u5206\u4eab\u7684\u8bfe\u7a0b\u54e6\u301c")))}}]),t}(m.Component);t.default=h}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[17],{1179:function(e,t,a){},1223:function(e,t,a){"use strict";a.r(t);a(39);var n=a(12),c=a.n(n),o=a(5),r=a(7),i=a(6),s=a(8),l=a(9),u=a(73),m=a(0),d=a.n(m),p=(a(1179),a(27)),f=a(3),h=function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(i.a)(this,Object(s.a)(t).call(this,e))).toCourseDetail=function(e){Object(u.a)(Object(u.a)(a)).state.fromApp?Object(f.a)("toCourse",e):a.props.history.push("/detail?id=".concat(e))},a.state={list:[],fromApp:!!Object(f.c)("from")},a}return Object(l.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;f.d.get("".concat(API.home,"/sys/red_packet/share_course")).then(function(t){200===t.data.code?e.setState({list:t.data.data}):c.a.info(t.data.msg,2)})}},{key:"render",value:function(){var e=this,t=this.state.list;return d.a.createElement("div",{className:"share-course"},!this.state.fromApp&&d.a.createElement(p.e,{title:"\u5206\u4eab\u9886\u7ea2\u5305",arrow:!0}),t&&t.length>0?d.a.createElement("div",null,t.map(function(t,a){var n=d.a.createElement("div",{className:"info"},d.a.createElement("p",{className:"title text-overflow-1"},t.course_title),d.a.createElement("p",{className:"contact text-overflow-1"},t.simpledescription),d.a.createElement("button",null,"\u5206\u4eab\u9886\u7ea2\u5305"));return d.a.createElement("div",{key:a},d.a.createElement(p.j,{img:t.image_name,info:n,id:t.course_id,toDetail:e.toCourseDetail}))})):d.a.createElement("div",null,d.a.createElement("p",{className:"not-data"},"\u6682\u65f6\u6ca1\u6709\u53ef\u5206\u4eab\u7684\u8bfe\u7a0b\u54e6\u301c")))}}]),t}(m.Component);t.default=h}}]);
//# sourceMappingURL=ShareCourse.71679baa.chunk.js.map //# sourceMappingURL=ShareCourse.866767ee.chunk.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["components/ShareCourse/index.js"],"names":["ShareCourse","props","_this2","Object","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__","this","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__","call","toCourseDetail","id","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__","state","fromApp","SendMessageToApp","history","push","concat","list","getParam","_this3","http","get","API","home","then","res","data","code","setState","antd_mobile_lib_toast__WEBPACK_IMPORTED_MODULE_1___default","a","info","msg","_this4","react__WEBPACK_IMPORTED_MODULE_8___default","createElement","className","_common__WEBPACK_IMPORTED_MODULE_10__","title","arrow","length","map","item","index","Info","course_title","simpledescription","key","img","image_name","course_id","toDetail","Component"],"mappings":"yOAOMA,cAEF,SAAAA,EAAYC,GAAO,IAAAC,EAAA,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAL,IACfE,EAAAC,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAH,GAAAQ,KAAAH,KAAMJ,KAmBVQ,eAAiB,SAACC,GACHP,OAAAQ,EAAA,EAAAR,QAAAQ,EAAA,EAAAR,CAAAD,IACDU,MAAMC,QACZC,YAAiB,WAAYJ,GAEXR,EAAKD,MAAhBc,QACCC,KAAR,cAAAC,OAA2BP,KAxB/BR,EAAKU,MAAQ,CACTM,KAAM,GACNL,UAAUM,YAAS,SAJRjB,mFAQC,IAAAkB,EAAAf,KAChBgB,IAAKC,IAAL,GAAAL,OAAYM,IAAIC,KAAhB,iCAAoDC,KAAK,SAACC,GAChC,MAAlBA,EAAIC,KAAKC,KACTR,EAAKS,SAAS,CACVX,KAAMQ,EAAIC,KAAKA,OAGnBG,EAAAC,EAAMC,KAAKN,EAAIC,KAAKM,IAAK,sCAe5B,IAAAC,EAAA7B,KACEa,EAAQb,KAAKO,MAAbM,KACP,OACIiB,EAAAJ,EAAAK,cAAA,OAAKC,UAAW,iBAEPhC,KAAKO,MAAMC,SACZsB,EAAAJ,EAAAK,cAACE,EAAA,EAAD,CAAWC,MAAM,iCAAQC,OAAO,IAIhCtB,GAAQA,EAAKuB,OAAS,EAAIN,EAAAJ,EAAAK,cAAA,WAEdlB,EAAKwB,IAAI,SAACC,EAAMC,GACZ,IAAMC,EACFV,EAAAJ,EAAAK,cAAA,OAAKC,UAAU,QACXF,EAAAJ,EAAAK,cAAA,KAAGC,UAAW,yBAA0BM,EAAKG,cAC7CX,EAAAJ,EAAAK,cAAA,KAAGC,UAAW,2BAA4BM,EAAKI,mBAC/CZ,EAAAJ,EAAAK,cAAA,iDAGR,OACID,EAAAJ,EAAAK,cAAA,OAAKY,IAAKJ,GACNT,EAAAJ,EAAAK,cAACE,EAAA,EAAD,CACIW,IAAKN,EAAKO,WACVlB,KAAMa,EACNnC,GAAIiC,EAAKQ,UACTC,SAAUlB,EAAKzB,qBAQvC0B,EAAAJ,EAAAK,cAAA,WACID,EAAAJ,EAAAK,cAAA,KAAGC,UAAU,YAAb,qFAnEFgB,aA4EXrD","file":"mrstatic/js/ShareCourse.866767ee.chunk.js","sourcesContent":["import React, {Component} from 'react';\nimport './index.scss';\nimport {HeaderBar, VList} from '@/common';\nimport {http, getParam, SendMessageToApp} from '@/utils';\nimport {Toast} from 'antd-mobile';\n\n\nclass ShareCourse extends Component {\n\n constructor(props) {\n super(props);\n this.state = {\n list: [],\n fromApp: !getParam('from') ? false : true\n };\n }\n\n componentDidMount() {\n http.get(`${API.home}/sys/red_packet/share_course`).then((res) => {\n if (res.data.code === 200) {\n this.setState({\n list: res.data.data\n })\n } else {\n Toast.info(res.data.msg, 2)\n }\n })\n }\n\n toCourseDetail = (id) => {\n const _this = this\n if (_this.state.fromApp) {\n SendMessageToApp(\"toCourse\", id)\n } else {\n const {history} = this.props;\n history.push(`/detail?id=${id}`)\n }\n }\n\n render() {\n const {list} = this.state;\n return (\n <div className={'share-course'}>\n {\n !this.state.fromApp &&\n <HeaderBar title='分享领红包' arrow={true}/>\n }\n\n {\n list && list.length > 0 ? <div>\n {\n list.map((item, index) => {\n const Info = (\n <div className=\"info\">\n <p className={'title text-overflow-1'}>{item.course_title}</p>\n <p className={'contact text-overflow-1'}>{item.simpledescription}</p>\n <button>分享领红包</button>\n </div>\n )\n return (\n <div key={index}>\n <VList\n img={item.image_name}\n info={Info}\n id={item.course_id}\n toDetail={this.toCourseDetail}\n />\n </div>\n\n )\n })\n }\n </div> :\n <div>\n <p className='not-data'>暂时没有可分享的课程哦〜</p>\n </div>\n }\n\n </div>\n )\n }\n}\n\nexport default ShareCourse;\n"],"sourceRoot":""}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{1184:function(e,a,t){},1185:function(e,a,t){},1243:function(e,a,t){"use strict";t.r(a);var n,r=t(5),s=t(7),c=t(6),l=t(8),d=t(9),m=t(0),o=t.n(m),i=t(22),u=t(3),_=t(27),p=t(20),f=(t(39),t(12)),h=t.n(f),b=(t(40),t(19)),E=(t(1184),function(e){function a(e){var t;return Object(r.a)(this,a),(t=Object(c.a)(this,Object(l.a)(a).call(this,e))).fetchUserAddress=function(){var e=t.state.addressInfo;u.d.get("".concat(API.home,"/sys/user_address_info")).then(function(a){var n=a.data,r=n.code,s=n.data;n.msg;200===r&&t.setState({addressInfo:Object.assign({},e,{name:s.name,phone:s.phone,address:s.address}),isLoading:!0})})},t.handleToSubmit=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.props.handleToHide;u.d.post("".concat(API.home,"/sys/collect_info"),e).then(function(e){var t=e.data,n=t.code,r=t.msg;200===n?a():h.a.info(r,2,null,!1)})},t.state={isLoading:!1,addressInfo:{name:"",phone:"",address:""}},t}return Object(d.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){this.fetchUserAddress()}},{key:"render",value:function(){var e=this,a=this.state,t=a.isLoading,n=a.addressInfo;return o.a.createElement(o.a.Fragment,null,t&&o.a.createElement(b.d,{initialValues:Object(p.a)({},n),validate:function(e){var a=e.name,t=e.phone,n=e.address,r={};return a||(r.name="\u8bf7\u8f93\u5165\u6536\u4ef6\u4eba"),/^1[3-9]\d{9}$/.test(t)||(r.phone="\u8bf7\u586b\u5199\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7"),n||(r.address="\u8bf7\u8f93\u5165\u6536\u8d27\u5730\u5740"),r},validateOnBlur:!1,validateOnChange:!1,onSubmit:function(a){e.handleToSubmit(a)},render:function(e){var a=e.errors;return o.a.createElement(b.c,{className:"address-form"},o.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"),o.a.createElement(b.b,{name:"name",render:function(e){var t=e.field;return o.a.createElement("div",{className:"address-form__item"},o.a.createElement("input",Object.assign({},t,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u4ef6\u4eba"})),a.name&&o.a.createElement("p",{className:"address-form__tip"},a.name))}}),o.a.createElement(b.b,{name:"phone",render:function(e){var t=e.field;return o.a.createElement("div",{className:"address-form__item"},o.a.createElement("input",Object.assign({},t,{className:"address-form__ipt",type:"text",placeholder:"\u8054\u7cfb\u65b9\u5f0f"})),a.phone&&o.a.createElement("p",{className:"address-form__tip"},a.phone))}}),o.a.createElement(b.b,{name:"address",render:function(e){var t=e.field;return o.a.createElement("div",{className:"address-form__item"},o.a.createElement("input",Object.assign({},t,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u8d27\u5730\u5740"})),a.address&&o.a.createElement("p",{className:"address-form__tip"},a.address))}}),o.a.createElement("button",{className:"address-form__submit","data-status":"do",type:"submit"},"\u63d0\u4ea4"))}}))}}]),a}(m.Component)),k=(t(1185),Object(i.b)(function(e){return{uid:e.user.data.uid||""}})(n=function(e){function a(e){var t;return Object(r.a)(this,a),(t=Object(c.a)(this,Object(l.a)(a).call(this,e))).popupInstance=null,t.fetchRankData=function(){u.d.get("".concat(API.home,"/sys/blessing/ranking")).then(function(e){var a=e.data,n=a.code,r=a.data;200===n&&t.setState({rankList:r})})},t.handleToSwitch=function(e){var a=t.props,n=a.history,r=a.uid;e&&!r?n.push("/passport"):e&&!t.popupInstance?t.popupInstance=Object(_.h)({title:"\u6536\u8d27\u4fe1\u606f",content:o.a.createElement(E,{handleToHide:function(){return t.handleToSwitch(!1)}})}):(t.popupInstance.close(),t.popupInstance=null)},t.formatString=function(e,a){return e.length>a?"".concat(e.substr(0,a),"..."):e},t.state={rankList:[],rules:["1\u3001\u6392\u884c\u699c\u540d\u6b21\u4ee52019\u5e7411\u670813\u65e524\u70b9\u4e03\u6708\u5728\u7ebf\u516c\u5e03\u7684\u6392\u884c\u699c\u4e3a\u51c6\uff0c\u699c\u5355\u786e\u8ba4\u540e\uff0c\u5f97\u5956\u5c0f\u4f19\u4f34\u8bf7\u53ca\u65f6\u586b\u5199\u90ae\u5bc4\u4fe1\u606f\uff0c7\u4e2a\u81ea\u7136\u65e5\u5185\u4e0d\u586b\u5199\uff0c\u89c6\u4e3a\u4e3b\u52a8\u653e\u5f03\u5956\u54c1\uff1b","2\u3001\u798f\u6c14\u503c\u53ea\u5728\u672c\u6d3b\u52a8\u671f\u95f4\u4eab\u53d7\u62bd\u5956\u3001\u63d0\u9ad8\u4e2d\u5956\u6982\u7387\u3001\u8d2d\u8bfe\u4f18\u5316\u3001\u589e\u52a0AI\u6c34\u5e73\u6d4b\u8bd5\u7b49\u798f\u5229\uff1b","3\u3001\u5982\u6709\u53d1\u73b0\u6076\u610f\u5237\u699c\uff0c\u5237\u865a\u5047\u6570\u636e\u7b49\u884c\u4e3a\u5c06\u53d6\u6d88\u5176\u9886\u5956\u8d44\u683c\uff1b","4\u3001\u672c\u6d3b\u52a8\u89e3\u91ca\u6743\u5f52\u5317\u4eac\u4e03\u6708\u5728\u7ebf\u79d1\u6280\u6709\u9650\u516c\u53f8\u6240\u6709\u3002"]},t}return Object(d.a)(a,e),Object(s.a)(a,[{key:"componentDidMount",value:function(){this.fetchRankData()}},{key:"render",value:function(){var e=this,a=this.state,t=a.rankList,n=a.rules;return o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"rank__banner"}),o.a.createElement("div",{className:"rank__body"},o.a.createElement("button",{className:"rank__address",onClick:function(){return e.handleToSwitch(!0)}},"\u586b\u5199\u6536\u8d27\u5730\u5740>"),o.a.createElement("div",{className:"rank__table"},o.a.createElement("dl",{className:"rank__table-header"},o.a.createElement("dd",{className:"rank__table-column"},"\u6392\u540d"),o.a.createElement("dd",{className:"rank__table-column"},"\u7528\u6237"),o.a.createElement("dd",{className:"rank__table-column"},"\u6210\u7ee9"),o.a.createElement("dd",{className:"rank__table-column"},"\u5956\u54c1")),t.map(function(a,t){return o.a.createElement("dl",{className:"rank__table-body",key:t},o.a.createElement("dd",{className:"rank__table-column"},t<3?o.a.createElement("i",{className:"rank__table-num","data-num":t+1}):t+1),o.a.createElement("dd",{className:"rank__table-column"},o.a.createElement("div",{className:"rank__table-user"},o.a.createElement("i",{className:"rank__table-portrait",style:{backgroundImage:"url(".concat(a.head_image,")")}}),o.a.createElement("span",null,e.formatString(a.user_name,5)))),o.a.createElement("dd",{className:"rank__table-column"},a.blessing_value),o.a.createElement("dd",{className:"rank__table-column"},e.formatString(a.prize_name,7)))})),o.a.createElement("div",{className:"rank__rule"},o.a.createElement("h2",{className:"rank__rule-title"},"\u6d3b\u52a8\u89c4\u5219"),n.map(function(e,a){return o.a.createElement("p",{className:"rank__rule-desc",key:a},e)}))))}}]),a}(m.Component))||n);a.default=k}}]);
//# sourceMappingURL=blessing-rank.e3f19668.chunk.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{1206:function(e,t,a){},1236:function(e,t,a){"use strict";a.r(t);var n=a(5),c=a(7),i=a(6),l=a(8),s=a(9),r=a(0),m=a.n(r),o=(a(1206),a(3)),u=a(62),d=function(e){function t(){var e,a;Object(n.a)(this,t);for(var c=arguments.length,s=new Array(c),r=0;r<c;r++)s[r]=arguments[r];return(a=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(s)))).state={list:[],title:""},a}return Object(s.a)(t,e),Object(c.a)(t,[{key:"componentDidMount",value:function(){var e=this;o.d.get("".concat(API.home,"/sys/activity/lottery_names/").concat(Object(o.c)("tid"))).then(function(t){var a=t.data;if(200==a.code){var n=a.data;e.setState({title:n.title,list:n.list})}})}},{key:"render",value:function(){var e=this.state,t=e.title,a=e.list;return m.a.createElement("div",{id:"prize-winner-list"},m.a.createElement("div",{className:"banner"},m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/prize-winner-list-banner.png",alt:"",className:"banner"})),m.a.createElement("h1",null,m.a.createElement("img",{className:"icon",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-left.png",alt:""}),m.a.createElement("span",null,t),m.a.createElement("img",{className:"icon",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-right.png",alt:""})),m.a.createElement("ul",null,m.a.createElement("li",{className:"head title"},m.a.createElement("div",{className:"code"},"\u4e2d\u5956\u7801"),m.a.createElement("div",{className:"user-name"},"\u7528\u6237\u540d\u79f0"),m.a.createElement("div",{className:"prize"},"\u5956\u54c1\u540d\u79f0")),a.map(function(e){return m.a.createElement("li",{key:e.code},m.a.createElement("div",{className:"code"},e.code),m.a.createElement("div",{className:"user-name"},e.name),m.a.createElement("div",{className:"prize"},e.prize))})))}}]),t}(r.Component);t.default=Object(u.a)(d)}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[28],{1202:function(e,t,a){},1230:function(e,t,a){"use strict";a.r(t);var n=a(5),c=a(7),i=a(6),l=a(8),s=a(9),r=a(0),m=a.n(r),o=(a(1202),a(3)),u=a(62),d=function(e){function t(){var e,a;Object(n.a)(this,t);for(var c=arguments.length,s=new Array(c),r=0;r<c;r++)s[r]=arguments[r];return(a=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(s)))).state={list:[],title:""},a}return Object(s.a)(t,e),Object(c.a)(t,[{key:"componentDidMount",value:function(){var e=this;o.d.get("".concat(API.home,"/sys/activity/lottery_names/").concat(Object(o.c)("tid"))).then(function(t){var a=t.data;if(200==a.code){var n=a.data;e.setState({title:n.title,list:n.list})}})}},{key:"render",value:function(){var e=this.state,t=e.title,a=e.list;return m.a.createElement("div",{id:"prize-winner-list"},m.a.createElement("div",{className:"banner"},m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/prize-winner-list-banner.png",alt:"",className:"banner"})),m.a.createElement("h1",null,m.a.createElement("img",{className:"icon",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-left.png",alt:""}),m.a.createElement("span",null,t),m.a.createElement("img",{className:"icon",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-right.png",alt:""})),m.a.createElement("ul",null,m.a.createElement("li",{className:"head title"},m.a.createElement("div",{className:"code"},"\u4e2d\u5956\u7801"),m.a.createElement("div",{className:"user-name"},"\u7528\u6237\u540d\u79f0"),m.a.createElement("div",{className:"prize"},"\u5956\u54c1\u540d\u79f0")),a.map(function(e){return m.a.createElement("li",{key:e.code},m.a.createElement("div",{className:"code"},e.code),m.a.createElement("div",{className:"user-name"},e.name),m.a.createElement("div",{className:"prize"},e.prize))})))}}]),t}(r.Component);t.default=Object(u.a)(d)}}]);
//# sourceMappingURL=prize-winner-list.745e8d43.chunk.js.map //# sourceMappingURL=prize-winner-list.c19c45c5.chunk.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["components/activity/prize-winner-list/index.js"],"names":["PrizeWinnerList","state","list","title","_this2","this","http","get","concat","API","home","getParam","then","res","data","code","response","setState","_this$state","react__WEBPACK_IMPORTED_MODULE_5___default","a","createElement","id","className","src","alt","map","item","key","name","prize","Component","WithFullSize"],"mappings":"0MAKMA,6MAEJC,MAAQ,CACNC,KAAM,GACNC,MAAO,uFAGW,IAAAC,EAAAC,KAClBC,IAAKC,IAAL,GAAAC,OAAYC,IAAIC,KAAhB,gCAAAF,OAAmDG,YAAS,SACzDC,KAAK,SAAAC,GAAO,IACJC,EAAQD,EAARC,KACP,GAAiB,KAAbA,EAAKC,KAAa,KACPC,EAAYF,EAAlBA,KACPV,EAAKa,SAAS,CACZd,MAAOa,EAASb,MAChBD,KAAMc,EAASd,2CAMhB,IAAAgB,EACeb,KAAKJ,MAApBE,EADAe,EACAf,MAAOD,EADPgB,EACOhB,KACd,OACEiB,EAAAC,EAAAC,cAAA,OAAKC,GAAI,qBACPH,EAAAC,EAAAC,cAAA,OAAKE,UAAU,UACbJ,EAAAC,EAAAC,cAAA,OAAKG,IAAI,+FAA+FC,IAAI,GACvGF,UAAU,YAEjBJ,EAAAC,EAAAC,cAAA,UACEF,EAAAC,EAAAC,cAAA,OAAKE,UAAW,OACXC,IAAI,wFAAwFC,IAAI,KACrGN,EAAAC,EAAAC,cAAA,YAAOlB,GACPgB,EAAAC,EAAAC,cAAA,OAAKE,UAAW,OACXC,IAAI,yFAAyFC,IAAI,MAExGN,EAAAC,EAAAC,cAAA,UACEF,EAAAC,EAAAC,cAAA,MAAIE,UAAW,cACbJ,EAAAC,EAAAC,cAAA,OAAKE,UAAU,QAAf,sBACAJ,EAAAC,EAAAC,cAAA,OAAKE,UAAU,aAAf,4BACAJ,EAAAC,EAAAC,cAAA,OAAKE,UAAU,SAAf,6BAGArB,EAAKwB,IAAI,SAAAC,GAAI,OACXR,EAAAC,EAAAC,cAAA,MAAIO,IAAKD,EAAKZ,MACZI,EAAAC,EAAAC,cAAA,OAAKE,UAAU,QAAQI,EAAKZ,MAC5BI,EAAAC,EAAAC,cAAA,OAAKE,UAAU,aAAaI,EAAKE,MACjCV,EAAAC,EAAAC,cAAA,OAAKE,UAAU,SAASI,EAAKG,mBA/CfC,aAyDfC,sBAAahC","file":"mrstatic/js/prize-winner-list.745e8d43.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport './index.scss'\nimport { getParam, http } from '@/utils'\nimport { WithFullSize } from \"@/HOCs\"\n\nclass PrizeWinnerList extends Component {\n\n state = {\n list: [],\n title: '',\n }\n\n componentDidMount() {\n http.get(`${API.home}/sys/activity/lottery_names/${getParam('tid')}`)\n .then(res => {\n const {data} = res\n if (data.code == 200) {\n const {data: response} = data\n this.setState({\n title: response.title,\n list: response.list\n })\n }\n })\n }\n\n render() {\n const {title, list} = this.state\n return (\n <div id={'prize-winner-list'}>\n <div className=\"banner\">\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/prize-winner-list-banner.png\" alt=\"\"\n className=\"banner\"/>\n </div>\n <h1>\n <img className={'icon'}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-left.png\" alt=\"\"/>\n <span>{title}</span>\n <img className={'icon'}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-right.png\" alt=\"\"/>\n </h1>\n <ul>\n <li className={'head title'}>\n <div className=\"code\">中奖码</div>\n <div className=\"user-name\">用户名称</div>\n <div className=\"prize\">奖品名称</div>\n </li>\n {\n list.map(item => (\n <li key={item.code}>\n <div className=\"code\">{item.code}</div>\n <div className=\"user-name\">{item.name}</div>\n <div className=\"prize\">{item.prize}</div>\n </li>\n ))\n }\n </ul>\n </div>\n )\n }\n}\n\nexport default WithFullSize(PrizeWinnerList)\n"],"sourceRoot":""} {"version":3,"sources":["components/activity/prize-winner-list/index.js"],"names":["PrizeWinnerList","state","list","title","_this2","this","http","get","concat","API","home","getParam","then","res","data","code","response","setState","_this$state","react__WEBPACK_IMPORTED_MODULE_5___default","a","createElement","id","className","src","alt","map","item","key","name","prize","Component","WithFullSize"],"mappings":"0MAKMA,6MAEJC,MAAQ,CACNC,KAAM,GACNC,MAAO,uFAGW,IAAAC,EAAAC,KAClBC,IAAKC,IAAL,GAAAC,OAAYC,IAAIC,KAAhB,gCAAAF,OAAmDG,YAAS,SACzDC,KAAK,SAAAC,GAAO,IACJC,EAAQD,EAARC,KACP,GAAiB,KAAbA,EAAKC,KAAa,KACPC,EAAYF,EAAlBA,KACPV,EAAKa,SAAS,CACZd,MAAOa,EAASb,MAChBD,KAAMc,EAASd,2CAMhB,IAAAgB,EACeb,KAAKJ,MAApBE,EADAe,EACAf,MAAOD,EADPgB,EACOhB,KACd,OACEiB,EAAAC,EAAAC,cAAA,OAAKC,GAAI,qBACPH,EAAAC,EAAAC,cAAA,OAAKE,UAAU,UACbJ,EAAAC,EAAAC,cAAA,OAAKG,IAAI,+FAA+FC,IAAI,GACvGF,UAAU,YAEjBJ,EAAAC,EAAAC,cAAA,UACEF,EAAAC,EAAAC,cAAA,OAAKE,UAAW,OACXC,IAAI,wFAAwFC,IAAI,KACrGN,EAAAC,EAAAC,cAAA,YAAOlB,GACPgB,EAAAC,EAAAC,cAAA,OAAKE,UAAW,OACXC,IAAI,yFAAyFC,IAAI,MAExGN,EAAAC,EAAAC,cAAA,UACEF,EAAAC,EAAAC,cAAA,MAAIE,UAAW,cACbJ,EAAAC,EAAAC,cAAA,OAAKE,UAAU,QAAf,sBACAJ,EAAAC,EAAAC,cAAA,OAAKE,UAAU,aAAf,4BACAJ,EAAAC,EAAAC,cAAA,OAAKE,UAAU,SAAf,6BAGArB,EAAKwB,IAAI,SAAAC,GAAI,OACXR,EAAAC,EAAAC,cAAA,MAAIO,IAAKD,EAAKZ,MACZI,EAAAC,EAAAC,cAAA,OAAKE,UAAU,QAAQI,EAAKZ,MAC5BI,EAAAC,EAAAC,cAAA,OAAKE,UAAU,aAAaI,EAAKE,MACjCV,EAAAC,EAAAC,cAAA,OAAKE,UAAU,SAASI,EAAKG,mBA/CfC,aAyDfC,sBAAahC","file":"mrstatic/js/prize-winner-list.c19c45c5.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport './index.scss'\nimport { getParam, http } from '@/utils'\nimport { WithFullSize } from \"@/HOCs\"\n\nclass PrizeWinnerList extends Component {\n\n state = {\n list: [],\n title: '',\n }\n\n componentDidMount() {\n http.get(`${API.home}/sys/activity/lottery_names/${getParam('tid')}`)\n .then(res => {\n const {data} = res\n if (data.code == 200) {\n const {data: response} = data\n this.setState({\n title: response.title,\n list: response.list\n })\n }\n })\n }\n\n render() {\n const {title, list} = this.state\n return (\n <div id={'prize-winner-list'}>\n <div className=\"banner\">\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/prize-winner-list-banner.png\" alt=\"\"\n className=\"banner\"/>\n </div>\n <h1>\n <img className={'icon'}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-left.png\" alt=\"\"/>\n <span>{title}</span>\n <img className={'icon'}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/title-decorate-right.png\" alt=\"\"/>\n </h1>\n <ul>\n <li className={'head title'}>\n <div className=\"code\">中奖码</div>\n <div className=\"user-name\">用户名称</div>\n <div className=\"prize\">奖品名称</div>\n </li>\n {\n list.map(item => (\n <li key={item.code}>\n <div className=\"code\">{item.code}</div>\n <div className=\"user-name\">{item.name}</div>\n <div className=\"prize\">{item.prize}</div>\n </li>\n ))\n }\n </ul>\n </div>\n )\n }\n}\n\nexport default WithFullSize(PrizeWinnerList)\n"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{1215:function(e,t,a){"use strict";a.r(t);a(39);var s=a(12),i=a.n(s),c=a(5),n=a(7),r=a(6),o=a(8),l=a(9),u=a(0),d=a.n(u),m=(a(914),a(27)),p=a(3),f=a(15),h=a(22),E=(a(74),a(61)),_=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(r.a)(this,Object(o.a)(t).call(this,e))).getList=function(){p.d.get("".concat(API.home,"/m/my/courses")).then(function(e){200===e.data.code?a.setState({data:e.data.data,isLoading:!1}):i.a.info(e.data.msg,2)})},a.toCourseDetail=function(e){var t=a.props;t.dispatch;t.history.push("/detail?id=".concat(e))},a.state={data:[],isLoading:!0},a}return Object(l.a)(t,e),Object(n.a)(t,[{key:"componentDidMount",value:function(){this.getList()}},{key:"render",value:function(){var e=this,t=this.props.user,a=t&&t.data&&t.data.uid;return d.a.createElement("div",{className:"purchased-box"},d.a.createElement(m.e,{arrow:!0,title:"\u5df2\u8d2d\u8bfe\u7a0b",cart:!1,toHref:"/my"}),d.a.createElement(E.a,{isLoading:this.state.isLoading},this.state.data&&this.state.data.length>0?d.a.createElement("div",{className:"purchased-body"},d.a.createElement("div",{className:"tip"},"\u52a0\u7fa4\u8bf7\u5907\u6ce8\u60a8\u7684\u5b66\u53f7\uff1a",a),this.state.data.map(function(t,a){var s=d.a.createElement("div",{className:"info"},d.a.createElement("p",{className:"title",onClick:function(){return e.toCourseDetail(t.course_id)}},t.course_title),d.a.createElement("p",{className:"contact text-overflow-2"},t.simpledescription),t.is_aist&&d.a.createElement("div",{className:"des"},"\u52a9\u6559\u5fae\u4fe1\uff1a",t.assist_weixin),!t.is_aist&&1==t.contact_type&&t.course_qq&&d.a.createElement("div",{className:"des"},"QQ\u7fa4\uff1a",t.course_qq),!t.is_aist&&2==t.contact_type&&t.course_qq&&d.a.createElement("div",{className:"des"},"\u73ed\u4e3b\u4efb\u5fae\u4fe1\uff1a",t.course_qq)),i=t.is_aist&&d.a.createElement("span",{className:"status"},"\u8fd4\u73b0"),c=t.course_expire&&""!=t.course_expire&&d.a.createElement("span",{className:"course-expire"},t.course_expire);return d.a.createElement(m.j,{key:a,img:t.image_name,id:t.course_id,info:s,status:i,courseExpire:c,toDetail:e.toCourseDetail})})):d.a.createElement("div",{className:"cart-tip"},d.a.createElement("p",{className:"cart-mess"},"\u60a8\u8fd8\u6ca1\u6709\u8bfe\u7a0b\u54e6\uff0c\u5feb\u53bb\u901b\u901b\u5427~"),d.a.createElement(f.b,{to:"/classify"},"\u53bb\u901b\u901b"))))}}]),t}(u.Component);t.default=Object(h.b)(function(e){return{user:e.user}},null)(_)},914:function(e,t,a){}}]); (window.webpackJsonp=window.webpackJsonp||[]).push([[29],{1211:function(e,t,a){"use strict";a.r(t);a(39);var s=a(12),i=a.n(s),c=a(5),n=a(7),r=a(6),o=a(8),l=a(9),u=a(0),d=a.n(u),m=(a(910),a(27)),p=a(3),f=a(15),h=a(22),E=(a(74),a(61)),_=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(r.a)(this,Object(o.a)(t).call(this,e))).getList=function(){p.d.get("".concat(API.home,"/m/my/courses")).then(function(e){200===e.data.code?a.setState({data:e.data.data,isLoading:!1}):i.a.info(e.data.msg,2)})},a.toCourseDetail=function(e){var t=a.props;t.dispatch;t.history.push("/detail?id=".concat(e))},a.state={data:[],isLoading:!0},a}return Object(l.a)(t,e),Object(n.a)(t,[{key:"componentDidMount",value:function(){this.getList()}},{key:"render",value:function(){var e=this,t=this.props.user,a=t&&t.data&&t.data.uid;return d.a.createElement("div",{className:"purchased-box"},d.a.createElement(m.e,{arrow:!0,title:"\u5df2\u8d2d\u8bfe\u7a0b",cart:!1,toHref:"/my"}),d.a.createElement(E.a,{isLoading:this.state.isLoading},this.state.data&&this.state.data.length>0?d.a.createElement("div",{className:"purchased-body"},d.a.createElement("div",{className:"tip"},"\u52a0\u7fa4\u8bf7\u5907\u6ce8\u60a8\u7684\u5b66\u53f7\uff1a",a),this.state.data.map(function(t,a){var s=d.a.createElement("div",{className:"info"},d.a.createElement("p",{className:"title",onClick:function(){return e.toCourseDetail(t.course_id)}},t.course_title),d.a.createElement("p",{className:"contact text-overflow-2"},t.simpledescription),t.is_aist&&d.a.createElement("div",{className:"des"},"\u52a9\u6559\u5fae\u4fe1\uff1a",t.assist_weixin),!t.is_aist&&1==t.contact_type&&t.course_qq&&d.a.createElement("div",{className:"des"},"QQ\u7fa4\uff1a",t.course_qq),!t.is_aist&&2==t.contact_type&&t.course_qq&&d.a.createElement("div",{className:"des"},"\u73ed\u4e3b\u4efb\u5fae\u4fe1\uff1a",t.course_qq)),i=t.is_aist&&d.a.createElement("span",{className:"status"},"\u8fd4\u73b0"),c=t.course_expire&&""!=t.course_expire&&d.a.createElement("span",{className:"course-expire"},t.course_expire);return d.a.createElement(m.j,{key:a,img:t.image_name,id:t.course_id,info:s,status:i,courseExpire:c,toDetail:e.toCourseDetail})})):d.a.createElement("div",{className:"cart-tip"},d.a.createElement("p",{className:"cart-mess"},"\u60a8\u8fd8\u6ca1\u6709\u8bfe\u7a0b\u54e6\uff0c\u5feb\u53bb\u901b\u901b\u5427~"),d.a.createElement(f.b,{to:"/classify"},"\u53bb\u901b\u901b"))))}}]),t}(u.Component);t.default=Object(h.b)(function(e){return{user:e.user}},null)(_)},910:function(e,t,a){}}]);
//# sourceMappingURL=purchased.2f92d794.chunk.js.map //# sourceMappingURL=purchased.0203a02a.chunk.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["components/purchased/index.js"],"names":["Purchased","props","_this","Object","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__","this","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__","_Users_wangshuo_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__","call","getList","http","get","concat","API","home","then","res","data","code","setState","isLoading","antd_mobile_lib_toast__WEBPACK_IMPORTED_MODULE_1___default","a","info","msg","toCourseDetail","id","_this$props","dispatch","history","push","state","_this2","user","uid","react__WEBPACK_IMPORTED_MODULE_7___default","createElement","className","_common__WEBPACK_IMPORTED_MODULE_9__","arrow","title","cart","toHref","_common_Loading__WEBPACK_IMPORTED_MODULE_14__","length","map","item","index","Info","onClick","course_id","course_title","simpledescription","is_aist","assist_weixin","contact_type","course_qq","status","courseExpire","course_expire","key","img","image_name","toDetail","react_router_dom__WEBPACK_IMPORTED_MODULE_11__","to","Component","connect"],"mappings":"yOAUMA,cACF,SAAAA,EAAYC,GAAO,IAAAC,EAAA,OAAAC,OAAAC,EAAA,EAAAD,CAAAE,KAAAL,IACfE,EAAAC,OAAAG,EAAA,EAAAH,CAAAE,KAAAF,OAAAI,EAAA,EAAAJ,CAAAH,GAAAQ,KAAAH,KAAMJ,KAYVQ,QAAU,WACNC,IAAKC,IAAL,GAAAC,OAAYC,IAAIC,KAAhB,kBAAsCC,KAAK,SAACC,GAClB,MAAlBA,EAAIC,KAAKC,KACThB,EAAKiB,SAAS,CACVF,KAAMD,EAAIC,KAAKA,KACfG,WAAW,IAGfC,EAAAC,EAAMC,KAAKP,EAAIC,KAAKO,IAAK,MArBlBtB,EA0BnBuB,eAAiB,SAACC,GAAO,IAAAC,EACSzB,EAAKD,MADd0B,EACbC,SADaD,EACHE,QAENC,KAAR,cAAAlB,OAA2Bc,KA3B/BxB,EAAK6B,MAAQ,CACTd,KAAM,GACNG,WAAW,GAJAlB,mFASfG,KAAKI,2CAyBA,IAAAuB,EAAA3B,KACE4B,EAAQ5B,KAAKJ,MAAbgC,KACDC,EAAMD,GAAQA,EAAKhB,MAAQgB,EAAKhB,KAAKiB,IAC3C,OACIC,EAAAb,EAAAc,cAAA,OAAKC,UAAU,iBACXF,EAAAb,EAAAc,cAACE,EAAA,EAAD,CAAWC,OAAO,EAAMC,MAAM,2BAAOC,MAAM,EAAOC,OAAO,QACzDP,EAAAb,EAAAc,cAACO,EAAA,EAAD,CAASvB,UAAWf,KAAK0B,MAAMX,WAEvBf,KAAK0B,MAAMd,MAAQZ,KAAK0B,MAAMd,KAAK2B,OAAS,EACxCT,EAAAb,EAAAc,cAAA,OAAKC,UAAU,kBACXF,EAAAb,EAAAc,cAAA,OAAKC,UAAU,OAAf,+DAAgCH,GAE5B7B,KAAK0B,MAAMd,KAAK4B,IAAI,SAACC,EAAMC,GACvB,IAAMC,EACFb,EAAAb,EAAAc,cAAA,OAAKC,UAAU,QACXF,EAAAb,EAAAc,cAAA,KAAGC,UAAU,QAAQY,QAAS,kBAAMjB,EAAKP,eAAeqB,EAAKI,aAEpDJ,EAAKK,cAGdhB,EAAAb,EAAAc,cAAA,KAAGC,UAAU,2BAA2BS,EAAKM,mBAGzCN,EAAKO,SACAlB,EAAAb,EAAAc,cAAA,OAAKC,UAAU,OAAf,iCAA2BS,EAAKQ,gBAGpCR,EAAKO,SAAgC,GAArBP,EAAKS,cAAqBT,EAAKU,WAChDrB,EAAAb,EAAAc,cAAA,OAAKC,UAAU,OAAf,iBAA0BS,EAAKU,YAG9BV,EAAKO,SAAgC,GAArBP,EAAKS,cAAqBT,EAAKU,WAChDrB,EAAAb,EAAAc,cAAA,OAAKC,UAAU,OAAf,uCAA4BS,EAAKU,YAIvCC,EACFX,EAAKO,SAAWlB,EAAAb,EAAAc,cAAA,QAAMC,UAAU,UAAhB,gBAEdqB,EACFZ,EAAKa,eAAqC,IAApBb,EAAKa,eACvBxB,EAAAb,EAAAc,cAAA,QAAMC,UAAU,iBAAiBS,EAAKa,eAE9C,OACIxB,EAAAb,EAAAc,cAACE,EAAA,EAAD,CACIsB,IAAKb,EACLc,IAAKf,EAAKgB,WACVpC,GAAIoB,EAAKI,UACT3B,KAAMyB,EACNS,OAAQA,EACRC,aAAcA,EACdK,SAAU/B,EAAKP,oBAMjCU,EAAAb,EAAAc,cAAA,OAAKC,UAAU,YACbF,EAAAb,EAAAc,cAAA,KAAGC,UAAU,aAAb,mFACAF,EAAAb,EAAAc,cAAC4B,EAAA,EAAD,CAAMC,GAAG,aAAT,gCA9FRC,aAwGTC,sBACX,SAAApC,GAAK,MAAK,CAACE,KAAMF,EAAME,OACvB,KAFWkC,CAGbnE","file":"mrstatic/js/purchased.0203a02a.chunk.js","sourcesContent":["import React, {Component} from 'react';\nimport './index.scss';\nimport {HeaderBar, VList} from '../../common'\nimport { http } from \"@/utils\";\nimport {Link} from 'react-router-dom'\nimport {Toast} from 'antd-mobile'\nimport {connect} from \"react-redux\"\nimport {getCourses} from './../detail/actions';\nimport Loading from '@/common/Loading'\n\nclass Purchased extends Component {\n constructor(props) {\n super(props)\n this.state = {\n data: [],\n isLoading: true\n }\n }\n\n componentDidMount() {\n this.getList()\n }\n\n // 获取订单\n getList = () => {\n http.get(`${API.home}/m/my/courses`,).then((res) => {\n if (res.data.code === 200) {\n this.setState({\n data: res.data.data,\n isLoading: false\n })\n } else {\n Toast.info(res.data.msg, 2);\n }\n })\n }\n\n toCourseDetail = (id) => {\n const { dispatch, history } = this.props;\n // dispatch(getCourses(id, () => {\n history.push(`/detail?id=${id}`)\n // }));\n }\n\n\n render() {\n const {user} = this.props\n const uid = user && user.data && user.data.uid\n return (\n <div className='purchased-box'>\n <HeaderBar arrow={true} title='已购课程' cart={false} toHref='/my' />\n <Loading isLoading={this.state.isLoading}>\n {\n this.state.data && this.state.data.length > 0 ?\n <div className=\"purchased-body\">\n <div className='tip'>加群请备注您的学号:{uid}</div>\n {\n this.state.data.map((item, index) => {\n const Info = (\n <div className=\"info\">\n <p className='title' onClick={() => this.toCourseDetail(item.course_id)}>\n {/* <Link to={`/detail?id=${item.course_id}`}> */}\n {item.course_title}\n {/* </Link> */}\n </p>\n <p className='contact text-overflow-2'>{item.simpledescription}</p>\n\n {\n item.is_aist &&\n <div className='des'>助教微信:{item.assist_weixin}</div>\n }\n {\n !item.is_aist && item.contact_type == 1 && item.course_qq &&\n <div className='des'>QQ群:{item.course_qq}</div>\n }\n {\n !item.is_aist && item.contact_type == 2 && item.course_qq &&\n <div className='des'>班主任微信:{item.course_qq}</div>\n }\n </div>\n )\n const status = (\n item.is_aist && <span className='status'>返现</span>\n )\n const courseExpire = (\n item.course_expire && item.course_expire!='' &&\n <span className='course-expire'>{item.course_expire}</span>\n )\n return (\n <VList\n key={index}\n img={item.image_name}\n id={item.course_id}\n info={Info}\n status={status}\n courseExpire={courseExpire}\n toDetail={this.toCourseDetail}\n />\n )\n })\n }\n </div>\n : <div className=\"cart-tip\">\n <p className='cart-mess'>您还没有课程哦,快去逛逛吧~</p>\n <Link to='/classify'>去逛逛</Link>\n </div>\n }\n </Loading>\n\n </div>\n )\n }\n}\n\nexport default connect(\n state => ({user: state.user}),\n null\n)(Purchased)\n"],"sourceRoot":""}
\ No newline at end of file
!function(e){function r(r){for(var a,n,f=r[0],c=r[1],s=r[2],d=0,l=[];d<f.length;d++)n=f[d],o[n]&&l.push(o[n][0]),o[n]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(u&&u(r);l.length;)l.shift()();return i.push.apply(i,s||[]),t()}function t(){for(var e,r=0;r<i.length;r++){for(var t=i[r],a=!0,n=1;n<t.length;n++){var c=t[n];0!==o[c]&&(a=!1)}a&&(i.splice(r--,1),e=f(f.s=t[0]))}return e}var a={},n={30:0},o={30:0},i=[];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]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,12:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,27:1,28:1,29:1,31:1,32:1,33:1,34:1,35:1,37:1,38:1,39:1,40:1,41:1,42:1}[e]&&r.push(n[e]=new Promise(function(r,t){for(var a="mrstatic/css/"+({3:"Activity",4:"BargainMiddlePage",5:"Classify",6:"Country",7:"CourseList",8:"DrawDocument",9:"Examination",10:"Invite",11:"MyEdit",12:"Order",13:"Orderinfo",14:"PayOrder",15:"Preferential",16:"SearchResult",17:"ShareCourse",18:"ShopCart",19:"aist-share",20:"blessing-preheat",21:"blessing-rank",22:"coupons",23:"deposit-order",24:"deposit-pay-order",25:"detail",27:"myorders",28:"prize-winner-list",29:"purchased",31:"search",32:"shareposter",33:"study",34:"togroup",35:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"fd1b61f1",3:"c6023132",4:"98ff5f85",5:"4393f5d0",6:"67334f4b",7:"12a61ca3",8:"58508f31",9:"02475a25",10:"c6023132",11:"31d6cfe0",12:"0ab178ef",13:"31d6cfe0",14:"4a91788c",15:"fd9b7b0b",16:"b7ad8ad7",17:"c571c49e",18:"f39ca42e",19:"7510d5bb",20:"531490c2",21:"4f55b203",22:"940f5632",23:"0cb67b20",24:"fe0a9d86",25:"3155b9cc",27:"5cf0b543",28:"013af682",29:"28c23daa",31:"85280180",32:"4618854a",33:"72465fcb",34:"acc61e40",35:"8f752b2b",37:"2833f269",38:"6b450e29",39:"0a40f258",40:"44620a41",41:"07af17e7",42:"c783b09f"}[e]+".chunk.css",o=f.p+a,i=document.getElementsByTagName("link"),c=0;c<i.length;c++){var s=(u=i[c]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(s===a||s===o))return r()}var d=document.getElementsByTagName("style");for(c=0;c<d.length;c++){var u;if((s=(u=d[c]).getAttribute("data-href"))===a||s===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var a=r&&r.target&&r.target.src||o,i=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");i.request=a,delete n[e],l.parentNode.removeChild(l),t(i)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){n[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var a=new Promise(function(r,a){t=o[e]=[r,a]});r.push(t[2]=a);var i,c=document.createElement("script");c.charset="utf-8",c.timeout=120,f.nc&&c.setAttribute("nonce",f.nc),c.src=function(e){return f.p+"mrstatic/js/"+({3:"Activity",4:"BargainMiddlePage",5:"Classify",6:"Country",7:"CourseList",8:"DrawDocument",9:"Examination",10:"Invite",11:"MyEdit",12:"Order",13:"Orderinfo",14:"PayOrder",15:"Preferential",16:"SearchResult",17:"ShareCourse",18:"ShopCart",19:"aist-share",20:"blessing-preheat",21:"blessing-rank",22:"coupons",23:"deposit-order",24:"deposit-pay-order",25:"detail",27:"myorders",28:"prize-winner-list",29:"purchased",31:"search",32:"shareposter",33:"study",34:"togroup",35:"video"}[e]||e)+"."+{0:"74af3f16",1:"84d3bbd1",2:"28eef00b",3:"a53a6810",4:"12fe1378",5:"65285196",6:"134200a2",7:"3a40f7ba",8:"a9ab6fc5",9:"1ddde5b2",10:"301fa71f",11:"b3ace82f",12:"8ed76836",13:"046b1aff",14:"9c66bebe",15:"a74104de",16:"7f440424",17:"866767ee",18:"642e9d66",19:"96011516",20:"b9cd4e7b",21:"e3f19668",22:"f34b72fd",23:"4bc25b6d",24:"ae1e7a15",25:"b0a0706a",27:"a43000b2",28:"c19c45c5",29:"0203a02a",31:"9eebfdba",32:"74193c94",33:"1b3a4662",34:"22f57fbb",35:"20314e24",37:"77786f00",38:"a8f95b71",39:"46a22973",40:"a738f5c5",41:"17f4819f",42:"fa8bff66"}[e]+".chunk.js"}(e),i=function(r){c.onerror=c.onload=null,clearTimeout(s);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,i=new Error("Loading chunk "+e+" failed.\n("+a+": "+n+")");i.type=a,i.request=n,t[1](i)}o[e]=void 0}};var s=setTimeout(function(){i({type:"timeout",target:c})},12e4);c.onerror=c.onload=i,document.head.appendChild(c)}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 c=window.webpackJsonp=window.webpackJsonp||[],s=c.push.bind(c);c.push=r,c=c.slice();for(var d=0;d<c.length;d++)r(c[d]);var u=s;t()}([]);
//# sourceMappingURL=runtime~main.08e12ae5.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.
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