Skip to content

Commit

Permalink
Merge pull request #471 from ZeroPointJi/dev
Browse files Browse the repository at this point in the history
fix:修复swiper中title换行后多余的内容未被遮挡问题
  • Loading branch information
ijry authored Aug 9, 2024
2 parents 15b9830 + 28fe637 commit 1d76fb4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/uni_modules/uview-plus/components/u-swiper/u-swiper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,9 @@
controls
@tap="clickHandler(index)"
></video>
<text
v-if="showTitle && testObject(item) && item.title && testImage(getSource(item))"
class="u-swiper__wrapper__item__wrapper__title u-line-1"
>{{ item.title }}</text>
<view v-if="showTitle && testObject(item) && item.title && testImage(getSource(item))" class="u-swiper__wrapper__item__wrapper__title">
<text class="u-line-1">{{ item.title }}</text>
</view>
</view>
</swiper-item>
</swiper>
Expand Down

0 comments on commit 1d76fb4

Please sign in to comment.