This commit is contained in:
Lx 2025-04-24 17:54:31 +08:00
parent f3f3afa29a
commit f734852127

View File

@ -38,7 +38,9 @@
<view class="itemContent"> <view class="itemContent">
<!-- 使用 scroll-view 包裹 SchoolInfo 组件 --> <!-- 使用 scroll-view 包裹 SchoolInfo 组件 -->
<scroll-view class="scroll-view" scroll-y :style="{ height: scrollHeight + 'px' }"> <scroll-view class="scroll-view" scroll-y :style="{ height: scrollHeight + 'px' }"
@scrolltolower="onReachBottomCus" refresher-enabled @refresherrefresh="onRefresherrefresh"
:refresher-triggered="isTriggered">
<SchoolInfo style="" v-for="(school, index) in schoolList" :key="index" :schoolInfo="school" <SchoolInfo style="" v-for="(school, index) in schoolList" :key="index" :schoolInfo="school"
@click="goSchoolDetail(school)" /> @click="goSchoolDetail(school)" />
</scroll-view> </scroll-view>