211 lines
4.3 KiB
Plaintext
211 lines
4.3 KiB
Plaintext
.search-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
background: #ffffff;
|
|
position: relative;
|
|
}
|
|
/* 自定义导航栏 */
|
|
.custom-navbar {
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
z-index: 1000;
|
|
}
|
|
/* 顶部区域 */
|
|
.page-top {
|
|
flex-shrink: 0;
|
|
top: calc(88rpx + 25px);
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 999;
|
|
background: #fff;
|
|
padding-bottom: 0;
|
|
width: 100%;
|
|
}
|
|
/* 筛选容器 */
|
|
.filter-container {
|
|
background: #fff;
|
|
}
|
|
.tabList {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 128rpx;
|
|
color: #333333;
|
|
padding-bottom: 24rpx;
|
|
background: #fff;
|
|
}
|
|
.tabList .tabItem {
|
|
padding: 30rpx 25rpx 12rpx 25rpx;
|
|
font-weight: 500;
|
|
font-size: 30rpx;
|
|
color: #333333;
|
|
line-height: 42rpx;
|
|
text-align: left;
|
|
font-style: normal;
|
|
}
|
|
.tabList .tabItem_active {
|
|
font-weight: 500;
|
|
font-size: 30rpx;
|
|
color: #E8101E;
|
|
line-height: 42rpx;
|
|
text-align: left;
|
|
font-style: normal;
|
|
position: relative;
|
|
}
|
|
.tabList .tabItem_active::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 0rpx;
|
|
left: 50%;
|
|
-webkit-transform: translateX(-50%);
|
|
transform: translateX(-50%);
|
|
width: 34rpx;
|
|
height: 6rpx;
|
|
background: linear-gradient(306deg, #e8101e 0%, #fc563b 100%);
|
|
border-radius: 2rpx;
|
|
}
|
|
/* 简单加载提示 */
|
|
.simple-loading {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
-webkit-transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
z-index: 1001;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(255, 255, 255, 0.95);
|
|
padding: 40rpx 60rpx;
|
|
border-radius: 20rpx;
|
|
box-shadow: 0 8rpx 30rpx rgba(0, 0, 0, 0.12);
|
|
min-width: 200rpx;
|
|
}
|
|
.loading-spinner {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
border: 4rpx solid #f3f3f3;
|
|
border-top: 4rpx solid #E8101E;
|
|
border-radius: 50%;
|
|
-webkit-animation: spin 1s linear infinite;
|
|
animation: spin 1s linear infinite;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
@-webkit-keyframes spin {
|
|
0% {
|
|
-webkit-transform: rotate(0deg);
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
-webkit-transform: rotate(360deg);
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
@keyframes spin {
|
|
0% {
|
|
-webkit-transform: rotate(0deg);
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
-webkit-transform: rotate(360deg);
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
.loading-text {
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
font-weight: 500;
|
|
}
|
|
/* 列表容器 */
|
|
.list-container {
|
|
flex: 1;
|
|
position: relative;
|
|
background: #f5f5f5;
|
|
overflow: hidden;
|
|
margin-top: 0;
|
|
padding: 0 !important;
|
|
transition: -webkit-filter 0.3s ease;
|
|
transition: filter 0.3s ease;
|
|
transition: filter 0.3s ease, -webkit-filter 0.3s ease;
|
|
}
|
|
.list-container.loading-blur {
|
|
-webkit-filter: blur(2px);
|
|
filter: blur(2px);
|
|
pointer-events: none;
|
|
-webkit-user-select: none;
|
|
user-select: none;
|
|
}
|
|
.list-container .common-list {
|
|
height: 100% !important;
|
|
background-color: #ffffff !important;
|
|
padding: 0 !important;
|
|
margin: -13rpx 0 !important;
|
|
min-height: unset !important;
|
|
}
|
|
.list-container .list-scroll {
|
|
height: 100% !important;
|
|
}
|
|
.list-container .list-scroll .scroll-view {
|
|
height: 100% !important;
|
|
}
|
|
.list-container .list-scroll .list-container {
|
|
padding: 1rpx 0 0 0;
|
|
min-height: 100%;
|
|
background: #f5f5f5;
|
|
border-radius: 30rpx 30rpx 0 0;
|
|
}
|
|
.list-container .list-scroll .list-item {
|
|
display: block;
|
|
padding: 0;
|
|
background-color: transparent;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
/* 卡片样式 */
|
|
.card-wrapper {
|
|
background: #ffffff;
|
|
border-radius: 20rpx;
|
|
padding: 24rpx;
|
|
margin: 20rpx 24rpx 0 24rpx;
|
|
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.05);
|
|
overflow: hidden;
|
|
box-sizing: border-box;
|
|
}
|
|
/* 卡片样式 */
|
|
.card-wrapper {
|
|
background: #ffffff;
|
|
border-radius: 20rpx;
|
|
padding: 24rpx;
|
|
margin: 20rpx 24rpx 0 24rpx;
|
|
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.05);
|
|
overflow: hidden;
|
|
box-sizing: border-box;
|
|
}
|
|
.card-wrapper-service {
|
|
background: #ffffff;
|
|
border-radius: 20rpx;
|
|
margin: 20rpx 24rpx;
|
|
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.05);
|
|
overflow: hidden;
|
|
box-sizing: border-box;
|
|
}
|
|
.shop_box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
/* 空数据状态 */
|
|
.list-container .no-data {
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #f5f5f5;
|
|
}
|
|
.scroll-locked {
|
|
position: fixed !important;
|
|
width: 100% !important;
|
|
}
|
|
|