@tplc/business
Version:
139 lines (133 loc) • 3.69 kB
text/typescript
import { CSSProperties } from 'vue'
import { TagType } from '@tplc/wot/components/wd-tag/types'
export interface LcbProductItemProps {
// Define the component's prop types here
className?: string
layoutType?: 'vertical' | 'horizontal'
titleLineClamp?: number
showArea?: string
// area在图片上面
areaOnImg?: boolean
areaColor?: string
areaFontSize?: number
tagOverflowWrap?: boolean
tagType?: TagType
tagContentColor?: string
addressOnImg?: boolean
tagBgColor?: string
tagPlain?: boolean
tagMark?: boolean
tagRound?: boolean
distanceUnit?: string
imageType?: 'square' | 'vertical' | 'horizontal'
borderRadius?: number
coverImg?: any
productName?: any
headImg?: string
userName?: string
subTitle?: any
price?: any
priceUnit?: any
priceSuffix?: any
priceTips?: any
scribePrice?: any
scribePriceUnit?: any
scribePriceSuffix?: any
tags?: any
addressIntro?: any
distance?: any
scoreAvg?: any
scoreTips?: any
level?: any
imgCornerIcon?: any
imgBottomIcon?: any
titleIcon?: any
userInteractionInfo?: any
orderTips?: any
distanceTips?: any
orderSkuCountTips?: any
coverImgVisible?: boolean
productNameVisible?: boolean
subTitleVisible?: boolean
userInfoVisible?: boolean
priceVisible?: boolean
priceUnitVisible?: boolean
priceSuffixVisible?: boolean
priceTipsVisible?: boolean
scribePriceVisible?: boolean
scribePriceUnitVisible?: boolean
scribePriceSuffixVisible?: boolean
tagsVisible?: boolean
addressIntroVisible?: boolean
distanceVisible?: boolean
scoreAvgVisible?: boolean
scoreTipsVisible?: boolean
levelVisible?: boolean
imgCornerIconVisible?: boolean
imgBottomIconVisible?: boolean
titleIconVisible?: boolean
userInteractionInfoVisible?: boolean
orderTipsVisible?: boolean
distanceTipsVisible?: boolean
orderSkuCountTipsVisible?: boolean
coverImgClass?: string
productNameClass?: string
subTitleClass?: string
priceClass?: string
priceUnitClass?: string
priceSuffixClass?: string
priceTipsClass?: string
scribePriceClass?: string
scribePriceUnitClass?: string
scribePriceSuffixClass?: string
tagsClass?: string
tagsWrapperClass?: string
addressIntroClass?: string
distanceClass?: string
scoreAvgClass?: string
scoreTipsClass?: string
levelClass?: string
imgCornerIconClass?: string
imgBottomIconClass?: string
titleIconClass?: string
userInteractionInfoClass?: string
orderTipsClass?: string
distanceTipsClass?: string
orderSkuCountTipsClass?: string
coverImgStyle?: CSSProperties
productNameStyle?: CSSProperties
subTitleStyle?: CSSProperties
priceStyle?: CSSProperties
priceUnitStyle?: CSSProperties
priceSuffixStyle?: CSSProperties
priceTipsStyle?: CSSProperties
scribePriceStyle?: CSSProperties
scribePriceUnitStyle?: CSSProperties
scribePriceSuffixStyle?: CSSProperties
tagsStyle?: CSSProperties
tagsWrapperStyle?: CSSProperties
addressIntroStyle?: CSSProperties
distanceStyle?: CSSProperties
scoreAvgStyle?: CSSProperties
scoreTipsStyle?: CSSProperties
levelStyle?: CSSProperties
imgCornerIconStyle?: CSSProperties
imgBottomIconStyle?: CSSProperties
titleIconStyle?: CSSProperties
userInteractionInfoStyle?: CSSProperties
orderTipsStyle?: CSSProperties
distanceTipsStyle?: CSSProperties
orderSkuCountTipsStyle?: CSSProperties
blurSize?: number
shadowColor?: string
shadowSize?: number
borderWidth?: number
borderColor?: string
borderMode?: 'full' | 'content'
itemVerticalPadding?: number
itemHorizontalPadding?: number
itemContentPt?: number
itemContentPr?: number
itemContentPb?: number
itemContentPl?: number
}