@tuya-miniapp/smart-ui 2.3.4-beta-2 → 2.3.4-beta-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/popover/index.js
CHANGED
package/dist/popover/index.wxml
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
<view class="smart-popover-button" catch:tap="onClick">
|
16
16
|
<slot />
|
17
|
-
<view wx:if="{{currentShow}}" class="smart-popover-overlay" style="left: {{left}};top: {{top}}; bottom:{{bottom}};right:{{right}}; transform:{{transform}}; {{customStyle}}; {{showStyle}}">
|
17
|
+
<view catch:tap="noop" wx:if="{{currentShow}}" class="smart-popover-overlay" style="left: {{left}};top: {{top}}; bottom:{{bottom}};right:{{right}}; transform:{{transform}}; {{customStyle}}; {{showStyle}}">
|
18
18
|
<slot name="overlay" />
|
19
19
|
<view class="smart-popover-overlay-arrow" style="background-image: url('{{iconSrc}}'); transform: {{iconTransform}}; {{iconPos}}: {{iconPosVal}}px;width: {{iconWidth}};height:{{iconHeight}};background-size: {{iconWidth}} {{iconHeight}};{{iconStyle}}"></view>
|
20
20
|
</view>
|
package/lib/popover/index.js
CHANGED
package/lib/popover/index.wxml
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
<view class="smart-popover-button" catch:tap="onClick">
|
16
16
|
<slot />
|
17
|
-
<view wx:if="{{currentShow}}" class="smart-popover-overlay" style="left: {{left}};top: {{top}}; bottom:{{bottom}};right:{{right}}; transform:{{transform}}; {{customStyle}}; {{showStyle}}">
|
17
|
+
<view catch:tap="noop" wx:if="{{currentShow}}" class="smart-popover-overlay" style="left: {{left}};top: {{top}}; bottom:{{bottom}};right:{{right}}; transform:{{transform}}; {{customStyle}}; {{showStyle}}">
|
18
18
|
<slot name="overlay" />
|
19
19
|
<view class="smart-popover-overlay-arrow" style="background-image: url('{{iconSrc}}'); transform: {{iconTransform}}; {{iconPos}}: {{iconPosVal}}px;width: {{iconWidth}};height:{{iconHeight}};background-size: {{iconWidth}} {{iconHeight}};{{iconStyle}}"></view>
|
20
20
|
</view>
|