Commit 897176fb authored by 吴冠's avatar 吴冠

main

parent 63259730
...@@ -49,9 +49,9 @@ export default { ...@@ -49,9 +49,9 @@ export default {
.home { .home {
width: 100%; width: 100%;
min-width: 810px; min-width: 8.1rem;
height: 100%; height: 100%;
min-height: 600px; min-height: 6rem;
} }
.imagesList{ .imagesList{
position: fixed; position: fixed;
......
...@@ -2,13 +2,14 @@ ...@@ -2,13 +2,14 @@
<div class="homepage" > <div class="homepage" >
<div class="content flex"> <div class="content flex">
<div class="banner"> <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"> <el-carousel-item v-for="(item,index) in picArr" :key="index">
<img :src="item.picUrl" alt="" class="src-img"> <img :src="item.picUrl" alt="" class="src-img">
</el-carousel-item> </el-carousel-item>
</el-carousel> </el-carousel> -->
<img src="~/assets/images/back.png" style="height:4.21rem">
</div> </div>
<div class="login" @mouseover="changeOver" > <div class="login" >
<div class="author" > <div class="author" >
<img src="~/assets/css/user.png"> <img src="~/assets/css/user.png">
</div> </div>
...@@ -221,9 +222,9 @@ import Cookies from "js-cookie" ...@@ -221,9 +222,9 @@ import Cookies from "js-cookie"
this.picArr = data this.picArr = data
}, },
//移入显示退出按钮 //移入显示退出按钮
changeOver(){ /* changeOver(){
this.isshow = true this.isshow = true
}, }, */
//添加退出按钮 清空token //添加退出按钮 清空token
checkout(){ checkout(){
Cookies.remove("token") Cookies.remove("token")
...@@ -286,7 +287,7 @@ import Cookies from "js-cookie" ...@@ -286,7 +287,7 @@ import Cookies from "js-cookie"
} }
.banner { .banner {
width:100%; width:100%;
height: 421px; height: 4.21rem;
} }
.el-carousel__item h3 { .el-carousel__item h3 {
...@@ -306,9 +307,10 @@ import Cookies from "js-cookie" ...@@ -306,9 +307,10 @@ import Cookies from "js-cookie"
} }
.login { .login {
width: 260px; width: 2.6rem;
height: 328px; height: 3.28rem;
border: .01rem solid rgba(220, 220, 220, 1); border: .01rem solid rgba(220, 220, 220, 1);
padding-bottom: .2rem;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
...@@ -345,7 +347,7 @@ import Cookies from "js-cookie" ...@@ -345,7 +347,7 @@ import Cookies from "js-cookie"
} }
.login>.author{ .login>.author{
margin-top: 0.6rem; margin-top: 0.2rem;
width: .60rem; width: .60rem;
height: .60rem; height: .60rem;
border-radius: 50%; border-radius: 50%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment