refactor: 将项目内硬编码文本替换为多语言调用

统一替换所有页面和组件中的硬编码字符串为 $lang 多语言方法调用,提升项目国际化适配能力
This commit is contained in:
2026-06-22 14:04:13 +08:00
parent 46508c7d55
commit 2337e3cacf
38 changed files with 505 additions and 511 deletions

View File

@@ -34,11 +34,11 @@
<view class="company-logo"><image :src="$util.img(packageItem.express_company_image)" show-menu-by-longpress></image></view>
<view class="info">
<view class="company">
<text>承运公司: {{ packageItem.express_company_name }}</text>
<text>{{ $lang('logistics.carrierCompany') }}: {{ packageItem.express_company_name }}</text>
</view>
<view class="no">
<text>
运单号:
{{ $lang('logistics.waybillNo') }}:
<text class="color-tip">{{ packageItem.delivery_no }}</text>
</text>
<text class="iconfont icon-fuzhi" @click="copyDeliveryNo(packageItem.delivery_no)"></text>
@@ -124,7 +124,7 @@ export default {
if (this.$refs.loadingCover) this.$refs.loadingCover.hide();
} else {
this.$util.showToast({
title: '未获取到订单信息!'
title: this.$lang('order.noOrderInfo')
});
setTimeout(() => {
this.$util.redirectTo('/pages_order/list');