feat: 新增多语言国际化页面配置,修复部分页面硬编码文案
1. 新增了zh-cn和en-us两套语言下的大量页面国际化配置文件,覆盖商品、订单、会员、营销活动等多个业务模块 2. 修复了分销页面、VR页面、支付页面、商品不存在页面的硬编码提示文案,替换为国际化调用 3. 删除了原有的i18n检查脚本文件
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
@click="toDetail(orderItem.fenxiao_order_id)">
|
||||
<view class="order-header">
|
||||
<text class="site-name font-size-base">{{ orderItem.order_no }}</text>
|
||||
<text class="status-name color-base-text" v-if="orderItem.is_refund == 1">{{ $lang("fenxiao.order.l17") }}</text>
|
||||
<text class="status-name color-base-text" v-if="orderItem.is_refund == 1">已退款</text>
|
||||
<text class="status-name color-text-green"
|
||||
v-else-if="orderItem.is_settlement == 1">{{ $lang("fenxiao.order.l19") }}</text>
|
||||
<text class="status-name color-text-orange" v-else>{{ $lang("fenxiao.order.l20") }}</text>
|
||||
v-else-if="orderItem.is_settlement == 1">已结算</text>
|
||||
<text class="status-name color-text-orange" v-else>待结算</text>
|
||||
</view>
|
||||
|
||||
<view class="order-body">
|
||||
@@ -23,16 +23,16 @@
|
||||
<view class="top-wrap">
|
||||
<view class="goods-name font-size-base">{{ orderItem.sku_name }}</view>
|
||||
<view>
|
||||
<text class="color-tip">{ $lang("diy.diy-pinfan.l52.t0") } fenxiaoWords.account }}</text>
|
||||
<text class="color-tip">返{{ fenxiaoWords.account }}</text>
|
||||
<text class="price-color font-size-goods-tag">{{
|
||||
$lang('common.currency_symbol') }}</text>
|
||||
$lang('common.currencySymbol') }}</text>
|
||||
<text class="price-color font-size-toolbar">{{ orderItem.commission
|
||||
}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="goods-sub-section">
|
||||
<view class="goods-price">
|
||||
<text class="unit price-color">{{ $lang('common.currency_symbol') }}</text>
|
||||
<text class="unit price-color">{{ $lang('common.currencySymbol') }}</text>
|
||||
<text class="price-color font-size-toolbar">{{ orderItem.price }}</text>
|
||||
</view>
|
||||
<view>
|
||||
@@ -49,12 +49,12 @@
|
||||
<view class="order-base-info active">
|
||||
<view class="order-type ">
|
||||
<text class="color-tip">{{ $util.timeStampTurnTime(orderItem.create_time) }}</text>
|
||||
<!-- <text>{ $lang("diy.diy-pinfan.l52.t0") } fenxiaoWords.account }}金额:</text>
|
||||
<text class="color-base-text">{{ $lang('common.currency_symbol') }}{{ orderItem.commission }}</text> -->
|
||||
<!-- <text>返{{ fenxiaoWords.account }}金额:</text>
|
||||
<text class="color-base-text">{{ $lang('common.currencySymbol') }}{{ orderItem.commission }}</text> -->
|
||||
</view>
|
||||
<view class="total">
|
||||
<text>{{ $lang("order._components.common-payment.l408.t0") }}</text>
|
||||
<text class="price-color">{{ $lang('common.currency_symbol') }}</text>
|
||||
<text>合计:</text>
|
||||
<text class="price-color">{{ $lang('common.currencySymbol') }}</text>
|
||||
<text class="font-size-toolbar price-color">{{ orderItem.real_goods_money }}</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -93,7 +93,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
if (this.fenxiaoWords && this.fenxiaoWords.concept) this.$langConfig.title(this.fenxiaoWords.concept + $lang('fenxiao.index.l114'));
|
||||
if (this.fenxiaoWords && this.fenxiaoWords.concept) this.$langConfig.title(this.fenxiaoWords.concept + '订单');
|
||||
},
|
||||
methods: {
|
||||
//获得列表数据
|
||||
|
||||
Reference in New Issue
Block a user