✨ feat:申请退货80%
This commit is contained in:
@@ -207,6 +207,16 @@ export default () => {
|
||||
}
|
||||
})
|
||||
}
|
||||
const proview = (item) => {
|
||||
Taro.previewImage({
|
||||
current: IMG_CND_Prefix + item, // 当前显示图片的 http 链接
|
||||
urls: DeatailObj.fabric_piece_accessory_url.map((item) => {
|
||||
item = IMG_CND_Prefix + item;
|
||||
return item;
|
||||
}), // 需要预览的图片 http 链接列表
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
return (
|
||||
<View className={styles.main}>
|
||||
@@ -258,7 +268,7 @@ export default () => {
|
||||
{
|
||||
DeatailObj?.fabric_piece_accessory_url?.length > 0 && DeatailObj?.fabric_piece_accessory_url.map((item, index) => {
|
||||
return (
|
||||
<Image className={styles.pic} lazyLoad key={index}
|
||||
<Image className={styles.pic} lazyLoad key={index} onClick={() => proview(item)}
|
||||
mode="aspectFill" src={IMG_CND_Prefix + item}></Image>
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user