Skip to content

Commit

Permalink
fix:临时处理ios app grid点击坍塌问题
Browse files Browse the repository at this point in the history
  • Loading branch information
BeiQiaoT committed Jan 14, 2022
1 parent ea4c75f commit 9ecbf6e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions uni_modules/uview-ui/components/u-grid-item/u-grid-item.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,27 @@
<template>
<!-- #ifndef APP-NVUE -->
<view
class="u-grid-item"
hover-class="u-grid-item--hover-class"
:hover-stay-time="200"
@tap="clickHandler"
:class="classes"
:style="[itemStyle]"
>
<slot />
</view>
<!-- #endif -->
<!-- #ifdef APP-NVUE -->
<view
class="u-grid-item"
:hover-stay-time="200"
@tap="clickHandler"
:class="classes"
:style="[itemStyle]"
>
<slot />
</view>
<!-- #endif -->
</template>

<script>
Expand Down

0 comments on commit 9ecbf6e

Please sign in to comment.