Browse Source

bottom

master
maochaoying 2 years ago
parent
commit
d384a470f5
  1. 2
      src/assets/scss/globalVar.scss
  2. 22
      src/components/Bottom.vue

2
src/assets/scss/globalVar.scss

@ -1,3 +1,3 @@
$bg-color: #1989fa; $bg-color: #1989fa;
$bottom-height: 38px;
$bottom-height: 31px;
$sub-header-height: 47px; $sub-header-height: 47px;

22
src/components/Bottom.vue

@ -1,5 +1,9 @@
<template> <template>
<div class="bottom_container">bottom</div>
<div class="bottom_container">
<div class="online">在线咨询</div>
<div class="phone">拨打电话</div>
<div class="online">添加微信</div>
</div>
</template> </template>
<script setup></script> <script setup></script>
@ -11,7 +15,21 @@
left: 0; left: 0;
right: 0; right: 0;
height: $bottom-height; height: $bottom-height;
background: #283fe7;
background: #ffa18e;
z-index: 999; z-index: 999;
display: flex;
align-items: center;
.online {
width: 132px;
height: 100%;
display: flex;
align-items: center;
padding: 9px 40px;
white-space: nowrap;
box-sizing: border-box;
}
.phone {
flex: 1;
}
} }
</style> </style>
Loading…
Cancel
Save