You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

60 lines
1.3 KiB

<template>
<div class="row">
<div class="back" v-if="$route.path !== '/index'" @click="() => $router.push('/')"></div>
<div class="bar">
<div class="icon"></div>
<div class="stick"></div>
<div class="placeholder">精确查询品牌/公共设施</div>
</div>
</div>
</template>
<script setup></script>
<style lang="scss" scoped>
.row {
position: fixed;
top: 260px;
left: 68px;
right: 68px;
height: 100px;
display: flex;
.back {
width: 130px;
height: 100px;
margin-right: 40px;
background: center / cover no-repeat url(./back.png);
box-shadow: 0px 15px 24px rgba(0, 0, 0, 0.05);
border-radius: 24px;
}
.bar {
flex: 1;
height: 100px;
background: #ffffff;
box-shadow: 0px 15px 24px rgba(0, 0, 0, 0.05);
border-radius: 24px;
display: flex;
padding-left: 40px;
align-items: center;
.icon {
width: 56px;
height: 56px;
background: center / cover no-repeat url(./icon.png);
}
.stick {
width: 4px;
height: 38px;
background: linear-gradient(180deg, #6c7ca6 0%, #879aca 100%);
margin: 0 32px;
}
.placeholder {
font-family: 'HarmonyOS Sans SC';
font-style: normal;
font-weight: 700;
font-size: 20px;
line-height: 23px;
color: rgba(0, 0, 0, 0.2);
}
}
}
</style>