Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
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
程默
mayi-mp-shop
Commits
b5a09725
Commit
b5a09725
authored
Apr 01, 2024
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
背景优化
parent
9073a2e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/components/ThemeDataPlant.vue
+5
-4
No files found.
src/components/ThemeDataPlant.vue
View file @
b5a09725
...
...
@@ -8,7 +8,7 @@
'background-position': pageSettingData.backgroundFit == 'equiratioFill' ? 'center' : '',
'background-attachment': pageSettingData.backgroundImageLock ? 'fixed' : 'local',
}">
<div
class=
"gradient"
v-if=
"pageSettingData.bgFullScreen"
></div>
<div
class=
"gradient"
v-if=
"pageSettingData.bgFullScreen"
></div>
</div>
</
template
>
...
...
@@ -60,7 +60,6 @@ export default {
},
methods
:
{
setHomeBgImg
({
backgroundImage
,
imgRgb
})
{
console
.
log
(
'imgRgb->'
,
imgRgb
)
// this.bacImage = backgroundImage;
if
(
this
.
pageCode
!=
1
)
return
;
this
.
bacImage
=
""
;
...
...
@@ -78,14 +77,16 @@ export default {
position
:
absolute
;
top
:
0
;
z-index
:
-1
;
.gradient{
.gradient
{
position
:
fixed
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
background
:
linear-gradient
(
rgba
(
0
,
0
,
0
,
0
)
10%
,
rgb
(
255
,
255
,
255
)
4
0%
);
background
:
linear-gradient
(
rgba
(
0
,
0
,
0
,
0
)
20%
,
rgba
(
255
,
255
,
255
,
1
)
8
0%
);
}
transition
:
background-color
.5s
;
}
...
...
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