Commit 2c214b02 by FE

tab top modify

parent fe5c1adc
......@@ -2,14 +2,14 @@
"mrstatic/js/0.3cda4082.chunk.js": "/mrstatic/js/0.3cda4082.chunk.js",
"mrstatic/js/0.3cda4082.chunk.js.map": "/mrstatic/js/0.3cda4082.chunk.js.map",
"BargainMiddlePage.css": "/mrstatic/css/BargainMiddlePage.247ed778.chunk.css",
"BargainMiddlePage.js": "/mrstatic/js/BargainMiddlePage.99938529.chunk.js",
"BargainMiddlePage.js.map": "/mrstatic/js/BargainMiddlePage.99938529.chunk.js.map",
"BargainMiddlePage.js": "/mrstatic/js/BargainMiddlePage.33851e01.chunk.js",
"BargainMiddlePage.js.map": "/mrstatic/js/BargainMiddlePage.33851e01.chunk.js.map",
"Classify.css": "/mrstatic/css/Classify.127d35ae.chunk.css",
"Classify.js": "/mrstatic/js/Classify.d90ec769.chunk.js",
"Classify.js.map": "/mrstatic/js/Classify.d90ec769.chunk.js.map",
"CourseList.css": "/mrstatic/css/CourseList.6d999ce9.chunk.css",
"CourseList.js": "/mrstatic/js/CourseList.4aa8ae23.chunk.js",
"CourseList.js.map": "/mrstatic/js/CourseList.4aa8ae23.chunk.js.map",
"CourseList.css": "/mrstatic/css/CourseList.edc539ff.chunk.css",
"CourseList.js": "/mrstatic/js/CourseList.3858b2a6.chunk.js",
"CourseList.js.map": "/mrstatic/js/CourseList.3858b2a6.chunk.js.map",
"DrawDocument.css": "/mrstatic/css/DrawDocument.1bd3da48.chunk.css",
"DrawDocument.js": "/mrstatic/js/DrawDocument.fe498fdd.chunk.js",
"DrawDocument.js.map": "/mrstatic/js/DrawDocument.fe498fdd.chunk.js.map",
......@@ -30,34 +30,34 @@
"Preferential.js": "/mrstatic/js/Preferential.9f4e6030.chunk.js",
"Preferential.js.map": "/mrstatic/js/Preferential.9f4e6030.chunk.js.map",
"SearchResult.css": "/mrstatic/css/SearchResult.b11acd73.chunk.css",
"SearchResult.js": "/mrstatic/js/SearchResult.3a4568eb.chunk.js",
"SearchResult.js.map": "/mrstatic/js/SearchResult.3a4568eb.chunk.js.map",
"SearchResult.js": "/mrstatic/js/SearchResult.6bd7cca1.chunk.js",
"SearchResult.js.map": "/mrstatic/js/SearchResult.6bd7cca1.chunk.js.map",
"ShopCart.css": "/mrstatic/css/ShopCart.887eb690.chunk.css",
"ShopCart.js": "/mrstatic/js/ShopCart.ab19bf02.chunk.js",
"ShopCart.js.map": "/mrstatic/js/ShopCart.ab19bf02.chunk.js.map",
"aist-share.css": "/mrstatic/css/aist-share.f4398072.chunk.css",
"aist-share.js": "/mrstatic/js/aist-share.f74fb938.chunk.js",
"aist-share.js.map": "/mrstatic/js/aist-share.f74fb938.chunk.js.map",
"aist-share.js": "/mrstatic/js/aist-share.f08f4fde.chunk.js",
"aist-share.js.map": "/mrstatic/js/aist-share.f08f4fde.chunk.js.map",
"coupons.css": "/mrstatic/css/coupons.cf38c16e.chunk.css",
"coupons.js": "/mrstatic/js/coupons.b81c49b7.chunk.js",
"coupons.js.map": "/mrstatic/js/coupons.b81c49b7.chunk.js.map",
"coupons.js": "/mrstatic/js/coupons.86ed52ec.chunk.js",
"coupons.js.map": "/mrstatic/js/coupons.86ed52ec.chunk.js.map",
"detail.css": "/mrstatic/css/detail.63ef174e.chunk.css",
"detail.js": "/mrstatic/js/detail.5aef7224.chunk.js",
"detail.js.map": "/mrstatic/js/detail.5aef7224.chunk.js.map",
"main.css": "/mrstatic/css/main.5c451943.chunk.css",
"main.js": "/mrstatic/js/main.2eec3bc1.chunk.js",
"main.js.map": "/mrstatic/js/main.2eec3bc1.chunk.js.map",
"main.js": "/mrstatic/js/main.f356b2eb.chunk.js",
"main.js.map": "/mrstatic/js/main.f356b2eb.chunk.js.map",
"myorders.css": "/mrstatic/css/myorders.e3d68b58.chunk.css",
"myorders.js": "/mrstatic/js/myorders.3ebf22ad.chunk.js",
"myorders.js.map": "/mrstatic/js/myorders.3ebf22ad.chunk.js.map",
"purchased.css": "/mrstatic/css/purchased.c9466779.chunk.css",
"purchased.js": "/mrstatic/js/purchased.f057da65.chunk.js",
"purchased.js.map": "/mrstatic/js/purchased.f057da65.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.2a32f926.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.2a32f926.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.bd367a22.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.bd367a22.js.map",
"search.css": "/mrstatic/css/search.e26f3ee9.chunk.css",
"search.js": "/mrstatic/js/search.c5751a22.chunk.js",
"search.js.map": "/mrstatic/js/search.c5751a22.chunk.js.map",
"search.js": "/mrstatic/js/search.5aa44ed1.chunk.js",
"search.js.map": "/mrstatic/js/search.5aa44ed1.chunk.js.map",
"shareposter.css": "/mrstatic/css/shareposter.cde549fc.chunk.css",
"shareposter.js": "/mrstatic/js/shareposter.1cc92e57.chunk.js",
"shareposter.js.map": "/mrstatic/js/shareposter.1cc92e57.chunk.js.map",
......@@ -71,8 +71,8 @@
"video.js": "/mrstatic/js/video.efa90744.chunk.js",
"video.js.map": "/mrstatic/js/video.efa90744.chunk.js.map",
"mrstatic/css/25.60a38a0f.chunk.css": "/mrstatic/css/25.60a38a0f.chunk.css",
"mrstatic/js/25.b0992fab.chunk.js": "/mrstatic/js/25.b0992fab.chunk.js",
"mrstatic/js/25.b0992fab.chunk.js.map": "/mrstatic/js/25.b0992fab.chunk.js.map",
"mrstatic/js/25.00f5dee6.chunk.js": "/mrstatic/js/25.00f5dee6.chunk.js",
"mrstatic/js/25.00f5dee6.chunk.js.map": "/mrstatic/js/25.00f5dee6.chunk.js.map",
"mrstatic/js/26.56aeff83.chunk.js": "/mrstatic/js/26.56aeff83.chunk.js",
"mrstatic/js/26.56aeff83.chunk.js.map": "/mrstatic/js/26.56aeff83.chunk.js.map",
"mrstatic/css/27.0710e3e3.chunk.css": "/mrstatic/css/27.0710e3e3.chunk.css",
......@@ -93,9 +93,9 @@
"mrstatic/css/32.6e885738.chunk.css": "/mrstatic/css/32.6e885738.chunk.css",
"mrstatic/js/32.f11af345.chunk.js": "/mrstatic/js/32.f11af345.chunk.js",
"mrstatic/js/32.f11af345.chunk.js.map": "/mrstatic/js/32.f11af345.chunk.js.map",
"mrstatic/css/33.98f19554.chunk.css": "/mrstatic/css/33.98f19554.chunk.css",
"mrstatic/js/33.c51ac008.chunk.js": "/mrstatic/js/33.c51ac008.chunk.js",
"mrstatic/js/33.c51ac008.chunk.js.map": "/mrstatic/js/33.c51ac008.chunk.js.map",
"mrstatic/css/33.400393b7.chunk.css": "/mrstatic/css/33.400393b7.chunk.css",
"mrstatic/js/33.95091824.chunk.js": "/mrstatic/js/33.95091824.chunk.js",
"mrstatic/js/33.95091824.chunk.js.map": "/mrstatic/js/33.95091824.chunk.js.map",
"index.html": "/index.html",
"mrstatic/css/25.60a38a0f.chunk.css.map": "/mrstatic/css/25.60a38a0f.chunk.css.map",
"mrstatic/css/27.0710e3e3.chunk.css.map": "/mrstatic/css/27.0710e3e3.chunk.css.map",
......@@ -104,10 +104,10 @@
"mrstatic/css/30.1133c967.chunk.css.map": "/mrstatic/css/30.1133c967.chunk.css.map",
"mrstatic/css/31.37fb0c23.chunk.css.map": "/mrstatic/css/31.37fb0c23.chunk.css.map",
"mrstatic/css/32.6e885738.chunk.css.map": "/mrstatic/css/32.6e885738.chunk.css.map",
"mrstatic/css/33.98f19554.chunk.css.map": "/mrstatic/css/33.98f19554.chunk.css.map",
"mrstatic/css/33.400393b7.chunk.css.map": "/mrstatic/css/33.400393b7.chunk.css.map",
"mrstatic/css/BargainMiddlePage.247ed778.chunk.css.map": "/mrstatic/css/BargainMiddlePage.247ed778.chunk.css.map",
"mrstatic/css/Classify.127d35ae.chunk.css.map": "/mrstatic/css/Classify.127d35ae.chunk.css.map",
"mrstatic/css/CourseList.6d999ce9.chunk.css.map": "/mrstatic/css/CourseList.6d999ce9.chunk.css.map",
"mrstatic/css/CourseList.edc539ff.chunk.css.map": "/mrstatic/css/CourseList.edc539ff.chunk.css.map",
"mrstatic/css/DrawDocument.1bd3da48.chunk.css.map": "/mrstatic/css/DrawDocument.1bd3da48.chunk.css.map",
"mrstatic/css/Examination.17af9370.chunk.css.map": "/mrstatic/css/Examination.17af9370.chunk.css.map",
"mrstatic/css/Order.e46f87f2.chunk.css.map": "/mrstatic/css/Order.e46f87f2.chunk.css.map",
......@@ -130,6 +130,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff",
"mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png",
"mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png",
"precache-manifest.a33535db2e9a810054f42f93556b9197.js": "/precache-manifest.a33535db2e9a810054f42f93556b9197.js",
"precache-manifest.eff4a5d4db660a7d0b4aaa8e612a2c63.js": "/precache-manifest.eff4a5d4db660a7d0b4aaa8e612a2c63.js",
"service-worker.js": "/service-worker.js"
}
\ No newline at end of file
#root,.page-body,body{height:100%}.country-header{margin:0;padding:0 3.466667vw;font-size:4vw;font-family:Hiragino Sans GB;font-weight:400;color:#3e3e3e;line-height:7.466667vw;background-color:#f5f5f5}.country-list .country-item:nth-child(n+2){border-top:1px solid #ececec}.country-item{margin-left:3.2vw;padding-right:5.866667vw}.country-item__link{display:flex;align-items:center;justify-content:space-between;height:13.333333vw}.country-name{color:#3e3e3e}.country-name,.country-num{font-size:4vw;font-family:Hiragino Sans GB}.country-num{color:#555}.letter-nav{position:fixed;top:11.733333vw;bottom:0;right:.533333vw;height:124.8vw;margin:auto;z-index:999}.letter-nav__item{width:3.2vw;margin-bottom:1.6vw;font-size:2.666667vw;font-family:Hiragino Sans GB;color:#09f;text-align:center;line-height:3.2vw;cursor:pointer}.letter-nav__item--active{border-radius:50%;color:#fff;background-color:#09f}
/*# sourceMappingURL=33.400393b7.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["/Users/fe/frontCode/mr-julyedu/src/components/country/index.scss"],"names":[],"mappings":"AA2GA,sBACE,WAAY,CAId,gBACE,QAAA,CACA,oBAAA,CACA,aAAA,CACA,4BAAA,CACA,eAAA,CACA,aAAA,CACA,sBAAA,CACA,wBAAyB,CAG3B,2CAKM,4BAA6B,CAKnC,cACE,iBAAA,CACA,wBAAmB,CAGrB,oBACE,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,kBAAY,CAGd,cAGE,aAAc,CAGhB,2BALE,aAAA,CACA,4BAOW,CAHb,aAGE,UAAW,CAIb,YACE,cAAA,CACA,eAAA,CACA,QAAA,CACA,eAAA,CACA,cAAA,CACA,WAAA,CACA,WAAY,CAGd,kBACE,WAAA,CAEA,mBAAA,CACA,oBAAA,CACA,4BAAA,CACA,UAAA,CACA,iBAAA,CACA,iBAAA,CACA,cAAe,CAGjB,0BACE,iBAAA,CACA,UAAA,CACA,qBAAyB","file":"33.400393b7.chunk.css","sourcesContent":["@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\nbody {\n height: 100%; }\n\n#root {\n height: 100%; }\n\n.page-body {\n height: 100%; }\n\n.country-header {\n margin: 0;\n padding: 0 13px;\n font-size: 15px;\n font-family: Hiragino Sans GB;\n font-weight: normal;\n color: #3E3E3E;\n line-height: 28px;\n background-color: #F5F5F5; }\n\n.country-list .country-item:nth-child(n+2) {\n border-top: 1px solid #ECECEC; }\n\n.country-item {\n margin-left: 12px;\n padding-right: 22px; }\n\n.country-item__link {\n display: flex;\n align-items: center;\n justify-content: space-between;\n height: 50px; }\n\n.country-name {\n font-size: 15px;\n font-family: Hiragino Sans GB;\n color: #3E3E3E; }\n\n.country-num {\n font-size: 15px;\n font-family: Hiragino Sans GB;\n color: #555; }\n\n.letter-nav {\n position: fixed;\n top: 44px;\n bottom: 0;\n right: 2px;\n height: 468px;\n margin: auto;\n z-index: 999; }\n\n.letter-nav__item {\n width: 12px;\n margin-bottom: 6px;\n font-size: 10px;\n font-family: Hiragino Sans GB;\n color: #0099FF;\n text-align: center;\n line-height: 12px;\n cursor: pointer; }\n\n.letter-nav__item--active {\n border-radius: 50%;\n color: #fff;\n background-color: #0099FF; }\n"]}
\ No newline at end of file
#root,.page-body,body{height:100%}.country-header{margin:0;padding:0 3.466667vw;font-size:4vw;font-family:Hiragino Sans GB;font-weight:400;color:#3e3e3e;line-height:7.466667vw;background-color:#f5f5f5}.country-list .country-item:nth-child(n+2){border-top:1px solid #ececec}.country-item{margin:0 3.2vw}.country-item__link{display:flex;align-items:center;justify-content:space-between;height:13.333333vw}.country-name{color:#3e3e3e}.country-name,.country-num{font-size:4vw;font-family:Hiragino Sans GB}.country-num{color:#555}.letter-nav{position:fixed;top:11.733333vw;bottom:0;right:.533333vw;height:124.8vw;margin:auto;z-index:999}.letter-nav__item{width:3.2vw;margin-bottom:1.6vw;font-size:2.666667vw;font-family:Hiragino Sans GB;color:#09f;text-align:center;line-height:3.2vw;cursor:pointer}.letter-nav__item--active{border-radius:50%;color:#fff;background-color:#09f}
/*# sourceMappingURL=33.98f19554.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["/Users/fe/frontCode/mr-julyedu/src/components/country/index.scss"],"names":[],"mappings":"AA2GA,sBACE,WAAY,CAId,gBACE,QAAA,CACA,oBAAA,CACA,aAAA,CACA,4BAAA,CACA,eAAA,CACA,aAAA,CACA,sBAAA,CACA,wBAAyB,CAG3B,2CAKM,4BAA6B,CAKnC,cACE,cAAc,CAGhB,oBACE,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,kBAAY,CAGd,cAGE,aAAc,CAGhB,2BALE,aAAA,CACA,4BAOW,CAHb,aAGE,UAAW,CAIb,YACE,cAAA,CACA,eAAA,CACA,QAAA,CACA,eAAA,CACA,cAAA,CACA,WAAA,CACA,WAAY,CAGd,kBACE,WAAA,CAEA,mBAAA,CACA,oBAAA,CACA,4BAAA,CACA,UAAA,CACA,iBAAA,CACA,iBAAA,CACA,cAAe,CAGjB,0BACE,iBAAA,CACA,UAAA,CACA,qBAAyB","file":"33.98f19554.chunk.css","sourcesContent":["@charset \"UTF-8\";\n/*\n * @ 文字颜色\n */\n/*\n * @ 文字大小\n */\n/*\n * @ 背景颜色\n */\n/*\n * @ 分割线颜色\n */\n/*\n * @ 边框颜色\n */\n/*\n * @ 标签颜色\n */\nbody {\n height: 100%; }\n\n#root {\n height: 100%; }\n\n.page-body {\n height: 100%; }\n\n.country-header {\n margin: 0;\n padding: 0 13px;\n font-size: 15px;\n font-family: Hiragino Sans GB;\n font-weight: normal;\n color: #3E3E3E;\n line-height: 28px;\n background-color: #F5F5F5; }\n\n.country-list .country-item:nth-child(n+2) {\n border-top: 1px solid #ECECEC; }\n\n.country-item {\n margin: 0 12px; }\n\n.country-item__link {\n display: flex;\n align-items: center;\n justify-content: space-between;\n height: 50px; }\n\n.country-name {\n font-size: 15px;\n font-family: Hiragino Sans GB;\n color: #3E3E3E; }\n\n.country-num {\n font-size: 15px;\n font-family: Hiragino Sans GB;\n color: #555; }\n\n.letter-nav {\n position: fixed;\n top: 44px;\n bottom: 0;\n right: 2px;\n height: 468px;\n margin: auto;\n z-index: 999; }\n\n.letter-nav__item {\n width: 12px;\n margin-bottom: 6px;\n font-size: 10px;\n font-family: Hiragino Sans GB;\n color: #0099FF;\n text-align: center;\n line-height: 12px;\n cursor: pointer; }\n\n.letter-nav__item--active {\n border-radius: 50%;\n color: #fff;\n background-color: #0099FF; }\n"]}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{1171:function(e,a,t){},1192:function(e,a,t){"use strict";t.r(a);var s=t(5),c=t(7),n=t(6),r=t(8),l=t(9),i=t(0),m=t.n(i),o=(t(1171),t(160)),d=t(3),u=(t(147),t(15)),v=function(e){function a(){var e,t;Object(s.a)(this,a);for(var c=arguments.length,l=new Array(c),i=0;i<c;i++)l[i]=arguments[i];return(t=Object(n.a)(this,(e=Object(r.a)(a)).call.apply(e,[this].concat(l)))).state={course:{title:"",des:"",img:"",id:""},progress:{days:0,action:0},showShareCover:!0,user:{avatar:"",name:"",time:""}},t}return Object(l.a)(a,e),Object(c.a)(a,[{key:"componentDidMount",value:function(){var e=this,a=new URLSearchParams(this.props.location.search);d.d.get("".concat(API["base-api"],"/m/aist/share_ground_data/").concat(a.get("id"),"/").concat(a.get("vId"))).then(function(a){if(200==a.data.errno){var t=a.data.data;e.setState({course:{title:t.course_title,des:t.course_desc,img:t.image_name,id:t.course_id},user:{avatar:t.avatar,name:t.username,time:t.create_time},progress:{days:t.learn_day_num,action:t.action_power}}),Object(d.i)({title:t.share_title,desc:t.share_desc,imgUrl:t.image_name,link:location.href})}})}},{key:"render",value:function(){var e=this.state,a=e.user,t=e.course,s=e.progress;return m.a.createElement("div",{className:"aist-share"},m.a.createElement("div",{className:"content"},m.a.createElement("div",{className:"user"},m.a.createElement("img",{src:a.avatar,alt:"\u5934\u50cf"}),m.a.createElement("span",{className:"username"},a.name),m.a.createElement("span",{className:"time"},a.time)),m.a.createElement(u.b,{to:{pathname:"/detail",search:"?id=".concat(this.state.course.id)}},m.a.createElement("div",{className:"course"},m.a.createElement("div",{className:"course-cover"},m.a.createElement("img",{src:t.img,alt:"\u8bfe\u7a0b\u5c01\u9762"})),m.a.createElement("div",{className:"course-info"},m.a.createElement("div",{className:"title"},t.title),m.a.createElement("div",{className:"des"},t.des)))),m.a.createElement("ul",{className:"progress"},m.a.createElement("li",null,m.a.createElement("div",{className:"title"},"\u7d2f\u8ba1\u5b66\u4e60"),m.a.createElement("div",{className:"progress-value"},m.a.createElement("span",{className:"num"},s.days),"\u5929")),m.a.createElement("li",null,m.a.createElement("div",{className:"title"},"\u884c\u52a8\u529b\u8d85\u8fc7"),m.a.createElement("div",{className:"progress-value"},m.a.createElement("span",{className:"num"},s.action),"%"))),m.a.createElement("div",{className:"recommend-app"},m.a.createElement("div",{className:"text"},m.a.createElement("div",{className:"bold"},m.a.createElement("div",null,"\u7acb\u5373\u4e0b\u8f7d\u3010\u4e03\u6708\u5728\u7ebf\u3011"),m.a.createElement("div",null,"\u4f17\u591a\u597d\u8bfe\u514d\u8d39\u5b66")),m.a.createElement("div",{className:"light"},"\u957f\u6309\u8bc6\u522b\u53f3\u4fa7\u4e8c\u7ef4\u7801",m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/aist/arrow.png",alt:""}))),m.a.createElement("div",{className:"qrcode"},m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_app.png",alt:""})))))}}]),a}(i.PureComponent);a.default=Object(o.a)(v)}}]);
//# sourceMappingURL=aist-share.f74fb938.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{1171:function(e,a,t){},1192:function(e,a,t){"use strict";t.r(a);var s=t(5),c=t(7),n=t(6),r=t(8),l=t(9),i=t(0),m=t.n(i),o=(t(1171),t(160)),d=t(3),u=(t(146),t(15)),v=function(e){function a(){var e,t;Object(s.a)(this,a);for(var c=arguments.length,l=new Array(c),i=0;i<c;i++)l[i]=arguments[i];return(t=Object(n.a)(this,(e=Object(r.a)(a)).call.apply(e,[this].concat(l)))).state={course:{title:"",des:"",img:"",id:""},progress:{days:0,action:0},showShareCover:!0,user:{avatar:"",name:"",time:""}},t}return Object(l.a)(a,e),Object(c.a)(a,[{key:"componentDidMount",value:function(){var e=this,a=new URLSearchParams(this.props.location.search);d.d.get("".concat(API["base-api"],"/m/aist/share_ground_data/").concat(a.get("id"),"/").concat(a.get("vId"))).then(function(a){if(200==a.data.errno){var t=a.data.data;e.setState({course:{title:t.course_title,des:t.course_desc,img:t.image_name,id:t.course_id},user:{avatar:t.avatar,name:t.username,time:t.create_time},progress:{days:t.learn_day_num,action:t.action_power}}),Object(d.i)({title:t.share_title,desc:t.share_desc,imgUrl:t.image_name,link:location.href})}})}},{key:"render",value:function(){var e=this.state,a=e.user,t=e.course,s=e.progress;return m.a.createElement("div",{className:"aist-share"},m.a.createElement("div",{className:"content"},m.a.createElement("div",{className:"user"},m.a.createElement("img",{src:a.avatar,alt:"\u5934\u50cf"}),m.a.createElement("span",{className:"username"},a.name),m.a.createElement("span",{className:"time"},a.time)),m.a.createElement(u.b,{to:{pathname:"/detail",search:"?id=".concat(this.state.course.id)}},m.a.createElement("div",{className:"course"},m.a.createElement("div",{className:"course-cover"},m.a.createElement("img",{src:t.img,alt:"\u8bfe\u7a0b\u5c01\u9762"})),m.a.createElement("div",{className:"course-info"},m.a.createElement("div",{className:"title"},t.title),m.a.createElement("div",{className:"des"},t.des)))),m.a.createElement("ul",{className:"progress"},m.a.createElement("li",null,m.a.createElement("div",{className:"title"},"\u7d2f\u8ba1\u5b66\u4e60"),m.a.createElement("div",{className:"progress-value"},m.a.createElement("span",{className:"num"},s.days),"\u5929")),m.a.createElement("li",null,m.a.createElement("div",{className:"title"},"\u884c\u52a8\u529b\u8d85\u8fc7"),m.a.createElement("div",{className:"progress-value"},m.a.createElement("span",{className:"num"},s.action),"%"))),m.a.createElement("div",{className:"recommend-app"},m.a.createElement("div",{className:"text"},m.a.createElement("div",{className:"bold"},m.a.createElement("div",null,"\u7acb\u5373\u4e0b\u8f7d\u3010\u4e03\u6708\u5728\u7ebf\u3011"),m.a.createElement("div",null,"\u4f17\u591a\u597d\u8bfe\u514d\u8d39\u5b66")),m.a.createElement("div",{className:"light"},"\u957f\u6309\u8bc6\u522b\u53f3\u4fa7\u4e8c\u7ef4\u7801",m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/aist/arrow.png",alt:""}))),m.a.createElement("div",{className:"qrcode"},m.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_app.png",alt:""})))))}}]),a}(i.PureComponent);a.default=Object(o.a)(v)}}]);
//# sourceMappingURL=aist-share.f08f4fde.chunk.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){function r(r){for(var n,a,d=r[0],f=r[1],i=r[2],u=0,l=[];u<d.length;u++)a=d[u],o[a]&&l.push(o[a][0]),o[a]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,i||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,a=1;a<t.length;a++){var f=t[a];0!==o[f]&&(n=!1)}n&&(c.splice(r--,1),e=d(d.s=t[0]))}return e}var n={},a={19:0},o={19:0},c=[];function d(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,d),t.l=!0,t.exports}d.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{1:1,2:1,3:1,4:1,5:1,7:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,17:1,18:1,20:1,21:1,22:1,23:1,24:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"247ed778",2:"127d35ae",3:"6d999ce9",4:"1bd3da48",5:"17af9370",6:"31d6cfe0",7:"e46f87f2",8:"31d6cfe0",9:"68a25070",10:"312f2a43",11:"b11acd73",12:"887eb690",13:"f4398072",14:"cf38c16e",15:"63ef174e",17:"e3d68b58",18:"c9466779",20:"e26f3ee9",21:"cde549fc",22:"c5bde985",23:"ffd8be6c",24:"b8d615d9",26:"31d6cfe0",27:"0710e3e3",28:"51412fcd",29:"e292ab6b",30:"1133c967",31:"37fb0c23",32:"6e885738",33:"98f19554"}[e]+".chunk.css",o=d.p+n,c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var i=(s=c[f]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(i===n||i===o))return r()}var u=document.getElementsByTagName("style");for(f=0;f<u.length;f++){var s;if((i=(s=u[f]).getAttribute("data-href"))===n||i===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.request=n,delete a[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var c,f=document.createElement("script");f.charset="utf-8",f.timeout=120,d.nc&&f.setAttribute("nonce",d.nc),f.src=function(e){return d.p+"mrstatic/js/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"3cda4082",1:"99938529",2:"d90ec769",3:"4aa8ae23",4:"fe498fdd",5:"d6cdc9b7",6:"fe4ce0d0",7:"863bcecd",8:"5dac860b",9:"8993c389",10:"9f4e6030",11:"3a4568eb",12:"ab19bf02",13:"f74fb938",14:"b81c49b7",15:"5aef7224",17:"3ebf22ad",18:"f057da65",20:"c5751a22",21:"1cc92e57",22:"87355657",23:"c87a3e21",24:"efa90744",26:"56aeff83",27:"68a72ede",28:"8ed1b5c2",29:"072e25d8",30:"012adeac",31:"f3d31bfc",32:"f11af345",33:"c51ac008"}[e]+".chunk.js"}(e),c=function(r){f.onerror=f.onload=null,clearTimeout(i);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var i=setTimeout(function(){c({type:"timeout",target:f})},12e4);f.onerror=f.onload=c,document.head.appendChild(f)}return Promise.all(r)},d.m=e,d.c=n,d.d=function(e,r,t){d.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,r){if(1&r&&(e=d(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)d.d(t,n,function(r){return e[r]}.bind(null,n));return t},d.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(r,"a",r),r},d.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},d.p="/",d.oe=function(e){throw console.error(e),e};var f=window.webpackJsonp=window.webpackJsonp||[],i=f.push.bind(f);f.push=r,f=f.slice();for(var u=0;u<f.length;u++)r(f[u]);var s=i;t()}([]);
//# sourceMappingURL=runtime~main.2a32f926.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,a,d=r[0],f=r[1],i=r[2],u=0,l=[];u<d.length;u++)a=d[u],o[a]&&l.push(o[a][0]),o[a]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(s&&s(r);l.length;)l.shift()();return c.push.apply(c,i||[]),t()}function t(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,a=1;a<t.length;a++){var f=t[a];0!==o[f]&&(n=!1)}n&&(c.splice(r--,1),e=d(d.s=t[0]))}return e}var n={},a={19:0},o={19:0},c=[];function d(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,d),t.l=!0,t.exports}d.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{1:1,2:1,3:1,4:1,5:1,7:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,17:1,18:1,20:1,21:1,22:1,23:1,24:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"247ed778",2:"127d35ae",3:"edc539ff",4:"1bd3da48",5:"17af9370",6:"31d6cfe0",7:"e46f87f2",8:"31d6cfe0",9:"68a25070",10:"312f2a43",11:"b11acd73",12:"887eb690",13:"f4398072",14:"cf38c16e",15:"63ef174e",17:"e3d68b58",18:"c9466779",20:"e26f3ee9",21:"cde549fc",22:"c5bde985",23:"ffd8be6c",24:"b8d615d9",26:"31d6cfe0",27:"0710e3e3",28:"51412fcd",29:"e292ab6b",30:"1133c967",31:"37fb0c23",32:"6e885738",33:"400393b7"}[e]+".chunk.css",o=d.p+n,c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var i=(s=c[f]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(i===n||i===o))return r()}var u=document.getElementsByTagName("style");for(f=0;f<u.length;f++){var s;if((i=(s=u[f]).getAttribute("data-href"))===n||i===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.request=n,delete a[e],l.parentNode.removeChild(l),t(c)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var c,f=document.createElement("script");f.charset="utf-8",f.timeout=120,d.nc&&f.setAttribute("nonce",d.nc),f.src=function(e){return d.p+"mrstatic/js/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"3cda4082",1:"33851e01",2:"d90ec769",3:"3858b2a6",4:"fe498fdd",5:"d6cdc9b7",6:"fe4ce0d0",7:"863bcecd",8:"5dac860b",9:"8993c389",10:"9f4e6030",11:"6bd7cca1",12:"ab19bf02",13:"f08f4fde",14:"86ed52ec",15:"5aef7224",17:"3ebf22ad",18:"f057da65",20:"5aa44ed1",21:"1cc92e57",22:"87355657",23:"c87a3e21",24:"efa90744",26:"56aeff83",27:"68a72ede",28:"8ed1b5c2",29:"072e25d8",30:"012adeac",31:"f3d31bfc",32:"f11af345",33:"95091824"}[e]+".chunk.js"}(e),c=function(r){f.onerror=f.onload=null,clearTimeout(i);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,t[1](c)}o[e]=void 0}};var i=setTimeout(function(){c({type:"timeout",target:f})},12e4);f.onerror=f.onload=c,document.head.appendChild(f)}return Promise.all(r)},d.m=e,d.c=n,d.d=function(e,r,t){d.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,r){if(1&r&&(e=d(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)d.d(t,n,function(r){return e[r]}.bind(null,n));return t},d.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(r,"a",r),r},d.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},d.p="/",d.oe=function(e){throw console.error(e),e};var f=window.webpackJsonp=window.webpackJsonp||[],i=f.push.bind(f);f.push=r,f=f.slice();for(var u=0;u<f.length;u++)r(f[u]);var s=i;t()}([]);
//# sourceMappingURL=runtime~main.bd367a22.js.map
\ No newline at end of file
self.__precacheManifest = [
{
"revision": "ec738a046cc7e4d1a8c8",
"url": "/mrstatic/js/search.c5751a22.chunk.js"
"revision": "5e885ef19495aea96832",
"url": "/mrstatic/js/search.5aa44ed1.chunk.js"
},
{
"revision": "13541f5d2fc1e1fb3660",
"url": "/mrstatic/js/0.3cda4082.chunk.js"
},
{
"revision": "5109e88f58bab20ec034",
"url": "/mrstatic/js/BargainMiddlePage.99938529.chunk.js"
"revision": "3a1c7c5b091126cf587c",
"url": "/mrstatic/js/BargainMiddlePage.33851e01.chunk.js"
},
{
"revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae",
......@@ -24,8 +24,8 @@ self.__precacheManifest = [
"url": "/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
},
{
"revision": "f8706afd3371c105f00f",
"url": "/mrstatic/js/CourseList.4aa8ae23.chunk.js"
"revision": "fd4fc6a77ba54e7869ed",
"url": "/mrstatic/js/CourseList.3858b2a6.chunk.js"
},
{
"revision": "6902434f8f18a23319d57d0ac8aaea8c",
......@@ -76,16 +76,16 @@ self.__precacheManifest = [
"url": "/mrstatic/js/Preferential.9f4e6030.chunk.js"
},
{
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
},
{
"revision": "aec63ad65c19d2e7ee0d",
"url": "/mrstatic/js/SearchResult.3a4568eb.chunk.js"
"revision": "8ccab0fa2dd2fb503235",
"url": "/mrstatic/js/SearchResult.6bd7cca1.chunk.js"
},
{
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
},
{
"revision": "8f604a467328fc3b733a",
......@@ -96,16 +96,16 @@ self.__precacheManifest = [
"url": "/mrstatic/media/iconfont.e0655d4d.woff"
},
{
"revision": "32dd93d947778dbeb6ef",
"url": "/mrstatic/js/aist-share.f74fb938.chunk.js"
"revision": "b39a7c8496b0ff55d7b5",
"url": "/mrstatic/js/aist-share.f08f4fde.chunk.js"
},
{
"revision": "323930e14dec9f225059",
"url": "/mrstatic/js/33.c51ac008.chunk.js"
"revision": "de8a4ee380e9f866b133",
"url": "/mrstatic/js/33.95091824.chunk.js"
},
{
"revision": "d0f78442568c1278df2e",
"url": "/mrstatic/js/coupons.b81c49b7.chunk.js"
"revision": "26c341a3965f7fb2fba4",
"url": "/mrstatic/js/coupons.86ed52ec.chunk.js"
},
{
"revision": "88be4f4af3153a4412cf",
......@@ -120,8 +120,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/31.f3d31bfc.chunk.js"
},
{
"revision": "f84747f4de83438ed7a6",
"url": "/mrstatic/js/main.2eec3bc1.chunk.js"
"revision": "8ccc06eb4cceb57960de",
"url": "/mrstatic/js/main.f356b2eb.chunk.js"
},
{
"revision": "e42a192f087059b09d74",
......@@ -140,8 +140,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/purchased.f057da65.chunk.js"
},
{
"revision": "37fcb280c0b36a73c8de",
"url": "/mrstatic/js/runtime~main.2a32f926.js"
"revision": "1cd39b0faa898e01bda6",
"url": "/mrstatic/js/runtime~main.bd367a22.js"
},
{
"revision": "bba2330b2fbf43c212d7",
......@@ -160,8 +160,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/shareposter.1cc92e57.chunk.js"
},
{
"revision": "1fd6fa588b101b32f4d3",
"url": "/mrstatic/js/25.b0992fab.chunk.js"
"revision": "299e9bb73798652ddbeb",
"url": "/mrstatic/js/25.00f5dee6.chunk.js"
},
{
"revision": "ec9b1c70fd5f11e44c82",
......@@ -188,7 +188,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/detail.63ef174e.chunk.css"
},
{
"revision": "1fd6fa588b101b32f4d3",
"revision": "299e9bb73798652ddbeb",
"url": "/mrstatic/css/25.60a38a0f.chunk.css"
},
{
......@@ -200,7 +200,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/27.0710e3e3.chunk.css"
},
{
"revision": "5109e88f58bab20ec034",
"revision": "3a1c7c5b091126cf587c",
"url": "/mrstatic/css/BargainMiddlePage.247ed778.chunk.css"
},
{
......@@ -208,7 +208,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/28.51412fcd.chunk.css"
},
{
"revision": "ec738a046cc7e4d1a8c8",
"revision": "5e885ef19495aea96832",
"url": "/mrstatic/css/search.e26f3ee9.chunk.css"
},
{
......@@ -232,7 +232,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/31.37fb0c23.chunk.css"
},
{
"revision": "f84747f4de83438ed7a6",
"revision": "8ccc06eb4cceb57960de",
"url": "/mrstatic/css/main.5c451943.chunk.css"
},
{
......@@ -244,15 +244,15 @@ self.__precacheManifest = [
"url": "/mrstatic/css/study.c5bde985.chunk.css"
},
{
"revision": "323930e14dec9f225059",
"url": "/mrstatic/css/33.98f19554.chunk.css"
"revision": "de8a4ee380e9f866b133",
"url": "/mrstatic/css/33.400393b7.chunk.css"
},
{
"revision": "d0f78442568c1278df2e",
"revision": "26c341a3965f7fb2fba4",
"url": "/mrstatic/css/coupons.cf38c16e.chunk.css"
},
{
"revision": "32dd93d947778dbeb6ef",
"revision": "b39a7c8496b0ff55d7b5",
"url": "/mrstatic/css/aist-share.f4398072.chunk.css"
},
{
......@@ -260,7 +260,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/ShopCart.887eb690.chunk.css"
},
{
"revision": "aec63ad65c19d2e7ee0d",
"revision": "8ccab0fa2dd2fb503235",
"url": "/mrstatic/css/SearchResult.b11acd73.chunk.css"
},
{
......@@ -284,15 +284,15 @@ self.__precacheManifest = [
"url": "/mrstatic/css/DrawDocument.1bd3da48.chunk.css"
},
{
"revision": "f8706afd3371c105f00f",
"url": "/mrstatic/css/CourseList.6d999ce9.chunk.css"
"revision": "fd4fc6a77ba54e7869ed",
"url": "/mrstatic/css/CourseList.edc539ff.chunk.css"
},
{
"revision": "19120dd94fdb9ae79557",
"url": "/mrstatic/css/Classify.127d35ae.chunk.css"
},
{
"revision": "297d22834e76823db960152dd209d387",
"revision": "3b23a1e7bf778123ef673f8bef80264a",
"url": "/index.html"
}
];
\ No newline at end of file
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
"/precache-manifest.a33535db2e9a810054f42f93556b9197.js"
"/precache-manifest.eff4a5d4db660a7d0b4aaa8e612a2c63.js"
);
workbox.clientsClaim();
......
......@@ -7,10 +7,10 @@ const CAPTCHAID = '6b0f5f6c8f334f3693ee754ba5692e36'
class Captcha extends Component {
componentDidMount() {
const {getInstance, handleError, onVerify} = this.props
const el = document.getElementById('captcha')
const el = document.getElementById('captcha');
el && initCaptcha(function () {
initNECaptcha({
element: '#captcha',
element: el,
captchaId: CAPTCHAID,
mode: 'float',
width: 'auto',
......
......@@ -26,7 +26,8 @@ class Classify extends Component {
allClass: [],
data: [],
activeTab: decodeURIComponent(getParam('name')),
isLoading: true
isLoading: true,
top: 44
}
}
......@@ -34,6 +35,11 @@ class Classify extends Component {
componentDidMount() {
this.getTabs()
this.getList()
const el = document.querySelector('.search-nav');
this.setState({
top: el.offsetHeight
});
}
componentWillUnmount() {
......@@ -173,7 +179,7 @@ class Classify extends Component {
<Sticky>
{({ style }) => {
return (
<div style={{ ...style, top: '44px', zIndex: 1 }}>
<div style={{ ...style, top: `${this.state.top}px`, zIndex: 1 }}>
<Tabs.DefaultTabBar {...props} />
</div>
)
......
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