Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
0b9f309b
Commit
0b9f309b
authored
Jul 30, 2021
by
maolipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:添加直播课页面调整
parent
9e05ffc4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
11 deletions
+7
-11
src/modules/course-manage/components/AddLiveBasic.jsx
+6
-5
src/modules/course-manage/components/AddLiveBasic.less
+1
-3
src/modules/course-manage/components/LiveModeSelect.tsx
+0
-3
No files found.
src/modules/course-manage/components/AddLiveBasic.jsx
View file @
0b9f309b
...
...
@@ -137,6 +137,12 @@ class AddLiveBasic extends React.Component {
<
span
className=
'label'
>
封面图:
</
span
>
<
div
className=
'course-cover__wrap'
>
<
div
className=
'img-content'
>
{
isDefaultCover
&&
<
span
className=
'tag'
>
默认图
</
span
>
}
<
img
src=
{
coverUrl
}
/>
</
div
>
</
div
>
<
div
className=
'opt-btns'
>
<
Button
onClick=
{
()
=>
{
...
...
@@ -151,11 +157,6 @@ class AddLiveBasic extends React.Component {
</
span
>
<
div
className=
'tips'
>
建议尺寸1280*720px或16:9。封面图最大5M,支持jpg、jpeg和png。
</
div
>
</
div
>
<
div
className=
'img-content'
>
{
isDefaultCover
&&
<
span
className=
'tag'
>
默认图
</
span
>
}
<
img
src=
{
coverUrl
}
/>
</
div
>
</
div
>
</
div
>
<
div
className=
'course-catalog'
>
<
span
className=
'label'
>
...
...
src/modules/course-manage/components/AddLiveBasic.less
View file @
0b9f309b
...
...
@@ -16,7 +16,6 @@
position: relative;
.img-content {
margin-top: 8px;
margin-right: 20px;
width: 299px;
height: 169px;
...
...
@@ -41,7 +40,7 @@
left: 8px;
}
}
}
.opt-btns {
.default-btn {
margin-left: 14px;
...
...
@@ -64,7 +63,6 @@
}
}
}
}
.course-catalog {
margin: 20px 0 0 14px;
}
...
...
src/modules/course-manage/components/LiveModeSelect.tsx
View file @
0b9f309b
import
React
,
{
useState
}
from
"react"
;
import
Portal
from
"rc-util/lib/Portal"
;
import
"./LiveModeSelect.less"
import
{
createPortal
}
from
"react-dom"
;
...
...
@@ -11,8 +10,6 @@ interface LiveModeSelectProps {
export
default
function
LiveModeSelect
(
props
:
LiveModeSelectProps
)
{
const
[
isShow
,
setIsShow
]
=
useState
(
props
.
isShow
)
const
handleSelect0
=
(
e
:
React
.
MouseEvent
<
HTMLDivElement
>
)
=>
{
const
{
onSelected
}
=
props
onSelected
(
0
)
...
...
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