mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
build: compile 1.10.23
This commit is contained in:
parent
88a36b5647
commit
ea8f92f919
4
dist/dialog/index.js
vendored
4
dist/dialog/index.js
vendored
@ -18,14 +18,16 @@ VantComponent({
|
|||||||
type: String,
|
type: String,
|
||||||
value: 'default',
|
value: 'default',
|
||||||
},
|
},
|
||||||
useSlot: Boolean,
|
|
||||||
className: String,
|
className: String,
|
||||||
customStyle: String,
|
customStyle: String,
|
||||||
asyncClose: Boolean,
|
asyncClose: Boolean,
|
||||||
messageAlign: String,
|
messageAlign: String,
|
||||||
beforeClose: null,
|
beforeClose: null,
|
||||||
overlayStyle: String,
|
overlayStyle: String,
|
||||||
|
useSlot: Boolean,
|
||||||
useTitleSlot: Boolean,
|
useTitleSlot: Boolean,
|
||||||
|
useConfirmButtonSlot: Boolean,
|
||||||
|
useCancelButtonSlot: Boolean,
|
||||||
showCancelButton: Boolean,
|
showCancelButton: Boolean,
|
||||||
closeOnClickOverlay: Boolean,
|
closeOnClickOverlay: Boolean,
|
||||||
confirmButtonOpenType: String,
|
confirmButtonOpenType: String,
|
||||||
|
13
dist/dialog/index.wxml
vendored
13
dist/dialog/index.wxml
vendored
@ -70,8 +70,11 @@
|
|||||||
</van-goods-action>
|
</van-goods-action>
|
||||||
|
|
||||||
<view wx:elif="{{ showCancelButton || showConfirmButton }}" class="van-hairline--top van-dialog__footer">
|
<view wx:elif="{{ showCancelButton || showConfirmButton }}" class="van-hairline--top van-dialog__footer">
|
||||||
|
<block wx:if="{{ showCancelButton }}">
|
||||||
|
<slot wx:if="{{ useCancelButtonSlot }}" name="cancel-button" />
|
||||||
|
|
||||||
<van-button
|
<van-button
|
||||||
wx:if="{{ showCancelButton }}"
|
wx:else
|
||||||
size="large"
|
size="large"
|
||||||
loading="{{ loading.cancel }}"
|
loading="{{ loading.cancel }}"
|
||||||
class="van-dialog__button van-hairline--right"
|
class="van-dialog__button van-hairline--right"
|
||||||
@ -81,8 +84,13 @@
|
|||||||
>
|
>
|
||||||
{{ cancelButtonText }}
|
{{ cancelButtonText }}
|
||||||
</van-button>
|
</van-button>
|
||||||
|
</block>
|
||||||
|
|
||||||
|
<block wx:if="{{ showConfirmButton }}">
|
||||||
|
<slot wx:if="{{ useConfirmButtonSlot }}" name="confirm-button" />
|
||||||
|
|
||||||
<van-button
|
<van-button
|
||||||
wx:if="{{ showConfirmButton }}"
|
wx:else
|
||||||
size="large"
|
size="large"
|
||||||
class="van-dialog__button"
|
class="van-dialog__button"
|
||||||
loading="{{ loading.confirm }}"
|
loading="{{ loading.confirm }}"
|
||||||
@ -109,5 +117,6 @@
|
|||||||
>
|
>
|
||||||
{{ confirmButtonText }}
|
{{ confirmButtonText }}
|
||||||
</van-button>
|
</van-button>
|
||||||
|
</block>
|
||||||
</view>
|
</view>
|
||||||
</van-popup>
|
</van-popup>
|
||||||
|
4
dist/search/index.js
vendored
4
dist/search/index.js
vendored
@ -53,6 +53,10 @@ VantComponent({
|
|||||||
type: String,
|
type: String,
|
||||||
value: 'clear',
|
value: 'clear',
|
||||||
},
|
},
|
||||||
|
cursorSpacing: {
|
||||||
|
type: Number,
|
||||||
|
value: 0,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onChange(event) {
|
onChange(event) {
|
||||||
|
1
dist/search/index.wxml
vendored
1
dist/search/index.wxml
vendored
@ -28,6 +28,7 @@
|
|||||||
input-class="input-class"
|
input-class="input-class"
|
||||||
placeholder="{{ placeholder }}"
|
placeholder="{{ placeholder }}"
|
||||||
placeholder-style="{{ placeholderStyle }}"
|
placeholder-style="{{ placeholderStyle }}"
|
||||||
|
cursor-spacing="{{ cursorSpacing }}"
|
||||||
custom-style="padding: 5px 10px 5px 0; background-color: transparent;"
|
custom-style="padding: 5px 10px 5px 0; background-color: transparent;"
|
||||||
bind:blur="onBlur"
|
bind:blur="onBlur"
|
||||||
bind:focus="onFocus"
|
bind:focus="onFocus"
|
||||||
|
@ -20,14 +20,16 @@ var utils_1 = require("../common/utils");
|
|||||||
type: String,
|
type: String,
|
||||||
value: 'default',
|
value: 'default',
|
||||||
},
|
},
|
||||||
useSlot: Boolean,
|
|
||||||
className: String,
|
className: String,
|
||||||
customStyle: String,
|
customStyle: String,
|
||||||
asyncClose: Boolean,
|
asyncClose: Boolean,
|
||||||
messageAlign: String,
|
messageAlign: String,
|
||||||
beforeClose: null,
|
beforeClose: null,
|
||||||
overlayStyle: String,
|
overlayStyle: String,
|
||||||
|
useSlot: Boolean,
|
||||||
useTitleSlot: Boolean,
|
useTitleSlot: Boolean,
|
||||||
|
useConfirmButtonSlot: Boolean,
|
||||||
|
useCancelButtonSlot: Boolean,
|
||||||
showCancelButton: Boolean,
|
showCancelButton: Boolean,
|
||||||
closeOnClickOverlay: Boolean,
|
closeOnClickOverlay: Boolean,
|
||||||
confirmButtonOpenType: String,
|
confirmButtonOpenType: String,
|
||||||
|
@ -70,8 +70,11 @@
|
|||||||
</van-goods-action>
|
</van-goods-action>
|
||||||
|
|
||||||
<view wx:elif="{{ showCancelButton || showConfirmButton }}" class="van-hairline--top van-dialog__footer">
|
<view wx:elif="{{ showCancelButton || showConfirmButton }}" class="van-hairline--top van-dialog__footer">
|
||||||
|
<block wx:if="{{ showCancelButton }}">
|
||||||
|
<slot wx:if="{{ useCancelButtonSlot }}" name="cancel-button" />
|
||||||
|
|
||||||
<van-button
|
<van-button
|
||||||
wx:if="{{ showCancelButton }}"
|
wx:else
|
||||||
size="large"
|
size="large"
|
||||||
loading="{{ loading.cancel }}"
|
loading="{{ loading.cancel }}"
|
||||||
class="van-dialog__button van-hairline--right"
|
class="van-dialog__button van-hairline--right"
|
||||||
@ -81,8 +84,13 @@
|
|||||||
>
|
>
|
||||||
{{ cancelButtonText }}
|
{{ cancelButtonText }}
|
||||||
</van-button>
|
</van-button>
|
||||||
|
</block>
|
||||||
|
|
||||||
|
<block wx:if="{{ showConfirmButton }}">
|
||||||
|
<slot wx:if="{{ useConfirmButtonSlot }}" name="confirm-button" />
|
||||||
|
|
||||||
<van-button
|
<van-button
|
||||||
wx:if="{{ showConfirmButton }}"
|
wx:else
|
||||||
size="large"
|
size="large"
|
||||||
class="van-dialog__button"
|
class="van-dialog__button"
|
||||||
loading="{{ loading.confirm }}"
|
loading="{{ loading.confirm }}"
|
||||||
@ -109,5 +117,6 @@
|
|||||||
>
|
>
|
||||||
{{ confirmButtonText }}
|
{{ confirmButtonText }}
|
||||||
</van-button>
|
</van-button>
|
||||||
|
</block>
|
||||||
</view>
|
</view>
|
||||||
</van-popup>
|
</van-popup>
|
||||||
|
@ -55,6 +55,10 @@ var version_1 = require("../common/version");
|
|||||||
type: String,
|
type: String,
|
||||||
value: 'clear',
|
value: 'clear',
|
||||||
},
|
},
|
||||||
|
cursorSpacing: {
|
||||||
|
type: Number,
|
||||||
|
value: 0,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onChange: function (event) {
|
onChange: function (event) {
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
input-class="input-class"
|
input-class="input-class"
|
||||||
placeholder="{{ placeholder }}"
|
placeholder="{{ placeholder }}"
|
||||||
placeholder-style="{{ placeholderStyle }}"
|
placeholder-style="{{ placeholderStyle }}"
|
||||||
|
cursor-spacing="{{ cursorSpacing }}"
|
||||||
custom-style="padding: 5px 10px 5px 0; background-color: transparent;"
|
custom-style="padding: 5px 10px 5px 0; background-color: transparent;"
|
||||||
bind:blur="onBlur"
|
bind:blur="onBlur"
|
||||||
bind:focus="onFocus"
|
bind:focus="onFocus"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user