Commit 3c4aef06 authored by wuhao's avatar wuhao 🎯

asder

parent bc3f7250
Pipeline #3737 passed with stages
in 3 minutes and 13 seconds
...@@ -150,7 +150,7 @@ export default function ShopProductCard({ ...@@ -150,7 +150,7 @@ export default function ShopProductCard({
<div></div> <div></div>
{type !== 3 && ( {type !== 3 && (
<Tooltip placement="bottom-start" title={shut ? "确认关闭" : "关闭"}> <Tooltip placement="bottom-start" title={shut ? "确认结束" : "结束"}>
{shut ? ( {shut ? (
<IconButton <IconButton
disabled={shut === "1"} disabled={shut === "1"}
......
...@@ -410,7 +410,7 @@ export default function ShopProductCard({ ...@@ -410,7 +410,7 @@ export default function ShopProductCard({
{type === 3 && ( {type === 3 && (
<Tooltip <Tooltip
placement="bottom-start" placement="bottom-start"
title={shut ? "确认关闭" : "关闭"} title={shut ? "确认结束" : "结束"}
> >
{shut ? ( {shut ? (
<IconButton <IconButton
......
...@@ -5,6 +5,9 @@ import Slide from "@mui/material/Slide"; ...@@ -5,6 +5,9 @@ import Slide from "@mui/material/Slide";
import Snackbar from "@mui/material/Snackbar"; import Snackbar from "@mui/material/Snackbar";
import * as Sentry from "@sentry/react"; import * as Sentry from "@sentry/react";
import { Outlet, useModel } from "@umijs/max"; import { Outlet, useModel } from "@umijs/max";
import { ConfigProvider } from "antd";
import locale from "antd/locale/zh_CN";
import "dayjs/locale/zh-cn";
import React from "react"; import React from "react";
import ThemeProvider from "./theme"; import ThemeProvider from "./theme";
...@@ -73,6 +76,7 @@ function App() { ...@@ -73,6 +76,7 @@ function App() {
} = useModel("@@initialState"); } = useModel("@@initialState");
return ( return (
<ConfigProvider locale={locale}>
<ThemeProvider> <ThemeProvider>
<CssBaseline /> <CssBaseline />
<Snackbar <Snackbar
...@@ -93,6 +97,7 @@ function App() { ...@@ -93,6 +97,7 @@ function App() {
</Snackbar> </Snackbar>
<Outlet /> <Outlet />
</ThemeProvider> </ThemeProvider>
</ConfigProvider>
); );
} }
......
...@@ -419,7 +419,7 @@ function Lessons() { ...@@ -419,7 +419,7 @@ function Lessons() {
color={"default"} color={"default"}
/> />
} }
label="已关闭" label="已结束"
value={5} value={5}
/> />
</FormGroup> </FormGroup>
......
...@@ -14,6 +14,8 @@ import { Empty, Input, message } from "antd"; ...@@ -14,6 +14,8 @@ import { Empty, Input, message } from "antd";
import { useMemo, useState } from "react"; import { useMemo, useState } from "react";
import "./index.less"; import "./index.less";
function Lessons() { function Lessons() {
const [dialogprops, setdialogprops] = useState({ const [dialogprops, setdialogprops] = useState({
open: false, open: false,
...@@ -124,6 +126,15 @@ function Lessons() { ...@@ -124,6 +126,15 @@ function Lessons() {
span: 24, span: 24,
}, },
}, },
{
title: "课程时间",
dataIndex: "courseTime",
key: "courseTimeList",
valueType: "dateRange",
colProps: {
span: 24,
},
},
], ],
[] []
); );
...@@ -306,7 +317,7 @@ function Lessons() { ...@@ -306,7 +317,7 @@ function Lessons() {
color={"default"} color={"default"}
/> />
} }
label="已关闭" label="已结束"
value={3} value={3}
/> />
</FormGroup> </FormGroup>
...@@ -323,7 +334,6 @@ function Lessons() { ...@@ -323,7 +334,6 @@ function Lessons() {
}} }}
></Input> ></Input>
<PremButton <PremButton
btn={{ btn={{
variant: "contained", variant: "contained",
......
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