把.env.development和.env.production的配置服务路径单独拿出,做成静态资源
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
<span id="p-company">HEZHONGWEILAI</span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<span class="top-bg"><img src="~/@assets/mobileBg.png" alt=""></span>
|
||||
<span class="btm-bg"><img src="~/@assets/mobileHome.png" alt=""></span>
|
||||
</div>
|
||||
<div v-if="mobile" class="mobile">
|
||||
<div class="logo">
|
||||
<img src="~@/assets/logo.png" alt="">
|
||||
@@ -145,6 +149,26 @@
|
||||
}
|
||||
.container-mobile{
|
||||
/*移动端的logo样式*/
|
||||
.top-bg{
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top: -3.5rem;
|
||||
img{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.btm-bg{
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
max-width: 75%;
|
||||
overflow: hidden;
|
||||
img{
|
||||
margin-left: -5rem;
|
||||
max-width: 100%;
|
||||
margin-bottom: -3rem;
|
||||
}
|
||||
}
|
||||
background: #f0f2f5;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@@ -153,27 +177,30 @@
|
||||
top: 6rem;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: flex-end;
|
||||
align-items: center;
|
||||
.logo{
|
||||
max-width: 4rem;
|
||||
img{
|
||||
max-width: 100%;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
}
|
||||
.company{
|
||||
margin-left: 0.8rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
span:first-child{
|
||||
color: #000;
|
||||
font-size: 1.6rem;
|
||||
font-weight: bold;
|
||||
letter-spacing: 0.1rem;
|
||||
letter-spacing: 0.3rem;
|
||||
}
|
||||
span:last-child{
|
||||
color: #000;
|
||||
font-size: 0.8rem;
|
||||
line-height: 0.8rem;
|
||||
line-height: 1.2rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user