提交 856a7975 作者: ZhangLingKun

功能:小程序查看功能隐藏

上级 99283bc9
流水线 #7682 已通过 于阶段
in 4 分 47 秒
...@@ -34,7 +34,7 @@ const HomeBrandView = () => { ...@@ -34,7 +34,7 @@ const HomeBrandView = () => {
getListCompanyInfo().then(); getListCompanyInfo().then();
}, []); }, []);
return ( return (
<HomeBrandWrap> <HomeBrandWrap style={{ display: 'none' }}>
<QrcodePopover path={'page-product/product-company/index'}> <QrcodePopover path={'page-product/product-company/index'}>
<div className="brand-item"> <div className="brand-item">
<div className="item-icon"> <div className="item-icon">
......
...@@ -141,7 +141,7 @@ const HomeTaskView = () => { ...@@ -141,7 +141,7 @@ const HomeTaskView = () => {
getAppPublishList().then(); getAppPublishList().then();
}, []); }, []);
return ( return (
<HomeTaskWrap> <HomeTaskWrap style={{ display: 'none' }}>
<div className="task-title"> <div className="task-title">
<div className="title-label">抢单大厅</div> <div className="title-label">抢单大厅</div>
<QrcodePopover path={'page-service/service-task/index'}> <QrcodePopover path={'page-service/service-task/index'}>
......
...@@ -63,13 +63,19 @@ const QrcodePopover: React.FC<{ ...@@ -63,13 +63,19 @@ const QrcodePopover: React.FC<{
trigger={'click'} trigger={'click'}
placement={placement || 'bottomRight'} placement={placement || 'bottomRight'}
onOpenChange={handleOpenChange} onOpenChange={handleOpenChange}
style={{ display: 'none' }}
> >
<div style={{ display: 'none' }}>
{children && children} {children && children}
{text && ( {text && (
<Button type="link" style={{ color: '#3366cc', padding: 0, margin: 0 }}> <Button
type="link"
style={{ color: '#3366cc', padding: 0, margin: 0 }}
>
{text} {text}
</Button> </Button>
)} )}
</div>
</Popover> </Popover>
); );
}; };
......
...@@ -35,24 +35,24 @@ const ServiceHeadView: React.FC<{ detail: DetailType }> = ({ detail }) => { ...@@ -35,24 +35,24 @@ const ServiceHeadView: React.FC<{ detail: DetailType }> = ({ detail }) => {
} }
// 立即购买 // 立即购买
if (type === 1) { if (type === 1) {
dispatch( // dispatch(
setGlobalData({ // setGlobalData({
qrcodeModalVisible: true, // qrcodeModalVisible: true,
qrcodeModalPath: 'page-service/service-flyer/index', // qrcodeModalPath: 'page-service/service-flyer/index',
qrcodeModalScene: `id=${Number(detail?.id)}`, // qrcodeModalScene: `id=${Number(detail?.id)}`,
}), // }),
); // );
return; return;
} }
// 在线沟通 // 在线沟通
if (type === 2) { if (type === 2) {
dispatch( // dispatch(
setGlobalData({ // setGlobalData({
qrcodeModalVisible: true, // qrcodeModalVisible: true,
qrcodeModalPath: 'page-service/service-detail/index', // qrcodeModalPath: 'page-service/service-detail/index',
qrcodeModalScene: `id=${Number(detail?.id)}`, // qrcodeModalScene: `id=${Number(detail?.id)}`,
}), // }),
); // );
} }
}; };
// 转换swiper图片 // 转换swiper图片
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论