Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
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
ReactWeb5
CivWeb
Commits
f4023914
Commit
f4023914
authored
Jan 22, 2021
by
邓晓峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复url-loader打包视频路径问题
parent
35391263
Pipeline
#22842
skipped with stages
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
1 deletion
+2
-1
civbase.zip
civbase.zip
+0
-0
webpack.base.babel.js
internals/webpack/webpack.base.babel.js
+1
-0
beforPage.mp4
src/assets/videos/beforPage.mp4
+0
-0
index.js
src/pages/user/login/index.js
+1
-1
No files found.
civbase.zip
deleted
100644 → 0
View file @
35391263
This diff was suppressed by a .gitattributes entry.
internals/webpack/webpack.base.babel.js
View file @
f4023914
...
@@ -160,6 +160,7 @@ module.exports = options => ({
...
@@ -160,6 +160,7 @@ module.exports = options => ({
loader
:
'url-loader'
,
loader
:
'url-loader'
,
options
:
{
options
:
{
limit
:
10000
,
limit
:
10000
,
outputPath
:
'/video/'
,
},
},
},
},
},
},
...
...
src/assets/videos/beforPage.mp4
0 → 100644
View file @
f4023914
This diff was suppressed by a .gitattributes entry.
src/pages/user/login/index.js
View file @
f4023914
...
@@ -522,7 +522,7 @@ const Login = forwardRef((props, _ref) => {
...
@@ -522,7 +522,7 @@ const Login = forwardRef((props, _ref) => {
return
(
return
(
<
div
className
=
{
styles
.
main
}
>
<
div
className
=
{
styles
.
main
}
>
<
video
<
video
src
=
"https://panda-water.cn/web4/assets/videos/beforPage.mp4"
src
=
{
require
(
"../../../assets/videos/beforPage.mp4"
)
}
className
=
{
styles
.
videLayer
}
className
=
{
styles
.
videLayer
}
autoPlay
=
"autoPlay"
autoPlay
=
"autoPlay"
muted
muted
...
...
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