From 4e0d61d271cf51bcb3709986064d6bbfd84be896 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Thu, 18 Sep 2025 17:35:33 +0800
Subject: [PATCH] 1
---
src/App.vue | 27 +++++++++++----------------
1 files changed, 11 insertions(+), 16 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 77c8cf9..ac2b7f6 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 () => {
@@ -119,7 +119,7 @@
}
#cryptos {
- background-color: $mainbgWhiteColor;
+ // background-color: $mainbgWhiteColor;
// 上传图片框大小设置
.van-uploader__upload {
@@ -139,10 +139,6 @@
// tab标签短横线颜色
.van-tabs__line {
background-color: $active_line !important;
- }
-
- .van-tabs__wrap {
- // height: 88px !important;
}
.van-tab__text--ellipsis {
@@ -218,8 +214,7 @@
.list-quatation {
.van-cell {
padding: 15px 0 !important;
- background: $mainbgWhiteColor;
- // background: $inp-b;
+ background: $selectSymbol_background;
&::after {
border: none;
@@ -347,7 +342,7 @@
}
.van-popup {
- background: $mainbgWhiteColor;
+ background: $main_background;
margin: 0 auto;
}
@@ -361,7 +356,7 @@
}
.van-dialog {
- background: $mainbgWhiteColor;
+ background: $main_background;
}
.van-dialog__header {
--
Gitblit v1.9.3