Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qsh-wc
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
honghuiliu
qsh-wc
Commits
0d88d859
Commit
0d88d859
authored
Sep 16, 2022
by
mahui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
974559df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
site-detail.vue
pc/src/views/site-detail.vue
+4
-3
No files found.
pc/src/views/site-detail.vue
View file @
0d88d859
...
@@ -11,9 +11,9 @@
...
@@ -11,9 +11,9 @@
<div
class=
"detail-body"
>
<div
class=
"detail-body"
>
<div
class=
"body-one base"
v-if=
"tab=='base'"
>
<div
class=
"body-one base"
v-if=
"tab=='base'"
>
<div
class=
"poster"
>
<div
class=
"poster"
>
<
div
class=
"blur-mask"
v-if=
"showBanner"
:style=
"`background-image:url('$
{detail.poster[detail.index]}')`">
</div
>
<
!--
<div
class=
"blur-mask"
v-if=
"showBanner"
:style=
"`background-image:url('$
{detail.poster[detail.index]}')`">
</div>
--
>
<div
class=
"banner"
v-if=
"showBanner"
>
<div
class=
"banner"
v-if=
"showBanner"
>
<el-carousel
:interval=
"
5
000"
arrow=
"never"
style=
"height: 480px;"
<el-carousel
:interval=
"
3
000"
arrow=
"never"
style=
"height: 480px;"
@
change=
"(val)=>
{detail.index=val}">
@
change=
"(val)=>
{detail.index=val}">
<el-carousel-item
style=
"height: 480px;"
v-for=
"item in detail.poster"
:key=
"item"
>
<el-carousel-item
style=
"height: 480px;"
v-for=
"item in detail.poster"
:key=
"item"
>
<div
class=
"banner-bg"
:style=
"`background-image:url('$
{item}')`">
</div>
<div
class=
"banner-bg"
:style=
"`background-image:url('$
{item}')`">
</div>
...
@@ -727,13 +727,14 @@
...
@@ -727,13 +727,14 @@
overflow: hidden;
overflow: hidden;
.banner {
.banner {
width: 100%;
position: relative;
position: relative;
height: 480px;
height: 480px;
z-index: 3;
z-index: 3;
.banner-bg {
.banner-bg {
display: block;
display: block;
width: 1
140px
;
width: 1
00%
;
height: 100%;
height: 100%;
background-repeat: no-repeat;
background-repeat: no-repeat;
background-position: center;
background-position: center;
...
...
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