PC-20250623MANY\Administrator
2025-09-29 58b0f1e9bd03a472321acf1dfc4e89fc4ce9df7a
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,26 +37,21 @@
      actions: [
        {
          text: "English",
          lang: "en",
          lang: "en"
        },
        {
          text: "中文(繁体)",
          lang: "zh-Hant"
        },
        {
          text: "中文",
          lang: "zh-CN"
        },
        // {
        //   text: "简体中文",
        //   lang: "zh-CN",
        // },
        { text: "हिंदी", lang: "hi" },
        // {
        //   text: "Deutsch",
        //   lang: "de",
        // }, //德语
        // {
        //   text: "Français",
        //   lang: "fr",
        // }, //法语
        // {
        //   text: "日本語にほんご",
        //   lang: "ja",
        // },
      ],
        //   text: "हिंदी",
        //   lang: "hi"
        // }
      ]
    };
  },
  mounted() {
@@ -67,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) {
@@ -78,8 +73,8 @@
    },
    popClose() {
      this.settingDialog = false;
    },
  },
    }
  }
};
</script>