@tuya-miniapp/smart-ui 2.13.1-beta-0 → 2.13.1-beta-2
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.
|
@@ -22,8 +22,12 @@
|
|
|
22
22
|
bind:after-leave="onAfterLeave"
|
|
23
23
|
>
|
|
24
24
|
<view wx:if="{{ title || useTitleSlot }}" class="smart-action-sheet__header">
|
|
25
|
-
<
|
|
26
|
-
|
|
25
|
+
<view wx:if="{{ title }}">
|
|
26
|
+
{{ title }}
|
|
27
|
+
</view>
|
|
28
|
+
<view wx:else>
|
|
29
|
+
<slot name="title" />
|
|
30
|
+
</view>
|
|
27
31
|
</view>
|
|
28
32
|
<view wx:if="{{ description }}" class="smart-action-sheet__description smart-hairline--bottom">
|
|
29
33
|
{{ description }}
|
|
@@ -61,7 +65,9 @@
|
|
|
61
65
|
<smart-loading wx:else custom-class="smart-action-sheet__loading" size="22px" />
|
|
62
66
|
</button>
|
|
63
67
|
</scroll-view>
|
|
64
|
-
<
|
|
68
|
+
<view>
|
|
69
|
+
<slot />
|
|
70
|
+
</view>
|
|
65
71
|
<block wx:if="{{ cancelText || confirmText }}">
|
|
66
72
|
<view class="smart-action-sheet__gap" />
|
|
67
73
|
<view class="smart-action-sheet__footer">
|
package/dist/popover/index.js
CHANGED
package/dist/popover/index.wxml
CHANGED
|
@@ -22,8 +22,12 @@
|
|
|
22
22
|
bind:after-leave="onAfterLeave"
|
|
23
23
|
>
|
|
24
24
|
<view wx:if="{{ title || useTitleSlot }}" class="smart-action-sheet__header">
|
|
25
|
-
<
|
|
26
|
-
|
|
25
|
+
<view wx:if="{{ title }}">
|
|
26
|
+
{{ title }}
|
|
27
|
+
</view>
|
|
28
|
+
<view wx:else>
|
|
29
|
+
<slot name="title" />
|
|
30
|
+
</view>
|
|
27
31
|
</view>
|
|
28
32
|
<view wx:if="{{ description }}" class="smart-action-sheet__description smart-hairline--bottom">
|
|
29
33
|
{{ description }}
|
|
@@ -61,7 +65,9 @@
|
|
|
61
65
|
<smart-loading wx:else custom-class="smart-action-sheet__loading" size="22px" />
|
|
62
66
|
</button>
|
|
63
67
|
</scroll-view>
|
|
64
|
-
<
|
|
68
|
+
<view>
|
|
69
|
+
<slot />
|
|
70
|
+
</view>
|
|
65
71
|
<block wx:if="{{ cancelText || confirmText }}">
|
|
66
72
|
<view class="smart-action-sheet__gap" />
|
|
67
73
|
<view class="smart-action-sheet__footer">
|
package/lib/popover/index.js
CHANGED
package/lib/popover/index.wxml
CHANGED