修改国际版本

This commit is contained in:
2026-06-12 16:08:00 +08:00
parent af758a0ccc
commit 836cdaf2dc
38 changed files with 449 additions and 145 deletions
+2 -2
View File
@@ -143,7 +143,7 @@
<view class="popup-footer">
<view class="confirm-btn" @click="confirmSku">
<text>确定</text>
<text>{{ $t('common.confirm') }}</text>
</view>
</view>
</view>
@@ -304,7 +304,7 @@
<view class="popup-footer">
<view class="confirm-btn" @click="confirmAliRegion">
<text>确定</text>
<text>{{ $t('common.confirm') }}</text>
</view>
</view>
</view>
+8 -8
View File
@@ -16,7 +16,7 @@
class="product-image"
></image>
<view class="product-info">
<view class="product-name">{{ orderDetail.productName || orderDetail.deviceName || '风电者2026新款风扇、充电宝、暖手宝三合一' }}</view>
<view class="product-name">{{ orderDetail.productName || orderDetail.deviceName || $t('goods.defaultProductNameFull') }}</view>
<view class="product-style">款式{{ orderDetail.optionName || orderDetail.style || '标准' }}</view>
<view class="product-price">¥{{ orderDetail.price || orderDetail.totalAmount }}</view>
</view>
@@ -143,7 +143,7 @@
createWxPayment
} from '../../config/api/order.js';
// import { getSystemParamByKey } from '../../config/api/system.js';
import { useI18n } from '@/utils/i18n.js'
import { useI18n, showModalI18n } from '@/utils/i18n.js'
const { t } = useI18n()
@@ -409,9 +409,9 @@
// 取消订单
const onCancelOrder = () => {
uni.showModal({
title: '提示',
content: '确定要取消这个订单吗?',
showModalI18n({
title: t('common.tips'),
content: t('order.confirmCancelContent'),
success: async (res) => {
if (res.confirm) {
try {
@@ -450,9 +450,9 @@
// 删除订单
const onDeleteOrder = () => {
uni.showModal({
title: '提示',
content: '确定要删除这个订单吗?',
showModalI18n({
title: t('common.tips'),
content: t('order.confirmDeleteContent'),
success: async (res) => {
if (res.confirm) {
try {
+5 -5
View File
@@ -60,7 +60,7 @@
import {
URL
} from '../../config/url.js';
import { useI18n } from '@/utils/i18n.js'
import { useI18n, showModalI18n } from '@/utils/i18n.js'
const { t } = useI18n()
@@ -494,7 +494,7 @@
// 取消订单
const handleCancelOrder = async (order) => {
try {
uni.showModal({
showModalI18n({
title: t('order.confirmCancel'),
content: t('order.confirmCancelContent'),
success: async (res) => {
@@ -540,9 +540,9 @@
// 处理删除订单
const handleDeleteOrder = (order) => {
uni.showModal({
title: '提示',
content: '确定要删除这个订单吗?',
showModalI18n({
title: t('common.tips'),
content: t('order.confirmDeleteContent'),
success: async (res) => {
if (res.confirm) {
try {