From 1d34f75cb8423b3b84e71924e354322cbe3ce2ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Wed, 4 Sep 2019 14:45:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E8=A1=8C=E6=A6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/home/shixunsHome.js | 296 +++++++++---------- 1 file changed, 148 insertions(+), 148 deletions(-) diff --git a/public/react/src/modules/home/shixunsHome.js b/public/react/src/modules/home/shixunsHome.js index 0d11fb369..690baf28b 100644 --- a/public/react/src/modules/home/shixunsHome.js +++ b/public/react/src/modules/home/shixunsHome.js @@ -389,156 +389,156 @@ class ShixunsHome extends Component { {/*导师排行榜*/} - {/*
*/} - {/*
*/} - {/*
*/} - {/*

导师排行榜

*/} - {/*

MENTOR RANKING

*/} - {/*
*/} - - {/*
*/} - {/*
    */} - {/* {*/} - {/* homedatalist===undefined?"":homedatalist.teachers.map((item,key)=>{*/} - - {/* if(key===1){*/} - {/* return(*/} - {/*
  • */} - {/* */} - {/* */} - {/* */} - {/* {item.username}*/} - {/* */} - {/*
  • */} - {/* )*/} - {/* }*/} - {/* })}*/} - {/* {*/} - {/* homedatalist===undefined?"":homedatalist.teachers.map((item,key)=>{*/} - {/* if(key===0){*/} - {/* return(*/} - {/*
  • */} - {/* */} - {/* */} - {/* */} - {/* {item.username}*/} - {/* */} - {/*
  • */} - {/* )*/} - {/* }*/} - {/* })}*/} - {/* {*/} - {/* homedatalist===undefined?"":homedatalist.teachers.map((item,key)=>{*/} - {/* if(key===2){*/} - {/* return(*/} - {/*
  • */} - {/* */} - {/* */} - {/* */} - {/* {item.username}*/} - {/* */} - {/*
  • */} - {/* )*/} - {/* }*/} - {/* })}*/} - {/*
*/} - {/*
*/} - {/*
    */} - {/* {*/} - {/* homedatalist===undefined?"":homedatalist.teachers.map((item,key)=>{*/} - {/* if(key>2) {*/} - {/* return (*/} - {/*
  • */} - {/* */} - {/* */} - {/* {item.username}*/} - {/* */} - {/*
  • */} - {/* )*/} - {/* }*/} - {/* })}*/} - - - {/*
*/} - {/*
*/} - - - {/*
*/} - {/*
*/} +
+
+
+

导师排行榜

+

MENTOR RANKING

+
+ +
+
    + { + homedatalist===undefined?"":homedatalist.teachers.map((item,key)=>{ + + if(key===1){ + return( +
  • + + + + {item.username} + +
  • + ) + } + })} + { + homedatalist===undefined?"":homedatalist.teachers.map((item,key)=>{ + if(key===0){ + return( +
  • + + + + {item.username} + +
  • + ) + } + })} + { + homedatalist===undefined?"":homedatalist.teachers.map((item,key)=>{ + if(key===2){ + return( +
  • + + + + {item.username} + +
  • + ) + } + })} +
+
+
    + { + homedatalist===undefined?"":homedatalist.teachers.map((item,key)=>{ + if(key>2) { + return ( +
  • + + + {item.username} + +
  • + ) + } + })} + + +
+
+ + +
+
{/*程序员排行榜*/} - {/*
*/} - {/*
*/} - {/*
*/} - {/*

程序员排行榜

*/} - {/*

PROGRAMMER RANKING

*/} - {/*
*/} - {/*
*/} - {/*
    */} - {/* {*/} - {/* homedatalist===undefined?"":homedatalist.students.map((item,key)=>{*/} - {/* if(key===1){*/} - {/* return(*/} - {/*
  • */} - {/* */} - {/* */} - {/* */} - {/* {item.username}*/} - {/* */} - {/*
  • */} - {/* )*/} - {/* }*/} - {/* })}*/} - {/* {*/} - {/* homedatalist===undefined?"":homedatalist.students.map((item,key)=>{*/} - {/* if(key===0){*/} - {/* return(*/} - {/*
  • */} - {/* */} - {/* */} - {/* */} - {/* {item.username}*/} - {/* */} - {/*
  • */} - {/* )*/} - {/* }*/} - {/* })}*/} - {/* {*/} - {/* homedatalist===undefined?"":homedatalist.students.map((item,key)=>{*/} - {/* if(key===2){*/} - {/* return(*/} - {/*
  • */} - {/* */} - {/* */} - {/* */} - {/* {item.username}*/} - {/* */} - {/*
  • */} - {/* )*/} - {/* }*/} - {/* })}*/} - {/*
*/} - {/*
*/} - {/*
    */} - {/* {*/} - {/* homedatalist===undefined?"":homedatalist.students.map((item,key)=>{*/} - {/* if(key>2) {*/} - {/* return (*/} - {/*
  • */} - {/* */} - {/* */} - {/* {item.username}*/} - {/* */} - {/*
  • */} - {/* )*/} - {/* }*/} - {/* })}*/} - - - {/*
*/} - {/*
*/} - {/*
*/} - {/*
*/} +
+
+
+

程序员排行榜

+

PROGRAMMER RANKING

+
+
+
    + { + homedatalist===undefined?"":homedatalist.students.map((item,key)=>{ + if(key===1){ + return( +
  • + + + + {item.username} + +
  • + ) + } + })} + { + homedatalist===undefined?"":homedatalist.students.map((item,key)=>{ + if(key===0){ + return( +
  • + + + + {item.username} + +
  • + ) + } + })} + { + homedatalist===undefined?"":homedatalist.students.map((item,key)=>{ + if(key===2){ + return( +
  • + + + + {item.username} + +
  • + ) + } + })} +
+
+
    + { + homedatalist===undefined?"":homedatalist.students.map((item,key)=>{ + if(key>2) { + return ( +
  • + + + {item.username} + +
  • + ) + } + })} + + +
+
+
+