Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vue-ssr
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
lixy
vue-ssr
Commits
7361a3dc
Commit
7361a3dc
authored
Sep 04, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页banner
parent
8c690b8c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
banner.vue
components/banner.vue
+17
-17
No files found.
components/banner.vue
View file @
7361a3dc
...
...
@@ -3,7 +3,7 @@
<div
class=
"box"
>
<ul>
<li
v-for=
"(item, index) in list"
:key=
"item.id"
:class=
"index === current ? 'active' : ''"
@
click=
"bannerClick(index, item)"
>
<img
:src=
"item.cover"
style=
"width:100%;height:
100%
;min-height: 350px;"
:alt=
"item.title"
/>
<img
:src=
"item.cover"
style=
"width:100%;height:
560px
;min-height: 350px;"
:alt=
"item.title"
/>
</li>
</ul>
<div
class=
"status"
>
...
...
@@ -152,27 +152,27 @@
display
:
flex
;
justify-content
:
center
;
}
@media
screen
and
(
max-width
:
1366px
){
.box
{
position
:
relative
;
height
:
380px
;
min-height
:
350px
;
}
}
@media
screen
and
(
min-width
:
1366px
)
and
(
max-width
:
1920px
){
.box
{
position
:
relative
;
height
:
420px
;
min-height
:
350px
;
}
}
@media
screen
and
(
min-width
:
1920px
){
/*@media screen and (max-width:1366px){*/
/*.box{*/
/*position:relative;*/
/*height:380px;*/
/*min-height: 350px;*/
/*}*/
/*}*/
/*@media screen and (min-width:1366px) and (max-width:1920px){*/
/*.box{*/
/*position:relative;*/
/*height:420px;*/
/*min-height: 350px;*/
/*}*/
/*}*/
/*@media screen and (min-width:1920px){*/
.box
{
position
:
relative
;
height
:
560px
;
min-height
:
350px
;
}
}
/*}*/
span
{
display
:
block
;
...
...
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