🐞 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",
|
"query": "id=1",
|
||||||
"launchMode": "default",
|
"launchMode": "default",
|
||||||
"scene": null
|
"scene": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"pathName": "pages/sampleCutting/sampleCuttingList/index",
|
||||||
|
"query": "",
|
||||||
|
"launchMode": "default",
|
||||||
|
"scene": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -298,30 +298,32 @@ const SampleCuttingList = () => {
|
|||||||
</View>
|
</View>
|
||||||
{
|
{
|
||||||
productList.length
|
productList.length
|
||||||
? <View className={styles.productList}>
|
? <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)
|
productList?.map((item, index) => {
|
||||||
return <View key={index} className={styles.item} onClick={() => handleClickProductColor(item)}>
|
const isChecked = productMultipleSelection.some(mul => mul.product_color_id === item.product_color_id)
|
||||||
<View className={classNames(styles.item_color, isChecked ? styles.productColorActive : null)}>
|
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}>
|
isChecked
|
||||||
<IconFont name="icon-xuanzhongyanse" size={32}></IconFont>
|
? <View className={styles.activeIcon}>
|
||||||
</View>
|
<IconFont name="icon-xuanzhongyanse" size={32}></IconFont>
|
||||||
: null
|
</View>
|
||||||
}
|
: null
|
||||||
<LabAndImg
|
}
|
||||||
value={item}
|
<LabAndImg
|
||||||
round
|
value={item}
|
||||||
name={formatRemoveHashTag(item.product_color_code)}
|
round
|
||||||
/>
|
name={formatRemoveHashTag(item.product_color_code)}
|
||||||
|
/>
|
||||||
|
</View>
|
||||||
|
<View className={styles.item_name}>{item.product_color_name}</View>
|
||||||
</View>
|
</View>
|
||||||
<View className={styles.item_name}>{item.product_color_name}</View>
|
})
|
||||||
</View>
|
}
|
||||||
})
|
</View>
|
||||||
}
|
</ScrollView>
|
||||||
</View>
|
|
||||||
: <Empty text="暂无数据" />
|
: <Empty text="暂无数据" />
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user