Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-site
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
张冬
web-site
Commits
897176fb
Commit
897176fb
authored
Oct 20, 2020
by
吴冠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main
parent
63259730
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
11 deletions
+13
-11
back.png
assets/images/back.png
+0
-0
index.vue
pages/index.vue
+2
-2
index.vue
pages/index/index.vue
+11
-9
No files found.
assets/images/back.png
0 → 100644
View file @
897176fb
527 KB
pages/index.vue
View file @
897176fb
...
...
@@ -49,9 +49,9 @@ export default {
.home
{
width
:
100%
;
min-width
:
8
10px
;
min-width
:
8
.1rem
;
height
:
100%
;
min-height
:
6
00px
;
min-height
:
6
rem
;
}
.imagesList
{
position
:
fixed
;
...
...
pages/index/index.vue
View file @
897176fb
...
...
@@ -2,13 +2,14 @@
<div
class=
"homepage"
>
<div
class=
"content flex"
>
<div
class=
"banner"
>
<
el-carousel
trigger=
"click"
height=
"5.41rem"
width=
"10rem
"
class=
"car"
>
<
!--
<el-carousel
trigger=
"click"
height=
"4.21rem"
width=
"100%
"
class=
"car"
>
<el-carousel-item
v-for=
"(item,index) in picArr"
:key=
"index"
>
<img
:src=
"item.picUrl"
alt=
""
class=
"src-img"
>
</el-carousel-item>
</el-carousel>
</el-carousel>
-->
<img
src=
"~/assets/images/back.png"
style=
"height:4.21rem"
>
</div>
<div
class=
"login"
@
mouseover=
"changeOver"
>
<div
class=
"login"
>
<div
class=
"author"
>
<img
src=
"~/assets/css/user.png"
>
</div>
...
...
@@ -221,9 +222,9 @@ import Cookies from "js-cookie"
this
.
picArr
=
data
},
//移入显示退出按钮
changeOver
(){
/*
changeOver(){
this.isshow = true
},
},
*/
//添加退出按钮 清空token
checkout
(){
Cookies
.
remove
(
"token"
)
...
...
@@ -286,7 +287,7 @@ import Cookies from "js-cookie"
}
.banner
{
width
:
100%
;
height
:
4
21px
;
height
:
4
.21rem
;
}
.el-carousel__item
h3
{
...
...
@@ -306,9 +307,10 @@ import Cookies from "js-cookie"
}
.login
{
width
:
2
60px
;
height
:
3
28px
;
width
:
2
.6rem
;
height
:
3
.28rem
;
border
:
.01rem
solid
rgba
(
220
,
220
,
220
,
1
);
padding-bottom
:
.2rem
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
...
...
@@ -345,7 +347,7 @@ import Cookies from "js-cookie"
}
.login
>
.author
{
margin-top
:
0.
6
rem
;
margin-top
:
0.
2
rem
;
width
:
.60rem
;
height
:
.60rem
;
border-radius
:
50%
;
...
...
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