🎈 perf(修复色卡图片暂无问题):
This commit is contained in:
parent
f33deb7792
commit
bbad78f212
@ -39,13 +39,13 @@ export default (props: Param) => {
|
|||||||
e.stopPropagation()
|
e.stopPropagation()
|
||||||
onCancel?.(id)
|
onCancel?.(id)
|
||||||
}
|
}
|
||||||
const labAndImgObj = useMemo(
|
// const labAndImgObj = useMemo(
|
||||||
() => {
|
// () => {
|
||||||
const res = value.color_card_info[0]
|
// const res = value.color_card_info[0]
|
||||||
return { lab: res.lab, rgb: res.rgb, texture_url: res.texture_url }
|
// return { lab: res.lab, rgb: res.rgb, texture_url: res.texture_url }
|
||||||
},
|
// },
|
||||||
[value],
|
// [value],
|
||||||
)
|
// )
|
||||||
|
|
||||||
return <View className={styles.list_item} onClick={() => goLink('/pages/colorCardOrderDetail/index', { id: value.order_id })} >
|
return <View className={styles.list_item} onClick={() => goLink('/pages/colorCardOrderDetail/index', { id: value.order_id })} >
|
||||||
<View className={styles.item_header}>
|
<View className={styles.item_header}>
|
||||||
@ -54,7 +54,7 @@ export default (props: Param) => {
|
|||||||
</View>
|
</View>
|
||||||
<View className={styles.item_con}>
|
<View className={styles.item_con}>
|
||||||
<View className={styles.image}>
|
<View className={styles.image}>
|
||||||
<LabAndImg value={labAndImgObj} showStatus={false} />
|
<LabAndImg value={{}} showStatus={false} />
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
<View className={styles.item_con_desc}>
|
<View className={styles.item_con_desc}>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user