Refactor(StoreCard): Fix the bug that open android emulator automatically

Fix the bug that open android emulator automatically when click mask
This commit is contained in:
2024-05-08 15:10:15 +08:00
parent c9969a039d
commit c62e5c1e77
2 changed files with 3 additions and 4 deletions

View File

@@ -32,6 +32,7 @@
gap: 4px;
opacity: 0;
transition: all 0.2s;
z-index: 100;
> *:hover {
color: constants.$font-secondary-color;

View File

@@ -75,10 +75,9 @@ const StoreCard = ({
}
if (platform === 'ANDROID') {
void modal.confirm({
centered: true,
icon: <Icon style={{ color: COLOR_MAIN }} component={IconOxygenInfo} />,
title: 'Android 端',
centered: true,
maskClosable: true,
content: (
<FlexBox className={'android-qrcode'}>
<AntdQRCode
@@ -147,10 +146,9 @@ const StoreCard = ({
const handleOnAndroidBtnClick = (e: MouseEvent<HTMLDivElement>) => {
e.stopPropagation()
void modal.confirm({
centered: true,
icon: <Icon style={{ color: COLOR_MAIN }} component={IconOxygenInfo} />,
title: 'Android 端',
centered: true,
maskClosable: true,
content: (
<FlexBox className={'android-qrcode'}>
<AntdQRCode