Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cs_vsofpm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhao
cs_vsofpm
Commits
3c4aef06
Commit
3c4aef06
authored
Jun 09, 2023
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asder
parent
bc3f7250
Pipeline
#3737
passed with stages
in 3 minutes and 13 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
23 deletions
+38
-23
index.jsx
src/components/ProductCard/index.jsx
+1
-1
sxcard.jsx
src/components/ProductCard/sxcard.jsx
+1
-1
index.jsx
src/layouts/index.jsx
+23
-18
index.jsx
src/pages/bustrain/index.jsx
+1
-1
index.jsx
src/pages/lessons/index.jsx
+12
-2
No files found.
src/components/ProductCard/index.jsx
View file @
3c4aef06
...
...
@@ -150,7 +150,7 @@ export default function ShopProductCard({
<
div
></
div
>
{
type
!==
3
&&
(
<
Tooltip
placement=
"bottom-start"
title=
{
shut
?
"确认
关闭"
:
"关闭
"
}
>
<
Tooltip
placement=
"bottom-start"
title=
{
shut
?
"确认
结束"
:
"结束
"
}
>
{
shut
?
(
<
IconButton
disabled=
{
shut
===
"1"
}
...
...
src/components/ProductCard/sxcard.jsx
View file @
3c4aef06
...
...
@@ -410,7 +410,7 @@ export default function ShopProductCard({
{
type
===
3
&&
(
<
Tooltip
placement=
"bottom-start"
title=
{
shut
?
"确认
关闭"
:
"关闭
"
}
title=
{
shut
?
"确认
结束"
:
"结束
"
}
>
{
shut
?
(
<
IconButton
...
...
src/layouts/index.jsx
View file @
3c4aef06
...
...
@@ -5,6 +5,9 @@ import Slide from "@mui/material/Slide";
import
Snackbar
from
"@mui/material/Snackbar"
;
import
*
as
Sentry
from
"@sentry/react"
;
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
ThemeProvider
from
"./theme"
;
...
...
@@ -73,26 +76,28 @@ function App() {
}
=
useModel
(
"@@initialState"
);
return
(
<
ThemeProvider
>
<
CssBaseline
/>
<
Snackbar
open=
{
message
?.
open
}
TransitionComponent=
{
(
props
)
=>
<
Slide
{
...
props
}
direction=
"left"
/>
}
{
...
message
?
.
snackbar
}
onClose=
{
handleClose
}
>
<
Alert
severity=
{
message
?.
type
}
<
ConfigProvider
locale=
{
locale
}
>
<
ThemeProvider
>
<
CssBaseline
/>
<
Snackbar
open=
{
message
?.
open
}
TransitionComponent=
{
(
props
)
=>
<
Slide
{
...
props
}
direction=
"left"
/>
}
{
...
message
?
.
snackbar
}
onClose=
{
handleClose
}
{
...
message
.
alert
}
sx=
{
{
color
:
"#f9f9f9"
}
}
>
{
message
?.
title
?
<
AlertTitle
>
{
message
?.
title
}
</
AlertTitle
>
:
null
}
{
message
?.
content
}
</
Alert
>
</
Snackbar
>
<
Outlet
/>
</
ThemeProvider
>
<
Alert
severity=
{
message
?.
type
}
onClose=
{
handleClose
}
{
...
message
.
alert
}
sx=
{
{
color
:
"#f9f9f9"
}
}
>
{
message
?.
title
?
<
AlertTitle
>
{
message
?.
title
}
</
AlertTitle
>
:
null
}
{
message
?.
content
}
</
Alert
>
</
Snackbar
>
<
Outlet
/>
</
ThemeProvider
>
</
ConfigProvider
>
);
}
...
...
src/pages/bustrain/index.jsx
View file @
3c4aef06
...
...
@@ -419,7 +419,7 @@ function Lessons() {
color=
{
"default"
}
/>
}
label=
"已
关闭
"
label=
"已
结束
"
value=
{
5
}
/>
</
FormGroup
>
...
...
src/pages/lessons/index.jsx
View file @
3c4aef06
...
...
@@ -14,6 +14,8 @@ import { Empty, Input, message } from "antd";
import
{
useMemo
,
useState
}
from
"react"
;
import
"./index.less"
;
function
Lessons
()
{
const
[
dialogprops
,
setdialogprops
]
=
useState
({
open
:
false
,
...
...
@@ -124,6 +126,15 @@ function Lessons() {
span
:
24
,
},
},
{
title
:
"课程时间"
,
dataIndex
:
"courseTime"
,
key
:
"courseTimeList"
,
valueType
:
"dateRange"
,
colProps
:
{
span
:
24
,
},
},
],
[]
);
...
...
@@ -306,7 +317,7 @@ function Lessons() {
color=
{
"default"
}
/>
}
label=
"已
关闭
"
label=
"已
结束
"
value=
{
3
}
/>
</
FormGroup
>
...
...
@@ -323,7 +334,6 @@ function Lessons() {
}
}
></
Input
>
<
PremButton
btn=
{
{
variant
:
"contained"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment