File tree Expand file tree Collapse file tree 4 files changed +19
-8
lines changed Expand file tree Collapse file tree 4 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 170170 "name" : " 布局组件" ,
171171 "enName" : " layout" ,
172172 "packages" : [
173-
173+
174174 {
175175 "version" : " 3.0.0" ,
176176 "name" : " Divider" ,
777777 "show" : true ,
778778 "taro" : true ,
779779 "author" : " Drjingfubo" ,
780- "dd" : false
780+ "dd" : true
781781 },
782782 {
783783 "version" : " 2.0.0" ,
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export const Overlay: FunctionComponent<
4747 const classes = classNames ( classPrefix , className )
4848 const styles = {
4949 ...style ,
50- zIndex,
50+ // zIndex,
5151 }
5252
5353 const handleClick = ( e : ITouchEvent ) => {
Original file line number Diff line number Diff line change 11@import ' ../popup/popup.scss' ;
22
33.nut-shortpassword {
4+ & -popup {
5+ padding : 32px 24px 28px 24px ;
6+ borderradius : 12px ;
7+ textalign : center ;
8+ }
9+
410 & -title {
11+ display : flex ;
12+ justify-content : center ;
513 line-height : 1 ;
614 font-size : $font-size-l ;
715 color : $color-title ;
816 }
917
1018 & -description {
19+ display : flex ;
20+ justify-content : center ;
1121 margin-top : 12px ;
1222 margin-bottom : 24px ;
1323 line-height : 1 ;
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ export interface ShortPasswordProps extends PopupProps {
3737const defaultProps = {
3838 ...ComponentDefaults ,
3939 value : '' ,
40+ zIndex : 1002 ,
4041 visible : false ,
4142 plain : false ,
4243 hideFooter : true ,
@@ -62,6 +63,8 @@ export const InternalShortPassword: ForwardRefRenderFunction<
6263 className,
6364 closeable,
6465 autoFocus,
66+ zIndex,
67+ round,
6568 onFocus,
6669 onChange,
6770 onConfirm,
@@ -122,15 +125,13 @@ export const InternalShortPassword: ForwardRefRenderFunction<
122125
123126 return (
124127 < Popup
125- style = { {
126- padding : '32px 24px 28px 24px' ,
127- borderRadius : '12px' ,
128- textAlign : 'center' ,
129- } }
128+ className = { `${ classPrefix } -popup` }
130129 visible = { visible }
131130 closeable
132131 onOverlayClick = { onClose }
133132 onCloseIconClick = { onClose }
133+ zIndex = { zIndex }
134+ round
134135 { ...rest }
135136 >
136137 < View className = { classNames ( classPrefix , className ) } style = { style } >
You can’t perform that action at this time.
0 commit comments