flat: 优化,还是使用原生Tabbar,empty优化

This commit is contained in:
Apcallover
2025-11-30 14:08:16 +08:00
parent 63d0cdb5ad
commit 0dec1618fa
23 changed files with 229 additions and 105 deletions

19
App.vue
View File

@@ -124,11 +124,22 @@ function loginCallback(userInfo) {
/*每个页面公共css */ /*每个页面公共css */
@import '@/common/animation.css'; @import '@/common/animation.css';
@import '@/common/common.css'; @import '@/common/common.css';
/* 修改pages tabbar样式 H5有效 */
/* 修改pages tabbar样式 H5才有效 */
.uni-tabbar .uni-tabbar__item:nth-child(4) .uni-tabbar__bd .uni-tabbar__icon { .uni-tabbar .uni-tabbar__item:nth-child(4) .uni-tabbar__bd .uni-tabbar__icon {
height: 110rpx !important; width: 108rpx !important;
width: 122rpx !important; height: 98rpx !important;
margin-top: 6rpx; margin-top: 0rpx;
transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
transform-origin: center center;
/* transition: transform 0.15s ease-in-out; */
/* transform-origin: center center; */
}
.uni-tabbar .uni-tabbar__item:nth-child(4) .uni-tabbar__bd .uni-tabbar__icon:active {
transform: scale(0.8);
transition: transform 0.1s ease-out;
/* animation: jelly 0.5s; */
} }
.uni-tabbar-border { .uni-tabbar-border {

View File

@@ -191,3 +191,37 @@
-webkit-animation-name: tada; -webkit-animation-name: tada;
animation-name: tada animation-name: tada
} }
@keyframes jelly {
0% {
transform: scale(1);
}
30% {
transform: scale(1.25, 0.75);
}
/* 压扁 */
40% {
transform: scale(0.75, 1.25);
}
/* 拉长 */
50% {
transform: scale(1.15, 0.85);
}
/* 稍微压扁 */
65% {
transform: scale(0.95, 1.05);
}
/* 稍微拉长 */
75% {
transform: scale(1.05, 0.95);
}
100% {
transform: scale(1);
}
}

View File

@@ -469,3 +469,7 @@ html {
.grayscale { .grayscale {
filter: grayscale(100%) opacity(0.6); filter: grayscale(100%) opacity(0.6);
} }
.height-100 {
height: 100%;
}

View File

@@ -1,5 +1,9 @@
<template> <template>
<view class="empty" :style="{ background: bgcolor, marginTop: mrTop + 'rpx' }"> <view
class="empty"
:class="{ 'position-center': isPosition }"
:style="{ background: bgcolor, marginTop: mrTop + 'rpx' }"
>
<view class="ty_content" :style="{ paddingTop: pdTop + 'rpx' }"> <view class="ty_content" :style="{ paddingTop: pdTop + 'rpx' }">
<view class="content_top"> <view class="content_top">
<!-- <view class="content_top btn-shaky"> --> <!-- <view class="content_top btn-shaky"> -->
@@ -30,18 +34,23 @@ export default {
pdTop: { pdTop: {
type: String, type: String,
required: false, required: false,
default: '80', default: '0',
}, },
mrTop: { mrTop: {
type: String, type: String,
required: false, required: false,
default: '20', default: '0',
}, },
pictrue: { pictrue: {
type: String, type: String,
required: false, required: false,
default: '', default: '',
}, },
isPosition: {
type: Boolean,
required: false,
default: false,
},
}, },
methods: {}, methods: {},
}; };
@@ -52,19 +61,33 @@ image {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.position-center {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.empty { .empty {
width: 100%; width: 100%;
min-height: 100vh; height: 100%;
position: relative; flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
// min-height: 100vh;
// height: 400rpx;
// position: relative;
.ty_content { .ty_content {
position: absolute;
left: 50%;
top: 0;
transform: translate(-50%, 0);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
// position: absolute;
// left: 50%;
// top: 0;
// transform: translate(-50%, 0);
.content_top { .content_top {
width: 450rpx; width: 450rpx;
height: 322rpx; height: 322rpx;

View File

@@ -5,9 +5,9 @@
seeDate="applyTime" seeDate="applyTime"
:list="pageState.list" :list="pageState.list"
:longitude="longitudeVal" :longitude="longitudeVal"
:latitude="latitudeVal"> :latitude="latitudeVal"
</renderDeliveryRecord> ></renderDeliveryRecord>
<empty v-else pdTop="200"></empty> <empty v-else :is-position="true"></empty>
</view> </view>
</template> </template>
@@ -75,7 +75,8 @@ function getJobList(type = 'add') {
.collection-content{ .collection-content{
padding: 1rpx 28rpx 20rpx 28rpx; padding: 1rpx 28rpx 20rpx 28rpx;
background: #F4F4F4; background: #F4F4F4;
height: 100% height: 100%;
min-height: calc(100vh - var(--window-top) - var(--status-bar-height) - var(--window-bottom)); min-height: calc(100vh - var(--window-top) - var(--status-bar-height) - var(--window-bottom));
position: relative;
} }
</style> </style>

View File

@@ -62,7 +62,7 @@
:longitude="longitudeVal" :longitude="longitudeVal"
:latitude="latitudeVal" :latitude="latitudeVal"
></renderJobs> ></renderJobs>
<empty v-else pdTop="200"></empty> <empty v-else :is-position="true"></empty>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
@@ -184,10 +184,12 @@ function getThirdPartyJobsList(type = 'add') {
pageSize: pageState.pageSize, pageSize: pageState.pageSize,
}; };
$api.createRequest(`/app/internal/jobThirdPart?gsID=${companyId}&gsmc=${companyName}&zphID=${zphId}`, params).then((resData) => { $api.createRequest(`/app/internal/jobThirdPart?gsID=${companyId}&gsmc=${companyName}&zphID=${zphId}`, params).then(
const { rows, total } = resData; (resData) => {
handleJobsListResponse(type, rows, total, 'current'); const { rows, total } = resData;
}); handleJobsListResponse(type, rows, total, 'current');
}
);
} }
function getOriginalJobsList(type = 'add') { function getOriginalJobsList(type = 'add') {
@@ -322,6 +324,8 @@ image {
background: #F4F4F4; background: #F4F4F4;
.views{ .views{
padding: 28rpx padding: 28rpx
min-height: calc(100% - 56rpx)
position: relative
.Detail-title{ .Detail-title{
font-weight: 600; font-weight: 600;
font-size: 32rpx; font-size: 32rpx;

View File

@@ -24,15 +24,14 @@
</view> </view>
<scroll-view scroll-y class="main-scroll" @scrolltolower="getJobList('add')"> <scroll-view scroll-y class="main-scroll" @scrolltolower="getJobList('add')">
<view class="one-cards"> <view class="one-cards">
<renderJobViewRecord <renderJobViewRecord
:list="pageState.list" :list="pageState.list"
v-if="pageState.list.length" v-if="pageState.list.length"
:longitude="longitudeVal" :longitude="longitudeVal"
:latitude="latitudeVal" :latitude="latitudeVal"
></renderJobViewRecord> ></renderJobViewRecord>
<empty v-else pdTop="200"></empty> <empty v-else></empty>
<!-- <loadmore ref="loadmoreRef"></loadmore> --> <!-- <loadmore ref="loadmoreRef"></loadmore> -->
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
@@ -87,8 +86,6 @@ function toSelectDate() {
}); });
} }
function searchCollection(e) { function searchCollection(e) {
const value = e.detail.value; const value = e.detail.value;
pageState.search.jobTitle = value; pageState.search.jobTitle = value;
@@ -216,6 +213,6 @@ image {
.one-cards{ .one-cards{
padding: 0 20rpx 20rpx 20rpx; padding: 0 20rpx 20rpx 20rpx;
background: #f4f4f4 background: #f4f4f4
height: 100%
} }
</style> </style>

View File

@@ -27,7 +27,7 @@
:longitude="longitudeVal" :longitude="longitudeVal"
:latitude="latitudeVal" :latitude="latitudeVal"
></renderCompanys> ></renderCompanys>
<empty v-else pdTop="200"></empty> <empty v-else is-position></empty>
</view> </view>
</AppLayout> </AppLayout>
</template> </template>
@@ -151,6 +151,8 @@ image {
} }
.main-list{ .main-list{
background-color: #F4F4F4; background-color: #F4F4F4;
padding: 1rpx 28rpx 28rpx 28rpx padding: 1rpx 28rpx 28rpx 28rpx;
min-height: calc(100% - 29rpx);
position: relative
} }
</style> </style>

View File

@@ -26,7 +26,7 @@
:longitude="longitudeVal" :longitude="longitudeVal"
:latitude="latitudeVal" :latitude="latitudeVal"
></renderJobCollectionRecord> ></renderJobCollectionRecord>
<empty v-else pdTop="200"></empty> <empty v-else></empty>
</view> </view>
</scroll-view> </scroll-view>
</swiper-item> </swiper-item>
@@ -44,7 +44,7 @@
:longitude="longitudeVal" :longitude="longitudeVal"
:latitude="latitudeVal" :latitude="latitudeVal"
></renderCompanyCollectionRecord> ></renderCompanyCollectionRecord>
<empty v-else pdTop="200"></empty> <empty v-else></empty>
</view> </view>
</scroll-view> </scroll-view>
</swiper-item> </swiper-item>
@@ -262,6 +262,7 @@ function getCompanyList(type = 'add') {
.swiper{ .swiper{
height: 100% height: 100%
.mian{ .mian{
height: 100%
padding: 0 28rpx 28rpx 28rpx padding: 0 28rpx 28rpx 28rpx
} }
} }

View File

@@ -83,7 +83,7 @@
:longitude="longitudeVal" :longitude="longitudeVal"
:latitude="latitudeVal" :latitude="latitudeVal"
></renderCompanysOutData> ></renderCompanysOutData>
<empty v-else pdTop="200"></empty> <empty v-else is-position></empty>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
@@ -433,6 +433,8 @@ image {
background: #F4F4F4; background: #F4F4F4;
.views{ .views{
padding: 28rpx padding: 28rpx
min-height: calc(100% - 56rpx);
position: relative
.Detail-title{ .Detail-title{
font-weight: 600; font-weight: 600;
font-size: 32rpx; font-size: 32rpx;

View File

@@ -12,10 +12,19 @@
</view> </view>
</view> </view>
<view class="main"> <view class="main">
<scroll-view scroll-y> <scroll-view class="height-100" scroll-y>
<view v-if="pageState.list.length"> <view v-if="pageState.list.length">
<view class="card" v-for="(item, index) in pageState.list" :key="index"> <view class="card" v-for="(item, index) in pageState.list" :key="index">
<view @click="navTo('/packageA/pages/exhibitors/exhibitors?jobFairId=' + item.zphID + '&jobFairName=' + item.zphmc)"> <view
@click="
navTo(
'/packageA/pages/exhibitors/exhibitors?jobFairId=' +
item.zphID +
'&jobFairName=' +
item.zphmc
)
"
>
<view class="card-row"> <view class="card-row">
<Countdown :startTime="item.zphjbsj" :endTime="item.zphjzsj" /> <Countdown :startTime="item.zphjbsj" :endTime="item.zphjzsj" />
</view> </view>
@@ -37,7 +46,7 @@
</view> </view>
</view> </view>
</view> </view>
<empty v-else pdTop="200"></empty> <empty v-else></empty>
</scroll-view> </scroll-view>
</view> </view>
</view> </view>
@@ -72,7 +81,7 @@ const ranOptions = ref([
]); ]);
function isTimePassed(timeStr) { function isTimePassed(timeStr) {
if(!timeStr) return false if (!timeStr) return false;
const targetTime = new Date(timeStr.replace(/-/g, '/')).getTime(); // 兼容格式 const targetTime = new Date(timeStr.replace(/-/g, '/')).getTime(); // 兼容格式
const now = Date.now(); const now = Date.now();
return now < targetTime; return now < targetTime;
@@ -95,16 +104,14 @@ function updateCancel(item) {
content: '确定要取消预约吗?', content: '确定要取消预约吗?',
showCancel: true, showCancel: true,
success: ({ confirm, cancel }) => { success: ({ confirm, cancel }) => {
if(confirm){ if (confirm) {
$api.createRequest(`/app/fair/collection/${fairId}`, {}, 'DELETE').then((resData) => { $api.createRequest(`/app/fair/collection/${fairId}`, {}, 'DELETE').then((resData) => {
getList('refresh'); getList('refresh');
$api.msg('取消预约成功'); $api.msg('取消预约成功');
}); });
} }
} },
}) });
} }
function getList(type = 'add', loading = true) { function getList(type = 'add', loading = true) {

View File

@@ -227,8 +227,8 @@
] ]
}], }],
"tabBar": { "tabBar": {
"custom": true, // "custom": true,
"display": "none", // "display": "none",
"color": "#5E5F60", "color": "#5E5F60",
"selectedColor": "#256BFA", "selectedColor": "#256BFA",
"borderStyle": "black", "borderStyle": "black",

View File

@@ -122,7 +122,7 @@ onLoad(() => {
startDate: currentDate, startDate: currentDate,
}); });
weekList.value = result; weekList.value = result;
currentDay.value.fullDate = result[0].fullDate currentDay.value.fullDate = result[0].fullDate;
getFair('refresh'); getFair('refresh');
}); });
@@ -162,12 +162,11 @@ function seemsg(index) {
} }
const handleScrollToLower = () => { const handleScrollToLower = () => {
return return;
getFair(); getFair();
console.log('触底'); console.log('触底');
}; };
function getFair(type = 'add') { function getFair(type = 'add') {
if (type === 'refresh') { if (type === 'refresh') {
pageState.page = 1; pageState.page = 1;
@@ -194,7 +193,7 @@ function getFair(type = 'add') {
// const end = fairList.value.length; // const end = fairList.value.length;
// const reslist = rows; // const reslist = rows;
// fairList.value.splice(str, end, ...reslist); // fairList.value.splice(str, end, ...reslist);
fairList.value = rows fairList.value = rows;
} else { } else {
fairList.value = rows; fairList.value = rows;
} }

View File

@@ -94,10 +94,10 @@
<view class="card-footer">内容简介{{ item.zphjj }}</view> <view class="card-footer">内容简介{{ item.zphjj }}</view>
</view> </view>
</view> </view>
<empty v-else pdTop="200"></empty> <empty v-else></empty>
</scroll-view> </scroll-view>
</view> </view>
<Tabbar :currentpage="1"></Tabbar> <!-- <Tabbar :currentpage="1"></Tabbar> -->
</view> </view>
</view> </view>
</template> </template>

View File

@@ -63,9 +63,9 @@
<ai-paging ref="paging"></ai-paging> <ai-paging ref="paging"></ai-paging>
</view> </view>
<!-- 自定义tabbar --> <!-- 自定义tabbar -->
<view class="chatmain-footer" v-show="!isDrawerOpen"> <!-- <view class="chatmain-footer" v-show="!isDrawerOpen">
<Tabbar :currentpage="2"></Tabbar> <Tabbar :currentpage="2"></Tabbar>
</view> </view> -->
</view> </view>
</view> </view>
</template> </template>
@@ -213,27 +213,48 @@ footer-height = 98rpx
background: #FFFFFF; background: #FFFFFF;
display: flex display: flex
flex-direction: column flex-direction: column
.drawer-user .drawer-user {
border-top: 1rpx solid rgba(0,0,0,.1); display: flex;
padding: 20rpx 28rpx align-items: center;
display: flex width: 100%;
box-sizing: border-box;
padding: 24rpx 32rpx;
padding-bottom: calc(24rpx + constant(safe-area-inset-bottom));
padding-bottom: calc(24rpx + env(safe-area-inset-bottom));
border-top: 1rpx solid rgba(0, 0, 0, 0.06);
background-color: #ffffff;
color: #333333;
font-weight: 500; font-weight: 500;
align-items: center font-size: 28rpx;
position: relative
margin-bottom: calc( 32rpx + var(--window-bottom)); /*兼容 IOS<11.2*/ &:active {
margin-bottom: calc( 32rpx +var(--window-bottom)); /*兼容 IOS>11.2*/ background-color: #f9f9f9;
color: #000000 }
.drawer-user-img
width: 57.2rpx; .drawer-user-img {
height: 57.2rpx width: 60rpx;
margin-right: 20rpx height: 60rpx;
.drawer-user-setting border-radius: 50%;
width: 48rpx margin-right: 24rpx;
height: 48rpx background-color: #eee;
position: absolute flex-shrink: 0;
top: 50% }
right: 28rpx
transform: translate(0,-50%) .user-name {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 30rpx;
}
.drawer-user-setting {
width: 48rpx;
height: 48rpx;
margin-left: auto;
opacity: 0.8;
}
}
.drawer-title .drawer-title
height: header-height; height: header-height;
line-height: header-height; line-height: header-height;

View File

@@ -142,7 +142,7 @@
</custom-waterfalls-flow> </custom-waterfalls-flow>
<loadmore ref="loadmoreRef"></loadmore> <loadmore ref="loadmoreRef"></loadmore>
</view> </view>
<empty v-else pdTop="200"></empty> <empty v-else></empty>
</scroll-view> </scroll-view>
</view> </view>
<!-- 筛选 --> <!-- 筛选 -->

View File

@@ -41,7 +41,7 @@
</swiper> </swiper>
</view> </view>
<Tabbar v-show="showTabbar" :currentpage="0"></Tabbar> <!-- <Tabbar v-show="showTabbar" :currentpage="0"></Tabbar> -->
<!-- maskFristEntry --> <!-- maskFristEntry -->
<view class="maskFristEntry" v-if="maskFristEntry"> <view class="maskFristEntry" v-if="maskFristEntry">

View File

@@ -95,9 +95,9 @@
></uni-popup-dialog> ></uni-popup-dialog>
</uni-popup> </uni-popup>
</view> </view>
<template #footer> <!-- <template #footer>
<Tabbar :currentpage="4"></Tabbar> <Tabbar :currentpage="4"></Tabbar>
</template> </template> -->
</AppLayout> </AppLayout>
</template> </template>

View File

@@ -40,7 +40,7 @@
</swiper> </swiper>
</view> </view>
<Tabbar :currentpage="3"></Tabbar> <!-- <Tabbar :currentpage="3"></Tabbar> -->
</view> </view>
</view> </view>
</template> </template>

View File

@@ -75,8 +75,8 @@
:longitude="longitudeVal" :longitude="longitudeVal"
:latitude="latitudeVal" :latitude="latitudeVal"
></renderJobs> ></renderJobs>
<empty v-else pdTop="60"></empty> <empty v-else></empty>
<loadmore ref="loadmoreRef"></loadmore> <loadmore v-show="list.length > pageState.pageSize" ref="loadmoreRef"></loadmore>
</view> </view>
</view> </view>
<!-- 筛选 --> <!-- 筛选 -->
@@ -340,6 +340,7 @@ defineExpose({ loadData, handleFilterConfirm });
color: #4778EC !important color: #4778EC !important
.nearby-scroll .nearby-scroll
overflow: hidden; overflow: hidden;
height: 100%;
.two-head .two-head
margin: 22rpx; margin: 22rpx;
display: flex; display: flex;
@@ -380,8 +381,10 @@ defineExpose({ loadData, handleFilterConfirm });
border-radius: 12rpx 12rpx 12rpx 12rpx; border-radius: 12rpx 12rpx 12rpx 12rpx;
.nearby-list .nearby-list
border-top: 2rpx solid #EBEBEB; border-top: 2rpx solid #EBEBEB;
height: 100% height: calc(100% - 140rpx)
background: #f4f4f4
.one-cards{ .one-cards{
height: 100%
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 0 20rpx 20rpx 20rpx; padding: 0 20rpx 20rpx 20rpx;
@@ -389,6 +392,7 @@ defineExpose({ loadData, handleFilterConfirm });
} }
.nav-filter .nav-filter
padding: 16rpx 28rpx 0 28rpx padding: 16rpx 28rpx 0 28rpx
background: #ffffff
.filter-top .filter-top
display: flex display: flex
justify-content: space-between; justify-content: space-between;

View File

@@ -80,8 +80,8 @@
:longitude="longitudeVal" :longitude="longitudeVal"
:latitude="latitudeVal" :latitude="latitudeVal"
></renderJobs> ></renderJobs>
<empty v-else pdTop="60"></empty> <empty v-else></empty>
<loadmore ref="loadmoreRef"></loadmore> <loadmore v-show="list.length > pageState.pageSize" ref="loadmoreRef"></loadmore>
</view> </view>
</view> </view>
<!-- 筛选 --> <!-- 筛选 -->
@@ -364,11 +364,14 @@ defineExpose({ loadData, handleFilterConfirm });
} }
.nearby-scroll .nearby-scroll
overflow: hidden; overflow: hidden;
height: 100%;
.nearby-map .nearby-map
height: 767rpx; height: 767rpx;
background: #e8e8e8; background: #e8e8e8;
overflow: hidden overflow: hidden
.nearby-list .nearby-list
height: calc(100% - 384rpx)
background: #f4f4f4
.one-cards{ .one-cards{
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@@ -378,6 +381,7 @@ defineExpose({ loadData, handleFilterConfirm });
} }
.nav-filter .nav-filter
padding: 16rpx 28rpx 0 28rpx padding: 16rpx 28rpx 0 28rpx
background: #ffffff
.filter-top .filter-top
display: flex display: flex
justify-content: space-between; justify-content: space-between;

View File

@@ -101,8 +101,8 @@
:longitude="longitudeVal" :longitude="longitudeVal"
:latitude="latitudeVal" :latitude="latitudeVal"
></renderJobs> ></renderJobs>
<empty v-else pdTop="60"></empty> <empty v-else></empty>
<loadmore ref="loadmoreRef"></loadmore> <loadmore v-show="list.length > pageState.pageSize" ref="loadmoreRef"></loadmore>
</view> </view>
</view> </view>
<!-- 筛选 --> <!-- 筛选 -->
@@ -359,8 +359,9 @@ defineExpose({ loadData, handleFilterConfirm });
color: #4778EC !important; color: #4778EC !important;
.nearby-scroll .nearby-scroll
overflow: hidden; overflow: hidden;
height: 100%
.three-head .three-head
margin: 24rpx 0 0 0; // margin: 24rpx 0 0 0;
padding: 26rpx 0 0 0; padding: 26rpx 0 0 0;
border-radius: 17rpx 17rpx 17rpx 17rpx; border-radius: 17rpx 17rpx 17rpx 17rpx;
.one-picker .one-picker
@@ -482,7 +483,10 @@ defineExpose({ loadData, handleFilterConfirm });
z-index: 1; z-index: 1;
.nearby-list .nearby-list
border-top: 2rpx solid #EBEBEB; border-top: 2rpx solid #EBEBEB;
height: calc(100% - 222rpx)
background: #f4f4f4
.one-cards{ .one-cards{
height: 100%
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 0 20rpx 20rpx 20rpx; padding: 0 20rpx 20rpx 20rpx;
@@ -490,6 +494,7 @@ defineExpose({ loadData, handleFilterConfirm });
} }
.nav-filter .nav-filter
padding: 16rpx 28rpx 0 28rpx padding: 16rpx 28rpx 0 28rpx
background: #ffffff
.filter-top .filter-top
display: flex display: flex
justify-content: space-between; justify-content: space-between;

View File

@@ -71,8 +71,8 @@
:longitude="longitudeVal" :longitude="longitudeVal"
:latitude="latitudeVal" :latitude="latitudeVal"
></renderJobs> ></renderJobs>
<empty v-else pdTop="60"></empty> <empty v-else></empty>
<loadmore ref="loadmoreRef"></loadmore> <loadmore v-show="list.length > pageState.pageSize" ref="loadmoreRef"></loadmore>
</view> </view>
</view> </view>
<!-- 筛选 --> <!-- 筛选 -->
@@ -255,6 +255,7 @@ defineExpose({ loadData, handleFilterConfirm });
color: #4778EC !important color: #4778EC !important
.nearby-scroll .nearby-scroll
overflow: hidden; overflow: hidden;
height: 100%;
.two-head .two-head
margin: 22rpx; margin: 22rpx;
display: flex; display: flex;
@@ -284,14 +285,18 @@ defineExpose({ loadData, handleFilterConfirm });
border-radius: 12rpx 12rpx 12rpx 12rpx; border-radius: 12rpx 12rpx 12rpx 12rpx;
.nearby-list .nearby-list
border-top: 2rpx solid #EBEBEB; border-top: 2rpx solid #EBEBEB;
height: calc(100% - 252rpx)
background: #f4f4f4
.one-cards{ .one-cards{
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 0 20rpx 20rpx 20rpx; padding: 0 20rpx 20rpx 20rpx;
background: #f4f4f4 background: #f4f4f4
height: 100%
} }
.nav-filter .nav-filter
padding: 16rpx 28rpx 0 28rpx padding: 16rpx 28rpx 0 28rpx
background: #ffffff
.filter-top .filter-top
display: flex display: flex
justify-content: space-between; justify-content: space-between;