activityInsureList.map((item, index) => {
return <View className={`insurance-item flex flex-column flex-align-item-center ${chooseActivity.prodId === item.prodId ? 'choose' : ''}`} key={index} onClick={() => {
dispatch(setChooseActivity({
...chooseActivity,
prodId: chooseActivity.prodId === item.prodId && chooseActivity.insuranceType !== 1 ? '' : item.prodId
}))
}}>
react,taro选中与取消选中
最新推荐文章于 2024-08-27 22:17:30 发布