Commit 63259730 authored by 吴冠's avatar 吴冠

首页更改

parent a3fce102
<template> <template>
<div class="head-input flex-center"> <div class="head-input flex-center">
<div class=" content flex-between"> <div class=" content flex-between">
<div class=" images"> <div class=" images flex">
<img src="~/assets/css/logo.jpg" > <img src="~/assets/css/logo.jpg" >
</div>
<div class="head-input-title">捷安采</div> <div class="head-input-title">捷安采</div>
</div>
<div class="search flex-item"> <div class="search flex-item">
<div class="flex"> <div class="flex">
<el-input <el-input
...@@ -69,19 +69,20 @@ import Cookies from "js-cookie" ...@@ -69,19 +69,20 @@ import Cookies from "js-cookie"
<style> <style>
.images{ .images{
width:100px; width:200px;
height:20px; /* height:20px; */
margin-left:0px; /* margin-left:0px;
margin-top:-20px margin-top:-20px */
} }
.images>img{ .images>img{
width:40px; width:40px;
height:38px; height:38px;
margin-right:40%;
} }
.head-input{ .head-input{
height: 100px; height: 100px;
width:1200px;
margin:0 auto
} }
.search>.search-title{ .search>.search-title{
width:.74rem; width:.74rem;
...@@ -94,8 +95,8 @@ import Cookies from "js-cookie" ...@@ -94,8 +95,8 @@ import Cookies from "js-cookie"
width: 2.62rem; width: 2.62rem;
} }
.head-input-title{ .head-input-title{
margin-top: -5px; margin-top: -2px;
margin-left: -590px; /* 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; */
...@@ -105,6 +106,7 @@ import Cookies from "js-cookie" ...@@ -105,6 +106,7 @@ import Cookies from "js-cookie"
font-family: MicrosoftYaHei; font-family: MicrosoftYaHei;
color: #000000; color: #000000;
line-height: 37px; line-height: 37px;
margin-left:20px
} }
.t11{ .t11{
cursor: pointer; cursor: pointer;
......
...@@ -17,23 +17,23 @@ ...@@ -17,23 +17,23 @@
<div class="login-button t11" @click="Merchant" v-show="showDefault" style="color:white">商家入驻</div> <div class="login-button t11" @click="Merchant" v-show="showDefault" style="color:white">商家入驻</div>
<div class="login-button" v-show="!showDefault" @click="pushH">管理后台</div> <div class="login-button" v-show="!showDefault" @click="pushH">管理后台</div>
<div class="flex"> <div class="flex">
<span>还没有账号?</span> <span v-show="showDefault">还没有账号?</span>
<span class="font" @click="reg"> 我要注册</span> <span class="font" @click="reg" v-show="showDefault"> 我要注册</span>
</div> </div>
</div> </div>
</div> </div>
<div class="contentList message"> <div class=" 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 t12">{{item.head}}</div> <div class=" t12">{{item.head}}</div>
<div > <div >
<img style="border-top:2px solid #0486FE" :src="item.src" alt="" > <img style="border-top:2px solid #0486FE" :src="item.src" alt="" >
<div style="margin-top:30px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{''+item.title}}</div> <div style="margin-top:30px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{''+item.title}}</div>
</div> </div>
</div> </div>
</div> </div>
<div class="contentList flex-between"> <div class="message flex-between">
<div class="dynamic-item"> <div class="dynamic-item">
<div class="flex-between"> <div class="flex-between col">
<div class="t3 " @click="latformDynamics">平台动态</div> <div class="t3 " @click="latformDynamics">平台动态</div>
<div class="more t1 list-con" @click="latformDynamics">更多></div> <div class="more t1 list-con" @click="latformDynamics">更多></div>
</div> </div>
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
</ul> </ul>
</div> </div>
<div class="dynamic-item"> <div class="dynamic-item">
<div class="flex-between"> <div class="flex-between col">
<div class="t3" @click="lawsRegulations">法律法规</div> <div class="t3" @click="lawsRegulations">法律法规</div>
<div class="more t1 list-con" @click="lawsRegulations">更多></div> <div class="more t1 list-con" @click="lawsRegulations">更多></div>
</div> </div>
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
</ul> </ul>
</div> </div>
<div class="dynamic-item"> <div class="dynamic-item">
<div class="flex-between"> <div class="flex-between col">
<div class="t3" @click="newsInfo">新闻资讯</div> <div class="t3" @click="newsInfo">新闻资讯</div>
<div class="more t1 list-con" @click="newsInfo">更多></div> <div class="more t1 list-con" @click="newsInfo">更多></div>
</div> </div>
...@@ -313,8 +313,10 @@ import Cookies from "js-cookie" ...@@ -313,8 +313,10 @@ import Cookies from "js-cookie"
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
position: absolute; position: absolute;
left:70%; left:1040px;
top:30%; top:214px;
/* left:70%;
top:30%; */
background: #FFFFFF; background: #FFFFFF;
z-index:9999 z-index:9999
} }
...@@ -357,7 +359,9 @@ import Cookies from "js-cookie" ...@@ -357,7 +359,9 @@ import Cookies from "js-cookie"
} }
.message { .message {
margin-top: 0.3rem margin-top: 0.3rem;
width:12rem;
margin:0 auto
} }
.message-item { .message-item {
...@@ -365,13 +369,14 @@ import Cookies from "js-cookie" ...@@ -365,13 +369,14 @@ import Cookies from "js-cookie"
} }
.message-item>div>img { .message-item>div>img {
width:/* 8.80rem; */1200px; width:/* 8.80rem; */12rem;
height: /* 5.40rem; */520px height: /* 5.40rem; */5.2rem;
/* margin:0 auto */
} }
.message-item>div>div { .message-item>div>div {
width: 1200px; width: 12rem;
height: 76px; height: .76rem;
border: 1px solid rgba(220, 220, 220, 1); border: 1px solid rgba(220, 220, 220, 1);
} }
...@@ -380,12 +385,16 @@ import Cookies from "js-cookie" ...@@ -380,12 +385,16 @@ import Cookies from "js-cookie"
height: 2.78rem; height: 2.78rem;
border: 1px solid rgba(151, 152, 153, 1); border: 1px solid rgba(151, 152, 153, 1);
box-sizing: border-box; box-sizing: border-box;
padding: 0.2rem; /* padding: 0.2rem; */
margin-top:40px
}
.dynamic-item .col{
background: linear-gradient(180deg, #FFFFFF 0%, #DFDFDF 100%);
} }
.dynamic-item>div { .dynamic-item>div {
padding-bottom: 0.12rem; padding-bottom: 0.12rem;
border-bottom: 1px solid rgba(228, 231, 237, 1); border-bottom: 1px solid rgba(228, 231, 237, 1);
padding:0.2rem
} }
.dynamic-item .more { .dynamic-item .more {
...@@ -394,6 +403,8 @@ import Cookies from "js-cookie" ...@@ -394,6 +403,8 @@ import Cookies from "js-cookie"
.dynamic-item>ul { .dynamic-item>ul {
margin-top: 0.12rem; margin-top: 0.12rem;
padding:0.2rem;
padding-top:0.05rem
} }
.dynamic-item>ul>li { .dynamic-item>ul>li {
...@@ -463,7 +474,7 @@ import Cookies from "js-cookie" ...@@ -463,7 +474,7 @@ import Cookies from "js-cookie"
color:#0B89FE color:#0B89FE
} }
.contentList{ .contentList{
width:1200px; width:100%;
margin:0 auto margin:0 auto
} }
.t12{ .t12{
......
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