feat:国际化多语言适配

This commit is contained in:
2025-10-29 15:48:40 +08:00
parent 985d739324
commit 3d67dc928d
41 changed files with 2636 additions and 2801 deletions
+7 -1
View File
@@ -10,6 +10,9 @@
ref,
onMounted
} from 'vue'
import { useI18n } from '@/utils/i18n.js'
const { t: $t } = useI18n()
// 外部网页地址
const webUrl = ref('https://joininvestment.gxfs123.com/')
@@ -24,13 +27,16 @@
const handleError = (e) => {
console.error('web-view 加载错误:', e)
uni.showToast({
title: '页面加载失败',
title: $t('join.pageLoadFailed'),
icon: 'none',
duration: 2000
})
}
onMounted(() => {
uni.setNavigationBarTitle({
title: $t('join.title')
})
console.log('招商页面加载,外部网址:', webUrl.value)
})
</script>