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
e0cfc003
Commit
e0cfc003
authored
Jan 15, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:处理分享图片不显示的问题
parent
8c7d3a25
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
4 deletions
+2
-4
src/bu-components/ShareLiveModal.jsx
+0
-1
src/modules/common/DateRangePicker.jsx
+1
-2
src/modules/course-manage/components/LiveCourseFilter.jsx
+1
-0
src/modules/course-manage/modal/ShareLiveModal.jsx
+0
-1
No files found.
src/bu-components/ShareLiveModal.jsx
View file @
e0cfc003
...
@@ -117,7 +117,6 @@ class ShareLiveModal extends React.Component {
...
@@ -117,7 +117,6 @@ class ShareLiveModal extends React.Component {
>
{
`【${courseName}】开课啦,快来学习!`
}
</
div
>
>
{
`【${courseName}】开课啦,快来学习!`
}
</
div
>
<
img
<
img
src=
{
coverImgSrc
}
src=
{
coverImgSrc
}
crossOrigin=
"*"
className=
"course-cover"
className=
"course-cover"
alt=
"course-cover"
alt=
"course-cover"
/>
/>
...
...
src/modules/common/DateRangePicker.jsx
View file @
e0cfc003
...
@@ -13,13 +13,12 @@ class DateRangePicker extends React.Component {
...
@@ -13,13 +13,12 @@ class DateRangePicker extends React.Component {
}
}
render
()
{
render
()
{
const
showTime
=
{
showTime
:
tru
e
}
const
showTime
=
{
showTime
:
fals
e
}
return
(
return
(
<
RangePicker
<
RangePicker
{
...
this
.
props
}
{
...
this
.
props
}
format=
{
this
.
props
.
format
||
'YYYY-MM-DD'
}
format=
{
this
.
props
.
format
||
'YYYY-MM-DD'
}
allowClear=
{
this
.
props
.
allowClear
}
allowClear=
{
this
.
props
.
allowClear
}
ranges=
{
this
.
props
.
ranges
||
{
'本月'
:
[
moment
().
startOf
(
'month'
),
moment
().
endOf
(
'month'
)],
'本周'
:
[
moment
().
startOf
(
'week'
),
moment
().
endOf
(
'week'
)],
'上月'
:
[
moment
().
subtract
(
1
,
'M'
).
startOf
(
'month'
),
moment
().
subtract
(
1
,
'M'
).
endOf
(
'month'
)],
'上周'
:
[
moment
().
subtract
(
1
,
'w'
).
startOf
(
'week'
),
moment
().
subtract
(
1
,
'w'
).
endOf
(
'week'
)]
}
}
onChange=
{
(
date
)
=>
{
onChange=
{
(
date
)
=>
{
if
(
!
_
.
isEmpty
(
date
))
{
if
(
!
_
.
isEmpty
(
date
))
{
date
[
0
]
=
date
[
0
].
startOf
(
'day'
)
date
[
0
]
=
date
[
0
].
startOf
(
'day'
)
...
...
src/modules/course-manage/components/LiveCourseFilter.jsx
View file @
e0cfc003
...
@@ -174,6 +174,7 @@ class LiveCourseFilter extends React.Component {
...
@@ -174,6 +174,7 @@ class LiveCourseFilter extends React.Component {
format=
{
"YYYY-MM-DD"
}
format=
{
"YYYY-MM-DD"
}
onChange=
{
(
dates
)
=>
{
this
.
handleChangeDates
(
dates
)
}
}
onChange=
{
(
dates
)
=>
{
this
.
handleChangeDates
(
dates
)
}
}
style=
{
{
width
:
"calc(100% - 70px)"
}
}
style=
{
{
width
:
"calc(100% - 70px)"
}
}
/>
/>
</
div
>
</
div
>
<
div
className=
"search-condition__item"
>
<
div
className=
"search-condition__item"
>
...
...
src/modules/course-manage/modal/ShareLiveModal.jsx
View file @
e0cfc003
...
@@ -121,7 +121,6 @@ class ShareLiveModal extends React.Component {
...
@@ -121,7 +121,6 @@ class ShareLiveModal extends React.Component {
<
img
<
img
src=
{
coverImgSrc
}
src=
{
coverImgSrc
}
crossOrigin=
"*"
className=
"course-cover"
className=
"course-cover"
/>
/>
...
...
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