Skip to content

Commit

Permalink
fix(popup): resolve close can not tap
Browse files Browse the repository at this point in the history
  • Loading branch information
jarmywang committed Mar 9, 2023
1 parent b3a3cef commit 8f45489
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/popup/popup.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
aria-modal="{{ true }}"
>
<view class="{{classPrefix}}__content {{prefix}}-class-content">
<slot name="content" />
<slot />
<view class="{{classPrefix}}__close" bind:tap="handleClose">
<t-icon name="close" wx:if="{{closeBtn}}" size="64rpx" />
<slot name="close-btn" class="{{classPrefix}}-slot" />
</view>
<slot name="content" />
<slot />
</view>
</view>

Expand Down

0 comments on commit 8f45489

Please sign in to comment.