@xtdev/xt-miniprogram-ui 1.0.23 → 1.1.24
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.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<view class="dialog_mask" wx:if="{{type=='nomal'}}">
|
|
5
5
|
<view class="dialog_box">
|
|
6
6
|
<view class="title" wx:if="{{title}}">{{title}}</view>
|
|
7
|
-
<view class="content" style="font-weight:{{title?400:800}};">{{message}}
|
|
7
|
+
<view class="content" style="font-weight:{{title?400:800}};">{{message}}<slot /></view>
|
|
8
8
|
<view class="default_btn" catchtap="confirmBtn" data-confirmtype="nomalDialog" wx:if="{{showConfirmButton}}">{{confirmButtonText}}</view>
|
|
9
9
|
<view class="cancel_btn" catchtap="cancelBtn" wx:if="{{showCancelButton}}">{{cancelButtonText}}</view>
|
|
10
10
|
</view>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<view class="dialog_box">
|
|
15
15
|
<view class="title" wx:if="{{title}}">{{title}}</view>
|
|
16
16
|
<image class="image" wx:if="{{imageUrl}}" src="{{imageUrl}}"></image>
|
|
17
|
-
<view class="content">{{message}}
|
|
17
|
+
<view class="content">{{message}}<slot /></view>
|
|
18
18
|
<view class="default_btn" catchtap="confirmBtn" data-confirmtype="imageTextDialog" wx:if="{{showConfirmButton}}">{{confirmButtonText}}</view>
|
|
19
19
|
<view class="cancel_btn" catchtap="cancelBtn" wx:if="{{showCancelButton}}">{{cancelButtonText}}</view>
|
|
20
20
|
</view>
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
<view class="inp_wrapper">
|
|
27
27
|
<textarea class="inp_content" value="{{inpVal}}" maxlength="{{48}}" disable-default-padding adjust-position auto-height auto-focus placeholder="{{placeholder}}" placeholder-style="color: #999;" bindblur="onInputBlur"/>
|
|
28
28
|
</view>
|
|
29
|
+
<slot />
|
|
29
30
|
<view class="default_btn" catchtap="confirmBtn" data-confirmtype="inputDialog" wx:if="{{showConfirmButton}}">{{confirmButtonText}}</view>
|
|
30
31
|
<view class="cancel_btn" catchtap="cancelBtn" wx:if="{{showCancelButton}}">{{cancelButtonText}}</view>
|
|
31
32
|
</view>
|
|
@@ -43,6 +44,7 @@
|
|
|
43
44
|
</view>
|
|
44
45
|
</view>
|
|
45
46
|
</view>
|
|
47
|
+
<slot />
|
|
46
48
|
<view class="default_btn" catchtap="confirmBtn" data-confirmtype="chooseDialog" wx:if="{{showConfirmButton}}">{{confirmButtonText}}</view>
|
|
47
49
|
<view class="cancel_btn" catchtap="cancelBtn" wx:if="{{showCancelButton}}">{{cancelButtonText}}</view>
|
|
48
50
|
</view>
|