提交 856a7975 作者: ZhangLingKun

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

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