From af72a800ce389fbc9db0d5a9625d532c91101f02 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Fri, 5 Jul 2019 10:24:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=98=E9=98=9F=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_competition_team_detail.html.erb | 113 +++++++++++++----- public/stylesheets/educoder/edu-all.css | 41 +++++++ 2 files changed, 125 insertions(+), 29 deletions(-) diff --git a/app/views/competitions/_competition_team_detail.html.erb b/app/views/competitions/_competition_team_detail.html.erb index 9574db58..a44f8717 100644 --- a/app/views/competitions/_competition_team_detail.html.erb +++ b/app/views/competitions/_competition_team_detail.html.erb @@ -1,39 +1,94 @@ -
-

+

+

战队详情 返回

-
-

实训项目

- - - - - - - - +
+

实训项目

+
创建者名称学习人数fork版的学习人数有效作品数制作应用经验值
+ + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + +
创建者名称学习人数fork版的学习人数有效作品数经验值
胡莎莎 - 单链表的学习与应用(I) - 2.5万14562.5万4545667
张三 + MySQL数据库编程开发实训(基础入门篇)MySQL数据库编程开发实训(基础入门篇) + 原创 + 1545124611154987
合计612万112233
+
+ +
+

翻转课堂

+ + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + + +
创建者名称学生数量发布的实训作业数量有效作品数经验值
张三 + MySQL数据库编程开发实训(基础入门篇)MySQL数据库编程开发实训(基础入门篇) + 1545124611154987
合计:65.5万78782.5万245364
合计612万112233
-
\ No newline at end of file +
+ + \ No newline at end of file diff --git a/public/stylesheets/educoder/edu-all.css b/public/stylesheets/educoder/edu-all.css index 60018b85..13639287 100644 --- a/public/stylesheets/educoder/edu-all.css +++ b/public/stylesheets/educoder/edu-all.css @@ -728,6 +728,47 @@ li.challenge_box:last-child{ width: 360px;height: 70px;background: #2CDAD4;color: #fff!important;font-size: 30px;line-height: 70px;text-align: center; margin:0px auto;display: block; } +table.tBodyScroll tbody tr td{ + padding:6px 5px;box-sizing: border-box;font-size: 16px;color: #05101A;font-weight: normal; +} +table.tBodyScroll tbody { + display:block; + max-height:420px; + overflow-y:auto; +} +.connectTag{ + display: inline-block;background: #4CACFF;border-radius: 12px;height: 24px;line-height: 24px;color: #fff; + padding:0px 12px;font-size: 14px; +} +table.tBodyScroll thead,table.tBodyScroll tfoot,table.tBodyScroll tbody tr { + display:table; + width:100%; + table-layout:fixed; +} + +table.tBodyScroll thead,table.tBodyScroll tfoot { + width:100%; +} +table.tBodyScroll tfoot tr th{ + padding:10px 5px;box-sizing: border-box;border-top: 1px solid #eaeaea;font-weight: normal!important; +} +.lastPart,.tfootLastPart{ + width: calc( 100% - 1em )!important; +} +.lastPart tr th:last-child,.tfootLastPart tr th:last-child{position: relative;} +.tfootLastPart tr th:last-child:after{ + content: '';width: 1em;height: 100%;position: absolute;right: -1em;top:0px;border-top: 1px solid #eaeaea; +} +.lastPart tr th:last-child:after{ + content: '';background: #F5F5F5;width: 1em;height: 100%;position: absolute;right: -1em;top:0px +} +table.tBodyScroll thead th{ + background: #F5F5F5;color: #656565;padding:10px 5px;box-sizing: border-box; +} +.modalTitle{display: block;padding: 0px 30px;position: relative;line-height: 20px} +.modalTitle:before{ + position: absolute;height: 100%;width: 2px;content: '';background: #4cacff;left: 0px;top: 0px; +}