修改国际版本
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user