🐞 fix(ID1001344): 【内部商城】-功能{添加剪样}:剪样不能完全呈现,上划该页面无反应
【【内部商城】-功能{添加剪样}:剪样不能完全呈现,上划该页面无反应】 https://www.tapd.cn/53459131/bugtrace/bugs/view/1153459131001001344
This commit is contained in:
parent
78348efef9
commit
bd53e19526
@ -30,6 +30,13 @@
|
||||
"query": "id=1",
|
||||
"launchMode": "default",
|
||||
"scene": null
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"pathName": "pages/sampleCutting/sampleCuttingList/index",
|
||||
"query": "",
|
||||
"launchMode": "default",
|
||||
"scene": null
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -298,30 +298,32 @@ const SampleCuttingList = () => {
|
||||
</View>
|
||||
{
|
||||
productList.length
|
||||
? <View className={styles.productList}>
|
||||
{
|
||||
productList?.map((item, index) => {
|
||||
const isChecked = productMultipleSelection.some(mul => mul.product_color_id === item.product_color_id)
|
||||
return <View key={index} className={styles.item} onClick={() => handleClickProductColor(item)}>
|
||||
<View className={classNames(styles.item_color, isChecked ? styles.productColorActive : null)}>
|
||||
{
|
||||
isChecked
|
||||
? <View className={styles.activeIcon}>
|
||||
<IconFont name="icon-xuanzhongyanse" size={32}></IconFont>
|
||||
</View>
|
||||
: null
|
||||
}
|
||||
<LabAndImg
|
||||
value={item}
|
||||
round
|
||||
name={formatRemoveHashTag(item.product_color_code)}
|
||||
/>
|
||||
? <ScrollView scrollY style={{ flex: '1 1 auto', overflow: 'hidden', maxHeight: '60vh' }}>
|
||||
<View className={styles.productList}>
|
||||
{
|
||||
productList?.map((item, index) => {
|
||||
const isChecked = productMultipleSelection.some(mul => mul.product_color_id === item.product_color_id)
|
||||
return <View key={index} className={styles.item} onClick={() => handleClickProductColor(item)}>
|
||||
<View className={classNames(styles.item_color, isChecked ? styles.productColorActive : null)}>
|
||||
{
|
||||
isChecked
|
||||
? <View className={styles.activeIcon}>
|
||||
<IconFont name="icon-xuanzhongyanse" size={32}></IconFont>
|
||||
</View>
|
||||
: null
|
||||
}
|
||||
<LabAndImg
|
||||
value={item}
|
||||
round
|
||||
name={formatRemoveHashTag(item.product_color_code)}
|
||||
/>
|
||||
</View>
|
||||
<View className={styles.item_name}>{item.product_color_name}</View>
|
||||
</View>
|
||||
<View className={styles.item_name}>{item.product_color_name}</View>
|
||||
</View>
|
||||
})
|
||||
}
|
||||
</View>
|
||||
})
|
||||
}
|
||||
</View>
|
||||
</ScrollView>
|
||||
: <Empty text="暂无数据" />
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user