This commit is contained in:
LazuliKao 2024-09-24 23:11:34 +08:00
parent 7aac699184
commit 713ac78653

View file

@ -30,7 +30,7 @@ function QrCodeContent({ qrcode }: { qrcode: string }) {
style={{ style={{
display: "flex", display: "flex",
justifyContent: "center", justifyContent: "center",
flexDirection: "column", // flexDirection: "column",
textAlign: "center", textAlign: "center",
}} }}
> >
@ -43,7 +43,7 @@ function QrCodeContent({ qrcode }: { qrcode: string }) {
<div <div
style={{ style={{
textAlign: "center", textAlign: "center",
width: "90px", width: "120px",
display: "flex", display: "flex",
justifyContent: "center", justifyContent: "center",
}} }}
@ -51,7 +51,16 @@ function QrCodeContent({ qrcode }: { qrcode: string }) {
<Input readOnly={true} value="906370401" /> <Input readOnly={true} value="906370401" />
</div> </div>
</div> </div>
<div
style={{
display: "flex",
justifyContent: "center",
}}
>
<Button <Button
style={{
maxWidth: "320px",
}}
onClick={() => { onClick={() => {
const inputElement = document.querySelector( const inputElement = document.querySelector(
"input[value=\"906370401\"]", "input[value=\"906370401\"]",
@ -65,6 +74,7 @@ function QrCodeContent({ qrcode }: { qrcode: string }) {
</Button> </Button>
</div> </div>
</div>
</> </>
) )
} }