mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-05-24 23:49:15 +08:00
[bugfix] Search: focus properties not work (#484)
This commit is contained in:
parent
dd488a0e3b
commit
bc90a99ffa
2
dist/actionsheet/index.wxss
vendored
2
dist/actionsheet/index.wxss
vendored
@ -1 +1 @@
|
||||
.van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}.van-hairline--bottom::after,.van-hairline--left::after,.van-hairline--right::after,.van-hairline--surround::after,.van-hairline--top-bottom::after,.van-hairline--top::after,.van-hairline::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;-webkit-transform:scale(.5);transform:scale(.5);-webkit-transform-origin:0 0;transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e5e5e5}.van-hairline--top::after{border-top-width:1px}.van-hairline--left::after{border-left-width:1px}.van-hairline--right::after{border-right-width:1px}.van-hairline--bottom::after{border-bottom-width:1px}.van-hairline--top-bottom::after{border-width:1px 0}.van-hairline--surround::after{border-width:1px}.van-actionsheet{color:#333;max-height:90%;overflow-y:auto;-webkit-overflow-scrolling:touch;background-color:#f8f8f8}.van-actionsheet--withtitle{background-color:#fff}.van-actionsheet__cancel,.van-actionsheet__item{height:50px;line-height:50px;font-size:16px;text-align:center;background-color:#fff}.van-actionsheet__cancel:active,.van-actionsheet__item:active{background-color:#e8e8e8}.van-actionsheet__item--disabled{color:#c9c9c9}.van-actionsheet__item--disabled:active{background-color:#fff}.van-actionsheet__subname{font-size:12px;color:#666;margin-left:5px}.van-actionsheet__loading{display:inline-block}.van-actionsheet__cancel{margin-top:10px}.van-actionsheet__header{font-size:16px;line-height:44px;text-align:center}.van-actionsheet__close{top:0;right:0;padding:0 15px;font-size:18px;color:#999;position:absolute;line-height:inherit}
|
||||
.van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}.van-hairline--bottom::after,.van-hairline--left::after,.van-hairline--right::after,.van-hairline--surround::after,.van-hairline--top-bottom::after,.van-hairline--top::after,.van-hairline::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;-webkit-transform:scale(.5);transform:scale(.5);-webkit-transform-origin:0 0;transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e5e5e5}.van-hairline--top::after{border-top-width:1px}.van-hairline--left::after{border-left-width:1px}.van-hairline--right::after{border-right-width:1px}.van-hairline--bottom::after{border-bottom-width:1px}.van-hairline--top-bottom::after{border-width:1px 0}.van-hairline--surround::after{border-width:1px}.van-actionsheet{color:#333;max-height:90%;overflow-y:auto;-webkit-overflow-scrolling:touch;background-color:#f8f8f8}.van-actionsheet--withtitle{background-color:#fff}.van-actionsheet__cancel,.van-actionsheet__item{height:50px;line-height:50px;font-size:16px;text-align:center;background-color:#fff}.van-actionsheet__cancel:active,.van-actionsheet__item:active{background-color:#e8e8e8}.van-actionsheet__item--disabled{color:#c9c9c9}.van-actionsheet__item--disabled:active{background-color:#fff}.van-actionsheet__subname{font-size:12px;color:#666;margin-left:5px}.van-actionsheet__loading{display:inline-block}.van-actionsheet__cancel{margin-top:10px}.van-actionsheet__header{font-size:16px;line-height:44px;text-align:center}.van-actionsheet__close{top:0;right:0;padding:0 15px;font-size:18px!important;color:#999;position:absolute!important;line-height:inherit!important}
|
4
dist/field/index.js
vendored
4
dist/field/index.js
vendored
@ -53,6 +53,10 @@ Component({
|
||||
border: {
|
||||
type: Boolean,
|
||||
value: true
|
||||
},
|
||||
titleWidth: {
|
||||
type: Number,
|
||||
value: 90
|
||||
}
|
||||
},
|
||||
|
||||
|
2
dist/field/index.wxml
vendored
2
dist/field/index.wxml
vendored
@ -6,7 +6,7 @@
|
||||
is-link="{{ isLink }}"
|
||||
required="{{ required }}"
|
||||
custom-style="{{ customStyle }}"
|
||||
title-width="90px"
|
||||
title-width="{{ titleWidth }}"
|
||||
custom-class="{{ customClass }} van-field {{ labelAlign ? 'van-field--label-' + labelAlign : '' }}"
|
||||
>
|
||||
<slot name="label" slot="title" />
|
||||
|
1
dist/search/index.js
vendored
1
dist/search/index.js
vendored
@ -9,6 +9,7 @@ Component({
|
||||
},
|
||||
|
||||
properties: {
|
||||
focus: Boolean,
|
||||
disabled: Boolean,
|
||||
readonly: Boolean,
|
||||
showAction: Boolean,
|
||||
|
1
dist/search/index.wxml
vendored
1
dist/search/index.wxml
vendored
@ -7,6 +7,7 @@
|
||||
clearable
|
||||
type="search"
|
||||
left-icon="search"
|
||||
focus="{{ focus }}"
|
||||
border="{{ false }}"
|
||||
confirm-type="search"
|
||||
value="{{ value }}"
|
||||
|
@ -9,6 +9,7 @@ Component({
|
||||
},
|
||||
|
||||
properties: {
|
||||
focus: Boolean,
|
||||
disabled: Boolean,
|
||||
readonly: Boolean,
|
||||
showAction: Boolean,
|
||||
|
@ -7,6 +7,7 @@
|
||||
clearable
|
||||
type="search"
|
||||
left-icon="search"
|
||||
focus="{{ focus }}"
|
||||
border="{{ false }}"
|
||||
confirm-type="search"
|
||||
value="{{ value }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user