diff --git a/public/react/src/modules/courses/members/CourseGroupList.js b/public/react/src/modules/courses/members/CourseGroupList.js
index afec12fa9..597357a9f 100644
--- a/public/react/src/modules/courses/members/CourseGroupList.js
+++ b/public/react/src/modules/courses/members/CourseGroupList.js
@@ -133,7 +133,12 @@ function CourseGroupList(props) {
modalsType={DownloadType}
/>
+ 分班列表
+ {props.history.push(`/courses/${courseId}/course_groups/0`)}}>未分班
+
+ }
searchValue={ searchValue }
onInputSearchChange={onInputSearchChange}
allowClearonChange={onInputSearchChange}
@@ -211,12 +216,12 @@ function CourseGroupList(props) {
onPressEnter={onPressEnter}
>
- {!!none_group_member_count &&
{props.history.push(`/courses/${courseId}/course_groups/0`)}}>
+ {/* {!!none_group_member_count &&
{props.history.push(`/courses/${courseId}/course_groups/0`)}}>
未分班:
{none_group_member_count}个学生
查看
-
}
+
} */}
{course_groups && !!course_groups.length ?
diff --git a/public/react/src/modules/courses/members/CourseGroupListTable.js b/public/react/src/modules/courses/members/CourseGroupListTable.js
index 5551faee3..2b02afcd7 100644
--- a/public/react/src/modules/courses/members/CourseGroupListTable.js
+++ b/public/react/src/modules/courses/members/CourseGroupListTable.js
@@ -5,7 +5,7 @@ import axios from 'axios'
import { WordsBtn, trigger, on, off, getUrl, downloadFile , sortDirections } from 'educoder'
import ClipboardJS from 'clipboard'
-
+import './studentsList.css';
/**
角色数组, CREATOR: 创建者, PROFESSOR: 教师, ASSISTANT_PROFESSOR: 助教, STUDENT: 学生
course_members_count: 0
@@ -103,10 +103,23 @@ function CourseGroupListTable(props) {
dataIndex: 'invite_code',
key: 'invite_code',
align:'center',
- width:"10%",
+ width:"21%",
className:"color-grey-6",
render: (invite_code, record, index) => {
- return invite_code
+ return
+ {invite_code}
+ {isAdmin &&
+
+ 成员可以通过邀请码主动加入分班
+ 点击复制邀请码
+
+ }>
+ 复制
+
+ }
+
}
} : {
title: '你当前所在分班',
@@ -127,22 +140,12 @@ function CourseGroupListTable(props) {
dataIndex: 'setting',
key: 'setting',
align:'center',
- width:"25%",
+ width:"14%",
className:"color-grey-6",
render: (none, record, index) => {
return
{!isCourseEnd && isAdmin && onDelete(record)} style={'grey'}>删除分班}
- {isAdmin &&
-
- 成员可以通过邀请码主动加入分班
- 点击复制邀请码
-
- }>
- 复制邀请码
-
- }
+
{isStudent && addToDir(record)} style={''}>加入分班}
onGoDetail(record)} style={''}>查看
diff --git a/public/react/src/modules/courses/members/studentsList.css b/public/react/src/modules/courses/members/studentsList.css
index b2a41c7e6..bd7b88ed1 100644
--- a/public/react/src/modules/courses/members/studentsList.css
+++ b/public/react/src/modules/courses/members/studentsList.css
@@ -5,4 +5,47 @@
.E9F8FF{
background-color: #E9F8FF;
+}
+
+.codeBtnStyle{
+ height: 18px;
+ line-height: 18px;
+ padding:0px 5px;
+ cursor: pointer;
+ font-size: 12px;
+ border-radius: 2px;
+}
+.codeBtn_yellow{
+ border:1px solid #FF6B06;
+ color: #FF6B06!important;
+}
+.codeBtn_green{
+ border:1px solid #00BA38;
+ color: #00BA38!important;
+}
+
+.codeBtn_blue{
+ border:1px solid #4CACFF;
+ color: #4CACFF!important;
+}
+
+.course_publicNav{
+ display: flex;
+}
+.course_publicNav li{
+ position: relative;
+ margin-right: 30px;
+ cursor: pointer;
+}
+.course_publicNav li.active{
+ color: #4CACFF
+}
+.course_publicNav li.active::after{
+ position: absolute;
+ width: 100%;
+ height: 2px;
+ content: '';
+ left: 0px;
+ bottom: -33px;
+ background: #4CACFF;
}
\ No newline at end of file
diff --git a/public/react/src/modules/courses/members/studentsList.js b/public/react/src/modules/courses/members/studentsList.js
index aff19d041..af83d0a49 100644
--- a/public/react/src/modules/courses/members/studentsList.js
+++ b/public/react/src/modules/courses/members/studentsList.js
@@ -741,12 +741,22 @@ class studentsList extends Component{
-
-
- { this.props.history.push(`/courses/${courseId}/course_groups`)}}
- style={{color: '#212121', verticalAlign: 'initial', marginRight: '14px' }}
- >
- {course_group_name || '未分班'}
+ {
+ course_group_name ?
+
+
+ { this.props.history.push(`/courses/${courseId}/course_groups`)}}
+ style={{color: '#212121', verticalAlign: 'initial', marginRight: '14px' }}
+ >
+ {course_group_name}
+
+ :
+
+ - { this.props.history.push(`/courses/${courseId}/course_groups`)}}>分班列表
+ - 未分班
+
+ }
+
{isAdmin && invite_code &&
邀请码: