tangning 2 anni fa
parent
commit
a9c48c7a81
3 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 1 0
      src/i18n/en.js
  2. 1 0
      src/i18n/zh.js
  3. 1 1
      src/views/pc/index.vue

+ 1 - 0
src/i18n/en.js

@@ -47,6 +47,7 @@ export default {
         "countNum": "{num}Product(s) In Total",
         "vip": "Purchase Member",
         "goqy": "Purchase Accessory",
+        'downdesc': 'downloaded',
         "addBuy": "Add to Cart",
         "confirmOrder": "Confirm Order",
         "submitOrder": "Submit Order",

+ 1 - 0
src/i18n/zh.js

@@ -74,6 +74,7 @@ export default {
         "nowAccount": "当前帐号",
         "vip": "购买会员",
         'goqy': '购买配件',
+        "downdesc": '场景下载',
         "payType": "支付方式",
         "aliPay": "支付宝",
         "wechatPay": "微信支付",

+ 1 - 1
src/views/pc/index.vue

@@ -113,7 +113,7 @@ async function getCode() {
           </div>
           <div class="account">
             <span class="label"
-              >{{ $t(`mall.${orderDetal.orderType == 'incrementOrder'?'vip':'goqy'}`) }}:
+              >{{ $t(`mall.${orderDetal.orderType == 'incrementOrder'?'vip':orderDetal.orderType == 'downOrder'?'downdesc':'goqy'}`) }}:
               <span>
                 <span v-if="orderDetal.goodsInfo && orderDetal.goodsInfo[0]">{{orderDetal.goodsInfo[0].name}}{{
                   orderDetal.goodsInfo[0].count