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
+13 -4
View File
@@ -1,8 +1,8 @@
<template>
<view class="legal-page">
<view class="header">
<view class="title">用户协议</view>
<view class="subtitle">适用于风电者共享风扇租借服务最后更新{{ effectiveDate }}</view>
<view class="title">{{ $t('legal.agreement') }}</view>
<view class="subtitle">{{ $t('legal.applicableToService') }}{{ $t('legal.lastUpdate') }}{{ effectiveDate }}</view>
</view>
<scroll-view class="content" scroll-y>
@@ -71,12 +71,21 @@
<view class="p">15.2 协议条款如被认定无效或不可执行不影响其他条款的效力与执行</view>
</scroll-view>
<view class="footer">如对本协议有疑问请前往我的-客服咨询</view>
<view class="footer">{{ $t('legal.footerNotice') }}</view>
</view>
</template>
<script setup>
import { ref } from 'vue'
import { ref, onMounted } from 'vue'
import { useI18n } from '@/utils/i18n.js'
const { t: $t } = useI18n()
onMounted(() => {
uni.setNavigationBarTitle({
title: $t('legal.agreement')
})
})
const brandName = '风电者'
const companyName = '深圳乐慕智云科技有限公司'
+14 -4
View File
@@ -1,8 +1,8 @@
<template>
<view class="legal-page">
<view class="header">
<view class="title">隐私政策</view>
<view class="subtitle">适用于风电者共享风扇租借服务最后更新{{ effectiveDate }}</view>
<view class="title">{{ $t('legal.privacy') }}</view>
<view class="subtitle">{{ $t('legal.applicableToService') }}{{ $t('legal.lastUpdate') }}{{ effectiveDate }}</view>
</view>
<view class="card notice">
@@ -56,14 +56,24 @@
<view class="p">10.1 您可通过我的-客服与我们联系以行使前述权利或就本政策提出疑问</view>
</scroll-view>
<view class="footer">如对本政策有疑问请前往我的-客服咨询</view>
<view class="footer">{{ $t('legal.footerNoticePolicy') }}</view>
</view>
</template>
<script setup>
import {
ref
ref,
onMounted
} from 'vue'
import { useI18n } from '@/utils/i18n.js'
const { t: $t } = useI18n()
onMounted(() => {
uni.setNavigationBarTitle({
title: $t('legal.privacy')
})
})
const brandName = '风电者'
const companyName = '深圳乐慕智云科技有限公司'