(ID1001127跳转到螺纹面料详情页):
This commit is contained in:
parent
dbcd906a9a
commit
e6d489ec0d
@ -20,6 +20,7 @@ import LabAndImg from '@/components/LabAndImg'
|
||||
import useCommonData from '@/use/useCommonData'
|
||||
import LabAndImgShow from '@/components/LabAndImgShow'
|
||||
import IconFont from '@/components/iconfont/iconfont'
|
||||
import { goLink } from '@/common/common'
|
||||
|
||||
interface param {
|
||||
show?: true | false
|
||||
@ -328,12 +329,16 @@ const OrderCount = ({ show = false, onClose, title = '', productId = 0, is_first
|
||||
}
|
||||
}, [show])
|
||||
|
||||
const onNavigator = () => {
|
||||
if (recommendStatus) { goLink('/pages/details/index', { id: productId }) }
|
||||
}
|
||||
|
||||
return (
|
||||
<View className={styles.shop_cart_main}>
|
||||
<Popup showTitle={false} show={showPopup} onClose={() => closePopup()}>
|
||||
<View className={styles.popup_con}>
|
||||
<View className={styles.header}>
|
||||
<View className={styles.header_title}>
|
||||
<View className={styles.header_title} onClick={onNavigator}>
|
||||
<Text>{recommendStatus ? recom_title : title}</Text>
|
||||
<IconFont name="icon-rukou" color="#000000FF" />
|
||||
</View>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user