diff --git a/src/config.json b/src/config.json index e4fdcdbbca..7ada0c7280 100644 --- a/src/config.json +++ b/src/config.json @@ -776,7 +776,7 @@ "show": true, "taro": true, "author": "Drjingfubo", - "dd": false + "dd": true }, { "version": "2.0.0", diff --git a/src/packages/shortpassword/shortpassword.scss b/src/packages/shortpassword/shortpassword.scss index 375c9a4cec..c2cbeb997d 100644 --- a/src/packages/shortpassword/shortpassword.scss +++ b/src/packages/shortpassword/shortpassword.scss @@ -1,13 +1,23 @@ @import '../popup/popup.scss'; .nut-shortpassword { + &-popup { + padding: 32px 24px 28px 24px; + border-radius: 12px; + text-align: center; + } + &-title { + display: flex; + justify-content: center; line-height: 1; font-size: $font-size-l; color: $color-title; } &-description { + display: flex; + justify-content: center; margin-top: 12px; margin-bottom: 24px; line-height: 1; diff --git a/src/packages/shortpassword/shortpassword.taro.tsx b/src/packages/shortpassword/shortpassword.taro.tsx index 9f9cc84087..5fcffbf24b 100644 --- a/src/packages/shortpassword/shortpassword.taro.tsx +++ b/src/packages/shortpassword/shortpassword.taro.tsx @@ -62,6 +62,7 @@ export const InternalShortPassword: ForwardRefRenderFunction< className, closeable, autoFocus, + round, onFocus, onChange, onConfirm, @@ -122,15 +123,12 @@ export const InternalShortPassword: ForwardRefRenderFunction< return ( diff --git a/src/packages/shortpassword/shortpassword.tsx b/src/packages/shortpassword/shortpassword.tsx index c72c2cf113..c236536943 100644 --- a/src/packages/shortpassword/shortpassword.tsx +++ b/src/packages/shortpassword/shortpassword.tsx @@ -61,6 +61,7 @@ export const InternalShortPassword: ForwardRefRenderFunction< className, closeable, autoFocus, + round, onFocus, onChange, onConfirm, @@ -121,15 +122,12 @@ export const InternalShortPassword: ForwardRefRenderFunction< return (