fix: correct scroll-view props and event bindings

update scroll-view component syntax in goods, ChatLongAnswer and Discovery pages
This commit is contained in:
duanshuwen
2026-07-25 11:18:25 +08:00
parent 8d4d5510f9
commit 4e3a39e3c1
3 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
<FindTabs v-if="discoveryTabs.length > 0" v-model="activeIndex" :tabs="discoveryTabs" @change="handleTabChange" />
</view>
<scroll-view class="discovery-scroll" overflow-y-auto@scroll="handleContentScroll">
<scroll-view class="discovery-scroll" scroll-y @scroll="handleContentScroll">
<view class="discovery-body">
<CardSwiper v-if="discoveryCards.length > 0" :list="discoveryCards" @didSelectItem="handleCardClick" />
<ExploreCards v-if="exploreCards.length > 0" :list="exploreCards" @didSelectItem="handleCardClick" />