罗世杰:feat:搜索框定位文本

This commit is contained in:
luojie
2023-10-30 10:30:07 +08:00
parent 23b65d18f2
commit 50a12d9ccb
2 changed files with 114 additions and 46 deletions

View File

@@ -1,5 +1,6 @@
<template>
<home-header></home-header>
</template>
<script>
@@ -28,51 +29,6 @@
</script>
<style lang="scss">
// 搜索区域样式
.search_box {
background: #000;
position: relative;
.search_box_border {
width: 84.6%;
height: 25px;
z-index: 1;
position: absolute;
left: 50%;
transform: translate(-50%, 0%);
border-radius: 10px;
padding-top: 3px !important;
margin-top: 8px;
background-color: #fff;
.u-border{
border: none;
}
// .u
.u-input__content {
background-color: #fff;
border-radius: 1;
height: 10px;
.u-input__content__field-wrapper__field {
height: 10px !important;
font-size: 10px !important;
}
}
}
.header-bgimg {
width: 100vw;
// z-index: 0;
}
}
// 轮播图样式
.swiper {
.u-swiper {
border-radius:0 !important;
}
.u-swiper__wrapper__item__wrapper__image{
border-radius:0 !important;
}
}
</style>