Commit f6b55cda by xuzhenghua

样式优话

parents 06286b9c d46c0810
.search-head{height:11.733333vw;display:flex;background-color:#fff}.search-head .left{width:11.733333vw;height:11.733333vw;line-height:11.733333vw;text-align:center}.search-head .left img{width:3.733333vw;height:3.733333vw;display:block;padding:4vw}.search-head .left .iconfont{font-size:5.333333vw}.search-head .center{flex:1 1}.search-head .center .am-search{background-color:#fff}.search-head .center .am-search .am-search-input{background:#f0f2f6;border-radius:11.733333vw}.search-head .center .am-search .am-search-input .am-search-value{border:1px solid #e1e4e6;border-radius:3.466667vw;color:#333;font-size:3.2vw;outline:none;background-color:#fff}.search-head .center .am-search-start .am-search-input{background:#fff;border-radius:11.733333vw}.search-head .right{width:11.733333vw;height:11.733333vw;line-height:11.733333vw}.search-head .right .am-icon-md{padding:2.933333vw}.search-head .right-btn{width:auto}.search-head .right-btn .submit-btn{line-height:8vw;border:0;height:8vw;padding:0 3.2vw;margin:1.866667vw 0;border-radius:.8vw;font-size:3.733333vw;color:#525b65}.search-head .right-btn .submit-btn--active{color:#09f}.am-search{height:11.466667vw;padding:0}.search-result{padding-top:11.733333vw}.search-result .search-head{position:fixed;top:0;left:0;width:100%;z-index:10;-webkit-transition:top .5 ease;transition:top .5 ease}.search-result .search-head.hide{top:-11.733333vw}.search-result ul{list-style:none;border-top:1px solid #ddd}.search-result .v-list-item .content{width:100%}.search-result .info{width:50%;position:relative;display:block}.search-result .info .title{font-size:4.266667vw;color:#525c65}.search-result .info .des{font-size:3.733333vw;color:#777;margin-top:2.666667vw}.search-result .info .price{color:#ff2121;font-size:4.266667vw;margin-right:3.733333vw}.search-result .info .stale-price{text-decoration:line-through;color:#999;font-size:3.2vw}.search-result .info .bottom{position:absolute;bottom:0}.search-result .empty{font-size:3.2vw;color:#777;padding:13.333333vw 0 8vw;text-align:center;background-color:#fff;border-top:1px solid #ddd}.search-result .empty img{width:26.666667vw;height:21.6vw;display:block;margin:0 auto 4vw}.search-result .status{width:100%;position:absolute;bottom:-.533333vw;left:0;height:6.4vw;text-align:center;line-height:6.4vw;font-size:3.466667vw;color:#fff;background-color:rgba(224,46,36,.6);border-radius:0 0 1.066667vw 1.066667vw}.search-result .recommendation{padding:0 4vw;margin-top:5.333333vw}.search-result .recommendation .title{font-size:4vw;text-align:center;color:#525c65;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANoAAAAYBAMAAABuE/5XAAAAD1BMVEUAAADt8PDu7vHu7vHt7/DmDX57AAAABHRSTlMA5kpJG2qUMwAAAEtJREFUSMdjYGAwdIEDYQYqA0zDRRACjtS0CNNw+tumiBAQoqZFmIaPglEw+AB6ZqepBbTM25j5m762Yc3so6XJKBhJYLRdMgTbJQD+dkaH7gAKTwAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-position:50%;background-size:contain;width:29.066667vw;height:5.6vw;margin:auto}.search-result .recommendation .courses{display:flex;flex-flow:wrap;justify-content:space-between}.search-result .recommendation .bottom{margin-top:3.2vw}.search-result .recommendation .price{color:#ff2121;font-size:4vw;margin-right:4vw}.search-result .recommendation .old-price{color:#999;font-size:2.933333vw;text-decoration:line-through}
/*# sourceMappingURL=SearchResult.19434ca0.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["/Users/xzh/dnmp/www/mr-julyedu/src/components/search/search_header.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/search/search-result.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/search/recommendation/recommendation.scss"],"names":[],"mappings":"AAoGA,aACI,kBAAA,CACA,YAAA,CACA,qBAAsB,CAH1B,mBAMQ,iBAAA,CACA,kBAAA,CACA,uBAAA,CACA,iBAAkB,CAT1B,uBAYY,gBAAA,CACA,iBAAA,CACA,aAAA,CACA,WAAa,CAfzB,6BAmBY,oBAAe,CAnB3B,qBAwBQ,QAAO,CAxBf,gCA2BY,qBAAsB,CA3BlC,iDA8BgB,kBAAA,CACA,yBAAmB,CA/BnC,kEAkCoB,wBAAA,CACA,wBAAA,CACA,UAAA,CACA,eAAA,CACA,YAAA,CACA,qBAAsB,CAvC1C,uDA+CgB,eAAA,CACA,yBAAmB,CAhDnC,oBAwDQ,iBAAA,CACA,kBAAA,CACA,uBAAiB,CA1DzB,gCA6DY,kBAAa,CA7DzB,wBAmEQ,UAAW,CAnEnB,oCAsEY,eAAA,CACA,QAAA,CACA,UAAA,CAEA,eAAA,CACA,mBAAA,CACA,kBAAA,CACA,oBAAA,CACA,aA9JU,CAgFtB,4CAiFY,UAlLC,CAuLb,WACI,kBAAA,CACA,SAAU,CCxFd,eACI,uBAAiB,CADrB,4BAKQ,cAAA,CACA,KAAA,CACA,MAAA,CACA,UAAA,CACA,UAAA,CACA,8BAAA,CAAA,sBAAwB,CAVhC,iCAaY,gBAAU,CAbtB,kBAkBQ,eAAA,CACA,yBAAyB,CAnBjC,qCAwBY,UAAW,CAxBvB,qBA6BQ,SAAA,CACA,iBAAA,CACA,aAAc,CA/BtB,4BAiCY,oBAAA,CACA,aAAa,CAlCzB,0BAsCY,oBAAA,CACA,UAAA,CACA,qBAAgB,CAxC5B,4BA4CY,aAAA,CACA,oBAAA,CACA,uBAAkB,CA9C9B,kCAkDY,4BAAA,CACA,UAAA,CACA,eArHE,CAiEd,6BAwDY,iBAAA,CACA,QAAS,CAzDrB,sBA8DQ,eAAA,CACA,UAAA,CACA,yBAAA,CACA,iBAAA,CACA,qBAAA,CACA,yBAA0B,CAnElC,0BAqEY,iBAAA,CACA,aAAA,CACA,aAAA,CACA,iBAAwB,CAxEpC,uBA6EQ,UAAA,CACA,iBAAA,CACA,iBAAA,CACA,MAAA,CACA,YAAA,CACA,iBAAA,CACA,iBAAA,CACA,oBAAA,CACA,UAAA,CACA,mCAAA,CACA,uCAA0B,CCvFlC,+BAGQ,aAAA,CACA,qBAAgB,CAJxB,sCAMY,aAAA,CACA,iBAAA,CACA,aAAA,CACA,wRAA2C,CAC3C,2BAAA,CACA,uBAAA,CACA,uBAAA,CACA,iBAAA,CACA,YAAA,CACA,WAAY,CAfxB,wCAmBY,YAAA,CACA,cAAA,CACA,6BAA8B,CArB1C,uCAyBY,gBAAgB,CAzB5B,sCA6BY,aAAA,CACA,aAAA,CACA,gBAAkB,CA/B9B,0CAmCY,UAAA,CACA,oBAAA,CACA,4BAA6B","file":"SearchResult.19434ca0.chunk.css","sourcesContent":["@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.search-head {\n height: 44px;\n display: flex;\n background-color: #fff; }\n .search-head .left {\n width: 44px;\n height: 44px;\n line-height: 44px;\n text-align: center; }\n .search-head .left img {\n width: 14px;\n height: 14px;\n display: block;\n padding: 15px; }\n .search-head .left .iconfont {\n font-size: 20px; }\n .search-head .center {\n flex: 1; }\n .search-head .center .am-search {\n background-color: #fff; }\n .search-head .center .am-search .am-search-input {\n background: #F0F2F6;\n border-radius: 44px; }\n .search-head .center .am-search .am-search-input .am-search-value {\n border: 1px solid #e1e4e6;\n border-radius: 13px;\n color: #333;\n font-size: 12px;\n outline: none;\n background-color: #fff; }\n .search-head .center .am-search-start .am-search-input {\n background: #fff;\n border-radius: 44px; }\n .search-head .right {\n width: 44px;\n height: 44px;\n line-height: 44px; }\n .search-head .right .am-icon-md {\n padding: 11px; }\n .search-head .right-btn {\n width: auto; }\n .search-head .right-btn .submit-btn {\n line-height: 30px;\n border: 0;\n height: 30px;\n margin: 7px 0px;\n padding: 0 12px;\n margin-left: 0;\n border-radius: 3px;\n font-size: 14px;\n color: #525B65; }\n .search-head .right-btn .submit-btn--active {\n color: #09f; }\n\n.am-search {\n height: 43px;\n padding: 0; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.search-result {\n padding-top: 44px; }\n .search-result .search-head {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n z-index: 10;\n transition: top 0.5 ease; }\n .search-result .search-head.hide {\n top: -44px; }\n .search-result ul {\n list-style: none;\n border-top: 1px solid #ddd; }\n .search-result .v-list-item .content {\n width: 100%; }\n .search-result .info {\n width: 50%;\n position: relative;\n display: block; }\n .search-result .info .title {\n font-size: 16px;\n color: #525C65; }\n .search-result .info .des {\n font-size: 14px;\n color: #777;\n margin-top: 10px; }\n .search-result .info .price {\n color: #FF2121;\n font-size: 16px;\n margin-right: 14px; }\n .search-result .info .stale-price {\n text-decoration: line-through;\n color: #999;\n font-size: 12px; }\n .search-result .info .bottom {\n position: absolute;\n bottom: 0; }\n .search-result .empty {\n font-size: 12px;\n color: #777;\n padding: 50px 0 30px 0;\n text-align: center;\n background-color: #fff;\n border-top: 1px solid #ddd; }\n .search-result .empty img {\n width: 100px;\n height: 81px;\n display: block;\n margin: 0 auto 15px auto; }\n .search-result .status {\n width: 100%;\n position: absolute;\n bottom: -2px;\n left: 0;\n height: 24px;\n text-align: center;\n line-height: 24px;\n font-size: 13px;\n color: #fff;\n background-color: rgba(224, 46, 36, 0.6);\n border-radius: 0 0 4px 4px; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.search-result .recommendation {\n padding: 0 15px;\n margin-top: 20px; }\n .search-result .recommendation .title {\n font-size: 15px;\n text-align: center;\n color: #525C65;\n background-image: url(\"../image/tj_bj.png\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n width: 109px;\n height: 21px;\n margin: auto; }\n .search-result .recommendation .courses {\n display: flex;\n flex-flow: wrap;\n justify-content: space-between; }\n .search-result .recommendation .bottom {\n margin-top: 12px; }\n .search-result .recommendation .price {\n color: #FF2121;\n font-size: 15px;\n margin-right: 15px; }\n .search-result .recommendation .old-price {\n color: #999;\n font-size: 11px;\n text-decoration: line-through; }\n"]}
\ No newline at end of file
.search-head{height:11.733333vw;display:flex;background-color:#fff}.search-head .left{width:11.733333vw;height:11.733333vw;line-height:11.733333vw;text-align:center}.search-head .left img{width:3.733333vw;height:3.733333vw;display:block;padding:4vw}.search-head .center{flex:1 1}.search-head .center .am-search{background-color:#fff}.search-head .center .am-search .am-search-input{background:#f0f2f6;border-radius:11.733333vw}.search-head .center .am-search .am-search-input .am-search-value{border:1px solid #e1e4e6;border-radius:3.466667vw;color:#333;font-size:3.2vw}.search-head .center .am-search-start .am-search-input{background:#fff;border-radius:11.733333vw}.search-head .right{width:11.733333vw;height:11.733333vw;line-height:11.733333vw}.search-head .right .am-icon-md{padding:2.933333vw}.search-head .right-btn{width:auto}.search-head .right-btn .submit-btn{line-height:8vw;border:0;height:8vw;padding:0 3.2vw;margin:1.866667vw 0;border-radius:.8vw;font-size:3.733333vw;color:#525b65}.search-head .right-btn .submit-btn--active{color:#09f}.am-search{height:11.466667vw;padding:0}.search-result{padding-top:11.733333vw}.search-result .search-head{position:fixed;top:0;left:0;width:100%;z-index:10;-webkit-transition:top .5 ease;transition:top .5 ease}.search-result .search-head.hide{top:-11.733333vw}.search-result ul{list-style:none;border-top:1px solid #ddd}.search-result .v-list-item .content{width:100%}.search-result .info{display:flex;flex-wrap:wrap;width:50%}.search-result .info .title{overflow:hidden;font-size:4.266667vw;color:#525c65;white-space:nowrap;text-overflow:ellipsis}.search-result .info .des{font-size:3.733333vw;color:#777;line-height:4.266667vw;align-self:flex-start}.search-result .info .price{color:#ff2121;font-size:4.266667vw;margin-right:3.733333vw}.search-result .info .stale-price{text-decoration:line-through;color:#999;font-size:3.2vw}.search-result .info .bottom{align-self:flex-end}.search-result .empty{font-size:3.2vw;color:#777;padding:13.333333vw 0 8vw;text-align:center;background-color:#fff;border-top:1px solid #ddd}.search-result .empty img{width:26.666667vw;height:21.6vw;display:block;margin:0 auto 4vw}.search-result .status{width:100%;position:absolute;bottom:-.533333vw;left:0;height:6.4vw;text-align:center;line-height:6.4vw;font-size:3.466667vw;color:#fff;background-color:rgba(224,46,36,.6)}.search-result .recommendation{padding:0 4vw;margin-top:5.333333vw}.search-result .recommendation .title{font-size:4vw;text-align:center;color:#525c65;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANoAAAAYBAMAAABuE/5XAAAAD1BMVEUAAADt8PDu7vHu7vHt7/DmDX57AAAABHRSTlMA5kpJG2qUMwAAAEtJREFUSMdjYGAwdIEDYQYqA0zDRRACjtS0CNNw+tumiBAQoqZFmIaPglEw+AB6ZqepBbTM25j5m762Yc3so6XJKBhJYLRdMgTbJQD+dkaH7gAKTwAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-position:50%;background-size:contain;width:29.066667vw;height:5.6vw;margin:auto}.search-result .recommendation .courses{display:flex;flex-flow:wrap;justify-content:space-between}.search-result .recommendation .bottom{margin-top:3.2vw}.search-result .recommendation .price{color:#ff2121;font-size:4vw;margin-right:4vw}.search-result .recommendation .old-price{color:#999;font-size:2.933333vw;text-decoration:line-through}
/*# sourceMappingURL=SearchResult.b6404675.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["/Users/xzh/dnmp/www/mr-julyedu/src/components/search/search_header.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/search/search-result.scss","/Users/xzh/dnmp/www/mr-julyedu/src/components/search/recommendation/recommendation.scss"],"names":[],"mappings":"AAoGA,aACI,kBAAA,CACA,YAAA,CACA,qBAAsB,CAH1B,mBAMQ,iBAAA,CACA,kBAAA,CACA,uBAAA,CACA,iBAAkB,CAT1B,uBAYY,gBAAA,CACA,iBAAA,CACA,aAAA,CACA,WAAa,CAfzB,qBAoBQ,QAAO,CApBf,gCAuBY,qBAAsB,CAvBlC,iDA0BgB,kBAAA,CACA,yBAAmB,CA3BnC,kEA8BoB,wBAAA,CACA,wBAAA,CACA,UAAA,CACA,eAAe,CAjCnC,uDAyCgB,eAAA,CACA,yBAAmB,CA1CnC,oBAkDQ,iBAAA,CACA,kBAAA,CACA,uBAAiB,CApDzB,gCAuDY,kBAAa,CAvDzB,wBA6DQ,UAAW,CA7DnB,oCAgEY,eAAA,CACA,QAAA,CACA,UAAA,CAEA,eAAA,CACA,mBAAA,CACA,kBAAA,CACA,oBAAA,CACA,aAxJU,CAgFtB,4CA2EY,UA5KC,CAiLb,WACI,kBAAA,CACA,SAAU,CClFd,eACI,uBAAiB,CADrB,4BAKQ,cAAA,CACA,KAAA,CACA,MAAA,CACA,UAAA,CACA,UAAA,CACA,8BAAA,CAAA,sBAAwB,CAVhC,iCAaY,gBAAU,CAbtB,kBAkBQ,eAAA,CACA,yBAAyB,CAnBjC,qCAwBY,UAAW,CAxBvB,qBA6BQ,YAAA,CACA,cAAA,CACA,SAAU,CA/BlB,4BAkCY,eAAA,CACA,oBAAA,CACA,aAAA,CACA,kBAAA,CACA,sBAAuB,CAtCnC,0BA2CY,oBAAA,CACA,UAAA,CACA,sBAAA,CACA,qBAAsB,CA9ClC,4BAmDY,aAAA,CACA,oBAAA,CACA,uBAAkB,CArD9B,kCAyDY,4BAAA,CACA,UAAA,CACA,eA5HE,CAiEd,6BA+DY,mBAAoB,CA/DhC,sBAoEQ,eAAA,CACA,UAAA,CACA,yBAAA,CACA,iBAAA,CACA,qBAAA,CACA,yBAA0B,CAzElC,0BA2EY,iBAAA,CACA,aAAA,CACA,aAAA,CACA,iBAAwB,CA9EpC,uBAmFQ,UAAA,CACA,iBAAA,CACA,iBAAA,CACA,MAAA,CACA,YAAA,CACA,iBAAA,CACA,iBAAA,CACA,oBAAA,CACA,UAAA,CACA,mCAAwC,CC5FhD,+BAGQ,aAAA,CACA,qBAAgB,CAJxB,sCAMY,aAAA,CACA,iBAAA,CACA,aAAA,CACA,wRAA2C,CAC3C,2BAAA,CACA,uBAAA,CACA,uBAAA,CACA,iBAAA,CACA,YAAA,CACA,WAAY,CAfxB,wCAmBY,YAAA,CACA,cAAA,CACA,6BAA8B,CArB1C,uCAyBY,gBAAgB,CAzB5B,sCA6BY,aAAA,CACA,aAAA,CACA,gBAAkB,CA/B9B,0CAmCY,UAAA,CACA,oBAAA,CACA,4BAA6B","file":"SearchResult.b6404675.chunk.css","sourcesContent":["@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.search-head {\n height: 44px;\n display: flex;\n background-color: #fff; }\n .search-head .left {\n width: 44px;\n height: 44px;\n line-height: 44px;\n text-align: center; }\n .search-head .left img {\n width: 14px;\n height: 14px;\n display: block;\n padding: 15px; }\n .search-head .center {\n flex: 1; }\n .search-head .center .am-search {\n background-color: #fff; }\n .search-head .center .am-search .am-search-input {\n background: #F0F2F6;\n border-radius: 44px; }\n .search-head .center .am-search .am-search-input .am-search-value {\n border: 1px solid #e1e4e6;\n border-radius: 13px;\n color: #333;\n font-size: 12px; }\n .search-head .center .am-search-start .am-search-input {\n background: #fff;\n border-radius: 44px; }\n .search-head .right {\n width: 44px;\n height: 44px;\n line-height: 44px; }\n .search-head .right .am-icon-md {\n padding: 11px; }\n .search-head .right-btn {\n width: auto; }\n .search-head .right-btn .submit-btn {\n line-height: 30px;\n border: 0;\n height: 30px;\n margin: 7px 0px;\n padding: 0 12px;\n margin-left: 0;\n border-radius: 3px;\n font-size: 14px;\n color: #525B65; }\n .search-head .right-btn .submit-btn--active {\n color: #09f; }\n\n.am-search {\n height: 43px;\n padding: 0; }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.search-result {\n padding-top: 44px; }\n .search-result .search-head {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n z-index: 10;\n transition: top 0.5 ease; }\n .search-result .search-head.hide {\n top: -44px; }\n .search-result ul {\n list-style: none;\n border-top: 1px solid #ddd; }\n .search-result .v-list-item .content {\n width: 100%; }\n .search-result .info {\n display: flex;\n flex-wrap: wrap;\n width: 50%; }\n .search-result .info .title {\n overflow: hidden;\n font-size: 16px;\n color: #525C65;\n white-space: nowrap;\n text-overflow: ellipsis; }\n .search-result .info .des {\n font-size: 14px;\n color: #777;\n line-height: 16px;\n align-self: flex-start; }\n .search-result .info .price {\n color: #FF2121;\n font-size: 16px;\n margin-right: 14px; }\n .search-result .info .stale-price {\n text-decoration: line-through;\n color: #999;\n font-size: 12px; }\n .search-result .info .bottom {\n align-self: flex-end; }\n .search-result .empty {\n font-size: 12px;\n color: #777;\n padding: 50px 0 30px 0;\n text-align: center;\n background-color: #fff;\n border-top: 1px solid #ddd; }\n .search-result .empty img {\n width: 100px;\n height: 81px;\n display: block;\n margin: 0 auto 15px auto; }\n .search-result .status {\n width: 100%;\n position: absolute;\n bottom: -2px;\n left: 0;\n height: 24px;\n text-align: center;\n line-height: 24px;\n font-size: 13px;\n color: #fff;\n background-color: rgba(224, 46, 36, 0.6); }\n","@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\n.search-result .recommendation {\n padding: 0 15px;\n margin-top: 20px; }\n .search-result .recommendation .title {\n font-size: 15px;\n text-align: center;\n color: #525C65;\n background-image: url(\"../image/tj_bj.png\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n width: 109px;\n height: 21px;\n margin: auto; }\n .search-result .recommendation .courses {\n display: flex;\n flex-flow: wrap;\n justify-content: space-between; }\n .search-result .recommendation .bottom {\n margin-top: 12px; }\n .search-result .recommendation .price {\n color: #FF2121;\n font-size: 15px;\n margin-right: 15px; }\n .search-result .recommendation .old-price {\n color: #999;\n font-size: 11px;\n text-decoration: line-through; }\n"]}
\ No newline at end of file
#intelligent-recommend{background:-webkit-gradient(linear,left top,right top,from(#f1f0f6),to(#ebf4f9));background:-webkit-linear-gradient(left,#f1f0f6,#ebf4f9);background:linear-gradient(90deg,#f1f0f6,#ebf4f9);padding:15.733333vw 2.666667vw 4.8vw;min-height:100%}#intelligent-recommend .clearfix:after{content:".";visibility:hidden;display:block;height:0;clear:both}#intelligent-recommend .head{position:fixed;top:0;left:0;justify-content:space-between;width:100%;height:11.733333vw;padding:0 4vw;background:#fff;z-index:100}#intelligent-recommend .head,#intelligent-recommend .head>div{display:flex;align-items:center}#intelligent-recommend .head .iconfont{font-size:4.266667vw;color:#222;font-weight:600}#intelligent-recommend .head .title{margin-left:2.666667vw;font-size:4vw;color:#2b2b2b}#intelligent-recommend .head button{width:22.4vw;height:8vw;border:1px solid #09f;border-radius:4vw;color:#09f;font-size:3.466667vw;outline:0;background-color:initial;-webkit-appearance:none}#intelligent-recommend .dialog-box{padding:5.333333vw 4vw;margin-bottom:5.333333vw;background:#f2f7fa;border:1px solid #5cf9ff;border-radius:2.133333vw}#intelligent-recommend .dialog-box .analyzing{color:#4f5c66;font-size:3.2vw;line-height:12.8vw;text-align:center}#intelligent-recommend .message .avatar{width:10%;display:inline-block;margin-right:3.733333vw}#intelligent-recommend .message .avatar img{width:8vw;height:8vw;border-radius:50%}#intelligent-recommend .message .text{max-width:85%;position:relative;padding:3.466667vw 4.266667vw;display:inline-block;background:#fff;border-radius:1.066667vw;font-size:4.266667vw;color:#333;text-align:left;line-height:6.4vw}#intelligent-recommend .message.system .text:before{content:"";position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);display:block;border-color:transparent;border-top:1.6vw solid transparent;border-bottom:1.6vw solid transparent;left:-2.133333vw;border-right:2.133333vw solid #fff}#intelligent-recommend .message.user .avatar{float:right;margin-right:0}#intelligent-recommend .message.user .text{float:right;margin-right:4vw;background-color:rgba(0,54,255,.7);color:#fff}#intelligent-recommend .message.user .text:after{content:"";position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);display:block;border-color:transparent;border-top:1.6vw solid transparent;border-bottom:1.6vw solid transparent;right:-2.133333vw;top:4.8vw;border-left:2.133333vw solid rgba(0,54,255,.7)}#intelligent-recommend .message+.message{margin-top:8vw}#intelligent-recommend .options{position:relative;padding-top:4.8vw;margin-top:4vw}#intelligent-recommend .options:before{content:"";position:absolute;top:0;left:0;width:100%;height:2.133333vw;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAooAAAAPCAYAAABjlu7OAAAB4ElEQVR4Xu3du00cURiG4W8ISAERIVdBGTRAxCUjoAnjJpAgQ0gENEAZlLERspwSMGiNSCxZs+zOObN7eEiZOZfnJ3hFMl1u+qv4IUCAQHsCT9nLc46716JXe+y38zuHSY6K7mNxAgQITCDQTbCnLQkQIFBe4LY/TZ/97OW6WCx+ROJlurzkorsvfyk7ECBAoK6AUKzrbTcCBGoJ/Oy3cpDzdNkpEoufkdjnT2a5y6/urdbV7EOAAIFaAkKxlrR9CBCoL1AqFkVi/VnakQCBSQSE4iTsNiVAoJrA2LEoEquNzkYECEwvIBSnn4ETECBQWmCsWBSJpSdlfQIE1kxAKK7ZQByHAIFCAqvGokgsNBjLEiCwzgJCcZ2n42wECIwrsGwsisRx52A1AgQ2RkAobsyoHJQAgVEEvhqLInEUdosQILCZAkJxM+fm1AQIrCKwaCyKxFWUvUuAQAMCQrGBIboCAQJLCAzFokhcAtUrBAi0JiAUW5uo+xAgsLjA/2JRJC5u6EkCBJoWEIpNj9flCBAYFPg3FucvzD/L54srg3QeIECgfQGh2P6M3ZAAgSGBeSz+yFn67P59VCQOifk9AQLfREAofpNBuyYBAgMCH/9ZPEnyllkefLvZXwwBAgSSd0mFoSi2q9XZAAAAAElFTkSuQmCC) no-repeat;background-size:contain}#intelligent-recommend .options li{margin-bottom:4vw;text-align:center}#intelligent-recommend .options li button{padding:1.866667vw 8vw;box-sizing:border-box;background:-webkit-gradient(linear,left top,right top,from(#09f),to(#4db8ff));background:-webkit-linear-gradient(left,#09f,#4db8ff);background:linear-gradient(90deg,#09f,#4db8ff);border-radius:4em;font-size:4.266667vw;line-height:6.4vw;color:#fff;text-align:left;-webkit-appearance:none;outline:none;border:none}#intelligent-recommend .result{padding:0 4vw 8vw;background:#fff;border:1px solid #09f;border-radius:2.133333vw;color:#333}#intelligent-recommend .result>.title{position:relative;color:#09f;font-size:4.266667vw;text-align:center;line-height:16.533333vw}#intelligent-recommend .result>.title:before{transform:translateY(-50%);left:5%}#intelligent-recommend .result>.title:after,#intelligent-recommend .result>.title:before{content:"";position:absolute;top:50%;-webkit-transform:translateY(-50%);display:block;width:2.933333vw;height:2.933333vw;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAfUlEQVRIS+2VQQqAMAwEJ+DXvPs5Qb+iLysoEVF78GC3RZCCPbdDuswSQz2jdzgtRvP4xFkwZlO5DN4noRfMCDpYnRhWYNLB8teOiz84BlZjFLpGmhexIDnia+jdtWC8PfFfkHv8NXqsKpR576MoShyXVlNpK5OrqWTis3kbefQqCBLW0vYAAAAASUVORK5CYII=) no-repeat;background-size:contain}#intelligent-recommend .result>.title:after{transform:translateY(-50%);right:5%;-webkit-transform:translateY(-50%) scale(-1);transform:translateY(-50%) scale(-1)}#intelligent-recommend .result .subtitle{font-size:4.8vw;font-weight:600}#intelligent-recommend .result .skill{font-size:3.2vw;line-height:9.6vw;white-space:pre-line}#intelligent-recommend .result .skill.project{font-size:3.733333vw}#intelligent-recommend .result .salary{font-size:4.8vw;line-height:2em;font-weight:500;color:#ff2a00}#intelligent-recommend .result .obtained,#intelligent-recommend .result .salary-section{margin-bottom:5.333333vw}#intelligent-recommend .result .recommends>div:first-child{margin-bottom:3.2vw;font-size:3.2vw;color:#09f}#intelligent-recommend .result .recommends .cover{flex:0 0 auto;width:33.333333vw;height:24vw;margin-right:2.666667vw}#intelligent-recommend .result .recommends .cover img{width:100%;height:100%}#intelligent-recommend .result .recommends .course{display:flex;justify-content:space-between;margin-bottom:5.333333vw}#intelligent-recommend .result .recommends .course .info{flex:1 1 auto;position:relative}#intelligent-recommend .result .recommends .course .title{width:50.666667vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2.133333vw;font-size:4.266667vw;line-height:4.266667vw;font-weight:500;color:#333}#intelligent-recommend .result .recommends .course .des{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin-bottom:1.333333vw;overflow:hidden;font-size:2.933333vw;color:#4f5c66}#intelligent-recommend .result .recommends .course .bar{position:absolute;left:0;bottom:0;display:flex;justify-content:space-between;align-items:center;width:100%;height:6.4vw;font-size:0}#intelligent-recommend .result .recommends .course .bar a{display:inline-block;box-sizing:border-box;padding:1.6vw 3.733333vw;text-align:center;font-size:3.2vw;line-height:3.2vw;border-radius:3.2vw}#intelligent-recommend .result .recommends .course .bar .contact{color:#fff;background-color:#09f;margin-right:1.6vw}#intelligent-recommend .result .recommends .course .bar .register{color:red;border:1px solid red}#intelligent-recommend .result .recommends .course .bar .price{font-size:4vw;color:#ff2121;margin-right:1.333333vw}#intelligent-recommend .result .recommends .course .bar .old-price{font-size:2.933333vw;color:#999;text-decoration:line-through}#intelligent-recommend .result .recommends .course .bar .study{background-color:#09f;color:#fff;font-size:3.2vw}
/*# sourceMappingURL=intelligent-recommend.aac549ab.chunk.css.map */
\ No newline at end of file
#intelligent-recommend{background:-webkit-gradient(linear,left top,right top,from(#f1f0f6),to(#ebf4f9));background:-webkit-linear-gradient(left,#f1f0f6,#ebf4f9);background:linear-gradient(90deg,#f1f0f6,#ebf4f9);padding:15.733333vw 2.666667vw 4.8vw;min-height:100%}#intelligent-recommend .clearfix:after{content:".";visibility:hidden;display:block;height:0;clear:both}#intelligent-recommend .head{position:fixed;top:0;left:0;justify-content:space-between;width:100%;height:11.733333vw;padding:0 4vw;background:#fff;z-index:100}#intelligent-recommend .head,#intelligent-recommend .head>div{display:flex;align-items:center}#intelligent-recommend .head .iconfont{font-size:5.333333vw;color:#222}#intelligent-recommend .head .title{margin-left:2.666667vw;font-size:4vw;color:#2b2b2b}#intelligent-recommend .head button{width:22.4vw;height:8vw;border:1px solid #09f;border-radius:4vw;color:#09f;font-size:3.466667vw;outline:0;background-color:initial;-webkit-appearance:none}#intelligent-recommend .dialog-box{padding:5.333333vw 4vw;margin-bottom:5.333333vw;background:#f2f7fa;border:1px solid #5cf9ff;border-radius:2.133333vw}#intelligent-recommend .dialog-box .analyzing{color:#4f5c66;font-size:3.2vw;line-height:12.8vw;text-align:center}#intelligent-recommend .message .avatar{width:10%;display:inline-block;margin-right:3.733333vw}#intelligent-recommend .message .avatar img{width:8vw;height:8vw;border-radius:50%}#intelligent-recommend .message .text{max-width:85%;position:relative;padding:3.466667vw 4.266667vw;display:inline-block;background:#fff;border-radius:1.066667vw;font-size:4.266667vw;color:#333;text-align:left;line-height:6.4vw}#intelligent-recommend .message.system .text:before{content:"";position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);display:block;border-color:transparent;border-top:1.6vw solid transparent;border-bottom:1.6vw solid transparent;left:-2.133333vw;border-right:2.133333vw solid #fff}#intelligent-recommend .message.user .avatar{float:right;margin-right:0}#intelligent-recommend .message.user .text{float:right;margin-right:4vw;background-color:rgba(0,54,255,.7);color:#fff}#intelligent-recommend .message.user .text:after{content:"";position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);display:block;border-color:transparent;border-top:1.6vw solid transparent;border-bottom:1.6vw solid transparent;right:-2.133333vw;top:4.8vw;border-left:2.133333vw solid rgba(0,54,255,.7)}#intelligent-recommend .message+.message{margin-top:8vw}#intelligent-recommend .options{position:relative;padding-top:4.8vw;margin-top:4vw}#intelligent-recommend .options:before{content:"";position:absolute;top:0;left:0;width:100%;height:2.133333vw;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAooAAAAPCAYAAABjlu7OAAAB4ElEQVR4Xu3du00cURiG4W8ISAERIVdBGTRAxCUjoAnjJpAgQ0gENEAZlLERspwSMGiNSCxZs+zOObN7eEiZOZfnJ3hFMl1u+qv4IUCAQHsCT9nLc46716JXe+y38zuHSY6K7mNxAgQITCDQTbCnLQkQIFBe4LY/TZ/97OW6WCx+ROJlurzkorsvfyk7ECBAoK6AUKzrbTcCBGoJ/Oy3cpDzdNkpEoufkdjnT2a5y6/urdbV7EOAAIFaAkKxlrR9CBCoL1AqFkVi/VnakQCBSQSE4iTsNiVAoJrA2LEoEquNzkYECEwvIBSnn4ETECBQWmCsWBSJpSdlfQIE1kxAKK7ZQByHAIFCAqvGokgsNBjLEiCwzgJCcZ2n42wECIwrsGwsisRx52A1AgQ2RkAobsyoHJQAgVEEvhqLInEUdosQILCZAkJxM+fm1AQIrCKwaCyKxFWUvUuAQAMCQrGBIboCAQJLCAzFokhcAtUrBAi0JiAUW5uo+xAgsLjA/2JRJC5u6EkCBJoWEIpNj9flCBAYFPg3FucvzD/L54srg3QeIECgfQGh2P6M3ZAAgSGBeSz+yFn67P59VCQOifk9AQLfREAofpNBuyYBAgMCH/9ZPEnyllkefLvZXwwBAgSSd0mFoSi2q9XZAAAAAElFTkSuQmCC) no-repeat;background-size:contain}#intelligent-recommend .options li{margin-bottom:4vw;text-align:center}#intelligent-recommend .options li button{padding:1.866667vw 8vw;box-sizing:border-box;background:-webkit-gradient(linear,left top,right top,from(#09f),to(#4db8ff));background:-webkit-linear-gradient(left,#09f,#4db8ff);background:linear-gradient(90deg,#09f,#4db8ff);border-radius:4em;font-size:4.266667vw;line-height:6.4vw;color:#fff;text-align:left;-webkit-appearance:none;outline:none;border:none}#intelligent-recommend .result{padding:0 4vw 8vw;background:#fff;border:1px solid #09f;border-radius:2.133333vw;color:#333}#intelligent-recommend .result>.title{position:relative;color:#09f;font-size:4.266667vw;text-align:center;line-height:16.533333vw}#intelligent-recommend .result>.title:before{transform:translateY(-50%);left:5%}#intelligent-recommend .result>.title:after,#intelligent-recommend .result>.title:before{content:"";position:absolute;top:50%;-webkit-transform:translateY(-50%);display:block;width:2.933333vw;height:2.933333vw;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAfUlEQVRIS+2VQQqAMAwEJ+DXvPs5Qb+iLysoEVF78GC3RZCCPbdDuswSQz2jdzgtRvP4xFkwZlO5DN4noRfMCDpYnRhWYNLB8teOiz84BlZjFLpGmhexIDnia+jdtWC8PfFfkHv8NXqsKpR576MoShyXVlNpK5OrqWTis3kbefQqCBLW0vYAAAAASUVORK5CYII=) no-repeat;background-size:contain}#intelligent-recommend .result>.title:after{transform:translateY(-50%);right:5%;-webkit-transform:translateY(-50%) scale(-1);transform:translateY(-50%) scale(-1)}#intelligent-recommend .result .subtitle{font-size:4.8vw;font-weight:600}#intelligent-recommend .result .skill{font-size:3.2vw;line-height:9.6vw;white-space:pre-line}#intelligent-recommend .result .skill.project{font-size:3.733333vw}#intelligent-recommend .result .salary{font-size:4.8vw;line-height:2em;font-weight:500;color:#ff2a00}#intelligent-recommend .result .obtained,#intelligent-recommend .result .salary-section{margin-bottom:5.333333vw}#intelligent-recommend .result .recommends>div:first-child{margin-bottom:3.2vw;font-size:3.2vw;color:#09f}#intelligent-recommend .result .recommends .cover{flex:0 0 auto;width:33.333333vw;height:24vw;margin-right:2.666667vw}#intelligent-recommend .result .recommends .cover img{width:100%;height:100%}#intelligent-recommend .result .recommends .course{display:flex;justify-content:space-between;margin-bottom:5.333333vw}#intelligent-recommend .result .recommends .course .info{flex:1 1 auto;position:relative}#intelligent-recommend .result .recommends .course .title{width:50.666667vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2.133333vw;font-size:4.266667vw;line-height:4.266667vw;font-weight:500;color:#333}#intelligent-recommend .result .recommends .course .des{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin-bottom:1.333333vw;overflow:hidden;font-size:2.933333vw;color:#4f5c66}#intelligent-recommend .result .recommends .course .bar{position:absolute;left:0;bottom:0;display:flex;justify-content:space-between;align-items:center;width:100%;height:6.4vw;font-size:0}#intelligent-recommend .result .recommends .course .bar a{display:inline-block;box-sizing:border-box;padding:1.6vw 3.733333vw;text-align:center;font-size:3.2vw;line-height:3.2vw;border-radius:3.2vw}#intelligent-recommend .result .recommends .course .bar .contact{color:#fff;background-color:#09f;margin-right:1.6vw}#intelligent-recommend .result .recommends .course .bar .register{color:red;border:1px solid red}#intelligent-recommend .result .recommends .course .bar .price{font-size:4vw;color:#ff2121;margin-right:1.333333vw}#intelligent-recommend .result .recommends .course .bar .old-price{font-size:2.933333vw;color:#999;text-decoration:line-through}#intelligent-recommend .result .recommends .course .bar .study{background-color:#09f;color:#fff;font-size:3.2vw}
/*# sourceMappingURL=intelligent-recommend.d7bf9609.chunk.css.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.
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.
#root,body,html{height:100%!important}.purchased-box{width:100%;height:100%}.purchased-box .tip{width:100%;height:8vw;line-height:8vw;font-size:3.2vw;color:#333;text-align:center;background-color:#fff4ce;margin-bottom:2.666667vw}.purchased-box .purchased-body,.purchased-box .v-list-item{background-color:#fff}.purchased-box .v-list-item .content{padding-bottom:2.666667vw;border-bottom:1px solid #e7eaf1}.purchased-box .v-list-item .content .cover{flex:inherit;width:42.2%}.purchased-box .v-list-item .content .cover img{width:100%}.purchased-box .v-list-item .info{width:52.3%;position:relative;display:block}.purchased-box .v-list-item .info .title{font-size:4.266667vw;color:#525b65}.purchased-box .v-list-item .info .contact{font-size:3.733333vw;color:#777;margin-top:3.733333vw}.purchased-box .v-list-item .info .des{position:absolute;bottom:1.333333vw;color:#09f;font-size:3.733333vw;height:3.733333vw;line-height:3.733333vw}.purchased-box .cart-tip{color:#555;margin-top:37.333333vw;text-align:center}.purchased-box .cart-tip .iconfridge{font-size:5.6vw}.purchased-box .cart-tip .cart-mess{font-size:3.2vw;color:#666}.purchased-box .cart-tip a{display:inline-block;width:34.666667vw;height:8vw;border:1px solid #09f;border-radius:4vw;font-size:4.266667vw;margin-top:8vw;color:#09f;text-align:center;line-height:7.466667vw}.purchased-box .status{position:absolute;top:0;right:0;padding:.533333vw 1.6vw;border-radius:2.933333vw 0 0 2.933333vw;font-size:3.733333vw;color:#fff;background:-webkit-gradient(linear,left top,left bottom,from(#ff4000),to(#fd7700));background:-webkit-linear-gradient(top,#ff4000,#fd7700);background:linear-gradient(180deg,#ff4000,#fd7700)}.purchased-box .course-expire{display:inline-block;text-align:center;position:absolute;bottom:2.666667vw;left:0;width:24.533333vw;height:5.333333vw;line-height:5.6vw;background-color:#ff3a3a;border-radius:0 2.666667vw 2.666667vw 0;color:#fff;font-size:3.2vw}
/*# sourceMappingURL=purchased.31dc62bc.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["/Users/xzh/dnmp/www/mr-julyedu/src/components/purchased/index.scss"],"names":[],"mappings":"AAoGA,gBACE,qBAAuB,CAGzB,eACE,UAAA,CACA,WAAY,CAFd,oBAOI,UAAA,CACA,UAAA,CACA,eAAA,CACA,eAAA,CACA,UAAA,CACA,iBAAA,CACA,wBAAA,CACA,wBAAmB,CAdvB,2DAsBI,qBAAsB,CAtB1B,qCAyBM,yBAAA,CACA,+BAAgC,CA1BtC,4CA6BQ,YAAA,CACA,WAAY,CA9BpB,gDAiCU,UAAW,CAjCrB,kCAuCM,WAAA,CACA,iBAAA,CACA,aAAc,CAzCpB,yCA4CQ,oBAAA,CACA,aAjIc,CAoFtB,2CAiDQ,oBAAA,CACA,UAAA,CACA,qBAAgB,CAnDxB,uCAuDQ,iBAAA,CACA,iBAAA,CACA,UAAA,CACA,oBAAA,CACA,iBAAA,CACA,sBAAiB,CA5DzB,yBAmEI,UAAA,CACA,sBAAA,CACA,iBAAkB,CArEtB,qCAwEM,eAAe,CAxErB,oCA4EM,eAAA,CACA,UA3KU,CA8FhB,2BAiFM,oBAAA,CACA,iBAAA,CACA,UAAA,CACA,qBAAA,CACA,iBAAA,CACA,oBAAA,CACA,cAAA,CACA,UAAA,CACA,iBAAA,CACA,sBAAiB,CA1FvB,uBA+FI,iBAAA,CACA,KAAA,CACA,OAAA,CACA,uBAAA,CACA,uCAAA,CACA,oBAAA,CACA,UAAA,CACA,kFAAA,CAAA,uDAAA,CAAA,kDAAwD,CAtG5D,8BA0GI,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,iBAAA,CACA,MAAA,CACA,iBAAA,CACA,iBAAA,CACA,iBAAA,CACA,wBAAA,CACA,uCAAA,CACA,UAAA,CACA,eAAe","file":"purchased.31dc62bc.chunk.css","sourcesContent":["@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\nhtml, body, #root {\n height: 100% !important; }\n\n.purchased-box {\n width: 100%;\n height: 100%; }\n .purchased-box .tip {\n width: 100%;\n height: 30px;\n line-height: 30px;\n font-size: 12px;\n color: #333;\n text-align: center;\n background-color: #FFF4CE;\n margin-bottom: 10px; }\n .purchased-box .purchased-body {\n background-color: #fff; }\n .purchased-box .v-list-item {\n background-color: #fff; }\n .purchased-box .v-list-item .content {\n padding-bottom: 10px;\n border-bottom: 1px solid #e7eaf1; }\n .purchased-box .v-list-item .content .cover {\n flex: inherit;\n width: 42.2%; }\n .purchased-box .v-list-item .content .cover img {\n width: 100%; }\n .purchased-box .v-list-item .info {\n width: 52.3%;\n position: relative;\n display: block; }\n .purchased-box .v-list-item .info .title {\n font-size: 16px;\n color: #525B65; }\n .purchased-box .v-list-item .info .contact {\n font-size: 14px;\n color: #777;\n margin-top: 14px; }\n .purchased-box .v-list-item .info .des {\n position: absolute;\n bottom: 5px;\n color: #09f;\n font-size: 14px;\n height: 14px;\n line-height: 14px; }\n .purchased-box .cart-tip {\n color: #555;\n margin-top: 140px;\n text-align: center; }\n .purchased-box .cart-tip .iconfridge {\n font-size: 21px; }\n .purchased-box .cart-tip .cart-mess {\n font-size: 12px;\n color: #666; }\n .purchased-box .cart-tip a {\n display: inline-block;\n width: 130px;\n height: 30px;\n border: 1px solid #09f;\n border-radius: 15px;\n font-size: 16px;\n margin-top: 30px;\n color: #09f;\n text-align: center;\n line-height: 28px; }\n .purchased-box .status {\n position: absolute;\n top: 0;\n right: 0;\n padding: 2px 6px;\n border-radius: 11px 0 0 11px;\n font-size: 14px;\n color: #fff;\n background: linear-gradient(to bottom, #FF4000, #FD7700); }\n .purchased-box .course-expire {\n display: inline-block;\n text-align: center;\n position: absolute;\n bottom: 10px;\n left: 0;\n width: 92px;\n height: 20px;\n line-height: 21px;\n background-color: #FF3A3A;\n border-radius: 0 10px 10px 0;\n color: #fff;\n font-size: 12px; }\n"]}
\ No newline at end of file
#root,body,html{height:100%!important}.purchased-box{width:100%;height:100%}.purchased-box .tip{width:100%;height:8vw;line-height:8vw;font-size:3.2vw;color:#333;text-align:center;background-color:#fff4ce;margin-bottom:2.666667vw}.purchased-box .purchased-body,.purchased-box .v-list-item{background-color:#fff}.purchased-box .v-list-item .content{padding-bottom:2.666667vw;border-bottom:1px solid #e7eaf1}.purchased-box .v-list-item .content .cover{flex:inherit;width:42.2%}.purchased-box .v-list-item .content .cover img{width:100%}.purchased-box .v-list-item .info{width:52.3%;position:relative;display:block}.purchased-box .v-list-item .info .title{font-size:4.266667vw;color:#525b65;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:4.266667vw;line-height:4.266667vw}.purchased-box .v-list-item .info .contact{font-size:3.733333vw;color:#777;margin-top:3.733333vw}.purchased-box .v-list-item .info .des{position:absolute;bottom:1.333333vw;color:#09f;font-size:3.733333vw;height:3.733333vw;line-height:3.733333vw}.purchased-box .cart-tip{color:#555;margin-top:37.333333vw;text-align:center}.purchased-box .cart-tip .iconfridge{font-size:5.6vw}.purchased-box .cart-tip .cart-mess{font-size:3.2vw;color:#666}.purchased-box .cart-tip a{display:inline-block;width:34.666667vw;height:8vw;border:1px solid #09f;border-radius:4vw;font-size:4.266667vw;margin-top:8vw;color:#09f;text-align:center;line-height:7.466667vw}.purchased-box .status{position:absolute;top:0;right:0;padding:.533333vw 1.6vw;border-radius:2.933333vw 0 0 2.933333vw;font-size:3.733333vw;color:#fff;background:-webkit-gradient(linear,left top,left bottom,from(#ff4000),to(#fd7700));background:-webkit-linear-gradient(top,#ff4000,#fd7700);background:linear-gradient(180deg,#ff4000,#fd7700)}.purchased-box .course-expire{display:inline-block;text-align:center;position:absolute;bottom:2.666667vw;left:0;width:24.533333vw;height:5.333333vw;line-height:5.6vw;background-color:#ff3a3a;border-radius:0 2.666667vw 2.666667vw 0;color:#fff;font-size:3.2vw}
/*# sourceMappingURL=purchased.846bc38b.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["/Users/xzh/dnmp/www/mr-julyedu/src/components/purchased/index.scss"],"names":[],"mappings":"AAoGA,gBACE,qBAAuB,CAGzB,eACE,UAAA,CACA,WAAY,CAFd,oBAOI,UAAA,CACA,UAAA,CACA,eAAA,CACA,eAAA,CACA,UAAA,CACA,iBAAA,CACA,wBAAA,CACA,wBAAmB,CAdvB,2DAsBI,qBAAsB,CAtB1B,qCAyBM,yBAAA,CACA,+BAAgC,CA1BtC,4CA6BQ,YAAA,CACA,WAAY,CA9BpB,gDAiCU,UAAW,CAjCrB,kCAuCM,WAAA,CACA,iBAAA,CACA,aAAc,CAzCpB,yCA4CQ,oBAAA,CACA,aAAA,CACA,eAAA,CACA,sBAAA,CACA,kBAAA,CACA,iBAAA,CACA,sBAAiB,CAlDzB,2CAsDQ,oBAAA,CACA,UAAA,CACA,qBAAgB,CAxDxB,uCA4DQ,iBAAA,CACA,iBAAA,CACA,UAAA,CACA,oBAAA,CACA,iBAAA,CACA,sBAAiB,CAjEzB,yBAwEI,UAAA,CACA,sBAAA,CACA,iBAAkB,CA1EtB,qCA6EM,eAAe,CA7ErB,oCAiFM,eAAA,CACA,UAhLU,CA8FhB,2BAsFM,oBAAA,CACA,iBAAA,CACA,UAAA,CACA,qBAAA,CACA,iBAAA,CACA,oBAAA,CACA,cAAA,CACA,UAAA,CACA,iBAAA,CACA,sBAAiB,CA/FvB,uBAoGI,iBAAA,CACA,KAAA,CACA,OAAA,CACA,uBAAA,CACA,uCAAA,CACA,oBAAA,CACA,UAAA,CACA,kFAAA,CAAA,uDAAA,CAAA,kDAAwD,CA3G5D,8BA+GI,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,iBAAA,CACA,MAAA,CACA,iBAAA,CACA,iBAAA,CACA,iBAAA,CACA,wBAAA,CACA,uCAAA,CACA,UAAA,CACA,eAAe","file":"purchased.846bc38b.chunk.css","sourcesContent":["@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\nhtml, body, #root {\n height: 100% !important; }\n\n.purchased-box {\n width: 100%;\n height: 100%; }\n .purchased-box .tip {\n width: 100%;\n height: 30px;\n line-height: 30px;\n font-size: 12px;\n color: #333;\n text-align: center;\n background-color: #FFF4CE;\n margin-bottom: 10px; }\n .purchased-box .purchased-body {\n background-color: #fff; }\n .purchased-box .v-list-item {\n background-color: #fff; }\n .purchased-box .v-list-item .content {\n padding-bottom: 10px;\n border-bottom: 1px solid #e7eaf1; }\n .purchased-box .v-list-item .content .cover {\n flex: inherit;\n width: 42.2%; }\n .purchased-box .v-list-item .content .cover img {\n width: 100%; }\n .purchased-box .v-list-item .info {\n width: 52.3%;\n position: relative;\n display: block; }\n .purchased-box .v-list-item .info .title {\n font-size: 16px;\n color: #525B65;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 16px;\n line-height: 16px; }\n .purchased-box .v-list-item .info .contact {\n font-size: 14px;\n color: #777;\n margin-top: 14px; }\n .purchased-box .v-list-item .info .des {\n position: absolute;\n bottom: 5px;\n color: #09f;\n font-size: 14px;\n height: 14px;\n line-height: 14px; }\n .purchased-box .cart-tip {\n color: #555;\n margin-top: 140px;\n text-align: center; }\n .purchased-box .cart-tip .iconfridge {\n font-size: 21px; }\n .purchased-box .cart-tip .cart-mess {\n font-size: 12px;\n color: #666; }\n .purchased-box .cart-tip a {\n display: inline-block;\n width: 130px;\n height: 30px;\n border: 1px solid #09f;\n border-radius: 15px;\n font-size: 16px;\n margin-top: 30px;\n color: #09f;\n text-align: center;\n line-height: 28px; }\n .purchased-box .status {\n position: absolute;\n top: 0;\n right: 0;\n padding: 2px 6px;\n border-radius: 11px 0 0 11px;\n font-size: 14px;\n color: #fff;\n background: linear-gradient(to bottom, #FF4000, #FD7700); }\n .purchased-box .course-expire {\n display: inline-block;\n text-align: center;\n position: absolute;\n bottom: 10px;\n left: 0;\n width: 92px;\n height: 20px;\n line-height: 21px;\n background-color: #FF3A3A;\n border-radius: 0 10px 10px 0;\n color: #fff;\n font-size: 12px; }\n"]}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([[55],{494:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(9)),o=s(n(11)),a=s(n(13)),u=s(n(12)),c=s(n(15)),l=s(n(17)),i=s(n(527)),f=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(0));function s(e){return e&&e.__esModule?e:{default:e}}var p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},d=function(e){function t(){return(0,o.default)(this,t),(0,u.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return(0,c.default)(t,e),(0,a.default)(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.style,o=p(e,["className","style"]),a=o.prefixCls,u=o.children,c=(0,l.default)(a+"-wrapper",t);"class"in o&&delete o.class;var s=f.createElement("label",{className:c,style:n},f.createElement(i.default,(0,r.default)({},o,{type:"radio"})),u);return this.props.wrapLabel?s:f.createElement(i.default,(0,r.default)({},this.props,{type:"radio"}))}}]),t}(f.Component);t.default=d,d.defaultProps={prefixCls:"am-radio",wrapLabel:!0},e.exports=t.default},505:function(e,t,n){"use strict";n(50),n(110),n(538)},506:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(494)),o=a(n(545));function a(e){return e&&e.__esModule?e:{default:e}}r.default.RadioItem=o.default,t.default=r.default,e.exports=t.default},527:function(e,t,n){"use strict";n.r(t);var r=n(9),o=n.n(r),a=n(34),u=n.n(a),c=n(67),l=n.n(c),i=n(11),f=n.n(i),s=n(13),p=n.n(s),d=n(12),y=n.n(d),h=n(15),b=n.n(h),v=n(0),m=n.n(v),O=n(1),g=n.n(O),j=n(539),C=n.n(j),k=n(17),x=n.n(k),P=function(e){function t(e){f()(this,t);var n=y()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));_.call(n);var r="checked"in e?e.checked:e.defaultChecked;return n.state={checked:r},n}return b()(t,e),p()(t,[{key:"componentWillReceiveProps",value:function(e){"checked"in e&&this.setState({checked:e.checked})}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return C.a.shouldComponentUpdate.apply(this,t)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.className,a=t.style,c=t.name,i=t.type,f=t.disabled,s=t.readOnly,p=t.tabIndex,d=t.onClick,y=t.onFocus,h=t.onBlur,b=l()(t,["prefixCls","className","style","name","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur"]),v=Object.keys(b).reduce(function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=b[t]),e},{}),O=this.state.checked,g=x()(n,r,(e={},u()(e,n+"-checked",O),u()(e,n+"-disabled",f),e));return m.a.createElement("span",{className:g,style:a},m.a.createElement("input",o()({name:c,type:i,readOnly:s,disabled:f,tabIndex:p,className:n+"-input",checked:!!O,onClick:d,onFocus:y,onBlur:h,onChange:this.handleChange},v)),m.a.createElement("span",{className:n+"-inner"}))}}]),t}(m.a.Component);P.propTypes={prefixCls:g.a.string,className:g.a.string,style:g.a.object,name:g.a.string,type:g.a.string,defaultChecked:g.a.oneOfType([g.a.number,g.a.bool]),checked:g.a.oneOfType([g.a.number,g.a.bool]),disabled:g.a.bool,onFocus:g.a.func,onBlur:g.a.func,onChange:g.a.func,onClick:g.a.func,tabIndex:g.a.string,readOnly:g.a.bool},P.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}};var _=function(){var e=this;this.handleChange=function(t){var n=e.props;n.disabled||("checked"in n||e.setState({checked:t.target.checked}),n.onChange({target:o()({},n,{checked:t.target.checked}),stopPropagation:function(){t.stopPropagation()},preventDefault:function(){t.preventDefault()}}))}},w=P;n.d(t,"default",function(){return w})},538:function(e,t,n){},539:function(e,t,n){var r=n(540);var o={shouldComponentUpdate:function(e,t){return function(e,t,n){return!r(e.props,t)||!r(e.state,n)}(this,e,t)}};e.exports=o},540:function(e,t,n){"use strict";var r=n(541);e.exports=function(e,t,n,o){var a=n?n.call(o,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var u=r(e),c=r(t),l=u.length;if(l!==c.length)return!1;o=o||null;for(var i=Object.prototype.hasOwnProperty.bind(t),f=0;f<l;f++){var s=u[f];if(!i(s))return!1;var p=e[s],d=t[s],y=n?n.call(o,p,d,s):void 0;if(!1===y||void 0===y&&p!==d)return!1}return!0}},541:function(e,t,n){var r=n(542),o=n(543),a=n(544),u=/^\d+$/,c=Object.prototype.hasOwnProperty,l=r(Object,"keys"),i=9007199254740991;var f,s=(f="length",function(e){return null==e?void 0:e[f]});function p(e,t){return e="number"==typeof e||u.test(e)?+e:-1,t=null==t?i:t,e>-1&&e%1==0&&e<t}function d(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function y(e){for(var t=function(e){if(null==e)return[];h(e)||(e=Object(e));var t=e.length;t=t&&d(t)&&(a(e)||o(e))&&t||0;var n=e.constructor,r=-1,u="function"==typeof n&&n.prototype===e,l=Array(t),i=t>0;for(;++r<t;)l[r]=r+"";for(var f in e)i&&p(f,t)||"constructor"==f&&(u||!c.call(e,f))||l.push(f);return l}(e),n=t.length,r=n&&e.length,u=!!r&&d(r)&&(a(e)||o(e)),l=-1,i=[];++l<n;){var f=t[l];(u&&p(f,r)||c.call(e,f))&&i.push(f)}return i}function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var b=l?function(e){var t,n=null==e?void 0:e.constructor;return"function"==typeof n&&n.prototype===e||"function"!=typeof e&&(null!=(t=e)&&d(s(t)))?y(e):h(e)?l(e):[]}:y;e.exports=b},542:function(e,t){var n="[object Function]",r=/^\[object .+?Constructor\]$/;var o=Object.prototype,a=Function.prototype.toString,u=o.hasOwnProperty,c=o.toString,l=RegExp("^"+a.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e,t){var o=null==e?void 0:e[t];return function(e){return null!=e&&(function(e){return function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)&&c.call(e)==n}(e)?l.test(a.call(e)):function(e){return!!e&&"object"==typeof e}(e)&&r.test(e))}(o)?o:void 0}},543:function(e,t){var n=9007199254740991,r="[object Arguments]",o="[object Function]",a="[object GeneratorFunction]",u=Object.prototype,c=u.hasOwnProperty,l=u.toString,i=u.propertyIsEnumerable;e.exports=function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?l.call(e):"";return t==o||t==a}(e)}(e)}(e)&&c.call(e,"callee")&&(!i.call(e,"callee")||l.call(e)==r)}},544:function(e,t){var n="[object Function]",r=/^\[object .+?Constructor\]$/;function o(e){return!!e&&"object"==typeof e}var a=Object.prototype,u=Function.prototype.toString,c=a.hasOwnProperty,l=a.toString,i=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),f=function(e,t){var a=null==e?void 0:e[t];return function(e){if(null==e)return!1;if(function(e){return function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)&&l.call(e)==n}(e))return i.test(u.call(e));return o(e)&&r.test(e)}(a)?a:void 0}(Array,"isArray"),s=9007199254740991;var p=f||function(e){return o(e)&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}(e.length)&&"[object Array]"==l.call(e)};e.exports=p},545:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n(9)),o=d(n(34)),a=d(n(11)),u=d(n(13)),c=d(n(12)),l=d(n(15)),i=d(n(17)),f=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(0)),s=d(n(48)),p=d(n(494));function d(e){return e&&e.__esModule?e:{default:e}}var y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},h=s.default.Item;function b(){}var v=function(e){function t(){return(0,a.default)(this,t),(0,c.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return(0,l.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.listPrefixCls,a=(t.onChange,t.disabled),u=t.radioProps,c=t.onClick,l=y(t,["listPrefixCls","onChange","disabled","radioProps","onClick"]),s=l.prefixCls,d=l.className,v=l.children,m=(0,i.default)(s+"-item",d,(0,o.default)({},s+"-item-disabled",!0===a));a||(l.onClick=c||b);var O={};return["name","defaultChecked","checked","onChange","disabled"].forEach(function(t){t in e.props&&(O[t]=e.props[t])}),f.createElement(h,(0,r.default)({},l,{prefixCls:n,className:m,extra:f.createElement(p.default,(0,r.default)({},u,O))}),v)}}]),t}(f.Component);t.default=v,v.defaultProps={prefixCls:"am-radio",listPrefixCls:"am-list",radioProps:{}},e.exports=t.default}}]);
//# sourceMappingURL=55.01bdfe9d.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.
{"version":3,"sources":["components/college/courseList.js","components/college/banner.js","components/college/header.js"],"names":["CollegeCourse","props","_this","Object","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__","this","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__","call","fetchCourseList","id","match","params","http","get","concat","API","then","res","_res$data","data","code","setState","header","name","courseList","document","title","toCourseDetail","_this$props","history","school_id","post","course_id","_res$data2","msg","push","antd_mobile_lib_toast__WEBPACK_IMPORTED_MODULE_1___default","a","info","state","_this2","_this$state","_this$state$courseLis","react__WEBPACK_IMPORTED_MODULE_7___default","createElement","Fragment","_common__WEBPACK_IMPORTED_MODULE_9__","arrow","_banner__WEBPACK_IMPORTED_MODULE_10__","_header__WEBPACK_IMPORTED_MODULE_11__","headerStyle","marginTop","className","map","item","onClick","key","style","backgroundImage","image_name","course_title","Component","react__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","react__WEBPACK_IMPORTED_MODULE_0___default","n","__webpack_exports__","banner","_props$isDecorate","isDecorate","_props$headerStyle","data-direction"],"mappings":"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","file":"mrstatic/js/57.017bda68.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport { http } from '@/utils';\nimport { HeaderBar } from \"@/common\";\nimport CollegeBanner from './banner';\nimport CollegeHeader from './header';\nimport './courseList.scss';\nimport { Toast } from 'antd-mobile';\n\nclass CollegeCourse extends Component {\n\n constructor(props) {\n super(props);\n this.state = {\n header: '',\n courseList: []\n };\n }\n\n componentDidMount() {\n this.fetchCourseList();\n }\n\n fetchCourseList = () => {\n const { match } = this.props;\n const id = match.params.id || 0;\n http.get(`${API['home']}/sys/school/${id}`).then(res => {\n const { code, data } = res.data;\n if(code === 200) {\n this.setState({\n header: data.name,\n courseList: data.data\n });\n document.title = `助力高校在线教学计划之${data.name}专区 - 七月在线`\n }\n });\n }\n\n toCourseDetail = (id) => {\n const { history, match } = this.props;\n const school_id = match.params.id || 0\n http.post(`${API['home']}/sys/school/verify`, {\n school_id,\n course_id: id,\n }).then(res => {\n const { code, msg } = res.data;\n if(code === 200) {\n history.push(`/detail?id=${id}`);\n }else if(code === 4030 || code === 4013) {\n history.push('/passport/login');\n }else {\n Toast.info(`${msg}~`);\n }\n });\n }\n\n render() {\n const { courseList = [], header } = this.state;\n return (\n <>\n <HeaderBar title={'助学计划'} arrow={true}/>\n <CollegeBanner />\n <CollegeHeader\n headerStyle={{\n marginTop: '20px'\n }}\n title={header}\n />\n <p className=\"college-course__desc\">点击需要学习的课程封面,在课程详情页进入购买流程凭免单券免费兑换课程。</p>\n <div className=\"college-course__body\">\n {\n courseList.map(item => (\n <div\n className=\"college-course__item\"\n onClick={() => this.toCourseDetail(item.course_id)}\n key={item.course_id}\n >\n <i className=\"college-course__cover\" style={{'backgroundImage': `url(${item.image_name})`}}></i>\n <p className=\"college-course__title\">{item.course_title}</p>\n </div>\n ))\n }\n </div>\n </>\n )\n }\n}\n\nexport default CollegeCourse;","import React from 'react';\nimport './banner.scss';\n\nexport default (props) => {\n const { banner = '' } = props;\n const style = () => {\n if(banner) {\n return {\n backgroundImage: `url(${banner})`\n }\n }\n return {};\n }\n\n return (\n <div className=\"college-banner\"></div>\n )\n}","import React from 'react';\nimport './header.scss';\n\nexport default (props) => {\n const { title, isDecorate = true, headerStyle = {} } = props;\n return (\n <>\n <div className=\"college-header\" style={headerStyle}>\n <i className=\"college-header__icon\" data-direction=\"left\"></i>\n <h2 className=\"college-header__text\">{title}</h2>\n <i className=\"college-header__icon\" data-direction=\"right\"></i>\n </div>\n {\n isDecorate &&\n <i className=\"college-header__decorate\"></i>\n }\n </>\n );\n};\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[57],{1087:function(e,t,a){},1194:function(e,t,a){"use strict";a.r(t);a(40);var c=a(10),n=a.n(c),o=a(3),r=a(5),s=a(4),l=a(6),i=a(7),u=a(0),m=a.n(u),d=a(2),h=a(23),f=a(602),_=a(604),p=(a(1087),function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(s.a)(this,Object(l.a)(t).call(this,e))).fetchCourseList=function(){var e=a.props.match.params.id||0;d.e.get("".concat(API.home,"/sys/school/").concat(e)).then(function(e){var t=e.data,c=t.code,n=t.data;200===c&&(a.setState({header:n.name,courseList:n.data}),document.title="\u52a9\u529b\u9ad8\u6821\u5728\u7ebf\u6559\u5b66\u8ba1\u5212\u4e4b".concat(n.name,"\u4e13\u533a - \u4e03\u6708\u5728\u7ebf"))})},a.toCourseDetail=function(e){var t=a.props,c=t.history,o=t.match.params.id||0;d.e.post("".concat(API.home,"/sys/school/verify"),{school_id:o,course_id:e}).then(function(t){var a=t.data,o=a.code,r=a.msg;200===o?c.push("/detail?id=".concat(e)):4030===o||4013===o?c.push("/passport/login"):n.a.info("".concat(r,"~"))})},a.state={header:"",courseList:[]},a}return Object(i.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchCourseList()}},{key:"render",value:function(){var e=this,t=this.state,a=t.courseList,c=void 0===a?[]:a,n=t.header;return m.a.createElement(m.a.Fragment,null,m.a.createElement(h.e,{title:"\u52a9\u5b66\u8ba1\u5212",arrow:!0}),m.a.createElement(f.a,null),m.a.createElement(_.a,{headerStyle:{marginTop:"20px"},title:n}),m.a.createElement("p",{className:"college-course__desc"},"\u70b9\u51fb\u9700\u8981\u5b66\u4e60\u7684\u8bfe\u7a0b\u5c01\u9762\uff0c\u5728\u8bfe\u7a0b\u8be6\u60c5\u9875\u8fdb\u5165\u8d2d\u4e70\u6d41\u7a0b\u51ed\u514d\u5355\u5238\u514d\u8d39\u5151\u6362\u8bfe\u7a0b\u3002"),m.a.createElement("div",{className:"college-course__body"},c.map(function(t){return m.a.createElement("div",{className:"college-course__item",onClick:function(){return e.toCourseDetail(t.course_id)},key:t.course_id},m.a.createElement("i",{className:"college-course__cover",style:{backgroundImage:"url(".concat(t.image_name,")")}}),m.a.createElement("p",{className:"college-course__title"},t.course_title))})))}}]),t}(u.Component));t.default=p},602:function(e,t,a){"use strict";var c=a(0),n=a.n(c);a(603);t.a=function(e){e.banner;return n.a.createElement("div",{className:"college-banner"})}},603:function(e,t,a){},604:function(e,t,a){"use strict";var c=a(0),n=a.n(c);a(605);t.a=function(e){var t=e.title,a=e.isDecorate,c=void 0===a||a,o=e.headerStyle,r=void 0===o?{}:o;return n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"college-header",style:r},n.a.createElement("i",{className:"college-header__icon","data-direction":"left"}),n.a.createElement("h2",{className:"college-header__text"},t),n.a.createElement("i",{className:"college-header__icon","data-direction":"right"})),c&&n.a.createElement("i",{className:"college-header__decorate"}))}},605:function(e,t,a){}}]);
//# sourceMappingURL=57.8ca4db2e.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[57],{1086:function(e,t,a){},1193:function(e,t,a){"use strict";a.r(t);a(40);var c=a(10),n=a.n(c),o=a(3),r=a(5),s=a(4),l=a(6),i=a(7),u=a(0),m=a.n(u),d=a(2),h=a(24),f=a(603),_=a(605),p=(a(1086),function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(s.a)(this,Object(l.a)(t).call(this,e))).fetchCourseList=function(){var e=a.props.match.params.id||0;d.f.get("".concat(API.home,"/sys/school/").concat(e)).then(function(e){var t=e.data,c=t.code,n=t.data;200===c&&(a.setState({header:n.name,courseList:n.data}),document.title="\u52a9\u529b\u9ad8\u6821\u5728\u7ebf\u6559\u5b66\u8ba1\u5212\u4e4b".concat(n.name,"\u4e13\u533a - \u4e03\u6708\u5728\u7ebf"))})},a.toCourseDetail=function(e){var t=a.props,c=t.history,o=t.match.params.id||0;d.f.post("".concat(API.home,"/sys/school/verify"),{school_id:o,course_id:e}).then(function(t){var a=t.data,o=a.code,r=a.msg;200===o?c.push("/detail?id=".concat(e)):4030===o||4013===o?c.push("/passport/login"):n.a.info("".concat(r,"~"))})},a.state={header:"",courseList:[]},a}return Object(i.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchCourseList()}},{key:"render",value:function(){var e=this,t=this.state,a=t.courseList,c=void 0===a?[]:a,n=t.header;return m.a.createElement(m.a.Fragment,null,m.a.createElement(h.e,{title:"\u52a9\u5b66\u8ba1\u5212",arrow:!0}),m.a.createElement(f.a,null),m.a.createElement(_.a,{headerStyle:{marginTop:"20px"},title:n}),m.a.createElement("p",{className:"college-course__desc"},"\u70b9\u51fb\u9700\u8981\u5b66\u4e60\u7684\u8bfe\u7a0b\u5c01\u9762\uff0c\u5728\u8bfe\u7a0b\u8be6\u60c5\u9875\u8fdb\u5165\u8d2d\u4e70\u6d41\u7a0b\u51ed\u514d\u5355\u5238\u514d\u8d39\u5151\u6362\u8bfe\u7a0b\u3002"),m.a.createElement("div",{className:"college-course__body"},c.map(function(t){return m.a.createElement("div",{className:"college-course__item",onClick:function(){return e.toCourseDetail(t.course_id)},key:t.course_id},m.a.createElement("i",{className:"college-course__cover",style:{backgroundImage:"url(".concat(t.image_name,")")}}),m.a.createElement("p",{className:"college-course__title"},t.course_title))})))}}]),t}(u.Component));t.default=p},603:function(e,t,a){"use strict";var c=a(0),n=a.n(c);a(604);t.a=function(e){e.banner;return n.a.createElement("div",{className:"college-banner"})}},604:function(e,t,a){},605:function(e,t,a){"use strict";var c=a(0),n=a.n(c);a(606);t.a=function(e){var t=e.title,a=e.isDecorate,c=void 0===a||a,o=e.headerStyle,r=void 0===o?{}:o;return n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"college-header",style:r},n.a.createElement("i",{className:"college-header__icon","data-direction":"left"}),n.a.createElement("h2",{className:"college-header__text"},t),n.a.createElement("i",{className:"college-header__icon","data-direction":"right"})),c&&n.a.createElement("i",{className:"college-header__decorate"}))}},606:function(e,t,a){}}]);
//# sourceMappingURL=57.017bda68.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[57],{1088:function(e,t,a){},1195:function(e,t,a){"use strict";a.r(t);a(40);var c=a(10),n=a.n(c),o=a(3),r=a(5),s=a(4),l=a(6),i=a(7),u=a(0),m=a.n(u),d=a(2),h=a(24),f=a(603),_=a(605),p=(a(1088),function(e){function t(e){var a;return Object(o.a)(this,t),(a=Object(s.a)(this,Object(l.a)(t).call(this,e))).fetchCourseList=function(){var e=a.props.match.params.id||0;d.f.get("".concat(API.home,"/sys/school/").concat(e)).then(function(e){var t=e.data,c=t.code,n=t.data;200===c&&(a.setState({header:n.name,courseList:n.data}),document.title="\u52a9\u529b\u9ad8\u6821\u5728\u7ebf\u6559\u5b66\u8ba1\u5212\u4e4b".concat(n.name,"\u4e13\u533a - \u4e03\u6708\u5728\u7ebf"))})},a.toCourseDetail=function(e){var t=a.props,c=t.history,o=t.match.params.id||0;d.f.post("".concat(API.home,"/sys/school/verify"),{school_id:o,course_id:e}).then(function(t){var a=t.data,o=a.code,r=a.msg;200===o?c.push("/detail?id=".concat(e)):4030===o||4013===o?c.push("/passport/login"):n.a.info("".concat(r,"~"))})},a.state={header:"",courseList:[]},a}return Object(i.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchCourseList()}},{key:"render",value:function(){var e=this,t=this.state,a=t.courseList,c=void 0===a?[]:a,n=t.header;return m.a.createElement(m.a.Fragment,null,m.a.createElement(h.e,{title:"\u52a9\u5b66\u8ba1\u5212",arrow:!0}),m.a.createElement(f.a,null),m.a.createElement(_.a,{headerStyle:{marginTop:"20px"},title:n}),m.a.createElement("p",{className:"college-course__desc"},"\u70b9\u51fb\u9700\u8981\u5b66\u4e60\u7684\u8bfe\u7a0b\u5c01\u9762\uff0c\u5728\u8bfe\u7a0b\u8be6\u60c5\u9875\u8fdb\u5165\u8d2d\u4e70\u6d41\u7a0b\u51ed\u514d\u5355\u5238\u514d\u8d39\u5151\u6362\u8bfe\u7a0b\u3002"),m.a.createElement("div",{className:"college-course__body"},c.map(function(t){return m.a.createElement("div",{className:"college-course__item",onClick:function(){return e.toCourseDetail(t.course_id)},key:t.course_id},m.a.createElement("i",{className:"college-course__cover",style:{backgroundImage:"url(".concat(t.image_name,")")}}),m.a.createElement("p",{className:"college-course__title"},t.course_title))})))}}]),t}(u.Component));t.default=p},603:function(e,t,a){"use strict";var c=a(0),n=a.n(c);a(604);t.a=function(e){e.banner;return n.a.createElement("div",{className:"college-banner"})}},604:function(e,t,a){},605:function(e,t,a){"use strict";var c=a(0),n=a.n(c);a(606);t.a=function(e){var t=e.title,a=e.isDecorate,c=void 0===a||a,o=e.headerStyle,r=void 0===o?{}:o;return n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"college-header",style:r},n.a.createElement("i",{className:"college-header__icon","data-direction":"left"}),n.a.createElement("h2",{className:"college-header__text"},t),n.a.createElement("i",{className:"college-header__icon","data-direction":"right"})),c&&n.a.createElement("i",{className:"college-header__decorate"}))}},606:function(e,t,a){}}]);
//# sourceMappingURL=57.95e07f2b.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[58],{1086:function(e,t,a){},1193:function(e,t,a){"use strict";a.r(t);var c=a(3),n=a(5),l=a(4),o=a(6),s=a(7),i=a(0),r=a.n(i),m=a(2),u=a(23),d=a(602),g=a(604),h=(a(1086),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(l.a)(this,Object(o.a)(t).call(this,e))).fetchSchoolList=function(){var e=a.state.schoolList;m.e.get("".concat(API.home,"/sys/school/list")).then(function(t){var c=t.data,n=c.code,l=c.data;200===n&&a.setState({schoolList:l.concat(e)})})},a.toCollegeCourse=function(e){var t=a.props.history;e&&t.push("/college/".concat(e))},a.state={sectionInfo:[{title:"\u7cfb\u7edf\u8d5e\u52a9",desc:"\u514d\u8d39\u63d0\u4f9b\u5728\u7ebf\u76f4\u64ad\u7cfb\u7edf\uff0c\u652f\u6301\u7535\u8111\u5c4f\u5e55\u5b9e\u65f6\u6f14\u793a\uff0c\u4ee5\u53ca\u89c6\u9891\u56de\u653e\u3001\u4e92\u52a8\u7b54\u7591\u3002",icon:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/system.png"},{title:"\u8bfe\u7a0b\u8d5e\u52a9 ",desc:"\u514d\u8d39\u5f00\u653e\u76f8\u5173\u8bfe\u7a0b\u7684\u89c6\u9891\u3001\u8bfe\u4ef6\u3001\u4f5c\u4e1a\u3001\u8003\u8bd5\u3001\u4ee3\u7801\u3001\u9879\u76ee\u3001\u4e91\u5e73\u53f0(\u5728\u7ebf\u7f16\u8bd1\u3001\u5728\u7ebf\u6279\u6539)\u3002",icon:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/content.png"}],schoolList:[]},a}return Object(s.a)(t,e),Object(n.a)(t,[{key:"componentDidMount",value:function(){this.fetchSchoolList(),document.title="\u514d\u8d39\u63d0\u4f9b\u5728\u7ebf\u6559\u5b66\u7cfb\u7edf \u52a9\u529b\u5168\u56fd\u9ad8\u6821\u5728\u7ebf\u6559\u5b66 - \u4e03\u6708\u5728\u7ebf"}},{key:"render",value:function(){var e=this,t=this.state,a=t.sectionInfo,c=void 0===a?[]:a,n=t.schoolList,l=void 0===n?[]:n;return r.a.createElement(r.a.Fragment,null,r.a.createElement(u.e,{title:"\u52a9\u5b66\u8ba1\u5212",arrow:!0}),r.a.createElement(d.a,null),r.a.createElement("div",{className:"college-page__banner"}),r.a.createElement(g.a,{headerStyle:{marginTop:"20px"},title:"\u52a9\u529b\u9ad8\u6821\u5728\u7ebf\u6559\u5b66\u8ba1\u5212"}),r.a.createElement("p",{className:"college-page__contact"},"\u514d\u8d39\u5165\u9a7b\u8054\u7cfb\u5468\u5148\u751f\uff1a18910848502(\u5fae\u4fe1\u540c)"),c.map(function(e,t){var a=e.title,c=e.desc,n=e.icon;return r.a.createElement("div",{className:"college-page__section",key:t},r.a.createElement("i",{className:"section__icon",style:{backgroundImage:"url(".concat(n,")")}}),r.a.createElement("div",{className:"section__body"},r.a.createElement("h2",{className:"section__title"},a),r.a.createElement("p",{className:"section__desc"},c)))}),r.a.createElement(g.a,{headerStyle:{marginTop:"20px"},isDecorate:!1,title:"\u5165\u9a7b\u9662\u6821"}),r.a.createElement("div",{className:"college-page__college"},l.map(function(t){var a=t.id,c=t.name,n=t.logo;return r.a.createElement("div",{className:"college__item",onClick:function(){return e.toCollegeCourse(a)},key:a},r.a.createElement("i",{className:"college__iamge",style:{backgroundImage:"url(".concat(n,")")}}),r.a.createElement("p",{className:"college__name"},c))})))}}]),t}(i.Component));t.default=h},602:function(e,t,a){"use strict";var c=a(0),n=a.n(c);a(603);t.a=function(e){e.banner;return n.a.createElement("div",{className:"college-banner"})}},603:function(e,t,a){},604:function(e,t,a){"use strict";var c=a(0),n=a.n(c);a(605);t.a=function(e){var t=e.title,a=e.isDecorate,c=void 0===a||a,l=e.headerStyle,o=void 0===l?{}:l;return n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"college-header",style:o},n.a.createElement("i",{className:"college-header__icon","data-direction":"left"}),n.a.createElement("h2",{className:"college-header__text"},t),n.a.createElement("i",{className:"college-header__icon","data-direction":"right"})),c&&n.a.createElement("i",{className:"college-header__decorate"}))}},605:function(e,t,a){}}]);
//# sourceMappingURL=58.4f863a9e.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/college/index.js","components/college/banner.js","components/college/header.js"],"names":["CollegePage","props","_this","Object","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__","this","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__","_Users_zhanghaozhe_server_mr_julyedu_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__","call","fetchSchoolList","schoolList","state","http","get","concat","API","then","res","_res$data","data","code","setState","toCollegeCourse","id","history","push","sectionInfo","title","desc","icon","document","_this2","_this$state","_this$state$sectionIn","_this$state$schoolLis","react__WEBPACK_IMPORTED_MODULE_5___default","a","createElement","Fragment","_common__WEBPACK_IMPORTED_MODULE_7__","arrow","_banner__WEBPACK_IMPORTED_MODULE_8__","className","_header__WEBPACK_IMPORTED_MODULE_9__","headerStyle","marginTop","map","_ref","index","key","style","backgroundImage","isDecorate","_ref2","name","logo","onClick","Component","react__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","react__WEBPACK_IMPORTED_MODULE_0___default","n","__webpack_exports__","banner","_props$isDecorate","_props$headerStyle","data-direction"],"mappings":"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","file":"mrstatic/js/58.84fcd764.chunk.js","sourcesContent":["import React, { Component } from 'react';\nimport { http } from '@/utils';\nimport { HeaderBar } from \"@/common\";\nimport CollegeBanner from './banner';\nimport CollegeHeader from './header';\nimport './index.scss';\n\nclass CollegePage extends Component {\n constructor(props) {\n super(props);\n this.state = {\n sectionInfo: [\n {\n title: '系统赞助',\n desc: '免费提供在线直播系统,支持电脑屏幕实时演示,以及视频回放、互动答疑。',\n icon: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/system.png',\n },\n {\n title: '课程赞助 ',\n desc: '免费开放相关课程的视频、课件、作业、考试、代码、项目、云平台(在线编译、在线批改)。',\n icon: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/content.png',\n },\n ],\n schoolList: [],\n };\n }\n\n componentDidMount() {\n this.fetchSchoolList();\n document.title = `免费提供在线教学系统 助力全国高校在线教学 - 七月在线`\n }\n\n fetchSchoolList = () => {\n const { schoolList } = this.state;\n http.get(`${API['home']}/sys/school/list`).then(res => {\n const { code, data } = res.data;\n if(code === 200) {\n this.setState({\n schoolList: data.concat(schoolList),\n });\n }\n });\n }\n\n toCollegeCourse = (id) => {\n const { history } = this.props;\n if(id) {\n history.push(`/college/${id}`);\n }\n }\n\n render() {\n const { sectionInfo = [], schoolList = [] } = this.state;\n return (\n <>\n <HeaderBar title={'助学计划'} arrow={true}/>\n <CollegeBanner />\n <div className=\"college-page__banner\"></div>\n <CollegeHeader\n headerStyle={{\n marginTop: '20px'\n }}\n title=\"助力高校在线教学计划\"\n />\n <p className=\"college-page__contact\">免费入驻联系周先生:18910848502(微信同)</p>\n {\n sectionInfo.map(({title, desc, icon}, index) => (\n <div className=\"college-page__section\" key={index}>\n <i className=\"section__icon\" style={{'backgroundImage': `url(${icon})`}}></i>\n <div className=\"section__body\">\n <h2 className=\"section__title\">{title}</h2>\n <p className=\"section__desc\">{desc}</p>\n </div>\n </div>\n ))\n }\n <CollegeHeader\n headerStyle={{\n marginTop: '20px'\n }}\n isDecorate={false} \n title=\"入驻院校\" \n />\n <div className=\"college-page__college\">\n {\n schoolList.map(({id, name, logo}) => (\n <div\n className=\"college__item\"\n onClick={() => this.toCollegeCourse(id)}\n key={id}\n >\n <i className=\"college__iamge\" style={{'backgroundImage': `url(${logo})`}}></i>\n <p className=\"college__name\">{name}</p>\n </div>\n ))\n }\n </div>\n </>\n )\n }\n}\n\nexport default CollegePage;","import React from 'react';\nimport './banner.scss';\n\nexport default (props) => {\n const { banner = '' } = props;\n const style = () => {\n if(banner) {\n return {\n backgroundImage: `url(${banner})`\n }\n }\n return {};\n }\n\n return (\n <div className=\"college-banner\"></div>\n )\n}","import React from 'react';\nimport './header.scss';\n\nexport default (props) => {\n const { title, isDecorate = true, headerStyle = {} } = props;\n return (\n <>\n <div className=\"college-header\" style={headerStyle}>\n <i className=\"college-header__icon\" data-direction=\"left\"></i>\n <h2 className=\"college-header__text\">{title}</h2>\n <i className=\"college-header__icon\" data-direction=\"right\"></i>\n </div>\n {\n isDecorate &&\n <i className=\"college-header__decorate\"></i>\n }\n </>\n );\n};\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[58],{1085:function(e,t,a){},1192:function(e,t,a){"use strict";a.r(t);var c=a(3),n=a(5),l=a(4),o=a(6),s=a(7),i=a(0),r=a.n(i),m=a(2),u=a(24),d=a(603),g=a(605),h=(a(1085),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(l.a)(this,Object(o.a)(t).call(this,e))).fetchSchoolList=function(){var e=a.state.schoolList;m.f.get("".concat(API.home,"/sys/school/list")).then(function(t){var c=t.data,n=c.code,l=c.data;200===n&&a.setState({schoolList:l.concat(e)})})},a.toCollegeCourse=function(e){var t=a.props.history;e&&t.push("/college/".concat(e))},a.state={sectionInfo:[{title:"\u7cfb\u7edf\u8d5e\u52a9",desc:"\u514d\u8d39\u63d0\u4f9b\u5728\u7ebf\u76f4\u64ad\u7cfb\u7edf\uff0c\u652f\u6301\u7535\u8111\u5c4f\u5e55\u5b9e\u65f6\u6f14\u793a\uff0c\u4ee5\u53ca\u89c6\u9891\u56de\u653e\u3001\u4e92\u52a8\u7b54\u7591\u3002",icon:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/system.png"},{title:"\u8bfe\u7a0b\u8d5e\u52a9 ",desc:"\u514d\u8d39\u5f00\u653e\u76f8\u5173\u8bfe\u7a0b\u7684\u89c6\u9891\u3001\u8bfe\u4ef6\u3001\u4f5c\u4e1a\u3001\u8003\u8bd5\u3001\u4ee3\u7801\u3001\u9879\u76ee\u3001\u4e91\u5e73\u53f0(\u5728\u7ebf\u7f16\u8bd1\u3001\u5728\u7ebf\u6279\u6539)\u3002",icon:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/content.png"}],schoolList:[]},a}return Object(s.a)(t,e),Object(n.a)(t,[{key:"componentDidMount",value:function(){this.fetchSchoolList(),document.title="\u514d\u8d39\u63d0\u4f9b\u5728\u7ebf\u6559\u5b66\u7cfb\u7edf \u52a9\u529b\u5168\u56fd\u9ad8\u6821\u5728\u7ebf\u6559\u5b66 - \u4e03\u6708\u5728\u7ebf"}},{key:"render",value:function(){var e=this,t=this.state,a=t.sectionInfo,c=void 0===a?[]:a,n=t.schoolList,l=void 0===n?[]:n;return r.a.createElement(r.a.Fragment,null,r.a.createElement(u.e,{title:"\u52a9\u5b66\u8ba1\u5212",arrow:!0}),r.a.createElement(d.a,null),r.a.createElement("div",{className:"college-page__banner"}),r.a.createElement(g.a,{headerStyle:{marginTop:"20px"},title:"\u52a9\u529b\u9ad8\u6821\u5728\u7ebf\u6559\u5b66\u8ba1\u5212"}),r.a.createElement("p",{className:"college-page__contact"},"\u514d\u8d39\u5165\u9a7b\u8054\u7cfb\u5468\u5148\u751f\uff1a18910848502(\u5fae\u4fe1\u540c)"),c.map(function(e,t){var a=e.title,c=e.desc,n=e.icon;return r.a.createElement("div",{className:"college-page__section",key:t},r.a.createElement("i",{className:"section__icon",style:{backgroundImage:"url(".concat(n,")")}}),r.a.createElement("div",{className:"section__body"},r.a.createElement("h2",{className:"section__title"},a),r.a.createElement("p",{className:"section__desc"},c)))}),r.a.createElement(g.a,{headerStyle:{marginTop:"20px"},isDecorate:!1,title:"\u5165\u9a7b\u9662\u6821"}),r.a.createElement("div",{className:"college-page__college"},l.map(function(t){var a=t.id,c=t.name,n=t.logo;return r.a.createElement("div",{className:"college__item",onClick:function(){return e.toCollegeCourse(a)},key:a},r.a.createElement("i",{className:"college__iamge",style:{backgroundImage:"url(".concat(n,")")}}),r.a.createElement("p",{className:"college__name"},c))})))}}]),t}(i.Component));t.default=h},603:function(e,t,a){"use strict";var c=a(0),n=a.n(c);a(604);t.a=function(e){e.banner;return n.a.createElement("div",{className:"college-banner"})}},604:function(e,t,a){},605:function(e,t,a){"use strict";var c=a(0),n=a.n(c);a(606);t.a=function(e){var t=e.title,a=e.isDecorate,c=void 0===a||a,l=e.headerStyle,o=void 0===l?{}:l;return n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"college-header",style:o},n.a.createElement("i",{className:"college-header__icon","data-direction":"left"}),n.a.createElement("h2",{className:"college-header__text"},t),n.a.createElement("i",{className:"college-header__icon","data-direction":"right"})),c&&n.a.createElement("i",{className:"college-header__decorate"}))}},606:function(e,t,a){}}]);
//# sourceMappingURL=58.84fcd764.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[58],{1087:function(e,t,a){},1194:function(e,t,a){"use strict";a.r(t);var c=a(3),n=a(5),l=a(4),o=a(6),s=a(7),i=a(0),r=a.n(i),m=a(2),u=a(24),d=a(603),g=a(605),h=(a(1087),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(l.a)(this,Object(o.a)(t).call(this,e))).fetchSchoolList=function(){var e=a.state.schoolList;m.f.get("".concat(API.home,"/sys/school/list")).then(function(t){var c=t.data,n=c.code,l=c.data;200===n&&a.setState({schoolList:l.concat(e)})})},a.toCollegeCourse=function(e){var t=a.props.history;e&&t.push("/college/".concat(e))},a.state={sectionInfo:[{title:"\u7cfb\u7edf\u8d5e\u52a9",desc:"\u514d\u8d39\u63d0\u4f9b\u5728\u7ebf\u76f4\u64ad\u7cfb\u7edf\uff0c\u652f\u6301\u7535\u8111\u5c4f\u5e55\u5b9e\u65f6\u6f14\u793a\uff0c\u4ee5\u53ca\u89c6\u9891\u56de\u653e\u3001\u4e92\u52a8\u7b54\u7591\u3002",icon:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/system.png"},{title:"\u8bfe\u7a0b\u8d5e\u52a9 ",desc:"\u514d\u8d39\u5f00\u653e\u76f8\u5173\u8bfe\u7a0b\u7684\u89c6\u9891\u3001\u8bfe\u4ef6\u3001\u4f5c\u4e1a\u3001\u8003\u8bd5\u3001\u4ee3\u7801\u3001\u9879\u76ee\u3001\u4e91\u5e73\u53f0(\u5728\u7ebf\u7f16\u8bd1\u3001\u5728\u7ebf\u6279\u6539)\u3002",icon:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/college-plan/content.png"}],schoolList:[]},a}return Object(s.a)(t,e),Object(n.a)(t,[{key:"componentDidMount",value:function(){this.fetchSchoolList(),document.title="\u514d\u8d39\u63d0\u4f9b\u5728\u7ebf\u6559\u5b66\u7cfb\u7edf \u52a9\u529b\u5168\u56fd\u9ad8\u6821\u5728\u7ebf\u6559\u5b66 - \u4e03\u6708\u5728\u7ebf"}},{key:"render",value:function(){var e=this,t=this.state,a=t.sectionInfo,c=void 0===a?[]:a,n=t.schoolList,l=void 0===n?[]:n;return r.a.createElement(r.a.Fragment,null,r.a.createElement(u.e,{title:"\u52a9\u5b66\u8ba1\u5212",arrow:!0}),r.a.createElement(d.a,null),r.a.createElement("div",{className:"college-page__banner"}),r.a.createElement(g.a,{headerStyle:{marginTop:"20px"},title:"\u52a9\u529b\u9ad8\u6821\u5728\u7ebf\u6559\u5b66\u8ba1\u5212"}),r.a.createElement("p",{className:"college-page__contact"},"\u514d\u8d39\u5165\u9a7b\u8054\u7cfb\u5468\u5148\u751f\uff1a18910848502(\u5fae\u4fe1\u540c)"),c.map(function(e,t){var a=e.title,c=e.desc,n=e.icon;return r.a.createElement("div",{className:"college-page__section",key:t},r.a.createElement("i",{className:"section__icon",style:{backgroundImage:"url(".concat(n,")")}}),r.a.createElement("div",{className:"section__body"},r.a.createElement("h2",{className:"section__title"},a),r.a.createElement("p",{className:"section__desc"},c)))}),r.a.createElement(g.a,{headerStyle:{marginTop:"20px"},isDecorate:!1,title:"\u5165\u9a7b\u9662\u6821"}),r.a.createElement("div",{className:"college-page__college"},l.map(function(t){var a=t.id,c=t.name,n=t.logo;return r.a.createElement("div",{className:"college__item",onClick:function(){return e.toCollegeCourse(a)},key:a},r.a.createElement("i",{className:"college__iamge",style:{backgroundImage:"url(".concat(n,")")}}),r.a.createElement("p",{className:"college__name"},c))})))}}]),t}(i.Component));t.default=h},603:function(e,t,a){"use strict";var c=a(0),n=a.n(c);a(604);t.a=function(e){e.banner;return n.a.createElement("div",{className:"college-banner"})}},604:function(e,t,a){},605:function(e,t,a){"use strict";var c=a(0),n=a.n(c);a(606);t.a=function(e){var t=e.title,a=e.isDecorate,c=void 0===a||a,l=e.headerStyle,o=void 0===l?{}:l;return n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"college-header",style:o},n.a.createElement("i",{className:"college-header__icon","data-direction":"left"}),n.a.createElement("h2",{className:"college-header__text"},t),n.a.createElement("i",{className:"college-header__icon","data-direction":"right"})),c&&n.a.createElement("i",{className:"college-header__decorate"}))}},606:function(e,t,a){}}]);
//# sourceMappingURL=58.ca92ff3a.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[59],{1081:function(e,t,a){},1082:function(e,t,a){},1083:function(e,t,a){},1215:function(e,t,a){"use strict";a.r(t);var n=a(3),r=a(5),c=a(4),i=a(6),s=a(7),l=a(0),o=a.n(l),u=(a(1081),a(68)),m=a.n(u),d=a(92),p=(a(40),a(10)),g=a.n(p),h=a(434),v=a.n(h),f=(a(1082),a(2));var b=function(e){function t(){var e,a;Object(n.a)(this,t);for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return(a=Object(c.a)(this,(e=Object(i.a)(t)).call.apply(e,[this].concat(s)))).state={redirectUrl:"",backgroundUrl:"",avatar:"",username:"",poster:a.props.poster},a.generatePoster=Object(d.a)(m.a.mark(function e(){var t,n,r,c,i,s,l,o,u,d,p,g,h;return m.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=document.createElement("canvas"),n=t.getContext("2d"),r=270,c=540,i=a.state,s=i.backgroundUrl,l=i.avatar,o=i.username,u=i.redirectUrl,e.next=4,a.getImage(s);case 4:return d=e.sent,t.style.width=r+"px",t.style.height=r*d.height/d.width+"px",t.width=c,t.height=c*d.height/d.width,n.drawImage(d,0,0,t.width,t.height),p=33,e.next=13,a.getImage(l);case 13:return g=e.sent,40,16,n.save(),n.beginPath(),n.arc(40+p,16+p,p,0,2*Math.PI),n.clip(),n.drawImage(g,40,16,66,66),n.restore(),n.font="24px serif",n.fillStyle="#fff",n.fillText(o,2*p+40+10,16+p-5),e.next=27,a.getQRCodeCanvas(u,r);case 27:h=e.sent,n.drawImage(h,380,796,140,140),a.setState({poster:t.toDataURL()},function(){var e=a.props.savePoster;e&&e(a.state.poster)});case 30:case"end":return e.stop()}},e)})),a.getImage=function(e){return new Promise(function(t){var a=new Image;a.setAttribute("crossOrigin","anonymous"),a.onload=function(){t(this)},a.src=e})},a.getQRCodeCanvas=function(e,t){var a=document.createElement("canvas"),n=t*(100/(.72*window.innerWidth));return a.style.width="".concat(n,"px"),a.style.height="".concat(n,"px"),a.width=100,a.height=100,v.a.toCanvas(a,e)},a}return Object(s.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this;this.props.poster||f.e.get("".concat(API["base-api"],"/assistance/active_haibao_info/").concat(Object(f.c)("assis_word"))).then(function(t){var a,n=t.data,r=n.data,c=n.errno,i=n.msg;200===c?e.setState({avatar:r.head_img,username:r.user_name,redirectUrl:r.m_redirect_code,backgroundUrl:r.background_img_url},function(){e.generatePoster()}):(a=i,g.a.info(a,2,null,!1))})}},{key:"render",value:function(){var e=this.state.poster;return o.a.createElement("div",{id:"poster"},o.a.createElement("div",{className:"placard-desc"},"\u957f\u6309\u4e0b\u65b9\u6d77\u62a5\uff0c\u5206\u4eab\u7ed9\u597d\u53cb\uff5e"),o.a.createElement("div",{className:"total-container"},o.a.createElement("div",{className:"placard-img-container",id:"imgWrapper"},o.a.createElement("img",{src:e,alt:"\u5206\u4eab\u6d77\u62a5"}))))}}]),t}(l.Component);a(1083);var y=function(e){function t(){var e,a;Object(n.a)(this,t);for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return(a=Object(c.a)(this,(e=Object(i.a)(t)).call.apply(e,[this].concat(s)))).state={list:["https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/prize-1.png","https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/prize-2.png","https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/prize-3.png","https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/prize-4.png","https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/prize-5.png","https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/prize-6.png"],isShowRule:!1,rankList:[]},a.getRankingList=function(){var e=a.props.saveRankingList;f.e.get("".concat(API["base-api"],"/assistance/ranking_list/50")).then(function(t){var n,r=t.data,c=r.data,i=r.msg;200===r.errno?(a.setState({rankList:c.list}),e&&e(c.list)):(n=i,g.a.info(n,2,null,!1))})},a}return Object(s.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=this.props.rankingList;console.log(e),e&&e.length?this.setState({rankingList:e}):this.getRankingList()}},{key:"render",value:function(){var e=this,t=this.state,a=t.list,n=t.rankList,r=t.isShowRule;return o.a.createElement("div",{id:"prizes"},o.a.createElement("div",{className:"content"},o.a.createElement("i",{className:"part-title__decorate"}),o.a.createElement("div",{className:"part-title__txt"},"\u6d3b\u52a8\u5956\u54c1"),o.a.createElement("i",{className:"part-title__decorate"}),o.a.createElement("div",{className:"prize-img"},a.map(function(e,t){return o.a.createElement("div",{className:"img-box",key:t},o.a.createElement("img",{src:e,alt:""}))})),o.a.createElement("span",{className:"rule",onClick:function(){e.setState({isShowRule:!0})}},"\u6d3b\u52a8\u89c4\u5219")),o.a.createElement("div",{className:"content",style:{padding:"20px 0 30px 0"}},o.a.createElement("i",{className:"part-title__decorate"}),o.a.createElement("div",{className:"part-title__txt"},"\u6392\u884c\u699c"),o.a.createElement("i",{className:"part-title__decorate"}),o.a.createElement("div",{className:"tip"},"\u6570\u636e\u5b9e\u65f6\u66f4\u65b0 \u53ea\u663e\u793aTop50"),o.a.createElement("table",{className:"ranking",cellSpacing:"0",cellPadding:"0",border:"0"},o.a.createElement("thead",null,o.a.createElement("tr",null,o.a.createElement("td",null,"\u6392\u540d"),o.a.createElement("td",null,"\u7528\u6237\u540d\u79f0"),o.a.createElement("td",null,"\u9080\u8bf7\u4eba\u6570"))),o.a.createElement("tbody",null,n.map(function(e,t){return o.a.createElement("tr",{key:t},o.a.createElement("td",null,t+1),o.a.createElement("td",null,e.name),o.a.createElement("td",null,e.num))})))),r?o.a.createElement("div",{className:"mbc-box"},o.a.createElement("div",{className:"rele-content"},o.a.createElement("div",{className:"title"},"\u6d3b\u52a8\u89c4\u5219"),o.a.createElement("p",null,"1\u3001\u8fdb\u5165\u4e03\u6708\u5728\u7ebf\u670d\u52a1\u53f7",o.a.createElement("a",{style:{fontSize:"16px",color:"rgba(47, 248, 255, 1)",display:"inline-block"}},"\u56de\u590d77"),"\u83b7\u53d6\u6d3b\u52a8\u6d77\u62a5\uff0c\u5c06\u4e0a\u65b9\u8bfe\u7a0b\u8d60\u9001\u7ed9\u597d\u53cb\uff0c\u6bcf\u67091\u540d\u597d\u53cb\u9886\u53d6\u540e\uff0c\u60a8\u548c\u597d\u53cb\u5747\u53ef\u514d\u8d39\u5b66\u4e601\u8bfe\u65f6\u8be5\u8bfe\uff1b"),o.a.createElement("p",null,"2\u3001\u6bcf\u591a1\u540d\u597d\u53cb\u9886\u53d6\uff0c\u60a8\u83b7\u5f97\u7684\u8bfe\u65f6\u6570+1\uff0c\u76f4\u5230\u83b7\u5f97\u5168\u90e8\u8bfe\u65f6\uff0c\u5c4a\u65f6\u4ecd\u53ef\u8d60\u9001\u7ed9\u597d\u53cb\uff1b"),o.a.createElement("p",null,"3\u3001\u6d3b\u52a8\u7ed3\u675f\u540e\uff0c\u9080\u8bf7\u597d\u53cb\u6570\u8d85\u8fc750\u4eba\u4e14\u6392\u884c\u699c\u524d20\u540d\u7528\u6237\u4f1a\u5f97\u5230",o.a.createElement("a",{style:{fontSize:"16px",color:"rgba(47, 248, 255, 1)",display:"inline-block"}},"19VIP\u5e74\u4f1a\u5458\u3001\u6a31\u6843\u952e\u76d8"),"\u7b49\u5927\u5956\u3002")),o.a.createElement("img",{className:"close",onClick:function(){e.setState({isShowRule:!1})},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",alt:""})):null)}}]),t}(l.Component),E=a(59),w=function(e){function t(){var e,a;Object(n.a)(this,t);for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return(a=Object(c.a)(this,(e=Object(i.a)(t)).call.apply(e,[this].concat(s)))).state={activeIndex:0,tabs:["\u5206\u4eab\u6d77\u62a5","\u6d3b\u52a8\u5956\u54c1"],poster:"",rankingList:[]},a}return Object(s.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this,t=this.state,a=t.tabs,n=t.activeIndex,r=t.poster,c=t.rankingList;return o.a.createElement("div",{id:"share-content"},o.a.createElement("ul",{className:"tab"},a.map(function(t,a){return o.a.createElement("li",{key:a,className:n===a?"active":"",onClick:function(){e.setState({activeIndex:a})}},t)})),0===n?o.a.createElement(b,{poster:r,savePoster:function(t){e.setState({poster:t})}}):o.a.createElement(y,{rankingList:c,saveRankingList:function(t){e.setState({rankingList:t})}}))}}]),t}(l.Component);t.default=Object(E.a)(w)}}]);
//# sourceMappingURL=59.169c7eba.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([[62],{1088:function(e,t,a){},1195:function(e,t,a){"use strict";a.r(t);a(136);var n=a(36),c=a.n(n),r=a(76),l=a(3),i=a(5),s=a(4),o=a(6),m=a(7),u=(a(40),a(10)),d=a.n(u),p=a(0),E=a.n(p),f=a(2),v=(a(1088),a(23)),g=a(463),h=a(143),b=a(20),y=a(14);function N(e){d.a.info(e,2,null,!1)}var _=function(e){function t(){var e,a;Object(l.a)(this,t);for(var n=arguments.length,c=new Array(n),i=0;i<n;i++)c[i]=arguments[i];return(a=Object(s.a)(this,(e=Object(o.a)(t)).call.apply(e,[this].concat(c)))).state={tab:{},courses:[],navItemStyle:{},tabActiveIndex:0},a.getData=function(){Promise.all([f.e.get("".concat(API.home,"/sys/category")),f.e.get("".concat(API.home,"/sys/course"))]).then(function(e){var t=Object(r.a)(e,2),n=t[0],c=t[1],l=n.data,i=l.data,s=l.code,o=l.msg,m=c.data,u=m.data,d=m.code,p=m.msg;200==s?a.setState({tab:i}):N(o),200===d?a.setState({courses:u}):N(p)})},a.handleClick=function(e){a.props.history.push("/detail?id=".concat(e))},a.changeTab=function(e,t){a.state.tabActiveIndex!==t&&a.setState({tabActiveIndex:t})},a.getCourse=function(e,t){var n=a.props,c=n.user,r=n.history;c.hasError?r.push("/passport"):f.e.post("".concat(API.home,"/sys/limitFree/receive"),{course_id:e}).then(function(e){var n=e.data,c=n.code,r=n.msg;if(200===c)var l=Object(v.h)({className:"get-course-popup",closable:!1,clickMaskClose:!1,title:E.a.createElement("div",null,E.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/time_limited_free/M/check.png",alt:""}),E.a.createElement("div",null,"\u8bfe\u7a0b\u6709\u6548\u671f7\u5929\uff0c\u5feb\u53bb\u5b66\u4e60\u5427~")),content:E.a.createElement("div",{className:"btns"},E.a.createElement("button",{onClick:function(){l.close(),a.getData()}},"\u77e5\u9053\u4e86"),E.a.createElement("button",{onClick:function(){a.toPlay(t),l.close()}},"\u7acb\u5373\u5b66\u4e60"))});else N(r)})},a.toPlay=function(e){a.props.history.push("/play/video?id=".concat(e))},a.formatTime=function(e){return{d:Math.floor(e/60/60/24).toString().padStart(2,"0"),h:Math.floor(e/60/60%24).toString().padStart(2,"0"),m:Math.floor(e/60%60).toString().padStart(2,"0")}},a}return Object(m.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){document.title="\u52a9\u529b\u6625\u62db\uff0c\u597d\u8bfe\u9650\u514d--\u4e03\u6708\u5728\u7ebf",this.getData()}},{key:"render",value:function(){var e=this,t=this.state,a=t.tab,n=t.courses,r=t.navItemStyle,l=t.tabActiveIndex;return E.a.createElement("div",{className:"limit-free"},E.a.createElement(v.e,{arrow:!0,title:"\u9650\u65f6\u514d\u8d39"}),E.a.createElement("div",{className:"banner"},E.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/time_limited_free/M/banner.png",alt:""})),E.a.createElement("nav",null,E.a.createElement("ul",{ref:function(t){return e.nav=t}},a&&!!a.length&&a.map(function(t,a){return E.a.createElement("li",{key:a,className:a===l?"active":"",style:r,onClick:function(t){return e.changeTab(t,a)}},E.a.createElement("a",{href:"#category".concat(t.id),target:"_self"},t.category_name))})),E.a.createElement("div",{className:"next-cover"})),E.a.createElement(c.a,null),E.a.createElement("div",{className:"course-list"},E.a.createElement("ul",null,a&&!!a.length&&a.map(function(t){return E.a.createElement("li",{key:t.id,className:"category"},E.a.createElement("h2",{id:"category".concat(t.id)},E.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/time_limited_free/M/category-icon.png",alt:""}),E.a.createElement("span",null,t.category_name)),E.a.createElement("ul",{className:"courses"},n&&n.length&&n.map(function(a,n){if(a.category_id!=t.id)return null;var c,r;switch(a.course_status){case 0:c=E.a.createElement("div",{className:"learner"},E.a.createElement("i",{className:"iconfont iconRectangleCopy4"}),E.a.createElement("span",null,a.play_times,"\u4eba\u5b66\u4e60")),r=E.a.createElement("div",{className:"bottom"},E.a.createElement("span",{className:"red"},"\u9650\u65f6\u514d\u8d39"),E.a.createElement("span",{className:"origin-price"},"\xa5",a.price0),E.a.createElement("button",{onClick:function(t){t.stopPropagation(),e.getCourse(a.course_id,a.v_course_id)}},"\u514d\u8d39\u9886\u53d6"));break;case 1:var l=e.formatTime(a.course_expire),i=l.d,s=l.h,o=l.m;c=E.a.createElement("div",{className:"remain-time"},E.a.createElement("i",{className:"iconfont iconiconfront-21"}),E.a.createElement("span",null,i,"\u5929",s,"\u65f6",o,"\u5206\u540e\u8fc7\u671f")),r=E.a.createElement("div",{className:"bottom"},E.a.createElement("span",{className:"purchased"},"\u5df2\u9886\u53d6"),E.a.createElement(k,{id:a.course_id}));break;case 2:c=E.a.createElement("div",{className:"remain-time"},E.a.createElement("i",{className:"iconfont iconiconfront-21"}),E.a.createElement("span",null,a.play_times,"\u4eba\u5b66\u4e60")),r=E.a.createElement("div",{className:"bottom"},E.a.createElement("span",{className:"red"},"\xa5",a.price1),E.a.createElement("span",{className:"origin-price"},"\xa5",a.price0),E.a.createElement(y.b,{to:"/detail?id=".concat(a.course_id)},"\u7acb\u5373\u8d2d\u4e70"));break;case 3:c=E.a.createElement("div",{className:"learner"},E.a.createElement("i",{className:"iconfont iconRectangleCopy4"}),E.a.createElement("span",null,a.play_times,"\u4eba\u5b66\u4e60")),r=E.a.createElement("div",{className:"bottom"},E.a.createElement("span",{className:"purchased"},"\u5df2\u8d2d\u4e70"),E.a.createElement(k,{id:a.course_id}))}var m=E.a.createElement("div",{className:"info"},E.a.createElement("div",{className:"title"},a.course_title),c,r);return E.a.createElement(g.a,{img:a.image_name,handleClick:e.handleClick,id:a.course_id,info:m,key:n})})))}))),E.a.createElement("div",{className:"no-more"},"-\u6ca1\u6709\u66f4\u591a\u4e86-"))}}]),t}(p.Component);function k(e){var t=e.id;return E.a.createElement(y.b,{to:"/play/video?id=".concat(t)},"\u7acb\u5373\u5b66\u4e60")}t.default=Object(b.b)(function(e){return{user:e.user}},null)(Object(h.a)(_))},463:function(e,t,a){"use strict";var n=a(0),c=a.n(n);a(464);t.a=function(e){return c.a.createElement("li",{className:"v-list-base-item",onClick:e.handleClick.bind(void 0,e.id,e.item)},c.a.createElement("div",{className:"content"},c.a.createElement("div",{className:"cover"},e.status,c.a.createElement("img",{src:e.img,alt:""})),e.info),e.tab)}},464:function(e,t,a){}}]);
//# sourceMappingURL=62.2ed1c5e7.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.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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