Commit 4217cb9b authored by Bill's avatar Bill

feat: 添加h5品类导航页

parent 1e661c29
...@@ -200,7 +200,7 @@ const TemplateDetail: React.FC<TemplateDetailPropsType> = (props) => { ...@@ -200,7 +200,7 @@ const TemplateDetail: React.FC<TemplateDetailPropsType> = (props) => {
) )
} }
{ {
(type === TEMPLATE_TYPE_TEXT.mall && (detailInfo?.environment === 4 || detailInfo?.environment === 3)) && ( (type === TEMPLATE_TYPE_TEXT.mall && ([2, 3, 4].includes(detailInfo?.environment!))) && (
<div className={cx(styles.btn, styles.renovation)} onClick={() => window.location.href = `/pageCustomized/mobile/template/category?id=${id}&template=${detailInfo?.fileName}&environment=${detailInfo?.environment}&shopId=${detailInfo?.shopId}`} > <div className={cx(styles.btn, styles.renovation)} onClick={() => window.location.href = `/pageCustomized/mobile/template/category?id=${id}&template=${detailInfo?.fileName}&environment=${detailInfo?.environment}&shopId=${detailInfo?.shopId}`} >
<LayoutOutlined /> <LayoutOutlined />
<label>品类导航装修</label> <label>品类导航装修</label>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment