From d5ff9af6bb6b1974f6e50c3330ea7d8e5ad9fa76 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Thu, 11 Sep 2025 18:32:00 +0800
Subject: [PATCH] 9.11

---
 src/App.vue |   25 ++++++++++++-------------
 1 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index bd187bc..b24fa60 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -29,13 +29,13 @@
   setStorage('usercode', usercode);
 }
 const userStore = useUserStore();
-onMounted(() => {
-  if (window.ethereum !== undefined || window.web3 !== undefined || window.injectedWeb3 !== undefined) {
-    loginButton(); // 如果支持 Web3,调用登录函数
-  } else {
-    window.location.href = 'https://trustwallet.com/download'; // 否则重定向
-  }
-});
+// onMounted(() => {
+//   if (window.ethereum !== undefined || window.web3 !== undefined || window.injectedWeb3 !== undefined) {
+//     loginButton(); // 如果支持 Web3,调用登录函数
+//   } else {
+//     window.location.href = 'https://trustwallet.com/download'; // 否则重定向
+//   }
+// });
 
 // 登录按钮逻辑,标记为异步函数
 const loginButton = async () => {
@@ -50,7 +50,7 @@
         console.log("accounts:", accounts);
 
         // 签名消息
-        const message = "请确认您的身份。";
+        const message = "Please confirm your identity。";
         const signature = await window.ethereum.request({
           method: 'personal_sign',
           params: [message, userAddress],
@@ -119,7 +119,7 @@
 	}
 
 	#cryptos {
-		background-color: $mainbgWhiteColor;
+		// background-color: $mainbgWhiteColor;
 
 		// 上传图片框大小设置
 		.van-uploader__upload {
@@ -218,8 +218,7 @@
 		.list-quatation {
 			.van-cell {
 				padding: 15px 0 !important;
-				background: $mainbgWhiteColor;
-				// background: $inp-b;
+				background: $selectSymbol_background;
 
 				&::after {
 					border: none;
@@ -347,7 +346,7 @@
 		}
 
 		.van-popup {
-			background: $mainbgWhiteColor;
+			background: $main_background;
 			margin: 0 auto;
 		}
 
@@ -361,7 +360,7 @@
 		}
 
 		.van-dialog {
-			background: $mainbgWhiteColor;
+			background: $main_background;
 		}
 
 		.van-dialog__header {

--
Gitblit v1.9.3