refactor: 替换多页面国际化文本为硬编码中文内容

移除项目内大部分$lang()国际化调用,替换为直接中文文本,统一前端展示文案
This commit is contained in:
2026-06-23 08:55:16 +08:00
parent 750ed2dac7
commit f258987e0e
180 changed files with 2207 additions and 4701 deletions

View File

@@ -9,8 +9,8 @@ export default {
this.pay();
} else {
uni.showModal({
title: this.$lang('common.tip'),
content: this.$lang('order.payAmountAdjusted', { amount: orderData.pay_money }),
title: '提示',
content: '商家已将支付金额调整为' + orderData.pay_money + '元,是否继续支付?',
success: res => {
if (res.confirm) {
this.pay();
@@ -43,8 +43,8 @@ export default {
*/
orderClose(order_id, callback) {
uni.showModal({
title: this.$lang('common.tip'),
content: this.$lang('order.confirmCloseOrder'),
title: '提示',
content: '您确定要关闭该订单吗?',
success: res => {
if (res.confirm) {
this.$api.sendRequest({
@@ -57,7 +57,8 @@ export default {
typeof callback == 'function' && callback();
} else {
this.$util.showToast({
title: this.$lang('order.cannotCloseOrder', { message: res.message }),
title: '当前订单可能存在拼团,维权等操作,' + res.message +
'不可以关闭哦!',
duration: 2000
})
}
@@ -76,8 +77,8 @@ export default {
// 如果不在微信小程序中
// #ifndef MP-WEIXIN
uni.showModal({
title: this.$lang('common.tip'),
content: this.$lang('order.confirmReceived'),
title: '提示',
content: '您确定已经收到货物了吗?',
success: res => {
if (res.confirm) {
this.$api.sendRequest({
@@ -140,8 +141,8 @@ export default {
})
} else {
uni.showModal({
title: this.$lang('common.tip'),
content: this.$lang('order.confirmReceived'),
title: '提示',
content: '您确定已经收到货物了吗?',
success: res => {
if (res.confirm) {
this.$api.sendRequest({
@@ -171,8 +172,8 @@ export default {
// 如果不在微信小程序中
// #ifndef MP-WEIXIN
uni.showModal({
title: this.$lang('common.tip'),
content: this.$lang('order.confirmTakeDelivery'),
title: '提示',
content: '您确定要进行收货吗?',
success: res => {
if (res.confirm) {
this.$api.sendRequest({
@@ -234,8 +235,8 @@ export default {
})
} else {
uni.showModal({
title: this.$lang('common.tip'),
content: this.$lang('order.confirmTakeDelivery'),
title: '提示',
content: '您确定要进行收货吗?',
success: res => {
if (res.confirm) {
this.$api.sendRequest({

View File

@@ -7,8 +7,8 @@ export default {
*/
cancleRefund(order_goods_id, callback) {
uni.showModal({
content: this.$lang('order.cancelRefundConfirm'),
cancelText: this.$lang('order.notCancelYet'),
content: '撤销之后本次申请将会关闭,如后续仍有问题可再次发起申请。',
cancelText: '暂不撤销',
cancelColor: '#898989',
success: res => {
if (res.confirm) {