Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
biz.qingxiao.com
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxuelai
biz.qingxiao.com
Commits
f7334b2f
Commit
f7334b2f
authored
Jan 08, 2020
by
baixian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
df19c4b5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ThemeEditor.js
src/pages/newtheme/ThemeEditor.js
+1
-1
BannerEditor.js
src/pages/officialweb/pagecomponent/BannerEditor.js
+1
-1
OrgdescEditor.js
src/pages/officialweb/pagecomponent/OrgdescEditor.js
+1
-1
No files found.
src/pages/newtheme/ThemeEditor.js
View file @
f7334b2f
...
...
@@ -105,7 +105,7 @@ class ThemeEditor extends React.Component {
<
div
className
=
{
pageStyle
.
uploadflex
}
>
<
div
className
=
{
pageStyle
.
uploadimg
}
onClick
=
{
editorAddText
}
><
Icon
style
=
{{
marginRight
:
10
}}
type
=
"font-size"
/>
添加文字
<
/div
>
<
div
className
=
{
pageStyle
.
uploadimg
}
><
input
type
=
"file"
id
=
"uploadImg"
className
=
{
pageStyle
.
fileuploadinput
}
onChange
=
{
editorUploadImg
}
accept
=
"image/*"
/><
Icon
style
=
{{
marginRight
:
10
}}
type
=
"picture"
/>
添加图片
<
/div
>
<
div
className
=
{
pageStyle
.
uploadimg
}
><
input
type
=
"file"
id
=
"uploadVideo"
className
=
{
pageStyle
.
fileuploadinput
}
onChange
=
{
editorUploadAudio
}
accept
=
"video/*"
/><
Icon
style
=
{{
marginRight
:
10
}}
type
=
"video-camera"
/>
添加视频
<
/div
>
<
div
className
=
{
pageStyle
.
uploadimg
}
><
input
type
=
"file"
id
=
"uploadVideo"
className
=
{
pageStyle
.
fileuploadinput
}
onChange
=
{
editorUploadAudio
}
accept
=
"video/
mp4,video/
*"
/><
Icon
style
=
{{
marginRight
:
10
}}
type
=
"video-camera"
/>
添加视频
<
/div
>
<
/div
>
<
Modal
visible
=
{
previewVisible
}
footer
=
{
null
}
onCancel
=
{
this
.
handleCancel
}
>
<
img
alt
=
"图片"
style
=
{{
width
:
'100%'
}}
src
=
{
imagify
(
previewImage
)}
/
>
...
...
src/pages/officialweb/pagecomponent/BannerEditor.js
View file @
f7334b2f
...
...
@@ -175,7 +175,7 @@ class BannerEditor extends React.Component {
}
{
bannerVideo
.
length
==
0
&&
<
div
className
=
{
PageStyle
.
fileuploadbox
}
>
<
input
type
=
"file"
id
=
"uploadinput"
className
=
{
PageStyle
.
fileuploadinput
}
onChange
=
{(
e
)
=>
{
this
.
uploadBannerVideo
(
e
);
}}
accept
=
"video/*"
/>
<
input
type
=
"file"
id
=
"uploadinput"
className
=
{
PageStyle
.
fileuploadinput
}
onChange
=
{(
e
)
=>
{
this
.
uploadBannerVideo
(
e
);
}}
accept
=
"video/
mp4,video/
*"
/>
<
div
className
=
{
PageStyle
.
fileuploadlayer
}
>
<
div
className
=
{
PageStyle
.
uploadtext
}
>
点击上传
<
/div
>
<
/div
>
...
...
src/pages/officialweb/pagecomponent/OrgdescEditor.js
View file @
f7334b2f
...
...
@@ -197,7 +197,7 @@ class OrgdescEditorForm extends React.Component {
}
{
ele
.
content
.
length
==
0
&&
<
div
className
=
{
PageStyle
.
fileuploadbox
}
>
<
input
type
=
"file"
id
=
"uploadinput"
className
=
{
PageStyle
.
fileuploadinput
}
onChange
=
{(
e
)
=>
{
this
.
uploadVideo
(
e
,
index
,
ele
.
type
);
}}
accept
=
"video/*"
/>
<
input
type
=
"file"
id
=
"uploadinput"
className
=
{
PageStyle
.
fileuploadinput
}
onChange
=
{(
e
)
=>
{
this
.
uploadVideo
(
e
,
index
,
ele
.
type
);
}}
accept
=
"video/
mp4,video/
*"
/>
<
div
className
=
{
PageStyle
.
fileuploadlayer
}
>
<
div
className
=
{
PageStyle
.
uploadtext
}
>
点击上传
<
/div
>
<
/div
>
...
...
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