mirror of
https://github.com/PlayEdu/backend
synced 2025-06-23 01:14:13 +08:00
线上课操作按钮优化
This commit is contained in:
parent
4be966dc61
commit
008e297b74
@ -420,6 +420,12 @@ textarea.ant-input {
|
||||
}
|
||||
}
|
||||
|
||||
.b-n-link {
|
||||
&:hover {
|
||||
color: rgba(@primaryColor, 0.8) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.c-gray {
|
||||
color: rgba(#333333, 0.3);
|
||||
}
|
||||
|
@ -177,29 +177,11 @@ export const CoursePage = () => {
|
||||
const items: MenuProps["items"] = [
|
||||
{
|
||||
key: "1",
|
||||
label: (
|
||||
<Space size="small" style={{ width: 60 }}>
|
||||
<Button
|
||||
type="link"
|
||||
size="small"
|
||||
className="b-link c-red"
|
||||
onClick={() => {
|
||||
setCid(Number(record.id));
|
||||
setHourUpdateVisible(true);
|
||||
}}
|
||||
>
|
||||
课时
|
||||
</Button>
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
{
|
||||
key: "2",
|
||||
label: (
|
||||
<Button
|
||||
type="link"
|
||||
size="small"
|
||||
className="b-link c-red"
|
||||
className="b-n-link c-red"
|
||||
onClick={() => {
|
||||
setCid(Number(record.id));
|
||||
setUpdateVisible(true);
|
||||
@ -209,13 +191,30 @@ export const CoursePage = () => {
|
||||
</Button>
|
||||
),
|
||||
},
|
||||
{
|
||||
key: "2",
|
||||
label: (
|
||||
<Button
|
||||
style={{ verticalAlign: "middle" }}
|
||||
type="link"
|
||||
size="small"
|
||||
className="b-n-link c-red"
|
||||
onClick={() => {
|
||||
setCid(Number(record.id));
|
||||
setHourUpdateVisible(true);
|
||||
}}
|
||||
>
|
||||
课时
|
||||
</Button>
|
||||
),
|
||||
},
|
||||
{
|
||||
key: "3",
|
||||
label: (
|
||||
<Button
|
||||
type="link"
|
||||
size="small"
|
||||
className="b-link c-red"
|
||||
className="b-n-link c-red"
|
||||
onClick={() => delItem(record.id)}
|
||||
>
|
||||
删除
|
||||
@ -245,7 +244,7 @@ export const CoursePage = () => {
|
||||
className="b-link c-red"
|
||||
onClick={(e) => e.preventDefault()}
|
||||
>
|
||||
<Space>
|
||||
<Space size="small" align="center">
|
||||
更多
|
||||
<DownOutlined />
|
||||
</Space>
|
||||
|
Loading…
x
Reference in New Issue
Block a user