diff --git a/src/form/button.wc b/src/form/button.wc index 346b6e1..48b50eb 100644 --- a/src/form/button.wc +++ b/src/form/button.wc @@ -19,7 +19,8 @@ justify-content: center; align-items: center; min-width: 32px; - height: 32px; + width: inherit; + height: inherit; padding: 0 5px; margin: auto; font-size: 14px; diff --git a/src/form/input.wc b/src/form/input.wc index 2a3cbc7..b208fc9 100644 --- a/src/form/input.wc +++ b/src/form/input.wc @@ -390,7 +390,6 @@ export default class Input { // 键盘事件 this._handleSubmit = ebind(this.__INPUT__, 'keydown', ev => { if (this.disabled || this.readonly) { - ev.stopPropagation() return } // up: 38, down: 40 @@ -466,6 +465,7 @@ export default class Input { this._handleSelect = bind(this.__LIST__, 'click', ev => { if (ev.target.tagName === 'LI') { this._fetchSelect(ev.target.dataset.idx, ev) + this.dispatchEvent(new CustomEvent('input')) } }) } diff --git a/src/picker/date.wc b/src/picker/date.wc index 183304e..72f8c5a 100644 --- a/src/picker/date.wc +++ b/src/picker/date.wc @@ -101,7 +101,7 @@ font-size: 14px; wc-icon { - --size: 16px; + --size: 14px; margin: 0 3px; color: nth($cgr, 1); cursor: pointer;