From 536d4d648941b493cb12ab89b1adb53aab952c78 Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Sun, 17 Aug 2025 18:06:36 +0800
Subject: [PATCH] 1
---
src/components/Language/index.vue | 20 ++++++++++++--------
1 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/src/components/Language/index.vue b/src/components/Language/index.vue
index e021f54..2695076 100644
--- a/src/components/Language/index.vue
+++ b/src/components/Language/index.vue
@@ -3,7 +3,7 @@
<van-popup
v-model="settingDialog"
position="bottom"
- :style="{ height: '35%' }"
+ :style="{ height: '35%', backgroundColor: '#444' }"
@close="popClose"
>
<div
@@ -37,17 +37,21 @@
actions: [
{
text: "English",
- lang: "en",
+ lang: "en"
},
{
text: "中文(繁体)",
lang: "zh-Hant"
},
{
- text: "हिंदी",
- lang: "hi"
+ text: "中文",
+ lang: "zh-CN"
},
- ],
+ // {
+ // text: "हिंदी",
+ // lang: "hi"
+ // }
+ ]
};
},
mounted() {
@@ -58,7 +62,7 @@
},
methods: {
getText(val = "hi") {
- let arr = this.actions.filter((item) => item.lang === val);
+ let arr = this.actions.filter(item => item.lang === val);
return arr[0].text;
},
qkclick(e) {
@@ -69,8 +73,8 @@
},
popClose() {
this.settingDialog = false;
- },
- },
+ }
+ }
};
</script>
--
Gitblit v1.9.3