🐞 fix(修复图片显示问题):

This commit is contained in:
czm 2023-03-03 16:54:41 +08:00
parent e8d6ff30cb
commit a0b010c874
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ const ColorSelectItem = memo((props: ColorItemCom) => {
return <View key={item.id} className={styles.item} onClick={() => onSelect?.(item)}>
<View className={classNames(styles.item_color, item.status && styles.select_color)}>
<LabAndImg
value={{}}
value={{ lab: item.lab, rgb: item.rgb, texture_url: item.texture_url }}
round
name={formatHashTag(item.code)}
/>

View File

@ -406,7 +406,7 @@ const Details = (props: Params) => {
<View className={styles.productColorDialog_img}>
<LabAndImg
customImageStyle={{ borderRadius: '0' }}
suffix="!w1000"
suffix="!w800"
value={{ lab: currentDialogDetail.current!.lab, rgb: currentDialogDetail.current!.rgb, texture_url: currentDialogDetail.current!.texture_url, title: currentDialogDetail.current!.code }}
/>
</View>