Commit a3fce102 authored by 吴冠's avatar 吴冠

官网更改

parent 75b016a5
...@@ -77,8 +77,7 @@ import Cookies from "js-cookie" ...@@ -77,8 +77,7 @@ import Cookies from "js-cookie"
.images>img{ .images>img{
width:40px; width:40px;
height:38px; height:38px;
/* margin-left:20px */ margin-right:40%;
margin-right:40px
} }
.head-input{ .head-input{
...@@ -96,7 +95,7 @@ import Cookies from "js-cookie" ...@@ -96,7 +95,7 @@ import Cookies from "js-cookie"
} }
.head-input-title{ .head-input-title{
margin-top: -5px; margin-top: -5px;
margin-left: -610px; margin-left: -590px;
/* font-size:.28rem; /* font-size:.28rem;
color:rgba(0,0,0,1); color:rgba(0,0,0,1);
font-weight: bold; */ font-weight: bold; */
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<Nav></Nav> <Nav></Nav>
<nuxt></nuxt> <nuxt></nuxt>
<Footer></Footer> <Footer></Footer>
<div class="imagesList" > <!-- <div class="imagesList" >
<img src="../assets/images/phone.png" alt="电话"> <img src="../assets/images/phone.png" alt="电话">
<img src="../assets/images/QQ.png" alt="QQ"> <img src="../assets/images/QQ.png" alt="QQ">
<img src="../assets/images/email.png" alt="邮箱"> <img src="../assets/images/email.png" alt="邮箱">
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<div> <div>
<img src="../assets/images/qrcode.png" alt="二维码" class="qrcode" v-if="isshowqrcode"> <img src="../assets/images/qrcode.png" alt="二维码" class="qrcode" v-if="isshowqrcode">
</div> </div>
</div> </div> -->
</div> </div>
</template> </template>
<script> <script>
...@@ -25,36 +25,37 @@ export default { ...@@ -25,36 +25,37 @@ export default {
name: "homePage", name: "homePage",
data() { data() {
return { return {
isshowqrcode:false /* isshowqrcode:false */
}; };
}, },
components: { components: {
Head, Head,
Nav, Nav,
Footer, Footer,
Homeinput
}, },
methods:{ /* methods:{
enter(){ enter(){
this.isshowqrcode = true this.isshowqrcode = true
}, },
leave(){ leave(){
this.isshowqrcode = false this.isshowqrcode = false
} }
} } */
}; };
</script> </script>
<style scoped> <style scoped>
.home { .home {
width: 99%; width: 100%;
min-width: 810px; min-width: 810px;
height: 100%; height: 100%;
min-height: 600px; min-height: 600px;
} }
.imagesList{ .imagesList{
position: fixed; position: fixed;
/* flex-direction: column; */ flex-direction: column;
width:30px; width:30px;
right:10px; right:10px;
top:35%; top:35%;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<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"> <el-carousel trigger="click" height="5.41rem" width="10rem" 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>
...@@ -10,25 +10,28 @@ ...@@ -10,25 +10,28 @@
</div> </div>
<div class="login" @mouseover="changeOver" > <div class="login" @mouseover="changeOver" >
<div class="author" > <div class="author" >
<img src="~/assets/css/7.png"> <img src="~/assets/css/user.png">
</div> </div>
<div class="login-title">{{userName}}</div> <div class="login-title">{{userName}}</div>
<div class="login-button" @click="loginuser" v-show="showDefault">用户登录</div> <div class="login-button t10" @click="loginuser" v-show="showDefault">用户登录</div>
<div class="login-button" @click="Merchant" v-show="showDefault">商家入驻</div> <div class="login-button t11" @click="Merchant" v-show="showDefault" style="color:white">商家入驻</div>
<!-- <div class="login-button" @click="checkout" v-show="!showDefault">退出</div> -->
<div class="login-button" v-show="!showDefault" @click="pushH">管理后台</div> <div class="login-button" v-show="!showDefault" @click="pushH">管理后台</div>
<div class="flex">
<span>还没有账号?</span>
<span class="font" @click="reg"> 我要注册</span>
</div>
</div> </div>
</div> </div>
<div class="content message"> <div class="contentList message">
<div v-for="(item,index) in messageList" :key="index" class="message-item"> <div v-for="(item,index) in messageList" :key="index" class="message-item">
<div class="t3" style="margin-bottom: 0.2rem;">{{item.head}}</div> <div class="t3 t12">{{item.head}}</div>
<div class="flex-between" > <div >
<img :src="item.src" alt="" > <img style="border-top:2px solid #0486FE" :src="item.src" alt="" >
<div>{{item.title}}</div> <div style="margin-top:30px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{''+item.title}}</div>
</div> </div>
</div> </div>
</div> </div>
<div class="content flex-between"> <div class="contentList flex-between">
<div class="dynamic-item"> <div class="dynamic-item">
<div class="flex-between"> <div class="flex-between">
<div class="t3 " @click="latformDynamics">平台动态</div> <div class="t3 " @click="latformDynamics">平台动态</div>
...@@ -118,6 +121,10 @@ import Cookies from "js-cookie" ...@@ -118,6 +121,10 @@ import Cookies from "js-cookie"
} }
}, },
methods:{ methods:{
//注册
reg(){
this.$router.push("/login/examine")
},
//新闻 //新闻
linkTo(cateId){ linkTo(cateId){
Cookies.set("detailsType",1) Cookies.set("detailsType",1)
...@@ -278,8 +285,8 @@ import Cookies from "js-cookie" ...@@ -278,8 +285,8 @@ import Cookies from "js-cookie"
cursor: pointer; cursor: pointer;
} }
.banner { .banner {
width: 9.16rem; width:100%;
height: 5.41rem; height: 421px;
} }
.el-carousel__item h3 { .el-carousel__item h3 {
...@@ -299,17 +306,22 @@ import Cookies from "js-cookie" ...@@ -299,17 +306,22 @@ import Cookies from "js-cookie"
} }
.login { .login {
width: 2.84rem; width: 260px;
height: 5.41rem; height: 328px;
border: .01rem solid rgba(220, 220, 220, 1); border: .01rem solid rgba(220, 220, 220, 1);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
position: absolute;
left:70%;
top:30%;
background: #FFFFFF;
z-index:9999
} }
.login>.login-button { .login>.login-button {
width: 1.05rem; width:191px;
height: .36rem; height: 34px;
line-height: .36rem; line-height: .36rem;
text-align: center; text-align: center;
background: rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 1);
...@@ -353,15 +365,14 @@ import Cookies from "js-cookie" ...@@ -353,15 +365,14 @@ import Cookies from "js-cookie"
} }
.message-item>div>img { .message-item>div>img {
width: 8.80rem; width:/* 8.80rem; */1200px;
height: 5.40rem; height: /* 5.40rem; */520px
} }
.message-item>div>div { .message-item>div>div {
width: 2.84rem; width: 1200px;
height: 5.40rem; height: 76px;
border: 1px solid rgba(220, 220, 220, 1); border: 1px solid rgba(220, 220, 220, 1);
padding: .3rem .3rem 0 .3rem
} }
.dynamic-item { .dynamic-item {
...@@ -425,4 +436,45 @@ import Cookies from "js-cookie" ...@@ -425,4 +436,45 @@ import Cookies from "js-cookie"
width:68px; width:68px;
height:16px height:16px
} }
.homepage{
width:100%;
}
.content{
width:100%;
}
.font{
color:#0B89FE;
cursor:pointer
}
.login .t10{
width: 191px;
height: 34px;
background: #0B89FE;
border-radius: 3px;
border: 1px solid #0486FE;
color:white
}
.login .t11{
width: 191px;
height: 34px;
background: #0B89FE;;
border-radius: 3px;
opacity: 0.3;
color:#0B89FE
}
.contentList{
width:1200px;
margin:0 auto
}
.t12{
padding-top:50px;
margin-bottom: 20px;
width: 111px;
height: 24px;
font-size: 18px;
font-family: MicrosoftYaHei;
color: #0486FE;
line-height: 24px;
}
</style> </style>
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