refactor(i18n): 替换硬编码文本为多语言配置

1.  删除冗余的语言文件 contenr.js
2.  将页面内硬编码字符串替换为$this.lang()调用
3.  整理common.js内的多语言词条,归类移动旧有配置到正确分组
This commit is contained in:
2026-06-22 18:08:03 +08:00
parent b30ba914b9
commit e9483e26e5
5 changed files with 73 additions and 46 deletions

View File

@@ -140,8 +140,8 @@ export default {
})
} else {
uni.showModal({
title: '提示',
content: '您确定已经收到货物了吗?',
title: this.$lang('common.tip'),
content: this.$lang('order.confirmReceived'),
success: res => {
if (res.confirm) {
this.$api.sendRequest({
@@ -234,8 +234,8 @@ export default {
})
} else {
uni.showModal({
title: '提示',
content: '您确定要进行收货吗?',
title: this.$lang('common.tip'),
content: this.$lang('order.confirmTakeDelivery'),
success: res => {
if (res.confirm) {
this.$api.sendRequest({