Skip to main content

Group 组合

使用场景#

用来快捷的组合一组元素。

示例#

基本用法#

普通组合

inline

吸附组合#

用于将多个组件组合在一起,注意,子元素的圆角和边框必须在子元素的根节点上。

inline

任意组合#

任意组合组件

inline

API#

字段描述
attachedboolean
是否吸附在一起
spacingXStringOrNumber
水平间距
spacingYStringOrNumber
垂直间距
sizeStringOrNumber
pStringOrNumber
styleCSSProperties
classNamestring
colorColor
widthStringOrNumber
flexDirectionFlexDirection
topstring
bottomstring
rightstring
leftstring
mStringOrNumber
marginStringOrNumber
mtStringOrNumber
marginTopStringOrNumber
mrStringOrNumber
marginRightStringOrNumber
mbStringOrNumber
marginBottomStringOrNumber
mlStringOrNumber
marginLeftStringOrNumber
mxStringOrNumber
marginXStringOrNumber
myStringOrNumber
marginYStringOrNumber
paddingStringOrNumber
ptStringOrNumber
paddingTopStringOrNumber
prStringOrNumber
paddingRightStringOrNumber
pbStringOrNumber
paddingBottomStringOrNumber
plStringOrNumber
paddingLeftStringOrNumber
pxStringOrNumber
paddingXStringOrNumber
pyStringOrNumber
paddingYStringOrNumber
bgColor
backgroundColorColor
opacityOpacity
minWidthStringOrNumber
maxWidthStringOrNumber
heightStringOrNumber
minHeightStringOrNumber
maxHeightStringOrNumber
displayDisplay
verticalAlignVerticalAlign<0 | (string & {})>
overflowOverflow
overflowXOverflowX
overflowYOverflowY
fontFamilyFontFamily
fontStyleFontStyle
letterSpacingLetterSpacing<0 | (string & {})>
textAlignTextAlign
fontSizestring
fontWeightFontWeight
lineHeightStringOrNumber
alignItemsAlignItems
alignContentAlignContent
justifyItemsJustifyItems
justifyContentJustifyContent
flexWrapFlexWrap
flexFlex<Length>
flexGrowFlexGrow
flexShrinkFlexShrink
flexBasisFlexBasis<Length>
justifySelfJustifySelf
alignSelfAlignSelf
orderOrder
gridGapGridGap<Length>
gridRowGapGridRowGap<Length>
gridColumnGapGridColumnGap<Length>
gridColumnGridColumn
gridColumnStartGridColumnStart
gridColumnEndGridColumnEnd
gridRowGridRow
gridRowStartGridRowStart
gridRowEndGridRowEnd
gridAreaGridArea
gridTemplateRowsGridTemplateRows<0 | (string & {})>
gridTemplateColumnsGridTemplateColumns<0 | (string & {})>
gridTemplateAreasGridTemplateAreas
borderstring
borderTopstring
borderRightstring
borderBottomstring
borderLeftstring
borderWidthStringOrNumber
borderColorColor
borderTopColorColor
borderRightColorColor
borderBottomColorColor
borderLeftColorColor
borderRadiusstring
positionPosition
zIndexZIndex
boxShadowBoxShadow
textShadowTextShadow
Copyright © 2021 Alibaba Inc.
Built with ❤️ by hema-FE.