fix: 修复多页面语言包key路径错误问题

统一修正所有页面中调用语言包时的路径命名,将短横线/下划线格式调整为正确的嵌套路径格式,确保语言文本可以正常加载
This commit is contained in:
2026-07-03 17:02:43 +08:00
parent a27e3518da
commit 92e8823566
11 changed files with 129 additions and 129 deletions

View File

@@ -15,32 +15,32 @@
<view class="refund-form">
<view class="item-wrap" @click="openPopup('refundReasonPopup')">
<view class="label">{{ $lang('order.refundBatch.form.refundReason') }}</view>
<view class="label">{{ $lang('order.refund_batch.form.refundReason') }}</view>
<view class="cont reason">
<text class="color-tip" v-if="!refund_reason.length">{{ $lang('order.refundBatch.form.pleaseSelect') }}</text>
<text class="color-tip" v-if="!refund_reason.length">{{ $lang('order.refund_batch.form.pleaseSelect') }}</text>
<text class="color-tip" v-else>{{ refund_reason }}</text>
</view>
<text class="iconfont icon-right"></text>
</view>
<view class="item-wrap">
<view class="label">{{ $lang('order.refundBatch.form.refundType') }}</view>
<view class="cont color-base-text" v-if="refund_type == 1">{{ $lang('order.refundBatch.form.refundOnly') }}</view>
<view class="cont color-base-text" v-else>{{ $lang('order.refundBatch.form.returnRefund') }}</view>
<view class="label">{{ $lang('order.refund_batch.form.refundType') }}</view>
<view class="cont color-base-text" v-if="refund_type == 1">{{ $lang('order.refund_batch.form.refundOnly') }}</view>
<view class="cont color-base-text" v-else>{{ $lang('order.refund_batch.form.returnRefund') }}</view>
</view>
<view class="item-wrap">
<view class="label">{{ $lang('order.refundBatch.form.refundAmount') }}</view>
<view class="label">{{ $lang('order.refund_batch.form.refundAmount') }}</view>
<view class="cont color-base-text">{{ $lang('common.currencySymbol') }}{{ refund_data.refund_money }}</view>
</view>
</view>
<view class="refund-form">
<view class="item-wrap"><view class="label active">{{ $lang('order.refundBatch.form.refundRemark') }}</view></view>
<view class="item-wrap"><view class="label active">{{ $lang('order.refund_batch.form.refundRemark') }}</view></view>
<!-- #ifdef MP-WEIXIN -->
<textarea
v-if="!showText"
class="newText"
:placeholder="$lang('order.refundBatch.form.remarkPlaceholder')"
:placeholder="$lang('order.refund_batch.form.remarkPlaceholder')"
placeholder-class="color-tip font-size-tag"
:auto-height="true"
v-model="refund_remark"
@@ -49,7 +49,7 @@
<!-- #ifdef H5 -->
<textarea
class="newText"
:placeholder="$lang('order.refundBatch.form.remarkPlaceholder')"
:placeholder="$lang('order.refund_batch.form.remarkPlaceholder')"
@blur="textBlur()"
placeholder-class="color-tip font-size-tag"
:auto-height="true"
@@ -68,7 +68,7 @@
<uni-popup ref="refundReasonPopup" type="bottom" @change="change()">
<view class="refund-reason-popup popup">
<view class="popup-header">
<view><text class="tit">{{ $lang('order.refundBatch.reasonPopup.title') }}</text></view>
<view><text class="tit">{{ $lang('order.refund_batch.reasonPopup.title') }}</text></view>
<view class="align-right" @click="closePopup('refundReasonPopup')"><text class="iconfont icon-close"></text></view>
</view>
<view class="popup-body">
@@ -82,7 +82,7 @@
</scroll-view>
</view>
<view class="popup-footer" :class="{ 'bottom-safe-area': isIphoneX }">
<view class="confirm-btn color-base-bg" @click="closePopup('refundReasonPopup')">{{ $lang('order.refundBatch.reasonPopup.confirm') }}</view>
<view class="confirm-btn color-base-bg" @click="closePopup('refundReasonPopup')">{{ $lang('order.refund_batch.reasonPopup.confirm') }}</view>
</view>
</view>
</uni-popup>
@@ -164,7 +164,7 @@ export default {
this.refund_data = res.data;
if (this.$refs.loadingCover) this.$refs.loadingCover.hide();
} else {
this.$util.showToast({ title: this.$lang('order.refundBatch.toast.noRefundInfo') });
this.$util.showToast({ title: this.$lang('order.refund_batch.toast.noRefundInfo') });
setTimeout(() => {
this.$util.redirectTo('/pages_order/list');
}, 1000);
@@ -241,7 +241,7 @@ export default {
},
verify() {
if (this.refund_reason == '') {
this.$util.showToast({ title: this.$lang('order.refundBatch.validate.pleaseSelectRefundReason') });
this.$util.showToast({ title: this.$lang('order.refund_batch.validate.pleaseSelectRefundReason') });
return false;
}
return true;