-
-
-
-
setChecked(e.target.checked)} className="w-8 h-8"/>
-
我已阅读并同意《用户协议》和《隐私协议》
+
+
+
+
+
setChecked(e.target.checked) } className="w-5 h-5" />
+
我已阅读并同意《用户协议》和《隐私协议》
-
+
+
+ {/* 这里放入模态框内部的内容 */}
+ 此处放入微信二维码
+
+
);
}
-export default Login;
-
+export default Login;
\ No newline at end of file
diff --git a/src/app/wallet/page.tsx b/src/app/wallet/page.tsx
new file mode 100644
index 0000000..949cb7a
--- /dev/null
+++ b/src/app/wallet/page.tsx
@@ -0,0 +1,67 @@
+"use client";
+
+import Image from "next/image"
+import React, {useState} from "react"
+
+const wallet = () => {
+ let count = 1234.01;
+ let frozen = 1234.22;
+ let cashable = 1234.78;
+
+
+ const [selectedButton, setSelectedButton] = useState
(1); // 追踪选中的按钮
+
+ const handleButtonClick = (button:number) => {
+ if (selectedButton !== button) {
+ // 如果点击的是当前选中的按钮,则取消选中状态
+ setSelectedButton(button);
+ }
+ };
+
+ return (
+
+
+
+
+
+
+ 账户余额
+
+
+ ¥{count}
+
+
+
+ 冻结中 ¥{frozen}
+
+
+ 可提现 ¥{cashable}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ );
+}
+
+export default wallet;
\ No newline at end of file