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
e3fe5c47
Commit
e3fe5c47
authored
Mar 29, 2021
by
chenshu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:优化样式
parent
43cb1837
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
10 deletions
+11
-10
src/modules/course-manage/components/AddLiveBasic.jsx
+3
-3
src/modules/course-manage/components/GraphicsEditor.jsx
+0
-1
src/modules/course-manage/components/GraphicsEditor.less
+1
-1
src/modules/root/App.tsx
+5
-3
src/modules/store-manage/StoreH5DecorationTab.jsx
+1
-1
src/modules/store-manage/StoreWebDecorationTab.jsx
+1
-1
No files found.
src/modules/course-manage/components/AddLiveBasic.jsx
View file @
e3fe5c47
/*
* @Author: 吴文洁
* @Date: 2020-07-15 17:29:12
* @Last Modified by:
吴文洁
* @Last Modified time: 202
0-07-15 18:16:05
* @Last Modified by:
chenshu
* @Last Modified time: 202
1-03-29 16:19:49
* @Description: 新建/编辑直播课-基本信息
*/
...
...
@@ -241,7 +241,7 @@ class AddLiveBasic extends React.Component {
className=
{
`default-btn ${isDefaultCover ? 'disabled' : ''}`
}
onClick=
{
this
.
handleResetCoverUrl
}
>
使用默认图
</
span
>
<
div
className=
"tips"
>
建议尺寸1280*720
像素
,图片支持jpg、jpeg、png格式。
</
div
>
<
div
className=
"tips"
>
建议尺寸1280*720
px
,图片支持jpg、jpeg、png格式。
</
div
>
</
div
>
</
div
>
</
div
>
...
...
src/modules/course-manage/components/GraphicsEditor.jsx
View file @
e3fe5c47
...
...
@@ -156,7 +156,6 @@ class GraphicsEditor extends React.Component {
const
videoCount
=
((
html
||
''
).
match
(
/<iframe/g
)
||
[]).
length
;
const
imageCount
=
((
html
||
''
).
match
(
/<img/g
)
||
[]).
length
;
const
textLength
=
this
.
editorInt
.
txt
.
text
().
replace
(
/
\&
nbsp
\;
/ig
,
' '
).
length
+
videoCount
+
imageCount
;
console
.
log
(
html
,
777777
)
this
.
setState
({
textLength
},
()
=>
{
onChange
(
html
,
this
.
state
.
textLength
);
})
...
...
src/modules/course-manage/components/GraphicsEditor.less
View file @
e3fe5c47
...
...
@@ -23,12 +23,12 @@
background-color: #fff !important;
border: none !important;
border-bottom: 1px solid #E8E8E8 !important;
width: 700px;
}
.w-e-text-container {
border: none !important;
height: ~'calc(100% - 109px)' !important;
overflow: hidden;
}
.editor-tips {
...
...
src/modules/root/App.tsx
View file @
e3fe5c47
...
...
@@ -29,9 +29,11 @@ const App: React.FC = (props: any) => {
useEffect
(()
=>
{
getStoreAndUserInfo
();
// window.RCHistory.push({
// pathname: `/switch-route`,
// })
if
(
window
.
location
.
hash
===
"#/"
)
{
window
.
RCHistory
.
replace
({
pathname
:
'/home'
,
})
}
},
[])
async
function
getStoreAndUserInfo
()
{
...
...
src/modules/store-manage/StoreH5DecorationTab.jsx
View file @
e3fe5c47
...
...
@@ -377,7 +377,7 @@ class StoreH5Decoration extends React.Component {
<
div
className=
"banner-setting"
>
<
div
className=
"title"
>
banner设置
</
div
>
<
div
className=
"tip"
>
图片支持bmp、jpeg、jpg、png、gif格式,最大5M,最多可添加5张,拖动可排序。建议尺寸750x252
像素
。
图片支持bmp、jpeg、jpg、png、gif格式,最大5M,最多可添加5张,拖动可排序。建议尺寸750x252
px
。
</
div
>
</
div
>
<
Button
...
...
src/modules/store-manage/StoreWebDecorationTab.jsx
View file @
e3fe5c47
...
...
@@ -375,7 +375,7 @@ class StoreWebDecoration extends React.Component {
<
div
className=
"banner-setting"
>
<
div
className=
"title"
>
banner设置
</
div
>
<
div
className=
"tip"
>
图片支持bmp、jpeg、jpg、png、gif格式,最大5M,最多可添加5张,拖动可排序。建议尺寸1232*212
像素
。
图片支持bmp、jpeg、jpg、png、gif格式,最大5M,最多可添加5张,拖动可排序。建议尺寸1232*212
px
。
</
div
>
</
div
>
<
Button
...
...
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