Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
FTT_Board
Project
Project
Details
Activity
Releases
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
Administrator
FTT_Board
Commits
b713e84e
Commit
b713e84e
authored
Dec 10, 2024
by
崔婷婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打包后替换背景图
parent
b596caca
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
8 deletions
+15
-8
webpack.base.conf.js
FTT.Board.VueUI/build/webpack.base.conf.js
+2
-1
ViewSC3.vue
FTT.Board.VueUI/src/views/board/workShopList/ViewSC3.vue
+13
-7
No files found.
FTT.Board.VueUI/build/webpack.base.conf.js
View file @
b713e84e
...
...
@@ -49,7 +49,8 @@ module.exports = {
loader
:
'url-loader'
,
options
:
{
limit
:
10000
,
name
:
utils
.
assetsPath
(
'img/[name].[hash:7].[ext]'
)
// name: utils.assetsPath('img/[name].[hash:7].[ext]')
name
:
utils
.
assetsPath
(
'img/[name].[ext]'
)
}
},
{
...
...
FTT.Board.VueUI/src/views/board/workShopList/ViewSC3.vue
View file @
b713e84e
...
...
@@ -2,10 +2,7 @@
<div
class=
"con"
>
<div
class=
"left"
>
<img
class=
"img"
src=
"./logo2.png"
/>
<ViewSCCom
:ID=
"FactoryWorkShopTeamID1"
style=
"margin-right: -1px"
></ViewSCCom>
<ViewSCCom
:ID=
"FactoryWorkShopTeamID1"
style=
"margin-right: -1px"
></ViewSCCom>
</div>
<div
class=
"right"
>
<ViewSCCom
:ID=
"FactoryWorkShopTeamID2"
></ViewSCCom>
...
...
@@ -27,10 +24,13 @@
import
qs
from
"qs"
;
import
Axios
from
"@/function/axios.js"
;
import
ViewSCCom
from
"./ViewSCCom3.vue"
;
import
{
backgroundColor
}
from
"echarts/lib/theme/dark"
;
export
default
{
components
:
{
ViewSCCom
},
data
()
{
return
{
imgUrl
:
require
(
"../../../../static/backgroundImg.jpg"
),
FactoryWorkShopTeamID1
:
""
,
FactoryWorkShopTeamID2
:
""
,
date
:
new
Date
(),
...
...
@@ -95,21 +95,27 @@ export default {
display
:
flex
;
justify-content
:
space-between
;
color
:
black
;
// background-image: url('./back.jpg');
background
:
url("./back.jpg")
no-repeat
center
0
;
background-image
:
url('../../../../static/backgroundImg.jpg')
;
// background: url(`${imgUrl}`) no-repeat center 0;
background-repeat
:
no-repeat
;
background-position
:
center
;
/* 缩放背景图 */
background-size
:
cover
;
.img
{
position
:
absolute
;
height
:
5vh
;
top
:
5px
;
}
.date
{
display
:
flex
;
align-items
:
center
;
.img1
{
height
:
5vh
;
}
position
:
absolute
;
top
:
calc
(
3vh
-
25px
);
font-size
:
20px
;
...
...
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