ComposeListItem 5.0样式刷新需求 因需求裁剪回退

Signed-off-by: zhangzuhui <zhangzuhui1@h-partners.com>
This commit is contained in:
zhangzuhui 2024-06-29 10:56:58 +08:00
parent 57d1f820c7
commit 7f7ac990e0

View File

@ -18,8 +18,6 @@
* @kit ArkUI
*/
import { TextModifier, ImageModifier } from './@ohos.arkui.modifier';
/**
* Declare enum IconType
* @enum { IconType }
@ -334,38 +332,6 @@ export declare class ContentItem {
* @since 11
*/
description?: ResourceStr;
/**
* Image modifier for icon.
* @type { ?ImageModifier }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 12
*/
iconImageModifier?: ImageModifier;
/**
* Text modifier for primaryText.
* @type { ?TextModifier }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 12
*/
primaryTextModifier?: TextModifier;
/**
* Text modifier for secondaryText.
* @type { ?TextModifier }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 12
*/
secondaryTextModifier?: TextModifier;
/**
* Text modifier for description.
* @type { ?TextModifier }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 12
*/
descriptionModifier?: TextModifier;
}
/**
@ -558,22 +524,4 @@ export declare struct ComposeListItem {
* @since 11
*/
@Prop operateItem?: OperateItem;
/**
* Sets the compose item's space.Its length unit is vp.
* @type { ?number }
* @default the default value is 12.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 12
*/
@Prop itemSpace?: number;
/**
* Sets the compose item's padding.
* @type { ?LocalizedPadding }
* @default the default value is { start: LengthMetrics.vp(12), end: LengthMetrics.vp(12)}.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @since 12
*/
@Prop composeItemPadding?: LocalizedPadding;
}