列表联调

This commit is contained in:
李瑞
2025-09-07 18:54:36 +08:00
parent 2d0d728969
commit 6feb7057af
28 changed files with 1225 additions and 740 deletions

View File

@@ -0,0 +1,144 @@
.listNavWrapper {
position: relative;
}
.listNavContainer {
.listNavLine {
width: 1px;
height: 25px;
background-color: #0000000f;
}
.listNavLogo {
width: 60px;
height: 34px;
}
.listNavChange {
width: 12px;
height: 12px;
}
.listNavContentWrapper {
padding-left: 17px;
display: flex;
align-items: center;
gap: 8px;
}
.listNavCityWrapper {
line-height: 20px;
}
.listNavCity {
font-weight: 600;
font-size: 13px;
line-height: 20px;
}
.infoWrapper {
line-height: 12px;
}
.listNavInfoWrapper {
font-weight: 400;
font-size: 10px;
line-height: 12px;
color: #3c3c4399;
}
}
.inputCustomerNavbarContainer {
padding-left: 17px;
display: flex;
gap: 8px;
.logo {
width: 28px;
height: 16px;
}
.icon16 {
width: 16px;
height: 16px;
}
.navContent {
display: flex;
align-items: center;
gap: 4px;
width: 65%;
height: max-content;
// padding-top: 5px;
}
.searchContainer {
width: 100%;
display: flex;
align-items: center;
gap: 5.85px;
padding: 7.8px;
height: 30px;
box-sizing: border-box;
border-radius: 30px;
border: 0.488px solid rgba(0, 0, 0, 0.06);
box-shadow: 0 3.902px 46.829px 0 rgba(0, 0, 0, 0.08);
height: 30px;
box-sizing: border-box;
font-size: 13.659px;
font-style: normal;
font-weight: 400;
line-height: 17.561px;
flex: 1;
.nut-input {
padding: 0;
}
}
}
.inputCustomerNavbarShowInput {
padding-left: 10px;
.logo {
width: 32px;
height: 32px;
}
}
.toggleElement {
/* 绝对定位使两个元素重叠 */
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
/* 过渡动画设置,实现平滑切换 */
transition: opacity 0.5s ease, transform 0.5s ease;
}
/* 第一个元素样式 */
.firstElement {
// background-color: #4a90e2;
}
/* 第二个元素样式 */
.secondElement {
// background-color: #5cb85c;
/* 初始状态:透明且稍微偏移 */
opacity: 0;
// transform: translateY(20px);
}
/* 隐藏状态 */
.hidden {
opacity: 0;
transform: translateY(20px);
// pointer-events: none; /* 隐藏时不响应鼠标事件 */
}
/* 可见状态 */
.visible {
opacity: 1;
transform: translateY(0);
}