|
|
@@ -14,10 +14,10 @@ function ViewHot({ activeIndex, closeFn }: { activeIndex: number; closeFn: () =>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div className={styles.bottom}>
|
|
|
- <div
|
|
|
+ {cardNames.find(v => v.id === activeIndex)?.modelShow && <div
|
|
|
className={styles.tab}
|
|
|
- onClick={() =>cardNames[activeIndex].modelShow && history.replace(`/view/atlas?id=${activeIndex}`)}
|
|
|
- ></div>
|
|
|
+ onClick={() => history.replace(`/view/atlas?id=${activeIndex}`)}
|
|
|
+ ></div>}
|
|
|
</div>
|
|
|
<div className={styles.closeBtn} onClick={closeFn}>
|
|
|
<img src={require('../../../assets/img/close_M.png')} alt='' />
|